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 |
|---|---|---|---|---|---|---|
boolean logical = getBooleanArg(evaluator, args, 0); return getStringArg(evaluator, args, logical ? 1 : 2, null); } | return periodsToDate( evaluator, evaluator.getCube().getYearLevel(), getMemberArg(evaluator, args, 0, false)); } | public Object evaluate(Evaluator evaluator, Exp[] args) { boolean logical = getBooleanArg(evaluator, args, 0); return getStringArg(evaluator, args, logical ? 1 : 2, null); } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/d30fc76ba1dd95b09e0c26541bfae317c6bef4e1/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
9506,
202,
6494,
6374,
273,
12835,
4117,
12,
14168,
639,
16,
833,
16,
374,
1769,
9506,
202,
2463,
4997,
4117,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
9506,
202,
6494,
6374,
273,
12835,
4117,
12,
14168,
639,
16,
833,
16,
374,
1769,
9506,
202,
2463,
4997,
4117,
12,
... |
+"Lorg/mozilla/javascript/ContextFactory;" | private static void generateMethod(ClassFileWriter cfw, String genName, String methodName, Class[] parms, Class returnType) { StringBuffer sb = new StringBuffer(); int firstLocal = appendMethodSignature(parms, returnType, s... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/82fc688a4bf1d50088f3ce8c1ce8d1c14a325a2d/JavaAdapter.java/clean/js/rhino/src/org/mozilla/javascript/JavaAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2103,
1305,
12,
797,
812,
2289,
6080,
91,
16,
514,
3157,
461,
16,
4766,
4202,
514,
4918,
16,
1659,
8526,
17902,
16,
4766,
4202,
1659,
9424,
13,
565,
288,
3639,
6674,
239... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2103,
1305,
12,
797,
812,
2289,
6080,
91,
16,
514,
3157,
461,
16,
4766,
4202,
514,
4918,
16,
1659,
8526,
17902,
16,
4766,
4202,
1659,
9424,
13,
565,
288,
3639,
6674,
239... | |
} | public void setSelected(boolean b) { if (isSelected() != b) { if (buttonGroup != null) buttonGroup.setSelected(this, b); super.setSelected(b); } } | 3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/4efc2c1de2dc5778c7955ee5450dc3d75ebdc536/SAbstractButton.java/clean/wings2/src/java/org/wings/SAbstractButton.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
289,
289,
289,
289,
1071,
97,
918,
97,
23006,
12,
6494,
97,
324,
16869,
2618,
289,
289,
289,
289,
289,
289,
289,
309,
97,
261,
291,
7416,
17767,
480,
97,
324,
16869,
2618,
289,
289,
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,
8585,
326,
22398,
316,
326,
981,
30,
289,
289,
289,
289,
1071,
97,
918,
97,
23006,
12,
6494,
97,
324,
16869,
2618,
289,
289,
289,
289,
289,
289,
289,
309,
97,
261,
291,
7416,
17767,
480,
97,
324,
16869,
2618,
289,
289,
289,
2... | |
System.err.println(message + " - " + ioe.getMessage()); | public static void unzipFileToLocation(String zipFilePath, String toDirName) throws IOException { ZipFile zipFile; Enumeration enumr; boolean isEmptyFile = false; try { zipFile = new ZipFile(zipFilePath); if (zipFile.size() == 0) { isEmptyFile = true;... | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/2c85e0021203d96ece16c5bbfb40ebb70caeeb07/ZipUtil.java/buggy/contrib/distributed/src/net/sourceforge/cruisecontrol/distributed/util/ZipUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
20259,
812,
774,
2735,
12,
780,
3144,
5598,
16,
514,
358,
28780,
13,
1216,
1860,
288,
3639,
18364,
19450,
31,
3639,
13864,
2792,
86,
31,
3639,
1250,
2709,
812,
273,
629,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
20259,
812,
774,
2735,
12,
780,
3144,
5598,
16,
514,
358,
28780,
13,
1216,
1860,
288,
3639,
18364,
19450,
31,
3639,
13864,
2792,
86,
31,
3639,
1250,
2709,
812,
273,
629,
... | |
int firstSlash = path.indexOf('/'); int secondSlash = path.indexOf('/', firstSlash + 1); if (secondSlash != -1) | path = path.substring(1); try | protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { String handle = null; String extraPathInfo = null; DSpaceObject dso = null; // Origin... | 52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/8161e4eb2d4e9de64ace1a5ea90510e5f1aa7424/HandleServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/HandleServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
3948,
967,
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,
1640,
273,
446,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3948,
967,
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,
1640,
273,
446,
31,
... |
fNamespacesEnabled = flag; } | fNamespacesEnabled = flag; } | public void setNamespacesEnabled(boolean flag) { fNamespacesEnabled = flag; } | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/f2b9ad84920b2015a53c9a67b4dfb5460fa0465e/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
13180,
1526,
12,
6494,
2982,
13,
288,
3639,
284,
13180,
1526,
273,
2982,
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,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
13180,
1526,
12,
6494,
2982,
13,
288,
3639,
284,
13180,
1526,
273,
2982,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
/* * (non-Javadoc) * * @see org.eclipse.ui.progress.WorkbenchJob#performDone(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void performDone(IJobChangeEvent event) { if (!pendingUpdate.isEmpty()) decorated(); } | private WorkbenchJob getUpdateJob() { WorkbenchJob job = new WorkbenchJob(WorkbenchMessages .getString("DecorationScheduler.UpdateJobName")) {//$NON-NLS-1$ public IStatus runInUIThread(IProgressMonitor monitor) { if(shutdown)//Cancelled on shutdown return Status.CANCEL_STATUS; //Check again in ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e8a7a643bb08dc966b470c43d0eb2c1333b38247/DecorationScheduler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
4147,
22144,
2278,
23866,
2278,
1435,
288,
202,
202,
2421,
22144,
2278,
1719,
273,
394,
4147,
22144,
2278,
12,
2421,
22144,
5058,
9506,
202,
18,
588,
780,
2932,
7859,
367,
11870,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4147,
22144,
2278,
23866,
2278,
1435,
288,
202,
202,
2421,
22144,
2278,
1719,
273,
394,
4147,
22144,
2278,
12,
2421,
22144,
5058,
9506,
202,
18,
588,
780,
2932,
7859,
367,
11870,... | |
connection.connect(); | connected = connection.connect(); | public void run() { fireProjectInsertStarted(); List<String> files = fileScanner.getFiles(); /* create connection to node */ Connection connection = freenetInterface.getConnection("project-insert-" + counter++); try { connection.connect(); } catch (IOException e1) { fireProjectInsertFinished(false, e1); re... | 45538 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45538/f00de4e0d5ba4c14dc09ff84263563a7abc45cd9/ProjectInserter.java/buggy/src/de/todesbaum/jsite/application/ProjectInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
12179,
4109,
4600,
9217,
5621,
202,
202,
682,
32,
780,
34,
1390,
273,
585,
11338,
18,
588,
2697,
5621,
202,
202,
20308,
752,
1459,
358,
756,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
1435,
288,
202,
202,
12179,
4109,
4600,
9217,
5621,
202,
202,
682,
32,
780,
34,
1390,
273,
585,
11338,
18,
588,
2697,
5621,
202,
202,
20308,
752,
1459,
358,
756,
11... |
evaluateEmbeddedExpression( child, text, content ); | evaluateEmbeddedExpression( child, text, content, htmlProcessor ); | private void evaluateEmbeddedExpression( Node node, TextItemDesign text, ITextContent content ) { if ( node.getNodeType( ) == Node.ELEMENT_NODE ) { Element ele = (Element) node; if ( node.getNodeName( ).equals( "img" ) ) { String src = ele.getAttribute( "src" ); if ( FileUtil.isLocalResource( src ) ) ... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/9bd6cfa479d0917f0581d016aab280e9fa7e6180/TextItemExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/TextItemExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
5956,
14980,
2300,
12,
2029,
756,
16,
3867,
1180,
15478,
977,
16,
1082,
202,
1285,
408,
1350,
913,
262,
202,
95,
202,
202,
430,
261,
756,
18,
588,
15101,
12,
262,
422,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5956,
14980,
2300,
12,
2029,
756,
16,
3867,
1180,
15478,
977,
16,
1082,
202,
1285,
408,
1350,
913,
262,
202,
95,
202,
202,
430,
261,
756,
18,
588,
15101,
12,
262,
422,
... |
private static boolean checkRelativePath(String filePath, TypeDeclaration outerClass, CompilerUtils.Mutable retFileToCheck, | private static boolean checkRelativePath(String filePath, TypeDeclaration outerClass, CompilerUtils.Mutable retFileToCheck, | private static boolean checkRelativePath(String filePath, TypeDeclaration outerClass, CompilerUtils.Mutable retFileToCheck, boolean ignoreDirectories, boolean allowFileInPageFlowSourceDir, ... | 8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/74cda7c2aa1023c821782bc0e607fe2cf90d80d3/WebappPathType.java/buggy/ti/jars/core/src/java/org/apache/ti/compiler/internal/grammar/WebappPathType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
866,
16519,
12,
780,
4612,
16,
1412,
6094,
6390,
797,
16,
4766,
2398,
12972,
1989,
18,
19536,
325,
812,
18126,
16,
4766,
2398,
1250,
2305,
13071,
16,
1250,
1699,
812,
382... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
866,
16519,
12,
780,
4612,
16,
1412,
6094,
6390,
797,
16,
4766,
2398,
12972,
1989,
18,
19536,
325,
812,
18126,
16,
4766,
2398,
1250,
2305,
13071,
16,
1250,
1699,
812,
382... |
public YearMonthDay(int year, int monthOfYear, int dayOfMonth) { this(year, monthOfYear, dayOfMonth, null); | public YearMonthDay() { super(); | public YearMonthDay(int year, int monthOfYear, int dayOfMonth) { this(year, monthOfYear, dayOfMonth, null); } | 52681 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52681/61c64930304b87d4aa81dca05aba09591b3b2d52/YearMonthDay.java/buggy/JodaTime/src/java/org/joda/time/YearMonthDay.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16666,
5445,
4245,
12,
474,
3286,
16,
509,
3138,
19091,
16,
509,
25371,
13,
288,
3639,
333,
12,
6874,
16,
3138,
19091,
16,
25371,
16,
446,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
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,
16666,
5445,
4245,
12,
474,
3286,
16,
509,
3138,
19091,
16,
509,
25371,
13,
288,
3639,
333,
12,
6874,
16,
3138,
19091,
16,
25371,
16,
446,
1769,
565,
289,
2,
-100,
-100,
-100,
-10... |
return getRealIcon().getIconWidth(); } | return getRealIcon().getIconWidth(); } | public int getIconWidth() { return getRealIcon().getIconWidth(); } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/daf2dc40e961b18200f1bed61683463b8465650e/IconLoader.java/clean/util/src/com/intellij/openapi/util/IconLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
509,
21724,
2384,
1435,
288,
5411,
327,
12361,
5554,
7675,
588,
5554,
2384,
5621,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
509,
21724,
2384,
1435,
288,
5411,
327,
12361,
5554,
7675,
588,
5554,
2384,
5621,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
for (int i = 0; i < configElements.length; ++i) { IConfigurationElement startElement = configElements[i]; | IExtensionPoint point = registry.getExtensionPoint( PlatformUI.PLUGIN_ID, IWorkbenchConstants.PL_STARTUP); IExtension[] extensions = point.getExtensions(); for (int i = 0; i < extensions.length; ++i) { IExtension extension = extensions[i]; | public void run() { IExtensionRegistry registry = Platform.getExtensionRegistry(); IConfigurationElement[] configElements = registry .getConfigurationElementsFor(PlatformUI.PLUGIN_ID, IWorkbenchConstants.PL_STARTUP); for (int i = 0; i < configElements.length; ++i) { IConfigurationElement sta... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/409c0933509236299f61f59215952d9e4a645039/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
45,
3625,
4243,
4023,
273,
11810,
18,
588,
3625,
4243,
5621,
9506,
202,
45,
1750,
1046,
8526,
642,
3471,
273,
4023,
25083,
202,
18,
588,
1750,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
45,
3625,
4243,
4023,
273,
11810,
18,
588,
3625,
4243,
5621,
9506,
202,
45,
1750,
1046,
8526,
642,
3471,
273,
4023,
25083,
202,
18,
588,
1750,
... |
final void computeAxisStartEndShifts(IDisplayServer xs, Label la, int iOrientation, int iLocation, AllAxes aax) throws GenerationException | final void computeAxisStartEndShifts(IDisplayServer xs, Label la, int iOrientation, int iLocation, AllAxes aax) throws GenerationException | final void computeAxisStartEndShifts(IDisplayServer xs, Label la, int iOrientation, int iLocation, AllAxes aax) throws GenerationException { final double dMaxSS = (aax != null && iOrientation == aax.getOrientation()) ? aax.getMaxStartShift() : 0; final double dMaxES = (aax != null && iOrientation =... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/AutoScale.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
918,
3671,
6558,
1685,
1638,
10544,
87,
12,
734,
291,
1601,
2081,
9280,
16,
5287,
7125,
16,
509,
277,
14097,
16,
509,
277,
2735,
16,
4826,
26494,
279,
651,
13,
1216,
23234,
503,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
3671,
6558,
1685,
1638,
10544,
87,
12,
734,
291,
1601,
2081,
9280,
16,
5287,
7125,
16,
509,
277,
14097,
16,
509,
277,
2735,
16,
4826,
26494,
279,
651,
13,
1216,
23234,
503,
56... |
float ts; | public SIPHeader parse() throws ParseException { if (debug) dbg_enter("TimeStampParser.parse"); TimeStamp timeStamp = new TimeStamp(); try { headerName(TokenTypes.TIMESTAMP); timeStamp.setHeaderName(SIPHeaderNames.TIMESTAMP); this.lexer.SPorHT(); String firstNumber = this.lexer.number(); try { float ... | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/TimeStampParser.java/buggy/src/gov/nist/javax/sip/parser/TimeStampParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
348,
2579,
1864,
1109,
1435,
1216,
10616,
288,
202,
202,
430,
261,
4148,
13,
1082,
202,
1966,
75,
67,
2328,
2932,
21536,
2678,
18,
2670,
8863,
202,
202,
21536,
18198,
273,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
348,
2579,
1864,
1109,
1435,
1216,
10616,
288,
202,
202,
430,
261,
4148,
13,
1082,
202,
1966,
75,
67,
2328,
2932,
21536,
2678,
18,
2670,
8863,
202,
202,
21536,
18198,
273,
394,
... | |
createDrillthroughSelectTargetReport( ); createDrillthroughSelectTargetAnchor( ); createDrillthroughCreateLinkExpression( ); createDrillthroughSelectShowTarget( ); createDrillthroughSelectFormat( ); | createDrillthroughSelectTargetReport( container ); createDrillthroughSelectTargetAnchor( container ); createDrillthroughCreateLinkExpression( container ); createDrillthroughSelectShowTarget( container ); createDrillthroughSelectFormat( container ); | private void switchToDrillthrough( ) { // new Label( displayArea, SWT.NONE ).setText( REQUIED_MARK + // LABEL_REPORT ); // locationEditor = new Text( displayArea, SWT.BORDER | SWT.SINGLE ); // locationEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL // ) ); // locationEditor.addModifyListener( new Mo... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/997fe3f12c3ab07a8443c8931cda3cf4f6ef22da/HyperlinkBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1620,
774,
8956,
737,
10064,
12,
262,
202,
95,
202,
202,
759,
394,
5287,
12,
2562,
5484,
16,
348,
8588,
18,
9826,
262,
18,
542,
1528,
12,
2438,
8627,
2056,
67,
12693,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1620,
774,
8956,
737,
10064,
12,
262,
202,
95,
202,
202,
759,
394,
5287,
12,
2562,
5484,
16,
348,
8588,
18,
9826,
262,
18,
542,
1528,
12,
2438,
8627,
2056,
67,
12693,
... |
public boolean evaluate(Object event) throws NullPointerException, EvaluationException { | public boolean evaluate(Object event) throws EvaluationException { if (!start) { throw new IllegalStateException("Evaluator [" + name + "] was called in stopped state"); } | public boolean evaluate(Object event) throws NullPointerException, EvaluationException { try { Boolean result = (Boolean) ee.evaluate(getParameterValues(event)); return result.booleanValue(); } catch (InvocationTargetException ite) { throw new EvaluationException("Evaluator [" + name ... | 52049 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52049/7e755b8978a294df3e6d9708c2e25dcac0c5d6c8/JaninoEventEvaluatorBase.java/buggy/logback-core/src/main/java/ch/qos/logback/core/boolex/JaninoEventEvaluatorBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
5956,
12,
921,
871,
13,
1216,
10108,
16,
1377,
17340,
503,
288,
565,
775,
288,
1377,
3411,
563,
273,
261,
5507,
13,
14657,
18,
21024,
12,
588,
1662,
1972,
12,
2575,
10019,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
5956,
12,
921,
871,
13,
1216,
10108,
16,
1377,
17340,
503,
288,
565,
775,
288,
1377,
3411,
563,
273,
261,
5507,
13,
14657,
18,
21024,
12,
588,
1662,
1972,
12,
2575,
10019,
1... |
undefineChildren(); | detachChildren(); | public void undefineInternal() { try { final XmlTag tag = getXmlTag(); if (tag != null) { deleteTag(tag); undefineChildren(); fireUndefinedEvent(); } } catch (Exception e) { LOG.error(e); } } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/4437ca2f304024137a05082977d946a80498d240/DomRootInvocationHandler.java/clean/dom/impl/src/com/intellij/util/xml/impl/DomRootInvocationHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
640,
11255,
3061,
1435,
288,
565,
775,
288,
1377,
727,
5714,
1805,
1047,
273,
28504,
1805,
5621,
1377,
309,
261,
2692,
480,
446,
13,
288,
3639,
1430,
1805,
12,
2692,
1769,
3639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
640,
11255,
3061,
1435,
288,
565,
775,
288,
1377,
727,
5714,
1805,
1047,
273,
28504,
1805,
5621,
1377,
309,
261,
2692,
480,
446,
13,
288,
3639,
1430,
1805,
12,
2692,
1769,
3639... |
if (!user.equals(administrator)) { | if (!user.getPrimaryKey().equals(administrator.getPrimaryKey())) { | public void main(IWContext iwc) throws Exception { iwrb = this.getResourceBundle(iwc); parseAction(iwc); if (saveChanges) { AccessController access = iwc.getAccessController(); try { //delete owners List deleteOwnersIds = null; if (iwc.isParameterSet(DELETE_PERMISSIONS_KEY)) { deleteOwnersIds = Che... | 52002 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52002/d3702277260639af9a4ee9341cf0aa75857fbf44/GroupOwnersWindow.java/clean/src/java/com/idega/user/presentation/GroupOwnersWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2774,
12,
45,
59,
1042,
25522,
71,
13,
1216,
1185,
288,
202,
202,
22315,
6731,
273,
333,
18,
588,
18731,
12,
22315,
71,
1769,
202,
202,
2670,
1803,
12,
22315,
71,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2774,
12,
45,
59,
1042,
25522,
71,
13,
1216,
1185,
288,
202,
202,
22315,
6731,
273,
333,
18,
588,
18731,
12,
22315,
71,
1769,
202,
202,
2670,
1803,
12,
22315,
71,
1769,
... |
int count = workbench.getWorkbenchWindowCount(); if (count <= 1 && !workbench.isClosing()) return workbench.close(); else { if (!okToClose()) return false; return hardClose(); | try { int count = workbench.getWorkbenchWindowCount(); if (count <= 1 && !workbench.isClosing()) { windowClosed = workbench.close(); } else { if (okToClose()) { windowClosed = hardClose(); } } } finally { if (!windowClosed) { closing = false; updateDisabled = false; } | private boolean busyClose() { // Only do the check if it is OK to close if we are not closing via the // workbench as the workbench will call this itself closing = true; updateDisabled = true; int count = workbench.getWorkbenchWindowCount(); if (count <= 1 && !workbench.isClosing()) return workbench.close(); else { i... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c57eff31a9efbed460011c47026e613792dbda6b/WorkbenchWindow.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
1250,
21697,
4605,
1435,
288,
202,
759,
5098,
741,
326,
866,
309,
518,
353,
7791,
358,
1746,
309,
732,
854,
486,
7647,
3970,
326,
202,
759,
1440,
22144,
487,
326,
1440,
22144,
903,
745,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
1250,
21697,
4605,
1435,
288,
202,
759,
5098,
741,
326,
866,
309,
518,
353,
7791,
358,
1746,
309,
732,
854,
486,
7647,
3970,
326,
202,
759,
1440,
22144,
487,
326,
1440,
22144,
903,
745,
... |
String dbs[] = rep.getDatabaseNames(); for (int i=0;i<dbs.length;i++) { TreeItem newDB = new TreeItem(tiDB, SWT.NONE); newDB.setText(Const.NVL(dbs[i], "")); } | tiParent = new TreeItem(tiTree, SWT.NONE); tiParent.setText(STRING_PARTITIONS); names = rep.getPartitionSchemaNames(); for (int i=0;i<names.length;i++) { TreeItem newItem = new TreeItem(tiParent, SWT.NONE); newItem.setText(Const.NVL(names[i], "")); } tiParent = new TreeItem(tiTree, SWT.NONE); tiParent.setText(STRIN... | public void refreshTree() { try { wTree.removeAll(); // Load the directory tree: rep.setDirectoryTree( new RepositoryDirectory(rep) ); TreeItem tiTree = new TreeItem(wTree, SWT.NONE); tiTree.setText(rep.getName()==null?"-":rep.getName()); //$NON-NLS-1$ TreeItem tiObj = new TreeItem(tiTree, SWT.NO... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/1ce8b79d6ce4e6087d2dfdd64474adf636738fad/RepositoryExplorerDialog.java/buggy/src/be/ibridge/kettle/repository/dialog/RepositoryExplorerDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4460,
2471,
1435,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
91,
2471,
18,
4479,
1595,
5621,
25083,
202,
759,
4444,
326,
1867,
2151,
30,
1082,
202,
14462,
18,
542,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4460,
2471,
1435,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
91,
2471,
18,
4479,
1595,
5621,
25083,
202,
759,
4444,
326,
1867,
2151,
30,
1082,
202,
14462,
18,
542,
... |
gridBagConstraints.weightx = 0.8; | gridBagConstraints.weightx = 1.0; | private void initComponents() {//GEN-BEGIN:initComponents java.awt.GridBagConstraints gridBagConstraints; locationButtonGroup = new javax.swing.ButtonGroup(); mainTabbedPane = new javax.swing.JTabbedPane(); collectionPanel = new javax.swing.JPanel(); specPanel = new javax.swing.JP... | 31053 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31053/7f40d8ef954c4cf638c7fecfca899cd240d3f44b/SessionIDPanel.java/buggy/src/org/owasp/webscarab/ui/swing/sessionid/SessionIDPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
3639,
2252,
18,
2219,
88,
18,
6313,
6852,
8747,
31,
3639,
2117,
3616,
1114,
273,
394,
6863,
18,
5328,
310,
18,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
3639,
2252,
18,
2219,
88,
18,
6313,
6852,
8747,
31,
3639,
2117,
3616,
1114,
273,
394,
6863,
18,
5328,
310,
18,
3... |
return hierarchyMembers(hierarchy, evaluator, true); | return hierarchyMembers(hierarchy, evaluator, false); | public List evaluateList(Evaluator evaluator) { Hierarchy hierarchy = hierarchyCalc.evaluateHierarchy(evaluator); return hierarchyMembers(hierarchy, evaluator, true); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/5aca340e1cdbb6179077d96383341db48f0997be/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
987,
5956,
682,
12,
15876,
18256,
13,
288,
13491,
670,
6000,
9360,
273,
27573,
9360,
25779,
18,
21024,
12074,
12,
14168,
639,
1769,
13491,
327,
9360,
6918,
12,
17937,
16,
18256,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
987,
5956,
682,
12,
15876,
18256,
13,
288,
13491,
670,
6000,
9360,
273,
27573,
9360,
25779,
18,
21024,
12074,
12,
14168,
639,
1769,
13491,
327,
9360,
6918,
12,
17937,
16,
18256,
16,
... |
Object paramValueObj = null; | public static void prepareParameterBean( IViewerReportDesignHandle designHandle, IViewerReportService service, HttpServletRequest request, ScalarParameterBean parameterBean, ParameterDefinition parameter, Locale locale, boolean isDesigner ) throws ReportServiceException { // Display name String displayName =... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e67b6a4506a01d4fbb741a982d76ef6cb9dba851/ScalarParameterFragment.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/presentation/aggregation/parameter/ScalarParameterFragment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2911,
1662,
3381,
12,
1082,
202,
45,
18415,
4820,
15478,
3259,
8281,
3259,
16,
1082,
202,
45,
18415,
4820,
1179,
1156,
16,
9984,
590,
16,
1082,
202,
13639,
1662,
3381,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2911,
1662,
3381,
12,
1082,
202,
45,
18415,
4820,
15478,
3259,
8281,
3259,
16,
1082,
202,
45,
18415,
4820,
1179,
1156,
16,
9984,
590,
16,
1082,
202,
13639,
1662,
3381,... | |
if (growthPeriodCompleted >= growthPeriod) phase = "Harvesting"; | if (growthPeriodCompleted >= growthPeriod) { phase = "Harvesting"; workCompleted = 0F; } | public void timePasses(int seconds) { if (phase.equals("Growing")) { growthPeriodCompleted += (seconds / (60F * 60F * 25F)); if (growthPeriodCompleted >= growthPeriod) phase = "Harvesting"; } } | 49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/75ab51d7f524e7189b7d94188911cee016adf001/GreenhouseFacility.java/clean/GreenhouseFacility.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
813,
6433,
281,
12,
474,
3974,
13,
288,
4405,
202,
430,
261,
13961,
18,
14963,
2932,
30948,
310,
6,
3719,
288,
1082,
202,
75,
492,
451,
5027,
9556,
1011,
261,
7572,
342,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
813,
6433,
281,
12,
474,
3974,
13,
288,
4405,
202,
430,
261,
13961,
18,
14963,
2932,
30948,
310,
6,
3719,
288,
1082,
202,
75,
492,
451,
5027,
9556,
1011,
261,
7572,
342,
... |
+ "when Property is specified"); | + "when Property is specified"); | private boolean validateAndExecute() throws BuildException { String savedFileExt = fileext; if (file == null && filesets.size() == 0) { throw new BuildException( "Specify at least one source - a file or a fileset."); } if (file != null && file.exists() && file.i... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/0f723fa82a38431c93baa7b8f102a79200b7f620/Checksum.java/clean/src/main/org/apache/tools/ant/taskdefs/Checksum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1954,
1876,
5289,
1435,
1216,
18463,
288,
3639,
514,
5198,
812,
2482,
273,
585,
408,
31,
3639,
309,
261,
768,
422,
446,
597,
1390,
2413,
18,
1467,
1435,
422,
374,
13,
288,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1954,
1876,
5289,
1435,
1216,
18463,
288,
3639,
514,
5198,
812,
2482,
273,
585,
408,
31,
3639,
309,
261,
768,
422,
446,
597,
1390,
2413,
18,
1467,
1435,
422,
374,
13,
288,
5... |
button.setToolTipText("Go to end"); | button.setToolTipText("Fast forward"); | public JButton createGoToEndButton() { JButton button = new JButton(IconManager.shared().getIconGoToEnd()); button.setToolTipText("Go to end"); button.setFocusable(false); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { ... | 51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/479d874b4f93e1ae6cd1867bd84e84f23d59491f/DBControlPanel.java/clean/src/org/antlr/works/debugger/panels/DBControlPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
28804,
752,
5741,
774,
1638,
3616,
1435,
288,
3639,
28804,
3568,
273,
394,
28804,
12,
5554,
1318,
18,
11574,
7675,
588,
5554,
5741,
774,
1638,
10663,
3639,
3568,
18,
542,
29250,
1528,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28804,
752,
5741,
774,
1638,
3616,
1435,
288,
3639,
28804,
3568,
273,
394,
28804,
12,
5554,
1318,
18,
11574,
7675,
588,
5554,
5741,
774,
1638,
10663,
3639,
3568,
18,
542,
29250,
1528,... |
String[] files = ds.getIncludedFiles(); | String[] files = ds.getIncludedFiles(); String[] dirs = ds.getIncludedDirectories(); /* Old buggy code | protected void addFileSet(String path, String[] includes, String[] excludes, String relPath, String targetOs, ArrayList list, String casesensitive) throws Exception { boolean bCasesensitive = false; File test = new File(path); if (test.isDirectory()) { if (casesensitiv... | 46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/91994653572a3171781f1edfa5a2651f3a9a49fb/Compiler.java/buggy/src/lib/com/izforge/izpack/compiler/Compiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
18671,
694,
12,
780,
589,
16,
514,
8526,
6104,
16,
514,
8526,
13644,
16,
18701,
514,
20282,
16,
514,
1018,
15112,
16,
2407,
666,
16,
514,
6088,
6536,
13,
377,
1216,
1185,
225... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
18671,
694,
12,
780,
589,
16,
514,
8526,
6104,
16,
514,
8526,
13644,
16,
18701,
514,
20282,
16,
514,
1018,
15112,
16,
2407,
666,
16,
514,
6088,
6536,
13,
377,
1216,
1185,
225... |
GeronimoUtils.copyDeploymentPlanToDeployable(module); | private void invokeCommand(int deltaKind, IModule module) throws CoreException { GeronimoUtils.getConfigId(module); //triggers web dp creation GeronimoUtils.copyDeploymentPlanToDeployable(module); // Temporary try { switch (deltaKind) { case ADDED: { doDeploy(module); break; } case CHANGED: { doRep... | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/ac4bb23c59eab43fb0640daeb3692ef405d378d9/GeronimoServerBehaviour.java/clean/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4356,
2189,
12,
474,
3622,
5677,
16,
467,
3120,
1605,
13,
1216,
30015,
288,
202,
202,
43,
264,
265,
381,
83,
1989,
18,
588,
809,
548,
12,
2978,
1769,
368,
313,
8060,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4356,
2189,
12,
474,
3622,
5677,
16,
467,
3120,
1605,
13,
1216,
30015,
288,
202,
202,
43,
264,
265,
381,
83,
1989,
18,
588,
809,
548,
12,
2978,
1769,
368,
313,
8060,
3... | |
public Map getBots() { | public Map<String,Client> getBots() { | public Map getBots() { return bots; } | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/a88fbfa3689b430924af52ed57ef0dce999ad378/ClientGUI.java/clean/megamek/src/megamek/client/ui/AWT/ClientGUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
32,
780,
16,
1227,
34,
2882,
6968,
1435,
288,
3639,
327,
2512,
87,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1635,
32,
780,
16,
1227,
34,
2882,
6968,
1435,
288,
3639,
327,
2512,
87,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
StringTokenizer strtok = new StringTokenizer(sOldRepresentation, ","); StringBuffer sbNewRepresentation = new StringBuffer(""); | StringTokenizer strtok = new StringTokenizer(sOldRepresentation, ","); StringBuffer sbNewRepresentation = new StringBuffer(""); | private String getConvertedBaseSampleDataRepresentation(String sOldRepresentation) { StringTokenizer strtok = new StringTokenizer(sOldRepresentation, ","); StringBuffer sbNewRepresentation = new StringBuffer(""); while (strtok.hasMoreTokens()) { String sElement = strtok.nex... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/7793e94b4d7fab5891f226c6c937e37d85bebad8/LineChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/LineChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
336,
22063,
2171,
8504,
751,
13742,
12,
780,
272,
7617,
13742,
13,
565,
288,
3639,
16370,
609,
17692,
273,
394,
16370,
12,
87,
7617,
13742,
16,
5753,
1769,
3639,
6674,
2393,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
336,
22063,
2171,
8504,
751,
13742,
12,
780,
272,
7617,
13742,
13,
565,
288,
3639,
16370,
609,
17692,
273,
394,
16370,
12,
87,
7617,
13742,
16,
5753,
1769,
3639,
6674,
2393,
19... |
float version = 0.0f; Requirement[] requirements = new Requirement[0]; Class cls = Class.forName(moduleClassName); ModuleContainer module = new ModuleContainer(cls, version); module.setRequirements(requirements); module.setSource(moduleClassName); String id = module.getId(); if (!isLoaded(id)) { table.put(id, module);... | return load(f.toURL()); | public static ModuleContainer load(String moduleClassName) throws ModuleLoaderException { try { float version = 0.0f; Requirement[] requirements = new Requirement[0]; Class cls = Class.forName(moduleClassName); ModuleContainer module = new ModuleContainer(cls, version); module.setRequirements(requiremen... | 54388 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54388/0beafe97e1f8f8d9612d8cd71ae44dad03dc90fe/ModuleLoader.java/buggy/framework/src/org/schwering/evi/core/ModuleLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
5924,
2170,
1262,
12,
780,
1605,
3834,
13,
225,
202,
15069,
5924,
2886,
503,
288,
202,
202,
698,
288,
1082,
202,
5659,
1177,
273,
374,
18,
20,
74,
31,
1082,
202,
18599,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
5924,
2170,
1262,
12,
780,
1605,
3834,
13,
225,
202,
15069,
5924,
2886,
503,
288,
202,
202,
698,
288,
1082,
202,
5659,
1177,
273,
374,
18,
20,
74,
31,
1082,
202,
18599,
... |
null, "setOnclick"); | null, "setOnclickExpr"); | public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[30]; try { result[0] = new PropertyDescriptor("accesskey", ELFileTag.class, null, "setAccesskey"); result[1] = new Prop... | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELFileTagBeanInfo.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELFileTagBeanInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
225,
26761,
8526,
3911,
12705,
1435,
565,
288,
3639,
26761,
8526,
225,
563,
282,
273,
394,
26761,
63,
5082,
15533,
3639,
775,
288,
5411,
563,
63,
20,
65,
273,
394,
26761,
2932,
3860... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
26761,
8526,
3911,
12705,
1435,
565,
288,
3639,
26761,
8526,
225,
563,
282,
273,
394,
26761,
63,
5082,
15533,
3639,
775,
288,
5411,
563,
63,
20,
65,
273,
394,
26761,
2932,
3860... |
assertTrue("set failed", store.set(111, "message2")); | assertTrue("set failed", store.set(111, "message2")); | public void testMessageStorageMessages() throws Exception { if (!testEnabled) { return; } assertTrue("set failed", store.set(111, "message2")); assertTrue("set failed", store.set(113, "message1")); assertTrue("set failed", store.set(120, "message3")); ArrayList messages = new A... | 6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/643a798dd4cc937847aa83640ede7a72b22b1b90/AbstractMessageStoreTest.java/buggy/test/quickfix/AbstractMessageStoreTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1079,
3245,
5058,
1435,
1216,
1185,
288,
377,
202,
430,
16051,
3813,
1526,
13,
288,
377,
202,
202,
2463,
31,
377,
202,
97,
377,
202,
11231,
5510,
2932,
542,
2535,
3113,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1079,
3245,
5058,
1435,
1216,
1185,
288,
377,
202,
430,
16051,
3813,
1526,
13,
288,
377,
202,
202,
2463,
31,
377,
202,
97,
377,
202,
11231,
5510,
2932,
542,
2535,
3113,
... |
return null; | Point loc = getLocation(); SwingUtilities.convertPointToScreen(loc, tree); return loc; | public Point getLocationOnScreen() { return null; } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/4cfb23bf0c3cfbad22f148e981d49bf1ca6def84/JTree.java/buggy/libraries/javalib/javax/swing/JTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
4686,
13312,
1398,
7956,
1435,
1377,
288,
3639,
4686,
1515,
273,
13312,
5621,
26145,
11864,
18,
6283,
2148,
774,
7956,
12,
1829,
16,
2151,
1769,
327,
1515,
31,
1377,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
4686,
13312,
1398,
7956,
1435,
1377,
288,
3639,
4686,
1515,
273,
13312,
5621,
26145,
11864,
18,
6283,
2148,
774,
7956,
12,
1829,
16,
2151,
1769,
327,
1515,
31,
1377,
289,
2,
-100,
... |
public short getShort (int parameterIndex) throws SQLException { } | public short getShort(int parameterIndex) throws SQLException { return 0; } | public short getShort (int parameterIndex) throws SQLException { // XXX-Not Implemented } | 47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/6a061da272f04e1463864065f87f1f3fd61d6162/CallableStatement.java/buggy/src/interfaces/jdbc/postgresql/CallableStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3025,
13157,
261,
474,
25412,
13,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3025,
13157,
261,
474,
25412,
13,
1216,
6483,
202,
95,
202,
202,
759,
11329,
17,
1248,
18788,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Image newResult = decorators[i].decorateImage(result, element); | Image newResult = safeDecorateImage(element,result,decorators[i]); | public Image decorateImage(Image image, Object element) { Object adapted = getResourceAdapter(element); Image result = scheduler.decorateWithOverlays(image, element, adapted); FullDecoratorDefinition[] decorators = getDecoratorsFor(element); for (int i = 0; i < decorators.length; i++) { if (decorators[i].getEnab... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/37e3aa2d1992899ef1944d4167565eee95ea0fcd/DecoratorManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
15752,
2040,
12,
2040,
1316,
16,
1033,
930,
13,
288,
202,
202,
921,
28345,
273,
5070,
4216,
12,
2956,
1769,
202,
202,
2040,
563,
273,
8129,
18,
11880,
340,
1190,
11627,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15752,
2040,
12,
2040,
1316,
16,
1033,
930,
13,
288,
202,
202,
921,
28345,
273,
5070,
4216,
12,
2956,
1769,
202,
202,
2040,
563,
273,
8129,
18,
11880,
340,
1190,
11627,
... |
case 2 : if (args[1].equals("-nodisplay")){ | case 2: if (args[1].equals("-nodisplay")) { | public void run (String[] args) { int input = 0; boolean display = true; boolean displayft = false; int totalNbBodies = 4; int maxIter = 10000; String xmlFileName ; // Set arguments as read on command line switch (args.length){ case 0 : ... | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/6a4103af87bfad7bfca1448432f5e4b1f5196ffe/Start.java/clean/src/org/objectweb/proactive/examples/nbody/common/Start.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
261,
780,
8526,
833,
13,
288,
3639,
509,
810,
273,
374,
31,
3639,
1250,
2562,
273,
638,
31,
3639,
1250,
2562,
1222,
273,
629,
31,
3639,
509,
2078,
22816,
38,
18134,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
261,
780,
8526,
833,
13,
288,
3639,
509,
810,
273,
374,
31,
3639,
1250,
2562,
273,
638,
31,
3639,
1250,
2562,
1222,
273,
629,
31,
3639,
509,
2078,
22816,
38,
18134,
273... |
return super.methodArity(methodId); | return super.methodArity(f); | public int methodArity(int methodId) { if (prototypeFlag) { switch (methodId) { case ConstructorId_now: return 0; case ConstructorId_parse: return 1; case ConstructorId_UTC: return 1; case Id_constructor: return 1; ... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/3526c0f6981dc6716171a07605c6bcc7b6b20cb3/NativeDate.java/buggy/src/org/mozilla/javascript/NativeDate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
565,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
1620,
261,
2039,
548,
13,
288,
7734,
648,
11417,
548,
67,
3338,
30,
377,
327,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
707,
686,
560,
12,
474,
707,
548,
13,
565,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
1620,
261,
2039,
548,
13,
288,
7734,
648,
11417,
548,
67,
3338,
30,
377,
327,
37... |
return false; } | return false; } | public boolean getBoolean(int columnIndex) throws SQLException { return false; } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/cb88ccf91092199f5dd4fc4fd03d021643a6e0ec/SCR20557.java/clean/testData/refactoring/inheritanceToDelegation/scr20557/after/xxx/SCR20557.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
12835,
12,
474,
14882,
13,
1216,
6483,
288,
1377,
327,
629,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
12835,
12,
474,
14882,
13,
1216,
6483,
288,
1377,
327,
629,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
return RubyBoolean.newBoolean(runtime, obj.isKindOf(this)); | return getRuntime().newBoolean(obj.isKindOf(this)); | public RubyBoolean op_eqq(IRubyObject obj) { return RubyBoolean.newBoolean(runtime, obj.isKindOf(this)); } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyModule.java/buggy/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
1061,
67,
11253,
85,
12,
7937,
10340,
921,
1081,
13,
288,
3639,
327,
18814,
7675,
2704,
5507,
12,
2603,
18,
291,
5677,
951,
12,
2211,
10019,
565,
289,
2,
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,
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,
19817,
5507,
1061,
67,
11253,
85,
12,
7937,
10340,
921,
1081,
13,
288,
3639,
327,
18814,
7675,
2704,
5507,
12,
2603,
18,
291,
5677,
951,
12,
2211,
10019,
565,
289,
2,
-100,
-100,
... |
if (kind > 50) kind = 50; | if (kind > 52) kind = 52; | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 28; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/601b3f248542d14ed30dbff00c82237b24b58ac4/ZimbraQueryParserTokenManager.java/clean/ZimbraServer/src/java/com/zimbra/cs/index/queryparser/ZimbraQueryParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... |
public final Class getCategory() | public Class getCategory() | public final Class getCategory() { return Compression.class; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/Compression.java/clean/core/src/classpath/javax/javax/print/attribute/standard/Compression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1659,
19110,
1435,
225,
288,
565,
327,
21139,
18,
1106,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1659,
19110,
1435,
225,
288,
565,
327,
21139,
18,
1106,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
"hbox", | "hbox", | protected void registerFactories() { registerBeanFactory( "button", JButton.class ); registerBeanFactory( "checkBox", JCheckBox.class ); registerBeanFactory( "checkBoxMenuItem", JCheckBoxMenuItem.class ); registerBeanFactory( "comboBox", JComboBox.class ); // how to add content th... | 51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/cbaa8d2430c2bf467e589a423fee7c83e3f0eb2f/SwingTagLibrary.java/buggy/jelly-tags/swing/src/java/org/apache/commons/jelly/tags/swing/SwingTagLibrary.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1744,
19271,
1435,
288,
3639,
1744,
3381,
1733,
12,
315,
5391,
3113,
28804,
18,
1106,
11272,
3639,
1744,
3381,
1733,
12,
315,
1893,
3514,
3113,
804,
19174,
18,
1106,
11272,
3639,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1744,
19271,
1435,
288,
3639,
1744,
3381,
1733,
12,
315,
5391,
3113,
28804,
18,
1106,
11272,
3639,
1744,
3381,
1733,
12,
315,
1893,
3514,
3113,
804,
19174,
18,
1106,
11272,
3639,... |
properties.add(new DefaultDavProperty(JCR_LENGTH, String.valueOf(prop.getLength()))); | properties.add(new DefaultDavProperty(JCR_LENGTH, String.valueOf(prop.getLength()), true)); | protected void initProperties() { super.initProperties(); if (exists()) { try { Property prop = (Property)item; int type = prop.getType(); // set the content type String contentType; if (!isMultiple()) { ... | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/4fdade8a8a0ca260371a4274ff24ee70c758a80e/DefaultItemResource.java/buggy/contrib/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/DefaultItemResource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
2297,
1435,
288,
3639,
2240,
18,
2738,
2297,
5621,
3639,
309,
261,
1808,
10756,
288,
5411,
775,
288,
7734,
4276,
2270,
273,
261,
1396,
13,
1726,
31,
7734,
509,
618,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
2297,
1435,
288,
3639,
2240,
18,
2738,
2297,
5621,
3639,
309,
261,
1808,
10756,
288,
5411,
775,
288,
7734,
4276,
2270,
273,
261,
1396,
13,
1726,
31,
7734,
509,
618,
273,
... |
char result = backing_buffer [position ()]; position (position () + 1); return result; | return backing_buffer [(pos++) + array_offset]; | public char get () { checkForUnderflow(); char result = backing_buffer [position ()]; position (position () + 1); return result; } | 45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/3a3b655bdfd8b1655b2fb03ce4d742117a96705e/CharBufferImpl.java/buggy/libjava/java/nio/CharBufferImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1149,
336,
1832,
225,
288,
565,
13855,
14655,
2426,
5621,
565,
1149,
563,
273,
15394,
67,
4106,
306,
3276,
1832,
15533,
565,
1754,
261,
3276,
1832,
397,
404,
1769,
565,
327,
563,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
1149,
336,
1832,
225,
288,
565,
13855,
14655,
2426,
5621,
565,
1149,
563,
273,
15394,
67,
4106,
306,
3276,
1832,
15533,
565,
1754,
261,
3276,
1832,
397,
404,
1769,
565,
327,
563,
31... |
getCurrentTask( ).setContext( initialContext ); switchTo( sCurrentActiveTask ); | ITask currentTask = getCurrentTask( ); if ( currentTask != null ) { getCurrentTask( ).setContext( initialContext ); switchTo( sCurrentActiveTask ); } | public IWizardContext open( String[] sTasks, String topTaskId, IWizardContext initialContext ) { // Update initial context context = initialContext; // Initialize UI elelents GridLayout glShell = new GridLayout( ); glShell.marginHeight = 0; glShell.marginWidth = 0; glShell.verticalSpacing = 0; display = Disp... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/df749af233ec4b7ab4ff5a2378a06e2616f2033a/WizardBase.java/clean/core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/taskwizard/WizardBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
27130,
1042,
1696,
12,
514,
8526,
272,
6685,
16,
514,
1760,
30182,
16,
1082,
202,
45,
27130,
1042,
2172,
1042,
262,
202,
95,
202,
202,
759,
2315,
2172,
819,
202,
202,
247... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
27130,
1042,
1696,
12,
514,
8526,
272,
6685,
16,
514,
1760,
30182,
16,
1082,
202,
45,
27130,
1042,
2172,
1042,
262,
202,
95,
202,
202,
759,
2315,
2172,
819,
202,
202,
247... |
LocalClusteredQueue queue4 = new LocalClusteredQueue(office2, "node2", "queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null, tr); | LocalClusteredQueue queue4 = new LocalClusteredQueue(office2, 2, "queue1", im.getId(), ms, pm, true, false, (QueuedExecutor)pool.get(), null, tr); | public void testClusteredNameUniqueness() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; try { office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "testgro... | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/f54f55cea0aabacd10797be5e0ff1d3bd3f8db88/DefaultClusteredPostOfficeTest.java/buggy/tests/src/org/jboss/test/messaging/core/plugin/postoffice/cluster/DefaultClusteredPostOfficeTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
3629,
329,
461,
984,
18988,
15681,
1435,
1216,
4206,
282,
288,
1377,
5584,
329,
3349,
30126,
3397,
1812,
21,
273,
446,
31,
5411,
5584,
329,
3349,
30126,
3397,
1812,
22,
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,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
3629,
329,
461,
984,
18988,
15681,
1435,
1216,
4206,
282,
288,
1377,
5584,
329,
3349,
30126,
3397,
1812,
21,
273,
446,
31,
5411,
5584,
329,
3349,
30126,
3397,
1812,
22,
2... |
public boolean accept( File dir, String name ) { return name.endsWith( ".rpttemplate" ); } } ); | public boolean accept( File dir, String name ) { return name.endsWith( ".rpttemplate" ); } } ); | private void createCustomTemplateList( ) { String templateFolderPath = ReportPlugin.getDefault( ) .getTemplatePreference( ); File templateDirectory = new File( templateFolderPath ); if ( templateDirectory.isDirectory( ) ) { File[] filesArray = templateDirectory .listFiles( new FilenameFilter( ) { pub... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/b537714732979acce16d6e2b388b62e52e38b0ca/WizardTemplateChoicePage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/WizardTemplateChoicePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
3802,
2283,
682,
12,
262,
202,
95,
202,
202,
780,
1542,
28785,
273,
8706,
3773,
18,
588,
1868,
12,
262,
9506,
202,
18,
588,
2283,
9624,
12,
11272,
202,
202,
812,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
3802,
2283,
682,
12,
262,
202,
95,
202,
202,
780,
1542,
28785,
273,
8706,
3773,
18,
588,
1868,
12,
262,
9506,
202,
18,
588,
2283,
9624,
12,
11272,
202,
202,
812,
... |
Asserts.notNull(value); | assert value != null; | public ValueAccessor(IRubyObject value) { Asserts.notNull(value); this.value = value; } | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/b72a2862ae5b2f01f9a767ef2ce248fd785857c4/ValueAccessor.java/clean/src/org/jruby/internal/runtime/ValueAccessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1445,
8235,
12,
7937,
10340,
921,
460,
13,
288,
3639,
1815,
460,
480,
446,
31,
3639,
333,
18,
1132,
273,
460,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1445,
8235,
12,
7937,
10340,
921,
460,
13,
288,
3639,
1815,
460,
480,
446,
31,
3639,
333,
18,
1132,
273,
460,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Driver.debug("getDatabaseProductVersion " + versionNumber); | if (Driver.logDebug) Driver.debug("getDatabaseProductVersion " + versionNumber); | public String getDatabaseProductVersion() throws SQLException { String versionNumber = connection.getDBVersionNumber(); Driver.debug("getDatabaseProductVersion " + versionNumber); return versionNumber; } | 45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/b465f5307f9f5506beb1edbcc0fb56eed7c29c12/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11263,
4133,
1444,
1435,
1216,
6483,
202,
95,
202,
202,
780,
1177,
1854,
273,
1459,
18,
588,
2290,
1444,
1854,
5621,
202,
202,
4668,
18,
4148,
2932,
588,
4254,
4133,
1444,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
11263,
4133,
1444,
1435,
1216,
6483,
202,
95,
202,
202,
780,
1177,
1854,
273,
1459,
18,
588,
2290,
1444,
1854,
5621,
202,
202,
4668,
18,
4148,
2932,
588,
4254,
4133,
1444,
... |
Assert.that(! out.isOpen()); Assert.that(out.runnerDied()); | assertTrue(! out.isOpen()); assertTrue(out.runnerDied()); sleep(2000); | public static void testClose() { try { ManagedConnection out=null; Connection in=null; com.limegroup.gnutella.MiniAcceptor acceptor=null; //When receive() or sendQueued() gets IOException, it calls //ConnectionManager.remove(). This in t... | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/c53e29de6f0dbeee98c7a594140c2c57c0ec69a8/ManagedConnectionTest.java/buggy/components/gnutella-core/src/test/java/com/limegroup/gnutella/ManagedConnectionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1842,
4605,
1435,
288,
3639,
775,
288,
5411,
10024,
1952,
596,
33,
2011,
31,
5411,
4050,
316,
33,
2011,
31,
5411,
532,
18,
80,
494,
1655,
18,
1600,
322,
1165,
69,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1842,
4605,
1435,
288,
3639,
775,
288,
5411,
10024,
1952,
596,
33,
2011,
31,
5411,
4050,
316,
33,
2011,
31,
5411,
532,
18,
80,
494,
1655,
18,
1600,
322,
1165,
69,
18,
... |
throw new RaiseException(RubyException.newInstance(ruby, ruby.getExceptions().getRuntimeError(), args)); | if (args[0] instanceof RubyException) { throw new RaiseException((RubyException) args[0]); } else { throw new RaiseException(RubyException.newInstance(ruby, ruby.getExceptions().getRuntimeError(), args)); } | public static RubyObject raise(Ruby ruby, RubyObject recv, RubyObject args[]) { switch (args.length) { case 0 : case 1 : throw new RaiseException(RubyException.newInstance(ruby, ruby.getExceptions().getRuntimeError(), args)); case 2 : RubyException excptn = (RubyExc... | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/d81c0b9a88b1034996b4337336e3af1aacbcc0ed/RubyKernel.java/buggy/org/jruby/RubyKernel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
921,
1002,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
921,
833,
63,
5717,
288,
3639,
1620,
261,
1968,
18,
2469,
13,
288,
3639,
648,
374,
294,
3639,
648,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
921,
1002,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
921,
833,
63,
5717,
288,
3639,
1620,
261,
1968,
18,
2469,
13,
288,
3639,
648,
374,
294,
3639,
648,
4... |
return RubyString.newString(getRuntime(), sb.toString()); | return getRuntime().newString(sb.toString()); | public IRubyObject regsub(IRubyObject str, RubyMatchData match) { String repl = RubyString.stringValue(str).getValue(); StringBuffer sb = new StringBuffer(""); int pos = 0; int end = repl.length(); char c; IRubyObject ins; while (pos < end) { c = repl.char... | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyRegexp.java/clean/src/org/jruby/RubyRegexp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
17518,
373,
12,
7937,
10340,
921,
609,
16,
19817,
2060,
751,
845,
13,
288,
3639,
514,
6831,
273,
19817,
780,
18,
1080,
620,
12,
701,
2934,
24805,
5621,
3639,
6674... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
17518,
373,
12,
7937,
10340,
921,
609,
16,
19817,
2060,
751,
845,
13,
288,
3639,
514,
6831,
273,
19817,
780,
18,
1080,
620,
12,
701,
2934,
24805,
5621,
3639,
6674... |
public void createAccessMethods(JClass jClass) { JMethod method = null; JParameter contentParam = new JParameter(getContentType().getJType(), getContentName()); JSourceCode jsc = null; //---------------------/ //- Create a... | 3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/ce2d2d2cdff5188c1f20ff2b843461107912d14e/CollectionInfo.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/builder/CollectionInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
1862,
4712,
12,
46,
797,
525,
797,
13,
288,
13491,
804,
1305,
707,
273,
446,
31,
7734,
804,
1662,
913,
786,
2398,
273,
394,
804,
1662,
12,
588,
8046,
7675,
588,
46,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
1862,
4712,
12,
46,
797,
525,
797,
13,
288,
13491,
804,
1305,
707,
273,
446,
31,
7734,
804,
1662,
913,
786,
2398,
273,
394,
804,
1662,
12,
588,
8046,
7675,
588,
46,
55... | ||
null, UIDesignerBundle.message("error.no.field.in.class", fieldName, psiClass.getQualifiedName()), | component, null, UIDesignerBundle.message("error.no.field.in.class", fieldName, psiClass.getQualifiedName()), | private static boolean validateFieldInClass(final IComponent component, final String fieldName, final String fieldClassName, final PsiClass psiClass, final GuiEditor editor, final Module module) { final PsiField[] fields = psiClass.getFields(); PsiField field = null;... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/6a384c23ca74b732817b78c9169186710a7d1d75/ErrorAnalyzer.java/clean/ui-designer/impl/com/intellij/uiDesigner/ErrorAnalyzer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
1250,
1954,
974,
382,
797,
12,
6385,
467,
1841,
1794,
16,
727,
514,
4289,
16,
727,
514,
652,
3834,
16,
4766,
2868,
727,
453,
7722,
797,
23921,
797,
16,
727,
611,
4881,
6946,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
1250,
1954,
974,
382,
797,
12,
6385,
467,
1841,
1794,
16,
727,
514,
4289,
16,
727,
514,
652,
3834,
16,
4766,
2868,
727,
453,
7722,
797,
23921,
797,
16,
727,
611,
4881,
6946,
... |
db.contextSwitch(frameIndex); | db.contextSwitch (frameIndex); | public void actionPerformed(ActionEvent e) { if(!enabled) return; if(e.getActionCommand().equals("ContextSwitch")) { ContextHelper helper = new ContextHelper(); Context cx = db.getCurrentContext(); DebuggableEngine engine = cx.getDebuggableEngine(); helper.a... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
309,
12,
5,
5745,
13,
327,
31,
3639,
309,
12,
73,
18,
588,
1803,
2189,
7675,
14963,
2932,
1042,
10200,
6,
3719,
288,
5411,
1772,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
309,
12,
5,
5745,
13,
327,
31,
3639,
309,
12,
73,
18,
588,
1803,
2189,
7675,
14963,
2932,
1042,
10200,
6,
3719,
288,
5411,
1772,
... |
JSPManager.showJSP(request, response, "/dspace-admin/edit-community.jsp"); | JSPManager.showJSP(request, response, "/tools/edit-community.jsp"); | protected void doDSPost(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { // First, see if we have a multipart request (uploading a logo) String contentType = request.getContentTyp... | 47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/44d920f6673301feb8b329391378fb326189f9de/EditCommunitiesServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/admin/EditCommunitiesServlet.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,
368,
5783,
16,
2621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
368,
5783,
16,
2621,
... |
public org.quickfix.field.QuantityType getQuantityType() throws FieldNotFound { org.quickfix.field.QuantityType value = new org.quickfix.field.QuantityType(); | public quickfix.field.QuantityType getQuantityType() throws FieldNotFound { quickfix.field.QuantityType value = new quickfix.field.QuantityType(); | public org.quickfix.field.QuantityType getQuantityType() throws FieldNotFound { org.quickfix.field.QuantityType value = new org.quickfix.field.QuantityType(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderMultileg.java/buggy/src/java/src/quickfix/fix43/NewOrderMultileg.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
336,
12035,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
460,
273,
394,
2358,
18,
19525,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
336,
12035,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
12035,
559,
460,
273,
394,
2358,
18,
19525,
... |
Object ob = getActualValue(content, context, fTempInfo); | Object ob = getActualValue(content, context, validatedInfo); | public Object validate(String content, ValidationContext context, ValidatedInfo validatedInfo) throws InvalidDatatypeValueException { // first normalize string value, and convert it to actual value Object ob = getActualValue(content, context, fTempInfo); validate(context, fTempInfo); if ... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/46d42b241ab917d5c2293aef50576fbf637ffa74/XSSimpleTypeDecl.java/buggy/src/org/apache/xerces/impl/dv/xs/XSSimpleTypeDecl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1954,
12,
780,
913,
16,
5684,
1042,
819,
16,
2364,
690,
966,
10266,
966,
13,
1216,
1962,
20228,
9738,
288,
3639,
368,
1122,
3883,
533,
460,
16,
471,
1765,
518,
358,
3214,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1954,
12,
780,
913,
16,
5684,
1042,
819,
16,
2364,
690,
966,
10266,
966,
13,
1216,
1962,
20228,
9738,
288,
3639,
368,
1122,
3883,
533,
460,
16,
471,
1765,
518,
358,
3214,
46... |
assertEquals(Arrays.asList(new Object[] {"Employee","Manager","CEO","Contractor","Secretary"}), subcats.get("People")); | public void testCategoryLoad() throws Exception { ComponentContext context = new ComponentContext(); ComponentContext.setContext(context, getRequest()); setRequestPathInfo("/initBegin"); actionPerform(); verifyNoActionErrors(); Set cats = (Set) getActionServlet().ge... | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/10d868c54ca47c727e8766fe5932793c3cf4cbad/BeginControllerTest.java/buggy/testmodel/webapp/test/src/org/intermine/web/BeginControllerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4457,
2563,
1435,
1216,
1185,
288,
3639,
5435,
1042,
819,
273,
394,
5435,
1042,
5621,
3639,
5435,
1042,
18,
542,
1042,
12,
2472,
16,
4328,
10663,
3639,
12475,
743,
966,
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,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4457,
2563,
1435,
1216,
1185,
288,
3639,
5435,
1042,
819,
273,
394,
5435,
1042,
5621,
3639,
5435,
1042,
18,
542,
1042,
12,
2472,
16,
4328,
10663,
3639,
12475,
743,
966,
2... | |
public void addToken(Token token) { int index = token.getTokenIndex(); if(index == -1) { // @todo can this happen? System.err.println("Negative index in DBInputText.addToken() for token "+token); return; } Integer idx = new Integer(index); currentT... | 4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/8c76a494f8e5f4ca96db631e84c086632b4b0543/DBInputProcessorToken.java/buggy/src/org/antlr/works/debugger/input/DBInputProcessorToken.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
1289,
1345,
12,
20477,
319,
969,
15329,
474,
1615,
33,
2316,
18,
588,
1345,
1016,
5621,
430,
12,
1615,
631,
17,
21,
15329,
759,
36,
88,
369,
504,
304,
451,
1468,
438,
1907,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
1289,
1345,
12,
20477,
319,
969,
15329,
474,
1615,
33,
2316,
18,
588,
1345,
1016,
5621,
430,
12,
1615,
631,
17,
21,
15329,
759,
36,
88,
369,
504,
304,
451,
1468,
438,
1907,
35,
... | ||
try { if (output != null) output.close(); } catch (IOException ioex) { log.warn(ioex.toString()); } | private Collection processTarget(Target target) throws Exception { String uri = target.getSourceURI(); int linkCount = 0; // Get parameters, deparameterized URI and path from URI final TreeMap parameters = new TreeMap(); final String deparameterizedURI = NetUtils.depara... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/9f176e7a73cb3fb3e0a9b93a15684b84c4530bc7/CocoonBean.java/buggy/src/java/org/apache/cocoon/bean/CocoonBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2200,
1207,
2326,
12,
2326,
1018,
13,
1216,
1185,
288,
3639,
514,
2003,
273,
1018,
18,
588,
1830,
3098,
5621,
3639,
509,
1692,
1380,
273,
374,
31,
3639,
368,
968,
1472,
16,
443,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2200,
1207,
2326,
12,
2326,
1018,
13,
1216,
1185,
288,
3639,
514,
2003,
273,
1018,
18,
588,
1830,
3098,
5621,
3639,
509,
1692,
1380,
273,
374,
31,
3639,
368,
968,
1472,
16,
443,
6... | |
System.out.println( i + ": yTopPos=" + item.yTopPos ); | protected void initContent( Container parent, int firstLineWidth, int lineWidth ) { //#debug System.out.println("ContainerView: intialising content for " + this + " with vertical-padding " + this.paddingVertical ); //#if polish.Container.allowCycling != false this.allowCycling = parent.allowCycling; //#endif //... | 9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/0093f2b145674676e683de169aebc003af70363c/ContainerView.java/clean/j2me/source/src/de/enough/polish/ui/ContainerView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1208,
1350,
12,
4039,
982,
16,
509,
24415,
2384,
16,
509,
26162,
262,
288,
202,
202,
759,
7,
4148,
202,
202,
3163,
18,
659,
18,
8222,
2932,
2170,
1767,
30,
509,
649,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1208,
1350,
12,
4039,
982,
16,
509,
24415,
2384,
16,
509,
26162,
262,
288,
202,
202,
759,
7,
4148,
202,
202,
3163,
18,
659,
18,
8222,
2932,
2170,
1767,
30,
509,
649,
1... | |
cx.ctorScope = scope; | public Scriptable construct(Context cx, Scriptable scope, Object[] args) throws JavaScriptException { if (method == null || parmsLength == VARARGS_CTOR) { Scriptable result; if (method != null) { // Ugly: allow variable-arg constructors that need access to the ... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/d589083a1e05831fd048d3c3f77379559ec628d7/FunctionObject.java/clean/js/rhino/src/org/mozilla/javascript/FunctionObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22780,
4872,
12,
1042,
9494,
16,
22780,
2146,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
2039,
422,
446,
747,
17902,
1782,
422,
8350,
22439,
67,
2272... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22780,
4872,
12,
1042,
9494,
16,
22780,
2146,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
309,
261,
2039,
422,
446,
747,
17902,
1782,
422,
8350,
22439,
67,
2272... | |
if ((PROPERTY + "declaration-handler").equals (propertyId)) return declHandler == base ? null : declHandler; | if ((PROPERTY + "declaration-handler").equals(propertyId)) { return (declHandler == base) ? null : declHandler; } | public Object getProperty (String propertyId) throws SAXNotRecognizedException { if ((PROPERTY + "declaration-handler").equals (propertyId)) return declHandler == base ? null : declHandler; if ((PROPERTY + "lexical-handler").equals (propertyId)) return lexicalHandler == base ? null : lexicalHandler; ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/24330cfb4cc445da21a71a819ce54efe764fab6e/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
3911,
261,
780,
31894,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
565,
288,
202,
430,
14015,
9900,
397,
315,
22448,
17,
4176,
20387,
14963,
261,
4468,
548,
3719,
202,
565,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3911,
261,
780,
31894,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
565,
288,
202,
430,
14015,
9900,
397,
315,
22448,
17,
4176,
20387,
14963,
261,
4468,
548,
3719,
202,
565,
3... |
public void delayOutbound(RouterIdentity peer, int numBytes) { | public void delayOutbound(RouterIdentity peer, int numBytes, boolean pulled) { | public void delayOutbound(RouterIdentity peer, int numBytes) { long delay = 0; while ( (delay = calculateDelayOutbound(peer, numBytes)) > 0) { try { synchronized (_outboundWaitLock) { _outboundWaitLock.wait(delay); } } catch (Inter... | 27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/d5bd22040c09a743598dafdbdf9ebc40339e7db1/TrivialBandwidthLimiter.java/buggy/router/java/src/net/i2p/router/transport/TrivialBandwidthLimiter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4624,
17873,
12,
8259,
4334,
4261,
16,
509,
18633,
16,
1250,
30741,
13,
288,
3639,
1525,
4624,
273,
374,
31,
3639,
1323,
261,
261,
10790,
273,
4604,
6763,
17873,
12,
12210,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4624,
17873,
12,
8259,
4334,
4261,
16,
509,
18633,
16,
1250,
30741,
13,
288,
3639,
1525,
4624,
273,
374,
31,
3639,
1323,
261,
261,
10790,
273,
4604,
6763,
17873,
12,
12210,
16,... |
if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_60()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(LBRACE)) return tru... | } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_216() { if (jj_scan_token(SWITCH)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_60()) return true; if (jj_la == 0 && jj_scanpos == jj_last... | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/050f1d327a4f37a9453fd61c6eb891b6097d82f6/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
22,
2313,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
18746,
25588,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
3238,
1250,
10684,
67,
23,
54,
67,
22,
2313,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
18746,
25588,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
... |
Iterator itr = store.iterator(); while (itr.hasNext()) { Object candidate = itr.next(); | for (int i = 0, n = store.size(); i < n; i++) { Object candidate = store.get(i); | public ArrayList filter(UnaryPredicate predicate) { ArrayList result = new ArrayList(); Iterator itr = store.iterator(); while (itr.hasNext()) { Object candidate = itr.next(); if (!predicate.execute(candidate)) { result.add(candidate); itr.remove(); } } return result; } | 7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/adc944a31496348743cba1cea4d181e4f2c5dca4/DynamicSortedQueue.java/buggy/core/src/org/cougaar/core/thread/DynamicSortedQueue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2407,
1034,
12,
15972,
8634,
5641,
13,
288,
202,
19558,
563,
273,
394,
2407,
5621,
202,
3198,
11176,
273,
1707,
18,
9838,
5621,
202,
17523,
261,
305,
86,
18,
5332,
2134,
10756,
288,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2407,
1034,
12,
15972,
8634,
5641,
13,
288,
202,
19558,
563,
273,
394,
2407,
5621,
202,
3198,
11176,
273,
1707,
18,
9838,
5621,
202,
17523,
261,
305,
86,
18,
5332,
2134,
10756,
288,... |
assertEquals(ProviderB.TOOL_B, (((PaletteEntry) stack.getChildren() .get(index++)).getId())); | assertEquals(ProviderB.TOOL_B, (((PaletteEntry) stackA .getChildren().get(index++)).getId())); | private void validatePaletteEntries(PaletteRoot paletteRoot, boolean providerBEnabled) { PaletteDrawer drawer; PaletteStack stack; int index = 1; drawer = (PaletteDrawer) paletteRoot.getChildren().get(index++); assertEquals(ProviderA.DRAWER_A, drawer.getId()); if (providerBEnabled) { assertEquals(ProviderB.D... | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/e062fe8f0213714d39cb2e8b560205dfcb5687ee/PaletteServiceTests.java/clean/org.eclipse.gmf.runtime/tests/org.eclipse.gmf.tests.runtime.diagram.ui/src/org/eclipse/gmf/tests/runtime/diagram/ui/services/PaletteServiceTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1954,
25863,
5400,
12,
25863,
2375,
12127,
2375,
16,
1082,
202,
6494,
2893,
38,
1526,
13,
288,
202,
202,
25863,
21631,
23943,
31,
202,
202,
25863,
2624,
2110,
31,
202,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1954,
25863,
5400,
12,
25863,
2375,
12127,
2375,
16,
1082,
202,
6494,
2893,
38,
1526,
13,
288,
202,
202,
25863,
21631,
23943,
31,
202,
202,
25863,
2624,
2110,
31,
202,
202... |
s_log += "no way"; System.out.println(sjp.getType() + " " + sjp.getSignature()); | s_log += "withincode "; | public void neverCalled(StaticJoinPoint sjp) { s_log += "no way"; System.out.println(sjp.getType() + " " + sjp.getSignature()); } | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/af6cfb44501694eefba09ed7c04cdc0dfcdf1d21/InterfaceDefinedMethodTestCase.java/buggy/aspectwerkz4/src/jdk15/test/test/InterfaceDefinedMethodTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
5903,
8185,
12,
5788,
4572,
2148,
272,
21797,
13,
288,
5411,
272,
67,
1330,
1011,
315,
2135,
4031,
14432,
5411,
2332,
18,
659,
18,
8222,
12,
87,
21797,
18,
588,
559,
1435,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
5903,
8185,
12,
5788,
4572,
2148,
272,
21797,
13,
288,
5411,
272,
67,
1330,
1011,
315,
2135,
4031,
14432,
5411,
2332,
18,
659,
18,
8222,
12,
87,
21797,
18,
588,
559,
1435,
39... |
throw new RuntimeException("No struct partner, but it MUST exist here. Otherwise me would"+ "have been deleted whe merging the lists"); | ; | public void mergeNode( BranchNode a, BranchNode b, ContentHandler ch ) throws SAXException { if( (a != null && ((a.getBaseMatchType() | BranchNode.MATCH_CHILDREN) == 0 )) || (b != null && ((b.getBaseMatchType() | BranchNode.MATCH_CHILDREN) == 0 ) ) ) throw new RuntimeException("mergeNode: match type sh... | 7752 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7752/60a3b704e20dc0c9752917fa1c2e733240e78e3a/Merge.java/buggy/3dm/src/tdm/lib/Merge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2691,
907,
12,
15449,
907,
279,
16,
15449,
907,
324,
16,
3697,
1503,
462,
262,
1216,
14366,
288,
565,
309,
12,
261,
69,
480,
446,
597,
14015,
69,
18,
588,
2171,
2060,
559,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2691,
907,
12,
15449,
907,
279,
16,
15449,
907,
324,
16,
3697,
1503,
462,
262,
1216,
14366,
288,
565,
309,
12,
261,
69,
480,
446,
597,
14015,
69,
18,
588,
2171,
2060,
559,
... |
title = BirtResources.getString( "birt.viewer.title" ); | title = BirtResources .getString( ResourceConstants.BIRT_VIEWER_TITLE ); | protected void __init( HttpServletRequest request ) throws Exception { if ( ParameterAccessor.isGetImageOperator( request ) ) { return; } this.category = "BIRT"; //$NON-NLS-1$ this.masterPageContent = ParameterAccessor .isMasterPageContent( request ); this.isDesigner = ParameterAccessor.isDesigner( request ... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/3d31c202bcb0ada22143bb650a317de7633d5027/ViewerAttributeBean.java/clean/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,
12,
9984,
590,
262,
1216,
1185,
202,
95,
202,
202,
430,
261,
5498,
8235,
18,
291,
967,
2040,
5592,
12,
590,
262,
262,
202,
202,
95,
1082,
202,
2463,
31,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
9984,
590,
262,
1216,
1185,
202,
95,
202,
202,
430,
261,
5498,
8235,
18,
291,
967,
2040,
5592,
12,
590,
262,
262,
202,
202,
95,
1082,
202,
2463,
31,
20... |
if( sRC.getDirection() == sRC.VERTICAL ) { | if( sRC.getDirection() == SequenceRenderContext.VERTICAL ) { | public void paint( Graphics2D g, SequenceRenderContext sRC ) { Paint selectedFill = Color.yellow; Paint textColor = Color.black; Paint notSelectedFill = g.getBackground(); Stroke beadStroke = new BasicStroke(); ... | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/fcbeda1e0bc8dc82a3c505af04fa6bb0330580f8/LabelledSequenceRenderer.java/clean/src/org/biojava/bio/gui/sequence/LabelledSequenceRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
16830,
22,
40,
314,
16,
8370,
3420,
1042,
272,
11529,
262,
288,
3639,
30001,
6647,
3170,
8026,
3639,
273,
5563,
18,
19227,
31,
3639,
30001,
6647,
977,
2957,
6647,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12574,
12,
16830,
22,
40,
314,
16,
8370,
3420,
1042,
272,
11529,
262,
288,
3639,
30001,
6647,
3170,
8026,
3639,
273,
5563,
18,
19227,
31,
3639,
30001,
6647,
977,
2957,
6647,
27... |
v1.spillIfUsing(eContext, EDX); v2.spillIfUsing(eContext, EDX); L1AHelper.requestRegister(eContext, EDX); | v1.spillIfUsing(eContext, EDX); v2.spillIfUsing(eContext, EDX); L1AHelper.requestRegister(eContext, EDX); | public final void visit_idiv() { final X86RegisterPool pool = eContext.getPool(); // Pop the arguments of the vstack final IntItem v2 = vstack.popInt(); final IntItem v1 = vstack.popInt(); // We need v1 in EAX, so if that is not the case, // spill those item using EAX L1AHelper.requestRegister(eContext, EAX, v1... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c9e1b93fdcd3878abf615621ec6a36bf839ab10/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
350,
427,
1435,
288,
202,
202,
6385,
1139,
5292,
3996,
2864,
2845,
273,
425,
1042,
18,
588,
2864,
5621,
202,
202,
759,
10264,
326,
1775,
434,
326,
19510,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
350,
427,
1435,
288,
202,
202,
6385,
1139,
5292,
3996,
2864,
2845,
273,
425,
1042,
18,
588,
2864,
5621,
202,
202,
759,
10264,
326,
1775,
434,
326,
19510,
2... |
private IPersistentMap createHashtableMap(Object[] init) { | IPersistentMap createHashtableMap(Object[] init) { | private IPersistentMap createHashtableMap(Object[] init) { return new PersistentHashtableMap(init);} | 50603 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50603/1b7ed50694b64f33303145d1c78d8f07481a9560/PersistentHybridMap.java/clean/src/org/clojure/runtime/PersistentHybridMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2971,
6572,
863,
752,
5582,
14544,
863,
12,
921,
8526,
1208,
13,
288,
565,
327,
394,
11049,
5582,
14544,
863,
12,
2738,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2971,
6572,
863,
752,
5582,
14544,
863,
12,
921,
8526,
1208,
13,
288,
565,
327,
394,
11049,
5582,
14544,
863,
12,
2738,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
ITypeHierarchy typeHierarchy= type.newSupertypeHierarchy(null); IType[] types= typeHierarchy.getAllSuperclasses(type); for (int i= 0; i < types.length; i++) { methods= types[i].getMethods(); for(int j= 0; j < methods.length; j++) { if(fMethodName.equals(methods[j].getElementName()) && methods[j].exists()) { return meth... | ITypeHierarchy typeHierarchy = type.newSupertypeHierarchy(null); IType[] types = typeHierarchy.getAllSuperclasses(type); for (int i = 0; i < types.length; i++) { methods = types[i].getMethods(); for (int j = 0; j < methods.length; j++) { if (fMethodName.equals(methods[j].getElementName()) && methods[j].exists()) { retu... | IMethod fuzzyFindMethodInTypeHierarchy(IType type) throws JavaModelException { IMethod[] methods= type.getMethods(); for(int i= 0; i < methods.length; i++) { if(fMethodName.equals(methods[i].getElementName()) && methods[i].exists()) { return methods[i]; } } ITypeHierarchy typeHierarchy= t... | 54619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54619/939c2626f5ef7c6550d3a506ac6dd14b7667f498/OpenTestAction.java/buggy/src/main/org/testng/eclipse/ui/OpenTestAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
467,
1305,
21315,
3125,
1305,
382,
559,
12074,
12,
45,
559,
618,
13,
1216,
5110,
1488,
503,
288,
565,
467,
1305,
8526,
2590,
33,
618,
18,
588,
4712,
5621,
565,
364,
12,
474,
277,
33,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
1305,
21315,
3125,
1305,
382,
559,
12074,
12,
45,
559,
618,
13,
1216,
5110,
1488,
503,
288,
565,
467,
1305,
8526,
2590,
33,
618,
18,
588,
4712,
5621,
565,
364,
12,
474,
277,
33,
... |
secondchar = s.charAt(++i); if (secondchar == '\\') | secondbyte = s[++i]; if (secondbyte == (byte)'\\') | public static byte[] toBytes(String s) throws SQLException { if (s == null) return null; int slength = s.length(); byte[] buf = new byte[slength]; int bufpos = 0; int thebyte; char nextchar; char secondchar; for (int i = 0; i < slength; i++) { nextchar = s.charAt(i); if (nextchar == '\\') { secondc... | 52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/734e4212784d7baa3dc809e25f9cb6de8329211f/PGbytea.java/buggy/src/interfaces/jdbc/org/postgresql/util/PGbytea.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1160,
8526,
23247,
12,
780,
272,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
87,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
474,
2020,
1288,
273,
272,
18,
2469,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1160,
8526,
23247,
12,
780,
272,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
87,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
474,
2020,
1288,
273,
272,
18,
2469,... |
case LayoutPackage.LEGEND__CHILDREN : getChildren( ).clear( ); return; case LayoutPackage.LEGEND__BOUNDS : setBounds( (Bounds) null ); return; case LayoutPackage.LEGEND__ANCHOR : unsetAnchor( ); return; case LayoutPackage.LEGEND__STRETCH : unsetStretch( ); return; case LayoutPackage.LEGEND__INSETS : setInsets( (Insets)... | public void eUnset( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case LayoutPackage.LEGEND__CHILDREN : getChildren( ).clear( ); return; case LayoutPackage.LEGEND__BOUNDS : setBounds( (Bounds) null ); return; case LayoutPackage.LEGEND__ANCHOR : unsetAnchor(... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/LegendImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LegendImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19698,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
9995,
226... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19698,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
9995,
226... | |
data.setValues(fCurrentEntity.ch, offset, length); | buffer.append (fCurrentEntity.ch, offset, length); | public boolean scanData(String delimiter, XMLString data) throws IOException { if (DEBUG_BUFFER) { System.out.print("(scanData: "); print(); System.out.println(); } // load more characters, if needed int delimLen... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/8a5148bc882d9ced0c8afb378808498e928b1b56/XMLEntityManager.java/clean/src/org/apache/xerces/impl/XMLEntityManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
4135,
751,
12,
780,
5654,
16,
3167,
780,
501,
13,
5411,
1216,
1860,
288,
5411,
309,
261,
9394,
67,
11302,
13,
288,
7734,
2332,
18,
659,
18,
1188,
2932,
12,
9871,
751,
30,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
4135,
751,
12,
780,
5654,
16,
3167,
780,
501,
13,
5411,
1216,
1860,
288,
5411,
309,
261,
9394,
67,
11302,
13,
288,
7734,
2332,
18,
659,
18,
1188,
2932,
12,
9871,
751,
30,
... |
public String toString() { String tmp = "" ; String aProp = "" ; String aVal = "" ; for(int i = 0; i < tags.size(); i++) { aProp = tags.get(i).toString() ; aVal = data.get(i).toString() ; tmp = tmp + aProp + "=" + aVal + '\n'; } retu... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/60467075711aa2659e43e6d3c30953d0e0293d30/VariableManager.java/clean/server/src/imcode/external/diverse/VariableManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
7734,
514,
1853,
273,
1408,
274,
3639,
514,
279,
4658,
273,
1408,
274,
3639,
514,
279,
3053,
273,
1408,
274,
3639,
364,
12,
474,
277,
273,
374,
31,
277,
411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
7734,
514,
1853,
273,
1408,
274,
3639,
514,
279,
4658,
273,
1408,
274,
3639,
514,
279,
3053,
273,
1408,
274,
3639,
364,
12,
474,
277,
273,
374,
31,
277,
411,... | ||
classFile.stopMethod((short)1, null); | cfw.stopMethod((short)1, null); | private void generateScriptCtor(Context cx, String superClassName) { classFile.startMethod("<init>", "()V", ClassFileWriter.ACC_PUBLIC); addByteCode(ByteCode.ALOAD_0); addSpecialInvoke(superClassName, "<init>", "()V"); addByteCode(ByteCode.RETURN); // 1 parameter = this ... | 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,
3651,
27425,
12,
1042,
9494,
16,
514,
2240,
3834,
13,
565,
288,
3639,
29728,
18,
1937,
1305,
2932,
32,
2738,
2984,
16,
25605,
58,
3113,
30614,
2289,
18,
31414,
67,
14939,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3651,
27425,
12,
1042,
9494,
16,
514,
2240,
3834,
13,
565,
288,
3639,
29728,
18,
1937,
1305,
2932,
32,
2738,
2984,
16,
25605,
58,
3113,
30614,
2289,
18,
31414,
67,
14939,... |
if (rsStack.isEmpty()) | if ( rsStack.isEmpty( ) ) | public IResultSet execute( IBaseQueryDefinition query ) { if ( query == null ) return null; if ( query instanceof IQueryDefinition ) { Scriptable scope = context.getSharedScope( ); IPreparedQuery pQuery = (IPreparedQuery) queryMap.get( query ); assert ( pQuery != null ); if ( pQuery != null ) { try ... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/223285a5b7d82da9ab4bfb2f5c755c9f974f2aba/DteDataEngine.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/DteDataEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
13198,
1836,
12,
467,
2171,
1138,
1852,
843,
262,
202,
95,
202,
202,
430,
261,
843,
422,
446,
262,
1082,
202,
2463,
446,
31,
202,
202,
430,
261,
843,
1276,
467,
1138,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
13198,
1836,
12,
467,
2171,
1138,
1852,
843,
262,
202,
95,
202,
202,
430,
261,
843,
422,
446,
262,
1082,
202,
2463,
446,
31,
202,
202,
430,
261,
843,
1276,
467,
1138,
1... |
public Process getSessionProcess(ICDITarget target) { MISession miSession = ((Target)target).getMISession(); return miSession.getSessionProcess(); | public Process getSessionProcess() throws CDIException { ICDITarget[] targets = getTargets(); if (targets != null && targets.length > 0) { return getSessionProcess(targets[0]); } return null; | public Process getSessionProcess(ICDITarget target) { MISession miSession = ((Target)target).getMISession(); return miSession.getSessionProcess(); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/17464c08f4d94cc47098c0d0ca9a1f7ddc481fe8/Session.java/buggy/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/Session.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4389,
7183,
2227,
12,
2871,
40,
1285,
826,
1018,
13,
288,
202,
202,
7492,
2157,
12837,
2157,
273,
14015,
2326,
13,
3299,
2934,
588,
7492,
2157,
5621,
202,
202,
2463,
12837,
2157... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4389,
7183,
2227,
12,
2871,
40,
1285,
826,
1018,
13,
288,
202,
202,
7492,
2157,
12837,
2157,
273,
14015,
2326,
13,
3299,
2934,
588,
7492,
2157,
5621,
202,
202,
2463,
12837,
2157... |
private static void buildText( StringBuffer content, StyleDesign style ) | private static void buildText( StringBuffer content, IStyle style ) | private static void buildText( StringBuffer content, StyleDesign style ) { buildProperty( content, HTMLTags.ATTR_TEXT_INDENT, style.getTextIndent( ) ); buildProperty( content, HTMLTags.ATTR_TEXT_ALIGN, style.getTextAlign( ) ); buildTextDecoration( content, style.getTextLineThrough( ), style .getTextOverline( )... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/778c80860c81c271b4b70edb2450e2750fe6c140/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,
1528,
12,
6674,
913,
16,
9767,
15478,
2154,
262,
202,
95,
202,
202,
3510,
1396,
12,
913,
16,
3982,
3453,
18,
12043,
67,
5151,
67,
2356,
2222,
16,
2154,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
12,
6674,
913,
16,
9767,
15478,
2154,
262,
202,
95,
202,
202,
3510,
1396,
12,
913,
16,
3982,
3453,
18,
12043,
67,
5151,
67,
2356,
2222,
16,
2154,
18,
... |
final String key = (String)enum.nextElement(); final String value = (String)mOverrideProps.get(key); | final String key = (String) enum.nextElement(); final String value = (String) mOverrideProps.get(key); | public void startElement(String aNamespaceURI, String aLocalName, String aQName, Attributes aAtts) { mBuf.setLength(0); if ("global".equals(aQName)) { mIsInGlobalElement = true; } else if ("... | 50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/f31504de9f000564f3af3cca0f42f60863344b88/ConfigurationLoader.java/clean/src/checkstyle/com/puppycrawl/tools/checkstyle/ConfigurationLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
780,
279,
3402,
3098,
16,
11794,
514,
279,
29583,
16,
11794,
514,
279,
13688,
16,
11794,
9055,
279,
3075,
87,
13,
565,
288,
3639,
312,
5503,
18,
542,
1782,
12,
20,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13591,
12,
780,
279,
3402,
3098,
16,
11794,
514,
279,
29583,
16,
11794,
514,
279,
13688,
16,
11794,
9055,
279,
3075,
87,
13,
565,
288,
3639,
312,
5503,
18,
542,
1782,
12,
20,... |
NFSDataOutputStream out = NutchFileSystem.getNamed("local").create(file); | NFSDataOutputStream out = NutchFileSystem.getNamed("local", this.jobConf).create(file); | public void readFields(DataInput in) throws IOException { this.mapTaskId = UTF8.readString(in); this.reduceTaskId = UTF8.readString(in); this.partition = in.readInt(); ProgressReporter reporter = (ProgressReporter)REPORTERS.get(); // read the length-prefixed file content into a local file File file ... | 46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/329ff64e9d7295aff108f85e9a8103f5e5f8f398/MapOutputFile.java/buggy/src/java/org/apache/nutch/mapred/MapOutputFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
855,
2314,
12,
751,
1210,
316,
13,
1216,
1860,
288,
565,
333,
18,
1458,
30182,
273,
6380,
28,
18,
896,
780,
12,
267,
1769,
565,
333,
18,
12498,
30182,
273,
6380,
28,
18,
89... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
855,
2314,
12,
751,
1210,
316,
13,
1216,
1860,
288,
565,
333,
18,
1458,
30182,
273,
6380,
28,
18,
896,
780,
12,
267,
1769,
565,
333,
18,
12498,
30182,
273,
6380,
28,
18,
89... |
yaccValue = "&&"; | yaccValue = new Token("&&", getPosition(null, false)); | private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;... | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/clean/src/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
1149,
276,
31,
3639,
1250,
3476,
15160,
273,
629,
31,
3639,
1250,
1296,
1119,
31,
7734,
309,
261,
4149,
67,
701,
6408,
480,
446,
13,
288,
1082... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
677,
1362,
92,
1435,
288,
3639,
1149,
276,
31,
3639,
1250,
3476,
15160,
273,
629,
31,
3639,
1250,
1296,
1119,
31,
7734,
309,
261,
4149,
67,
701,
6408,
480,
446,
13,
288,
1082... |
/* Nope. */ return false; } | /* Nope. */ return false; } | public static boolean isMagic( byte[] magic ) { int pos; /* UTF-8. */ pos = 0; if ( magic.length > 5 && magic[ pos++ ] == (byte) '<' && magic[ pos++ ] == (byte) '?' && magic[ pos++ ] == (byte) 'x' && magic[ pos++ ] == (byte) 'm' && ... | 48494 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48494/0e696077f5fc9004ec98b881075f0c4a553460dc/XMLDataNode.java/buggy/treeview/src/main/uk/ac/starlink/treeview/XMLDataNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
353,
19289,
12,
1160,
8526,
8146,
262,
288,
3639,
509,
949,
31,
3639,
1748,
6380,
17,
28,
18,
1195,
3639,
949,
273,
374,
31,
3639,
309,
261,
8146,
18,
2469,
405,
1381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
353,
19289,
12,
1160,
8526,
8146,
262,
288,
3639,
509,
949,
31,
3639,
1748,
6380,
17,
28,
18,
1195,
3639,
949,
273,
374,
31,
3639,
309,
261,
8146,
18,
2469,
405,
1381,
... |
public void startElement(QName element, XMLAttributes attributes) throws XNIException { try { // SAX1 if (fDocumentHandler != null) { fAttributesProxy.setAttributes(attributes); fDocumentHandler.startElement(element.rawname, fAttributesProxy); ... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/c1347feb11416eb839b46a76d6c41f1d84f3217a/AbstractSAXParser.java/buggy/src/org/apache/xerces/parsers/AbstractSAXParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
13688,
930,
16,
3167,
2498,
1677,
13,
540,
1216,
1139,
50,
45,
503,
288,
3639,
775,
288,
5411,
368,
10168,
21,
5411,
309,
261,
74,
2519,
1503,
480,
446,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13591,
12,
13688,
930,
16,
3167,
2498,
1677,
13,
540,
1216,
1139,
50,
45,
503,
288,
3639,
775,
288,
5411,
368,
10168,
21,
5411,
309,
261,
74,
2519,
1503,
480,
446,
13,
288,
... | ||
rubyClass.addMethod(name, newMethod); | containingClass.addMethod(name, newMethod); | public void visitDefnNode(DefnNode iVisited) { RubyModule rubyClass = threadContext.getRubyClass(); if (rubyClass == null) { throw new TypeError(runtime, "No class to add method."); } String name = iVisited.getName(); if (rubyClass == runtime.getClasses().getObjectClass... | 45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/43e9fa2839b5fdb050b372d628601d8a4bcc43a4/EvaluateVisitor.java/clean/src/org/jruby/evaluator/EvaluateVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
3262,
82,
907,
12,
3262,
82,
907,
277,
30019,
13,
288,
3639,
19817,
3120,
22155,
797,
273,
2650,
1042,
18,
588,
54,
10340,
797,
5621,
3639,
309,
261,
27768,
797,
422,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
3262,
82,
907,
12,
3262,
82,
907,
277,
30019,
13,
288,
3639,
19817,
3120,
22155,
797,
273,
2650,
1042,
18,
588,
54,
10340,
797,
5621,
3639,
309,
261,
27768,
797,
422,
4... |
return decode(encodedString, 0, encodedString.length); | try { if (encoding == null) { return new String(encodedString, offset, length); } else { if (encoding.equals("UTF-8")) { return decodeUTF8(encodedString, offset, length); } return new String(encodedString, offset, length, encoding); } } catch (UnsupportedEncodingException e) { throw new PSQLException("postgresql.stream... | public String decode(byte[] encodedString) throws SQLException { return decode(encodedString, 0, encodedString.length); } | 46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/0378a269f3ab3c44e67b14f96414b6ca95263263/Encoding.java/buggy/src/interfaces/jdbc/org/postgresql/core/Encoding.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
2495,
12,
7229,
8526,
3749,
780,
13,
1216,
6483,
202,
95,
202,
202,
2463,
2495,
12,
10787,
780,
16,
374,
16,
3749,
780,
18,
2469,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
2495,
12,
7229,
8526,
3749,
780,
13,
1216,
6483,
202,
95,
202,
202,
2463,
2495,
12,
10787,
780,
16,
374,
16,
3749,
780,
18,
2469,
1769,
202,
97,
2,
-100,
-100,
-100,
-1... |
VM_Class cls = VM_ClassLoader.findOrCreateType(classDescriptor).asClass(); | VM_Class cls = VM_ClassLoader.findOrCreateType(classDescriptor, VM_SystemClassLoader.getVMClassLoader()).asClass(); | private static void runClassInitializer(String className) { VM_Atom classDescriptor = VM_Atom.findOrCreateAsciiAtom(className.replace('.','/')).descriptorFromClassName(); VM_Class cls = VM_ClassLoader.findOrCreateType(classDescriptor).asClass(); if (cls.isInBootImage()) { VM_Magic.invokeClassIni... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/220706ac8e24c4eb9124a4025dcee5f246daa751/VM.java/buggy/rvm/src/vm/VM.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
1086,
797,
14729,
12,
780,
2658,
13,
288,
565,
8251,
67,
3641,
225,
667,
3187,
273,
3639,
8251,
67,
3641,
18,
4720,
17717,
21363,
3641,
12,
12434,
18,
2079,
2668,
1093,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
918,
1086,
797,
14729,
12,
780,
2658,
13,
288,
565,
8251,
67,
3641,
225,
667,
3187,
273,
3639,
8251,
67,
3641,
18,
4720,
17717,
21363,
3641,
12,
12434,
18,
2079,
2668,
1093,
... |
rules.add(new SingleLineRule("'", "'", token, '\\')); | rules.add(new SingleLineRule("'", "'", token, '\\')); | protected List createRules() { List rules= new ArrayList(); // Add rule for strings Token token= getToken(ICColorConstants.C_SINGLE_LINE_COMMENT); // Add rule for single line comments. rules.add(new EndOfLineRule("#", token)); token= getToken(ICColorConstants.C_STRING); // Add rule for strings and c... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/AsmCodeScanner.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/asm/AsmCodeScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
987,
752,
4478,
1435,
288,
25083,
202,
682,
2931,
33,
394,
2407,
5621,
25083,
202,
759,
1436,
1720,
364,
2064,
202,
202,
1345,
1147,
33,
9162,
12,
2871,
2957,
2918,
18,
39,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
752,
4478,
1435,
288,
25083,
202,
682,
2931,
33,
394,
2407,
5621,
25083,
202,
759,
1436,
1720,
364,
2064,
202,
202,
1345,
1147,
33,
9162,
12,
2871,
2957,
2918,
18,
39,
6... |
&& (isKnownView(toID) || isKnownTopic(toID))) { int pref = HelpContribution.NORMAL; if (asType.equals(ActionContributor.INSERT_AS_FIRST_CHILD)) { pref = HelpContribution.FIRST; } else if (asType.equals(ActionContributor.INSERT_AS_LAST_CHILD)) { pref = HelpContribution.LAST; } else if (asType.equals(ActionContributor.IN... | && (isKnownView(toID) || isKnownTopic(toID))) { if (insertTopic(fromID, toID, view, insertNode.getMode(), newLabel)) | public boolean execute() { String fromID = insertNode.getSource(); String toID = insertNode.getTarget(); String asType = insertNode.getMode(); String newLabel = insertNode.getRawLabel(); // check conditions if (isKnownView(fromID)) return false; if ((isKnownTopic(fromID) || isKnownTopicSet(fromID)) ... | 13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/90aa1ba7e47ec2535c1447e5ccce3b6e7b68f82d/InfosetBuilder.java/clean/org.eclipse.help/Eclipse Help/org/eclipse/help/internal/navigation/InfosetBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
1836,
1435,
288,
1082,
202,
780,
628,
734,
273,
2243,
907,
18,
588,
1830,
5621,
1082,
202,
780,
358,
734,
273,
2243,
907,
18,
588,
2326,
5621,
1082,
202,
780,
31658,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1250,
1836,
1435,
288,
1082,
202,
780,
628,
734,
273,
2243,
907,
18,
588,
1830,
5621,
1082,
202,
780,
358,
734,
273,
2243,
907,
18,
588,
2326,
5621,
1082,
202,
780,
31658,
27... |
String oldGroupingUnit = groupingUnit; groupingUnit = newGroupingUnit; | GroupingUnitType oldGroupingUnit = groupingUnit; groupingUnit = newGroupingUnit == null ? GROUPING_UNIT_EDEFAULT : newGroupingUnit; boolean oldGroupingUnitESet = groupingUnitESet; groupingUnitESet = true; | public void setGroupingUnit(String newGroupingUnit) { String oldGroupingUnit = groupingUnit; groupingUnit = newGroupingUnit; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DataPackage.SERIES_GROUPING__GROUPING_UNIT, oldGroupingUni... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/869b9dc91ef4dd13d07f589c6394484a744642f0/SeriesGroupingImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/SeriesGroupingImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
21014,
2802,
12,
780,
394,
21014,
2802,
13,
565,
288,
3639,
514,
1592,
21014,
2802,
273,
12116,
2802,
31,
3639,
12116,
2802,
273,
394,
21014,
2802,
31,
3639,
309,
261,
73,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
21014,
2802,
12,
780,
394,
21014,
2802,
13,
565,
288,
3639,
514,
1592,
21014,
2802,
273,
12116,
2802,
31,
3639,
12116,
2802,
273,
394,
21014,
2802,
31,
3639,
309,
261,
73,... |
if (fDTDEventHandler != null) { fDTDEventHandler.doctypeDecl(rootElement, publicId, systemId); } | public void doctypeDecl(QName rootElement, int publicId, int systemId) throws Exception { // create doctype decl Element doctypeDecl = fGrammarDocument.createElement("doctypeDecl"); doctypeDecl.setAttribute("name", fStringPool.toString(rootElement.rawname)); if (rootElement.uri !... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/3bbd83a7bcddbc34357f71fe08eace8d74b9bc8f/DTDGrammar.java/buggy/src/org/apache/xerces/validators/dtd/DTDGrammar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24909,
3456,
12,
13688,
27575,
16,
509,
1071,
548,
16,
509,
30083,
13,
540,
1216,
1185,
288,
3639,
368,
752,
24909,
3496,
3639,
3010,
24909,
3456,
273,
284,
18576,
2519,
18,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24909,
3456,
12,
13688,
27575,
16,
509,
1071,
548,
16,
509,
30083,
13,
540,
1216,
1185,
288,
3639,
368,
752,
24909,
3496,
3639,
3010,
24909,
3456,
273,
284,
18576,
2519,
18,
26... | |
buf.append("(The node will try to fetch a revocation key before updating)"); | buf.append("(The node will try to fetch a revocation key before updating)<br>"); | public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException { if(data.size() > 1024*1024) { this.writeReply(ctx, 400, "text/plain", "Too big", "Data exceeds 1MB limit"); return; } HTTPRequest request = new HTTPRequest(uri,data,ctx); if(request==null) r... | 50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/e20fb8245fb08b1f301fad614d29bf93c7e0a791/WelcomeToadlet.java/buggy/src/freenet/clients/http/WelcomeToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
3349,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
9506,
202,
430,
12,
892,
18,
1467,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
3349,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
9506,
202,
430,
12,
892,
18,
1467,
... |
fontMetrics.stringWidth(label)) / 2), rectBound.y + halfFontHeight + | stringWidth(label, g2)) / 2), rectBound.y + halfFontHeight + | private void paintLabel(Graphics2D g2) { g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF); shrinkFont(g2); switch (getLabelSide()) { case 0: g2.drawString(label, rectBound.x + ((rectBound.widt... | 51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/0bed1e2933edf0a6e563ea76611d5fd5d57c72f3/GUIMasterHex.java/buggy/Colossus/net/sf/colossus/client/GUIMasterHex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
12574,
2224,
12,
17558,
22,
40,
314,
22,
13,
377,
288,
3639,
314,
22,
18,
542,
14261,
7002,
12,
14261,
13368,
18,
3297,
67,
6856,
31119,
1360,
16,
5411,
22391,
18,
4051,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12574,
2224,
12,
17558,
22,
40,
314,
22,
13,
377,
288,
3639,
314,
22,
18,
542,
14261,
7002,
12,
14261,
13368,
18,
3297,
67,
6856,
31119,
1360,
16,
5411,
22391,
18,
4051,
67,
... |
private static synchronized void createSheet(final Component glassPane, final String message) { | private synchronized void createSheet() { | private static synchronized void createSheet(final Component glassPane, final String message) { // Create the content. progressBar.setIndeterminate(true); JComponent content = new JPanel(new BorderLayout(20, 20)); content.add(makeCenteredPanel(progressBar), BorderLayout.CENTER); c... | 10883 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10883/591e100c2ecd9f1131905f241797f1fe73b9b46d/WaitCursor.java/buggy/trunk/src/e/scm/WaitCursor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
752,
8229,
1435,
288,
3639,
368,
1788,
326,
913,
18,
3639,
29101,
18,
542,
3866,
4443,
340,
12,
3767,
1769,
3639,
29058,
913,
273,
394,
24048,
12,
2704,
30814,
12,
3462,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
752,
8229,
1435,
288,
3639,
368,
1788,
326,
913,
18,
3639,
29101,
18,
542,
3866,
4443,
340,
12,
3767,
1769,
3639,
29058,
913,
273,
394,
24048,
12,
2704,
30814,
12,
3462,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.