rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
private void chargerReferentiel() { // TODO Auto-generated method stub File ref = new File(Application.getApplication().getConfigPropriete("referentiel_demarrage")); if (ref.exists()) { CChargerReferentielDemarrage c = new CChargerReferentielDemarrage(ref); if (c.executer()) { new FenetreChoixProcessus(t... | 9100 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9100/95bf3cd58a31c628cdc277dd7079038ccd91dd06/Application.java/clean/iepp/iepp/Application.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
3001,
693,
426,
3518,
77,
292,
1435,
202,
95,
202,
202,
759,
6241,
4965,
17,
11168,
2039,
12847,
202,
202,
25579,
822,
74,
33,
2704,
812,
12,
3208,
18,
588,
3208,
7675,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
3001,
693,
426,
3518,
77,
292,
1435,
202,
95,
202,
202,
759,
6241,
4965,
17,
11168,
2039,
12847,
202,
202,
25579,
822,
74,
33,
2704,
812,
12,
3208,
18,
588,
3208,
7675,... | ||
} | } | public void aboutToRun(IJobChangeEvent event) { // ignore } | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/249a54647efc3e5268f65f7eeaa111912f576d2d/OpenTaskListElementAction.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/actions/OpenTaskListElementAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
2973,
774,
1997,
12,
45,
2278,
20930,
871,
13,
288,
25083,
202,
759,
2305,
6862,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
2973,
774,
1997,
12,
45,
2278,
20930,
871,
13,
288,
25083,
202,
759,
2305,
6862,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
SystemProperties.expandProperties(); | public static void launch(String classname, String[] args){ setIsBootstrapped(); readProperties(System.getProperty("org.cougaar.properties.url")); getBootstrapper().launchApplication(classname, args); } | 7982 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7982/d8cc8f214b5989b237977e57f9e0384bc4a2d165/Bootstrapper.java/clean/bootstrap/src/org/cougaar/bootstrap/Bootstrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2332,
2297,
18,
12320,
2297,
5621,
225,
2332,
2297,
18,
12320,
2297,
5621,
225,
1071,
3163,
2297,
18,
12320,
2297,
5621,
225,
760,
3163,
2297,
18,
12320,
2297,
5621,
225,
918,
3163,
2297,
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,
2332,
2297,
18,
12320,
2297,
5621,
225,
2332,
2297,
18,
12320,
2297,
5621,
225,
1071,
3163,
2297,
18,
12320,
2297,
5621,
225,
760,
3163,
2297,
18,
12320,
2297,
5621,
225,
918,
3163,
2297,
18,
... | |
String msg; | String msg; | private static org.omg.DynamicAny.DynStruct createDynAnyFromTypeCode (org.omg.CORBA.TypeCode tc) { String msg; org.omg.DynamicAny.DynStruct dynAny = null; try { dynAny = (org.omg.DynamicAny.DynStruct) factory.create_dyn_any_from_type_code (tc); } catch (T... | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/8f8c68b638239e127bed454a75fc4a720a4cee82/DynAnyEmptyExTest.java/buggy/test/regression/src/org/jacorb/test/orb/dynany/DynAnyEmptyExTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
2358,
18,
362,
75,
18,
9791,
2961,
18,
10419,
3823,
752,
10419,
2961,
1265,
15460,
1377,
261,
3341,
18,
362,
75,
18,
9428,
12536,
18,
15460,
1715,
13,
282,
288,
1377,
514,
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,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
2358,
18,
362,
75,
18,
9791,
2961,
18,
10419,
3823,
752,
10419,
2961,
1265,
15460,
1377,
261,
3341,
18,
362,
75,
18,
9428,
12536,
18,
15460,
1715,
13,
282,
288,
1377,
514,
12... |
return InspectionGadgetsBundle.message("parameter.limit.option"); } | return InspectionGadgetsBundle.message("parameter.limit.option"); } | protected String getConfigurationLabel() { return InspectionGadgetsBundle.message("parameter.limit.option"); } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/99336f1791510cfcd3ff200df94a9d442cbf8ed8/ParametersPerMethodInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/methodmetrics/ParametersPerMethodInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
514,
10316,
2224,
1435,
288,
565,
327,
22085,
7017,
43,
361,
14665,
3405,
18,
2150,
2932,
6775,
18,
3595,
18,
3482,
8863,
225,
289,
2,
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,
282,
4750,
514,
10316,
2224,
1435,
288,
565,
327,
22085,
7017,
43,
361,
14665,
3405,
18,
2150,
2932,
6775,
18,
3595,
18,
3482,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
previewString = new StringFormatter( formatCategroy != DesignChoiceConstants.STRING_FORMAT_TYPE_CUSTOM ? formatCategroy : formatPattern, | previewString = new StringFormatter( isCustom( ) ? formatPattern : formatCategroy, | private void updateFormatField( ) { String displayFormat; String previewString; String type = getSelectedDataType( ); IChoiceSet choiceSet = getFormatChoiceSet( type ); if ( choiceSet == null ) {// Boolean type; displayFormat = DEUtil.getMetaDataDictionary( ) .getChoiceSet( DesignChoiceConstants.CHOICE_STR... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/05eaa07ecbd0b690fd917d050b42db71034caf5d/ParameterDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
1630,
974,
12,
262,
202,
95,
202,
202,
780,
2562,
1630,
31,
202,
202,
780,
10143,
780,
31,
202,
202,
780,
618,
273,
16625,
6273,
12,
11272,
202,
202,
45,
10538,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
1630,
974,
12,
262,
202,
95,
202,
202,
780,
2562,
1630,
31,
202,
202,
780,
10143,
780,
31,
202,
202,
780,
618,
273,
16625,
6273,
12,
11272,
202,
202,
45,
10538,
... |
HierarchyAccess hierarchyAccess = new HierarchyAccess( hierarchy, access, topLevel, bottomLevel); hierarchyAccess.memberGrants.putAll(memberGrants); return hierarchyAccess; } | HierarchyAccess hierarchyAccess = new HierarchyAccess( hierarchy, access, topLevel, bottomLevel); hierarchyAccess.memberGrants.putAll(memberGrants); return hierarchyAccess; } | public Object clone() { HierarchyAccess hierarchyAccess = new HierarchyAccess( hierarchy, access, topLevel, bottomLevel); hierarchyAccess.memberGrants.putAll(memberGrants); return hierarchyAccess; } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/Role.java/clean/src/main/mondrian/olap/Role.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1033,
3236,
1435,
288,
1082,
202,
12074,
1862,
9360,
1862,
273,
394,
670,
6000,
1862,
12,
6862,
202,
17937,
16,
2006,
16,
21289,
16,
5469,
2355,
1769,
1082,
202,
17937,
1862,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1033,
3236,
1435,
288,
1082,
202,
12074,
1862,
9360,
1862,
273,
394,
670,
6000,
1862,
12,
6862,
202,
17937,
16,
2006,
16,
21289,
16,
5469,
2355,
1769,
1082,
202,
17937,
1862,
1... |
translateCall(classGen, methodGen); | il.append(new ALOAD(keyIterator.getIndex())); | public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = methodGen.getInstructionList(); final int getNodeHandle = cpg.addInterfaceMethodref(DOM_INTF, "getNodeHandle", "(I)"+NODE_SIG); ... | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/1ca29c27de15c3f0758c79f0f3360a05eaae2495/KeyCall.java/buggy/src/org/apache/xalan/xsltc/compiler/KeyCall.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
9506,
225,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
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,
4204,
12,
797,
3908,
667,
7642,
16,
9506,
225,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
2... |
{ if (listSize-- <= 0) { throw runtime.newArgumentError(sTooFew); } | { if (listSize-- <= 0) { throw runtime.newArgumentError(sTooFew); } | public static RubyString pack(List list, RubyString formatString) { IRuby runtime = formatString.getRuntime(); PtrList format = new PtrList(formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ... | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/buggy/src/org/jruby/util/Pack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
780,
2298,
12,
682,
666,
16,
19817,
780,
27107,
13,
288,
3639,
15908,
10340,
3099,
273,
27107,
18,
588,
5576,
5621,
3639,
14898,
682,
740,
273,
394,
14898,
682,
12,
2139... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
780,
2298,
12,
682,
666,
16,
19817,
780,
27107,
13,
288,
3639,
15908,
10340,
3099,
273,
27107,
18,
588,
5576,
5621,
3639,
14898,
682,
740,
273,
394,
14898,
682,
12,
2139... |
0, 0, 98, 99, 100, 22, 23, 24, 25, 0, | 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, | private static final short[] yyTable4() { return new short[] { 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0... | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
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,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
11... |
if (verboseJNI) VM.sysWrite("JNI called: GetArrayLength \n"); | if (traceJNI) VM.sysWrite("JNI called: GetArrayLength \n"); | private static int GetArrayLength(int envJREF, int arrayJREF) { if (verboseJNI) VM.sysWrite("JNI called: GetArrayLength \n"); VM_JNIEnvironment env; try { env = VM_Thread.getCurrentThread().getJNIEnv(); Object theArray = (Object) env.getJNIRef(arrayJREF); VM_Type arrayType = VM_Magic.getObjec... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/4062e6b002bdf9991c940012d22443401650712a/VM_JNIFunctions.java/clean/rvm/src/vm/jni/VM_JNIFunctions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
968,
1076,
1782,
12,
474,
1550,
46,
10771,
16,
509,
526,
46,
10771,
13,
288,
565,
309,
261,
5129,
46,
50,
45,
13,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2566,
30,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
968,
1076,
1782,
12,
474,
1550,
46,
10771,
16,
509,
526,
46,
10771,
13,
288,
565,
309,
261,
5129,
46,
50,
45,
13,
8251,
18,
9499,
3067,
2932,
46,
50,
45,
2566,
30,
9... |
public long getSize(); | public long getSize() { return mSize; } | public long getSize(); | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/b17d05d071612293d6f09ab67b1bbdcf47c5a136/ZConversation.java/clean/ZimbraServer/src/java/com/zimbra/cs/zclient/ZConversation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1525,
9950,
5621,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1525,
9950,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
ldmlComparator.addAttribute(attribute); | private void push(String qName, Attributes attributes) { //SHOW_ALL && if (log != null) log.println("push\t" + qName + "\t" + show(attributes)); currentXPath += "/" + qName; currentFullXPath += "/" + qName; ldmlComparator.addElement(qName); if (attributes.getLength() > 0) { att... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/97d56b66ca317c8732f0acc8fdac7776519eb508/CLDRFile.java/clean/tools/java/org/unicode/cldr/util/CLDRFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
202,
1152,
918,
1817,
12,
780,
22914,
16,
9055,
1677,
13,
288,
377,
202,
202,
759,
16677,
67,
4685,
597,
1377,
202,
202,
430,
261,
1330,
480,
446,
13,
613,
18,
8222,
2932,
6206,
64,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
202,
1152,
918,
1817,
12,
780,
22914,
16,
9055,
1677,
13,
288,
377,
202,
202,
759,
16677,
67,
4685,
597,
1377,
202,
202,
430,
261,
1330,
480,
446,
13,
613,
18,
8222,
2932,
6206,
64,
... | |
int index; UndoableEdit current; for (index = 0; index < edits.size(); index++) { current = (UndoableEdit) edits.elementAt(index); if (current.isSignificant() == true) { return true; } } return false; } | return false; } | public boolean isSignificant() { // Variables int index; UndoableEdit current; // Check each edit for (index = 0; index < edits.size(); index++) { current = (UndoableEdit) edits.elementAt(index); if (current.isSignificant() == true) { return true; } } // for: index return false; } // isSignificant() | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/1a56510a6b5772240a0ed85a7518db15a15edb8a/CompoundEdit.java/buggy/libjava/javax/swing/undo/CompoundEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
29822,
1435,
288,
202,
202,
759,
23536,
202,
202,
474,
9506,
202,
1615,
31,
202,
202,
31224,
429,
4666,
202,
2972,
31,
202,
202,
759,
2073,
1517,
3874,
202,
202,
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,
482,
1250,
353,
29822,
1435,
288,
202,
202,
759,
23536,
202,
202,
474,
9506,
202,
1615,
31,
202,
202,
31224,
429,
4666,
202,
2972,
31,
202,
202,
759,
2073,
1517,
3874,
202,
202,
18... |
if (isReadOnly(column)) return true; else return false; | return !isReadOnly(column); | public boolean isWritable(int column) throws SQLException { if (isReadOnly(column)) return true; else return false; } | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/afa178e7e2118800d9723a0608eb1dc8a4beef6f/ResultSetMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSetMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
12061,
12,
474,
1057,
13,
1216,
6483,
225,
288,
565,
309,
261,
291,
12066,
12,
2827,
3719,
1377,
327,
638,
31,
565,
469,
1377,
327,
629,
31,
225,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
12061,
12,
474,
1057,
13,
1216,
6483,
225,
288,
565,
309,
261,
291,
12066,
12,
2827,
3719,
1377,
327,
638,
31,
565,
469,
1377,
327,
629,
31,
225,
289,
2,
-100,
-100,
... |
permissionPanel.setLayout(new GridBagLayout()); | permissionPanel.setLayout(new BorderLayout()); | private JPanel builPermissionPanel() { permissionPanel = new JPanel(); permissionPanel.setLayout(new GridBagLayout()); return permissionPanel; } | 55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/464efde90db6bc5095c0a7e5952f51ad0f37ca86/EditorPaneUI.java/buggy/SRC/org/openmicroscopy/shoola/agents/hiviewer/clipboard/editor/EditorPaneUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
24048,
25666,
330,
5041,
5537,
1435,
565,
288,
3639,
4132,
5537,
273,
394,
24048,
5621,
540,
4132,
5537,
18,
542,
3744,
12,
2704,
30814,
10663,
3639,
327,
4132,
5537,
31,
565,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
24048,
25666,
330,
5041,
5537,
1435,
565,
288,
3639,
4132,
5537,
273,
394,
24048,
5621,
540,
4132,
5537,
18,
542,
3744,
12,
2704,
30814,
10663,
3639,
327,
4132,
5537,
31,
565,
289,
... |
ProjectBrowser.TheInstance.getNavigatorPane().forceUpdate(); | ProjectBrowser.getInstance().getNavigatorPane().forceUpdate(); | public void moveUp(int index) { if(_getMethod != null && _setMethod != null) { try { Collection oldCollection = (Collection) _getMethod.invoke(getContainer(),_noArgs); Collection newCollection = moveUpUtil(oldCollection,index); _setMethod.invoke(getCont... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/1ebb17ac06205415cc8d51f57abdfb1e5ec54d76/UMLReflectionListModel.java/buggy/src_new/org/argouml/uml/ui/UMLReflectionListModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3635,
1211,
12,
474,
770,
13,
288,
3639,
309,
24899,
588,
1305,
480,
446,
597,
389,
542,
1305,
480,
446,
13,
288,
5411,
775,
288,
7734,
2200,
1592,
2532,
273,
261,
2532,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3635,
1211,
12,
474,
770,
13,
288,
3639,
309,
24899,
588,
1305,
480,
446,
597,
389,
542,
1305,
480,
446,
13,
288,
5411,
775,
288,
7734,
2200,
1592,
2532,
273,
261,
2532,
13,
... |
.addProperty(DATA_SOURCE_BEAN,new RuntimeBeanReference(DATA_SOURCE_BEAN)); | .addProperty(DATA_SOURCE_BEAN,new RuntimeBeanReference(DATA_SOURCE_BEAN,parentDataSource)); | private void populateDataSourceReferences(RuntimeSpringConfiguration springConfig) { GrailsDataSource ds = application.getGrailsDataSource(); BeanConfiguration localSessionFactoryBean = springConfig .addSingletonBean(SESSION_FACTORY_BEAN,ConfigurableLocalSessionFactoryBean.class); if(ds != null) {... | 28089 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28089/19601f65169b576936ff7d5084709da10ec6a748/GrailsRuntimeConfigurator.java/clean/src/commons/org/codehaus/groovy/grails/commons/spring/GrailsRuntimeConfigurator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
6490,
8597,
8221,
12,
5576,
55,
11638,
1750,
25974,
809,
13,
288,
9506,
202,
14571,
14573,
8597,
3780,
273,
2521,
18,
588,
14571,
14573,
8597,
5621,
1082,
202,
3381,
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,
225,
202,
1152,
918,
6490,
8597,
8221,
12,
5576,
55,
11638,
1750,
25974,
809,
13,
288,
9506,
202,
14571,
14573,
8597,
3780,
273,
2521,
18,
588,
14571,
14573,
8597,
5621,
1082,
202,
3381,
1750,
... |
wrappedRequest = new DummyParameterRequestWrapper(wrappedRequest, cd.getLastRequestParameters()); | final HttpSession portalSession = pcs.getHttpServletRequest().getSession(false); final Map requestParams; if (portalSession != null) { requestParams = (Map)portalSession.getAttribute(sessionParamsKey); } else { requestParams = null; } wrappedRequest = new DummyParameterRequestWrapper(wrappedRequest, requestParams); | protected synchronized String getMarkup(String uid) throws PortalException { ChannelState channelState = (ChannelState)channelStateMap.get(uid); ChannelRuntimeData rd = channelState.getRuntimeData(); ChannelStaticData sd = channelState.getStaticData(); ChannelData cd = channelState.getCh... | 1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/8330cbc23d81bb2476500bb77aff5b87cb528e25/CPortletAdapter.java/clean/source/org/jasig/portal/channels/portlet/CPortletAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3852,
514,
23232,
416,
12,
780,
4555,
13,
1216,
25478,
503,
288,
3639,
5307,
1119,
1904,
1119,
273,
261,
2909,
1119,
13,
4327,
1119,
863,
18,
588,
12,
1911,
1769,
3639,
5307,
5576,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
514,
23232,
416,
12,
780,
4555,
13,
1216,
25478,
503,
288,
3639,
5307,
1119,
1904,
1119,
273,
261,
2909,
1119,
13,
4327,
1119,
863,
18,
588,
12,
1911,
1769,
3639,
5307,
5576,
... |
RubyString nextLine = internalGets(args); while (!nextLine.isNil()) { getRuntime().yield(nextLine); nextLine = internalGets(args); | for (RubyString line = internalGets(args); !line.isNil(); line = internalGets(args)) { getRuntime().yield(line); | public RubyIO each_line(IRubyObject[] args) { RubyString nextLine = internalGets(args); while (!nextLine.isNil()) { getRuntime().yield(nextLine); nextLine = internalGets(args); } return this; } | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/4c689a812e20d4fcf2da0cdc9b527b00cc1960ef/RubyIO.java/clean/src/org/jruby/RubyIO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4294,
1517,
67,
1369,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
19817,
780,
26638,
273,
2713,
3002,
12,
1968,
1769,
3639,
1323,
16051,
4285,
1670,
18,
291,
12616,
10756,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
4294,
1517,
67,
1369,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
19817,
780,
26638,
273,
2713,
3002,
12,
1968,
1769,
3639,
1323,
16051,
4285,
1670,
18,
291,
12616,
10756,
... |
case TokenStream.TRY : pc += 6; break; | static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScrip... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/3bad6fe1f865acfaff0361b1b58340e6526addd8/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... | |
runtime.getIterStack().pop(); | getRuntime().getIterStack().pop(); | public void callInit(IRubyObject[] args) { runtime.getIterStack().push(runtime.isBlockGiven() ? Iter.ITER_PRE : Iter.ITER_NOT); try { callMethod("initialize", args); } finally { runtime.getIterStack().pop(); } } | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyObject.java/buggy/src/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
745,
2570,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
3099,
18,
588,
2360,
2624,
7675,
6206,
12,
9448,
18,
291,
1768,
6083,
1435,
692,
3016,
18,
11844,
67,
3670,
294,
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,
377,
1071,
918,
745,
2570,
12,
7937,
10340,
921,
8526,
833,
13,
288,
3639,
3099,
18,
588,
2360,
2624,
7675,
6206,
12,
9448,
18,
291,
1768,
6083,
1435,
692,
3016,
18,
11844,
67,
3670,
294,
30... |
this.color = color; | public ParticleMotion(DataSetSeismogram hSeis, DataSetSeismogram vSeis, TimeConfig tc, Color color, String key, boolean horizPlane) { horiz = new SeismogramContainer(this,hSeis); vert = new SeismogramContainer(this, vSeis); ... | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/5e78a72dfe80f6d8e15c615cbf55c0794da383b9/ParticleMotionView.java/clean/src/edu/sc/seis/fissuresUtil/display/ParticleMotionView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
6393,
3711,
29360,
12,
13676,
1761,
6228,
5553,
366,
1761,
291,
16,
14065,
1761,
6228,
5553,
331,
1761,
291,
16,
17311,
2647,
809,
1715,
16,
5563,
2036,
16,
514,
498,
16,
17311,
125... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6393,
3711,
29360,
12,
13676,
1761,
6228,
5553,
366,
1761,
291,
16,
14065,
1761,
6228,
5553,
331,
1761,
291,
16,
17311,
2647,
809,
1715,
16,
5563,
2036,
16,
514,
498,
16,
17311,
125... | |
_ancestorNamespaces.add( c.getXmlnsPrefix() ); _ancestorNamespaces.add( c.getXmlnsUri() ); | String prefix = c.getXmlnsPrefix(); String uri = c.getXmlnsUri(); if (uri.length() > 0 || prefix.length() == 0) { _ancestorNamespaces.add( c.getXmlnsPrefix() ); _ancestorNamespaces.add( c.getXmlnsUri() ); } | private void computeAncestorNamespaces ( Cur c ) { _ancestorNamespaces = new ArrayList(); while ( c.toParentRaw() ) { if (c.toFirstAttr()) { do { if (c.isXmlns()) ... | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/6076dd765ddd92677b95284fc292709905fc79ec/Saver.java/clean/v2/src/newstore2/org/apache/xmlbeans/impl/newstore2/Saver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
3671,
15637,
13180,
261,
7251,
276,
262,
3639,
288,
5411,
389,
28798,
13180,
273,
394,
2407,
5621,
13491,
1323,
261,
276,
18,
869,
3054,
4809,
1435,
262,
5411,
288,
7734,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
3671,
15637,
13180,
261,
7251,
276,
262,
3639,
288,
5411,
389,
28798,
13180,
273,
394,
2407,
5621,
13491,
1323,
261,
276,
18,
869,
3054,
4809,
1435,
262,
5411,
288,
7734,
309,
... |
106, 47, 48, 49, 0, 526, 0, 51, 52, 53, | 106, 47, 48, 49, 0, 593, 0, 51, 52, 53, | private static final short[] yyTable4() { return new short[] { 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0... | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
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,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
11... |
private IPropertySource getPropertySource(Object object) { | protected IPropertySource getPropertySource(Object object) { | private IPropertySource getPropertySource(Object object) { if (sources.containsKey(object)) return (IPropertySource) sources.get(object); IPropertySource result = null; if (propertySourceProvider != null) result = propertySourceProvider.getPropertySource(object); el... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5df4fb8d030d97ee4d1ed8653c8ae1faad254856/PropertySheetEntry.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheetEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
467,
1396,
1830,
3911,
1830,
12,
921,
733,
13,
288,
3639,
309,
261,
10141,
18,
12298,
653,
12,
1612,
3719,
5411,
327,
261,
45,
1396,
1830,
13,
5550,
18,
588,
12,
1612,
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,
377,
4750,
467,
1396,
1830,
3911,
1830,
12,
921,
733,
13,
288,
3639,
309,
261,
10141,
18,
12298,
653,
12,
1612,
3719,
5411,
327,
261,
45,
1396,
1830,
13,
5550,
18,
588,
12,
1612,
1769,
3639,... |
IBond bond = null; IAtom atom = null; | IBond bond; IAtom atom; | private static boolean testSubgraphHeuristics(IAtomContainer ac1, IAtomContainer ac2) { int ac1SingleBondCount = 0; int ac1DoubleBondCount = 0; int ac1TripleBondCount = 0; int ac1AromaticBondCount = 0; int ac2SingleBondCount = 0; int ac2DoubleBondCount = 0; int ac2TripleBondCount = 0; int ac2Aromatic... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/56c201de67d3ab0b41150bdf3c9bae4980107820/UniversalIsomorphismTester.java/clean/src/org/openscience/cdk/isomorphism/UniversalIsomorphismTester.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
1250,
1842,
1676,
4660,
5256,
295,
4287,
12,
45,
3641,
2170,
1721,
21,
16,
13922,
1721,
22,
13,
225,
288,
202,
225,
509,
1721,
21,
5281,
9807,
1380,
273,
374,
31,
202,
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,
3238,
760,
1250,
1842,
1676,
4660,
5256,
295,
4287,
12,
45,
3641,
2170,
1721,
21,
16,
13922,
1721,
22,
13,
225,
288,
202,
225,
509,
1721,
21,
5281,
9807,
1380,
273,
374,
31,
202,
225,
... |
log.debug("FLUSH block at " + localAddress + " for " + timeout); | if (log.isDebugEnabled()) log.debug("FLUSH block at " + localAddress + " for " + timeout); | public void down(Event evt) { switch (evt.getType()) { case Event.MSG: synchronized (blockMutex) { while (isFlushRunning()) { log.debug("FLUSH block at " + localAddress + " for " + timeout); try { blockMutex.wait(timeout); if (isFlushRunning()) { log.warn("Forcing FLUSH unblock ... | 3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/546d91912f1d4c8f7da7955bcfd8bb18d230fa15/FLUSH.java/buggy/src/org/jgroups/protocols/pbcast/FLUSH.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2588,
12,
1133,
6324,
13,
288,
202,
202,
9610,
261,
73,
11734,
18,
588,
559,
10756,
288,
1082,
202,
3593,
2587,
18,
11210,
30,
9506,
202,
22043,
261,
2629,
11433,
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,
225,
202,
482,
918,
2588,
12,
1133,
6324,
13,
288,
202,
202,
9610,
261,
73,
11734,
18,
588,
559,
10756,
288,
1082,
202,
3593,
2587,
18,
11210,
30,
9506,
202,
22043,
261,
2629,
11433,
13,
288... |
Label lblOrigin = new Label( cmpBasic, SWT.NONE ); lblOrigin.setText( Messages.getString( "OrthogonalAxisDataSheetImpl.Lbl.Origin" ) ); | if ( getChart( ).getDimension( ).getValue( ) != ChartDimension.THREE_DIMENSIONAL ) { Label lblOrigin = new Label( cmpBasic, SWT.NONE ); lblOrigin.setText( Messages.getString( "OrthogonalAxisDataSheetImpl.Lbl.Origin" ) ); | public void getComponent( Composite parent ) { cmpContent = new Composite( parent, SWT.NONE ); { GridLayout glContent = new GridLayout( 2, false ); cmpContent.setLayout( glContent ); GridData gd = new GridData( GridData.FILL_BOTH ); cmpContent.setLayoutData( gd ); } Composite cmpBasic = new Composite( cmpC... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/b7743b34e1d4aa062c44ee59a8b7377b982d9960/AbstractAxisSubtask.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/axis/AbstractAxisSubtask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10322,
12,
14728,
982,
262,
202,
95,
202,
202,
9625,
1350,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
6313,
3744,
5118,
1350,
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,
225,
202,
482,
918,
10322,
12,
14728,
982,
262,
202,
95,
202,
202,
9625,
1350,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
95,
1082,
202,
6313,
3744,
5118,
1350,
273,... |
((EARComponentCreationDataModel)getModel()).setProperty(EARComponentCreationDataModel.J2EE_COMPONENT_LIST, getCheckedElementsAsList()); | (getDataModel()).setProperty(J2EE_COMPONENT_LIST, getCheckedElementsAsList()); | public void checkStateChanged(CheckStateChangedEvent event) { if (!ignoreCheckedState) { ((EARComponentCreationDataModel)getModel()).setProperty(EARComponentCreationDataModel.J2EE_COMPONENT_LIST, getCheckedElementsAsList()); } } | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/59b6004d2898a63ab8beb09f095b3e971307dd92/EARComponentCreationSecondPage.java/clean/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/EARComponentCreationSecondPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
13632,
5033,
12,
1564,
1119,
27553,
871,
13,
288,
9506,
202,
430,
16051,
6185,
11454,
1119,
13,
288,
6862,
202,
12443,
9250,
1841,
9906,
26349,
13,
588,
1488,
1435,
2934,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13632,
5033,
12,
1564,
1119,
27553,
871,
13,
288,
9506,
202,
430,
16051,
6185,
11454,
1119,
13,
288,
6862,
202,
12443,
9250,
1841,
9906,
26349,
13,
588,
1488,
1435,
2934,
... |
User user = UserDirectoryService.getCurrentUser(); | public Collection getEntityAuthzGroups(Reference ref) { // double check that it's mine if (APPLICATION_ID != ref.getType()) return null; Collection rv = (Collection) ThreadLocalManager.get("getEntityAuthzGroups@" + ref.getReference()); if(rv != null) { return rv; } // use the resources realm, all container ... | 48934 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48934/398cf5a4dc4585b977cca7e4a4756924251eabbe/BaseContentService.java/clean/content-impl/impl/src/java/org/sakaiproject/content/impl/BaseContentService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2200,
6352,
1730,
94,
3621,
12,
2404,
1278,
13,
202,
95,
202,
202,
759,
1645,
866,
716,
518,
1807,
312,
558,
202,
202,
430,
261,
25039,
67,
734,
480,
1278,
18,
588,
559,
107... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2200,
6352,
1730,
94,
3621,
12,
2404,
1278,
13,
202,
95,
202,
202,
759,
1645,
866,
716,
518,
1807,
312,
558,
202,
202,
430,
261,
25039,
67,
734,
480,
1278,
18,
588,
559,
107... | |
public EvaluatorException(String detail) | EvaluatorException(String detail) | public EvaluatorException(String detail) { super(detail); Context cx = Context.getCurrentContext(); if (cx!= null) { int[] linep = { 0 }; this.sourceName = cx.getSourcePositionFromStack(linep); this.lineNumber = linep[0]; } } | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/b538849b5b431bc21e58fb6e0fc818f0a017ed10/EvaluatorException.java/buggy/js/rhino/src/org/mozilla/javascript/EvaluatorException.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
31956,
503,
12,
780,
7664,
13,
565,
288,
3639,
2240,
12,
8992,
1769,
3639,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
3639,
309,
261,
71,
92,
5,
33,
446,
13,
288,
5411,
509,
85... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
31956,
503,
12,
780,
7664,
13,
565,
288,
3639,
2240,
12,
8992,
1769,
3639,
1772,
9494,
273,
1772,
18,
588,
3935,
1042,
5621,
3639,
309,
261,
71,
92,
5,
33,
446,
13,
288,
5411,
509,
85... |
System.out.println("Document load started..."); | System.out.println(msg); | public void documentLoadingStarted(SVGDocumentLoaderEvent e) { if (debug) { System.out.println("Document load started..."); time = System.currentTimeMillis(); } statusBar.setMainMessage(resources.getString("Message.documentLoad")); stopAction.update(true); sv... | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/29cea1762c4e7b5b49d64ee8b6354ccd45327394/JSVGViewerFrame.java/clean/sources/org/apache/batik/apps/svgbrowser/JSVGViewerFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1668,
10515,
9217,
12,
26531,
2519,
2886,
1133,
425,
13,
288,
3639,
309,
261,
4148,
13,
288,
5411,
2332,
18,
659,
18,
8222,
12,
3576,
1769,
5411,
813,
273,
2332,
18,
2972,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1668,
10515,
9217,
12,
26531,
2519,
2886,
1133,
425,
13,
288,
3639,
309,
261,
4148,
13,
288,
5411,
2332,
18,
659,
18,
8222,
12,
3576,
1769,
5411,
813,
273,
2332,
18,
2972,
28... |
String stitle = null; | public void doRender(GridSphereEvent event) throws PortletLayoutException, IOException { // title bar: configure, edit, help, title, min, max PortletRequest req = event.getPortletRequest(); PortletResponse res = event.getPortletResponse(); // get the appropriate title for this client ... | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/f6e643dc5f274e18098425bbcb7ec47dd15bdb36/PortletTitleBar.java/clean/src/org/gridlab/gridsphere/layout/PortletTitleBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3420,
12,
6313,
22747,
1133,
871,
13,
1216,
21305,
3744,
503,
16,
1860,
288,
3639,
368,
2077,
4653,
30,
5068,
16,
3874,
16,
2809,
16,
2077,
16,
1131,
16,
943,
3639,
2130... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3420,
12,
6313,
22747,
1133,
871,
13,
1216,
21305,
3744,
503,
16,
1860,
288,
3639,
368,
2077,
4653,
30,
5068,
16,
3874,
16,
2809,
16,
2077,
16,
1131,
16,
943,
3639,
2130... | |
expandNumber(part, wordRelation); | expandNumber(part, wordRelation, tokenItem); | private static void expandLargeNumber(String numberString, String order, int numberZeroes, WordRelation wordRelation) { int numberDigits = numberString.length(); // parse out the prefix, e.g., "113" in "113,000" int i = numberDigits - numberZeroes; String part = numberString.substring(0, i); //... | 48071 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48071/460d07833503253a5c476790f8921bd1e3c702a9/NumberExpander.java/clean/java/de/dfki/lt/mary/modules/en/NumberExpander.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4542,
20020,
1854,
12,
780,
1300,
780,
16,
25083,
225,
514,
1353,
16,
25083,
225,
509,
1300,
7170,
281,
16,
25083,
225,
9926,
3963,
2076,
3963,
13,
288,
202,
474,
1300,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4542,
20020,
1854,
12,
780,
1300,
780,
16,
25083,
225,
514,
1353,
16,
25083,
225,
509,
1300,
7170,
281,
16,
25083,
225,
9926,
3963,
2076,
3963,
13,
288,
202,
474,
1300,
... |
else if (toprocess.valuebinding != null && (toprocess.acquireValue() == null || UITypes .isPlaceholder(toprocess.acquireValue()))) { | if (toprocess.valuebinding != null && (toprocess.acquireValue() == null || UITypes.isPlaceholder(toprocess.acquireValue()) || hadcached)) { | public void processComponent(UIComponent toprocesso) { if (toprocesso instanceof UIBound) { UIBound toprocess = (UIBound) toprocesso; // If there is a value in the SVE, return it to the control. SubmittedValueEntry sve = rsvc.byID(toprocess.getFullID()); if (sve != null) { toprocess.upda... | 45809 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45809/019870a39edd86c6670e37b269d61719cf0967bd/ValueFixer.java/buggy/src/uk/org/ponder/rsf/componentprocessor/ValueFixer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1207,
1841,
12,
5370,
1841,
358,
2567,
83,
13,
288,
565,
309,
261,
3669,
16127,
83,
1276,
6484,
3499,
13,
288,
1377,
6484,
3499,
358,
2567,
273,
261,
5370,
3499,
13,
358,
256... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
1841,
12,
5370,
1841,
358,
2567,
83,
13,
288,
565,
309,
261,
3669,
16127,
83,
1276,
6484,
3499,
13,
288,
1377,
6484,
3499,
358,
2567,
273,
261,
5370,
3499,
13,
358,
256... |
} finally { Thread.currentThread().setContextClassLoader (oldCtxClassLoader); | public synchronized void unload() throws ServletException { // Nothing to do if we have never loaded the instance if (!singleThreadModel && (instance == null)) return; unloading = true; // Loaf a while if the current instance is allocated // (possibly more than once if ... | 15905 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15905/276e5acca8d80e7a1e02280bd8376799151e6aa2/StandardWrapper.java/clean/java/org/apache/catalina/core/StandardWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
27060,
1435,
1216,
16517,
288,
3639,
368,
13389,
358,
741,
309,
732,
1240,
5903,
4203,
326,
791,
3639,
309,
16051,
7526,
3830,
1488,
597,
261,
1336,
422,
446,
3719,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
27060,
1435,
1216,
16517,
288,
3639,
368,
13389,
358,
741,
309,
732,
1240,
5903,
4203,
326,
791,
3639,
309,
16051,
7526,
3830,
1488,
597,
261,
1336,
422,
446,
3719,
5411,
... | |
"Smack Debug Window -- Total connections: " + (tabbedPane.getComponentCount() - 1)); | "Smack Debug Window -- Total connections: " + (tabbedPane.getComponentCount() - 1)); | private void showNewDebugger(EnhancedDebugger debugger) { if (frame == null) { createDebug(); } debugger.tabbedPane.setName("Connection_" + tabbedPane.getComponentCount()); tabbedPane.add(debugger.tabbedPane, tabbedPane.getComponentCount() - 1); tabbedPane.setIconAt(tab... | 45655 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45655/78becc3d7305388cff280b2bc0e2842644b0cd9b/EnhancedDebuggerWindow.java/clean/source/org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2405,
1908,
24113,
12,
664,
17221,
24113,
19977,
13,
288,
3639,
309,
261,
3789,
422,
446,
13,
288,
5411,
752,
2829,
5621,
3639,
289,
3639,
19977,
18,
7032,
2992,
8485,
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,
377,
3238,
918,
2405,
1908,
24113,
12,
664,
17221,
24113,
19977,
13,
288,
3639,
309,
261,
3789,
422,
446,
13,
288,
5411,
752,
2829,
5621,
3639,
289,
3639,
19977,
18,
7032,
2992,
8485,
18,
542,... |
setPane(selectedRow); | String row = "-1"; for(int i=0; i<columns.length; i++) { if(columns[i].equals("ID")) { row = (String) sorter.getValueAt(selectedRow, i); } } setPane(row); | public OMETablePanel(Frame frame, Object[][] tableData, String[] columnNames, Object[][] details) { cancelPlugin = false; //Creates the Dialog Box for getting OME login information dialog = new JDialog(frame, "Search Results", true); JPanel mainpane = new JPanel(); mainpane.setMinimumSize(new D... | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/d55fc1b232068a6dd02bc4b6a146b835648e9033/OMETablePanel.java/buggy/loci/ome/ij/OMETablePanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
531,
958,
1388,
5537,
12,
3219,
2623,
16,
1033,
63,
6362,
65,
1014,
751,
16,
514,
8526,
19975,
16,
1377,
1033,
63,
6362,
65,
3189,
13,
288,
202,
1377,
3755,
3773,
273,
629,
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,
282,
1071,
531,
958,
1388,
5537,
12,
3219,
2623,
16,
1033,
63,
6362,
65,
1014,
751,
16,
514,
8526,
19975,
16,
1377,
1033,
63,
6362,
65,
3189,
13,
288,
202,
1377,
3755,
3773,
273,
629,
31,
... |
this.d=d; | public void init(int W, int K, float [][] d){ output = new Channel(Float.TYPE, K*W); this.W=W; this.K=K; } | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/0ee6fa67abbef91333f2d5ee032ba97260cbf573/AdapTest.java/clean/streams/docs/asplos02-sub/asplos-apps/nokia/streamit/AdapTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
333,
18,
72,
33,
72,
31,
333,
18,
72,
33,
72,
31,
333,
18,
72,
33,
72,
31,
333,
18,
72,
33,
72,
31,
293,
440,
933,
76,
291,
18,
72,
33,
72,
31,
918,
2211,
18,
72,
33,
72,
31,
120... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
333,
18,
72,
33,
72,
31,
333,
18,
72,
33,
72,
31,
333,
18,
72,
33,
72,
31,
333,
18,
72,
33,
72,
31,
293,
440,
933,
76,
291,
18,
72,
33,
72,
31,
918,
2211,
18,
72,
33,
72,
31,
120... | |
return isMirrored((int) c); | int value = c / 16; if (value >= mirrored.length) { return false; } int bit = 1 << (c % 16); return (mirrored[value] & bit) != 0; | public static boolean isMirrored(char c) { return isMirrored((int) c); } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/edb3218459cee1a0861f3562352bbf296c7303bd/Character.java/clean/modules/luni/src/main/java/java/lang/Character.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
15707,
481,
23226,
12,
3001,
276,
13,
288,
3639,
509,
460,
273,
276,
342,
2872,
31,
309,
261,
1132,
1545,
312,
481,
23226,
18,
2469,
13,
288,
327,
629,
31,
289,
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,
225,
202,
482,
760,
1250,
15707,
481,
23226,
12,
3001,
276,
13,
288,
3639,
509,
460,
273,
276,
342,
2872,
31,
309,
261,
1132,
1545,
312,
481,
23226,
18,
2469,
13,
288,
327,
629,
31,
289,
5... |
} else if (SortKey.DIRECTION_MEMBER.equals(property)) { | } else if ( SortKey.DIRECTION_MEMBER.equals( property ) ) { | public static Object[] getChoiceSet(String property) { // The dataSet has different access method. if (AttributeConstant.DATASET.equals(property)) { return getDataSets(); } String unitKey = DesignChoiceConstants.CHOICE_UNITS; if (AttributeConstant.BACKGROUND_COLOR.equals(property)) { unitKey = IColorConstants... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/7ca10c49a247dfe395b2e0483af9946ea07fe89b/ChoiceSetFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
8526,
336,
10538,
694,
12,
780,
1272,
13,
288,
202,
202,
759,
1021,
14837,
711,
3775,
2006,
707,
18,
202,
202,
430,
261,
1499,
6902,
18,
4883,
4043,
18,
14963,
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,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
8526,
336,
10538,
694,
12,
780,
1272,
13,
288,
202,
202,
759,
1021,
14837,
711,
3775,
2006,
707,
18,
202,
202,
430,
261,
1499,
6902,
18,
4883,
4043,
18,
14963,
12,
... |
if (namespaceURI == null && namespaceURI.length() == 0) { | if (namespaceURI == null || namespaceURI.length() == 0) { | protected void synchronizeData() { // no need to sync in the future needsSyncData(false); // fluff data DeferredDocumentImpl ownerDocument = (DeferredDocumentImpl) ownerDocument(); int attrQName = ownerDocument.getNodeName(fNodeIndex); StringPool pool = ownerDocument.ge... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/c345f816f303afcedee6c3eddf425beb94365d70/DeferredAttrNSImpl.java/clean/src/org/apache/xerces/dom/DeferredAttrNSImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
16978,
751,
1435,
288,
3639,
368,
1158,
1608,
358,
3792,
316,
326,
3563,
3639,
4260,
4047,
751,
12,
5743,
1769,
3639,
368,
1183,
3809,
501,
3639,
12816,
2519,
2828,
19701,
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,
16978,
751,
1435,
288,
3639,
368,
1158,
1608,
358,
3792,
316,
326,
3563,
3639,
4260,
4047,
751,
12,
5743,
1769,
3639,
368,
1183,
3809,
501,
3639,
12816,
2519,
2828,
19701,
273,
... |
private PsiMethod findMethod(PsiFile file, int offset) { | private static PsiMethod findMethod(PsiFile file, int offset) { | private PsiMethod findMethod(PsiFile file, int offset) { PsiElement element = file.findElementAt(offset); PsiMethod res = PsiTreeUtil.getParentOfType(element, PsiMethod.class); if (res == null) return null; //Not available in method's body PsiCodeBlock body = res.getBody(); if (body == null) return ... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/25e56e0105602d24181c3fe62a607228153642af/AddOverrideAnnotationAction.java/clean/source/com/intellij/codeInsight/intention/impl/AddOverrideAnnotationAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
453,
7722,
1305,
1104,
1305,
12,
52,
7722,
812,
585,
16,
509,
1384,
13,
288,
565,
453,
7722,
1046,
930,
273,
585,
18,
4720,
1046,
861,
12,
3348,
1769,
565,
453,
7722,
1305,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
453,
7722,
1305,
1104,
1305,
12,
52,
7722,
812,
585,
16,
509,
1384,
13,
288,
565,
453,
7722,
1046,
930,
273,
585,
18,
4720,
1046,
861,
12,
3348,
1769,
565,
453,
7722,
1305,
... |
if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; | Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_517()) { jj_scanpos = xsp; break; } } | final private boolean jj_3R_503() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
3361,
23,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
48,
21217,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
3238,
1250,
10684,
67,
23,
54,
67,
3361,
23,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
48,
21217,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,... |
public Frameset(Tag tag){ super(tag); if ( knownTags == null ) { knownTags = new netscape.util.Hashtable(); registerTags(knownTags); } horizontal_ = tag.containsAttribute(COLS); | public Frameset(){ this(true); | public Frameset(Tag tag){ super(tag); if ( knownTags == null ) { knownTags = new netscape.util.Hashtable(); registerTags(knownTags); } horizontal_ = tag.containsAttribute(COLS); } | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/cc323a7cc819ef90c1be0849f6c8df50e43667e7/Frameset.java/buggy/modules/edtplug/classes/netscape/plugin/composer/frameEdit/Frameset.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13363,
753,
278,
12,
1805,
1047,
15329,
3639,
2240,
12,
2692,
1769,
3639,
309,
261,
4846,
3453,
422,
446,
262,
288,
5411,
4846,
3453,
273,
394,
2901,
12476,
18,
1367,
18,
5582,
1454... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13363,
753,
278,
12,
1805,
1047,
15329,
3639,
2240,
12,
2692,
1769,
3639,
309,
261,
4846,
3453,
422,
446,
262,
288,
5411,
4846,
3453,
273,
394,
2901,
12476,
18,
1367,
18,
5582,
1454... |
.getLastPathComponent()).getUserObject(); | .getLastPathComponent()).getUserObject(); | public void drop(java.awt.dnd.DropTargetDropEvent dropTargetDropEvent) { _cat.debug("dropping ... "); try { Transferable tr = dropTargetDropEvent.getTransferable(); //flavor not supported, reject drop if (!tr.isDataFl... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/2bca90cd19361bbc94b4bf9813d1e3efd96e52fe/DnDNavigatorTree.java/buggy/src_new/org/argouml/ui/DnDNavigatorTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3640,
12,
6290,
18,
2219,
88,
18,
72,
4880,
18,
7544,
2326,
7544,
1133,
3640,
2326,
7544,
1133,
13,
288,
13491,
389,
2574,
18,
4148,
2932,
7285,
1382,
1372,
315,
1769,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3640,
12,
6290,
18,
2219,
88,
18,
72,
4880,
18,
7544,
2326,
7544,
1133,
3640,
2326,
7544,
1133,
13,
288,
13491,
389,
2574,
18,
4148,
2932,
7285,
1382,
1372,
315,
1769,
5411,
... |
model1.getCursor().current().getState()); | model1.currentToken().getState()); model1.move(1); | public void testQuoteBreakComment2() { model1.insertSlash(); model1.insertStar(); model1.insertStar(); model1.insertSlash(); model1.getCursor().prev(); assertEquals("#0.0", "/*", model1.getCursor().prevItem().getType()); assertEquals("#0.1", "*/", model1.getCursor().current().getType()); model1.getCur... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/28c4be6b04d5867405916840b451c47e4acad060/ReducedModelTest.java/buggy/drjava/src/edu/rice/cs/drjava/model/definitions/reducedmodel/ReducedModelTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
10257,
7634,
4469,
22,
1435,
202,
202,
95,
1082,
202,
2284,
21,
18,
6387,
11033,
5621,
1082,
202,
2284,
21,
18,
6387,
18379,
5621,
1082,
202,
2284,
21,
18,
6387,
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,
482,
918,
1842,
10257,
7634,
4469,
22,
1435,
202,
202,
95,
1082,
202,
2284,
21,
18,
6387,
11033,
5621,
1082,
202,
2284,
21,
18,
6387,
18379,
5621,
1082,
202,
2284,
21,
18,
6387,
18... |
System.out.println("Finished load at: " + (new Date())); | LOGGER.warn("Finished load at: " + (new Date())); | public static void main(String[] args) { System.out.println("Starting load at: " + (new Date())); try { new MondrianFoodMartLoader(args).load(); } catch (Throwable e) { e.printStackTrace(); } System.out.println("Finished load at: " + (new Date())); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/fb2c3676710865fd954e58e04ef53f8b10bd8d52/MondrianFoodMartLoader.java/clean/testsrc/main/mondrian/test/loader/MondrianFoodMartLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
11715,
1262,
622,
30,
315,
397,
261,
2704,
2167,
1435,
10019,
3639,
775,
288,
5411,
394,
490,
143... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
11715,
1262,
622,
30,
315,
397,
261,
2704,
2167,
1435,
10019,
3639,
775,
288,
5411,
394,
490,
143... |
this.in = new LineBuffer(in, lineno); | public TokenStream(Reader in, Scriptable scope, String sourceName, int lineno) { this.in = new LineBuffer(in, lineno); this.scope = scope; this.pushbackToken = EOF; this.sourceName = sourceName; flags = 0; } | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/5739d875ab983543fdf729f70a15773fdbe9b1bd/TokenStream.java/clean/src/org/mozilla/javascript/TokenStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3155,
1228,
12,
2514,
316,
16,
22780,
2146,
16,
15604,
514,
28337,
16,
509,
7586,
13,
565,
288,
9079,
333,
18,
4887,
273,
2146,
31,
3639,
333,
18,
6206,
823,
1345,
273,
6431,
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,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3155,
1228,
12,
2514,
316,
16,
22780,
2146,
16,
15604,
514,
28337,
16,
509,
7586,
13,
565,
288,
9079,
333,
18,
4887,
273,
2146,
31,
3639,
333,
18,
6206,
823,
1345,
273,
6431,
31,
... | |
if (operand == null) { return; } | public void visitClassObjectAccessExpression(PsiClassObjectAccessExpression exp) { super.visitClassObjectAccessExpression(exp); final PsiTypeElement operand = exp.getOperand(); if (operand == null) { return; } final PsiType classType = operand.getType(); addDepen... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/10dfc0821a579a6a0ff949a64d378572f57a4625/CouplingVisitor.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/classmetrics/CouplingVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
797,
921,
1862,
2300,
12,
52,
7722,
797,
921,
1862,
2300,
1329,
13,
288,
3639,
2240,
18,
11658,
797,
921,
1862,
2300,
12,
2749,
1769,
3639,
727,
453,
7722,
559,
1046,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
797,
921,
1862,
2300,
12,
52,
7722,
797,
921,
1862,
2300,
1329,
13,
288,
3639,
2240,
18,
11658,
797,
921,
1862,
2300,
12,
2749,
1769,
3639,
727,
453,
7722,
559,
1046,
9... | |
try { cvs.validate(); fail("CVS should throw exceptions when required fields are not set."); } catch (CruiseControlException e) { | OSEnvironment env = new OSEnvironment(); if (env.getVariable("CVSROOT") == null) { try { cvs.validate(); fail("CVS should throw exceptions when required fields are not set."); } catch (CruiseControlException e) { } | public void testValidate() throws IOException { CVS cvs = new CVS(); try { cvs.validate(); fail("CVS should throw exceptions when required fields are not set."); } catch (CruiseControlException e) { } cvs.setCvsRoot("cvsroot"); try { cvs.val... | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/9aa429e2a608277c2de7f70270bdc1c584a75dc6/CVSTest.java/buggy/main/test/net/sourceforge/cruisecontrol/sourcecontrols/CVSTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4270,
1435,
1216,
1860,
288,
3639,
385,
14640,
276,
6904,
273,
394,
385,
14640,
5621,
3639,
775,
288,
5411,
276,
6904,
18,
5662,
5621,
5411,
2321,
2932,
39,
14640,
1410,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4270,
1435,
1216,
1860,
288,
3639,
385,
14640,
276,
6904,
273,
394,
385,
14640,
5621,
3639,
775,
288,
5411,
276,
6904,
18,
5662,
5621,
5411,
2321,
2932,
39,
14640,
1410,
... |
selection(tmp, (e.getModifiers() & e.CTRL_MASK) == e.CTRL_MASK | selection(tmp, (e.getModifiers() & MouseEvent.CTRL_MASK) == MouseEvent.CTRL_MASK | public NodePanel() { addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { if (!m_stopped) { return; } if ((e.getModifiers() & e.BUTTON1_MASK) == e.BUTTON1_MASK && !e.isAltDown()) { Graphics g = NodePanel.this.getGraphics(); int x = e.get... | 6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/cd962793826db37348322a62c5c01adc9613fe7a/MultilayerPerceptron.java/buggy/classifiers/functions/MultilayerPerceptron.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
5537,
1435,
288,
5411,
527,
9186,
2223,
12,
2704,
17013,
4216,
1435,
288,
202,
21114,
225,
1071,
918,
7644,
24624,
12,
9186,
1133,
425,
13,
288,
202,
377,
202,
565,
309,
16051... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2029,
5537,
1435,
288,
5411,
527,
9186,
2223,
12,
2704,
17013,
4216,
1435,
288,
202,
21114,
225,
1071,
918,
7644,
24624,
12,
9186,
1133,
425,
13,
288,
202,
377,
202,
565,
309,
16051... |
sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; | sDbl[stackTop] = idata.itsDoubleTable[indexReg]; | static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScrip... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/c3a64d2b269a8284dd3145271f1e6f8250800383/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... |
alternate = alternateStr.substring(1, alternateStr.length()-1).equals("yes"); | alternate = alternateStr.substring(1, alternateStr.length() - 1).equals("yes"); | public void processingInstruction (String target, String data) throws SAXException { if(target.equals("xml-stylesheet")) { String href = null; // CDATA #REQUIRED String type = null; // CDATA #REQUIRED String title = null; // CDATA #IMPLIED String media = null; // CDATA #IMPLIED Stri... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/6fbfc5b396871b2ddb731ea98fccffe88307b5d3/StylesheetPIHandler.java/clean/src/org/apache/xalan/processor/StylesheetPIHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4929,
11983,
261,
780,
1018,
16,
514,
501,
13,
565,
1216,
14366,
225,
288,
565,
309,
12,
3299,
18,
14963,
2932,
2902,
17,
19403,
6,
3719,
565,
288,
1377,
514,
3897,
273,
446,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4929,
11983,
261,
780,
1018,
16,
514,
501,
13,
565,
1216,
14366,
225,
288,
565,
309,
12,
3299,
18,
14963,
2932,
2902,
17,
19403,
6,
3719,
565,
288,
1377,
514,
3897,
273,
446,... |
if( (expression.getExpressionKind() == IASTExpression.Kind.ID_EXPRESSION) || (expression.getExpressionKind() == IASTExpression.Kind.POSTFIX_TYPEID_TYPEID) ){ | if( expression.getExpressionKind() == IASTExpression.Kind.ID_EXPRESSION ) { | protected List getExpressionResultType(IASTExpression expression, ISymbol symbol){ List result = new ArrayList(); TypeInfo info = new TypeInfo(); // types that resolve to void if ((expression.getExpressionKind() == IASTExpression.Kind.PRIMARY_EMPTY) || (expression.getExpressionKind() == IASTExpression.Kind.THRO... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/02c194aaf46b86d6f7a904d6f531e535d47002ba/CompleteParseASTFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/CompleteParseASTFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
987,
16183,
1253,
559,
12,
45,
9053,
2300,
2652,
16,
4437,
3284,
3273,
15329,
202,
202,
682,
563,
273,
394,
2407,
5621,
202,
202,
17305,
1123,
273,
394,
1412,
966,
5621,
9506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16183,
1253,
559,
12,
45,
9053,
2300,
2652,
16,
4437,
3284,
3273,
15329,
202,
202,
682,
563,
273,
394,
2407,
5621,
202,
202,
17305,
1123,
273,
394,
1412,
966,
5621,
9506,
... |
private double js_cos(double x) { return Math.cos(x); } | private double js_cos(double x) { if (x == Double.POSITIVE_INFINITY || x == Double.NEGATIVE_INFINITY) return Double.NaN; return Math.cos(x); } | private double js_cos(double x) { return Math.cos(x); } | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/7f850f6162d49fce5f2a418eb4b32ba1cf9d58bf/NativeMath.java/clean/src/org/mozilla/javascript/NativeMath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1645,
3828,
67,
14445,
12,
9056,
619,
13,
288,
327,
2361,
18,
14445,
12,
92,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
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,
3238,
1645,
3828,
67,
14445,
12,
9056,
619,
13,
288,
327,
2361,
18,
14445,
12,
92,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if (e == -1) { if (decimal == chars.length - 2 && chars[chars.length-1] == '0') { return new String(chars, 0, chars.length - 2); | if (base != 10) { /* Monkey see, Rhino do */ if (d < 0) return "-" + Long.toString( ((long)-d) & 0xFFFFFFFFL, base); else return Long.toString( ((long)d) & 0xFFFFFFFFL, base); } else { final int MIN_NO_EXP = -6; final int MAX_NO_EXP = 20; String s = Double.toString(d); char[] chars = s.toCharArray(); int decim... | public static String numberToString(double d) { if (d != d) return "NaN"; if (d == Double.POSITIVE_INFINITY) return "Infinity"; if (d == Double.NEGATIVE_INFINITY) return "-Infinity"; if (d == 0.0) return "0"; // Okay, this is gross. But ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/4bf675b98aeb91f7b1aa93aa6af7bc7944745bed/ScriptRuntime.java/clean/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1300,
5808,
12,
9056,
302,
13,
288,
3639,
309,
261,
72,
480,
302,
13,
5411,
327,
315,
21172,
14432,
3639,
309,
261,
72,
422,
3698,
18,
7057,
16325,
67,
17716,
13,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1300,
5808,
12,
9056,
302,
13,
288,
3639,
309,
261,
72,
480,
302,
13,
5411,
327,
315,
21172,
14432,
3639,
309,
261,
72,
422,
3698,
18,
7057,
16325,
67,
17716,
13,
5411,
... |
if (ht.containsKey(beanPropertyName)) { Object propertyMethod = ht.get(beanPropertyName); if (propertyMethod instanceof Field) continue; Method[] methods = ((NativeJavaMethod) propertyMethod).getMethods(); boolean exclude = false; for (int i = 0; i < methods.length; ++i) if (Modifier.isStatic(methods[i].getModifier... | if (ht.containsKey(beanPropertyName)) continue; | void makeBeanProperties(Scriptable scope, boolean isStatic) { Hashtable ht = isStatic ? staticMembers : members; Hashtable toAdd = new Hashtable(); // Now, For each member, make "bean" properties. for (Enumeration e = ht.keys(); e.hasMoreElements(); ) { // ... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/564f1dca5bf75c1332937707e92405bef96946c9/JavaMembers.java/buggy/js/rhino/src/org/mozilla/javascript/JavaMembers.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1221,
3381,
2297,
12,
3651,
429,
2146,
16,
1250,
16116,
13,
288,
3639,
18559,
14049,
273,
16116,
692,
760,
6918,
294,
4833,
31,
3639,
18559,
25607,
273,
394,
18559,
5621,
7734,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1221,
3381,
2297,
12,
3651,
429,
2146,
16,
1250,
16116,
13,
288,
3639,
18559,
14049,
273,
16116,
692,
760,
6918,
294,
4833,
31,
3639,
18559,
25607,
273,
394,
18559,
5621,
7734,
368,
... |
System.out.print("static const int VM_ThreadIOConstants_FD_INVALID_BIT = " + | p("static const int VM_ThreadIOConstants_FD_INVALID_BIT = " + | static void emitVirtualMachineDeclarations (int bootImageAddress) { // load address for the boot image // System.out.print("static const int bootImageAddress = 0x" + Integer.toHexString(bootImageAddress) + ";\n"); // values in VM_Constants, from VM_Configuration // //-#... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/925454167bc483f10cf328dfcd6f344b2ba4704d/GenerateInterfaceDeclarations.java/clean/rvm/src/tools/bootImageRunner/GenerateInterfaceDeclarations.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
3626,
27454,
21408,
261,
474,
4835,
2040,
1887,
13,
288,
565,
368,
1262,
1758,
364,
326,
4835,
1316,
565,
368,
565,
2332,
18,
659,
18,
1188,
2932,
3845,
1866,
509,
4835,
2040,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
3626,
27454,
21408,
261,
474,
4835,
2040,
1887,
13,
288,
565,
368,
1262,
1758,
364,
326,
4835,
1316,
565,
368,
565,
2332,
18,
659,
18,
1188,
2932,
3845,
1866,
509,
4835,
2040,
... |
else return m_distribution.prob(classIndex); | } else { double [] weights = weights(instance); if (weights == null) { return m_distribution.prob(classIndex); } else { double prob = 0; for (int i = 0; i < weights.length; i++) { prob += weights[i] * m_distribution.prob(classIndex, i); } return prob; } } | public double classProb(int classIndex,Instance instance) throws Exception { int theSubset = whichSubset(instance); if (theSubset > -1) return m_distribution.prob(classIndex,theSubset); else return m_distribution.prob(classIndex); } | 4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/58592303c619abe08416a56f9064f48eb63523ff/ClassifierSplitModel.java/clean/weka/classifiers/trees/j48/ClassifierSplitModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1645,
667,
9152,
12,
474,
667,
1016,
16,
1442,
791,
13,
3639,
1216,
1185,
288,
3639,
509,
326,
20315,
273,
1492,
20315,
12,
1336,
1769,
565,
309,
261,
5787,
20315,
405,
300,
21,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1645,
667,
9152,
12,
474,
667,
1016,
16,
1442,
791,
13,
3639,
1216,
1185,
288,
3639,
509,
326,
20315,
273,
1492,
20315,
12,
1336,
1769,
565,
309,
261,
5787,
20315,
405,
300,
21,
1... |
_sName += "." + (new String(getToken(0).image)); | _sName += "." + getToken(0).image; | final private void Name() throws ParseException { Identifier(); _sName = new String(getToken(0).image); label_25: while (true) { if (jj_2_15(2)) { } else { break label_25; } jj_consume_token(DOT); Identifier(); _sName += "." + (new String(getToken(0).image)); } } | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/56b5525edc49962bc040c60be12062884232fcc7/JavaParser.java/buggy/cobertura/src/de/kclee/clemens/javancss/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6385,
3238,
918,
1770,
1435,
1216,
10616,
202,
95,
202,
202,
3004,
5621,
202,
202,
67,
87,
461,
273,
394,
514,
12,
588,
1345,
12,
20,
2934,
2730,
1769,
202,
202,
1925,
67,
2947,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6385,
3238,
918,
1770,
1435,
1216,
10616,
202,
95,
202,
202,
3004,
5621,
202,
202,
67,
87,
461,
273,
394,
514,
12,
588,
1345,
12,
20,
2934,
2730,
1769,
202,
202,
1925,
67,
2947,
... |
} | public void initializeStorage() throws IOException { File bundleStore; // only touch the file system if reset is specified // we create the area on demand later if needed if (reset && (bundleStore = getBundleStoreRootDir()).exists()) { if (!canWrite() || !rm(bundleStore)) { if (Debug.DEBUG && Debug.DEBUG_GENE... | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/004445721bcd135458e3e53100cbb701369726e9/AbstractFrameworkAdaptor.java/buggy/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/adaptor/core/AbstractFrameworkAdaptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4046,
3245,
1435,
1216,
1860,
288,
202,
202,
812,
3440,
2257,
31,
202,
202,
759,
1338,
6920,
326,
585,
2619,
309,
2715,
353,
1269,
202,
202,
759,
732,
752,
326,
5091,
603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
3245,
1435,
1216,
1860,
288,
202,
202,
812,
3440,
2257,
31,
202,
202,
759,
1338,
6920,
326,
585,
2619,
309,
2715,
353,
1269,
202,
202,
759,
732,
752,
326,
5091,
603... | |
Transaction trans = transactionCache.get(id); if(trans == null) { trans = new Transaction(id); transactionCache.put(id, trans); } return trans; | trans = new Transaction(id); transactionCache.put(id, trans); | static Transaction getTransactionForID(final Integer id) { synchronized(transactionCache) { Transaction trans = transactionCache.get(id); if(trans == null) { trans = new Transaction(id); transactionCache.put(id, trans); } return trans; } } | 11042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11042/42f15ce06e127523723133285c793cb25214f02b/Transaction.java/buggy/trunk/JPAS/src/org/jpas/model/Transaction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
5947,
15674,
1290,
734,
12,
6385,
2144,
612,
13,
565,
288,
3639,
3852,
12,
7958,
1649,
13,
3639,
288,
202,
377,
202,
3342,
906,
273,
2492,
1649,
18,
588,
12,
350,
1769,
202,
377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
5947,
15674,
1290,
734,
12,
6385,
2144,
612,
13,
565,
288,
3639,
3852,
12,
7958,
1649,
13,
3639,
288,
202,
377,
202,
3342,
906,
273,
2492,
1649,
18,
588,
12,
350,
1769,
202,
377,
... |
if (simpleDeclaration.getDeclSpecifier().isTypedef()){ | if (simpleDeclaration.getDeclSpecifier().isTypedef()) { | private void createElement(SimpleDeclaration simpleDeclaration, Declarator declarator){ // typedef if (simpleDeclaration.getDeclSpecifier().isTypedef()){ createTypeDef(declarator, simpleDeclaration); } else { ParameterDeclarationClause pdc = declarator.getParms(); if (pdc == null){ createVariableSpecificat... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c8cfea5fba01ebac580118315148d60620c88127/ComparatorModelBuilder.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/ComparatorModelBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
6310,
12,
5784,
6094,
4143,
6094,
16,
16110,
5880,
3496,
5880,
15329,
202,
202,
759,
618,
536,
202,
202,
430,
261,
9647,
6094,
18,
588,
3456,
21416,
7675,
291,
559,
536,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6310,
12,
5784,
6094,
4143,
6094,
16,
16110,
5880,
3496,
5880,
15329,
202,
202,
759,
618,
536,
202,
202,
430,
261,
9647,
6094,
18,
588,
3456,
21416,
7675,
291,
559,
536,
... |
rule.addProperty("minimum", "3"); runTests(new TestDescriptor[]{ new TestDescriptor(TEST6, "threshold test", 2, rule), }); } | runTest(tests[5]); } | public void testThreshold() { rule.addProperty("minimum", "3"); runTests(new TestDescriptor[]{ new TestDescriptor(TEST6, "threshold test", 2, rule), }); } | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/4e45de9075eeb015245ff09f8f8c58cf0f98bbf3/LongVariableRuleTest.java/clean/pmd/regress/test/net/sourceforge/pmd/rules/LongVariableRuleTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
7614,
1435,
288,
3639,
1720,
18,
1289,
1396,
2932,
15903,
3113,
315,
23,
8863,
3639,
1086,
14650,
12,
2704,
7766,
3187,
63,
7073,
5411,
394,
7766,
3187,
12,
16961,
26,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
7614,
1435,
288,
3639,
1720,
18,
1289,
1396,
2932,
15903,
3113,
315,
23,
8863,
3639,
1086,
14650,
12,
2704,
7766,
3187,
63,
7073,
5411,
394,
7766,
3187,
12,
16961,
26,
16... |
long lowest_ack_seq = getLowestSeqAck(); if ( lowest_ack_seq < 0 ) { return; } | long lowest_ack_seq=getLowestSeqAck(); if(lowest_ack_seq < 0) { return; } | private synchronized void truncateHistory() { long lowest_ack_seq = getLowestSeqAck(); if ( lowest_ack_seq < 0 ) { // either no members, or someone has not received any messages yet // either way, do nothing return; } // don't want message_history being altered during this operation synchronized( mess... | 49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
10310,
5623,
1435,
288,
202,
5748,
11981,
67,
484,
67,
5436,
273,
9014,
543,
395,
6926,
11931,
5621,
202,
430,
261,
11981,
67,
484,
67,
5436,
411,
374,
262,
288,
202,
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,
3852,
918,
10310,
5623,
1435,
288,
202,
5748,
11981,
67,
484,
67,
5436,
273,
9014,
543,
395,
6926,
11931,
5621,
202,
430,
261,
11981,
67,
484,
67,
5436,
411,
374,
262,
288,
202,
5... |
CTFPlayer[] players = fTeam.getPlayers(); | CTFPlayer[] players = ctfTeam.getPlayers(); | protected void registerKill( CTFPlayer victim ) { if ( victim.fTeam == fTeam ) { // only add points to attacker when victim is on other team. return; } // did the victim carry the flag? if ( victim.isCarrying("flag")) { Object[] args = {new Integer(CTF_FRAG_CARRIER_BONUS)}; fEntity.centerprint(fResourceG... | 1990 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1990/578d435afa17c19ab50dae1f666d2a43a2c4c175/CTFPlayer.java/buggy/classes/q2java/ctf/CTFPlayer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1744,
19045,
12,
385,
17963,
12148,
28873,
381,
262,
202,
95,
202,
202,
430,
261,
28873,
381,
18,
74,
8689,
422,
284,
8689,
262,
202,
202,
95,
1082,
202,
759,
1338,
527,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1744,
19045,
12,
385,
17963,
12148,
28873,
381,
262,
202,
95,
202,
202,
430,
261,
28873,
381,
18,
74,
8689,
422,
284,
8689,
262,
202,
202,
95,
1082,
202,
759,
1338,
527,... |
} else if ((thisSegmentMarker & 0xFF) == (SEGMENT_MARKER_EOI & 0xFF)) { | } else if ((thisSegmentMarker & 0xFF) == (MARKER_EOI & 0xFF)) { | public byte[] readSegment(int segmentMarker) throws JpegProcessingException { InputStream fileStream = null; int offset = 0; try { fileStream = new BufferedInputStream(new FileInputStream(_file)); // first two bytes should be jpeg magic number if (!isValidJpe... | 14183 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14183/b9e1bf553d0044703426bd987566c8ad58557b28/JpegSegmentReader.java/buggy/src/com/drew/imaging/jpeg/JpegSegmentReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
855,
4131,
12,
474,
3267,
7078,
13,
1216,
804,
9001,
23684,
565,
288,
3639,
5037,
585,
1228,
273,
446,
31,
3639,
509,
1384,
273,
374,
31,
3639,
775,
288,
5411,
585,
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,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
855,
4131,
12,
474,
3267,
7078,
13,
1216,
804,
9001,
23684,
565,
288,
3639,
5037,
585,
1228,
273,
446,
31,
3639,
509,
1384,
273,
374,
31,
3639,
775,
288,
5411,
585,
12... |
if (s.indexOf("MAC")>=0) { | if (s.indexOf("MAC") >= 0) { | public static final String getMACAddress() { String ip = getIPAddress(); String mac = "none"; String os = getOS(); String s = ""; //System.out.println("os = "+os+", ip="+ip); if (os.equalsIgnoreCase("Windows NT") || os.equalsIgnoreCase("Windows 2000") || os.equalsIgnoreCase("Windows XP") || os... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/a04c5a2e26bf2c06481b36b24b45d2666de5d7ce/Const.java/buggy/src/be/ibridge/kettle/core/Const.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
514,
2108,
2226,
1887,
1435,
202,
95,
202,
202,
780,
2359,
273,
336,
22507,
5621,
202,
202,
780,
5318,
273,
315,
6102,
14432,
202,
202,
780,
1140,
273,
336,
4618,
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,
225,
202,
482,
760,
727,
514,
2108,
2226,
1887,
1435,
202,
95,
202,
202,
780,
2359,
273,
336,
22507,
5621,
202,
202,
780,
5318,
273,
315,
6102,
14432,
202,
202,
780,
1140,
273,
336,
4618,
56... |
DataSetHandle dsHandle = ( (JointDataSetHandle) dataSetHandle ).getModuleHandle( ) .findDataSet( dataSets.get( i ).toString( ) ); if ( dsHandle != null && dsHandle instanceof ScriptDataSetHandle ) { return true; } | updateModelColumn( dataSetHandle, uniqueColumnName, i + 1 ); if ( hasResultSetHint != true ) hasResultSetHint = true; | private boolean needsUseResultHint( DataSetHandle dataSetHandle ) { if ( dataSetHandle instanceof ScriptDataSetHandle ) return true; else if ( dataSetHandle instanceof JointDataSetHandle ) { List dataSets = ( (JointDataSetHandle) dataSetHandle ).getDataSetNames( ); for ( int i = 0; i < dataSets.size( ); i++ )... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/da030e2e1c54b44b8969eb66bf1201b7ea175d83/DataSetMetaDataHelper.java/clean/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
4260,
3727,
1253,
7002,
12,
14065,
3259,
14837,
3259,
262,
202,
95,
202,
202,
430,
261,
14837,
3259,
1276,
7739,
13676,
3259,
262,
1082,
202,
2463,
638,
31,
202,
202,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
4260,
3727,
1253,
7002,
12,
14065,
3259,
14837,
3259,
262,
202,
95,
202,
202,
430,
261,
14837,
3259,
1276,
7739,
13676,
3259,
262,
1082,
202,
2463,
638,
31,
202,
202,
121... |
{ mT34(); if (failed) return ; | { mT37(); if (failed) return ; | public void mTokens() throws RecognitionException { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1:10: ( T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 ... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/b99d41f54ef70aa0e75d0c3121bc025256c35f4f/DRLLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
463,
31027,
14915,
1695,
10649,
8464,
1695,
10649,
8464,
7482,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
... |
if (rootFolder == null) { rootFolder = (String) this.getAttributes().get("rootFolder"); } | public void initializeContent() { Boolean useUserHomeFolder = (Boolean) this.getAttributes().get("useUserHomeFolder"); if (useUserHomeFolder != null && useUserHomeFolder.booleanValue()) { try { rootFolder = super.getIWSlideSession().getUserHomeFolder(); } catch (RemoteException e) { e.printStackTrace();... | 10078 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10078/6d5a7057367994ed7445f723c11b62bc2358503b/ContentViewer.java/buggy/src/java/com/idega/content/presentation/ContentViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4046,
1350,
1435,
288,
1082,
202,
5507,
999,
1299,
8684,
3899,
273,
261,
5507,
13,
333,
18,
588,
2498,
7675,
588,
2932,
1202,
1299,
8684,
3899,
8863,
202,
202,
430,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
1350,
1435,
288,
1082,
202,
5507,
999,
1299,
8684,
3899,
273,
261,
5507,
13,
333,
18,
588,
2498,
7675,
588,
2932,
1202,
1299,
8684,
3899,
8863,
202,
202,
430,
261,
... | |
fDeleteLine= new RetargetTextEditorAction(EditorMessages.getResourceBundle(), "DeleteLine."); fDeleteLineToBeginning= new RetargetTextEditorAction(EditorMessages.getResourceBundle(), "DeleteLineToBeginning."); fDeleteLineToEnd= new RetargetTextEditorAction(EditorMessages.getResourceBundle(), "DeleteLineToEnd."); fSetMa... | fDeleteLine= new RetargetTextEditorAction(EditorMessages.getResourceBundle(), "Editor.DeleteLine."); fDeleteLineToBeginning= new RetargetTextEditorAction(EditorMessages.getResourceBundle(), "Editor.DeleteLineToBeginning."); fDeleteLineToEnd= new RetargetTextEditorAction(EditorMessages.getResourceBundle(), "Editor.Delet... | public BasicTextEditorActionContributor() { fDeleteLine= new RetargetTextEditorAction(EditorMessages.getResourceBundle(), "DeleteLine."); //$NON-NLS-1$ fDeleteLineToBeginning= new RetargetTextEditorAction(EditorMessages.getResourceBundle(), "DeleteLineToBeginning."); //$NON-NLS-1$ fDeleteLineToEnd= new RetargetTe... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/f0522025010fe8f35890c00d6bff29c938556f4e/BasicTextEditorActionContributor.java/clean/bundles/org.eclipse.ui/Eclipse UI Text Editor/org/eclipse/ui/texteditor/BasicTextEditorActionContributor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7651,
1528,
6946,
1803,
442,
19293,
1435,
288,
9506,
202,
74,
2613,
1670,
33,
394,
17100,
826,
1528,
6946,
1803,
12,
6946,
5058,
18,
588,
18731,
9334,
315,
2613,
1670,
1199,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7651,
1528,
6946,
1803,
442,
19293,
1435,
288,
9506,
202,
74,
2613,
1670,
33,
394,
17100,
826,
1528,
6946,
1803,
12,
6946,
5058,
18,
588,
18731,
9334,
315,
2613,
1670,
1199,
176... |
if ( (tunnelTestTime10m != null) && (tunnelTestTime60m != null) ) { | if ( (tunnelTestTime10m != null) && (tunnelTestTime60m != null) && (tunnelTestTime10m.getLastEventCount() > 0) ) { | public boolean acceptTunnelRequest(TunnelCreateMessage msg) { long lag = _context.jobQueue().getMaxLag(); RateStat rs = _context.statManager().getRate("router.throttleNetworkCause"); Rate r = null; if (rs != null) r = rs.getRate(10*60*1000); long throttleEvents = (r !=... | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/d91ac7ef212d0138fe6d03398ad03645701ac680/RouterThrottleImpl.java/clean/router/java/src/net/i2p/router/RouterThrottleImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2791,
20329,
691,
12,
20329,
1684,
1079,
1234,
13,
288,
540,
1525,
17241,
273,
389,
2472,
18,
4688,
3183,
7675,
588,
2747,
26093,
5621,
3639,
13025,
5000,
3597,
273,
389,
2472,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
2791,
20329,
691,
12,
20329,
1684,
1079,
1234,
13,
288,
540,
1525,
17241,
273,
389,
2472,
18,
4688,
3183,
7675,
588,
2747,
26093,
5621,
3639,
13025,
5000,
3597,
273,
389,
2472,
... |
registerGlobalAction(backAction); | register(backAction); | private void makeActions(IWorkbenchConfigurer workbenchConfigurer, IActionBarConfigurer actionBarConfigurer) { // The actions in jface do not have menu vs. enable, vs. disable vs. color // There are actions in here being passed the workbench - problem setCurrentActionBarConfigurer(a... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/02a63c83a96f095b44f6c4a9bd0de64e8b842628/WorkbenchActionBuilder.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1221,
6100,
12,
45,
2421,
22144,
809,
11278,
1440,
22144,
809,
11278,
16,
5411,
467,
1803,
5190,
809,
11278,
1301,
5190,
809,
11278,
13,
288,
3639,
368,
1021,
4209,
316,
525,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1221,
6100,
12,
45,
2421,
22144,
809,
11278,
1440,
22144,
809,
11278,
16,
5411,
467,
1803,
5190,
809,
11278,
1301,
5190,
809,
11278,
13,
288,
3639,
368,
1021,
4209,
316,
525,
8... |
newStruct.defineSingletonMethod("new", callbackFactory.getOptSingletonMethod("newStruct")); | newStruct.defineSingletonMethod("new", callbackFactory.getOptSingletonMethod("newStruct")); | public static RubyClass newInstance(IRubyObject recv, IRubyObject[] args) { String name = null; if (args.length > 0 && args[0] instanceof RubyString) { name = args[0].toString(); } RubyArray member = recv.getRuntime().newArray(); for (int i = name == null ? 0 : 1; i < a... | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/1278c5bb3507a052d150d814f15453542ae41aed/RubyStruct.java/buggy/src/org/jruby/RubyStruct.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
5984,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
514,
508,
273,
446,
31,
3639,
309,
261,
1968,
18,
2469,
405,
374,
597,
833,
63... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
797,
5984,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
514,
508,
273,
446,
31,
3639,
309,
261,
1968,
18,
2469,
405,
374,
597,
833,
63... |
Object[] contentAttrs = fAttrChecker.checkAttributes(content, false); | Object[] contentAttrs = fAttrChecker.checkAttributes(content, false, schemaDoc.fNamespaceSupport); | private int traverseSimpleTypeDecl(Element simpleTypeDecl, Object[] attrValues) { String nameProperty = (String)attrValues[XSAttributeChecker.ATTIDX_NAME]; String qualifiedName = nameProperty; //--------------------------------------------------- // set qualified name //---------... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/0f2aae2c22c5dc0957f0413b6320b4c5497482e8/XSDSimpleTypeTraverser.java/buggy/src/org/apache/xerces/impl/v2/XSDSimpleTypeTraverser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
10080,
5784,
559,
3456,
12,
1046,
4143,
559,
3456,
16,
1033,
8526,
1604,
1972,
13,
288,
3639,
514,
508,
1396,
225,
273,
261,
780,
13,
1747,
1972,
63,
60,
55,
1499,
8847,
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,
3238,
509,
10080,
5784,
559,
3456,
12,
1046,
4143,
559,
3456,
16,
1033,
8526,
1604,
1972,
13,
288,
3639,
514,
508,
1396,
225,
273,
261,
780,
13,
1747,
1972,
63,
60,
55,
1499,
8847,
18,
... |
return fMarkupDepth; | return fMarkupDepth; | protected int scanEndElement() throws IOException, XNIException { if (DEBUG_CONTENT_SCANNING) System.out.println(">>> scanEndElement()"); // pop context fElementStack.popElement(fElementQName) ; // Take advantage of the fact that next string _should_ be "fElementQName.rawName", //In scanners most of the time is c... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/d954abe66b7b1e4cc31b4a4cd05201210fc8aa4a/XML11NSDocumentScannerImpl.java/buggy/src/org/apache/xerces/impl/XML11NSDocumentScannerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
509,
4135,
1638,
1046,
1435,
1216,
1860,
16,
1139,
50,
45,
503,
288,
202,
202,
430,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
2332,
18,
659,
18,
8222,
2932,
23012,
4135... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
4135,
1638,
1046,
1435,
1216,
1860,
16,
1139,
50,
45,
503,
288,
202,
202,
430,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
2332,
18,
659,
18,
8222,
2932,
23012,
4135... |
public MockPage(final PageParameters parameters) { | public MockPage() { | public MockPage(final PageParameters parameters) { // Action link counts link clicks final Link actionLink = new Link("actionLink") { private static final long serialVersionUID = 1L; public void onClick() { linkClickCount++; } }; actionLink.add(new Label("linkC... | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/0fdf3c0295a9652408915ea02c10f339dc24347f/MockPage.java/buggy/wicket/src/test/wicket/protocol/http/MockPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7867,
1964,
1435,
288,
3639,
368,
4382,
1692,
6880,
1692,
27659,
3639,
727,
4048,
1301,
2098,
273,
394,
4048,
2932,
1128,
2098,
7923,
288,
1082,
202,
1152,
760,
727,
1525,
30244,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7867,
1964,
1435,
288,
3639,
368,
4382,
1692,
6880,
1692,
27659,
3639,
727,
4048,
1301,
2098,
273,
394,
4048,
2932,
1128,
2098,
7923,
288,
1082,
202,
1152,
760,
727,
1525,
30244,
... |
return haveMinimumServerVersion("7.1"); | return connection.haveMinimumServerVersion("7.1"); | public boolean supportsOuterJoins() throws SQLException { return haveMinimumServerVersion("7.1"); } | 52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/184505bbfc2484103083728601999f8b7cb87944/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
6146,
15040,
21108,
1435,
1216,
6483,
225,
288,
1377,
327,
1459,
18,
21516,
13042,
2081,
1444,
2932,
27,
18,
21,
8863,
225,
289,
2,
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,
282,
1071,
1250,
6146,
15040,
21108,
1435,
1216,
6483,
225,
288,
1377,
327,
1459,
18,
21516,
13042,
2081,
1444,
2932,
27,
18,
21,
8863,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
if (descriptor instanceof ProblemDescriptor) { if (((ProblemDescriptor)descriptor).getPsiElement() != null) { ((LocalQuickFix)fix).applyFix(project, (ProblemDescriptor)descriptor); } } else { ((GlobalQuickFix)fix).applyFix(); } | fix.applyFix(project, descriptor); | public void run() { CommandProcessor.getInstance().markCurrentCommandAsComplex(project); ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { for (CommonProblemDescriptor descriptor : descriptors) { final QuickFix[] fixes = descript... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/e066503348c6af00cf888b6392b3fadcc43d5d48/QuickFixAction.java/clean/inspections/impl/com/intellij/codeInspection/ex/QuickFixAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1086,
1435,
288,
3639,
3498,
5164,
18,
588,
1442,
7675,
3355,
3935,
2189,
1463,
12795,
12,
4406,
1769,
3639,
4257,
1318,
18,
588,
3208,
7675,
2681,
3067,
1803,
12,
2704,
10254,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1086,
1435,
288,
3639,
3498,
5164,
18,
588,
1442,
7675,
3355,
3935,
2189,
1463,
12795,
12,
4406,
1769,
3639,
4257,
1318,
18,
588,
3208,
7675,
2681,
3067,
1803,
12,
2704,
10254,
... |
this.guidanceId = guidanceId; | wizardPageDefinition.setGuidanceId(guidanceId); | public void setGuidanceId(Id guidanceId) { this.guidanceId = guidanceId; } | 48996 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48996/7bdbe0d45de7a01a7cd7e8f567681868ab2d69e9/ScaffoldingCell.java/buggy/matrix/api/src/java/org/theospi/portfolio/matrix/model/ScaffoldingCell.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
444,
22549,
1359,
548,
12,
548,
9875,
1359,
548,
13,
288,
1377,
24204,
1964,
1852,
18,
542,
22549,
1359,
548,
12,
14066,
1359,
548,
1769,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
444,
22549,
1359,
548,
12,
548,
9875,
1359,
548,
13,
288,
1377,
24204,
1964,
1852,
18,
542,
22549,
1359,
548,
12,
14066,
1359,
548,
1769,
282,
289,
2,
-100,
-100,
-100,
-100,
... |
{ int j = readBufferPos; if (count > 0 && (count % 4) != 0) { encodingError ( "number of bytes in UCS-4 encoding not divisible by 4", -1, count); } for (int i = 0; i < count; i += 4) { int value = (((rawReadBuffer [i] & 0xff) << shift1) | ((rawReadBuffer [i + 1] & 0xff) << shift2) | ((rawReadBuffer [i + 2] & 0xff) << ... | { int j = readBufferPos; if (count > 0 && (count % 4) != 0) { encodingError("number of bytes in UCS-4 encoding " + "not divisible by 4", -1, count); } for (int i = 0; i < count; i += 4) { int value = (((rawReadBuffer [i] & 0xff) << shift1) | ((rawReadBuffer [i + 1] & 0xff) << shift2) | ((rawReadBuffer [i + 2] & 0xff) ... | private void copyUcs4ReadBuffer (int count, int shift1, int shift2, int shift3, int shift4) throws SAXException { int j = readBufferPos; if (count > 0 && (count % 4) != 0) { encodingError ( "number of bytes in UCS-4 encoding not divisible by 4", -1, count); } for (int i = 0; i < count; i... | 5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlParser.java/buggy/libjava/gnu/xml/aelfred2/XmlParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1610,
57,
2143,
24,
1994,
1892,
261,
474,
1056,
16,
509,
4654,
21,
16,
509,
4654,
22,
16,
9506,
1377,
509,
4654,
23,
16,
509,
4654,
24,
13,
565,
1216,
14366,
565,
288,
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,
377,
3238,
918,
1610,
57,
2143,
24,
1994,
1892,
261,
474,
1056,
16,
509,
4654,
21,
16,
509,
4654,
22,
16,
9506,
1377,
509,
4654,
23,
16,
509,
4654,
24,
13,
565,
1216,
14366,
565,
288,
202,... |
if(!is_server) { msg_copy=msg.copy(); msg_copy.putHeader(getName(), hdr); queued_msgs.add(msg_copy); passUp(new Event(Event.MSG, msg)); return; } | case NakAckHeader.NAK_ACK_MSG: case NakAckHeader.NAK_MSG: if(hdr.type == NakAckHeader.NAK_ACK_MSG) { Message ack_msg=new Message(msg.getSrc(), null, null); NakAckHeader h=new NakAckHeader(NakAckHeader.NAK_ACK_RSP, hdr.seqno, null); ack_msg.putHeader(getName(), h); passDown(new Event(Event.MSG, ack_msg)); } if(!is... | public void up(Event evt) { NakAckHeader hdr=null; Message msg, msg_copy; int rc; switch(evt.getType()) { case Event.SUSPECT: if(Trace.trace) Trace.info("NAKACK.up()", "received SUSPECT event (suspected member=" + evt.getArg() + ")"); naker.suspect((Address) evt.getArg()); out_of_bande... | 3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/75359f4186603c5a949e15ffab51fb811f04ed8e/NAKACK.java/buggy/src/org/jgroups/protocols/NAKACK.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
731,
12,
1133,
6324,
13,
288,
202,
50,
581,
11931,
1864,
225,
7723,
33,
2011,
31,
202,
1079,
4202,
1234,
16,
1234,
67,
3530,
31,
202,
474,
6647,
4519,
31,
202,
9610,
12,
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,
731,
12,
1133,
6324,
13,
288,
202,
50,
581,
11931,
1864,
225,
7723,
33,
2011,
31,
202,
1079,
4202,
1234,
16,
1234,
67,
3530,
31,
202,
474,
6647,
4519,
31,
202,
9610,
12,
73... |
suite.addTestSuite(TestBug0.class); | static public Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(TestBug0.class); // TODO Cannot replicate in test context yet return suite; } // static public Test suite() | 5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/f08c86858f7af1a89edd3862c3aaf8569b47ed92/SuiteBugsOpen.java/clean/grouper/src/test/edu/internet2/middleware/grouper/SuiteBugsOpen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1071,
7766,
11371,
1435,
288,
565,
7766,
13587,
11371,
273,
394,
7766,
13587,
5621,
2398,
368,
2660,
14143,
28476,
316,
1842,
819,
4671,
565,
327,
11371,
31,
225,
289,
368,
760,
1071,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1071,
7766,
11371,
1435,
288,
565,
7766,
13587,
11371,
273,
394,
7766,
13587,
5621,
2398,
368,
2660,
14143,
28476,
316,
1842,
819,
4671,
565,
327,
11371,
31,
225,
289,
368,
760,
1071,
... | |
TableEditorImpl(StructuredViewer viewer) { | TableEditorImpl(ColumnViewer viewer) { | TableEditorImpl(StructuredViewer viewer) { this.viewer = viewer; initCellEditorListener(); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/72b02dfa9a75652d45af68d329d447e0e8bbe40d/TableEditorImpl.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableEditorImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3555,
6946,
2828,
12,
1494,
18415,
14157,
13,
288,
3639,
333,
18,
25256,
273,
14157,
31,
3639,
1208,
4020,
6946,
2223,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3555,
6946,
2828,
12,
1494,
18415,
14157,
13,
288,
3639,
333,
18,
25256,
273,
14157,
31,
3639,
1208,
4020,
6946,
2223,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
if (((prevStepIsOnPavement && movementType == IEntityMovementType.MOVE_RUN) || srcHex .containsTerrain(Terrains.ICE)) | if (((prevStepIsOnPavement && movementType == IEntityMovementType.MOVE_RUN) || (srcHex.containsTerrain(Terrains.ICE)) && movementType != IEntityMovementType.MOVE_JUMP) | public static boolean isPilotingSkillNeeded(IGame game, int entityId, Coords src, Coords dest, int movementType, boolean isTurning, boolean prevStepIsOnPavement, int srcElevation, int destElevation) { final Entity entity = game.getEntity(entityId); final IHex srcHex = game.getBoa... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/d0b47fdec139e586c65ccf375390ea51c9bfe4be/Compute.java/clean/megamek/src/megamek/common/Compute.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
29962,
330,
17128,
9030,
11449,
12,
3047,
339,
7920,
16,
509,
15052,
16,
5411,
10320,
87,
1705,
16,
10320,
87,
1570,
16,
509,
26017,
559,
16,
1250,
353,
15858,
310,
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,
760,
1250,
29962,
330,
17128,
9030,
11449,
12,
3047,
339,
7920,
16,
509,
15052,
16,
5411,
10320,
87,
1705,
16,
10320,
87,
1570,
16,
509,
26017,
559,
16,
1250,
353,
15858,
310,
16,
... |
if (cx.isGeneratingDebug()) { | if (!cx.isGeneratingDebugChanged() || cx.isGeneratingDebug()) { | private void generatePrologue(Context cx, Node tree, boolean inFunction, int directParameterCount) { funObjLocal = reserveWordLocal(0); contextLocal = reserveWordLocal(1); variableObjectLocal = reserveWordLocal(2); thisObjLocal = reserveWordLocal(3); ... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/5425d1691bf0027c3411689a78202b7f4d1cc124/Codegen.java/buggy/js/rhino/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
626,
1330,
344,
12,
1042,
9494,
16,
2029,
2151,
16,
1250,
316,
2083,
16,
21394,
509,
2657,
1662,
1380,
13,
565,
288,
3639,
9831,
2675,
2042,
273,
20501,
3944,
2042,
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,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
626,
1330,
344,
12,
1042,
9494,
16,
2029,
2151,
16,
1250,
316,
2083,
16,
21394,
509,
2657,
1662,
1380,
13,
565,
288,
3639,
9831,
2675,
2042,
273,
20501,
3944,
2042,
12,
... |
ListView.this.modelChanging(); | addStateChange(new Change() { private static final long serialVersionUID = 1L; final int oldIndex = index; public void undo() { Collections.swap(getList(), oldIndex - 1, oldIndex); } }); | public final Link moveUpLink(final String id, final ListItem item) { return new Link(id) { private static final long serialVersionUID = 1L; /** * @see wicket.Component#onBeginRequest() */ protected void onBeginRequest() { setAutoEnable(false); if (getList().indexOf(item.getModelObject()) == 0) ... | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/42288a8cabedf39bac098a8ef4831bd369c8c121/ListView.java/buggy/wicket/src/java/wicket/markup/html/list/ListView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
4048,
3635,
1211,
2098,
12,
6385,
514,
612,
16,
727,
987,
1180,
761,
13,
202,
95,
202,
202,
2463,
394,
4048,
12,
350,
13,
202,
202,
95,
1082,
202,
1152,
760,
727,
1525,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4048,
3635,
1211,
2098,
12,
6385,
514,
612,
16,
727,
987,
1180,
761,
13,
202,
95,
202,
202,
2463,
394,
4048,
12,
350,
13,
202,
202,
95,
1082,
202,
1152,
760,
727,
1525,... |
if (tmpDataSource.getAvailable()) { if (dataSource == null) { dataSource = tmpDataSource; } else { throw new MoreThanOneActiveDataSourceException("More than one active data source is configured!"); } } | this.dataSourceMap.put(GrailsClassUtils.getPropertyNameRepresentation(tmpDataSource.getName()),tmpDataSource); | private void configureLoadedClasses(Class[] classes) { // first load the domain classes this.domainMap = new HashMap(); log.debug("Going to inspect domain classes."); for (int i = 0; i < classes.length; i++) { log.debug("Inspecting [" + classes[i].getName() + "]"); ... | 50465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50465/aecd878096980b72ceddf7ab258a9a9344f916a7/DefaultGrailsApplication.java/buggy/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsApplication.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5068,
8835,
4818,
12,
797,
8526,
3318,
13,
288,
3639,
368,
1122,
1262,
326,
2461,
3318,
3639,
333,
18,
4308,
863,
273,
394,
4317,
5621,
3639,
613,
18,
4148,
2932,
5741,
310,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5068,
8835,
4818,
12,
797,
8526,
3318,
13,
288,
3639,
368,
1122,
1262,
326,
2461,
3318,
3639,
333,
18,
4308,
863,
273,
394,
4317,
5621,
3639,
613,
18,
4148,
2932,
5741,
310,
... |
BigInteger p,q,g; StringTokenizer str=new StringTokenizer(field, ","); if (str.countTokens() != 3) throw new NumberFormatException(); p = new NativeBigInteger(str.nextToken(), 16); q = new NativeBigInteger(str.nextToken(), 16); g = new NativeBigInteger(str.nextToken(), 16); DSAGroup r = new DSAGroup(p,q,g); return ( r.... | BigInteger p, q, g; StringTokenizer str = new StringTokenizer(field, ","); if (str.countTokens() != 3) throw new NumberFormatException(); p = new NativeBigInteger(str.nextToken(), 16); q = new NativeBigInteger(str.nextToken(), 16); g = new NativeBigInteger(str.nextToken(), 16); DSAGroup r = new DSAGroup(p, q, g); retur... | public static DSAGroup readFromField(String field) { BigInteger p,q,g; StringTokenizer str=new StringTokenizer(field, ","); if (str.countTokens() != 3) throw new NumberFormatException(); p = new NativeBigInteger(str.nextToken(), 16); q = new NativeBigInteger(str.nextToken(), 16); g = new NativeBigInteger(st... | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/0400e73e7503ab43211657c44d8448afd6346cce/DSAGroup.java/buggy/src/freenet/crypt/DSAGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
463,
5233,
1114,
20876,
974,
12,
780,
652,
13,
288,
202,
202,
24198,
293,
16,
85,
16,
75,
31,
202,
202,
780,
10524,
609,
33,
2704,
16370,
12,
1518,
16,
5753,
1769,
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,
377,
1071,
760,
463,
5233,
1114,
20876,
974,
12,
780,
652,
13,
288,
202,
202,
24198,
293,
16,
85,
16,
75,
31,
202,
202,
780,
10524,
609,
33,
2704,
16370,
12,
1518,
16,
5753,
1769,
202,
202... |
key.recycle (dbmap, kstr); | public Node getNode (String kstr, DbMapping dbmap) throws Exception { if (kstr == null) return null; Transactor tx = (Transactor) Thread.currentThread (); // tx.timer.beginEvent ("getNode "+kstr); Key key = tx.key; key.recycle (dbmap, kstr); // See if Transactor has already come across this node Node node = tx.... | 3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/683263b9d9257a87faf31df6a55da7f287bd6f4a/NodeManager.java/clean/src/helma/objectmodel/db/NodeManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
5973,
261,
780,
417,
701,
16,
8408,
3233,
1319,
1458,
13,
1216,
1185,
288,
202,
430,
261,
79,
701,
422,
446,
13,
202,
565,
327,
446,
31,
202,
1429,
3362,
2229,
273,
261,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2029,
5973,
261,
780,
417,
701,
16,
8408,
3233,
1319,
1458,
13,
1216,
1185,
288,
202,
430,
261,
79,
701,
422,
446,
13,
202,
565,
327,
446,
31,
202,
1429,
3362,
2229,
273,
261,
1... | |
if (DocumentDomainObject.STATUS_NEW == document.getStatus()) { | if ( DocumentDomainObject.STATUS_NEW == document.getStatus() ) { | public String getStatusIconTemplate( DocumentDomainObject document, UserDomainObject user ) { String statusIconTemplateName = null; if (DocumentDomainObject.STATUS_NEW == document.getStatus()) { statusIconTemplateName = TEMPLATE__STATUS_NEW; } else if (DocumentDomainObject.STATUS_PUB... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/54567949e7925946b53c3e8da3c43b2ac114b2ed/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
5870,
5554,
2283,
12,
4319,
3748,
921,
1668,
16,
2177,
3748,
921,
729,
262,
288,
3639,
514,
1267,
5554,
28917,
273,
446,
31,
3639,
309,
261,
4319,
3748,
921,
18,
8608,
67,
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,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
5870,
5554,
2283,
12,
4319,
3748,
921,
1668,
16,
2177,
3748,
921,
729,
262,
288,
3639,
514,
1267,
5554,
28917,
273,
446,
31,
3639,
309,
261,
4319,
3748,
921,
18,
8608,
67,
12... |
buf.append("<input type=\"hidden\" name=\"formPassword\" value=\""+node.formPassword+"\">"); | buf.append("<input type=\"hidden\" name=\"formPassword\" value=\"").append(node.formPassword).append("\" />"); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { String path = uri.getPath(); if(path.endsWith("myref.txt")) { SimpleFieldSet fs = node.exportPublicFieldSet(); StringWriter sw = new StringWriter(); fs.writeTo(sw); this.writeReply(ctx,... | 49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/5e25523493fdeb68f80e2a61cbf6edcde7282040/DarknetConnectionsToadlet.java/clean/src/freenet/clients/http/DarknetConnectionsToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
589,
273,
2003,
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,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
589,
273,
2003,
18,
... |
public void visitPostExeNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitPostExeNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitPostExeNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
3349,
424,
73,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
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,
918,
3757,
3349,
424,
73,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-1... |
private TableViewer createTable(Composite parent, FormToolkit toolkit, String[] columnNames, int[] columnWidths, int[] sortConstants) { int style = SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.HIDE_SELECTION | SWT.FILL; Table table = toolkit.createTable(parent, style); table.s... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/eeb53aab38077c76ff3ba62448eae5b71a2ad1a4/TaskPlannerEditorPart.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/planner/ui/TaskPlannerEditorPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3555,
18415,
19565,
12,
9400,
982,
16,
2748,
6364,
8691,
5226,
8691,
16,
514,
8526,
19975,
16,
509,
8526,
1057,
22407,
16,
1082,
202,
474,
8526,
1524,
2918,
13,
288,
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,
3555,
18415,
19565,
12,
9400,
982,
16,
2748,
6364,
8691,
5226,
8691,
16,
514,
8526,
19975,
16,
509,
8526,
1057,
22407,
16,
1082,
202,
474,
8526,
1524,
2918,
13,
288,
202,
202,
... | ||
public void visitDALOAD(DALOAD obj) { pushValue(Type.DOUBLE); } | public void visitDALOAD(DALOAD obj) { consumeStack(obj); pushValue(Type.DOUBLE); } | public void visitDALOAD(DALOAD obj) { pushValue(Type.DOUBLE); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/9e55b32a478d9bf623212d8a8aa6e1446e58c8b5/TypeFrameModelingVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/TypeFrameModelingVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
40,
1013,
51,
1880,
12,
40,
1013,
51,
1880,
1081,
13,
9506,
202,
95,
1817,
620,
12,
559,
18,
17088,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
40,
1013,
51,
1880,
12,
40,
1013,
51,
1880,
1081,
13,
9506,
202,
95,
1817,
620,
12,
559,
18,
17088,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
il, ih, cg, calleeMethodName, methodSequence, factory, joinPointType); | il, ih, cg, calleeMethodName, methodSequence, factory, joinPointType); | public void transformCode(final UnextendableClassSet cs) { final Iterator iterator = cs.getIteratorForTransformableClasses(); while (iterator.hasNext()) { final ClassGen cg = (ClassGen)iterator.next(); if (classFilter(cg)) { continue; } final ... | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/a4954bc086440ee1724b840d06c4279c27d6d1c7/AdviseCallerSideMethodTransformer.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/transform/AdviseCallerSideMethodTransformer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2510,
1085,
12,
6385,
1351,
14313,
429,
797,
694,
2873,
13,
288,
3639,
727,
4498,
2775,
273,
2873,
18,
588,
3198,
1290,
4059,
429,
4818,
5621,
3639,
1323,
261,
9838,
18,
5332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2510,
1085,
12,
6385,
1351,
14313,
429,
797,
694,
2873,
13,
288,
3639,
727,
4498,
2775,
273,
2873,
18,
588,
3198,
1290,
4059,
429,
4818,
5621,
3639,
1323,
261,
9838,
18,
5332,
... |
public String toString() { return String.valueOf((Object)xs); } | public String toString() { return String.valueOf((Object)value); } | public String toString() { return String.valueOf((Object)xs); } | 1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/b5127bbfea6df39af5db3dc45bb9f7e698acb3f1/RunTime.java/clean/sources/scala/runtime/RunTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
327,
514,
18,
1132,
951,
12443,
921,
13,
13713,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
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,
514,
1762,
1435,
288,
327,
514,
18,
1132,
951,
12443,
921,
13,
13713,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.