rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
sequencelengths 256
256
| attention_mask
sequencelengths 256
256
| labels
sequencelengths 128
128
|
---|---|---|---|---|---|---|
if (vehicle.getDriver() == null) { System.out.println(vehicle.getName() + " driver is null"); System.out.println(vehicle.getName() + " status: " + vehicle.getStatus()); } | private void drivingPhase(Person person) { if (vehicle.getName().equals("Sandstorm")) { System.out.println(person.getName() + " drivingPhase()"); } // Record starting time and distance to destination. if ((startingTime == null) || (startingDistance == 0D)) { startingTime = (MarsClock) mars.getMasterClock().getMarsClock().clone(); startingDistance = vehicle.getCoordinates().getDistance(destination); } // If vehicle has reached destination, transition to Collecting Rock Samples or Disembarking phase. if (person.getCoordinates().equals(destination)) { if (siteIndex == collectionSites.size()) { phase = DISEMBARK; } else { phase = COLLECTSAMPLES + " from Site " + (siteIndex + 1); } return; } // If vehicle doesn't currently have a driver, start drive task for person. // Can't be immediate last driver and can't be at night time. if (mars.getSurfaceFeatures().getSurfaceSunlight(vehicle.getCoordinates()) > 0D) { if (person == lastDriver) { lastDriver = null; } else { if (vehicle.getDriver() == null) { System.out.println(vehicle.getName() + " driver is null"); System.out.println(vehicle.getName() + " status: " + vehicle.getStatus()); } if ((vehicle.getDriver() == null) && (vehicle.getStatus() == Vehicle.PARKED)) { System.out.println(vehicle.getName() + " new driver: " + person.getName()); DriveGroundVehicle driveTask = new DriveGroundVehicle(person, mars, (GroundVehicle) vehicle, destination, startingTime, startingDistance); person.getMind().getTaskManager().addTask(driveTask); lastDriver = person; } } } } | 49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/5ee83055f29d6849bbd68aafad8c8b8626f4c3bf/CollectRockSamplesMission.java/clean/org/mars_sim/msp/simulation/person/ai/CollectRockSamplesMission.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5081,
9288,
11406,
12,
8346,
6175,
13,
288,
3639,
309,
261,
537,
18870,
18,
17994,
7675,
14963,
2932,
55,
464,
31607,
6,
3719,
288,
202,
565,
2332,
18,
659,
18,
8222,
12,
12479,
18,
17994,
1435,
397,
315,
5081,
9288,
11406,
1435,
8863,
202,
97,
202,
5411,
368,
5059,
5023,
813,
471,
3888,
358,
2929,
18,
3639,
309,
14015,
18526,
950,
422,
446,
13,
747,
261,
18526,
7200,
422,
374,
40,
3719,
288,
5411,
5023,
950,
273,
261,
49,
5913,
14027,
13,
312,
5913,
18,
588,
7786,
14027,
7675,
588,
49,
5913,
14027,
7675,
14056,
5621,
5411,
5023,
7200,
273,
24815,
18,
588,
13431,
7675,
588,
7200,
12,
10590,
1769,
3639,
289,
3639,
368,
971,
24815,
711,
8675,
2929,
16,
6007,
358,
9302,
310,
534,
975,
348,
2995,
578,
3035,
351,
70,
1313,
310,
6855,
18,
3639,
309,
261,
12479,
18,
588,
13431,
7675,
14963,
12,
10590,
3719,
288,
5411,
309,
261,
4256,
1016,
422,
1849,
17055,
18,
1467,
10756,
288,
7734,
6855,
273,
3690,
1090,
7969,
9584,
31,
5411,
289,
5411,
469,
288,
7734,
6855,
273,
5597,
3918,
55,
8900,
11386,
397,
315,
628,
9063,
315,
397,
261,
4256,
1016,
397,
404,
1769,
5411,
289,
5411,
327,
31,
3639,
289,
3639,
368,
971,
24815,
3302,
1404,
4551,
1240,
279,
3419,
16,
787,
14316,
1562,
364,
6175,
18,
3639,
368,
4480,
1404,
506,
14483,
1142,
3419,
471,
848,
1404,
506,
622,
290,
750,
813,
18,
3639,
309,
261,
3684,
87,
18,
588,
11508,
8696,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5081,
9288,
11406,
12,
8346,
6175,
13,
288,
3639,
309,
261,
537,
18870,
18,
17994,
7675,
14963,
2932,
55,
464,
31607,
6,
3719,
288,
202,
565,
2332,
18,
659,
18,
8222,
12,
12479,
18,
17994,
1435,
397,
315,
5081,
9288,
11406,
1435,
8863,
202,
97,
202,
5411,
368,
5059,
5023,
813,
471,
3888,
358,
2929,
18,
3639,
309,
14015,
18526,
950,
422,
446,
13,
747,
261,
18526,
7200,
422,
374,
40,
3719,
288,
5411,
5023,
950,
273,
261,
49,
5913,
14027,
13,
312,
5913,
18,
588,
7786,
14027,
7675,
588,
49,
5913,
14027,
7675,
14056,
5621,
5411,
5023,
7200,
273,
24815,
18,
588,
13431,
7675,
588,
7200,
12,
10590,
1769,
3639,
289,
3639,
368,
971,
24815,
2
] |
|
String lastfile = null; | public Vector getFolderTree(int projectId) throws CmsException { Vector folders = new Vector(); CmsFolder folder; String lastfile = null; ResultSet res = null; PreparedStatement statement = null; try { // read file data from database statement = m_pool.getPreparedStatement(m_cq.C_RESOURCES_GET_FOLDERTREE_KEY); statement.setInt(1, projectId); res = statement.executeQuery(); // create new file while (res.next()) { int resId = res.getInt(m_cq.C_RESOURCES_RESOURCE_ID); int parentId = res.getInt(m_cq.C_RESOURCES_PARENT_ID); String resName = res.getString(m_cq.C_RESOURCES_RESOURCE_NAME); // only add this folder, if it was not in the last offline-project already// if (!resName.equals(lastfile)) { int resType = res.getInt(m_cq.C_RESOURCES_RESOURCE_TYPE); int resFlags = res.getInt(m_cq.C_RESOURCES_RESOURCE_FLAGS); int userId = res.getInt(m_cq.C_RESOURCES_USER_ID); int groupId = res.getInt(m_cq.C_RESOURCES_GROUP_ID); int projectID = res.getInt(m_cq.C_RESOURCES_PROJECT_ID); int fileId = res.getInt(m_cq.C_RESOURCES_FILE_ID); int accessFlags = res.getInt(m_cq.C_RESOURCES_ACCESS_FLAGS); int state = res.getInt(m_cq.C_RESOURCES_STATE); int lockedBy = res.getInt(m_cq.C_RESOURCES_LOCKED_BY); int launcherType = res.getInt(m_cq.C_RESOURCES_LAUNCHER_TYPE); String launcherClass = res.getString(m_cq.C_RESOURCES_LAUNCHER_CLASSNAME); long created = SqlHelper.getTimestamp(res, m_cq.C_RESOURCES_DATE_CREATED).getTime(); long modified = SqlHelper.getTimestamp(res, m_cq.C_RESOURCES_DATE_LASTMODIFIED).getTime(); int resSize = res.getInt(m_cq.C_RESOURCES_SIZE); int modifiedBy = res.getInt(m_cq.C_RESOURCES_LASTMODIFIED_BY); folder = new CmsFolder(resId, parentId, fileId, resName, resType, resFlags, userId, groupId, projectID, accessFlags, state, lockedBy, created, modified, modifiedBy); folders.addElement(folder);// } lastfile = resName; } } catch (SQLException e) { throw new CmsException("[" + this.getClass().getName() + "]" + e.getMessage(), CmsException.C_SQL_ERROR, e); } catch (Exception ex) { throw new CmsException("[" + this.getClass().getName() + "]", ex); } finally { if (res != null) { try { res.close(); } catch (SQLException se) { } } if (statement != null) { m_pool.putPreparedStatement(m_cq.C_RESOURCES_GET_FOLDERTREE_KEY, statement); } } return folders;} | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/63a5b372b1cd7cd124bd94b199c56ee2968e2cee/CmsDbAccess.java/clean/src/com/opencms/file/genericSql/CmsDbAccess.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
5589,
29001,
2471,
12,
474,
9882,
13,
1216,
11228,
288,
202,
5018,
9907,
273,
394,
5589,
5621,
202,
4747,
3899,
3009,
31,
202,
780,
1142,
768,
273,
446,
31,
202,
13198,
400,
273,
446,
31,
202,
29325,
3021,
273,
446,
31,
202,
698,
288,
202,
202,
759,
855,
585,
501,
628,
2063,
202,
202,
11516,
273,
312,
67,
6011,
18,
588,
29325,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
3264,
67,
17357,
26557,
67,
3297,
1769,
202,
202,
11516,
18,
542,
1702,
12,
21,
16,
9882,
1769,
202,
202,
455,
273,
3021,
18,
8837,
1138,
5621,
202,
202,
759,
752,
394,
585,
202,
202,
17523,
261,
455,
18,
4285,
10756,
288,
1082,
202,
474,
400,
548,
273,
400,
18,
588,
1702,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
11395,
67,
734,
1769,
1082,
202,
474,
11582,
273,
400,
18,
588,
1702,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
14943,
67,
734,
1769,
1082,
202,
780,
400,
461,
273,
400,
18,
588,
780,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
11395,
67,
1985,
1769,
1082,
202,
759,
1338,
527,
333,
3009,
16,
309,
518,
1703,
486,
316,
326,
1142,
13493,
17,
4406,
1818,
759,
1082,
202,
430,
16051,
455,
461,
18,
14963,
12,
2722,
768,
3719,
288,
9506,
202,
474,
400,
559,
273,
400,
18,
588,
1702,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
11395,
67,
2399,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
5589,
29001,
2471,
12,
474,
9882,
13,
1216,
11228,
288,
202,
5018,
9907,
273,
394,
5589,
5621,
202,
4747,
3899,
3009,
31,
202,
780,
1142,
768,
273,
446,
31,
202,
13198,
400,
273,
446,
31,
202,
29325,
3021,
273,
446,
31,
202,
698,
288,
202,
202,
759,
855,
585,
501,
628,
2063,
202,
202,
11516,
273,
312,
67,
6011,
18,
588,
29325,
12,
81,
67,
71,
85,
18,
39,
67,
11395,
55,
67,
3264,
67,
17357,
26557,
67,
3297,
1769,
202,
202,
11516,
18,
542,
1702,
12,
21,
16,
9882,
1769,
202,
202,
455,
273,
3021,
18,
8837,
1138,
5621,
202,
202,
759,
752,
394,
585,
202,
202,
17523,
261,
455,
18,
4285,
10756,
288,
1082,
202,
474,
2
] |
|
if ((mappedType.isArray() && (mappedType.getJavaClass() == ArrayTypes.byteArrayClass || mappedType.getJavaClass() == ArrayTypes.byteArrayArrayClass)) || (mappedType.isVoidPointerType())) { | if (mappedType.isCVoidPointerType() || mappedType.isCCharPointerType() || (mappedType.isArray() && mappedType.getJavaClass() == ArrayTypes.byteArrayArrayClass)) { | private MethodBinding bindFunction(FunctionSymbol sym, JavaType containingType, Type containingCType) { MethodBinding binding = new MethodBinding(sym, containingType, containingCType); if (cfg.returnsString(binding.getName())) { PointerType prt = sym.getReturnType().asPointer(); if (prt == null || prt.getTargetType().asInt() == null || prt.getTargetType().getSize() != 1) { throw new RuntimeException( "Cannot apply ReturnsString configuration directive to \"" + sym + "\". ReturnsString requires native method to have return type \"char *\""); } binding.setJavaReturnType(JavaType.createForClass(java.lang.String.class)); } else { binding.setJavaReturnType(typeToJavaType(sym.getReturnType(), false)); } // List of the indices of the arguments in this function that should be // converted from byte[] to String List stringArgIndices = cfg.stringArguments(binding.getName()); for (int i = 0; i < sym.getNumArguments(); i++) { Type cArgType = sym.getArgumentType(i); JavaType mappedType = typeToJavaType(cArgType, true); //System.out.println("C arg type -> \"" + cArgType + "\"" ); //System.out.println(" Java -> \"" + mappedType + "\"" ); // Take into account any ArgumentIsString configuration directives that apply if (stringArgIndices != null && stringArgIndices.contains(new Integer(i))) { //System.out.println("Forcing conversion of " + binding.getName() + " arg #" + i + " from byte[] to String "); if ((mappedType.isArray() && (mappedType.getJavaClass() == ArrayTypes.byteArrayClass || mappedType.getJavaClass() == ArrayTypes.byteArrayArrayClass)) || (mappedType.isVoidPointerType())) { // convert mapped type from void* and byte[] to String, or byte[][] to String[] if (mappedType.getJavaClass() == ArrayTypes.byteArrayArrayClass) { mappedType = javaType(ArrayTypes.stringArrayClass); } else { mappedType = javaType(String.class); } } else { throw new RuntimeException( "Cannot apply ArgumentIsString configuration directive to " + "argument " + i + " of \"" + sym + "\": argument type is not " + "a \"void*\", \"char *\", or \"char**\" equivalent"); } } binding.addJavaArgumentType(mappedType); //System.out.println("During binding of [" + sym + "], added mapping from C type: " + cArgType + " to Java type: " + mappedType); } //System.err.println("---> " + binding); //System.err.println(" ---> " + binding.getCSymbol()); return binding; } | 46690 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46690/0f2fa98495ce75434fc011e7ba2976c78edd38d0/JavaEmitter.java/buggy/src/net/java/games/gluegen/JavaEmitter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
2985,
5250,
1993,
2083,
12,
2083,
5335,
5382,
16,
19694,
5110,
559,
4191,
559,
16,
19694,
1412,
4191,
39,
559,
13,
288,
565,
2985,
5250,
5085,
273,
394,
2985,
5250,
12,
8117,
16,
4191,
559,
16,
4191,
39,
559,
1769,
3639,
309,
261,
7066,
18,
6154,
780,
12,
7374,
18,
17994,
1435,
3719,
288,
1377,
7107,
559,
20976,
273,
5382,
18,
588,
9102,
7675,
345,
4926,
5621,
1377,
309,
261,
683,
88,
422,
446,
747,
1850,
20976,
18,
588,
2326,
559,
7675,
345,
1702,
1435,
422,
446,
747,
1850,
20976,
18,
588,
2326,
559,
7675,
588,
1225,
1435,
480,
404,
13,
288,
3639,
604,
394,
3235,
12,
1850,
315,
4515,
2230,
2860,
780,
1664,
8655,
358,
11843,
397,
5382,
397,
1850,
7023,
18,
2860,
780,
4991,
6448,
707,
358,
1240,
327,
618,
1239,
3001,
380,
8530,
1769,
1377,
289,
1377,
5085,
18,
542,
5852,
9102,
12,
31819,
18,
2640,
22581,
12,
6290,
18,
4936,
18,
780,
18,
1106,
10019,
565,
289,
469,
288,
1377,
5085,
18,
542,
5852,
9102,
12,
723,
774,
31819,
12,
8117,
18,
588,
9102,
9334,
629,
10019,
565,
289,
565,
368,
987,
434,
326,
4295,
434,
326,
1775,
316,
333,
445,
716,
1410,
506,
565,
368,
5970,
628,
1160,
8526,
358,
514,
565,
987,
533,
4117,
8776,
273,
2776,
18,
1080,
4628,
12,
7374,
18,
17994,
10663,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5382,
18,
588,
2578,
4628,
5621,
277,
27245,
288,
1377,
1412,
276,
4117,
559,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
2985,
5250,
1993,
2083,
12,
2083,
5335,
5382,
16,
19694,
5110,
559,
4191,
559,
16,
19694,
1412,
4191,
39,
559,
13,
288,
565,
2985,
5250,
5085,
273,
394,
2985,
5250,
12,
8117,
16,
4191,
559,
16,
4191,
39,
559,
1769,
3639,
309,
261,
7066,
18,
6154,
780,
12,
7374,
18,
17994,
1435,
3719,
288,
1377,
7107,
559,
20976,
273,
5382,
18,
588,
9102,
7675,
345,
4926,
5621,
1377,
309,
261,
683,
88,
422,
446,
747,
1850,
20976,
18,
588,
2326,
559,
7675,
345,
1702,
1435,
422,
446,
747,
1850,
20976,
18,
588,
2326,
559,
7675,
588,
1225,
1435,
480,
404,
13,
288,
3639,
604,
394,
3235,
12,
1850,
315,
4515,
2230,
2860,
780,
1664,
8655,
358,
11843,
2
] |
public SpringBeanLocator(String beanId, Class beanType, ISpringContextLocator locator) | public SpringBeanLocator(Class beanType, ISpringContextLocator locator) | public SpringBeanLocator(String beanId, Class beanType, ISpringContextLocator locator) { if (locator == null) { throw new IllegalArgumentException("[locator] argument cannot be null"); } if (beanType == null) { throw new IllegalArgumentException("[beanType] argument cannot be null"); } this.beanTypeCache = beanType; this.beanTypeName = beanType.getName(); this.beanId = beanId; this.springContextLocator = locator; } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/51618ab52fcae651753d0c10412d1d95ef9acd74/SpringBeanLocator.java/buggy/wicket-spring/src/main/java/wicket/spring/SpringBeanLocator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
22751,
3381,
5786,
12,
780,
3931,
548,
16,
1659,
29881,
16,
4437,
11638,
1042,
5786,
8871,
13,
202,
95,
202,
202,
430,
261,
20048,
422,
446,
13,
202,
202,
95,
1082,
202,
12849,
394,
2754,
2932,
63,
20048,
65,
1237,
2780,
506,
446,
8863,
202,
202,
97,
202,
202,
430,
261,
14496,
559,
422,
446,
13,
202,
202,
95,
1082,
202,
12849,
394,
2754,
2932,
63,
14496,
559,
65,
1237,
2780,
506,
446,
8863,
202,
202,
97,
202,
202,
2211,
18,
14496,
559,
1649,
273,
29881,
31,
202,
202,
2211,
18,
14496,
7947,
273,
29881,
18,
17994,
5621,
202,
202,
2211,
18,
14496,
548,
273,
3931,
548,
31,
202,
202,
2211,
18,
87,
11638,
1042,
5786,
273,
8871,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
22751,
3381,
5786,
12,
780,
3931,
548,
16,
1659,
29881,
16,
4437,
11638,
1042,
5786,
8871,
13,
202,
95,
202,
202,
430,
261,
20048,
422,
446,
13,
202,
202,
95,
1082,
202,
12849,
394,
2754,
2932,
63,
20048,
65,
1237,
2780,
506,
446,
8863,
202,
202,
97,
202,
202,
430,
261,
14496,
559,
422,
446,
13,
202,
202,
95,
1082,
202,
12849,
394,
2754,
2932,
63,
14496,
559,
65,
1237,
2780,
506,
446,
8863,
202,
202,
97,
202,
202,
2211,
18,
14496,
559,
1649,
273,
29881,
31,
202,
202,
2211,
18,
14496,
7947,
273,
29881,
18,
17994,
5621,
202,
202,
2211,
18,
14496,
548,
273,
3931,
548,
31,
202,
202,
2211,
18,
87,
11638,
1042,
5786,
2
] |
ACLMessage cfp = new ACLMessage("cfp"); | ACLMessage cfp = new ACLMessage(ACLMessage.CFP); | protected void fixAppointment(Appointment a) { System.err.println("fix Appointment" + a.toString()); ACLMessage cfp = new ACLMessage("cfp"); //FIXME only for Seoul // cfp.setContent(a.toString()); cfp.setSource(getName()); cfp.setReplyBy(REPLYBY); AgentGroup ag = new AgentGroup(); Enumeration e = a.getInvitedPersons(); int numberOfInvited = 0; String name; String listOfNames = ""; while (e.hasMoreElements()) { numberOfInvited++; name = ((Person)e.nextElement()).getAgentName(); //if (name.endsWith(getAddress())) /* it belongs to my platform. so remove platform name otherwise fipacontractnetinitiatorbheaviour does not work */ //ag.addMember(name.substring(0,name.indexOf('@'))); //else ag.addMember(name); listOfNames = listOfNames + name + " "; } if (numberOfInvited == 0) { // ci sono solo io // devo solo trovare un giorno libero Date goodDate = findADate(a); if (goodDate == null) mf.showErrorMessage("No free date for "+a.toString()); else { a.setFixedDate(goodDate); addAppointment(a); } } else { if (numberOfInvited > 1) listOfNames = "(" + listOfNames + ")"; // becomes a list String possibleAppList = possibleAppointments(a); if (possibleAppList != null) { cfp.setContent("( (action " + " * " + " (possible-appointments " + possibleAppList + ")) true )"); addBehaviour(new myFipaContractNetInitiatorBehaviour(this,cfp,ag)); } else mf.showErrorMessage("No free date for "+a.toString()); }} | 5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/50c90d709422a9df981fe8663628ab9b530f37cd/MeetingSchedulerAgent.java/buggy/src/demo/MeetingScheduler/MeetingSchedulerAgent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
2917,
1294,
29815,
12,
1294,
29815,
279,
13,
288,
225,
2332,
18,
370,
18,
8222,
2932,
904,
1716,
29815,
6,
397,
279,
18,
10492,
10663,
3639,
10098,
1079,
6080,
84,
273,
394,
10098,
1079,
12,
9486,
1079,
18,
8955,
52,
1769,
565,
368,
25810,
1338,
364,
3265,
1003,
377,
368,
6080,
84,
18,
542,
1350,
12,
69,
18,
10492,
10663,
565,
6080,
84,
18,
542,
1830,
12,
17994,
10663,
565,
6080,
84,
18,
542,
7817,
858,
12,
862,
23893,
6486,
1769,
565,
8669,
1114,
1737,
273,
394,
8669,
1114,
5621,
565,
13864,
425,
273,
279,
18,
588,
3605,
16261,
8346,
87,
5621,
565,
509,
7922,
3605,
16261,
273,
374,
31,
565,
514,
508,
31,
565,
514,
24692,
1557,
273,
1408,
31,
565,
1323,
261,
73,
18,
5332,
7417,
3471,
10756,
288,
1377,
7922,
3605,
16261,
9904,
31,
1377,
508,
273,
14015,
8346,
13,
73,
18,
4285,
1046,
1435,
2934,
588,
3630,
461,
5621,
1377,
368,
430,
261,
529,
18,
5839,
1190,
12,
588,
1887,
1435,
3719,
225,
202,
20308,
518,
11081,
358,
3399,
4072,
18,
1427,
1206,
4072,
508,
3541,
30378,
284,
625,
16329,
1575,
2758,
2738,
10620,
70,
580,
69,
522,
477,
1552,
486,
1440,
1195,
1377,
368,
346,
18,
1289,
4419,
12,
529,
18,
28023,
12,
20,
16,
529,
18,
31806,
2668,
20887,
3719,
1769,
1377,
368,
12107,
4202,
1737,
18,
1289,
4419,
12,
529,
1769,
1377,
24692,
1557,
273,
24692,
1557,
397,
508,
397,
315,
13636,
565,
289,
3639,
309,
261,
2696,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
2917,
1294,
29815,
12,
1294,
29815,
279,
13,
288,
225,
2332,
18,
370,
18,
8222,
2932,
904,
1716,
29815,
6,
397,
279,
18,
10492,
10663,
3639,
10098,
1079,
6080,
84,
273,
394,
10098,
1079,
12,
9486,
1079,
18,
8955,
52,
1769,
565,
368,
25810,
1338,
364,
3265,
1003,
377,
368,
6080,
84,
18,
542,
1350,
12,
69,
18,
10492,
10663,
565,
6080,
84,
18,
542,
1830,
12,
17994,
10663,
565,
6080,
84,
18,
542,
7817,
858,
12,
862,
23893,
6486,
1769,
565,
8669,
1114,
1737,
273,
394,
8669,
1114,
5621,
565,
13864,
425,
273,
279,
18,
588,
3605,
16261,
8346,
87,
5621,
565,
509,
7922,
3605,
16261,
273,
374,
31,
565,
514,
508,
31,
565,
514,
24692,
2
] |
Collection handles = null; if (((JtdsPreparedStatement) statement).handles != null) { handles = ((JtdsPreparedStatement) statement).handles.values(); } handles = statementCache.getObsoleteHandles(handles); | Collection handles = statementCache.getObsoleteHandles( ((JtdsPreparedStatement) statement).handles); | synchronized void removeStatement(JtdsStatement statement) throws SQLException { // Remove the JtdsStatement from the statement list synchronized (statements) { for (int i = 0; i < statements.size(); i++) { WeakReference wr = (WeakReference) statements.get(i); if (wr != null) { Statement stmt = (Statement) wr.get(); if (stmt != null && stmt == statement) { statements.set(i, null); break; } } } } if (statement instanceof JtdsPreparedStatement) { // Clean up the prepared statement cache; getObsoleteHandles will // decrement the usage count for the set of used handles Collection handles = null; if (((JtdsPreparedStatement) statement).handles != null) { handles = ((JtdsPreparedStatement) statement).handles.values(); } handles = statementCache.getObsoleteHandles(handles); if (handles != null) { if (serverType == Driver.SQLSERVER) { // SQL Server unprepare StringBuffer cleanupSql = new StringBuffer(handles.size() * 32); for (Iterator iterator = handles.iterator(); iterator.hasNext(); ) { ProcEntry pe = (ProcEntry) iterator.next(); // Could get put back if in a transaction that is // rolled back pe.appendDropSQL(cleanupSql); } if (cleanupSql.length() > 0) { baseTds.executeSQL(cleanupSql.toString(), null, null, true, 0, -1, -1, true); baseTds.clearResponseQueue(); } } else { // Sybase unprepare for (Iterator iterator = handles.iterator(); iterator.hasNext(); ) { ProcEntry pe = (ProcEntry)iterator.next(); if (pe.toString() != null) { // Remove the Sybase light weight proc baseTds.sybaseUnPrepare(pe.toString()); } } } } } } | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/caa3c9ede45d07c63e919d530c2a477596f58a7e/ConnectionJDBC2.java/buggy/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
1206,
3406,
12,
46,
88,
2377,
3406,
3021,
13,
5411,
1216,
6483,
288,
3639,
368,
3581,
326,
804,
88,
2377,
3406,
628,
326,
3021,
666,
3639,
3852,
261,
18393,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6317,
18,
1467,
5621,
277,
27245,
288,
7734,
23632,
2404,
12408,
273,
261,
3218,
581,
2404,
13,
6317,
18,
588,
12,
77,
1769,
7734,
309,
261,
91,
86,
480,
446,
13,
288,
10792,
8056,
3480,
273,
261,
3406,
13,
12408,
18,
588,
5621,
10792,
309,
261,
10589,
480,
446,
597,
3480,
422,
3021,
13,
288,
13491,
6317,
18,
542,
12,
77,
16,
446,
1769,
13491,
898,
31,
10792,
289,
7734,
289,
5411,
289,
3639,
289,
3639,
309,
261,
11516,
1276,
804,
88,
2377,
29325,
13,
288,
5411,
368,
9645,
731,
326,
8208,
3021,
1247,
31,
17971,
2038,
19513,
8788,
903,
5411,
368,
15267,
326,
4084,
1056,
364,
326,
444,
434,
1399,
7372,
5411,
2200,
7372,
273,
446,
31,
5411,
309,
261,
12443,
46,
88,
2377,
29325,
13,
3021,
2934,
24111,
480,
446,
13,
288,
7734,
7372,
273,
14015,
46,
88,
2377,
29325,
13,
3021,
2934,
24111,
18,
2372,
5621,
5411,
289,
5411,
7372,
273,
3021,
1649,
18,
588,
27637,
19513,
8788,
12,
24111,
1769,
5411,
309,
261,
24111,
480,
446,
13,
288,
7734,
309,
261,
3567,
559,
422,
9396,
18,
3997,
4370,
13,
288,
10792,
368,
3063,
3224,
640,
9366,
10792,
6674,
6686,
5101,
273,
394,
6674,
12,
24111,
18,
1467,
1435,
380,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
1206,
3406,
12,
46,
88,
2377,
3406,
3021,
13,
5411,
1216,
6483,
288,
3639,
368,
3581,
326,
804,
88,
2377,
3406,
628,
326,
3021,
666,
3639,
3852,
261,
18393,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
6317,
18,
1467,
5621,
277,
27245,
288,
7734,
23632,
2404,
12408,
273,
261,
3218,
581,
2404,
13,
6317,
18,
588,
12,
77,
1769,
7734,
309,
261,
91,
86,
480,
446,
13,
288,
10792,
8056,
3480,
273,
261,
3406,
13,
12408,
18,
588,
5621,
10792,
309,
261,
10589,
480,
446,
597,
3480,
422,
3021,
13,
288,
13491,
6317,
18,
542,
12,
77,
16,
446,
1769,
13491,
898,
31,
10792,
289,
7734,
289,
5411,
289,
3639,
289,
2
] |
PreparedStatement addUserStatement = | addUserStatement = | protected void doAddUser(User user) { Connection conn = openConnection(); // Insert into the database. try { // Get a PreparedStatement for the insert. PreparedStatement addUserStatement = conn.prepareStatement(m_insertUserSql); setUserForInsertStatement(user, addUserStatement); addUserStatement.execute(); addUserStatement.close(); } catch ( SQLException sqlExc) { sqlExc.printStackTrace(); throw new CascadingRuntimeException("Error accessing database", sqlExc); } finally { closeConnection(conn); } } | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/2557fc80c334a8bf037aa78d48c3d733651ee9a9/AbstractJdbcUsersRepository.java/clean/trunk/src/java/org/apache/james/userrepository/AbstractJdbcUsersRepository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
986,
1299,
12,
1299,
729,
13,
288,
3639,
4050,
1487,
273,
24982,
5621,
3639,
368,
8040,
1368,
326,
2063,
18,
3639,
775,
288,
5411,
368,
968,
279,
16913,
364,
326,
2243,
18,
5411,
527,
1299,
3406,
273,
1171,
1487,
18,
9366,
3406,
12,
81,
67,
6387,
1299,
5101,
1769,
5411,
14365,
1290,
4600,
3406,
12,
1355,
16,
527,
1299,
3406,
1769,
5411,
527,
1299,
3406,
18,
8837,
5621,
5411,
527,
1299,
3406,
18,
4412,
5621,
3639,
289,
3639,
1044,
261,
6483,
1847,
29924,
13,
288,
5411,
1847,
29924,
18,
1188,
6332,
5621,
5411,
604,
394,
385,
3691,
14968,
11949,
2932,
668,
19531,
2063,
3113,
1847,
29924,
1769,
3639,
289,
3639,
3095,
288,
5411,
1746,
1952,
12,
4646,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
986,
1299,
12,
1299,
729,
13,
288,
3639,
4050,
1487,
273,
24982,
5621,
3639,
368,
8040,
1368,
326,
2063,
18,
3639,
775,
288,
5411,
368,
968,
279,
16913,
364,
326,
2243,
18,
5411,
527,
1299,
3406,
273,
1171,
1487,
18,
9366,
3406,
12,
81,
67,
6387,
1299,
5101,
1769,
5411,
14365,
1290,
4600,
3406,
12,
1355,
16,
527,
1299,
3406,
1769,
5411,
527,
1299,
3406,
18,
8837,
5621,
5411,
527,
1299,
3406,
18,
4412,
5621,
3639,
289,
3639,
1044,
261,
6483,
1847,
29924,
13,
288,
5411,
1847,
29924,
18,
1188,
6332,
5621,
5411,
604,
394,
385,
3691,
14968,
11949,
2932,
668,
19531,
2063,
3113,
1847,
29924,
1769,
3639,
289,
3639,
3095,
288,
5411,
1746,
1952,
2
] |
((Text) getPresentationObject()).setFontSize(s); | ((Text) _obj).setFontSize(s); | public void setFontSize(String s) { if (isText()) { ((Text) getPresentationObject()).setFontSize(s); } } | 52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/cb7478305deba4267935f6a444b7e6f6f806689c/Link.java/buggy/src/java/com/idega/presentation/text/Link.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
20454,
1225,
12,
780,
272,
13,
288,
202,
202,
430,
261,
291,
1528,
10756,
288,
1082,
202,
12443,
1528,
13,
1689,
1581,
367,
921,
1435,
2934,
542,
22688,
12,
87,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
20454,
1225,
12,
780,
272,
13,
288,
202,
202,
430,
261,
291,
1528,
10756,
288,
1082,
202,
12443,
1528,
13,
1689,
1581,
367,
921,
1435,
2934,
542,
22688,
12,
87,
1769,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
adviceMethodInfo.adviceMethodInvokationStmts.add( bindings.get(old)); | adviceMethodInfo.adviceMethodInvokationStmts.add(bindings.get(old)); | private static void updateSavedReferencesToStatements(HashMap bindings) { Collection values = state.adviceMethods.values(); Iterator it = values.iterator(); // all advice methods while (it.hasNext()) { AdviceMethod adviceMethodInfo = (AdviceMethod) it.next(); Set keys2 = bindings.keySet(); Iterator it2 = keys2.iterator(); // all bindings while (it2.hasNext()) { Object old = it2.next(); if (!(old instanceof Value) && !(old instanceof Stmt)) continue; if (adviceMethodInfo .adviceMethodInvokationStmts .contains(old)) { adviceMethodInfo.adviceMethodInvokationStmts.remove(old); adviceMethodInfo.adviceMethodInvokationStmts.add( bindings.get(old)); // replace with new } // this is only necessary if proceed calls are ever part of a shadow, // for example if the advice body were to be matched by an adviceexecution pointcut. // TODO: does this kind of thing ever happen? if (adviceMethodInfo.interfaceInvokationStmts.contains(old)) { adviceMethodInfo.interfaceInvokationStmts.remove(old); adviceMethodInfo.interfaceInvokationStmts.add( bindings.get(old)); // replace with new } if (adviceMethodInfo.directInvokationStmts.contains(old)) { adviceMethodInfo.directInvokationStmts.remove(old); adviceMethodInfo.directInvokationStmts.add( bindings.get(old)); } } } } | 236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/6f8eb0cf436a1f3dac35c49214c75f80d0443b74/AroundWeaver.java/buggy/aop/abc/src/abc/weaving/weaver/AroundWeaver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1089,
16776,
8221,
774,
14663,
12,
8658,
7394,
13,
288,
202,
202,
2532,
924,
273,
919,
18,
361,
633,
4712,
18,
2372,
5621,
202,
202,
3198,
518,
273,
924,
18,
9838,
5621,
202,
202,
759,
777,
29929,
2590,
202,
202,
17523,
261,
305,
18,
5332,
2134,
10756,
288,
1082,
202,
1871,
633,
1305,
29929,
1305,
966,
273,
261,
1871,
633,
1305,
13,
518,
18,
4285,
5621,
1082,
202,
694,
1311,
22,
273,
7394,
18,
856,
694,
5621,
1082,
202,
3198,
518,
22,
273,
1311,
22,
18,
9838,
5621,
1082,
202,
759,
777,
7394,
1082,
202,
17523,
261,
305,
22,
18,
5332,
2134,
10756,
288,
9506,
202,
921,
1592,
273,
518,
22,
18,
4285,
5621,
9506,
202,
430,
16051,
12,
1673,
1276,
1445,
13,
597,
401,
12,
1673,
1276,
13751,
3719,
6862,
202,
17143,
31,
9506,
202,
430,
261,
361,
633,
1305,
966,
6862,
202,
18,
361,
633,
1305,
11354,
367,
8952,
87,
6862,
202,
18,
12298,
12,
1673,
3719,
288,
6862,
202,
361,
633,
1305,
966,
18,
361,
633,
1305,
11354,
367,
8952,
87,
18,
4479,
12,
1673,
1769,
6862,
202,
361,
633,
1305,
966,
18,
361,
633,
1305,
11354,
367,
8952,
87,
18,
1289,
12,
25083,
202,
15863,
18,
588,
12,
1673,
10019,
6862,
202,
759,
1453,
598,
394,
9506,
202,
97,
9506,
202,
759,
333,
353,
1338,
4573,
309,
11247,
4097,
854,
14103,
1087,
434,
279,
10510,
16,
9506,
202,
759,
364,
3454,
309,
326,
29929,
1417,
4591,
358,
506,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1089,
16776,
8221,
774,
14663,
12,
8658,
7394,
13,
288,
202,
202,
2532,
924,
273,
919,
18,
361,
633,
4712,
18,
2372,
5621,
202,
202,
3198,
518,
273,
924,
18,
9838,
5621,
202,
202,
759,
777,
29929,
2590,
202,
202,
17523,
261,
305,
18,
5332,
2134,
10756,
288,
1082,
202,
1871,
633,
1305,
29929,
1305,
966,
273,
261,
1871,
633,
1305,
13,
518,
18,
4285,
5621,
1082,
202,
694,
1311,
22,
273,
7394,
18,
856,
694,
5621,
1082,
202,
3198,
518,
22,
273,
1311,
22,
18,
9838,
5621,
1082,
202,
759,
777,
7394,
1082,
202,
17523,
261,
305,
22,
18,
5332,
2134,
10756,
288,
9506,
202,
921,
1592,
273,
518,
22,
18,
4285,
5621,
2
] |
public Graphics draw(Graphics g) { Graphics clientg = super.draw(g); if(!isMinimized()) { int i = 0; RPObject object = StendhalClient.get().getPlayer(); if (object != null) { RPSlot slot = object.getSlot("!buddy"); RPObject buddy = slot.getFirst(); buddies.clear(); for (String key : buddy) { if (key.startsWith("_")) { buddies.add(key.substring(1)); if (buddy.getInt(key) == 0) { clientg.setColor(Color.RED); offline.draw(clientg, 3, 2 + i * 20); clientg.drawString(key.substring(1), 24, 16 + i * 20); } else { clientg.setColor(Color.GREEN); online.draw(clientg, 3, 2 + i * 20); clientg.drawString(key.substring(1), 24, 16 + i * 20); } i++; } } } resizeToFitClientArea(132, i * 20 + 3); } return clientg; } | 4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/5647b293a3291529beeb6bbd858ef447bf7e41bd/Buddies.java/clean/src/games/stendhal/client/gui/wt/Buddies.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
17558,
9446,
12,
29459,
1055,
15329,
202,
202,
29459,
1017,
676,
75,
33,
9565,
18,
9446,
12,
75,
1769,
9506,
202,
430,
12,
5,
291,
2930,
381,
1235,
10756,
95,
474,
77,
33,
20,
31,
54,
52,
921,
1612,
33,
510,
409,
22314,
1227,
18,
588,
7675,
588,
12148,
5621,
430,
12,
1612,
5,
33,
2011,
15329,
54,
52,
8764,
14194,
33,
1612,
18,
588,
8764,
2932,
5,
70,
29017,
8863,
54,
52,
921,
70,
29017,
33,
14194,
18,
588,
3759,
5621,
70,
20567,
606,
18,
8507,
5621,
1884,
12,
780,
856,
30,
70,
29017,
15329,
430,
12,
856,
18,
17514,
1190,
2932,
9548,
3719,
95,
70,
20567,
606,
18,
1289,
12,
856,
18,
28023,
12,
21,
10019,
430,
12,
70,
29017,
18,
588,
1702,
12,
856,
13,
631,
20,
15329,
2625,
75,
18,
542,
2957,
12,
2957,
18,
5879,
1769,
23787,
18,
9446,
12,
2625,
75,
16,
23,
16,
22,
15,
77,
14,
3462,
1769,
2625,
75,
18,
9446,
780,
12,
856,
18,
28023,
12,
21,
3631,
3247,
16,
2313,
15,
77,
14,
3462,
1769,
97,
12107,
95,
2625,
75,
18,
542,
2957,
12,
2957,
18,
29500,
1769,
21026,
18,
9446,
12,
2625,
75,
16,
23,
16,
22,
15,
77,
14,
3462,
1769,
2625,
75,
18,
9446,
780,
12,
856,
18,
28023,
12,
21,
3631,
3247,
16,
2313,
15,
77,
14,
3462,
1769,
97,
77,
9904,
31,
9090,
97,
15169,
774,
14219,
1227,
5484,
12,
22152,
16,
77,
14,
3462,
15,
23,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
17558,
9446,
12,
29459,
1055,
15329,
202,
202,
29459,
1017,
676,
75,
33,
9565,
18,
9446,
12,
75,
1769,
9506,
202,
430,
12,
5,
291,
2930,
381,
1235,
10756,
95,
474,
77,
33,
20,
31,
54,
52,
921,
1612,
33,
510,
409,
22314,
1227,
18,
588,
7675,
588,
12148,
5621,
430,
12,
1612,
5,
33,
2011,
15329,
54,
52,
8764,
14194,
33,
1612,
18,
588,
8764,
2932,
5,
70,
29017,
8863,
54,
52,
921,
70,
29017,
33,
14194,
18,
588,
3759,
5621,
70,
20567,
606,
18,
8507,
5621,
1884,
12,
780,
856,
30,
70,
29017,
15329,
430,
12,
856,
18,
17514,
1190,
2932,
9548,
3719,
95,
70,
20567,
606,
18,
1289,
12,
856,
18,
28023,
12,
2
] |
||
if (eqReplaced.indexOf("=") != -1){ | if (eqReplaced.indexOf("=") != -1){ | public boolean isValid(PySelection ps, String sel, PyEdit edit, int offset) { try { if(! (ps.getTextSelection().getLength() == 0)) return false; String lineToCursor = ps.getLineContentsToCursor(); if( ! ( sel.indexOf("class ") == -1 && sel.indexOf("def ") == -1 && sel.indexOf("import ") == -1)) return false; String eqReplaced = sel.replaceAll("==", ""); if (eqReplaced.indexOf("=") != -1){ //ok, make analysis taking into account the first parentesis if(eqReplaced.indexOf('(') == -1){ return false; } int i = eqReplaced.indexOf('('); if(eqReplaced.substring(0, i).indexOf('=') != -1){ return false; } } if( lineToCursor.trim().endsWith(")")) return true; if( lineToCursor.indexOf('.') != -1) return true; } catch (BadLocationException e) { } return false; } | 50371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50371/47e20d438631022f902a772d44ceef9ed362b7c5/AssistAssign.java/buggy/org.python.pydev/src/org/python/pydev/editor/correctionassist/heuristics/AssistAssign.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
4908,
12,
9413,
6233,
4250,
16,
514,
357,
16,
4707,
4666,
3874,
16,
509,
1384,
13,
288,
3639,
775,
288,
5411,
309,
12,
5,
261,
1121,
18,
588,
1528,
6233,
7675,
588,
1782,
1435,
422,
374,
3719,
7734,
327,
629,
31,
5411,
514,
19785,
6688,
273,
4250,
18,
588,
1670,
6323,
774,
6688,
5621,
5411,
309,
12,
401,
261,
357,
18,
31806,
2932,
1106,
9369,
422,
300,
21,
597,
357,
18,
31806,
2932,
536,
9369,
422,
300,
21,
597,
357,
18,
31806,
2932,
5666,
9369,
422,
300,
21,
3719,
7734,
327,
629,
31,
5411,
514,
7555,
5729,
72,
273,
357,
18,
2079,
1595,
2932,
631,
3113,
1408,
1769,
5411,
309,
261,
11253,
5729,
72,
18,
31806,
2932,
1546,
13,
480,
300,
21,
15329,
7734,
368,
601,
16,
1221,
6285,
13763,
1368,
2236,
326,
1122,
982,
16786,
7734,
309,
12,
11253,
5729,
72,
18,
31806,
2668,
2668,
13,
422,
300,
21,
15329,
10792,
327,
629,
31,
7734,
289,
7734,
509,
277,
273,
7555,
5729,
72,
18,
31806,
2668,
2668,
1769,
7734,
309,
12,
11253,
5729,
72,
18,
28023,
12,
20,
16,
277,
2934,
31806,
2668,
2218,
13,
480,
300,
21,
15329,
10792,
327,
629,
31,
7734,
289,
5411,
289,
13491,
309,
12,
19785,
6688,
18,
5290,
7675,
5839,
1190,
2932,
2225,
3719,
7734,
327,
638,
31,
13491,
309,
12,
19785,
6688,
18,
31806,
2668,
1093,
13,
480,
300,
21,
13,
7734,
327,
638,
31,
27573,
289,
1044,
261,
6434,
2735,
503,
425,
13,
288,
3639,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
4908,
12,
9413,
6233,
4250,
16,
514,
357,
16,
4707,
4666,
3874,
16,
509,
1384,
13,
288,
3639,
775,
288,
5411,
309,
12,
5,
261,
1121,
18,
588,
1528,
6233,
7675,
588,
1782,
1435,
422,
374,
3719,
7734,
327,
629,
31,
5411,
514,
19785,
6688,
273,
4250,
18,
588,
1670,
6323,
774,
6688,
5621,
5411,
309,
12,
401,
261,
357,
18,
31806,
2932,
1106,
9369,
422,
300,
21,
597,
357,
18,
31806,
2932,
536,
9369,
422,
300,
21,
597,
357,
18,
31806,
2932,
5666,
9369,
422,
300,
21,
3719,
7734,
327,
629,
31,
5411,
514,
7555,
5729,
72,
273,
357,
18,
2079,
1595,
2932,
631,
3113,
1408,
1769,
5411,
309,
261,
11253,
5729,
72,
18,
31806,
2
] |
AST __t1996 = _t; | AST __t1997 = _t; | public final void sizephrase(AST _t) throws RecognitionException { AST sizephrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SIZE: { AST __t1995 = _t; AST tmp2088_AST_in = (AST)_t; match(_t,SIZE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp2089_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1995; _t = _t.getNextSibling(); break; } case SIZECHARS: { AST __t1996 = _t; AST tmp2090_AST_in = (AST)_t; match(_t,SIZECHARS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp2091_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1996; _t = _t.getNextSibling(); break; } case SIZEPIXELS: { AST __t1997 = _t; AST tmp2092_AST_in = (AST)_t; match(_t,SIZEPIXELS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp2093_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1997; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; } | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
963,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
963,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
11963,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
19818,
25,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3462,
5482,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
4574,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
8692,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
9053,
1853,
3462,
6675,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
6486,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8692,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
19818,
25,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
11963,
21666,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
19818,
26,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3462,
9349,
67,
9053,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
963,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
963,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
11963,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
19818,
25,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3462,
5482,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
4574,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
2
] |
String method = m_outputFormat.getProperty(OutputKeys.METHOD); | private void createResultContentHandler(Result outputTarget) throws TransformerException { if (outputTarget instanceof SAXResult) { SAXResult saxResult = (SAXResult) outputTarget; m_resultContentHandler = saxResult.getHandler(); m_resultLexicalHandler = saxResult.getLexicalHandler(); if (m_resultContentHandler instanceof Serializer) { // Dubious but needed, I think. m_serializer = (Serializer) m_resultContentHandler; } } else if (outputTarget instanceof DOMResult) { DOMResult domResult = (DOMResult) outputTarget; Node outputNode = domResult.getNode(); Node nextSibling = domResult.getNextSibling(); Document doc; short type; if (null != outputNode) { type = outputNode.getNodeType(); doc = (Node.DOCUMENT_NODE == type) ? (Document) outputNode : outputNode.getOwnerDocument(); } else { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); if (m_isSecureProcessing) { try { dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true); } catch (ParserConfigurationException pce) {} } DocumentBuilder db = dbf.newDocumentBuilder(); doc = db.newDocument(); } catch (ParserConfigurationException pce) { throw new TransformerException(pce); } outputNode = doc; type = outputNode.getNodeType(); ((DOMResult) outputTarget).setNode(outputNode); } DOMBuilder domBuilder = (Node.DOCUMENT_FRAGMENT_NODE == type) ? new DOMBuilder(doc, (DocumentFragment) outputNode) : new DOMBuilder(doc, outputNode); if (nextSibling != null) domBuilder.setNextSibling(nextSibling); m_resultContentHandler = domBuilder; m_resultLexicalHandler = domBuilder; } else if (outputTarget instanceof StreamResult) { StreamResult sresult = (StreamResult) outputTarget; String method = m_outputFormat.getProperty(OutputKeys.METHOD); try { Serializer serializer = SerializerFactory.getSerializer(m_outputFormat.getProperties()); m_serializer = serializer; if (null != sresult.getWriter()) serializer.setWriter(sresult.getWriter()); else if (null != sresult.getOutputStream()) serializer.setOutputStream(sresult.getOutputStream()); else if (null != sresult.getSystemId()) { String fileURL = sresult.getSystemId(); if (fileURL.startsWith("file:///")) { if (fileURL.substring(8).indexOf(":") >0) { fileURL = fileURL.substring(8); } else { fileURL = fileURL.substring(7); } } else if (fileURL.startsWith("file:/")) { if (fileURL.substring(6).indexOf(":") >0) { fileURL = fileURL.substring(6); } else { fileURL = fileURL.substring(5); } } m_outputStream = new java.io.FileOutputStream(fileURL); serializer.setOutputStream(m_outputStream); } else throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_NO_OUTPUT_SPECIFIED, null)); //"No output specified!"); m_resultContentHandler = serializer.asContentHandler(); } catch (IOException ioe) { throw new TransformerException(ioe); } } else { throw new TransformerException(XSLMessages.createMessage(XSLTErrorResources.ER_CANNOT_TRANSFORM_TO_RESULT_TYPE, new Object[]{outputTarget.getClass().getName()})); //"Can't transform to a Result of type " // + outputTarget.getClass().getName() // + "!"); } if (m_resultContentHandler instanceof DTDHandler) m_resultDTDHandler = (DTDHandler) m_resultContentHandler; if (m_resultContentHandler instanceof DeclHandler) m_resultDeclHandler = (DeclHandler) m_resultContentHandler; if (m_resultContentHandler instanceof LexicalHandler) m_resultLexicalHandler = (LexicalHandler) m_resultContentHandler; } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/54762126edf32d9d32dcf102848369d9182128d6/TransformerIdentityImpl.java/buggy/src/org/apache/xalan/transformer/TransformerIdentityImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
752,
1253,
1350,
1503,
12,
1253,
876,
2326,
13,
1850,
1216,
21684,
225,
288,
565,
309,
261,
2844,
2326,
1276,
10168,
1253,
13,
565,
288,
1377,
10168,
1253,
20319,
1253,
273,
261,
55,
2501,
1253,
13,
876,
2326,
31,
1377,
312,
67,
2088,
1350,
1503,
273,
20319,
1253,
18,
588,
1503,
5621,
1377,
312,
67,
2088,
14756,
1706,
1503,
273,
20319,
1253,
18,
588,
14756,
1706,
1503,
5621,
1377,
309,
261,
81,
67,
2088,
1350,
1503,
1276,
15348,
13,
1377,
288,
3639,
368,
463,
373,
22774,
1496,
3577,
16,
467,
15507,
18,
3639,
312,
67,
15663,
273,
261,
6306,
13,
312,
67,
2088,
1350,
1503,
31,
1377,
289,
565,
289,
565,
469,
309,
261,
2844,
2326,
1276,
4703,
1253,
13,
565,
288,
1377,
4703,
1253,
4092,
1253,
273,
261,
8168,
1253,
13,
876,
2326,
31,
1377,
2029,
876,
907,
273,
4092,
1253,
18,
588,
907,
5621,
1377,
2029,
19419,
273,
4092,
1253,
18,
588,
2134,
10291,
5621,
1377,
4319,
997,
31,
1377,
3025,
618,
31,
1377,
309,
261,
2011,
480,
876,
907,
13,
1377,
288,
3639,
618,
273,
876,
907,
18,
588,
15101,
5621,
3639,
997,
273,
261,
907,
18,
18450,
67,
8744,
422,
618,
13,
2868,
692,
261,
2519,
13,
876,
907,
294,
876,
907,
18,
588,
5541,
2519,
5621,
1377,
289,
1377,
469,
1377,
288,
3639,
775,
3639,
288,
1850,
30236,
1319,
74,
273,
30236,
18,
2704,
1442,
5621,
1850,
1319,
74,
18,
542,
3402,
10155,
12,
3767,
1769,
1850,
309,
261,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
752,
1253,
1350,
1503,
12,
1253,
876,
2326,
13,
1850,
1216,
21684,
225,
288,
565,
309,
261,
2844,
2326,
1276,
10168,
1253,
13,
565,
288,
1377,
10168,
1253,
20319,
1253,
273,
261,
55,
2501,
1253,
13,
876,
2326,
31,
1377,
312,
67,
2088,
1350,
1503,
273,
20319,
1253,
18,
588,
1503,
5621,
1377,
312,
67,
2088,
14756,
1706,
1503,
273,
20319,
1253,
18,
588,
14756,
1706,
1503,
5621,
1377,
309,
261,
81,
67,
2088,
1350,
1503,
1276,
15348,
13,
1377,
288,
3639,
368,
463,
373,
22774,
1496,
3577,
16,
467,
15507,
18,
3639,
312,
67,
15663,
273,
261,
6306,
13,
312,
67,
2088,
1350,
1503,
31,
1377,
289,
565,
289,
565,
469,
309,
261,
2844,
2326,
2
] |
|
String s = br.readLine(); while (s != null) { out.write(s); s = br.readLine(); | String line = br.readLine(); while (line != null) { out.write(line); out.write('\n'); line = br.readLine(); | private void writeStatus(java.io.Writer out) throws JspException { BufferedReader br = null; File logDir = findLogDir(); String currentBuildFileName = getContextParam("currentBuildStatusFile"); if (currentBuildFileName == null || currentBuildFileName.equals("")) { System.err.println("CruiseControl: currentBuildStatusFile not defined in the web.xml"); return; } File currentBuildFile = new File(logDir, currentBuildFileName); if (currentBuildFile.isDirectory()) { System.err.println( "CruiseControl: currentBuildStatusFile " + currentBuildFile.getAbsolutePath() + " is a directory." + " Edit the web.xml to provide the path to the correct file."); return; } if (!currentBuildFile.exists()) { System.err.println( "CruiseControl: currentBuildStatusFile " + currentBuildFile.getAbsolutePath() + " does not exist." + " You may need to update the value in the web.xml" + " or the location specified in your CruiseControl config.xml."); return; } try { br = new BufferedReader(new FileReader(currentBuildFile)); String s = br.readLine(); while (s != null) { out.write(s); s = br.readLine(); } } catch (IOException e) { e.printStackTrace(); throw new JspException( "Error reading status file: " + currentBuildFileName + " : " + e.getMessage()); } finally { try { if (br != null) { br.close(); } } catch (IOException e) { e.printStackTrace(); } br = null; } } | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/2ed80f33bc52bedcd225a57b77973a217c514cda/CurrentBuildStatusTag.java/clean/reporting/jsp/src/net/sourceforge/cruisecontrol/taglib/CurrentBuildStatusTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
1482,
12,
6290,
18,
1594,
18,
2289,
596,
13,
1216,
27485,
288,
3639,
10633,
5186,
273,
446,
31,
3639,
1387,
31101,
273,
1104,
1343,
1621,
5621,
3639,
514,
783,
3116,
4771,
273,
6474,
786,
2932,
2972,
3116,
1482,
812,
8863,
3639,
309,
261,
2972,
3116,
4771,
422,
446,
747,
783,
3116,
4771,
18,
14963,
2932,
6,
3719,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
39,
8653,
784,
3367,
30,
783,
3116,
1482,
812,
486,
2553,
316,
326,
3311,
18,
2902,
8863,
5411,
327,
31,
3639,
289,
3639,
1387,
783,
3116,
812,
273,
394,
1387,
12,
1330,
1621,
16,
783,
3116,
4771,
1769,
3639,
309,
261,
2972,
3116,
812,
18,
291,
2853,
10756,
288,
5411,
2332,
18,
370,
18,
8222,
12,
7734,
315,
39,
8653,
784,
3367,
30,
783,
3116,
1482,
812,
315,
10792,
397,
783,
3116,
812,
18,
588,
10368,
743,
1435,
10792,
397,
315,
353,
279,
1867,
1199,
5397,
397,
315,
15328,
326,
3311,
18,
2902,
358,
5615,
326,
589,
358,
326,
3434,
585,
1199,
1769,
5411,
327,
31,
3639,
289,
3639,
309,
16051,
2972,
3116,
812,
18,
1808,
10756,
288,
5411,
2332,
18,
370,
18,
8222,
12,
7734,
315,
39,
8653,
784,
3367,
30,
783,
3116,
1482,
812,
315,
10792,
397,
783,
3116,
812,
18,
588,
10368,
743,
1435,
10792,
397,
315,
1552,
486,
1005,
1199,
10792,
397,
315,
4554,
2026,
1608,
358,
1089,
326,
460,
316,
326,
3311,
18,
2902,
6,
10792,
397,
315,
578,
326,
2117,
1269,
316,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
1482,
12,
6290,
18,
1594,
18,
2289,
596,
13,
1216,
27485,
288,
3639,
10633,
5186,
273,
446,
31,
3639,
1387,
31101,
273,
1104,
1343,
1621,
5621,
3639,
514,
783,
3116,
4771,
273,
6474,
786,
2932,
2972,
3116,
1482,
812,
8863,
3639,
309,
261,
2972,
3116,
4771,
422,
446,
747,
783,
3116,
4771,
18,
14963,
2932,
6,
3719,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
39,
8653,
784,
3367,
30,
783,
3116,
1482,
812,
486,
2553,
316,
326,
3311,
18,
2902,
8863,
5411,
327,
31,
3639,
289,
3639,
1387,
783,
3116,
812,
273,
394,
1387,
12,
1330,
1621,
16,
783,
3116,
4771,
1769,
3639,
309,
261,
2972,
3116,
812,
18,
291,
2853,
10756,
288,
5411,
2
] |
set(parameterIndex, x.toString()); | if (x == null) setNull(parameterIndex, Types.OTHER); else { set(parameterIndex, x.toString()); } | public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException { set(parameterIndex, x.toString()); } | 46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/da631e931f9da4bc5df4bfd39f0c42684adfb8e5/PreparedStatement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/PreparedStatement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
29436,
12,
474,
25412,
16,
8150,
619,
13,
1216,
6483,
202,
95,
202,
202,
542,
12,
6775,
1016,
16,
619,
18,
10492,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
29436,
12,
474,
25412,
16,
8150,
619,
13,
1216,
6483,
202,
95,
202,
202,
542,
12,
6775,
1016,
16,
619,
18,
10492,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (end != (mv.length-1)) | if (end != (mv.length-1)) { if (Debug.debug) Debug.print(Debug.VERBOSE, "System.arraycopy({0..."+mv.length+"},0,{0..."+lv.length+"},"+(mv.length-start)+","+(end+1)+");"); | public long[] getKeys() { int size; if (start < end) size = end-start-1; else size = mv.length-(start-end); long[] lv = new long[size]; System.arraycopy(mv,start,lv,0,mv.length-start); if (end != (mv.length-1)) System.arraycopy(mv,0,lv,mv.length-start,end+1); return lv; } | 5401 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5401/bc28942a2813fa5bb90f80ac1853020080f82dc0/EfficientQueue.java/buggy/org/freedesktop/dbus/EfficientQueue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
1525,
8526,
24753,
1435,
282,
288,
1377,
509,
963,
31,
1377,
309,
261,
1937,
411,
679,
13,
963,
273,
679,
17,
1937,
17,
21,
31,
1377,
469,
963,
273,
7701,
18,
2469,
17,
12,
1937,
17,
409,
1769,
1377,
1525,
8526,
5362,
273,
394,
1525,
63,
1467,
15533,
1377,
2332,
18,
1126,
3530,
12,
17509,
16,
1937,
16,
3070,
16,
20,
16,
17509,
18,
2469,
17,
1937,
1769,
1377,
309,
261,
409,
480,
261,
17509,
18,
2469,
17,
21,
3719,
288,
309,
261,
2829,
18,
4148,
13,
4015,
18,
1188,
12,
2829,
18,
21900,
16,
315,
3163,
18,
1126,
3530,
12590,
20,
7070,
15,
17509,
18,
2469,
9078,
5779,
20,
16,
95,
20,
7070,
15,
3070,
18,
2469,
9078,
5779,
6,
15,
12,
17509,
18,
2469,
17,
1937,
27921,
15937,
15,
12,
409,
15,
21,
27921,
8863,
8863,
1850,
2332,
18,
1126,
3530,
12,
17509,
16,
20,
16,
3070,
16,
17509,
18,
2469,
17,
1937,
16,
409,
15,
21,
1769,
1377,
327,
5362,
31,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
1525,
8526,
24753,
1435,
282,
288,
1377,
509,
963,
31,
1377,
309,
261,
1937,
411,
679,
13,
963,
273,
679,
17,
1937,
17,
21,
31,
1377,
469,
963,
273,
7701,
18,
2469,
17,
12,
1937,
17,
409,
1769,
1377,
1525,
8526,
5362,
273,
394,
1525,
63,
1467,
15533,
1377,
2332,
18,
1126,
3530,
12,
17509,
16,
1937,
16,
3070,
16,
20,
16,
17509,
18,
2469,
17,
1937,
1769,
1377,
309,
261,
409,
480,
261,
17509,
18,
2469,
17,
21,
3719,
288,
309,
261,
2829,
18,
4148,
13,
4015,
18,
1188,
12,
2829,
18,
21900,
16,
315,
3163,
18,
1126,
3530,
12590,
20,
7070,
15,
17509,
18,
2469,
9078,
5779,
20,
16,
95,
20,
7070,
15,
3070,
18,
2
] |
Folder folder = (Folder) folders.get(folderPath); | String lastFolderPath = (String) session.getAttribute("lastFolderPath"); Folder lastFolder = (Folder) session.getAttribute("lastFolder"); | private Folder getFolder(HttpSession session, String folderPath) { Hashtable folders = getFolders(session); Folder folder = (Folder) folders.get(folderPath); return folder; } | 5127 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5127/fe20d976273f5ace5a473f04f2971ddcf780edcb/Controller.java/buggy/WEB-INF/src/de/jwi/jgallery/servlets/Controller.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
12623,
29001,
12,
2940,
2157,
1339,
16,
514,
28121,
13,
202,
95,
202,
202,
5582,
14544,
9907,
273,
2812,
4665,
12,
3184,
1769,
202,
202,
3899,
3009,
273,
261,
3899,
13,
9907,
18,
588,
12,
5609,
743,
1769,
202,
202,
2463,
3009,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
12623,
29001,
12,
2940,
2157,
1339,
16,
514,
28121,
13,
202,
95,
202,
202,
5582,
14544,
9907,
273,
2812,
4665,
12,
3184,
1769,
202,
202,
3899,
3009,
273,
261,
3899,
13,
9907,
18,
588,
12,
5609,
743,
1769,
202,
202,
2463,
3009,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
getMethods().put(name, new AliasMethod(method, oldName, origin, method.getNoex())); | getMethods().put(name, new AliasMethod(method, oldName, origin, method.getVisibility())); | public void aliasMethod(String name, String oldName) { testFrozen(); if (oldName.equals(name)) { return; } if (this == getRuntime().getClasses().getObjectClass()) { getRuntime().secure(4); } ICallable method = searchMethod(oldName); RubyModule origin = null; if (method == null) { if (isModule()) { method = getRuntime().getClasses().getObjectClass().searchMethod(oldName); } if (method == null) { throw new NameError( ruby, "undefined method '" + name + "' for " + (isModule() ? "module" : "class") + " '" + toName() + "'"); } } origin = method.getImplementationClass(); if (method instanceof AliasMethod) { /* was alias */ oldName = ((AliasMethod) method).getOldName(); origin = ((AliasMethod) method).getOrigin(); method = ((AliasMethod) method).getOldMethod(); } getRuntime().getMethodCache().clearByName(name); getMethods().put(name, new AliasMethod(method, oldName, origin, method.getNoex())); } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/f05423516c2d1bfe54c4363eedb9654f7cfb6898/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2308,
1305,
12,
780,
508,
16,
514,
22916,
13,
288,
3639,
1842,
42,
9808,
5621,
3639,
309,
261,
1673,
461,
18,
14963,
12,
529,
3719,
288,
5411,
327,
31,
3639,
289,
3639,
309,
261,
2211,
422,
18814,
7675,
588,
4818,
7675,
588,
921,
797,
10756,
288,
5411,
18814,
7675,
8869,
12,
24,
1769,
3639,
289,
3639,
467,
11452,
707,
273,
1623,
1305,
12,
1673,
461,
1769,
3639,
19817,
3120,
4026,
273,
446,
31,
3639,
309,
261,
2039,
422,
446,
13,
288,
5411,
309,
261,
291,
3120,
10756,
288,
7734,
707,
273,
18814,
7675,
588,
4818,
7675,
588,
921,
797,
7675,
3072,
1305,
12,
1673,
461,
1769,
5411,
289,
5411,
309,
261,
2039,
422,
446,
13,
288,
7734,
604,
394,
25473,
12,
10792,
22155,
16,
10792,
315,
5978,
707,
2119,
397,
508,
397,
2491,
364,
315,
397,
261,
291,
3120,
1435,
692,
315,
2978,
6,
294,
315,
1106,
7923,
397,
315,
2119,
397,
358,
461,
1435,
397,
5862,
1769,
5411,
289,
3639,
289,
3639,
4026,
273,
707,
18,
588,
13621,
797,
5621,
3639,
309,
261,
2039,
1276,
11873,
1305,
13,
288,
1748,
1703,
2308,
1195,
5411,
22916,
273,
14015,
2936,
1305,
13,
707,
2934,
588,
7617,
461,
5621,
5411,
4026,
273,
14015,
2936,
1305,
13,
707,
2934,
588,
7571,
5621,
5411,
707,
273,
14015,
2936,
1305,
13,
707,
2934,
588,
7617,
1305,
5621,
3639,
289,
3639,
18814,
7675,
588,
1305,
1649,
7675,
8507,
5911,
12,
529,
1769,
3639,
15429,
7675,
458,
12,
529,
16,
394,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2308,
1305,
12,
780,
508,
16,
514,
22916,
13,
288,
3639,
1842,
42,
9808,
5621,
3639,
309,
261,
1673,
461,
18,
14963,
12,
529,
3719,
288,
5411,
327,
31,
3639,
289,
3639,
309,
261,
2211,
422,
18814,
7675,
588,
4818,
7675,
588,
921,
797,
10756,
288,
5411,
18814,
7675,
8869,
12,
24,
1769,
3639,
289,
3639,
467,
11452,
707,
273,
1623,
1305,
12,
1673,
461,
1769,
3639,
19817,
3120,
4026,
273,
446,
31,
3639,
309,
261,
2039,
422,
446,
13,
288,
5411,
309,
261,
291,
3120,
10756,
288,
7734,
707,
273,
18814,
7675,
588,
4818,
7675,
588,
921,
797,
7675,
3072,
1305,
12,
1673,
461,
1769,
5411,
289,
5411,
309,
261,
2039,
422,
446,
13,
288,
2
] |
type.append("enum"); | type.append("enum"); | public static String getElaboratedTypeSignature(IASTElaboratedTypeSpecifier elab){ StringBuffer type = new StringBuffer(); ASTClassKind t = elab.getClassKind(); if( t == ASTClassKind.CLASS){ type.append("class"); } else if( t == ASTClassKind.STRUCT){ type.append("struct"); } else if( t == ASTClassKind.UNION){ type.append("union"); } else if( t == ASTClassKind.STRUCT){ type.append("enum"); } type.append(" "); type.append(elab.getName().toString()); return type.toString(); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/95f42aeb9e7f38db093795981bd7c7300a3eeeb6/ASTUtil.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/util/ASTUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
4774,
7411,
280,
690,
559,
5374,
12,
45,
9053,
4958,
378,
280,
690,
559,
21416,
415,
378,
15329,
202,
202,
780,
1892,
618,
273,
394,
6674,
5621,
202,
202,
9053,
797,
5677,
268,
273,
415,
378,
18,
588,
797,
5677,
5621,
202,
202,
430,
12,
268,
422,
9183,
797,
5677,
18,
5237,
15329,
1082,
202,
723,
18,
6923,
2932,
1106,
8863,
202,
202,
97,
3196,
202,
12107,
309,
12,
268,
422,
9183,
797,
5677,
18,
13915,
15329,
1082,
202,
723,
18,
6923,
2932,
1697,
8863,
202,
202,
97,
202,
202,
12107,
309,
12,
268,
422,
9183,
797,
5677,
18,
2124,
1146,
15329,
1082,
202,
723,
18,
6923,
2932,
18910,
8863,
202,
202,
97,
202,
202,
12107,
309,
12,
268,
422,
9183,
797,
5677,
18,
13915,
15329,
1082,
202,
723,
18,
6923,
2932,
7924,
8863,
202,
202,
97,
202,
202,
723,
18,
6923,
2932,
315,
1769,
202,
202,
723,
18,
6923,
12,
28765,
18,
17994,
7675,
10492,
10663,
202,
202,
2463,
618,
18,
10492,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
4774,
7411,
280,
690,
559,
5374,
12,
45,
9053,
4958,
378,
280,
690,
559,
21416,
415,
378,
15329,
202,
202,
780,
1892,
618,
273,
394,
6674,
5621,
202,
202,
9053,
797,
5677,
268,
273,
415,
378,
18,
588,
797,
5677,
5621,
202,
202,
430,
12,
268,
422,
9183,
797,
5677,
18,
5237,
15329,
1082,
202,
723,
18,
6923,
2932,
1106,
8863,
202,
202,
97,
3196,
202,
12107,
309,
12,
268,
422,
9183,
797,
5677,
18,
13915,
15329,
1082,
202,
723,
18,
6923,
2932,
1697,
8863,
202,
202,
97,
202,
202,
12107,
309,
12,
268,
422,
9183,
797,
5677,
18,
2124,
1146,
15329,
1082,
202,
723,
18,
6923,
2932,
18910,
8863,
202,
202,
97,
202,
2
] |
private boolean includeMethodFromExpression(ITestNGMethod tm, boolean isTestMethod) { | private boolean includeMethodFromExpression(ITestNGMethod tm, boolean isTestMethod) { | private boolean includeMethodFromExpression(ITestNGMethod tm, boolean isTestMethod) { boolean result = false; Interpreter interpreter = new Interpreter(); try { Map<String, String> groups = new HashMap<String, String>(); for (String group : tm.getGroups()) { groups.put(group, group); } interpreter.set("method", tm.getMethod()); interpreter.set("groups", groups); interpreter.set("testngMethod", tm); Object evalResult = interpreter.eval(m_expression); result = ((Boolean) evalResult).booleanValue(); } catch (EvalError e) { e.printStackTrace(); } return result; } | 47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/323d80403111e25862b46f6b965552114f0d11c9/XmlMethodSelector.java/clean/src/main/org/testng/internal/XmlMethodSelector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
2341,
1305,
1265,
2300,
12,
1285,
395,
4960,
1305,
6118,
16,
4202,
1250,
353,
4709,
1305,
13,
282,
288,
565,
1250,
563,
273,
629,
31,
565,
5294,
11599,
16048,
273,
394,
5294,
11599,
5621,
565,
775,
288,
1377,
1635,
32,
780,
16,
514,
34,
3252,
273,
394,
4317,
32,
780,
16,
514,
34,
5621,
1377,
364,
261,
780,
1041,
294,
6118,
18,
588,
3621,
10756,
288,
3639,
3252,
18,
458,
12,
1655,
16,
1041,
1769,
1377,
289,
1377,
16048,
18,
542,
2932,
2039,
3113,
6118,
18,
588,
1305,
10663,
1377,
16048,
18,
542,
2932,
4650,
3113,
3252,
1769,
1377,
16048,
18,
542,
2932,
3813,
3368,
1305,
3113,
6118,
1769,
1377,
1033,
5302,
1253,
273,
16048,
18,
8622,
12,
81,
67,
8692,
1769,
1377,
563,
273,
14015,
5507,
13,
5302,
1253,
2934,
6494,
620,
5621,
565,
289,
565,
1044,
261,
13904,
668,
425,
13,
288,
1377,
425,
18,
1188,
6332,
5621,
565,
289,
565,
327,
563,
31,
1377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
2341,
1305,
1265,
2300,
12,
1285,
395,
4960,
1305,
6118,
16,
4202,
1250,
353,
4709,
1305,
13,
282,
288,
565,
1250,
563,
273,
629,
31,
565,
5294,
11599,
16048,
273,
394,
5294,
11599,
5621,
565,
775,
288,
1377,
1635,
32,
780,
16,
514,
34,
3252,
273,
394,
4317,
32,
780,
16,
514,
34,
5621,
1377,
364,
261,
780,
1041,
294,
6118,
18,
588,
3621,
10756,
288,
3639,
3252,
18,
458,
12,
1655,
16,
1041,
1769,
1377,
289,
1377,
16048,
18,
542,
2932,
2039,
3113,
6118,
18,
588,
1305,
10663,
1377,
16048,
18,
542,
2932,
4650,
3113,
3252,
1769,
1377,
16048,
18,
542,
2932,
3813,
3368,
1305,
3113,
6118,
1769,
1377,
1033,
5302,
1253,
273,
16048,
18,
2
] |
private String matchLabel() | private Node matchLabel() | private String matchLabel() throws IOException, ParserException { int lineno = ts.getLineno(); String label = null; int tt; tt = ts.peekTokenSameLine(); if (tt == Token.NAME) { ts.getToken(); label = ts.getString(); } if (lineno == ts.getLineno()) checkWellTerminated(); return label; } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/792304a2a96cea5a80c02ff6a02a98f830f7393d/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2029,
845,
2224,
1435,
3639,
1216,
1860,
16,
27990,
565,
288,
3639,
509,
7586,
273,
3742,
18,
588,
48,
267,
5764,
5621,
3639,
514,
1433,
273,
446,
31,
3639,
509,
3574,
31,
3639,
3574,
273,
3742,
18,
347,
3839,
1345,
8650,
1670,
5621,
3639,
309,
261,
748,
422,
3155,
18,
1985,
13,
288,
5411,
3742,
18,
588,
1345,
5621,
5411,
1433,
273,
3742,
18,
588,
780,
5621,
3639,
289,
3639,
309,
261,
17782,
422,
3742,
18,
588,
48,
267,
5764,
10756,
5411,
866,
59,
1165,
21888,
5621,
3639,
327,
1433,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2029,
845,
2224,
1435,
3639,
1216,
1860,
16,
27990,
565,
288,
3639,
509,
7586,
273,
3742,
18,
588,
48,
267,
5764,
5621,
3639,
514,
1433,
273,
446,
31,
3639,
509,
3574,
31,
3639,
3574,
273,
3742,
18,
347,
3839,
1345,
8650,
1670,
5621,
3639,
309,
261,
748,
422,
3155,
18,
1985,
13,
288,
5411,
3742,
18,
588,
1345,
5621,
5411,
1433,
273,
3742,
18,
588,
780,
5621,
3639,
289,
3639,
309,
261,
17782,
422,
3742,
18,
588,
48,
267,
5764,
10756,
5411,
866,
59,
1165,
21888,
5621,
3639,
327,
1433,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
source.append((char)ts.LC); | sourceAdd((char)ts.LC); | private Object primaryExpr(TokenStream ts, Source source) throws IOException, JavaScriptException { int tt; Object pn; ts.flags |= ts.TSF_REGEXP; tt = ts.getToken(); ts.flags &= ~ts.TSF_REGEXP; switch(tt) { case TokenStream.FUNCTION: return function(ts, source, true); case TokenStream.LB: { source.append((char)ts.LB); pn = nf.createLeaf(ts.ARRAYLIT); ts.flags |= ts.TSF_REGEXP; boolean matched = ts.matchToken(ts.RB); ts.flags &= ~ts.TSF_REGEXP; if (!matched) { boolean first = true; do { ts.flags |= ts.TSF_REGEXP; tt = ts.peekToken(); ts.flags &= ~ts.TSF_REGEXP; if (!first) source.append((char)ts.COMMA); else first = false; if (tt == ts.RB) { // to fix [,,,].length behavior... break; } if (tt == ts.COMMA) { nf.addChildToBack(pn, nf.createLeaf(ts.PRIMARY, ts.UNDEFINED)); } else { nf.addChildToBack(pn, assignExpr(ts, source, false)); } } while (ts.matchToken(ts.COMMA)); mustMatchToken(ts, ts.RB, "msg.no.bracket.arg"); } source.append((char)ts.RB); return nf.createArrayLiteral(pn); } case TokenStream.LC: { pn = nf.createLeaf(ts.OBJLIT); source.append((char)ts.LC); if (!ts.matchToken(ts.RC)) { boolean first = true; commaloop: do { Object property; if (!first) source.append((char)ts.COMMA); else first = false; tt = ts.getToken(); switch(tt) { // map NAMEs to STRINGs in object literal context. case TokenStream.NAME: case TokenStream.STRING: String s = ts.getString(); source.addString(ts.NAME, s); property = nf.createString(ts.getString()); break; case TokenStream.NUMBER: double n = ts.getNumber(); source.addNumber(n); property = nf.createNumber(n); break; case TokenStream.RC: // trailing comma is OK. ts.ungetToken(tt); break commaloop; default: reportError(ts, "msg.bad.prop"); break commaloop; } mustMatchToken(ts, ts.COLON, "msg.no.colon.prop"); // OBJLIT is used as ':' in object literal for // decompilation to solve spacing ambiguity. source.append((char)ts.OBJLIT); nf.addChildToBack(pn, property); nf.addChildToBack(pn, assignExpr(ts, source, false)); } while (ts.matchToken(ts.COMMA)); mustMatchToken(ts, ts.RC, "msg.no.brace.prop"); } source.append((char)ts.RC); return nf.createObjectLiteral(pn); } case TokenStream.LP: /* Brendan's IR-jsparse.c makes a new node tagged with * TOK_LP here... I'm not sure I understand why. Isn't * the grouping already implicit in the structure of the * parse tree? also TOK_LP is already overloaded (I * think) in the C IR as 'function call.' */ source.append((char)ts.LP); pn = expr(ts, source, false); source.append((char)ts.RP); mustMatchToken(ts, ts.RP, "msg.no.paren"); return pn; case TokenStream.NAME: String name = ts.getString(); source.addString(ts.NAME, name); return nf.createName(name); case TokenStream.NUMBER: double n = ts.getNumber(); source.addNumber(n); return nf.createNumber(n); case TokenStream.STRING: String s = ts.getString(); source.addString(ts.STRING, s); return nf.createString(s); case TokenStream.OBJECT: { String flags = ts.regExpFlags; ts.regExpFlags = null; String re = ts.getString(); source.addString(ts.OBJECT, '/' + re + '/' + flags); return nf.createRegExp(re, flags); } case TokenStream.PRIMARY: source.append((char)ts.PRIMARY); source.append((char)ts.getOp()); return nf.createLeaf(ts.PRIMARY, ts.getOp()); case TokenStream.RESERVED: reportError(ts, "msg.reserved.id"); break; case TokenStream.ERROR: /* the scanner or one of its subroutines reported the error. */ break; default: reportError(ts, "msg.syntax"); break; } return null; // should never reach here } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/92ccdd736e7a1516e4fb6d1eaf915e7021c8dc95/Parser.java/clean/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3354,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
31,
3639,
3742,
18,
7133,
5626,
3742,
18,
8047,
42,
67,
28225,
31,
3639,
3574,
273,
3742,
18,
588,
1345,
5621,
3639,
3742,
18,
7133,
12058,
4871,
3428,
18,
8047,
42,
67,
28225,
31,
3639,
1620,
12,
748,
13,
288,
3639,
648,
3155,
1228,
18,
7788,
30,
5411,
327,
445,
12,
3428,
16,
1084,
16,
638,
1769,
3639,
648,
3155,
1228,
18,
12995,
30,
5411,
288,
7734,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
12995,
1769,
7734,
11059,
273,
13958,
18,
2640,
9858,
12,
3428,
18,
8552,
15716,
1769,
7734,
3742,
18,
7133,
5626,
3742,
18,
8047,
42,
67,
28225,
31,
7734,
1250,
4847,
273,
3742,
18,
1916,
1345,
12,
3428,
18,
19437,
1769,
7734,
3742,
18,
7133,
12058,
4871,
3428,
18,
8047,
42,
67,
28225,
31,
7734,
309,
16051,
11073,
13,
288,
10792,
1250,
1122,
273,
638,
31,
10792,
741,
288,
13491,
3742,
18,
7133,
5626,
3742,
18,
8047,
42,
67,
28225,
31,
13491,
3574,
273,
3742,
18,
347,
3839,
1345,
5621,
13491,
3742,
18,
7133,
12058,
4871,
3428,
18,
8047,
42,
67,
28225,
31,
13491,
309,
16051,
3645,
13,
18701,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
4208,
5535,
1769,
13491,
469,
18701,
1122,
273,
629,
31,
13491,
309,
261,
748,
422,
3742,
18,
19437,
13,
288,
225,
368,
358,
2917,
306,
16408,
16,
8009,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3354,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
31,
3639,
3742,
18,
7133,
5626,
3742,
18,
8047,
42,
67,
28225,
31,
3639,
3574,
273,
3742,
18,
588,
1345,
5621,
3639,
3742,
18,
7133,
12058,
4871,
3428,
18,
8047,
42,
67,
28225,
31,
3639,
1620,
12,
748,
13,
288,
3639,
648,
3155,
1228,
18,
7788,
30,
5411,
327,
445,
12,
3428,
16,
1084,
16,
638,
1769,
3639,
648,
3155,
1228,
18,
12995,
30,
5411,
288,
7734,
1084,
18,
6923,
12443,
3001,
13,
3428,
18,
12995,
1769,
7734,
11059,
273,
13958,
18,
2640,
9858,
12,
3428,
18,
8552,
15716,
1769,
7734,
2
] |
MethodCall call = new MethodCall("_add", new Object[] {fqn, element}, new String[] {String.class.getName(), Serializable.class.getName()}); | MethodCall call = new MethodCall("_add", new Object[] {fqn}, new String[] {String.class.getName()}); | public void add(String fqn, Serializable element) { //Changes done by <aos> //if true, propagate action to the group if(send_message == true) { try { MethodCall call = new MethodCall("_add", new Object[] {fqn, element}, new String[] {String.class.getName(), Serializable.class.getName()}); disp.callRemoteMethods(null, call, GroupRequest.GET_ALL, 0); } catch(Exception ex) { if(log.isErrorEnabled()) log.error("exception=" + ex); } } else { _add(fqn, element); } } | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/06354376a30d06e4f6a3c8a6bafa02775b5af421/DistributedTree.java/buggy/src/org/jgroups/blocks/DistributedTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
12,
780,
23518,
16,
13687,
930,
13,
288,
3639,
368,
7173,
2731,
635,
411,
69,
538,
34,
3639,
368,
430,
638,
16,
13551,
1301,
358,
326,
1041,
3639,
309,
12,
4661,
67,
2150,
422,
638,
13,
288,
5411,
775,
288,
9506,
202,
12592,
745,
273,
394,
2985,
1477,
2932,
67,
1289,
3113,
394,
1033,
8526,
288,
74,
15785,
16,
930,
5779,
5397,
394,
514,
8526,
288,
780,
18,
1106,
18,
17994,
9334,
13687,
18,
1106,
18,
17994,
17767,
1769,
7734,
16232,
18,
1991,
5169,
4712,
12,
2011,
16,
745,
16,
3756,
691,
18,
3264,
67,
4685,
16,
374,
1769,
5411,
289,
5411,
1044,
12,
503,
431,
13,
288,
7734,
309,
12,
1330,
18,
291,
668,
1526,
10756,
613,
18,
1636,
2932,
4064,
1546,
397,
431,
1769,
5411,
289,
3639,
289,
3639,
469,
288,
5411,
389,
1289,
12,
74,
15785,
16,
930,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
12,
780,
23518,
16,
13687,
930,
13,
288,
3639,
368,
7173,
2731,
635,
411,
69,
538,
34,
3639,
368,
430,
638,
16,
13551,
1301,
358,
326,
1041,
3639,
309,
12,
4661,
67,
2150,
422,
638,
13,
288,
5411,
775,
288,
9506,
202,
12592,
745,
273,
394,
2985,
1477,
2932,
67,
1289,
3113,
394,
1033,
8526,
288,
74,
15785,
16,
930,
5779,
5397,
394,
514,
8526,
288,
780,
18,
1106,
18,
17994,
9334,
13687,
18,
1106,
18,
17994,
17767,
1769,
7734,
16232,
18,
1991,
5169,
4712,
12,
2011,
16,
745,
16,
3756,
691,
18,
3264,
67,
4685,
16,
374,
1769,
5411,
289,
5411,
1044,
12,
503,
431,
13,
288,
7734,
309,
12,
1330,
18,
291,
668,
2
] |
private void removeItem(TreeItem item) | private void removeItem(TreeItem item) | private void removeItem(TreeItem item) { // even if the item is dirty it's no longer necessary to update id dirtyItems.remove(item); // if we needed to create DOM element, we no longer do dirtyItemsCreateDOM.remove(item); // add items id (it's short version) to ids of DOM elements that will be removed deleteIds.append(getShortItemId(item)); deleteIds.append(","); // remove the id // note that this doesn't update item's parent's children list item.remove(); } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/234acdada6bb523025df2bf64c707be9ba3f57d5/AbstractTree.java/buggy/wicket/src/java/wicket/markup/html/tree/AbstractTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
29178,
12,
2471,
1180,
761,
13,
225,
202,
95,
202,
202,
759,
5456,
309,
326,
761,
353,
9603,
518,
1807,
1158,
7144,
4573,
358,
1089,
612,
3196,
202,
18013,
3126,
18,
4479,
12,
1726,
1769,
9506,
202,
759,
309,
732,
3577,
358,
752,
4703,
930,
16,
732,
1158,
7144,
741,
202,
202,
18013,
3126,
1684,
8168,
18,
4479,
12,
1726,
1769,
9506,
202,
759,
527,
1516,
612,
261,
305,
1807,
3025,
1177,
13,
358,
3258,
434,
4703,
2186,
716,
903,
506,
3723,
202,
202,
3733,
2673,
18,
6923,
12,
588,
4897,
17673,
12,
1726,
10019,
202,
202,
3733,
2673,
18,
6923,
2932,
16,
8863,
9506,
202,
759,
1206,
326,
612,
202,
202,
759,
4721,
716,
333,
3302,
1404,
1089,
761,
1807,
982,
1807,
2325,
666,
9506,
202,
1726,
18,
4479,
5621,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
29178,
12,
2471,
1180,
761,
13,
225,
202,
95,
202,
202,
759,
5456,
309,
326,
761,
353,
9603,
518,
1807,
1158,
7144,
4573,
358,
1089,
612,
3196,
202,
18013,
3126,
18,
4479,
12,
1726,
1769,
9506,
202,
759,
309,
732,
3577,
358,
752,
4703,
930,
16,
732,
1158,
7144,
741,
202,
202,
18013,
3126,
1684,
8168,
18,
4479,
12,
1726,
1769,
9506,
202,
759,
527,
1516,
612,
261,
305,
1807,
3025,
1177,
13,
358,
3258,
434,
4703,
2186,
716,
903,
506,
3723,
202,
202,
3733,
2673,
18,
6923,
12,
588,
4897,
17673,
12,
1726,
10019,
202,
202,
3733,
2673,
18,
6923,
2932,
16,
8863,
9506,
202,
759,
1206,
326,
612,
202,
202,
759,
4721,
716,
2
] |
final Set<PANode> eomDirGblEsc = PAUtil.fixNullM((Set<PANode>) sr.get(E)); | Set<PANode> preEomDirGblEsc = PAUtil.fixNullM((Set<PANode>) sr.get(eVar())); | public FullAnalysisResult fullSolve() { final SolReader sr = this.cs.solve(); final PAEdgeSet eomI = PAUtil.fixNullM((PAEdgeSet) sr.get(preIVar(footer))); final PAEdgeSet eomO = PAUtil.fixNullM((PAEdgeSet) sr.get(O)); final Set<PANode> eomDirGblEsc = PAUtil.fixNullM((Set<PANode>) sr.get(E)); final Set<PANode> eomAllGblEsc = DiGraph.union(eomI, eomO). transitiveSucc(DSUtil.iterable2coll (DSUtil.unionIterable (eomDirGblEsc, Collections.<PANode>singleton(nodeRep.getGlobalNode())))); FullAnalysisResult far = new FullAnalysisResult() { public PAEdgeSet preI(Quad q) { return PAUtil.fixNullM((PAEdgeSet) sr.get(preIVar(q))); } public PAEdgeSet postI(Quad q) { return PAUtil.fixNullM((PAEdgeSet) sr.get(postIVar(q))); } public PAEdgeSet eomI() { return eomI; } public PAEdgeSet eomO() { return eomO; } public Set<PANode> preEsc(Quad q) { return PAUtil.fixNullM((Set<PANode>) sr.get(preFVar(q))); } public Set<PANode> postEsc(Quad q) { return PAUtil.fixNullM((Set<PANode>) sr.get(postFVar(q))); } public Set<PANode> eomDirGblEsc() { return eomDirGblEsc; } public Set<PANode> eomAllGblEsc() { return eomAllGblEsc; } public Set<PANode> lv(Temp t) { return PAUtil.fixNullM((Set<PANode>) sr.get(lVar(t))); } public Set<PANode> ret() { return PAUtil.fixNullM((Set<PANode>) sr.get(vRet)); } public Set<PANode> ex() { return PAUtil.fixNullM((Set<PANode>) sr.get(vEx)); } public Set<Pair<PANode,HField>> eomWrites() { Set<Pair<PANode,HField>> writes = (Set<Pair<PANode,HField>>) sr.get(vWrites()); return (writes == null) ? Collections.<Pair<PANode,HField>>emptySet() : writes; } }; if(Flags.SHOW_INTRA_PROC_RESULTS) debug(new PrintWriter(System.out), far); return far; } | 2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/8b84407e07cfe2be5ee8eccb28e14491602b6887/IntraProc.java/clean/Analysis/PA2/IntraProc.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11692,
9418,
1253,
1983,
55,
5390,
1435,
288,
202,
6385,
348,
355,
2514,
9133,
273,
333,
18,
2143,
18,
24626,
5621,
202,
6385,
15662,
6098,
694,
425,
362,
45,
273,
15662,
1304,
18,
904,
2041,
49,
12443,
4066,
6098,
694,
13,
9133,
18,
588,
12,
1484,
45,
1537,
12,
14723,
3719,
1769,
202,
6385,
15662,
6098,
694,
425,
362,
51,
273,
15662,
1304,
18,
904,
2041,
49,
12443,
4066,
6098,
694,
13,
9133,
18,
588,
12,
51,
10019,
202,
6385,
1000,
32,
4066,
907,
34,
425,
362,
1621,
43,
3083,
6412,
273,
15662,
1304,
18,
904,
2041,
49,
12443,
694,
32,
4066,
907,
23429,
9133,
18,
588,
12,
41,
10019,
202,
6385,
1000,
32,
4066,
907,
34,
425,
362,
1595,
43,
3083,
6412,
273,
3196,
565,
12508,
4137,
18,
18910,
12,
2880,
45,
16,
425,
362,
51,
2934,
202,
565,
30442,
17072,
952,
12,
3948,
1304,
18,
15364,
22,
12910,
9506,
282,
261,
3948,
1304,
18,
18910,
13668,
9506,
565,
261,
2880,
1621,
43,
3083,
6412,
16,
9506,
377,
5737,
22782,
4066,
907,
34,
24487,
12,
2159,
18933,
18,
588,
5160,
907,
1435,
3719,
10019,
202,
5080,
9418,
1253,
10247,
273,
394,
11692,
9418,
1253,
1435,
288,
202,
565,
1071,
15662,
6098,
694,
675,
45,
12,
24483,
1043,
13,
225,
288,
202,
202,
2463,
15662,
1304,
18,
904,
2041,
49,
12443,
4066,
6098,
694,
13,
9133,
18,
588,
12,
1484,
45,
1537,
12,
85,
3719,
1769,
202,
565,
289,
202,
565,
1071,
15662,
6098,
694,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11692,
9418,
1253,
1983,
55,
5390,
1435,
288,
202,
6385,
348,
355,
2514,
9133,
273,
333,
18,
2143,
18,
24626,
5621,
202,
6385,
15662,
6098,
694,
425,
362,
45,
273,
15662,
1304,
18,
904,
2041,
49,
12443,
4066,
6098,
694,
13,
9133,
18,
588,
12,
1484,
45,
1537,
12,
14723,
3719,
1769,
202,
6385,
15662,
6098,
694,
425,
362,
51,
273,
15662,
1304,
18,
904,
2041,
49,
12443,
4066,
6098,
694,
13,
9133,
18,
588,
12,
51,
10019,
202,
6385,
1000,
32,
4066,
907,
34,
425,
362,
1621,
43,
3083,
6412,
273,
15662,
1304,
18,
904,
2041,
49,
12443,
694,
32,
4066,
907,
23429,
9133,
18,
588,
12,
41,
10019,
202,
6385,
1000,
32,
4066,
907,
34,
2
] |
final List inspectionClasses = m_inspectionClasses; | final List<Class> inspectionClasses = m_inspectionClasses; | private void registerStyleInspections(){ final List inspectionClasses = m_inspectionClasses; inspectionClasses.add(ReturnThisInspection.class); inspectionClasses.add(ConstantOnLHSOfComparisonInspection.class); inspectionClasses.add(ConstantOnRHSOfComparisonInspection.class); inspectionClasses.add(LiteralAsArgToStringEqualsInspection.class); inspectionClasses.add(MissortedModifiersInspection.class); inspectionClasses.add(CStyleArrayDeclarationInspection.class); inspectionClasses.add(MultipleDeclarationInspection.class); inspectionClasses.add(MultipleTypedDeclarationInspection.class); inspectionClasses.add(UnqualifiedStaticUsageInspection.class); inspectionClasses.add(UnnecessarilyQualifiedStaticUsageInspection.class); } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/2d46d291193579a7564649b4881c7ea8e02eda5b/InspectionGadgetsPlugin.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/InspectionGadgetsPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1744,
2885,
14985,
87,
1435,
95,
3639,
727,
987,
32,
797,
34,
2763,
7017,
4818,
273,
312,
67,
2679,
7017,
4818,
31,
3639,
2763,
7017,
4818,
18,
1289,
12,
990,
2503,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
6902,
1398,
48,
13173,
951,
16059,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
6902,
1398,
54,
13173,
951,
16059,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
6177,
1463,
4117,
5808,
8867,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
27797,
24726,
11948,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
39,
2885,
1076,
6094,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
8438,
6094,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
8438,
11985,
6094,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
984,
19724,
5788,
5357,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
984,
82,
21513,
8708,
5788,
5357,
14985,
18,
1106,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1744,
2885,
14985,
87,
1435,
95,
3639,
727,
987,
32,
797,
34,
2763,
7017,
4818,
273,
312,
67,
2679,
7017,
4818,
31,
3639,
2763,
7017,
4818,
18,
1289,
12,
990,
2503,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
6902,
1398,
48,
13173,
951,
16059,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
6902,
1398,
54,
13173,
951,
16059,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
6177,
1463,
4117,
5808,
8867,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
27797,
24726,
11948,
14985,
18,
1106,
1769,
3639,
2763,
7017,
4818,
18,
1289,
12,
39,
2885,
1076,
6094,
14985,
18,
1106,
1769,
3639,
2763,
2
] |
Display display = new Display(); display.setWarnings(false); | public Object run(Object arg) { String[] commandLineArgs = new String[0]; if (arg != null && arg instanceof String[]) commandLineArgs = (String[]) arg; Display display = new Display(); //Workaround for 1GEZ9UR and 1GF07HN display.setWarnings(false); if (!readPlatformAndProductInfo()) return null; if (getProductInfo().getAppName() != null) Display.setAppName(getProductInfo().getAppName()); try { boolean initOK = init(commandLineArgs); Platform.endSplash(); checkInstallErrors(); if (initOK) { runEventLoop(); } shutdown(); } finally { if (!display.isDisposed()) display.dispose(); } return null;} | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/88569cf8df4b450cbc9224e6a84fa089848692a9/Workbench.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1033,
1086,
12,
921,
1501,
13,
288,
202,
780,
8526,
20894,
2615,
273,
394,
514,
63,
20,
15533,
202,
430,
261,
3175,
480,
446,
597,
1501,
1276,
514,
63,
5717,
202,
202,
3076,
1670,
2615,
273,
261,
780,
63,
5717,
1501,
31,
202,
4236,
2562,
273,
394,
9311,
5621,
202,
759,
2421,
12716,
364,
404,
7113,
62,
29,
1099,
471,
404,
43,
42,
8642,
44,
50,
202,
5417,
18,
542,
4312,
12,
5743,
1769,
202,
430,
16051,
896,
8201,
1876,
4133,
966,
10756,
202,
202,
2463,
446,
31,
202,
430,
261,
588,
4133,
966,
7675,
588,
3371,
461,
1435,
480,
446,
13,
202,
202,
4236,
18,
542,
3371,
461,
12,
588,
4133,
966,
7675,
588,
3371,
461,
10663,
202,
698,
288,
202,
202,
6494,
1208,
3141,
273,
1208,
12,
3076,
1670,
2615,
1769,
202,
202,
8201,
18,
409,
16881,
961,
5621,
202,
202,
1893,
6410,
4229,
5621,
202,
202,
430,
261,
2738,
3141,
13,
288,
1082,
202,
2681,
1133,
6452,
5621,
202,
202,
97,
202,
202,
15132,
5621,
202,
97,
3095,
288,
202,
202,
430,
16051,
5417,
18,
291,
1669,
7423,
10756,
1082,
225,
2562,
18,
2251,
4150,
5621,
202,
97,
202,
2463,
446,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1033,
1086,
12,
921,
1501,
13,
288,
202,
780,
8526,
20894,
2615,
273,
394,
514,
63,
20,
15533,
202,
430,
261,
3175,
480,
446,
597,
1501,
1276,
514,
63,
5717,
202,
202,
3076,
1670,
2615,
273,
261,
780,
63,
5717,
1501,
31,
202,
4236,
2562,
273,
394,
9311,
5621,
202,
759,
2421,
12716,
364,
404,
7113,
62,
29,
1099,
471,
404,
43,
42,
8642,
44,
50,
202,
5417,
18,
542,
4312,
12,
5743,
1769,
202,
430,
16051,
896,
8201,
1876,
4133,
966,
10756,
202,
202,
2463,
446,
31,
202,
430,
261,
588,
4133,
966,
7675,
588,
3371,
461,
1435,
480,
446,
13,
202,
202,
4236,
18,
542,
3371,
461,
12,
588,
4133,
966,
7675,
588,
3371,
461,
10663,
2
] |
|
if ( null != req.getParameter(REQUEST_PARAMETER__NEW_SORTORDER) ) { new_sortorder = req.getParameter(REQUEST_PARAMETER__NEW_SORTORDER); list_toChange_sortorder = req.getParameter(REQUEST_PARAMETER__LIST_TYPE); | if ( null != req.getParameter( REQUEST_PARAMETER__NEW_SORTORDER ) ) { new_sortorder = req.getParameter( REQUEST_PARAMETER__NEW_SORTORDER ); list_toChange_sortorder = req.getParameter( REQUEST_PARAMETER__LIST_TYPE ); | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { ImcmsServices service = Imcms.getServices(); UserDomainObject loggedOnUser = Utility.getLoggedOnUser(req); String whichButton = req.getParameter("AdminTask"); if ( null != whichButton ) { /* handle Admin tasks only for Users with admin rights*/ if (!loggedOnUser.isSuperAdmin() && !loggedOnUser.isUserAdmin()) { String header = "Error in AdminManager."; Properties langproperties = service.getLanguageProperties( loggedOnUser ); String msg = langproperties.getProperty("error/servlet/global/no_administrator") + "<br>"; log.debug(header + "- user is not an administrator"); new AdminError(req, res, header, msg); return; } String url = getAdminTaskUrl(whichButton); if (StringUtils.isNotBlank( url )) { res.sendRedirect( url ); return; } } else if (PAGE_SEARCH.equals(req.getParameter(REQUEST_PARAMETER__FROMPAGE))) { req.getRequestDispatcher("/servlet/SearchDocuments").forward(req, res); return ; } String tabToShow = null != req.getParameter(REQUEST_PARAMETER__SHOW) ? req.getParameter(REQUEST_PARAMETER__SHOW): PARAMETER_VALUE__SHOW_NEW; String fileToForwardTo = JSP__ADMIN_MANAGER_NEW; // parse and return the html_admin_part Vector vec = new Vector(); String html_admin_part = ""; if (loggedOnUser.isSuperAdmin()) { html_admin_part = service.getAdminTemplate( HTML_ADMINTASK, loggedOnUser, vec ); // if superadmin } else if (loggedOnUser.isUserAdmin() ) { //if user is useradmin html_admin_part = service.getAdminTemplate( HTML_USERADMINTASK, loggedOnUser, vec ); //if useradmin } List documents_new = new LinkedList(); // STATUS = NEW List documents_changed = new LinkedList(); //MODIFIED_DATETIME > CREATED_DATETIME List documents_archived_less_then_one_week = new LinkedList(); //ARCHIVED_DATETIME < 7 days List documents_publication_end_less_then_one_week = new LinkedList() ; //PUBLICATION_END_DATETIME < 7 days List documents_not_changed_in_six_month = new LinkedList(); DocumentIndex index = service.getDocumentMapper().getDocumentIndex(); BooleanQuery booleanQuery = new BooleanQuery(); Query restrictingQuery = new TermQuery( new Term( DocumentIndex.FIELD__CREATOR_ID, loggedOnUser.getId()+"" ) ); booleanQuery.add( restrictingQuery, true, false ); HashMap current_sortorderMap = new HashMap(); HashMap expand_listMap = new HashMap(); HashMap subreports = new HashMap(); String sortorder ; String new_sortorder = ""; String list_toChange_sortorder = ""; DocumentDomainObject[] documentsFound = index.search( booleanQuery, loggedOnUser); if ( tabToShow.equals(PARAMETER_VALUE__SHOW_NEW) ){ fileToForwardTo = JSP__ADMIN_MANAGER_NEW ; addNewNotApprovedDocumentsToList(booleanQuery, documents_new, index, loggedOnUser); if ( null != req.getParameter(REQUEST_PARAMETER__NEW_SORTORDER) ) { new_sortorder = req.getParameter(REQUEST_PARAMETER__NEW_SORTORDER); list_toChange_sortorder = LIST_TYPE__list_new_not_approved; } sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_new_not_approved_current_sortorder), LIST_TYPE__list_new_not_approved, "MOD"); current_sortorderMap.put(LIST_TYPE__list_new_not_approved, sortorder ); Collections.sort( documents_new, getChainableReversibleNullComparator(sortorder) ) ; setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_new_not_approved, REQUEST_PARAMETER__list_new_not_approved_current_expand ); // documents_new_not_approved = new AdminManagerSubreport(LIST_TYPE__list_new_not_approved, "", "", DEFAULT_DOCUMENTS_PER_LIST, documents_new ); }else if ( tabToShow.equals(PARAMETER_VALUE__SHOW_REMINDERS) ) { fileToForwardTo = JSP__ADMIN_MANAGER_REMINDERS; if ( null != req.getParameter(REQUEST_PARAMETER__NEW_SORTORDER) ) { new_sortorder = req.getParameter(REQUEST_PARAMETER__NEW_SORTORDER); list_toChange_sortorder = req.getParameter(REQUEST_PARAMETER__LIST_TYPE); } sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_documents_archived_less_then_one_week_current_sortorder), LIST_TYPE__list_documents_archived_less_then_one_week, "ARCR"); current_sortorderMap.put(LIST_TYPE__list_documents_archived_less_then_one_week, sortorder); sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_documents_publication_end_less_then_one_week_current_sortorder), LIST_TYPE__list_documents_publication_end_less_then_one_week, "PUBER"); current_sortorderMap.put(LIST_TYPE__list_documents_publication_end_less_then_one_week, sortorder); sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_documents_not_changed_in_six_month_current_sortorder), LIST_TYPE__list_documents_not_changed_in_six_month, "MOD"); current_sortorderMap.put(LIST_TYPE__list_documents_not_changed_in_six_month, sortorder); addFoundDocumentsToCorrespondingList(documentsFound, documents_archived_less_then_one_week, documents_publication_end_less_then_one_week, documents_not_changed_in_six_month, null, current_sortorderMap); setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_documents_archived_less_then_one_week, REQUEST_PARAMETER__list_documents_archived_less_then_one_week_current_expand ); setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_documents_publication_end_less_then_one_week, REQUEST_PARAMETER__list_documents_publication_end_less_then_one_week_current_sortorder ); setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_documents_not_changed_in_six_month, REQUEST_PARAMETER__list_documents_not_changed_in_six_month_current_sortorder ); }else if ( tabToShow.equals(PARAMETER_VALUE__SHOW_SUMMARY) ) { fileToForwardTo = JSP__ADMIN_MANAGER_SUMMARY; addNewNotApprovedDocumentsToList(booleanQuery, documents_new, index, loggedOnUser); if ( null != req.getParameter(REQUEST_PARAMETER__NEW_SORTORDER) ) { new_sortorder = req.getParameter(REQUEST_PARAMETER__NEW_SORTORDER); list_toChange_sortorder = req.getParameter(REQUEST_PARAMETER__LIST_TYPE); } sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_new_not_approved_current_sortorder), LIST_TYPE__list_new_not_approved, "MOD"); current_sortorderMap.put(LIST_TYPE__list_new_not_approved, sortorder); Collections.sort( documents_new, getChainableReversibleNullComparator(sortorder) ) ; sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_documents_changed_current_sortorder), LIST_TYPE__list_documents_changed, "MOD"); current_sortorderMap.put(LIST_TYPE__list_documents_changed, sortorder); sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_documents_publication_end_less_then_one_week_current_sortorder), LIST_TYPE__list_documents_publication_end_less_then_one_week, "PUBER"); current_sortorderMap.put(LIST_TYPE__list_documents_publication_end_less_then_one_week, sortorder); sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_documents_archived_less_then_one_week_current_sortorder), LIST_TYPE__list_documents_archived_less_then_one_week, "ARCR"); current_sortorderMap.put(LIST_TYPE__list_documents_archived_less_then_one_week, sortorder); sortorder = getSortorderForListType(list_toChange_sortorder, new_sortorder, req.getParameter(REQUEST_PARAMETER__list_documents_not_changed_in_six_month_current_sortorder), LIST_TYPE__list_documents_not_changed_in_six_month, "MOD"); current_sortorderMap.put(LIST_TYPE__list_documents_not_changed_in_six_month, sortorder); addFoundDocumentsToCorrespondingList(documentsFound, documents_archived_less_then_one_week, documents_publication_end_less_then_one_week, documents_not_changed_in_six_month, documents_changed, current_sortorderMap); expand_listMap.put(LIST_TYPE__list_new_not_approved, null != req.getParameter(REQUEST_PARAMETER__list_new_not_approved_current_expand) ? req.getParameter(REQUEST_PARAMETER__list_new_not_approved_current_expand) : "hide"); expand_listMap.put(LIST_TYPE__list_documents_changed, null != req.getParameter(REQUEST_PARAMETER__list_documents_changed_current_expand) ? req.getParameter(REQUEST_PARAMETER__list_documents_changed_current_expand) : "hide"); expand_listMap.put(LIST_TYPE__list_documents_publication_end_less_then_one_week, null != req.getParameter(REQUEST_PARAMETER__list_documents_publication_end_less_then_one_week_current_expand) ? req.getParameter(REQUEST_PARAMETER__list_documents_publication_end_less_then_one_week_current_expand) : "hide"); expand_listMap.put(LIST_TYPE__list_documents_archived_less_then_one_week, null != req.getParameter(REQUEST_PARAMETER__list_documents_archived_less_then_one_week_current_expand) ? req.getParameter(REQUEST_PARAMETER__list_documents_archived_less_then_one_week_current_expand) : "hide"); expand_listMap.put(LIST_TYPE__list_documents_not_changed_in_six_month, null != req.getParameter(REQUEST_PARAMETER__list_documents_not_changed_in_six_month_current_expand) ? req.getParameter(REQUEST_PARAMETER__list_documents_not_changed_in_six_month_current_expand) : "hide"); setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_new_not_approved, REQUEST_PARAMETER__list_new_not_approved_current_expand ); setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_documents_changed, REQUEST_PARAMETER__list_documents_changed_current_expand ); setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_documents_publication_end_less_then_one_week, REQUEST_PARAMETER__list_documents_publication_end_less_then_one_week_current_sortorder ); setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_documents_archived_less_then_one_week, REQUEST_PARAMETER__list_documents_archived_less_then_one_week_current_expand ); setNewExpandStatusForList( req, expand_listMap, LIST_TYPE__list_documents_not_changed_in_six_month, REQUEST_PARAMETER__list_documents_not_changed_in_six_month_current_sortorder ); } else if ( tabToShow.equals(PARAMETER_VALUE__SHOW_SEARCH) ) { fileToForwardTo = JSP__ADMIN_MANAGER_SEARCH; } AdminManagerPage page = new AdminManagerPage( "".equals(html_admin_part) ? null : html_admin_part, documents_new, documents_changed, documents_archived_less_then_one_week, documents_publication_end_less_then_one_week, documents_not_changed_in_six_month, fileToForwardTo, current_sortorderMap, expand_listMap, subreports, restrictingQuery); page.forward(req, res, loggedOnUser); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/15d70408e151e5aaa1d66d5d73056b4a9e757ed4/AdminManager.java/clean/server/src/com/imcode/imcms/servlet/superadmin/AdminManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
1156,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
921,
7545,
1398,
1299,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
3658,
1769,
3639,
514,
1492,
3616,
273,
1111,
18,
588,
1662,
2932,
4446,
2174,
8863,
3639,
309,
261,
446,
480,
1492,
3616,
262,
288,
5411,
1748,
1640,
7807,
4592,
1338,
364,
12109,
598,
3981,
14989,
5549,
5411,
309,
16051,
19385,
1398,
1299,
18,
291,
8051,
4446,
1435,
597,
401,
19385,
1398,
1299,
18,
291,
1299,
4446,
10756,
288,
7734,
514,
1446,
273,
315,
668,
316,
7807,
1318,
1199,
31,
7734,
6183,
3303,
4738,
273,
1156,
18,
588,
3779,
2297,
12,
7545,
1398,
1299,
11272,
7734,
514,
1234,
273,
3303,
4738,
18,
588,
1396,
2932,
1636,
19,
23231,
19,
6347,
19,
2135,
67,
3666,
14207,
7923,
397,
3532,
2848,
2984,
31,
7734,
613,
18,
4148,
12,
3374,
397,
3701,
729,
353,
486,
392,
22330,
8863,
7734,
394,
7807,
668,
12,
3658,
16,
400,
16,
1446,
16,
1234,
1769,
7734,
327,
31,
5411,
289,
5411,
514,
880,
273,
22501,
2174,
1489,
12,
12784,
3616,
1769,
5411,
309,
261,
780,
1989,
18,
291,
1248,
7796,
12,
880,
8623,
288,
7734,
400,
18,
4661,
5961,
12,
880,
11272,
7734,
327,
31,
5411,
289,
3639,
289,
3639,
469,
309,
261,
11219,
67,
17251,
18,
14963,
12,
3658,
18,
588,
1662,
12,
5519,
67,
9819,
972,
11249,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
1156,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
921,
7545,
1398,
1299,
273,
13134,
18,
588,
19862,
1398,
1299,
12,
3658,
1769,
3639,
514,
1492,
3616,
273,
1111,
18,
588,
1662,
2932,
4446,
2174,
8863,
3639,
309,
261,
446,
480,
1492,
3616,
262,
288,
5411,
1748,
1640,
7807,
4592,
1338,
364,
12109,
598,
3981,
14989,
5549,
5411,
309,
16051,
19385,
1398,
1299,
18,
291,
8051,
4446,
1435,
597,
401,
19385,
1398,
1299,
18,
291,
1299,
4446,
10756,
288,
7734,
514,
1446,
273,
315,
668,
316,
7807,
1318,
1199,
31,
7734,
6183,
3303,
4738,
2
] |
public CalculatedStyle getDerivedStyle(CalculatedStyle parent, CascadedStyle matched); | public CalculatedStyle getDerivedStyle(CalculatedStyle parent, CascadedStyle matched) { return _styler.getDerivedStyle(parent, matched); } | public CalculatedStyle getDerivedStyle(CalculatedStyle parent, CascadedStyle matched); | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/93d814d7886e593bc9bd7f476b2a18571a009aa6/StyleReference.java/buggy/src/java/org/xhtmlrenderer/css/StyleReference.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15994,
690,
2885,
2343,
264,
2950,
2885,
12,
4844,
690,
2885,
982,
16,
385,
3691,
2435,
2885,
4847,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15994,
690,
2885,
2343,
264,
2950,
2885,
12,
4844,
690,
2885,
982,
16,
385,
3691,
2435,
2885,
4847,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (rows[i-1] != rows[i] - 1) | if (rows[i - 1] != rows[i] - 1) | protected boolean arePathsContiguous(TreePath[] paths) { if (rowMapper == null || paths.length < 2) return true; int[] rows = rowMapper.getRowsForPaths(paths); // The patches may not be sorted. Arrays.sort(rows); for (int i = 1; i < rows.length; i++) { if (rows[i-1] != rows[i] - 1) return false; } return true; } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/33d89dd7043c676b02ff34fe991288e8240f95d6/DefaultTreeSelectionModel.java/clean/javax/swing/tree/DefaultTreeSelectionModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
854,
4466,
660,
10623,
12,
2471,
743,
8526,
2953,
13,
225,
288,
565,
309,
261,
492,
4597,
422,
446,
747,
2953,
18,
2469,
411,
576,
13,
1377,
327,
638,
31,
565,
509,
8526,
2595,
273,
1027,
4597,
18,
588,
4300,
1290,
4466,
12,
4481,
1769,
3639,
368,
1021,
16482,
2026,
486,
506,
3115,
18,
565,
5647,
18,
3804,
12,
3870,
1769,
565,
364,
261,
474,
277,
273,
404,
31,
277,
411,
2595,
18,
2469,
31,
277,
27245,
1377,
288,
3639,
309,
261,
3870,
63,
77,
300,
404,
65,
480,
2595,
63,
77,
65,
300,
404,
13,
1850,
327,
629,
31,
1377,
289,
565,
327,
638,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
854,
4466,
660,
10623,
12,
2471,
743,
8526,
2953,
13,
225,
288,
565,
309,
261,
492,
4597,
422,
446,
747,
2953,
18,
2469,
411,
576,
13,
1377,
327,
638,
31,
565,
509,
8526,
2595,
273,
1027,
4597,
18,
588,
4300,
1290,
4466,
12,
4481,
1769,
3639,
368,
1021,
16482,
2026,
486,
506,
3115,
18,
565,
5647,
18,
3804,
12,
3870,
1769,
565,
364,
261,
474,
277,
273,
404,
31,
277,
411,
2595,
18,
2469,
31,
277,
27245,
1377,
288,
3639,
309,
261,
3870,
63,
77,
300,
404,
65,
480,
2595,
63,
77,
65,
300,
404,
13,
1850,
327,
629,
31,
1377,
289,
565,
327,
638,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
IHyperlink[] links = BugzillaUITools.findBugHyperlinks(repository.getUrl(), offsetInLine, lineInfo.getLength(), | IHyperlink[] links = BugzillaHyperlinkUtil.findBugHyperlinks(repository.getUrl(), offsetInLine, lineInfo.getLength(), | public IHyperlink[] detectHyperlinks(ITextViewer textViewer, IRegion region, boolean canShowMultipleHyperlinks) { if (region == null || textViewer == null) return null; if (!(textViewer instanceof RepositoryTextViewer)) return null; RepositoryTextViewer viewer = (RepositoryTextViewer) textViewer; repository = viewer.getRepository(); if (repository == null) return null; IDocument document = textViewer.getDocument(); int offset = region.getOffset(); if (document == null) return null; IRegion lineInfo; String line; try { lineInfo = document.getLineInformationOfOffset(offset); line = document.get(lineInfo.getOffset(), lineInfo.getLength()); } catch (BadLocationException ex) { return null; } int offsetInLine = offset - lineInfo.getOffset(); IHyperlink[] links = BugzillaUITools.findBugHyperlinks(repository.getUrl(), offsetInLine, lineInfo.getLength(), line, lineInfo.getOffset()); return links; } | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/bff4f88560342ca80f2772aa971c128d982fe3bb/BugzillaTaskHyperlinkDetector.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/BugzillaTaskHyperlinkDetector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
15996,
1232,
8526,
5966,
15996,
7135,
12,
1285,
408,
18415,
977,
18415,
16,
467,
5165,
3020,
16,
1250,
848,
5706,
8438,
15996,
7135,
13,
288,
202,
202,
430,
261,
6858,
422,
446,
747,
977,
18415,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
430,
16051,
12,
955,
18415,
1276,
6281,
1528,
18415,
3719,
1082,
202,
2463,
446,
31,
202,
202,
3305,
1528,
18415,
14157,
273,
261,
3305,
1528,
18415,
13,
977,
18415,
31,
202,
202,
9071,
273,
14157,
18,
588,
3305,
5621,
202,
202,
430,
261,
9071,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
734,
504,
650,
1668,
273,
977,
18415,
18,
588,
2519,
5621,
202,
202,
474,
1384,
273,
3020,
18,
588,
2335,
5621,
202,
202,
430,
261,
5457,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
45,
5165,
980,
966,
31,
202,
202,
780,
980,
31,
202,
202,
698,
288,
1082,
202,
1369,
966,
273,
1668,
18,
588,
1670,
5369,
951,
2335,
12,
3348,
1769,
1082,
202,
1369,
273,
1668,
18,
588,
12,
1369,
966,
18,
588,
2335,
9334,
980,
966,
18,
588,
1782,
10663,
202,
202,
97,
1044,
261,
6434,
2735,
503,
431,
13,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
474,
1384,
382,
1670,
273,
1384,
300,
980,
966,
18,
588,
2335,
5621,
202,
202,
45,
15996,
1232,
8526,
4716,
273,
16907,
15990,
5370,
10348,
18,
4720,
19865,
15996,
7135,
12,
9071,
18,
588,
1489,
9334,
1384,
382,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
15996,
1232,
8526,
5966,
15996,
7135,
12,
1285,
408,
18415,
977,
18415,
16,
467,
5165,
3020,
16,
1250,
848,
5706,
8438,
15996,
7135,
13,
288,
202,
202,
430,
261,
6858,
422,
446,
747,
977,
18415,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
430,
16051,
12,
955,
18415,
1276,
6281,
1528,
18415,
3719,
1082,
202,
2463,
446,
31,
202,
202,
3305,
1528,
18415,
14157,
273,
261,
3305,
1528,
18415,
13,
977,
18415,
31,
202,
202,
9071,
273,
14157,
18,
588,
3305,
5621,
202,
202,
430,
261,
9071,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
734,
504,
650,
1668,
273,
977,
18415,
18,
588,
2519,
5621,
202,
202,
474,
1384,
273,
2
] |
this.classicNext = next; | this.turboNext = next; | public void setNext(TurboFilter next) { this.classicNext = next; } | 46523 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46523/f5b5103ccdf3ff7cc59342cced2b68b170285959/TurboFilter.java/buggy/logback-classic/src/main/java/ch/qos/logback/classic/turbo/TurboFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
27674,
12,
56,
295,
1075,
1586,
1024,
13,
288,
565,
333,
18,
25271,
1075,
2134,
273,
1024,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
27674,
12,
56,
295,
1075,
1586,
1024,
13,
288,
565,
333,
18,
25271,
1075,
2134,
273,
1024,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
throw new SAXNotSupportedException ("not while parsing"); | { throw new SAXNotSupportedException("not while parsing"); } | public void setFeature (String featureId, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException { boolean state; // Features with a defined value, we just change it if we can. state = getFeature (featureId); if (state == value) return; if (parser != null) throw new SAXNotSupportedException ("not while parsing"); if ((FEATURE + "namespace-prefixes").equals (featureId)) { // in this implementation, this only affects xmlns reporting xmlNames = value; // forcibly prevent illegal parser state if (!xmlNames) namespaces = true; return; } if ((FEATURE + "namespaces").equals (featureId)) { namespaces = value; // forcibly prevent illegal parser state if (!namespaces) xmlNames = true; return; } if ((FEATURE + "external-general-entities").equals (featureId)) { extGE = value; return; } if ((FEATURE + "external-parameter-entities") .equals (featureId)) { extPE = value; return; } if ((FEATURE + "resolve-dtd-uris").equals (featureId)) { resolveAll = value; return; } if ((FEATURE + "use-entity-resolver2").equals (featureId)) { useResolver2 = value; return; } throw new SAXNotRecognizedException (featureId); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
28669,
261,
780,
2572,
548,
16,
1250,
460,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
565,
288,
202,
6494,
202,
2019,
31,
202,
202,
759,
28920,
598,
279,
2553,
460,
16,
732,
2537,
2549,
518,
309,
732,
848,
18,
202,
2019,
273,
17961,
261,
7238,
548,
1769,
202,
430,
261,
2019,
422,
460,
13,
202,
565,
327,
31,
202,
430,
261,
4288,
480,
446,
13,
202,
565,
604,
394,
10168,
25482,
7566,
902,
1323,
5811,
8863,
202,
430,
14015,
18257,
397,
315,
4937,
17,
17777,
20387,
14963,
261,
7238,
548,
3719,
288,
202,
565,
368,
316,
333,
4471,
16,
333,
1338,
30058,
12302,
16096,
202,
565,
2025,
1557,
273,
460,
31,
202,
565,
368,
364,
71,
24755,
5309,
16720,
2082,
919,
202,
565,
309,
16051,
2902,
1557,
13,
202,
202,
16078,
273,
638,
31,
202,
565,
327,
31,
202,
97,
202,
430,
14015,
18257,
397,
315,
16078,
20387,
14963,
261,
7238,
548,
3719,
288,
202,
565,
7728,
273,
460,
31,
202,
565,
368,
364,
71,
24755,
5309,
16720,
2082,
919,
202,
565,
309,
16051,
16078,
13,
202,
202,
2902,
1557,
273,
638,
31,
202,
565,
327,
31,
202,
97,
202,
430,
14015,
18257,
397,
315,
9375,
17,
12259,
17,
9996,
20387,
14963,
261,
7238,
548,
3719,
288,
202,
565,
1110,
7113,
273,
460,
31,
202,
565,
327,
31,
202,
97,
202,
430,
14015,
18257,
397,
315,
9375,
17,
6775,
17,
9996,
7923,
263,
14963,
261,
7238,
548,
3719,
288,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
28669,
261,
780,
2572,
548,
16,
1250,
460,
13,
565,
1216,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
565,
288,
202,
6494,
202,
2019,
31,
202,
202,
759,
28920,
598,
279,
2553,
460,
16,
732,
2537,
2549,
518,
309,
732,
848,
18,
202,
2019,
273,
17961,
261,
7238,
548,
1769,
202,
430,
261,
2019,
422,
460,
13,
202,
565,
327,
31,
202,
430,
261,
4288,
480,
446,
13,
202,
565,
604,
394,
10168,
25482,
7566,
902,
1323,
5811,
8863,
202,
430,
14015,
18257,
397,
315,
4937,
17,
17777,
20387,
14963,
261,
7238,
548,
3719,
288,
202,
565,
368,
316,
333,
4471,
16,
333,
1338,
30058,
12302,
16096,
202,
565,
2025,
1557,
273,
460,
31,
202,
2
] |
sbuf.append(" text-align: left; "); | sbuf.append("text-align: left; "); | public void addCss(StringBuffer sbuf) { sbuf.append("<STYLE type=\"text/css\">"); sbuf.append(" table { "); sbuf.append(" margin-left: 2em; "); sbuf.append(" margin-right: 2em; "); sbuf.append(" border-left: 2px solid #AAA; "); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf.append("TR.even { "); sbuf.append(" background: #FFFFFF; "); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf.append("TR.odd { "); sbuf.append(" background: #EAEAEA; "); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf.append("TD { "); sbuf.append(" padding-right: 1ex; "); sbuf.append(" padding-left: 1ex; "); sbuf.append(" border-right: 2px solid #AAA;"); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf.append("TD.Time, TD.Date { "); sbuf.append(" text-align: right; "); sbuf.append(" font-family: courier, monospace; "); sbuf.append(" font-size: smaller; "); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf .append("TD.RemoteHost, TD.RequestProtocol, TD.RequestHeader, TD.RequestURL, TD.RemoteUser, TD.RequestURI, TD.ServerName {"); sbuf.append(" text-align: left; "); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf .append("TD.RequestAttribute, TD.RequestCookie, TD.ResponseHeader, TD.RequestParameter {"); sbuf.append(" text-align: left; "); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf .append("TD.RemoteIPAddress, TD.LocalIPAddress, TD.ContentLength, TD.StatusCode, TD.LocalPort {"); sbuf.append(" text-align: right; "); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf.append("TR.header { "); sbuf.append(" background: #596ED5; "); sbuf.append(" color: #FFF; "); sbuf.append(" font-weight: bold; "); sbuf.append(" font-size: larger; "); sbuf.append("}"); sbuf.append(LINE_SEP); sbuf.append(" }"); sbuf.append("}"); } | 48525 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48525/72de6f8151b7528215bcfe228f8ae4bd010d1715/DefaultCssBuilder.java/clean/logback-access/src/main/java/ch/qos/logback/access/html/DefaultCssBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
7359,
12,
780,
1892,
2393,
696,
13,
288,
565,
2393,
696,
18,
6923,
2932,
32,
15066,
225,
618,
5189,
955,
19,
5212,
21121,
1769,
565,
2393,
696,
18,
6923,
2932,
565,
1014,
288,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
7333,
17,
4482,
30,
576,
351,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
7333,
17,
4083,
30,
576,
351,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
5795,
17,
4482,
30,
576,
4430,
18035,
468,
24653,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
1532,
1769,
565,
2393,
696,
18,
6923,
12,
5997,
67,
28610,
1769,
565,
2393,
696,
18,
6923,
2932,
4349,
18,
16728,
288,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
9079,
5412,
30,
468,
18343,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
1532,
1769,
565,
2393,
696,
18,
6923,
12,
5997,
67,
28610,
1769,
565,
2393,
696,
18,
6923,
2932,
4349,
18,
31755,
288,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
5412,
30,
468,
41,
16985,
16985,
37,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
1532,
1769,
565,
2393,
696,
18,
6923,
12,
5997,
67,
28610,
1769,
565,
2393,
696,
18,
6923,
2932,
23409,
288,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
4992,
17,
4083,
30,
404,
338,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
4992,
17,
4482,
30,
404,
338,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
527,
7359,
12,
780,
1892,
2393,
696,
13,
288,
565,
2393,
696,
18,
6923,
2932,
32,
15066,
225,
618,
5189,
955,
19,
5212,
21121,
1769,
565,
2393,
696,
18,
6923,
2932,
565,
1014,
288,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
7333,
17,
4482,
30,
576,
351,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
7333,
17,
4083,
30,
576,
351,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
7734,
5795,
17,
4482,
30,
576,
4430,
18035,
468,
24653,
31,
315,
1769,
565,
2393,
696,
18,
6923,
2932,
1532,
1769,
565,
2393,
696,
18,
6923,
12,
5997,
67,
28610,
1769,
565,
2393,
696,
18,
6923,
2932,
4349,
18,
16728,
288,
315,
2
] |
assert size < 31 : "Type size too large to fit in single dynamic network packet"; | assert size < 31 : "Type size too large to fit in single dynamic network packet"; | public void visitFilter(SIRFilter self, SIRFilterIter iter) { // System.out.println(self.getName()); //Entry point of the visitor //do not print the raw header if compiling //for uniprocessor if (!KjcOptions.standalone) p.print("#include <raw.h>\n"); p.print("#include <stdlib.h>\n"); p.print("#include <math.h>\n\n"); //if we are number gathering and this is the sink, generate the dummy //vars for the assignment of the print expression. if (KjcOptions.numbers > 0) { p.print("volatile int dummyInt;\n"); p.print("volatile float dummyFloat;\n"); } if (KjcOptions.altcodegen && !KjcOptions.decoupled){ p.print(getNetRegsDecls()); //print("unsigned " + DYNMSGHEADER + ";\n"); } if (KjcOptions.decoupled) { p.print("volatile float " + Util.CSTOFPVAR + ";\n"); p.print("volatile float " + Util.CSTIFPVAR + ";\n"); p.print("volatile int " + Util.CSTOINTVAR + ";\n"); p.print("volatile int " + Util.CSTIINTVAR + ";\n"); p.print("volatile float " + Util.CGNOFPVAR + ";\n"); p.print("volatile float " + Util.CGNIFPVAR + ";\n"); p.print("volatile int " + Util.CGNOINTVAR + ";\n"); p.print("volatile int " + Util.CGNIINTVAR + ";\n"); } if (SpaceDynamicBackend.FILTER_DEBUG_MODE) { p.print("void static_send_print("); if (self.getOutputType() == CStdType.Void) p.print("int f) {\n"); else p.print(self.getOutputType() + " f) {\n"); if (self.getOutputType().isFloatingPoint()) p.print("print_float(f);\n"); else p.print("print_int(f);\n"); p.print("static_send(f);\n"); p.print("}\n\n"); } p.print("#include \"structs.h\"\n"); //print the extern for the function to init the //switch, do not do this if we are compiling for //a uniprocessor if (!KjcOptions.standalone) { p.print("void raw_init();\n"); p.print("void raw_init2();\n"); } //not used any more //print("unsigned int " + FLOAT_HEADER_WORD + ";\n"); //print("unsigned int " + INT_HEADER_WORD + ";\n"); //Visit fields declared in the filter class JFieldDeclaration[] fields = self.getFields(); for (int i = 0; i < fields.length; i++) fields[i].accept(this); //visit methods of filter, print the declaration first setDeclOnly(true); JMethodDeclaration[] methods = self.getMethods(); for (int i =0; i < methods.length; i++) methods[i].accept(this); //now print the functions with body setDeclOnly(false); for (int i =0; i < methods.length; i++) { methods[i].accept(this); } //if we are generating raw code print the begin //method for the simulator if (!KjcOptions.standalone) { p.print("void begin(void) {\n"); } else { //otherwise print a normal main() p.print("int main() {\n"); } //for the first filter/tile we encounter we are going to //create a magic instruction that tells the number-gathering //stuff that everything is done snake booting, so if this is true if (!gen_magc_done_boot && KjcOptions.numbers > 0) { gen_magc_done_boot = true; p.print(" __asm__ volatile (\"magc $0, $0, 5\");\n"); } //not used at this time //print(FLOAT_HEADER_WORD + //" = construct_dyn_hdr(3, 1, 0, 0, 0, 3, 0);\n"); //print(INT_HEADER_WORD + //" = construct_dyn_hdr(3, 1, 1, 0, 0, 3, 0);\n"); //if we are using the dynamic network create the dynamic network //header to be used for all outgoing messages if (dynamicOutput) { FlatNode downstream = ssg.getStreamGraph().getParentSSG(flatNode).getNext(flatNode); if (downstream != null) { int size = Util.getTypeSize(ssg.getOutputType(flatNode)); assert size < 31 : "Type size too large to fit in single dynamic network packet"; /*System.out.println(flatNode + " " + layout.getTile(flatNode) + " dynamically sends to + " + downstream + " " + layout.getTile(downstream) + ", size = " + size); */ p.print(" " + DYNMSGHEADER + " = construct_dyn_hdr(0, " + size + ", 0, " + (layout.getTile(self)).getY() + ", " + (layout.getTile(self)).getX() + ", " + (layout.getTile(downstream)).getY() + "," + (layout.getTile(downstream)).getX() + ");\n"); } } //if we are using the magic network, //use a magic instruction to initialize the magic fifos if (KjcOptions.magic_net) p.print(" __asm__ volatile (\"magc $0, $0, 1\");\n"); //initialize the dummy network receive value if (KjcOptions.decoupled) { if (self.getInputType().isFloatingPoint()) p.print(" " + Util.CSTIFPVAR + " = 1.0;\n"); else p.print(" " + Util.CSTIINTVAR + " = 1;\n"); } //call the raw_init() function for the static network //only if we are not using a uniprocessor or the //magic network if (!(KjcOptions.standalone || KjcOptions.magic_net || KjcOptions.decoupled || IMEMEstimation.TESTING_IMEM)) { p.print(" raw_init();\n"); p.print(" raw_init2();\n"); } //execute the raw main function p.print(RawExecutionCode.rawMain + "();\n"); //return 0 if we are generating normal c code if (KjcOptions.standalone) p.print(" return 0;\n"); p.print("}\n"); createFile(); } | 47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/31aff989277324400ed1080dc1f4597a89d20d2b/FlatIRToC.java/clean/streams/src/at/dms/kjc/spacedynamic/FlatIRToC.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
1586,
12,
2320,
54,
1586,
365,
16,
18701,
5705,
54,
1586,
2360,
1400,
13,
288,
3639,
368,
4202,
2332,
18,
659,
18,
8222,
12,
2890,
18,
17994,
10663,
7734,
368,
1622,
1634,
434,
326,
8000,
3639,
368,
2896,
486,
1172,
326,
1831,
1446,
309,
1161,
4973,
3639,
368,
1884,
640,
625,
16127,
280,
3639,
309,
16051,
47,
78,
71,
1320,
18,
10145,
12451,
13,
2398,
293,
18,
1188,
2932,
7,
6702,
411,
1899,
18,
76,
5333,
82,
8863,
3639,
293,
18,
1188,
2932,
7,
6702,
411,
5084,
2941,
18,
76,
5333,
82,
8863,
3639,
293,
18,
1188,
2932,
7,
6702,
411,
15949,
18,
76,
5333,
82,
64,
82,
8863,
3639,
368,
430,
732,
854,
1300,
11090,
310,
471,
333,
353,
326,
9049,
16,
2103,
326,
9609,
3639,
368,
4699,
364,
326,
6661,
434,
326,
1172,
2652,
18,
3639,
309,
261,
47,
78,
71,
1320,
18,
13851,
405,
374,
13,
288,
5411,
293,
18,
1188,
2932,
15416,
20295,
509,
9609,
1702,
9747,
82,
8863,
5411,
293,
18,
1188,
2932,
15416,
20295,
1431,
9609,
4723,
9747,
82,
8863,
3639,
289,
7734,
309,
261,
47,
78,
71,
1320,
18,
2390,
710,
4507,
597,
401,
47,
78,
71,
1320,
18,
323,
2894,
416,
1259,
15329,
5411,
293,
18,
1188,
12,
588,
7308,
426,
564,
1799,
3251,
10663,
5411,
368,
1188,
2932,
22297,
315,
397,
463,
17317,
11210,
7557,
397,
30750,
82,
8863,
3639,
289,
18701,
309,
261,
47,
78,
71,
1320,
18,
323,
2894,
416,
1259,
13,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
1586,
12,
2320,
54,
1586,
365,
16,
18701,
5705,
54,
1586,
2360,
1400,
13,
288,
3639,
368,
4202,
2332,
18,
659,
18,
8222,
12,
2890,
18,
17994,
10663,
7734,
368,
1622,
1634,
434,
326,
8000,
3639,
368,
2896,
486,
1172,
326,
1831,
1446,
309,
1161,
4973,
3639,
368,
1884,
640,
625,
16127,
280,
3639,
309,
16051,
47,
78,
71,
1320,
18,
10145,
12451,
13,
2398,
293,
18,
1188,
2932,
7,
6702,
411,
1899,
18,
76,
5333,
82,
8863,
3639,
293,
18,
1188,
2932,
7,
6702,
411,
5084,
2941,
18,
76,
5333,
82,
8863,
3639,
293,
18,
1188,
2932,
7,
6702,
411,
15949,
18,
76,
5333,
82,
64,
82,
8863,
3639,
368,
430,
732,
854,
1300,
2
] |
{ return createMarkerRangeAdapter(); } | { return createMarkerRangeAdapter(); } | public Object caseMarkerRange(MarkerRange object) { return createMarkerRangeAdapter(); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ComponentAdapterFactory.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/component/util/ComponentAdapterFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
648,
7078,
2655,
12,
7078,
2655,
733,
13,
5411,
288,
7734,
327,
752,
7078,
2655,
4216,
5621,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
648,
7078,
2655,
12,
7078,
2655,
733,
13,
5411,
288,
7734,
327,
752,
7078,
2655,
4216,
5621,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
this.setOpaque(true); | else { this.setOpaque(true); } | public TransactionCellRenderer(){ if (Buddi.isMac()){ this.putClientProperty("Quaqua.Component.visualMargin", new Insets(0,0,0,0)); } this.setOpaque(true); } | 48285 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48285/a17ecc4042c44273cb82c38bf280641d096bb603/TransactionCellRenderer.java/buggy/src/org/homeunix/drummer/view/components/TransactionCellRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5947,
4020,
6747,
1435,
95,
202,
202,
430,
261,
38,
20567,
77,
18,
291,
9990,
10756,
95,
1082,
202,
2211,
18,
458,
1227,
1396,
2932,
928,
69,
372,
69,
18,
1841,
18,
26671,
9524,
3113,
394,
22300,
12,
20,
16,
20,
16,
20,
16,
20,
10019,
202,
202,
97,
9506,
202,
2211,
18,
542,
3817,
14886,
12,
3767,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5947,
4020,
6747,
1435,
95,
202,
202,
430,
261,
38,
20567,
77,
18,
291,
9990,
10756,
95,
1082,
202,
2211,
18,
458,
1227,
1396,
2932,
928,
69,
372,
69,
18,
1841,
18,
26671,
9524,
3113,
394,
22300,
12,
20,
16,
20,
16,
20,
16,
20,
10019,
202,
202,
97,
9506,
202,
2211,
18,
542,
3817,
14886,
12,
3767,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
writeSuccessFractionCell(p, buf); | writeProgressFractionCell(p, buf); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { StringBuffer buf = new StringBuffer(2048); ctx.getPageMaker().makeHead(buf, "Queued Requests"); // First, get the queued requests, and separate them into different types. LinkedList completedDownloadToDisk = new LinkedList(); LinkedList completedDownloadToTemp = new LinkedList(); LinkedList completedUpload = new LinkedList(); LinkedList completedDirUpload = new LinkedList(); LinkedList failedDownload = new LinkedList(); LinkedList failedUpload = new LinkedList(); LinkedList failedDirUpload = new LinkedList(); LinkedList uncompletedDownload = new LinkedList(); LinkedList uncompletedUpload = new LinkedList(); LinkedList uncompletedDirUpload = new LinkedList(); ClientRequest[] reqs = fcp.getGlobalRequests(); Logger.minor(this, "Request count: "+reqs.length); for(int i=0;i<reqs.length;i++) { ClientRequest req = reqs[i]; if(req instanceof ClientGet) { ClientGet cg = (ClientGet) req; if(cg.hasSucceeded()) { if(cg.isDirect()) completedDownloadToTemp.add(cg); else if(cg.isToDisk()) completedDownloadToDisk.add(cg); else // FIXME Logger.error(this, "Don't know what to do with "+cg); } else if(cg.hasFinished()) { failedDownload.add(cg); } else { uncompletedDownload.add(cg); } } else if(req instanceof ClientPut) { ClientPut cp = (ClientPut) req; if(cp.hasSucceeded()) { completedUpload.add(cp); } else if(cp.hasFinished()) { failedUpload.add(cp); } else { uncompletedUpload.add(cp); } } else if(req instanceof ClientPutDir) { ClientPutDir cp = (ClientPutDir) req; if(cp.hasSucceeded()) { completedDirUpload.add(cp); } else if(cp.hasFinished()) { failedDirUpload.add(cp); } else { uncompletedDirUpload.add(cp); } } } if(!(completedDownloadToTemp.isEmpty() && completedDownloadToDisk.isEmpty() && completedUpload.isEmpty() && completedDirUpload.isEmpty())) { writeBigHeading("Completed requests", buf); if(!completedDownloadToTemp.isEmpty()) { writeTableHead("Completed downloads to temporary space", new String[] { "", "Identifier", "Size", "Type", "Download", "Persistence", "Key" }, buf ); for(Iterator i = completedDownloadToTemp.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getURI(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeDownloadCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedDownloadToDisk.isEmpty()) { writeTableHead("Completed downloads to disk", new String[] { "", "Identifier", "Filename", "Size", "Type", "Download", "Persistence", "Key" }, buf); for(Iterator i=completedDownloadToDisk.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getURI(), buf); writeFilenameCell(p.getDestFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeDownloadCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedUpload.isEmpty()) { writeTableHead("Completed uploads", new String[] { "", "Key", "Filename", "Size", "Type", "Persistence", "Identifier" }, buf); for(Iterator i=completedUpload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedDirUpload.isEmpty()) { // FIXME include filename?? writeTableHead("Completed directory uploads", new String[] { "", "Identifier", "Files", "Total Size", "Persistence", "Key" }, buf); for(Iterator i=completedUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } } /* FIXME color-coded progress bars. * It would be really nice to have a color-coded progress bar. * We can then show what part is successful, what part isn't tried yet, * what part has each different well known error code... */ if(!(failedDownload.isEmpty() && failedUpload.isEmpty())) { writeBigHeading("Failed requests", buf); if(!failedDownload.isEmpty()) { writeTableHead("Failed downloads", new String[] { "", "Identifier", "Filename", "Size", "Type", "Success", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedDownload.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getDestFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeSuccessFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!failedUpload.isEmpty()) { writeTableHead("Failed uploads", new String[] { "", "Identifier", "Filename", "Size", "Type", "Success", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedUpload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeSuccessFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!failedDirUpload.isEmpty()) { writeTableHead("Failed directory uploads", new String[] { "", "Identifier", "Files", "Total Size", "Success", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedDirUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writeSuccessFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } } if(!(uncompletedDownload.isEmpty() && uncompletedUpload.isEmpty() && uncompletedDirUpload.isEmpty())) { writeBigHeading("Requests in progress", buf); if(!uncompletedDownload.isEmpty()) { writeTableHead("Downloads in progress", new String[] { "", "Identifier", "Filename", "Size", "Type", "Success", "Persistence", "Key" }, buf); for(Iterator i = uncompletedDownload.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getDestFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeSuccessFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!uncompletedUpload.isEmpty()) { writeTableHead("Uploads in progress", new String[] { "", "Identifier", "Filename", "Size", "Type", "Success", "Persistence", "Key" }, buf); for(Iterator i = uncompletedUpload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeSuccessFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!uncompletedDirUpload.isEmpty()) { writeTableHead("Directory uploads in progress", new String[] { "", "Identifier", "Files", "Total Size", "Success", "Persistence", "Key" }, buf); for(Iterator i=uncompletedDirUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf); writeDeleteCell(p, buf); writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writeSuccessFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } } ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 200, "text/html", "OK", buf.toString()); } | 50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/2a50af2c7d1c8c3a5ad945e6a509003db2cd8d7f/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.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,
225,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
1892,
1681,
273,
394,
6674,
12,
21573,
28,
1769,
9506,
202,
5900,
18,
588,
1964,
12373,
7675,
6540,
1414,
12,
4385,
16,
315,
21039,
7090,
8863,
9506,
202,
759,
5783,
16,
336,
326,
12234,
3285,
16,
471,
9004,
2182,
1368,
3775,
1953,
18,
9506,
202,
13174,
682,
5951,
7109,
774,
6247,
273,
394,
10688,
5621,
202,
202,
13174,
682,
5951,
7109,
774,
7185,
273,
394,
10688,
5621,
202,
202,
13174,
682,
5951,
4777,
273,
394,
10688,
5621,
202,
202,
13174,
682,
5951,
1621,
4777,
273,
394,
10688,
5621,
9506,
202,
13174,
682,
2535,
7109,
273,
394,
10688,
5621,
202,
202,
13174,
682,
2535,
4777,
273,
394,
10688,
5621,
202,
202,
13174,
682,
2535,
1621,
4777,
273,
394,
10688,
5621,
9506,
202,
13174,
682,
12704,
1469,
329,
7109,
273,
394,
10688,
5621,
202,
202,
13174,
682,
12704,
1469,
329,
4777,
273,
394,
10688,
5621,
202,
202,
13174,
682,
12704,
1469,
329,
1621,
4777,
273,
394,
10688,
5621,
9506,
202,
1227,
691,
8526,
20927,
273,
284,
4057,
18,
588,
5160,
6421,
5621,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
691,
1056,
30,
13773,
25782,
18,
2469,
1769,
9506,
202,
1884,
12,
474,
277,
33,
20,
31,
77,
32,
25782,
18,
2469,
31,
77,
27245,
288,
1082,
202,
1227,
691,
1111,
273,
20927,
63,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
225,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
9506,
202,
780,
1892,
1681,
273,
394,
6674,
12,
21573,
28,
1769,
9506,
202,
5900,
18,
588,
1964,
12373,
7675,
6540,
1414,
12,
4385,
16,
315,
21039,
7090,
8863,
9506,
202,
759,
5783,
16,
336,
326,
12234,
3285,
16,
471,
9004,
2182,
1368,
3775,
1953,
18,
9506,
202,
13174,
682,
5951,
7109,
774,
6247,
273,
394,
10688,
5621,
202,
202,
13174,
682,
5951,
7109,
774,
7185,
273,
394,
10688,
5621,
202,
202,
13174,
682,
5951,
4777,
273,
394,
10688,
5621,
202,
202,
13174,
682,
5951,
1621,
4777,
273,
2
] |
IDialogSettings settings = dialogSettings .getSection(TAG_DIALOG_SECTION); if (settings == null) { resetState(); return; } | IDialogSettings settings = dialogSettings .getSection(TAG_DIALOG_SECTION); if (settings == null) { resetState(); return; } | public void restoreState(IDialogSettings dialogSettings) { if (dialogSettings == null) { resetState(); return; } IDialogSettings settings = dialogSettings .getSection(TAG_DIALOG_SECTION); if (settings == null) { resetState(); return; } try { for (int i = 0; i < priorities.length; i++) { String priority = settings.get(TAG_PRIORITY + i); if (priority == null) { resetState(); return; } priorities[i] = Integer.parseInt(priority); String direction = settings.get(TAG_DIRECTION + i); if (direction == null) { resetState(); return; } directions[i] = Integer.parseInt(direction); String defaultPriority = settings.get(TAG_DEFAULT_PRIORITY + i); if (defaultPriority == null) { resetState(); return; } defaultPriorities[i] = Integer.parseInt(defaultPriority); String defaultDirection = settings.get(TAG_DEFAULT_DIRECTION + i); if (defaultDirection == null) { resetState(); return; } defaultDirections[i] = Integer.parseInt(defaultDirection); } } catch (NumberFormatException e) { resetState(); } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/229c44b72ac5a176a7c4d6328bcc38d5cf41c6c3/TableSorter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableSorter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5217,
1119,
12,
734,
3529,
2628,
6176,
2628,
13,
288,
3639,
309,
261,
12730,
2628,
422,
446,
13,
288,
5411,
2715,
1119,
5621,
5411,
327,
31,
3639,
289,
3639,
1599,
3529,
2628,
1947,
273,
6176,
2628,
7734,
263,
588,
5285,
12,
7927,
67,
2565,
18683,
67,
19082,
1769,
3639,
309,
261,
4272,
422,
446,
13,
288,
5411,
2715,
1119,
5621,
5411,
327,
31,
3639,
289,
3639,
775,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
26783,
18,
2469,
31,
277,
27245,
288,
7734,
514,
4394,
273,
1947,
18,
588,
12,
7927,
67,
19804,
397,
277,
1769,
7734,
309,
261,
8457,
422,
446,
13,
288,
10792,
2715,
1119,
5621,
10792,
327,
31,
7734,
289,
7734,
26783,
63,
77,
65,
273,
2144,
18,
2670,
1702,
12,
8457,
1769,
7734,
514,
4068,
273,
1947,
18,
588,
12,
7927,
67,
30516,
397,
277,
1769,
7734,
309,
261,
9855,
422,
446,
13,
288,
10792,
2715,
1119,
5621,
10792,
327,
31,
7734,
289,
7734,
18558,
63,
77,
65,
273,
2144,
18,
2670,
1702,
12,
9855,
1769,
7734,
514,
805,
8183,
273,
1947,
18,
588,
12,
7927,
67,
5280,
67,
19804,
397,
277,
1769,
7734,
309,
261,
1886,
8183,
422,
446,
13,
288,
10792,
2715,
1119,
5621,
10792,
327,
31,
7734,
289,
7734,
805,
25355,
1961,
63,
77,
65,
273,
2144,
18,
2670,
1702,
12,
1886,
8183,
1769,
7734,
514,
805,
8212,
273,
1947,
18,
588,
12,
7927,
67,
5280,
67,
30516,
13491,
397,
277,
1769,
7734,
309,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5217,
1119,
12,
734,
3529,
2628,
6176,
2628,
13,
288,
3639,
309,
261,
12730,
2628,
422,
446,
13,
288,
5411,
2715,
1119,
5621,
5411,
327,
31,
3639,
289,
3639,
1599,
3529,
2628,
1947,
273,
6176,
2628,
7734,
263,
588,
5285,
12,
7927,
67,
2565,
18683,
67,
19082,
1769,
3639,
309,
261,
4272,
422,
446,
13,
288,
5411,
2715,
1119,
5621,
5411,
327,
31,
3639,
289,
3639,
775,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
26783,
18,
2469,
31,
277,
27245,
288,
7734,
514,
4394,
273,
1947,
18,
588,
12,
7927,
67,
19804,
397,
277,
1769,
7734,
309,
261,
8457,
422,
446,
13,
288,
10792,
2715,
1119,
5621,
10792,
327,
31,
7734,
289,
2
] |
VerifyingFile vf=new VerifyingFile(false); | VerifyingFile vf=new VerifyingFile(false, size); | public static void globalSetUp() throws Exception { new RouterService(new ActivityCallbackStub()); incompleteFile=ifm.getFile(rfd); VerifyingFile vf=new VerifyingFile(false); vf.addInterval(new Interval(0, amountDownloaded-1)); //inclusive ifm.addEntry(incompleteFile, vf); // Make sure that we don't wait for network on requery ManagedDownloader.NO_DELAY = true; } | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/0d5636b976e1010a2e03feb87d12c14153ff3eb2/ResumeDownloaderTest.java/clean/components/gnutella-core/src/test/java/com/limegroup/gnutella/downloader/ResumeDownloaderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2552,
694,
1211,
1435,
1216,
1185,
288,
3639,
394,
9703,
1179,
12,
2704,
9621,
2428,
11974,
10663,
3639,
14715,
812,
33,
430,
81,
18,
29925,
12,
5809,
72,
1769,
3639,
8553,
310,
812,
28902,
33,
2704,
8553,
310,
812,
12,
5743,
16,
963,
1769,
3639,
28902,
18,
1289,
4006,
12,
2704,
10803,
12,
20,
16,
3844,
4164,
4230,
17,
21,
10019,
225,
368,
267,
9173,
3639,
309,
81,
18,
1289,
1622,
12,
17624,
812,
16,
28902,
1769,
202,
202,
759,
4344,
3071,
716,
732,
2727,
1404,
2529,
364,
2483,
603,
283,
2271,
202,
202,
10055,
4164,
6714,
18,
3417,
67,
26101,
273,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2552,
694,
1211,
1435,
1216,
1185,
288,
3639,
394,
9703,
1179,
12,
2704,
9621,
2428,
11974,
10663,
3639,
14715,
812,
33,
430,
81,
18,
29925,
12,
5809,
72,
1769,
3639,
8553,
310,
812,
28902,
33,
2704,
8553,
310,
812,
12,
5743,
16,
963,
1769,
3639,
28902,
18,
1289,
4006,
12,
2704,
10803,
12,
20,
16,
3844,
4164,
4230,
17,
21,
10019,
225,
368,
267,
9173,
3639,
309,
81,
18,
1289,
1622,
12,
17624,
812,
16,
28902,
1769,
202,
202,
759,
4344,
3071,
716,
732,
2727,
1404,
2529,
364,
2483,
603,
283,
2271,
202,
202,
10055,
4164,
6714,
18,
3417,
67,
26101,
273,
638,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
jTextField1.setText("" + myParent.getCodeChosenContragent()); jTextField1.repaint(); jTextField2.setText(myParent.getNameChosenContragent()); jTextField2.repaint(); jTextField3.setText(myParent.getChosenIBAN()); jTextField3.repaint(); | public void changeField() { jTextField8.setText(myParent.getNameChosenPerson()); jTextField8.repaint(); jTextField1.setText("" + myParent.getCodeChosenContragent()); jTextField1.repaint(); jTextField2.setText(myParent.getNameChosenContragent()); jTextField2.repaint(); jTextField3.setText(myParent.getChosenIBAN()); jTextField3.repaint(); jTextField5.setText(myParent.getChosenCurrency()); jTextField5.repaint(); } | 12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/f7a17c0f6c397276f657dfda6ecbea85d3b85a0d/aePayingOrdersPP.java/clean/src/imakante/sales/aePayingOrdersPP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2549,
974,
1435,
288,
3639,
525,
16157,
28,
18,
542,
1528,
12,
4811,
3054,
18,
17994,
782,
8918,
8346,
10663,
3639,
525,
16157,
28,
18,
14462,
1598,
5621,
3639,
525,
16157,
21,
18,
542,
1528,
2932,
6,
397,
3399,
3054,
18,
588,
1085,
782,
8918,
442,
313,
5629,
10663,
3639,
525,
16157,
21,
18,
14462,
1598,
5621,
3639,
525,
16157,
22,
18,
542,
1528,
12,
4811,
3054,
18,
17994,
782,
8918,
442,
313,
5629,
10663,
3639,
525,
16157,
22,
18,
14462,
1598,
5621,
3639,
525,
16157,
23,
18,
542,
1528,
12,
4811,
3054,
18,
588,
782,
8918,
13450,
1258,
10663,
3639,
525,
16157,
23,
18,
14462,
1598,
5621,
3639,
525,
16157,
25,
18,
542,
1528,
12,
4811,
3054,
18,
588,
782,
8918,
7623,
10663,
3639,
525,
16157,
25,
18,
14462,
1598,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2549,
974,
1435,
288,
3639,
525,
16157,
28,
18,
542,
1528,
12,
4811,
3054,
18,
17994,
782,
8918,
8346,
10663,
3639,
525,
16157,
28,
18,
14462,
1598,
5621,
3639,
525,
16157,
21,
18,
542,
1528,
2932,
6,
397,
3399,
3054,
18,
588,
1085,
782,
8918,
442,
313,
5629,
10663,
3639,
525,
16157,
21,
18,
14462,
1598,
5621,
3639,
525,
16157,
22,
18,
542,
1528,
12,
4811,
3054,
18,
17994,
782,
8918,
442,
313,
5629,
10663,
3639,
525,
16157,
22,
18,
14462,
1598,
5621,
3639,
525,
16157,
23,
18,
542,
1528,
12,
4811,
3054,
18,
588,
782,
8918,
13450,
1258,
10663,
3639,
525,
16157,
23,
18,
14462,
1598,
5621,
3639,
525,
16157,
25,
18,
542,
1528,
12,
2
] |
|
Object[] creds = read("[(?S?S)]", null); if (repository != null && repository.getRepositoryRoot() == null) { repository.updateCredentials((String) creds[0], (String) creds[1]); | if (!myIsCredentialsReceived) { Object[] creds = read("[(?S?S)]", null); if (repository != null && repository.getRepositoryRoot() == null) { repository.updateCredentials((String) creds[0], (String) creds[1]); } myIsCredentialsReceived = true; | public void authenticate(SVNRepositoryImpl repository, ISVNCredentials credentials) throws SVNException { String failureReason = null; Object[] items = read("[((*W)S)]", null); List mechs = SVNReader.getList(items, 0); if (mechs == null || mechs.size() == 0) { return; } for (int i = 0; i < mechs.size(); i++) { String mech = (String) mechs.get(i); if ("ANONYMOUS".equals(mech) || "EXTERNAL".equals(mech)) { // send anon and read response write("(w())", new Object[] { mech }); items = read("(W(?S))", null); if (SUCCESS.equals(items[0])) { Object[] creds = read("[(?S?S)]", null); if (repository != null && repository.getRepositoryRoot() == null) { repository.updateCredentials((String) creds[0], (String) creds[1]); } return; } else if (FAILURE.equals(items[0])) { failureReason = (String) items[1]; } } else if ("CRAM-MD5".equals(mech)) { CramMD5 authenticator = new CramMD5(); if (credentials == null) { throw new SVNAuthenticationException("authentication failed, no credentials"); } write("(w())", new Object[] { mech }); while(true) { authenticator.setUserCredentials(credentials); items = read("(W(?B))", null); if (SUCCESS.equals(items[0])) { Object[] creds = read("[(S?S)]", null); if (creds != null && creds.length == 2 && creds[0] != null && creds[1] != null) { repository.updateCredentials((String) creds[0], (String) creds[1]); } return; } else if (FAILURE.equals(items[0])) { failureReason = new String((byte[]) items[1]); throw new SVNAuthenticationException("authentication failed: " + failureReason); } else if (STEP.equals(items[0])) { byte[] response = authenticator.buildChallengeReponse((byte[]) items[1]); try { getOutputStream().write(response); } catch (IOException e) { throw new SVNException(e); } } } } else { failureReason = mech + " authorization requested, but not supported"; } } throw new SVNException(failureReason); } | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/ecc38e2fe983246d7c2fef07b2660663f05b45ec/SVNConnection.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/svn/SVNConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8929,
12,
23927,
50,
3305,
2828,
3352,
16,
4437,
58,
50,
6163,
4448,
13,
1216,
29537,
50,
503,
288,
3639,
514,
5166,
8385,
273,
446,
31,
3639,
1033,
8526,
1516,
273,
855,
2932,
63,
12443,
14,
59,
13,
55,
25887,
3113,
446,
1769,
3639,
987,
1791,
343,
87,
273,
29537,
50,
2514,
18,
588,
682,
12,
3319,
16,
374,
1769,
3639,
309,
261,
3501,
343,
87,
422,
446,
747,
1791,
343,
87,
18,
1467,
1435,
422,
374,
13,
288,
5411,
327,
31,
3639,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1791,
343,
87,
18,
1467,
5621,
277,
27245,
288,
5411,
514,
1791,
343,
273,
261,
780,
13,
1791,
343,
87,
18,
588,
12,
77,
1769,
5411,
309,
7566,
1258,
673,
61,
5980,
3378,
9654,
14963,
12,
3501,
343,
13,
747,
315,
2294,
11702,
9654,
14963,
12,
3501,
343,
3719,
288,
2398,
202,
759,
1366,
30637,
471,
855,
766,
7734,
1045,
2932,
12,
91,
1435,
2225,
16,
394,
1033,
8526,
288,
1791,
343,
15549,
7734,
1516,
273,
855,
2932,
12,
59,
3680,
55,
30743,
16,
446,
1769,
7734,
309,
261,
12778,
18,
14963,
12,
3319,
63,
20,
22643,
288,
10792,
1033,
8526,
12534,
273,
855,
2932,
63,
3680,
55,
35,
55,
25887,
3113,
446,
1769,
10792,
309,
261,
9071,
480,
446,
597,
3352,
18,
588,
3305,
2375,
1435,
422,
446,
13,
288,
13491,
3352,
18,
2725,
6163,
12443,
780,
13,
12534,
63,
20,
6487,
261,
780,
13,
12534,
63,
21,
19226,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8929,
12,
23927,
50,
3305,
2828,
3352,
16,
4437,
58,
50,
6163,
4448,
13,
1216,
29537,
50,
503,
288,
3639,
514,
5166,
8385,
273,
446,
31,
3639,
1033,
8526,
1516,
273,
855,
2932,
63,
12443,
14,
59,
13,
55,
25887,
3113,
446,
1769,
3639,
987,
1791,
343,
87,
273,
29537,
50,
2514,
18,
588,
682,
12,
3319,
16,
374,
1769,
3639,
309,
261,
3501,
343,
87,
422,
446,
747,
1791,
343,
87,
18,
1467,
1435,
422,
374,
13,
288,
5411,
327,
31,
3639,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1791,
343,
87,
18,
1467,
5621,
277,
27245,
288,
5411,
514,
1791,
343,
273,
261,
780,
13,
1791,
343,
87,
18,
588,
2
] |
public void transformSelectedNodes( TransformerImpl transformer, Node sourceNode, ElemTemplateElement template, QName mode) throws TransformerException { try { boolean rdebug = TransformerImpl.S_DEBUG; XPathContext xctxt = transformer.getXPathContext(); XPath selectPattern = getSelectOrDefault(); XObject selectResult = selectPattern.execute(xctxt, sourceNode, this); if (rdebug) transformer.getTraceManager().fireSelectedEvent(sourceNode, this, "test", selectPattern, selectResult); Vector keys = transformer.processSortKeys(this, sourceNode); NodeIterator sourceNodes = selectResult.nodeset(); // Sort if we need to. if (null != keys) sourceNodes = sortNodes(xctxt, keys, sourceNodes); pushParams(transformer, xctxt, sourceNode, mode); // Push the ContextNodeList on a stack, so that select="position()" // and the like will work. // System.out.println("pushing context node list..."); SourceLocator savedLocator = xctxt.getSAXLocator(); xctxt.pushContextNodeList((ContextNodeList) sourceNodes); transformer.pushElemTemplateElement(null); ResultTreeHandler rth = transformer.getResultTreeHandler(); StylesheetRoot sroot = getStylesheetRoot(); TemplateList tl = sroot.getTemplateListComposed(); // StylesheetComposed stylesheet = getStylesheetComposed(); StackGuard guard = transformer.getStackGuard(); boolean check = (guard.m_recursionLimit > -1); boolean quiet = transformer.getQuietConflictWarnings(); boolean needToFindTemplate = (null == template); try { Node child; while (null != (child = sourceNodes.nextNode())) { if (needToFindTemplate) { template = tl.getTemplate(xctxt, child, mode, -1, quiet); // If that didn't locate a node, fall back to a default template rule. // See http://www.w3.org/TR/xslt#built-in-rule. if (null == template) { switch (child.getNodeType()) { case Node.DOCUMENT_FRAGMENT_NODE : case Node.ELEMENT_NODE : template = sroot.getDefaultRule(); break; case Node.CDATA_SECTION_NODE : if (child.isSupported(SaxEventDispatch.SUPPORTSINTERFACE, "1.0")) { ((SaxEventDispatch) child).dispatchSaxEvent(rth); } else { rth.startCDATA(); String data = child.getNodeValue(); rth.characters(data.toCharArray(), 0, data.length()); rth.endCDATA(); } continue; case Node.TEXT_NODE : if (child.isSupported(SaxEventDispatch.SUPPORTSINTERFACE, "1.0")) { ((SaxEventDispatch) child).dispatchSaxEvent(rth); } else { String data = child.getNodeValue(); rth.characters(data.toCharArray(), 0, data.length()); } continue; case Node.ATTRIBUTE_NODE : String data = child.getNodeValue(); rth.characters(data.toCharArray(), 0, data.length()); continue; case Node.DOCUMENT_NODE : template = sroot.getDefaultRootRule(); break; default : // No default rules for processing instructions and the like. continue; } } } // If we are processing the default text rule, then just clone // the value directly to the result tree. try { transformer.pushPairCurrentMatched(template, child); if (check) guard.push(this, child); // Fire a trace event for the template. if (rdebug) transformer.getTraceManager().fireTraceEvent(child, mode, template); // And execute the child templates. if (template.isCompiledTemplate()) template.execute(transformer, child, mode); else { // Loop through the children of the template, calling execute on // each of them. for (ElemTemplateElement t = template.m_firstChild; t != null; t = t.m_nextSibling) { xctxt.setSAXLocator(t); transformer.setCurrentElement(t); t.execute(transformer, child, mode); } } } finally { transformer.popCurrentMatched(); if (check) guard.pop(); } } } finally { xctxt.setSAXLocator(savedLocator); xctxt.popContextNodeList(); transformer.popElemTemplateElement(); popParams(xctxt); // if(null != sourceNodes) // sourceNodes.detach(); } } catch(SAXException se) { transformer.getErrorListener().fatalError(new TransformerException(se)); } } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/eac44e44a98e4f08a2c3cf379a0b5dcae1324770/ElemForEach.java/buggy/src/org/apache/xalan/templates/ElemForEach.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2510,
7416,
3205,
12,
1850,
11519,
2828,
8360,
16,
2029,
26799,
16,
10223,
2283,
1046,
1542,
16,
16723,
1965,
13,
5411,
1216,
21684,
225,
288,
565,
775,
565,
288,
1377,
1250,
436,
4148,
273,
11519,
2828,
18,
55,
67,
9394,
31,
1377,
10172,
1042,
25465,
273,
8360,
18,
588,
14124,
1042,
5621,
1377,
10172,
2027,
3234,
273,
20182,
25186,
5621,
1377,
1139,
921,
2027,
1253,
273,
2027,
3234,
18,
8837,
12,
92,
20364,
16,
26799,
16,
333,
1769,
5411,
309,
261,
86,
4148,
13,
3639,
8360,
18,
588,
3448,
1318,
7675,
12179,
7416,
1133,
12,
3168,
907,
16,
333,
16,
4766,
13491,
315,
3813,
3113,
2027,
3234,
16,
2027,
1253,
1769,
5411,
5589,
1311,
273,
8360,
18,
2567,
4416,
2396,
12,
2211,
16,
26799,
1769,
1377,
2029,
3198,
1084,
3205,
273,
2027,
1253,
18,
4690,
278,
5621,
1377,
368,
5928,
309,
732,
1608,
358,
18,
1377,
309,
261,
2011,
480,
1311,
13,
3639,
1084,
3205,
273,
1524,
3205,
12,
92,
20364,
16,
1311,
16,
1084,
3205,
1769,
1377,
1817,
1370,
12,
21523,
16,
25465,
16,
26799,
16,
1965,
1769,
1377,
368,
8547,
326,
1772,
19914,
603,
279,
2110,
16,
1427,
716,
2027,
1546,
3276,
10031,
1377,
368,
471,
326,
3007,
903,
1440,
18,
1377,
368,
2332,
18,
659,
18,
8222,
2932,
6206,
310,
819,
756,
666,
7070,
1769,
1377,
4998,
5786,
5198,
5786,
273,
25465,
18,
588,
55,
2501,
5786,
5621,
1377,
25465,
18,
6206,
1042,
19914,
12443,
1042,
19914,
13,
1084,
3205,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2510,
7416,
3205,
12,
1850,
11519,
2828,
8360,
16,
2029,
26799,
16,
10223,
2283,
1046,
1542,
16,
16723,
1965,
13,
5411,
1216,
21684,
225,
288,
565,
775,
565,
288,
1377,
1250,
436,
4148,
273,
11519,
2828,
18,
55,
67,
9394,
31,
1377,
10172,
1042,
25465,
273,
8360,
18,
588,
14124,
1042,
5621,
1377,
10172,
2027,
3234,
273,
20182,
25186,
5621,
1377,
1139,
921,
2027,
1253,
273,
2027,
3234,
18,
8837,
12,
92,
20364,
16,
26799,
16,
333,
1769,
5411,
309,
261,
86,
4148,
13,
3639,
8360,
18,
588,
3448,
1318,
7675,
12179,
7416,
1133,
12,
3168,
907,
16,
333,
16,
4766,
13491,
315,
3813,
3113,
2027,
3234,
16,
2027,
1253,
1769,
5411,
5589,
1311,
273,
8360,
2
] |
||
BugzillaClient client = connector.getClientManager().getClient(repository); | BugzillaClient client = connector.getClientManager().getClient(repository); | public RepositoryTaskData downloadTaskData(TaskRepository repository, String taskId) throws CoreException { try { BugzillaClient client = connector.getClientManager().getClient(repository); int bugId = Integer.parseInt(taskId); RepositoryTaskData taskData = client.getTaskData(repository, bugId); if (taskData != null) { connector.updateAttributeOptions(repository, taskData); addValidOperations(taskData, repository.getUserName()); return taskData; } return null; } catch (final UnrecognizedReponseException e) { throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, 0, "Report download failed. Unrecognized response from " + repository.getUrl() + ".", e)); } catch (final FileNotFoundException e) { throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, 0, "Report download from " + repository.getUrl() + " failed. File not found: " + e.getMessage(), e)); } catch (final Exception e) { throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.PLUGIN_ID, 0, "Report download from " + repository.getUrl() + " failed: "+e.getMessage(), e)); } } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/13d9cc47dc7cbdd31e7fccb921b3def94c771a66/BugzillaOfflineTaskHandler.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaOfflineTaskHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6281,
2174,
751,
4224,
2174,
751,
12,
2174,
3305,
3352,
16,
514,
15321,
13,
1082,
202,
15069,
30015,
288,
202,
202,
698,
288,
1082,
202,
19865,
15990,
1227,
1004,
273,
8703,
18,
588,
1227,
1318,
7675,
588,
1227,
12,
9071,
1769,
25083,
202,
474,
7934,
548,
273,
2144,
18,
2670,
1702,
12,
4146,
548,
1769,
1082,
202,
3305,
2174,
751,
1562,
751,
273,
1004,
18,
588,
2174,
751,
12,
9071,
16,
7934,
548,
1769,
1082,
202,
430,
261,
4146,
751,
480,
446,
13,
288,
9506,
202,
23159,
18,
2725,
1499,
1320,
12,
9071,
16,
1562,
751,
1769,
9506,
202,
1289,
1556,
9343,
12,
4146,
751,
16,
3352,
18,
588,
15296,
10663,
9506,
202,
2463,
1562,
751,
31,
1082,
202,
97,
1082,
202,
2463,
446,
31,
202,
202,
97,
1044,
261,
6385,
1351,
12916,
426,
575,
503,
425,
13,
288,
1082,
202,
12849,
394,
30015,
12,
2704,
2685,
12,
45,
1482,
18,
3589,
16,
16907,
15990,
4670,
3773,
18,
19415,
67,
734,
16,
374,
16,
6862,
202,
6,
4820,
4224,
2535,
18,
1351,
12916,
766,
628,
315,
397,
3352,
18,
588,
1489,
1435,
397,
4585,
16,
425,
10019,
202,
202,
97,
1044,
261,
6385,
13707,
425,
13,
288,
1082,
202,
12849,
394,
30015,
12,
2704,
2685,
12,
45,
1482,
18,
3589,
16,
16907,
15990,
4670,
3773,
18,
19415,
67,
734,
16,
374,
16,
315,
4820,
4224,
628,
315,
6862,
202,
15,
3352,
18,
588,
1489,
1435,
397,
315,
2535,
18,
1387,
486,
1392,
30,
315,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6281,
2174,
751,
4224,
2174,
751,
12,
2174,
3305,
3352,
16,
514,
15321,
13,
1082,
202,
15069,
30015,
288,
202,
202,
698,
288,
1082,
202,
19865,
15990,
1227,
1004,
273,
8703,
18,
588,
1227,
1318,
7675,
588,
1227,
12,
9071,
1769,
25083,
202,
474,
7934,
548,
273,
2144,
18,
2670,
1702,
12,
4146,
548,
1769,
1082,
202,
3305,
2174,
751,
1562,
751,
273,
1004,
18,
588,
2174,
751,
12,
9071,
16,
7934,
548,
1769,
1082,
202,
430,
261,
4146,
751,
480,
446,
13,
288,
9506,
202,
23159,
18,
2725,
1499,
1320,
12,
9071,
16,
1562,
751,
1769,
9506,
202,
1289,
1556,
9343,
12,
4146,
751,
16,
3352,
18,
588,
15296,
10663,
9506,
202,
2463,
1562,
751,
2
] |
if (buildInfo.buildsFileType(file.getFileExtension())) { | if (buildInfo != null && buildInfo.buildsFileType(file.getFileExtension())) { | private List getSelectedBuildableFiles() { List files = new LinkedList(); ISelectionService selectionService = workbenchWindow .getSelectionService(); ISelection selection = selectionService.getSelection(); if (selection instanceof IStructuredSelection) { IStructuredSelection structuredSelection = (IStructuredSelection) selection; for (Iterator elements = structuredSelection.iterator(); elements .hasNext();) { IFile file = convertToIFile(elements.next()); if (file != null) { // we only add files that we can actually build IManagedBuildInfo buildInfo = ManagedBuildManager .getBuildInfo(file.getProject()); if (buildInfo.buildsFileType(file.getFileExtension())) { files.add(file); } } } // since we don't allow building folders, there can be no // redundancies // eliminateRedundancies(resources); } return files; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/033966ab4c22a8f61ea9109f7c90d1eb3e7068cc/BuildFilesAction.java/buggy/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/actions/BuildFilesAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
16625,
3116,
429,
2697,
1435,
288,
202,
202,
682,
1390,
273,
394,
10688,
5621,
202,
202,
45,
6233,
1179,
4421,
1179,
273,
1440,
22144,
3829,
9506,
202,
18,
588,
6233,
1179,
5621,
202,
202,
45,
6233,
4421,
273,
4421,
1179,
18,
588,
6233,
5621,
202,
202,
430,
261,
10705,
1276,
467,
30733,
6233,
13,
288,
1082,
202,
45,
30733,
6233,
19788,
6233,
273,
261,
45,
30733,
6233,
13,
4421,
31,
1082,
202,
1884,
261,
3198,
2186,
273,
19788,
6233,
18,
9838,
5621,
2186,
6862,
202,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
45,
812,
585,
273,
8137,
45,
812,
12,
6274,
18,
4285,
10663,
9506,
202,
430,
261,
768,
480,
446,
13,
288,
6862,
202,
759,
732,
1338,
527,
1390,
716,
732,
848,
6013,
1361,
6862,
202,
3445,
4184,
3116,
966,
1361,
966,
273,
10024,
3116,
1318,
6862,
1082,
202,
18,
588,
3116,
966,
12,
768,
18,
588,
4109,
10663,
6862,
202,
430,
261,
3510,
966,
18,
27324,
28941,
12,
768,
18,
29925,
3625,
1435,
3719,
288,
25083,
202,
2354,
18,
1289,
12,
768,
1769,
6862,
202,
97,
9506,
202,
97,
1082,
202,
97,
1082,
202,
759,
3241,
732,
2727,
1404,
1699,
10504,
9907,
16,
1915,
848,
506,
1158,
1082,
202,
759,
1755,
1074,
304,
13689,
1082,
202,
759,
29529,
3715,
1074,
304,
13689,
12,
4683,
1769,
202,
202,
97,
202,
202,
2463,
1390,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
987,
16625,
3116,
429,
2697,
1435,
288,
202,
202,
682,
1390,
273,
394,
10688,
5621,
202,
202,
45,
6233,
1179,
4421,
1179,
273,
1440,
22144,
3829,
9506,
202,
18,
588,
6233,
1179,
5621,
202,
202,
45,
6233,
4421,
273,
4421,
1179,
18,
588,
6233,
5621,
202,
202,
430,
261,
10705,
1276,
467,
30733,
6233,
13,
288,
1082,
202,
45,
30733,
6233,
19788,
6233,
273,
261,
45,
30733,
6233,
13,
4421,
31,
1082,
202,
1884,
261,
3198,
2186,
273,
19788,
6233,
18,
9838,
5621,
2186,
6862,
202,
18,
5332,
2134,
5621,
13,
288,
9506,
202,
45,
812,
585,
273,
8137,
45,
812,
12,
6274,
18,
4285,
10663,
9506,
202,
430,
261,
768,
480,
446,
13,
288,
6862,
2
] |
messageLabel.setText(newMessage); } | messageLabel.setText(newMessage); } | private void updateMessage(String newMessage) { messageLabel.setText(newMessage); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/da161fa58798fc8bc17f94c43475620ff52e72c2/TitleAreaDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
1079,
12,
780,
394,
1079,
13,
288,
3639,
883,
2224,
18,
542,
1528,
12,
2704,
1079,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
1079,
12,
780,
394,
1079,
13,
288,
3639,
883,
2224,
18,
542,
1528,
12,
2704,
1079,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
else { patterns = (_patternGroups[kernelType] == null) ? (_patternGroups[kernelType] = new Vector(2)) : _patternGroups[kernelType]; } if (patterns == null) { patterns.addElement(pattern); } | private void addPattern(int kernelType, LocationPathPattern pattern) { // Make sure the array of pattern groups is long enough final int oldLength = _patternGroups.length; if (kernelType >= oldLength) { Vector[] newGroups = new Vector[kernelType * 2]; System.arraycopy(_patternGroups, 0, newGroups, 0, oldLength); _patternGroups = newGroups; } // Find the vector to put this pattern into Vector patterns; // Use the vector for id()/key()/node() patterns if no kernel type patterns = (kernelType == -1) ? _nodeGroup : _patternGroups[kernelType]; // Create a new vector if needed and insert the very first pattern if (patterns == null) { patterns = new Vector(2); patterns.addElement(pattern); if (kernelType == -1) { _nodeGroup = patterns; } else { _patternGroups[kernelType] = patterns; } } // Otherwise make sure patterns are ordered by precedence/priorities else { boolean inserted = false; for (int i = 0; i < patterns.size(); i++) { final LocationPathPattern lppToCompare = (LocationPathPattern)patterns.elementAt(i); if (pattern.noSmallerThan(lppToCompare)) { inserted = true; patterns.insertElementAt(pattern, i); break; } } if (inserted == false) { patterns.addElement(pattern); } } } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/3997d939907610b1342d6ed5a6c05ee671a0ee8c/Mode.java/clean/src/org/apache/xalan/xsltc/compiler/Mode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
469,
288,
6884,
273,
261,
67,
4951,
3621,
63,
8111,
559,
65,
422,
446,
13,
692,
261,
67,
4951,
3621,
63,
8111,
559,
65,
273,
394,
5589,
12,
22,
3719,
294,
389,
4951,
3621,
63,
8111,
559,
15533,
289,
225,
309,
261,
13317,
422,
446,
13,
288,
6884,
18,
1289,
1046,
12,
4951,
1769,
289,
469,
288,
6884,
273,
261,
67,
4951,
3621,
63,
8111,
559,
65,
422,
446,
13,
692,
261,
67,
4951,
3621,
63,
8111,
559,
65,
273,
394,
5589,
12,
22,
3719,
294,
389,
4951,
3621,
63,
8111,
559,
15533,
289,
225,
309,
261,
13317,
422,
446,
13,
288,
6884,
18,
1289,
1046,
12,
4951,
1769,
289,
469,
288,
6884,
273,
261,
67,
4951,
3621,
63,
8111,
559,
65,
422,
446,
13,
692,
261,
67,
4951,
3621,
63,
8111,
559,
65,
273,
394,
5589,
12,
22,
3719,
294,
389,
4951,
3621,
63,
8111,
559,
15533,
289,
225,
309,
261,
13317,
422,
446,
13,
288,
6884,
18,
1289,
1046,
12,
4951,
1769,
289,
469,
288,
6884,
273,
261,
67,
4951,
3621,
63,
8111,
559,
65,
422,
446,
13,
692,
261,
67,
4951,
3621,
63,
8111,
559,
65,
273,
394,
5589,
12,
22,
3719,
294,
389,
4951,
3621,
63,
8111,
559,
15533,
289,
225,
309,
261,
13317,
422,
446,
13,
288,
6884,
18,
1289,
1046,
12,
4951,
1769,
289,
3238,
12107,
288,
6884,
273,
261,
67,
4951,
3621,
63,
8111,
559,
65,
422,
446,
13,
692,
261,
67,
4951,
3621,
63,
8111,
559,
65,
273,
394,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
469,
288,
6884,
273,
261,
67,
4951,
3621,
63,
8111,
559,
65,
422,
446,
13,
692,
261,
67,
4951,
3621,
63,
8111,
559,
65,
273,
394,
5589,
12,
22,
3719,
294,
389,
4951,
3621,
63,
8111,
559,
15533,
289,
225,
309,
261,
13317,
422,
446,
13,
288,
6884,
18,
1289,
1046,
12,
4951,
1769,
289,
469,
288,
6884,
273,
261,
67,
4951,
3621,
63,
8111,
559,
65,
422,
446,
13,
692,
261,
67,
4951,
3621,
63,
8111,
559,
65,
273,
394,
5589,
12,
22,
3719,
294,
389,
4951,
3621,
63,
8111,
559,
15533,
289,
225,
309,
261,
13317,
422,
446,
13,
288,
6884,
18,
1289,
1046,
12,
4951,
1769,
289,
469,
288,
6884,
273,
261,
67,
4951,
3621,
63,
2
] |
|
"ms, missing ACKs from " + ack_collector.getMissing() + " (received=" + ack_collector.getReceived() + | "ms, missing ACKs from " + ack_collector.printMissing() + " (received=" + ack_collector.printReceived() + | public void castViewChangeWithDest(View new_view, Digest digest, java.util.List members) { Message view_change_msg; GmsHeader hdr; long start, stop; ViewId vid=new_view.getVid(); int size=-1; if(members == null || members.size() == 0) members=new_view.getMembers(); if(log.isTraceEnabled()) log.trace("mcasting view {" + new_view + "} (" + new_view.size() + " mbrs)\n"); start=System.currentTimeMillis(); view_change_msg=new Message(); // bcast to all members hdr=new GmsHeader(GmsHeader.VIEW, new_view); hdr.my_digest=digest; view_change_msg.putHeader(name, hdr); ack_collector.reset(vid, members); size=ack_collector.size(); passDown(new Event(Event.MSG, view_change_msg)); try { ack_collector.waitForAllAcks(view_ack_collection_timeout); stop=System.currentTimeMillis(); if(trace) log.trace("received all ACKs (" + size + ") for " + vid + " in " + (stop-start) + "ms"); } catch(TimeoutException e) { log.warn("failed to collect all ACKs (" + size + ") for view " + new_view + " after " + view_ack_collection_timeout + "ms, missing ACKs from " + ack_collector.getMissing() + " (received=" + ack_collector.getReceived() + "), local_addr=" + local_addr); } } | 3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/5f54b164eba4b5bcde2aa03985f78bbe2cc05deb/GMS.java/clean/src/org/jgroups/protocols/pbcast/GMS.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4812,
1767,
3043,
1190,
9378,
12,
1767,
394,
67,
1945,
16,
15864,
5403,
16,
2252,
18,
1367,
18,
682,
4833,
13,
288,
3639,
2350,
282,
1476,
67,
3427,
67,
3576,
31,
3639,
611,
959,
1864,
7723,
31,
3639,
1525,
1377,
787,
16,
2132,
31,
3639,
4441,
548,
565,
18339,
33,
2704,
67,
1945,
18,
588,
58,
350,
5621,
3639,
509,
4202,
963,
29711,
21,
31,
3639,
309,
12,
7640,
422,
446,
747,
4833,
18,
1467,
1435,
422,
374,
13,
5411,
4833,
33,
2704,
67,
1945,
18,
588,
6918,
5621,
3639,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
5411,
613,
18,
5129,
2932,
81,
4155,
310,
1476,
12528,
397,
394,
67,
1945,
397,
27342,
7566,
397,
394,
67,
1945,
18,
1467,
1435,
397,
315,
312,
2848,
87,
5153,
82,
8863,
3639,
787,
33,
3163,
18,
2972,
28512,
5621,
3639,
1476,
67,
3427,
67,
3576,
33,
2704,
2350,
5621,
368,
324,
4155,
358,
777,
4833,
3639,
7723,
33,
2704,
611,
959,
1864,
12,
43,
959,
1864,
18,
12145,
16,
394,
67,
1945,
1769,
3639,
7723,
18,
4811,
67,
10171,
33,
10171,
31,
3639,
1476,
67,
3427,
67,
3576,
18,
458,
1864,
12,
529,
16,
7723,
1769,
3639,
8479,
67,
21356,
18,
6208,
12,
1246,
16,
4833,
1769,
3639,
963,
33,
484,
67,
21356,
18,
1467,
5621,
3639,
1342,
4164,
12,
2704,
2587,
12,
1133,
18,
11210,
16,
1476,
67,
3427,
67,
3576,
10019,
3639,
775,
288,
5411,
8479,
67,
21356,
18,
7048,
1290,
1595,
11931,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4812,
1767,
3043,
1190,
9378,
12,
1767,
394,
67,
1945,
16,
15864,
5403,
16,
2252,
18,
1367,
18,
682,
4833,
13,
288,
3639,
2350,
282,
1476,
67,
3427,
67,
3576,
31,
3639,
611,
959,
1864,
7723,
31,
3639,
1525,
1377,
787,
16,
2132,
31,
3639,
4441,
548,
565,
18339,
33,
2704,
67,
1945,
18,
588,
58,
350,
5621,
3639,
509,
4202,
963,
29711,
21,
31,
3639,
309,
12,
7640,
422,
446,
747,
4833,
18,
1467,
1435,
422,
374,
13,
5411,
4833,
33,
2704,
67,
1945,
18,
588,
6918,
5621,
3639,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
5411,
613,
18,
5129,
2932,
81,
4155,
310,
1476,
12528,
397,
394,
67,
1945,
397,
27342,
7566,
397,
2
] |
Object result = Integer.valueOf(0); | Object result = new Integer(0); | public static Object sum(Collection self) { Object result = Integer.valueOf(0); Object[] param = new Object[1]; for (Iterator iter = self.iterator(); iter.hasNext();) { Object operand = iter.next(); param[0] = operand; MetaClass metaClass = InvokerHelper.getMetaClass(result); result = metaClass.invokeMethod(result, "plus", param); } return result; } | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/698b33157294f117d73d0a4761a4a3bf36160f13/DefaultGroovyMethods.java/buggy/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
2142,
12,
2532,
365,
13,
288,
377,
202,
921,
563,
273,
2144,
18,
1132,
951,
12,
20,
1769,
202,
202,
921,
8526,
579,
273,
394,
1033,
63,
21,
15533,
202,
202,
1884,
261,
3198,
1400,
273,
365,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
921,
9886,
273,
1400,
18,
4285,
5621,
1082,
202,
891,
63,
20,
65,
273,
9886,
31,
1082,
202,
2781,
797,
2191,
797,
273,
17602,
264,
2276,
18,
588,
2781,
797,
12,
2088,
1769,
1082,
202,
2088,
273,
2191,
797,
18,
14407,
1305,
12,
2088,
16,
315,
10103,
3113,
579,
1769,
202,
202,
97,
202,
202,
2463,
563,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
2142,
12,
2532,
365,
13,
288,
377,
202,
921,
563,
273,
2144,
18,
1132,
951,
12,
20,
1769,
202,
202,
921,
8526,
579,
273,
394,
1033,
63,
21,
15533,
202,
202,
1884,
261,
3198,
1400,
273,
365,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
1082,
202,
921,
9886,
273,
1400,
18,
4285,
5621,
1082,
202,
891,
63,
20,
65,
273,
9886,
31,
1082,
202,
2781,
797,
2191,
797,
273,
17602,
264,
2276,
18,
588,
2781,
797,
12,
2088,
1769,
1082,
202,
2088,
273,
2191,
797,
18,
14407,
1305,
12,
2088,
16,
315,
10103,
3113,
579,
1769,
202,
202,
97,
202,
202,
2463,
563,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
time -= ((RubyTime) other).cal.getTimeInMillis(); | time -= ((RubyTime) other).getTimeInMillis(); | public RubyObject op_minus(RubyObject other) { long time = cal.getTimeInMillis(); if (other instanceof RubyTime) { time -= ((RubyTime) other).cal.getTimeInMillis(); return RubyFloat.newFloat(ruby, time * 10e-4); } else { time -= ((RubyNumeric) other).getDoubleValue() * 1000; RubyTime newTime = new RubyTime(ruby, getRubyClass()); newTime.cal = Calendar.getInstance(); newTime.cal.setTime(new Date(time)); return newTime; } } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/1d7a03bf28c697f2c006eafab8faa91982894617/RubyTime.java/buggy/org/jruby/RubyTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
1061,
67,
19601,
12,
54,
10340,
921,
1308,
13,
288,
3639,
1525,
813,
273,
1443,
18,
588,
950,
16620,
5621,
3639,
309,
261,
3011,
1276,
19817,
950,
13,
288,
5411,
813,
3947,
14015,
54,
10340,
950,
13,
1308,
2934,
588,
950,
16620,
5621,
5411,
327,
19817,
4723,
18,
2704,
4723,
12,
27768,
16,
813,
380,
1728,
73,
17,
24,
1769,
3639,
289,
469,
288,
5411,
813,
3947,
14015,
54,
10340,
9902,
13,
1308,
2934,
588,
5265,
620,
1435,
380,
4336,
31,
5411,
19817,
950,
394,
950,
273,
394,
19817,
950,
12,
27768,
16,
4170,
10340,
797,
10663,
5411,
394,
950,
18,
771,
273,
5542,
18,
588,
1442,
5621,
5411,
394,
950,
18,
771,
18,
542,
950,
12,
2704,
2167,
12,
957,
10019,
5411,
327,
394,
950,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
1061,
67,
19601,
12,
54,
10340,
921,
1308,
13,
288,
3639,
1525,
813,
273,
1443,
18,
588,
950,
16620,
5621,
3639,
309,
261,
3011,
1276,
19817,
950,
13,
288,
5411,
813,
3947,
14015,
54,
10340,
950,
13,
1308,
2934,
588,
950,
16620,
5621,
5411,
327,
19817,
4723,
18,
2704,
4723,
12,
27768,
16,
813,
380,
1728,
73,
17,
24,
1769,
3639,
289,
469,
288,
5411,
813,
3947,
14015,
54,
10340,
9902,
13,
1308,
2934,
588,
5265,
620,
1435,
380,
4336,
31,
5411,
19817,
950,
394,
950,
273,
394,
19817,
950,
12,
27768,
16,
4170,
10340,
797,
10663,
5411,
394,
950,
18,
771,
273,
5542,
18,
588,
1442,
5621,
5411,
394,
950,
18,
771,
18,
542,
2
] |
return new XPath(str, getLocator(), this, XPath.SELECT); | ErrorListener handler = m_stylesheetProcessor.getErrorListener(); return new XPath(str, getLocator(), this, XPath.SELECT, handler); | public XPath createXPath(String str) throws javax.xml.transform.TransformerException { return new XPath(str, getLocator(), this, XPath.SELECT); } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/224bd46c81f9ec401bff9edbd5891470eac1b057/StylesheetHandler.java/clean/src/org/apache/xalan/processor/StylesheetHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
10172,
752,
14124,
12,
780,
609,
13,
1850,
1216,
6863,
18,
2902,
18,
6547,
18,
8319,
503,
225,
288,
565,
1068,
2223,
1838,
273,
312,
67,
19403,
5164,
18,
588,
668,
2223,
5621,
327,
394,
10172,
12,
701,
16,
336,
5786,
9334,
333,
16,
10172,
18,
4803,
16,
1838,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
10172,
752,
14124,
12,
780,
609,
13,
1850,
1216,
6863,
18,
2902,
18,
6547,
18,
8319,
503,
225,
288,
565,
1068,
2223,
1838,
273,
312,
67,
19403,
5164,
18,
588,
668,
2223,
5621,
327,
394,
10172,
12,
701,
16,
336,
5786,
9334,
333,
16,
10172,
18,
4803,
16,
1838,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private Document handleFile(File file) { try { Set attrSet = new TreeSet(); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(file); List tags = Util.getElements(doc.getDocumentElement(), "body/taglib/tag"); Iterator iter = tags.iterator(); while (iter.hasNext()) { Element tag = (Element) iter.next(); List attrList = Util.getElements(tag, "attribute"); Iterator attrIter = attrList.iterator(); while (attrIter.hasNext()) { Element attribute = (Element) attrIter.next(); String name = Util.getElementValue(attribute, "name"); attrSet.add(name); } } Element attributes = Util.addChildElement( doc.getDocumentElement(), "attributes", null); iter = attrSet.iterator(); while (iter.hasNext()) { String name = (String) iter.next(); Util.addChildElement(attributes, "attribute", name); } return doc; } catch (Exception e) { e.printStackTrace(); } return null; } | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/bcf54ee9560f4fd9a0ff083d3f0ea7c829a28aea/TaglibReport.java/buggy/contrib/tag-doc/src/java/org/apache/struts/taskdefs/TaglibReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2519,
4110,
812,
12,
812,
768,
15329,
202,
202,
698,
95,
1082,
202,
694,
1747,
694,
33,
2704,
2471,
694,
5621,
1082,
202,
2519,
20692,
1966,
74,
33,
2519,
20692,
18,
2704,
1442,
5621,
1082,
202,
2519,
1263,
1966,
33,
1966,
74,
18,
2704,
2519,
1263,
5621,
1082,
202,
2519,
2434,
33,
1966,
18,
2670,
12,
768,
1769,
1082,
202,
682,
4156,
33,
9506,
202,
1304,
18,
588,
3471,
12,
2434,
18,
588,
2519,
1046,
9334,
6,
3432,
19,
2692,
2941,
19,
2692,
8863,
1082,
202,
3198,
2165,
33,
4156,
18,
9838,
5621,
1082,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
95,
9506,
202,
1046,
2692,
28657,
1046,
13,
2165,
18,
4285,
5621,
9506,
202,
682,
1747,
682,
33,
1304,
18,
588,
3471,
12,
2692,
10837,
4589,
8863,
9506,
202,
3198,
1747,
2360,
33,
1747,
682,
18,
9838,
5621,
9506,
202,
17523,
12,
1747,
2360,
18,
5332,
2134,
10756,
95,
6862,
202,
1046,
4589,
28657,
1046,
13,
1747,
2360,
18,
4285,
5621,
6862,
202,
780,
529,
33,
1304,
18,
21336,
620,
12,
4589,
10837,
529,
8863,
6862,
202,
1747,
694,
18,
1289,
12,
529,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
1046,
4350,
33,
9506,
202,
1304,
18,
1289,
1763,
1046,
12,
6862,
202,
2434,
18,
588,
2519,
1046,
9334,
6862,
202,
6,
4350,
3113,
6862,
202,
2011,
1769,
1082,
202,
2165,
33,
1747,
694,
18,
9838,
5621,
1082,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
95,
9506,
202,
780,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
2519,
4110,
812,
12,
812,
768,
15329,
202,
202,
698,
95,
1082,
202,
694,
1747,
694,
33,
2704,
2471,
694,
5621,
1082,
202,
2519,
20692,
1966,
74,
33,
2519,
20692,
18,
2704,
1442,
5621,
1082,
202,
2519,
1263,
1966,
33,
1966,
74,
18,
2704,
2519,
1263,
5621,
1082,
202,
2519,
2434,
33,
1966,
18,
2670,
12,
768,
1769,
1082,
202,
682,
4156,
33,
9506,
202,
1304,
18,
588,
3471,
12,
2434,
18,
588,
2519,
1046,
9334,
6,
3432,
19,
2692,
2941,
19,
2692,
8863,
1082,
202,
3198,
2165,
33,
4156,
18,
9838,
5621,
1082,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
95,
9506,
202,
1046,
2692,
28657,
1046,
13,
2165,
18,
4285,
5621,
9506,
202,
2
] |
||
public void removeChangeListener(ChangeListener l) { changes.removeElement(l); } | public void removeChangeListener(ChangeListener l) { listenerList.remove(ChangeListener.class, l); } | public void removeChangeListener(ChangeListener l) { changes.removeElement(l); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultButtonModel.java/clean/core/src/classpath/javax/javax/swing/DefaultButtonModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
15744,
12,
15744,
328,
13,
288,
202,
202,
6329,
18,
4479,
1046,
12,
80,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
15744,
12,
15744,
328,
13,
288,
202,
202,
6329,
18,
4479,
1046,
12,
80,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
expr.returnToPool(); | if (expr != null) expr.returnToPool(); | public void cell(HSSFCell cell, String sourceXPath, String targetXPath) { if (sourceXPath.charAt(0) == '/') sourceXPath = sourceXPath.substring(1); // Set cell value Object newObject = sheetElement.selectObject(sourceXPath); PooledXPathExpression expr = XPathCache.getXPathExpression(pipelineContext, wrapper.wrap(newObject), "string()"); String newValue; try { newValue = (String) expr.evaluateSingle(); } catch (XPathException e) { throw new OXFException(e); } finally { expr.returnToPool(); } if (newValue == null) { throw new OXFException("Nothing matches the XPath expression '" + sourceXPath + "' in the input document"); } try { cell.setCellValue(Double.parseDouble(newValue)); } catch (NumberFormatException e) { cell.setCellValue(newValue); } // Set cell format Object element = sheetElement.selectObject(sourceXPath); if (element instanceof Element) { // NOTE: We might want to support other properties here String bold = ((Element) element).attributeValue("bold"); if (bold != null) { HSSFFont originalFont = workbook.getFontAt(cell.getCellStyle().getFontIndex()); HSSFFont newFont = workbook.createFont(); XLSUtils.copyFont(newFont, originalFont); if ("true".equals(bold)) newFont.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD); cell.getCellStyle().setFont(newFont); } } } | 54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/7b8d3b31ee1d694cf0349f79011e8a9f71fceca8/XLSSerializer.java/buggy/src/java/org/orbeon/oxf/processor/serializer/legacy/XLSSerializer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
2484,
12,
44,
1260,
42,
4020,
2484,
16,
514,
1084,
14124,
16,
514,
1018,
14124,
13,
288,
13491,
309,
261,
3168,
14124,
18,
3001,
861,
12,
20,
13,
422,
2023,
13,
18701,
1084,
14124,
273,
1084,
14124,
18,
28023,
12,
21,
1769,
13491,
368,
1000,
2484,
460,
13491,
1033,
24518,
273,
6202,
1046,
18,
4025,
921,
12,
3168,
14124,
1769,
13491,
453,
22167,
14124,
2300,
3065,
273,
10172,
1649,
18,
588,
14124,
2300,
12,
14511,
1042,
16,
27573,
4053,
18,
4113,
12,
2704,
921,
3631,
315,
1080,
1435,
8863,
13491,
514,
6129,
31,
13491,
775,
288,
18701,
6129,
273,
261,
780,
13,
3065,
18,
21024,
5281,
5621,
13491,
289,
1044,
261,
14124,
503,
425,
13,
288,
18701,
604,
394,
531,
60,
42,
503,
12,
73,
1769,
13491,
289,
3095,
288,
18701,
309,
261,
8638,
480,
446,
13,
3065,
18,
2463,
774,
2864,
5621,
13491,
289,
13491,
309,
261,
2704,
620,
422,
446,
13,
288,
18701,
604,
394,
531,
60,
42,
503,
2932,
23814,
1885,
326,
10172,
2652,
2119,
4766,
565,
397,
1084,
14124,
397,
2491,
316,
326,
810,
1668,
8863,
13491,
289,
13491,
775,
288,
18701,
2484,
18,
542,
27758,
12,
5265,
18,
2670,
5265,
12,
2704,
620,
10019,
13491,
289,
1044,
261,
1854,
9291,
425,
13,
288,
18701,
2484,
18,
542,
27758,
12,
2704,
620,
1769,
13491,
289,
13491,
368,
1000,
2484,
740,
13491,
1033,
930,
273,
6202,
1046,
18,
4025,
921,
12,
3168,
14124,
1769,
13491,
309,
261,
2956,
1276,
3010,
13,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
2484,
12,
44,
1260,
42,
4020,
2484,
16,
514,
1084,
14124,
16,
514,
1018,
14124,
13,
288,
13491,
309,
261,
3168,
14124,
18,
3001,
861,
12,
20,
13,
422,
2023,
13,
18701,
1084,
14124,
273,
1084,
14124,
18,
28023,
12,
21,
1769,
13491,
368,
1000,
2484,
460,
13491,
1033,
24518,
273,
6202,
1046,
18,
4025,
921,
12,
3168,
14124,
1769,
13491,
453,
22167,
14124,
2300,
3065,
273,
10172,
1649,
18,
588,
14124,
2300,
12,
14511,
1042,
16,
27573,
4053,
18,
4113,
12,
2704,
921,
3631,
315,
1080,
1435,
8863,
13491,
514,
6129,
31,
13491,
775,
288,
18701,
6129,
273,
261,
780,
13,
3065,
18,
21024,
5281,
5621,
13491,
289,
1044,
261,
14124,
503,
425,
13,
288,
2
] |
public Object getPropertyExceptRomDefault( Module module, ElementPropertyDefn prop ) { if ( prop.isIntrinsic( ) ) { // This is an intrinsic system-defined property. Object value = getIntrinsicProperty( prop.getName( ) ); if ( value != null ) return value; return null; } // Repeat the search up the inheritance or style // hierarchy, starting with this element. DesignElement e = this; Object value = null; while ( e != null ) { // Check if this element or parent provides the value value = e.getPropertyFromElement( module, prop ); if ( value != null ) return value; if ( !e.isInheritableProperty( prop ) || !prop.isStyleProperty( ) || isStyle( ) ) return getSessionDefaultValue( module, prop ); // Check if the container/slot predefined style provides // the value value = e.getPropertyRelatedToContainer( module, prop ); if ( value != null ) return value; // Try to get the value of this property from container // hierarchy. e = e.getContainer( ); } // Still not found. Use the default. return getSessionDefaultValue( module, prop ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/116d8de3213e4f354f008c24beab2f2caf8528b6/DesignElement.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3911,
30212,
54,
362,
1868,
12,
5924,
1605,
16,
1082,
202,
1046,
1396,
3262,
82,
2270,
262,
202,
95,
202,
202,
430,
261,
2270,
18,
291,
382,
21760,
12,
262,
262,
202,
202,
95,
1082,
202,
759,
1220,
353,
392,
28871,
2619,
17,
2178,
1272,
18,
1082,
202,
921,
460,
273,
7854,
21760,
1396,
12,
2270,
18,
17994,
12,
262,
11272,
1082,
202,
430,
261,
460,
480,
446,
262,
9506,
202,
2463,
460,
31,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
759,
20742,
326,
1623,
731,
326,
16334,
578,
2154,
202,
202,
759,
9360,
16,
5023,
598,
333,
930,
18,
202,
202,
15478,
1046,
425,
273,
333,
31,
202,
202,
921,
460,
273,
446,
31,
202,
202,
17523,
261,
425,
480,
446,
262,
202,
202,
95,
1082,
202,
759,
2073,
309,
333,
930,
578,
982,
8121,
326,
460,
1082,
202,
1132,
273,
425,
18,
588,
1396,
1265,
1046,
12,
1605,
16,
2270,
11272,
1082,
202,
430,
261,
460,
480,
446,
262,
9506,
202,
2463,
460,
31,
1082,
202,
430,
261,
401,
73,
18,
291,
14216,
429,
1396,
12,
2270,
262,
747,
401,
5986,
18,
291,
2885,
1396,
12,
262,
6862,
202,
20081,
353,
2885,
12,
262,
262,
9506,
202,
2463,
7183,
15646,
12,
1605,
16,
2270,
11272,
1082,
202,
759,
2073,
309,
326,
1478,
19,
14194,
19555,
2154,
8121,
1082,
202,
759,
326,
460,
1082,
202,
1132,
273,
425,
18,
588,
1396,
8017,
774,
2170,
12,
1605,
16,
2270,
11272,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3911,
30212,
54,
362,
1868,
12,
5924,
1605,
16,
1082,
202,
1046,
1396,
3262,
82,
2270,
262,
202,
95,
202,
202,
430,
261,
2270,
18,
291,
382,
21760,
12,
262,
262,
202,
202,
95,
1082,
202,
759,
1220,
353,
392,
28871,
2619,
17,
2178,
1272,
18,
1082,
202,
921,
460,
273,
7854,
21760,
1396,
12,
2270,
18,
17994,
12,
262,
11272,
1082,
202,
430,
261,
460,
480,
446,
262,
9506,
202,
2463,
460,
31,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
202,
759,
20742,
326,
1623,
731,
326,
16334,
578,
2154,
202,
202,
759,
9360,
16,
5023,
598,
333,
930,
18,
202,
202,
15478,
1046,
425,
273,
333,
31,
202,
202,
921,
460,
2
] |
||
int orientation = scrollbar.getOrientation(); switch (orientation) { case (JScrollBar.HORIZONTAL): incrButton = createIncreaseButton(EAST); decrButton = createDecreaseButton(WEST); break; default: incrButton = createIncreaseButton(SOUTH); decrButton = createDecreaseButton(NORTH); break; } | protected void installDefaults() { int orientation = scrollbar.getOrientation(); switch (orientation) { case (JScrollBar.HORIZONTAL): incrButton = createIncreaseButton(EAST); decrButton = createDecreaseButton(WEST); break; default: incrButton = createIncreaseButton(SOUTH); decrButton = createDecreaseButton(NORTH); break; } LookAndFeel.installColors(scrollbar, "ScrollBar.background", "ScrollBar.foreground"); LookAndFeel.installBorder(scrollbar, "ScrollBar.border"); scrollbar.setOpaque(true); scrollbar.setLayout(this); thumbColor = UIManager.getColor("ScrollBar.thumb"); thumbDarkShadowColor = UIManager.getColor("ScrollBar.thumbDarkShadow"); thumbHighlightColor = UIManager.getColor("ScrollBar.thumbHighlight"); thumbLightShadowColor = UIManager.getColor("ScrollBar.thumbShadow"); maximumThumbSize = UIManager.getDimension("ScrollBar.maximumThumbSize"); minimumThumbSize = UIManager.getDimension("ScrollBar.minimumThumbSize"); } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/3878be593002f301580025b16c264e41f364beae/BasicScrollBarUI.java/buggy/libraries/javalib/external/classpath/javax/swing/plaf/basic/BasicScrollBarUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3799,
7019,
1435,
225,
288,
565,
509,
9820,
273,
27123,
18,
588,
14097,
5621,
565,
1620,
261,
19235,
13,
1377,
288,
1377,
648,
261,
46,
6806,
5190,
18,
44,
20344,
4672,
3639,
17633,
3616,
273,
752,
382,
11908,
3616,
12,
41,
9053,
1769,
3639,
2109,
86,
3616,
273,
752,
23326,
448,
3616,
12,
31285,
1769,
3639,
898,
31,
1377,
805,
30,
3639,
17633,
3616,
273,
752,
382,
11908,
3616,
12,
3584,
5844,
1769,
3639,
2109,
86,
3616,
273,
752,
23326,
448,
3616,
12,
50,
28212,
1769,
3639,
898,
31,
1377,
289,
565,
10176,
1876,
2954,
292,
18,
5425,
12570,
12,
12033,
3215,
16,
315,
6806,
5190,
18,
9342,
3113,
17311,
315,
6806,
5190,
18,
1405,
2915,
8863,
565,
10176,
1876,
2954,
292,
18,
5425,
8107,
12,
12033,
3215,
16,
315,
6806,
5190,
18,
8815,
8863,
565,
27123,
18,
542,
3817,
14886,
12,
3767,
1769,
565,
27123,
18,
542,
3744,
12,
2211,
1769,
565,
11156,
2957,
273,
6484,
1318,
18,
588,
2957,
2932,
6806,
5190,
18,
21639,
8863,
565,
11156,
40,
1313,
12957,
2957,
273,
6484,
1318,
18,
588,
2957,
2932,
6806,
5190,
18,
21639,
40,
1313,
12957,
8863,
565,
11156,
16205,
2957,
273,
6484,
1318,
18,
588,
2957,
2932,
6806,
5190,
18,
21639,
16205,
8863,
565,
11156,
12128,
12957,
2957,
273,
6484,
1318,
18,
588,
2957,
2932,
6806,
5190,
18,
21639,
12957,
8863,
565,
4207,
18922,
1225,
273,
6484,
1318,
18,
588,
8611,
2932,
6806,
5190,
18,
15724,
18922,
1225,
8863,
565,
5224,
18922,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3799,
7019,
1435,
225,
288,
565,
509,
9820,
273,
27123,
18,
588,
14097,
5621,
565,
1620,
261,
19235,
13,
1377,
288,
1377,
648,
261,
46,
6806,
5190,
18,
44,
20344,
4672,
3639,
17633,
3616,
273,
752,
382,
11908,
3616,
12,
41,
9053,
1769,
3639,
2109,
86,
3616,
273,
752,
23326,
448,
3616,
12,
31285,
1769,
3639,
898,
31,
1377,
805,
30,
3639,
17633,
3616,
273,
752,
382,
11908,
3616,
12,
3584,
5844,
1769,
3639,
2109,
86,
3616,
273,
752,
23326,
448,
3616,
12,
50,
28212,
1769,
3639,
898,
31,
1377,
289,
565,
10176,
1876,
2954,
292,
18,
5425,
12570,
12,
12033,
3215,
16,
315,
6806,
5190,
18,
9342,
3113,
17311,
315,
6806,
5190,
18,
1405,
2915,
2
] |
|
public ProjectFileIR parse(File projFile) throws IOException, FileNotFoundException, MalformedProjectFileException { _projectFile = projFile; _parentDir = projFile.getParent();// System.err.println("Parsing project file " + projFile + " with parent " + _parentDir); List<SEList> forest = null; try { forest = SExpParser.parse(projFile); } catch(SExpParseException e) { throw new MalformedProjectFileException("Parse Error: " + e.getMessage()); } ProjectFileIR pfir = new ProjectProfile(projFile); try { for (SEList exp : forest) evaluateExpression(exp, pfir); } catch(PrivateProjectException e) { throw new MalformedProjectFileException("Parse Error: " + e.getMessage()); } // System.err.println("Parsed buildDir is " + pfir.getBuildDirectory()); return pfir; } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/bd397d7031a3a6391c14c55c6410a49e1be43ebd/ProjectFileParser.java/buggy/drjava/src/edu/rice/cs/drjava/project/ProjectFileParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5420,
812,
7937,
1109,
12,
812,
10296,
812,
13,
1216,
1860,
16,
13707,
16,
13311,
4109,
812,
503,
288,
3639,
389,
4406,
812,
273,
10296,
812,
31,
565,
389,
2938,
1621,
273,
10296,
812,
18,
588,
3054,
5621,
759,
565,
2332,
18,
370,
18,
8222,
2932,
13963,
1984,
585,
315,
397,
10296,
812,
397,
315,
598,
982,
315,
397,
389,
2938,
1621,
1769,
3639,
987,
32,
1090,
682,
34,
30763,
273,
446,
31,
565,
775,
288,
30763,
273,
348,
2966,
2678,
18,
2670,
12,
17995,
812,
1769,
289,
565,
1044,
12,
55,
2966,
13047,
425,
13,
288,
604,
394,
13311,
4109,
812,
503,
2932,
3201,
1068,
30,
315,
397,
425,
18,
24906,
10663,
289,
3639,
5420,
812,
7937,
10811,
481,
273,
394,
5420,
4029,
12,
17995,
812,
1769,
3639,
775,
288,
1377,
364,
261,
1090,
682,
1329,
294,
30763,
13,
5956,
2300,
12,
2749,
16,
10811,
481,
1769,
565,
289,
565,
1044,
12,
6014,
4109,
503,
425,
13,
288,
604,
394,
13311,
4109,
812,
503,
2932,
3201,
1068,
30,
315,
397,
425,
18,
24906,
10663,
289,
565,
368,
565,
2332,
18,
370,
18,
8222,
2932,
11257,
1361,
1621,
353,
315,
397,
10811,
481,
18,
588,
3116,
2853,
10663,
3639,
327,
10811,
481,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5420,
812,
7937,
1109,
12,
812,
10296,
812,
13,
1216,
1860,
16,
13707,
16,
13311,
4109,
812,
503,
288,
3639,
389,
4406,
812,
273,
10296,
812,
31,
565,
389,
2938,
1621,
273,
10296,
812,
18,
588,
3054,
5621,
759,
565,
2332,
18,
370,
18,
8222,
2932,
13963,
1984,
585,
315,
397,
10296,
812,
397,
315,
598,
982,
315,
397,
389,
2938,
1621,
1769,
3639,
987,
32,
1090,
682,
34,
30763,
273,
446,
31,
565,
775,
288,
30763,
273,
348,
2966,
2678,
18,
2670,
12,
17995,
812,
1769,
289,
565,
1044,
12,
55,
2966,
13047,
425,
13,
288,
604,
394,
13311,
4109,
812,
503,
2932,
3201,
1068,
30,
315,
397,
425,
18,
24906,
10663,
289,
3639,
5420,
812,
2
] |
||
attributes.addAttribute( fAttributeQName, XMLSymbols.fCDATASymbol, null); | int oldLen = attributes.getLength(); attrIndex = attributes.addAttribute( fAttributeQName, XMLSymbols.fCDATASymbol, null); | protected void scanAttribute(XMLAttributesImpl attributes) throws IOException, XNIException { if (DEBUG_CONTENT_SCANNING) System.out.println(">>> scanAttribute()"); // name fEntityScanner.scanQName(fAttributeQName); // equals fEntityScanner.skipSpaces(); if (!fEntityScanner.skipChar('=')) { reportFatalError( "EqRequiredInAttribute", new Object[] { fCurrentElement.rawname, fAttributeQName.rawname }); } fEntityScanner.skipSpaces(); // content int oldLen = attributes.getLength(); if (fBindNamespaces) { attributes.addAttributeNS( fAttributeQName, XMLSymbols.fCDATASymbol, null); } else { attributes.addAttribute( fAttributeQName, XMLSymbols.fCDATASymbol, null); // WFC: Unique Att Spec if (oldLen == attributes.getLength()) { reportFatalError( "AttributeNotUnique", new Object[] { fCurrentElement.rawname, fAttributeQName.rawname }); } } //REVISIT: one more case needs to be included: external PE and standalone is no boolean isVC = fHasExternalDTD && !fStandalone; // REVISIT: it seems that this function should not take attributes, and length scanAttributeValue( this.fTempString, fTempString2, fAttributeQName.rawname, attributes, oldLen, isVC, fCurrentElement.rawname); String value = fTempString.toString(); attributes.setValue(oldLen, value); attributes.setNonNormalizedValue(oldLen, fTempString2.toString()); attributes.setSpecified(oldLen, true); // record namespace declarations if any. if (fBindNamespaces) { String localpart = fAttributeQName.localpart; String prefix = fAttributeQName.prefix != null ? fAttributeQName.prefix : XMLSymbols.EMPTY_STRING; // when it's of form xmlns="..." or xmlns:prefix="...", // it's a namespace declaration. but prefix:xmlns="..." isn't. if (prefix == XMLSymbols.PREFIX_XMLNS || prefix == XMLSymbols.EMPTY_STRING && localpart == XMLSymbols.PREFIX_XMLNS) { // get the internalized value of this attribute String uri = fSymbolTable.addSymbol(value); // 1. "xmlns" can't be bound to any namespace if (prefix == XMLSymbols.PREFIX_XMLNS && localpart == XMLSymbols.PREFIX_XMLNS) { fErrorReporter.reportError( XMLMessageFormatter.XMLNS_DOMAIN, "CantBindXMLNS", new Object[] { fAttributeQName }, XMLErrorReporter.SEVERITY_FATAL_ERROR); } // 2. the namespace for "xmlns" can't be bound to any prefix if (uri == NamespaceContext.XMLNS_URI) { fErrorReporter.reportError( XMLMessageFormatter.XMLNS_DOMAIN, "CantBindXMLNS", new Object[] { fAttributeQName }, XMLErrorReporter.SEVERITY_FATAL_ERROR); } // 3. "xml" can't be bound to any other namespace than it's own if (localpart == XMLSymbols.PREFIX_XML) { if (uri != NamespaceContext.XML_URI) { fErrorReporter.reportError( XMLMessageFormatter.XMLNS_DOMAIN, "CantBindXML", new Object[] { fAttributeQName }, XMLErrorReporter.SEVERITY_FATAL_ERROR); } } // 4. the namespace for "xml" can't be bound to any other prefix else { if (uri == NamespaceContext.XML_URI) { fErrorReporter.reportError( XMLMessageFormatter.XMLNS_DOMAIN, "CantBindXML", new Object[] { fAttributeQName }, XMLErrorReporter.SEVERITY_FATAL_ERROR); } } prefix = localpart != XMLSymbols.PREFIX_XMLNS ? localpart : XMLSymbols.EMPTY_STRING; // Declare prefix in context. Removing the association between a prefix and a // namespace name is permitted in XML 1.1, so if the uri value is the empty string, // the prefix is being unbound. -- mrglavas fNamespaceContext.declarePrefix( prefix, uri.length() != 0 ? uri : null); // bind namespace attribute to a namespace attributes.setURI( oldLen, fNamespaceContext.getURI(XMLSymbols.PREFIX_XMLNS)); } else { // attempt to bind attribute if (fAttributeQName.prefix != null) { attributes.setURI( oldLen, fNamespaceContext.getURI(fAttributeQName.prefix)); } } } if (DEBUG_CONTENT_SCANNING) System.out.println("<<< scanAttribute()"); } // scanAttribute(XMLAttributes) | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/6f7dbb76e4d508528689dc20d788e664e58ae532/XML11NSDocumentScannerImpl.java/buggy/src/org/apache/xerces/impl/XML11NSDocumentScannerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4135,
1499,
12,
4201,
2498,
2828,
1677,
13,
3639,
1216,
1860,
16,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
5411,
2332,
18,
659,
18,
8222,
2932,
23012,
4135,
1499,
1435,
8863,
3639,
368,
508,
3639,
284,
1943,
11338,
18,
9871,
13688,
12,
74,
1499,
13688,
1769,
3639,
368,
1606,
3639,
284,
1943,
11338,
18,
7457,
12077,
5621,
3639,
309,
16051,
74,
1943,
11338,
18,
7457,
2156,
2668,
2218,
3719,
288,
5411,
2605,
19593,
668,
12,
7734,
315,
19508,
3705,
382,
1499,
3113,
7734,
394,
1033,
8526,
288,
10792,
284,
3935,
1046,
18,
1899,
529,
16,
10792,
284,
1499,
13688,
18,
1899,
529,
15549,
3639,
289,
3639,
284,
1943,
11338,
18,
7457,
12077,
5621,
3639,
368,
913,
3639,
509,
1592,
2891,
273,
1677,
18,
588,
1782,
5621,
3639,
309,
261,
74,
3357,
13180,
13,
288,
5411,
1677,
18,
1289,
1499,
3156,
12,
7734,
284,
1499,
13688,
16,
7734,
3167,
14821,
18,
74,
10160,
789,
3033,
3284,
16,
7734,
446,
1769,
3639,
289,
469,
288,
5411,
1677,
18,
1289,
1499,
12,
7734,
284,
1499,
13688,
16,
7734,
3167,
14821,
18,
74,
10160,
789,
3033,
3284,
16,
7734,
446,
1769,
5411,
368,
678,
4488,
30,
14584,
6020,
4185,
5411,
309,
261,
1673,
2891,
422,
1677,
18,
588,
1782,
10756,
288,
7734,
2605,
19593,
668,
12,
10792,
315,
1499,
1248,
6303,
3113,
10792,
394,
1033,
8526,
288,
13491,
284,
3935,
1046,
18,
1899,
529,
16,
13491,
284,
1499,
13688,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4135,
1499,
12,
4201,
2498,
2828,
1677,
13,
3639,
1216,
1860,
16,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
5411,
2332,
18,
659,
18,
8222,
2932,
23012,
4135,
1499,
1435,
8863,
3639,
368,
508,
3639,
284,
1943,
11338,
18,
9871,
13688,
12,
74,
1499,
13688,
1769,
3639,
368,
1606,
3639,
284,
1943,
11338,
18,
7457,
12077,
5621,
3639,
309,
16051,
74,
1943,
11338,
18,
7457,
2156,
2668,
2218,
3719,
288,
5411,
2605,
19593,
668,
12,
7734,
315,
19508,
3705,
382,
1499,
3113,
7734,
394,
1033,
8526,
288,
10792,
284,
3935,
1046,
18,
1899,
529,
16,
10792,
284,
1499,
13688,
18,
1899,
529,
15549,
3639,
289,
3639,
284,
2
] |
public HowLoudThread(PluginApplication app) | public HowLoudThread(PluginApplication app, String identifier) | public HowLoudThread(PluginApplication app) { this.app = app; toTerminate = false; Thread t = new Thread(this); t.start(); } | 11635 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11635/003f97941713a7163ed884fc1a518dff687951b8/HowLoudThread.java/buggy/trunk/irate/irate/plugin/autonormalize/HowLoudThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9017,
1504,
1100,
3830,
12,
3773,
3208,
595,
16,
514,
2756,
13,
225,
288,
565,
333,
18,
2910,
273,
595,
31,
565,
358,
26106,
273,
629,
31,
565,
4884,
268,
273,
394,
4884,
12,
2211,
1769,
565,
268,
18,
1937,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
9017,
1504,
1100,
3830,
12,
3773,
3208,
595,
16,
514,
2756,
13,
225,
288,
565,
333,
18,
2910,
273,
595,
31,
565,
358,
26106,
273,
629,
31,
565,
4884,
268,
273,
394,
4884,
12,
2211,
1769,
565,
268,
18,
1937,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
DimensionHandle dim = ( (RowHandle) adapt.getHandle( ) ) .getHeight( ); if ( DesignChoiceConstants.UNITS_PERCENTAGE .equals( dim.getUnits( ) ) | DimensionHandle dim = ( (RowHandle) adapt.getHandle( ) ).getHeight( ); if ( DesignChoiceConstants.UNITS_PERCENTAGE.equals( dim.getUnits( ) ) | private void init( TableLayoutData.ColumnData[] columnWidths, TableLayoutData.RowData[] rowHeights ) { int size = rowHeights.length; for ( int i = 1; i < size + 1; i++ ) { rowHeights[i - 1] = new TableLayoutData.RowData( ); rowHeights[i - 1].rowNumber = i; Object obj = getOwner( ).getRow( i ); RowHandleAdapter adapt = HandleAdapterFactory.getInstance( ) .getRowHandleAdapter( obj ); rowHeights[i - 1].height = adapt.getHeight( ); rowHeights[i - 1].isForce = adapt.isCustomHeight( ); //add to handle percentage case. DimensionHandle dim = ( (RowHandle) adapt.getHandle( ) ) .getHeight( ); if ( DesignChoiceConstants.UNITS_PERCENTAGE .equals( dim.getUnits( ) ) && dim.getMeasure( ) > 0 ) { rowHeights[i - 1].isPercentage = true; rowHeights[i - 1].percentageHeight = dim.getMeasure( ); } //add to handle auto case; if ( dim.getUnits( ) == null || dim.getUnits( ).length( ) == 0 ) { rowHeights[i - 1].isAuto = true; } //add by gao 2004.11.22 rowHeights[i - 1].trueMinRowHeight = ( rowHeights[i - 1].isForce && !rowHeights[i - 1].isPercentage ) ? rowHeights[i - 1].height : rowHeights[i - 1].minRowHeight; } size = columnWidths.length; for ( int i = 1; i < size + 1; i++ ) { columnWidths[i - 1] = new TableLayoutData.ColumnData( ); columnWidths[i - 1].columnNumber = i; Object obj = getOwner( ).getColumn( i ); ColumnHandleAdapter adapt = HandleAdapterFactory.getInstance( ) .getColumnHandleAdapter( obj ); columnWidths[i - 1].width = adapt.getWidth( ); columnWidths[i - 1].isForce = adapt.isCustomWidth( ); //add to handle percentage case. DimensionHandle dim = ( (ColumnHandle) adapt.getHandle( ) ) .getWidth( ); if ( DesignChoiceConstants.UNITS_PERCENTAGE .equals( dim.getUnits( ) ) && dim.getMeasure( ) > 0 ) { columnWidths[i - 1].isPercentage = true; columnWidths[i - 1].percentageWidth = dim.getMeasure( ); } //add to handle auto case; if ( dim.getUnits( ) == null || dim.getUnits( ).length( ) == 0 ) { columnWidths[i - 1].isAuto = true; } //added by gao 2004.11.22 columnWidths[i - 1].trueMinColumnWidth = ( columnWidths[i - 1].isForce && !columnWidths[i - 1].isPercentage ) ? columnWidths[i - 1].width : columnWidths[i - 1].minColumnWidth; } } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e051547bba60033b7a064c5e9a52977a6c21df2b/TableLayout.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/layout/TableLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
12,
3555,
3744,
751,
18,
1494,
751,
8526,
1057,
22407,
16,
1082,
202,
1388,
3744,
751,
18,
1999,
751,
8526,
1027,
2686,
87,
262,
202,
95,
202,
202,
474,
963,
273,
1027,
2686,
87,
18,
2469,
31,
202,
202,
1884,
261,
509,
277,
273,
404,
31,
277,
411,
963,
397,
404,
31,
277,
9904,
262,
202,
202,
95,
1082,
202,
492,
2686,
87,
63,
77,
300,
404,
65,
273,
394,
3555,
3744,
751,
18,
1999,
751,
12,
11272,
1082,
202,
492,
2686,
87,
63,
77,
300,
404,
8009,
492,
1854,
273,
277,
31,
1082,
202,
921,
1081,
273,
13782,
12,
262,
18,
588,
1999,
12,
277,
11272,
1082,
202,
1999,
3259,
4216,
5855,
273,
5004,
4216,
1733,
18,
588,
1442,
12,
262,
6862,
202,
18,
588,
1999,
3259,
4216,
12,
1081,
11272,
1082,
202,
492,
2686,
87,
63,
77,
300,
404,
8009,
4210,
273,
5855,
18,
588,
2686,
12,
11272,
1082,
202,
492,
2686,
87,
63,
77,
300,
404,
8009,
291,
10997,
273,
5855,
18,
291,
3802,
2686,
12,
11272,
1082,
202,
759,
1289,
358,
1640,
11622,
648,
18,
1082,
202,
8611,
3259,
2464,
273,
261,
261,
1999,
3259,
13,
5855,
18,
588,
3259,
12,
262,
262,
6862,
202,
18,
588,
2686,
12,
11272,
1082,
202,
430,
261,
29703,
10538,
2918,
18,
24325,
67,
3194,
19666,
2833,
6862,
202,
18,
14963,
12,
2464,
18,
588,
7537,
12,
262,
262,
6862,
202,
10,
10,
2464,
18,
588,
7197,
12,
262,
405,
374,
262,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
12,
3555,
3744,
751,
18,
1494,
751,
8526,
1057,
22407,
16,
1082,
202,
1388,
3744,
751,
18,
1999,
751,
8526,
1027,
2686,
87,
262,
202,
95,
202,
202,
474,
963,
273,
1027,
2686,
87,
18,
2469,
31,
202,
202,
1884,
261,
509,
277,
273,
404,
31,
277,
411,
963,
397,
404,
31,
277,
9904,
262,
202,
202,
95,
1082,
202,
492,
2686,
87,
63,
77,
300,
404,
65,
273,
394,
3555,
3744,
751,
18,
1999,
751,
12,
11272,
1082,
202,
492,
2686,
87,
63,
77,
300,
404,
8009,
492,
1854,
273,
277,
31,
1082,
202,
921,
1081,
273,
13782,
12,
262,
18,
588,
1999,
12,
277,
11272,
1082,
202,
1999,
3259,
4216,
5855,
273,
2
] |
Class c1 = o1.getClass(); Class c2 = o2.getClass(); if (!c1.equals(c2)) { | if (!t.transform(o1).equals(t.transform(o2))) { | public static boolean arrayEquals(Object[] a1, Object[] a2) { if ((a1 == null) ^ (a2 == null)) { return false; } if (a1.length != a2.length) { return false; } for (int i = 0; i < a1.length; i++) { Object o1 = a1[i]; Object o2 = a2[i]; if (o1 == null) { if (o2 != null) { return false; } } else if (o2 == null) { return false; } else { Class c1 = o1.getClass(); Class c2 = o2.getClass(); if (!c1.equals(c2)) { return false; } } } return true; } | 1154 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1154/d3f9b0f0e482ded808a0a8d385b48f34fcd22b52/CollectionUtils.java/clean/src/proxy/net/sf/cglib/core/CollectionUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
526,
8867,
12,
921,
8526,
279,
21,
16,
1033,
8526,
279,
22,
13,
288,
3639,
309,
14015,
69,
21,
422,
446,
13,
3602,
261,
69,
22,
422,
446,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
261,
69,
21,
18,
2469,
480,
279,
22,
18,
2469,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
279,
21,
18,
2469,
31,
277,
27245,
288,
5411,
1033,
320,
21,
273,
279,
21,
63,
77,
15533,
5411,
1033,
320,
22,
273,
279,
22,
63,
77,
15533,
5411,
309,
261,
83,
21,
422,
446,
13,
288,
7734,
309,
261,
83,
22,
480,
446,
13,
288,
10792,
327,
629,
31,
7734,
289,
5411,
289,
469,
309,
261,
83,
22,
422,
446,
13,
288,
7734,
327,
629,
31,
5411,
289,
469,
288,
7734,
1659,
276,
21,
273,
320,
21,
18,
588,
797,
5621,
7734,
1659,
276,
22,
273,
320,
22,
18,
588,
797,
5621,
7734,
309,
16051,
71,
21,
18,
14963,
12,
71,
22,
3719,
288,
10792,
327,
629,
31,
7734,
289,
5411,
289,
3639,
289,
3639,
327,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
526,
8867,
12,
921,
8526,
279,
21,
16,
1033,
8526,
279,
22,
13,
288,
3639,
309,
14015,
69,
21,
422,
446,
13,
3602,
261,
69,
22,
422,
446,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
261,
69,
21,
18,
2469,
480,
279,
22,
18,
2469,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
279,
21,
18,
2469,
31,
277,
27245,
288,
5411,
1033,
320,
21,
273,
279,
21,
63,
77,
15533,
5411,
1033,
320,
22,
273,
279,
22,
63,
77,
15533,
5411,
309,
261,
83,
21,
422,
446,
13,
288,
7734,
309,
261,
83,
22,
480,
446,
13,
288,
10792,
327,
629,
2
] |
public ExternalizedTextEditorDialog(Shell parent, int style, String sText, List keys, IUIServiceProvider serviceprovider) | public ExternalizedTextEditorDialog(Shell parent, String sText, List keys) | public ExternalizedTextEditorDialog(Shell parent, int style, String sText, List keys, IUIServiceProvider serviceprovider) { super(parent, style); this.sResult = sText; this.keys = keys; this.serviceprovider = serviceprovider; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/328c8495576ec950cc922a812ac021ce2d28f134/ExternalizedTextEditorDialog.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ExternalizedTextEditorDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11352,
1235,
1528,
6946,
6353,
12,
13220,
982,
16,
509,
2154,
16,
514,
272,
1528,
16,
987,
1311,
16,
3639,
467,
5370,
16300,
1156,
6778,
13,
565,
288,
3639,
2240,
12,
2938,
16,
2154,
1769,
3639,
333,
18,
87,
1253,
273,
272,
1528,
31,
3639,
333,
18,
2452,
273,
1311,
31,
3639,
333,
18,
3278,
6778,
273,
1156,
6778,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
11352,
1235,
1528,
6946,
6353,
12,
13220,
982,
16,
509,
2154,
16,
514,
272,
1528,
16,
987,
1311,
16,
3639,
467,
5370,
16300,
1156,
6778,
13,
565,
288,
3639,
2240,
12,
2938,
16,
2154,
1769,
3639,
333,
18,
87,
1253,
273,
272,
1528,
31,
3639,
333,
18,
2452,
273,
1311,
31,
3639,
333,
18,
3278,
6778,
273,
1156,
6778,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private static double jsStaticFunction_UTC(Object[] args) { | private static double jsStaticFunction_UTC(Object[] args) { | private static double jsStaticFunction_UTC(Object[] args) { double array[] = new double[MAXARGS]; int loop; double d; for (loop = 0; loop < MAXARGS; loop++) { if (loop < args.length) { d = ScriptRuntime.toNumber(args[loop]); if (d != d || Double.isInfinite(d)) { return ScriptRuntime.NaN; } array[loop] = ScriptRuntime.toInteger(args[loop]); } else { array[loop] = 0; } } /* adjust 2-digit years into the 20th century */ if (array[0] >= 0 && array[0] <= 99) array[0] += 1900; /* if we got a 0 for 'date' (which is out of range) * pretend it's a 1. (So Date.UTC(1972, 5) works) */ if (array[2] < 1) array[2] = 1; d = date_msecFromDate(array[0], array[1], array[2], array[3], array[4], array[5], array[6]); d = TimeClip(d); return d; // return new Double(d); } | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/ba8f69355a752cc7402f5b559a19be4d84c54e22/NativeDate.java/buggy/js/rhino/src/org/mozilla/javascript/NativeDate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1645,
3828,
5788,
2083,
67,
11471,
12,
921,
8526,
833,
13,
288,
3639,
1645,
526,
8526,
273,
394,
1645,
63,
6694,
22439,
15533,
3639,
509,
2798,
31,
3639,
1645,
302,
31,
3639,
364,
261,
6498,
273,
374,
31,
2798,
411,
4552,
22439,
31,
2798,
27245,
288,
5411,
309,
261,
6498,
411,
833,
18,
2469,
13,
288,
7734,
302,
273,
7739,
5576,
18,
869,
1854,
12,
1968,
63,
6498,
19226,
7734,
309,
261,
72,
480,
302,
747,
3698,
18,
291,
382,
9551,
12,
72,
3719,
288,
10792,
327,
7739,
5576,
18,
21172,
31,
7734,
289,
7734,
526,
63,
6498,
65,
273,
7739,
5576,
18,
869,
4522,
12,
1968,
63,
6498,
19226,
5411,
289,
469,
288,
7734,
526,
63,
6498,
65,
273,
374,
31,
5411,
289,
3639,
289,
3639,
1748,
5765,
576,
17,
11052,
11387,
1368,
326,
4200,
451,
8301,
22498,
1195,
3639,
309,
261,
1126,
63,
20,
65,
1545,
374,
597,
526,
63,
20,
65,
1648,
14605,
13,
5411,
526,
63,
20,
65,
1011,
5342,
713,
31,
5411,
1748,
309,
732,
2363,
279,
374,
364,
296,
712,
11,
261,
12784,
353,
596,
434,
1048,
13,
2398,
380,
675,
17445,
518,
1807,
279,
404,
18,
225,
261,
10225,
2167,
18,
11471,
12,
3657,
9060,
16,
1381,
13,
6330,
13,
1195,
3639,
309,
261,
1126,
63,
22,
65,
411,
404,
13,
5411,
526,
63,
22,
65,
273,
404,
31,
3639,
302,
273,
1509,
67,
81,
3321,
1265,
1626,
12,
1126,
63,
20,
6487,
526,
63,
21,
6487,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1645,
3828,
5788,
2083,
67,
11471,
12,
921,
8526,
833,
13,
288,
3639,
1645,
526,
8526,
273,
394,
1645,
63,
6694,
22439,
15533,
3639,
509,
2798,
31,
3639,
1645,
302,
31,
3639,
364,
261,
6498,
273,
374,
31,
2798,
411,
4552,
22439,
31,
2798,
27245,
288,
5411,
309,
261,
6498,
411,
833,
18,
2469,
13,
288,
7734,
302,
273,
7739,
5576,
18,
869,
1854,
12,
1968,
63,
6498,
19226,
7734,
309,
261,
72,
480,
302,
747,
3698,
18,
291,
382,
9551,
12,
72,
3719,
288,
10792,
327,
7739,
5576,
18,
21172,
31,
7734,
289,
7734,
526,
63,
6498,
65,
273,
7739,
5576,
18,
869,
4522,
12,
1968,
63,
6498,
19226,
5411,
289,
469,
288,
7734,
526,
2
] |
public org.quickfix.field.SecurityID getSecurityID() throws FieldNotFound { org.quickfix.field.SecurityID value = new org.quickfix.field.SecurityID(); | public quickfix.field.SecurityID getSecurityID() throws FieldNotFound { quickfix.field.SecurityID value = new quickfix.field.SecurityID(); | public org.quickfix.field.SecurityID getSecurityID() throws FieldNotFound { org.quickfix.field.SecurityID value = new org.quickfix.field.SecurityID(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralInquiryAck.java/buggy/src/java/src/quickfix/fix44/CollateralInquiryAck.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
734,
19288,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
734,
19288,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
734,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
4368,
734,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ super.addImpl(comp, constraints, index); } | { super.addImpl(comp, constraints, index); } | protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/50dc6879c9be89f646fdff68c58f785e3dc0b90e/JFrame.java/buggy/core/src/classpath/javax/javax/swing/JFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
225,
918,
527,
2828,
12,
1841,
1161,
16,
1033,
6237,
16,
509,
770,
13,
565,
288,
202,
9565,
18,
1289,
2828,
12,
2919,
16,
6237,
16,
770,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
225,
918,
527,
2828,
12,
1841,
1161,
16,
1033,
6237,
16,
509,
770,
13,
565,
288,
202,
9565,
18,
1289,
2828,
12,
2919,
16,
6237,
16,
770,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
try_stack.end_pc = PC; | try_stack.end_try = getLabel(); | public void emitFinallyStart() { emitTryEnd(); if (try_stack.try_type != null) emitCatchEnd(); readPC = PC; SP = 0; try_stack.end_pc = PC; pushScope(); Type except_type = Type.pointer_type; Variable except = addLocal(except_type); emitCatchStart(null); emitStore(except); emitJsr(try_stack.finally_subr); emitLoad(except); emitThrow(); try_stack.finally_subr.define(this); Type ret_addr_type = Type.pointer_type; try_stack.finally_ret_addr = addLocal(ret_addr_type); pushType(ret_addr_type); emitStore(try_stack.finally_ret_addr); } | 40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/50aae2053d3e7c936750da14a5887b2c333a54ab/CodeAttr.java/buggy/gnu/bytecode/CodeAttr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3626,
29987,
1685,
1435,
225,
288,
565,
3626,
7833,
1638,
5621,
565,
309,
261,
698,
67,
3772,
18,
698,
67,
723,
480,
446,
13,
1377,
3626,
14842,
1638,
5621,
565,
855,
3513,
273,
26300,
31,
565,
11405,
273,
374,
31,
565,
775,
67,
3772,
18,
409,
67,
698,
273,
11237,
5621,
565,
1817,
3876,
5621,
565,
1412,
1335,
67,
723,
273,
1412,
18,
10437,
67,
723,
31,
565,
7110,
1335,
273,
527,
2042,
12,
14137,
67,
723,
1769,
565,
3626,
14842,
1685,
12,
2011,
1769,
565,
3626,
2257,
12,
14137,
1769,
565,
3626,
8382,
86,
12,
698,
67,
3772,
18,
23417,
67,
1717,
86,
1769,
565,
3626,
2563,
12,
14137,
1769,
565,
3626,
8282,
5621,
3639,
775,
67,
3772,
18,
23417,
67,
1717,
86,
18,
11255,
12,
2211,
1769,
565,
1412,
325,
67,
4793,
67,
723,
273,
1412,
18,
10437,
67,
723,
31,
565,
775,
67,
3772,
18,
23417,
67,
1349,
67,
4793,
273,
527,
2042,
12,
1349,
67,
4793,
67,
723,
1769,
565,
1817,
559,
12,
1349,
67,
4793,
67,
723,
1769,
565,
3626,
2257,
12,
698,
67,
3772,
18,
23417,
67,
1349,
67,
4793,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3626,
29987,
1685,
1435,
225,
288,
565,
3626,
7833,
1638,
5621,
565,
309,
261,
698,
67,
3772,
18,
698,
67,
723,
480,
446,
13,
1377,
3626,
14842,
1638,
5621,
565,
855,
3513,
273,
26300,
31,
565,
11405,
273,
374,
31,
565,
775,
67,
3772,
18,
409,
67,
698,
273,
11237,
5621,
565,
1817,
3876,
5621,
565,
1412,
1335,
67,
723,
273,
1412,
18,
10437,
67,
723,
31,
565,
7110,
1335,
273,
527,
2042,
12,
14137,
67,
723,
1769,
565,
3626,
14842,
1685,
12,
2011,
1769,
565,
3626,
2257,
12,
14137,
1769,
565,
3626,
8382,
86,
12,
698,
67,
3772,
18,
23417,
67,
1717,
86,
1769,
565,
3626,
2563,
12,
14137,
1769,
565,
3626,
8282,
5621,
3639,
2
] |
byte[] exifData = segmentReader.readSegment(JpegSegmentReader.SEGMENT_MARKER_APP1); | byte[] exifData = segmentReader.readSegment(JpegSegmentReader.SEGMENT_APP1); | public void testReadApp1Segment() throws Exception { File jpeg = new File("src/com/drew/imaging/exif/test/withExif.jpg"); JpegSegmentReader segmentReader = new JpegSegmentReader(jpeg); byte[] exifData = segmentReader.readSegment(JpegSegmentReader.SEGMENT_MARKER_APP1); assertTrue("exif data too short", exifData.length > 4); assertEquals("Exif", new String(exifData, 0, 4)); ExifExtractor extractor = new ExifExtractor(exifData); try { ImageInfo info = extractor.extract(); assertTrue("app1 segment should contain exif tags", info.countTags() > 0); } catch (ExifProcessingException e) { fail("app1 segment couldn't be read by exif extractor"); } } | 13212 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13212/86405a5c4ff12f30fd2796244d129975a8483ac3/JpegSegmentReaderTest.java/buggy/src/com/drew/imaging/jpeg/test/JpegSegmentReaderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1994,
3371,
21,
4131,
1435,
1216,
1185,
565,
288,
3639,
1387,
29726,
273,
394,
1387,
2932,
4816,
19,
832,
19,
72,
16052,
19,
381,
5755,
19,
338,
430,
19,
3813,
19,
1918,
424,
430,
18,
14362,
8863,
3639,
804,
9001,
4131,
2514,
3267,
2514,
273,
394,
804,
9001,
4131,
2514,
12,
14423,
1769,
3639,
1160,
8526,
20257,
751,
273,
3267,
2514,
18,
896,
4131,
12,
46,
9001,
4131,
2514,
18,
25587,
67,
7215,
21,
1769,
3639,
1815,
5510,
2932,
338,
430,
501,
4885,
3025,
3113,
20257,
751,
18,
2469,
405,
1059,
1769,
3639,
1815,
8867,
2932,
424,
430,
3113,
394,
514,
12,
338,
430,
751,
16,
374,
16,
1059,
10019,
3639,
1312,
430,
10958,
14031,
273,
394,
1312,
430,
10958,
12,
338,
430,
751,
1769,
3639,
775,
288,
5411,
3421,
966,
1123,
273,
14031,
18,
8004,
5621,
5411,
1815,
5510,
2932,
2910,
21,
3267,
1410,
912,
20257,
2342,
3113,
1123,
18,
1883,
3453,
1435,
405,
374,
1769,
3639,
289,
1044,
261,
424,
430,
23684,
425,
13,
288,
5411,
2321,
2932,
2910,
21,
3267,
17991,
1404,
506,
855,
635,
20257,
14031,
8863,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1994,
3371,
21,
4131,
1435,
1216,
1185,
565,
288,
3639,
1387,
29726,
273,
394,
1387,
2932,
4816,
19,
832,
19,
72,
16052,
19,
381,
5755,
19,
338,
430,
19,
3813,
19,
1918,
424,
430,
18,
14362,
8863,
3639,
804,
9001,
4131,
2514,
3267,
2514,
273,
394,
804,
9001,
4131,
2514,
12,
14423,
1769,
3639,
1160,
8526,
20257,
751,
273,
3267,
2514,
18,
896,
4131,
12,
46,
9001,
4131,
2514,
18,
25587,
67,
7215,
21,
1769,
3639,
1815,
5510,
2932,
338,
430,
501,
4885,
3025,
3113,
20257,
751,
18,
2469,
405,
1059,
1769,
3639,
1815,
8867,
2932,
424,
430,
3113,
394,
514,
12,
338,
430,
751,
16,
374,
16,
1059,
10019,
3639,
1312,
430,
10958,
14031,
2
] |
dX = indexFactor * ((a01*j) + constX); dY = indexFactor * ((a11*j) + constY); int temp = (int)((deltaX * deltaX) + (deltaY * deltaY)); gFixed = (int)(((dY * dY) + (dX * dX)) * factor); int gFixeddelta = (int)(((((deltaY * dY) + (deltaX * dX))* 2) + temp) * factor); int gFixeddeltadelta =(int)((temp * 2) * factor); for (i = 0; i < w; i++) { | for (i = 0; i < w; i++) { | private void fixedPointSimplestCaseNonCyclicFillRaster(int pixels[], int off, int adjust, int x, int y, int w, int h) { float g;//value between 0 and 1 specifying position in the gradient float iSq; // Square distance index float p; // Squrare root penetration in square root interval //this factor is used to scale the index calculation by the array size //and 1/radius (normalize the distance) float indexFactor = fastGradientArraySize / radius; float factor = 16; //2^16 factor for converting to/from floating point //constant part of X and Y coordinates for the entire raster float constX = (a00*x) + (a01*y) + constA; float constY = (a10*x) + (a11*y) + constB; float deltaX = indexFactor * a00; //incremental change in dX float deltaY = indexFactor * a10; //incremental change in dY float dX, dY; //the current distance from center int indexer = off;//used to index pixels array int i, j; //indexing variables int precalc = w+adjust; //precalculate this number int fixedArraySizeSq= (fastGradientArraySize * fastGradientArraySize) << 4; int gFixed;//fixed point integer int gIndex;//non-fixed-pt integer number used to index gradient array int iSqInt; // Square distance index // For every point in the raster, calculate the color at that point for(j = 0; j < h; j++){ //for every row //constants from column to column //x and y (in user space) of the first pixel of this row dX = indexFactor * ((a01*j) + constX); dY = indexFactor * ((a11*j) + constY); // these values below here allow for an incremental calculation // of dX^2 + dY^2 int temp = (int)((deltaX * deltaX) + (deltaY * deltaY)); //initialize to be equal to distance squared gFixed = (int)(((dY * dY) + (dX * dX)) * factor); int gFixeddelta = (int)(((((deltaY * dY) + (deltaX * dX))* 2) + temp) * factor); int gFixeddeltadelta =(int)((temp * 2) * factor); //for every column (inner loop begins here) for (i = 0; i < w; i++) { //determine the distance to the center //since this is a non cyclic fill raster, crop at "1" and 0 if (gFixed > fixedArraySizeSq) { gIndex = fastGradientArraySize; } else if (gFixed < 0) { gIndex = 0; } else { iSq = (gFixed >>> 4) / sqStepFloat; iSqInt = (int)iSq; //chop off fractional part p = iSq - iSqInt; gIndex = (int)((p * sqrtLutFixed[iSqInt + 1]) + ((1-p) * sqrtLutFixed[iSqInt])); } pixels[indexer + i] = gradient[gIndex]; //incremental calculation gFixed += gFixeddelta; gFixeddelta += gFixeddeltadelta; } indexer += precalc; } } | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/8dabee95660518715a782c94131a271185be23bc/RadialGradientPaintContext.java/clean/sources/org/apache/batik/ext/awt/RadialGradientPaintContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5499,
2148,
24490,
395,
2449,
3989,
17992,
18964,
8026,
18637,
12,
474,
8948,
63,
6487,
20982,
282,
509,
3397,
16,
6862,
9506,
282,
509,
5765,
16,
20982,
282,
509,
619,
16,
509,
677,
16,
20982,
282,
509,
341,
16,
509,
366,
13,
288,
202,
202,
5659,
314,
31,
759,
1132,
3086,
374,
471,
404,
13664,
1754,
316,
326,
10292,
3639,
1431,
277,
19643,
31,
225,
368,
22029,
3888,
770,
3639,
1431,
293,
31,
225,
368,
348,
85,
295,
834,
1365,
14264,
278,
7034,
316,
8576,
1365,
3673,
202,
759,
2211,
5578,
353,
1399,
358,
3159,
326,
770,
11096,
635,
326,
526,
963,
202,
759,
464,
404,
19,
11282,
261,
12237,
326,
3888,
13,
202,
5659,
770,
6837,
273,
4797,
15651,
1076,
1225,
342,
5725,
31,
4202,
202,
5659,
5578,
273,
2872,
31,
225,
368,
22,
66,
2313,
5578,
364,
14540,
358,
19,
2080,
13861,
1634,
202,
202,
759,
14384,
1087,
434,
1139,
471,
1624,
5513,
364,
326,
7278,
12553,
202,
5659,
1866,
60,
273,
261,
69,
713,
14,
92,
13,
397,
261,
69,
1611,
14,
93,
13,
397,
1866,
37,
31,
202,
5659,
1866,
61,
273,
261,
69,
2163,
14,
92,
13,
397,
261,
69,
2499,
14,
93,
13,
397,
1866,
38,
31,
202,
5659,
31329,
273,
770,
6837,
380,
279,
713,
31,
368,
15016,
287,
2549,
316,
302,
60,
202,
5659,
29697,
273,
770,
6837,
380,
279,
2163,
31,
368,
15016,
287,
2549,
316,
302,
61,
202,
5659,
302,
60,
16,
302,
61,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5499,
2148,
24490,
395,
2449,
3989,
17992,
18964,
8026,
18637,
12,
474,
8948,
63,
6487,
20982,
282,
509,
3397,
16,
6862,
9506,
282,
509,
5765,
16,
20982,
282,
509,
619,
16,
509,
677,
16,
20982,
282,
509,
341,
16,
509,
366,
13,
288,
202,
202,
5659,
314,
31,
759,
1132,
3086,
374,
471,
404,
13664,
1754,
316,
326,
10292,
3639,
1431,
277,
19643,
31,
225,
368,
22029,
3888,
770,
3639,
1431,
293,
31,
225,
368,
348,
85,
295,
834,
1365,
14264,
278,
7034,
316,
8576,
1365,
3673,
202,
759,
2211,
5578,
353,
1399,
358,
3159,
326,
770,
11096,
635,
326,
526,
963,
202,
759,
464,
404,
19,
11282,
261,
12237,
326,
3888,
13,
202,
5659,
770,
2
] |
(baseType == this ? base.hashCode() << 2 : baseType.hashCode() ) | (rootType == this ? base.hashCode() << 2 : rootType.hashCode() ) | public int hashCode() { return (baseType == this ? base.hashCode() << 2 : baseType.hashCode() ) + (depClause != null ? depClause.hashCode() : 0) + ((typeParameters !=null && ! typeParameters.isEmpty()) ? typeParameters.hashCode() :0); } | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/28fbb39368abdf3368c21084239fede794718a73/FutureType_c.java/clean/x10.compiler/src/polyglot/ext/x10/types/FutureType_c.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
509,
13374,
1435,
288,
540,
327,
5411,
261,
3085,
559,
422,
333,
692,
1026,
18,
2816,
1085,
1435,
2296,
576,
294,
1365,
559,
18,
2816,
1085,
1435,
262,
1850,
397,
261,
15037,
7044,
480,
446,
692,
5993,
7044,
18,
2816,
1085,
1435,
294,
374,
13,
540,
397,
14015,
20490,
480,
2011,
597,
401,
618,
2402,
18,
291,
1921,
10756,
692,
618,
2402,
18,
2816,
1085,
1435,
294,
20,
1769,
2868,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
509,
13374,
1435,
288,
540,
327,
5411,
261,
3085,
559,
422,
333,
692,
1026,
18,
2816,
1085,
1435,
2296,
576,
294,
1365,
559,
18,
2816,
1085,
1435,
262,
1850,
397,
261,
15037,
7044,
480,
446,
692,
5993,
7044,
18,
2816,
1085,
1435,
294,
374,
13,
540,
397,
14015,
20490,
480,
2011,
597,
401,
618,
2402,
18,
291,
1921,
10756,
692,
618,
2402,
18,
2816,
1085,
1435,
294,
20,
1769,
2868,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
warn("T3 " + atts.getValue(i)); | logger.debug("T3 " + atts.getValue(i)); | public void startElement (String uri, String local, String raw, Attributes atts) { String name = raw; warn("StartElement"); setCurrentElement(name); switch (CurrentElement) { case ATOM : warn("T1"); for (int i = 0; i < atts.getLength(); i++) { warn("T2"); if (atts.getQName(i).equals("id")) { warn("T3 " + atts.getValue(i)); elid.addElement(atts.getValue(i)); warn("T3 " + elid); } } warn("T4"); break; case BOND : warn("B1"); for (int i = 0; i < atts.getLength(); i++) { warn("B2 " + atts.getQName(i) + "=" + atts.getValue(i)); if (atts.getQName(i).equals("id")) { bondid.addElement(atts.getValue(i)); warn("B3 " + bondid); } } stereoGiven = false; warn("B4"); curRef = 0; break; case COORDINATE2 : for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("builtin")) { BUILTIN = atts.getValue(i); warn("Valid element coord found, builtin: " + atts.getValue(i)); } } break; case COORDINATE3 : for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("builtin")) { BUILTIN = atts.getValue(i); } } break; case STRING : for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("builtin")) { BUILTIN = atts.getValue(i); } else if (atts.getQName(i).equals("title")) { elementTitle = atts.getValue(i); } } break; case FLOAT : for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("builtin")) { BUILTIN = atts.getValue(i); } else if (atts.getQName(i).equals("title")) { elementTitle = atts.getValue(i); } } break; case ATOMARRAY : break; case INTEGERARRAY : for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("builtin")) BUILTIN = atts.getValue(i); } break; case STRINGARRAY : for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("builtin")) BUILTIN = atts.getValue(i); } break; case FLOATARRAY : for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("builtin")) BUILTIN = atts.getValue(i); if (atts.getQName(i).equals("title")) elementTitle = atts.getValue(i); } break; case MOLECULE : elsym = new Vector(); elid = new Vector(); x3 = new Vector(); y3 = new Vector(); z3 = new Vector(); BUILTIN = ""; cdo.startObject("Molecule"); cdo.startObject("Frame"); for (int i = 0; i < atts.getLength(); i++) { if (atts.getQName(i).equals("id")) cdo.setObjectProperty("Frame", "title", atts.getValue(i)); } break; case CRYSTAL: cdo.startObject("Crystal"); break; case LIST : break; } } | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/e04a2bbd6afdac34488441c1ce22ad5f73d254ff/Convention.java/buggy/org/openscience/cdk/io/cml/Convention.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
261,
780,
2003,
16,
514,
1191,
16,
514,
1831,
16,
9055,
15687,
13,
288,
202,
780,
508,
273,
1831,
31,
202,
8935,
2932,
1685,
1046,
8863,
202,
542,
3935,
1046,
12,
529,
1769,
202,
9610,
261,
3935,
1046,
13,
288,
202,
3593,
27460,
294,
540,
202,
565,
1894,
2932,
56,
21,
8863,
202,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
15687,
18,
588,
1782,
5621,
277,
27245,
288,
202,
202,
8935,
2932,
56,
22,
8863,
202,
202,
430,
261,
270,
3428,
18,
588,
13688,
12,
77,
2934,
14963,
2932,
350,
6,
3719,
288,
1082,
565,
1194,
18,
4148,
2932,
56,
23,
315,
397,
15687,
18,
24805,
12,
77,
10019,
6647,
1082,
565,
415,
350,
18,
1289,
1046,
12,
270,
3428,
18,
24805,
12,
77,
10019,
1082,
565,
1894,
2932,
56,
23,
315,
397,
415,
350,
1769,
6647,
202,
202,
97,
202,
565,
289,
202,
565,
1894,
2932,
56,
24,
8863,
202,
565,
898,
31,
202,
3593,
605,
673,
40,
294,
540,
202,
565,
1894,
2932,
38,
21,
8863,
202,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
15687,
18,
588,
1782,
5621,
277,
27245,
288,
202,
202,
8935,
2932,
38,
22,
315,
397,
15687,
18,
588,
13688,
12,
77,
13,
397,
9671,
397,
15687,
18,
24805,
12,
77,
10019,
6647,
202,
202,
430,
261,
270,
3428,
18,
588,
13688,
12,
77,
2934,
14963,
2932,
350,
6,
3719,
288,
1082,
565,
8427,
350,
18,
1289,
1046,
12,
270,
3428,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
261,
780,
2003,
16,
514,
1191,
16,
514,
1831,
16,
9055,
15687,
13,
288,
202,
780,
508,
273,
1831,
31,
202,
8935,
2932,
1685,
1046,
8863,
202,
542,
3935,
1046,
12,
529,
1769,
202,
9610,
261,
3935,
1046,
13,
288,
202,
3593,
27460,
294,
540,
202,
565,
1894,
2932,
56,
21,
8863,
202,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
15687,
18,
588,
1782,
5621,
277,
27245,
288,
202,
202,
8935,
2932,
56,
22,
8863,
202,
202,
430,
261,
270,
3428,
18,
588,
13688,
12,
77,
2934,
14963,
2932,
350,
6,
3719,
288,
1082,
565,
1194,
18,
4148,
2932,
56,
23,
315,
397,
15687,
18,
24805,
12,
77,
10019,
6647,
1082,
565,
2
] |
return matchOrReplace(cx, thisObj, args, funObj, mdata); | return matchOrReplace(cx, thisObj, args, funObj, mdata, false); | public Object search(Context cx, Scriptable thisObj, Object[] args, Function funObj) throws JavaScriptException { MatchData mdata = new MatchData(); mdata.optarg = 1; mdata.mode = GlobData.GLOB_SEARCH; mdata.parent = ScriptableObject.getTopLevelScope(funObj); return matchOrReplace(cx, thisObj, args, funObj, mdata); } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/bcf6134bdea4b7078a51fba9f7ad09d436f5fab3/RegExpImpl.java/clean/js/rhino/src/org/mozilla/javascript/regexp/RegExpImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1623,
12,
1042,
9494,
16,
22780,
15261,
16,
1033,
8526,
833,
16,
12900,
4284,
9831,
2675,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
4639,
751,
312,
892,
273,
394,
4639,
751,
5621,
3639,
312,
892,
18,
3838,
3175,
273,
404,
31,
3639,
312,
892,
18,
3188,
273,
18901,
751,
18,
43,
6038,
67,
17251,
31,
3639,
312,
892,
18,
2938,
273,
22780,
921,
18,
588,
27046,
3876,
12,
12125,
2675,
1769,
3639,
327,
845,
1162,
5729,
12,
71,
92,
16,
15261,
16,
833,
16,
9831,
2675,
16,
312,
892,
16,
629,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1623,
12,
1042,
9494,
16,
22780,
15261,
16,
1033,
8526,
833,
16,
12900,
4284,
9831,
2675,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
4639,
751,
312,
892,
273,
394,
4639,
751,
5621,
3639,
312,
892,
18,
3838,
3175,
273,
404,
31,
3639,
312,
892,
18,
3188,
273,
18901,
751,
18,
43,
6038,
67,
17251,
31,
3639,
312,
892,
18,
2938,
273,
22780,
921,
18,
588,
27046,
3876,
12,
12125,
2675,
1769,
3639,
327,
845,
1162,
5729,
12,
71,
92,
16,
15261,
16,
833,
16,
9831,
2675,
16,
312,
892,
16,
629,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return b0.compareTo(b1) >= 0; | return v0 >= v1; | public boolean evaluateBoolean(Evaluator evaluator) { final String b0 = calc0.evaluateString(evaluator); final String b1 = calc1.evaluateString(evaluator); if (b0 == null || b1 == null) { return BooleanNull; } return b0.compareTo(b1) >= 0; } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/5aca340e1cdbb6179077d96383341db48f0997be/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
1250,
5956,
5507,
12,
15876,
18256,
13,
288,
13491,
727,
514,
324,
20,
273,
7029,
20,
18,
21024,
780,
12,
14168,
639,
1769,
13491,
727,
514,
324,
21,
273,
7029,
21,
18,
21024,
780,
12,
14168,
639,
1769,
13491,
309,
261,
70,
20,
422,
446,
747,
324,
21,
422,
446,
13,
288,
18701,
327,
3411,
2041,
31,
13491,
289,
13491,
327,
331,
20,
1545,
331,
21,
31,
10792,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
1250,
5956,
5507,
12,
15876,
18256,
13,
288,
13491,
727,
514,
324,
20,
273,
7029,
20,
18,
21024,
780,
12,
14168,
639,
1769,
13491,
727,
514,
324,
21,
273,
7029,
21,
18,
21024,
780,
12,
14168,
639,
1769,
13491,
309,
261,
70,
20,
422,
446,
747,
324,
21,
422,
446,
13,
288,
18701,
327,
3411,
2041,
31,
13491,
289,
13491,
327,
331,
20,
1545,
331,
21,
31,
10792,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ yyval = b.defaultOptWhenGuard(yylval); } break; case 298: | { b.reserved(val_peek(1),"throws"); } break; case 299: | int yyparse() {int yyn; //next next thing to doint yym; //int yystate; //current parsing state from state tableString yys; //current token stringboolean doaction; init_stacks(); yynerrs = 0; yyerrflag = 0; yychar = -1; //impossible char forces a read yystate=0; //initial state state_push(yystate); //save it while (true) //until parsing is done, either correctly, or w/error { doaction=true; if (yydebug) debug("loop"); //#### NEXT ACTION (from reduction table) for (yyn=yydefred[yystate];yyn==0;yyn=yydefred[yystate]) { if (yydebug) debug("yyn:"+yyn+" state:"+yystate+" char:"+yychar); if (yychar < 0) //we want a char? { yychar = yylex(); //get next token //#### ERROR CHECK #### if (yychar < 0) //it it didn't work/error { yychar = 0; //change it to default string (no -1!) if (yydebug) yylexdebug(yystate,yychar); } }//yychar<0 yyn = yysindex[yystate]; //get amount to shift by (shift index) if ((yyn != 0) && (yyn += yychar) >= 0 && yyn <= YYTABLESIZE && yycheck[yyn] == yychar) { if (yydebug) debug("state "+yystate+", shifting to state "+yytable[yyn]+""); //#### NEXT STATE #### yystate = yytable[yyn];//we are in a new state state_push(yystate); //save it val_push(yylval); //push our lval as the input for next rule yychar = -1; //since we have 'eaten' a token, say we need another if (yyerrflag > 0) //have we recovered an error? --yyerrflag; //give ourselves credit doaction=false; //but don't process yet break; //quit the yyn=0 loop } yyn = yyrindex[yystate]; //reduce if ((yyn !=0 ) && (yyn += yychar) >= 0 && yyn <= YYTABLESIZE && yycheck[yyn] == yychar) { //we reduced! if (yydebug) debug("reduce"); yyn = yytable[yyn]; doaction=true; //get ready to execute break; //drop down to actions } else //ERROR RECOVERY { if (yyerrflag==0) { yyerror("syntax error"); yynerrs++; } if (yyerrflag < 3) //low error count? { yyerrflag = 3; while (true) //do until break { if (stateptr<0) //check for under & overflow here { yyerror("stack underflow. aborting..."); //note lower case 's' return 1; } yyn = yysindex[state_peek(0)]; if ((yyn != 0) && (yyn += YYERRCODE) >= 0 && yyn <= YYTABLESIZE && yycheck[yyn] == YYERRCODE) { if (yydebug) debug("state "+state_peek(0)+", error recovery shifting to state "+yytable[yyn]+" "); yystate = yytable[yyn]; state_push(yystate); val_push(yylval); doaction=false; break; } else { if (yydebug) debug("error recovery discarding state "+state_peek(0)+" "); if (stateptr<0) //check for under & overflow here { yyerror("Stack underflow. aborting..."); //capital 'S' return 1; } state_pop(); val_pop(); } } } else //discard this token { if (yychar == 0) return 1; //yyabort if (yydebug) { yys = null; if (yychar <= YYMAXTOKEN) yys = yyname[yychar]; if (yys == null) yys = "illegal-symbol"; debug("state "+yystate+", error recovery discards token "+yychar+" ("+yys+")"); } yychar = -1; //read another } }//end error recovery }//yyn=0 loop if (!doaction) //any reason not to proceed? continue; //skip action yym = yylen[yyn]; //get count of terminals on rhs if (yydebug) debug("state "+yystate+", reducing "+yym+" by rule "+yyn+" ("+yyrule[yyn]+")"); if (yym>0) //if count of rhs not 'nil' yyval = val_peek(yym-1); //get current semantic value switch(yyn) {//########## USER-SUPPLIED ACTIONS ##########case 1://#line 208 "e.y"{ myOptResult = null; }break;case 2://#line 209 "e.y"{ myOptResult = b.forValue(val_peek(0), null); }break;case 3://#line 212 "e.y"{ b.reserved(val_peek(3),"module"); }break;case 4://#line 215 "e.y"{ myOptResult = (Pattern)val_peek(0); }break;case 5://#line 222 "e.y"{ yyval = b.get__BREAK(); }break;case 6://#line 223 "e.y"{ yyval = b.get__CONTINUE(); }break;case 7://#line 224 "e.y"{ yyval = b.get__RETURN(); }break;case 8://#line 237 "e.y"{ yyval = val_peek(1); }break;case 10://#line 247 "e.y"{ yyval = b.sequence(val_peek(2), val_peek(0)); }break;case 13://#line 256 "e.y"{ yyval = b.sequence(val_peek(2), val_peek(0)); }break;case 15://#line 274 "e.y"{ yyval = b.ejector(val_peek(0)); }break;case 16://#line 275 "e.y"{ yyval = b.ejector(val_peek(2)); }break;case 17://#line 276 "e.y"{ yyval = b.ejector(val_peek(1), val_peek(0)); }break;case 18://#line 277 "e.y"{ b.pocket(val_peek(1),"smalltalk-return"); yyval = b.ejector(b.get__RETURN(),val_peek(0));}break;case 19://#line 279 "e.y"{ yyval = b.doco("",val_peek(0)); }break;case 20://#line 280 "e.y"{ yyval = b.doco(val_peek(1),val_peek(0)); }break;case 22://#line 293 "e.y"{ yyval = b.forward(val_peek(0)); }break;case 23://#line 294 "e.y"{ yyval = b.assign(val_peek(2), val_peek(0)); }break;case 24://#line 295 "e.y"{ yyval = b.update(val_peek(2), val_peek(1), b.list(val_peek(0))); }break;case 25://#line 296 "e.y"{ yyval = b.update(val_peek(2), val_peek(1), val_peek(0)); }break;case 26://#line 298 "e.y"{ yyval = b.define(val_peek(2), val_peek(0)); }break;case 27://#line 299 "e.y"{ yyval = b.define(val_peek(2), val_peek(0)); }break;case 28://#line 300 "e.y"{ yyval = b.define(val_peek(2), val_peek(0)); }break;case 29://#line 303 "e.y"{ b.pocket(val_peek(3),"trinary-define"); yyval = b.define(val_peek(4),val_peek(2),val_peek(0)); }break;case 30://#line 311 "e.y"{ yyval = b.list(val_peek(0)); }break;case 31://#line 312 "e.y"{ yyval = b.list(); }break;case 32://#line 313 "e.y"{ yyval = b.append(b.list(val_peek(3)),val_peek(1)); }break;case 34://#line 322 "e.y"{ yyval = b.condOr(val_peek(2), val_peek(1), val_peek(0)); }break;case 36://#line 331 "e.y"{ yyval = b.condAnd(val_peek(2), val_peek(1), val_peek(0)); }break;case 38://#line 343 "e.y"{ yyval = b.same(val_peek(2), val_peek(1), val_peek(0)); }break;case 39://#line 344 "e.y"{ yyval = b.not(val_peek(1), b.same(val_peek(2), val_peek(1), val_peek(0))); }break;case 42://#line 347 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"xor", val_peek(0)); }break;case 43://#line 348 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"butNot", val_peek(0)); }break;case 44://#line 350 "e.y"{ yyval = b.matchBind(val_peek(2), val_peek(1), val_peek(0)); }break;case 45://#line 351 "e.y"{ yyval = b.not(val_peek(1), b.matchBind(val_peek(2),val_peek(1),val_peek(0))); }break;case 46://#line 356 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"and", val_peek(0)); }break;case 47://#line 357 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"and", val_peek(0)); }break;case 48://#line 360 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"or", val_peek(0)); }break;case 49://#line 361 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"or", val_peek(0)); }break;case 51://#line 373 "e.y"{ yyval = b.lessThan(val_peek(2), val_peek(1), val_peek(0)); }break;case 52://#line 374 "e.y"{ yyval = b.leq(val_peek(2), val_peek(1), val_peek(0)); }break;case 53://#line 375 "e.y"{ yyval = b.asBigAs(val_peek(2), val_peek(1), val_peek(0)); }break;case 54://#line 376 "e.y"{ yyval = b.geq(val_peek(2), val_peek(1), val_peek(0)); }break;case 55://#line 377 "e.y"{ yyval = b.greaterThan(val_peek(2), val_peek(1), val_peek(0)); }break;case 56://#line 381 "e.y"{ b.pocket(val_peek(1),"cast"); yyval = b.cast(val_peek(2), val_peek(1), val_peek(0)); }break;case 58://#line 390 "e.y"{ yyval = b.thru(val_peek(2), val_peek(1), val_peek(0)); }break;case 59://#line 391 "e.y"{ yyval = b.till(val_peek(2), val_peek(1), val_peek(0)); }break;case 61://#line 400 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"shiftLeft", val_peek(0)); }break;case 62://#line 401 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"shiftRight",val_peek(0)); }break;case 64://#line 410 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"add", val_peek(0)); }break;case 65://#line 411 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"subtract",val_peek(0)); }break;case 67://#line 422 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"multiply", val_peek(0)); }break;case 68://#line 423 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"approxDivide", val_peek(0)); }break;case 69://#line 424 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"floorDivide", val_peek(0)); }break;case 70://#line 425 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"remainder", val_peek(0)); }break;case 71://#line 426 "e.y"{ yyval = b.mod(val_peek(2), val_peek(1), b.list(val_peek(0))); }break;case 73://#line 435 "e.y"{ yyval = b.binop(val_peek(2), val_peek(1),"pow", val_peek(0)); }break;case 75://#line 453 "e.y"{ yyval = b.call(val_peek(0), val_peek(1),"not", b.list()); }break;case 76://#line 454 "e.y"{ yyval = b.call(val_peek(0), val_peek(1),"complement", b.list());}break;case 77://#line 455 "e.y"{ yyval = b.slotExpr(val_peek(1), val_peek(0)); }break;case 78://#line 456 "e.y"{ b.pocket(val_peek(1),"unary-star"); yyval = b.call(val_peek(0), val_peek(1),"getValue", b.list()); }break;case 79://#line 458 "e.y"{ yyval = b.call(val_peek(0), val_peek(1),"negate", b.list()); }break;case 81://#line 467 "e.y"{ yyval = b.callFacet(val_peek(2), val_peek(0)); }break;case 82://#line 468 "e.y"{ yyval = b.sendFacet(val_peek(2), val_peek(0)); }break;case 83://#line 470 "e.y"{ yyval = b.propValue(val_peek(2), val_peek(0)); }break;case 84://#line 471 "e.y"{ yyval = b.propSlot(val_peek(3), val_peek(0)); }break;case 85://#line 472 "e.y"{ yyval = b.doMetaProp(val_peek(2), val_peek(0)); }break;case 86://#line 474 "e.y"{ yyval = b.sendPropValue(val_peek(3), val_peek(0)); }break;case 87://#line 475 "e.y"{ yyval = b.sendPropSlot(val_peek(4), val_peek(0)); }break;case 89://#line 487 "e.y"{ yyval = b.call(val_peek(3), val_peek(2),"run", val_peek(1)); }break;case 90://#line 488 "e.y"{ b.pocket(NO_POSER,"lambda-args"); yyval = b.call(val_peek(0), "run__control", b.list()); }break;case 91://#line 493 "e.y"{ yyval = b.call(val_peek(3), val_peek(1), val_peek(0)); }break;case 92://#line 494 "e.y"{ yyval = b.call(val_peek(3), val_peek(2),"get", val_peek(1)); }break;case 93://#line 495 "e.y"{ yyval = b.send(val_peek(3), val_peek(1), val_peek(0)); }break;case 94://#line 496 "e.y"{ yyval = b.send(val_peek(2), val_peek(1),"run", val_peek(0)); }break;case 95://#line 498 "e.y"{ yyval = b.doMeta(val_peek(1), val_peek(1),"run", val_peek(0)); }break;case 96://#line 499 "e.y"{ yyval = b.doMeta(val_peek(3), val_peek(1), val_peek(0)); }break;case 97://#line 500 "e.y"{ yyval = b.doMeta(val_peek(3), val_peek(2),"get", val_peek(1)); }break;case 98://#line 501 "e.y"{ yyval = b.doMetaSend(val_peek(3), val_peek(1), val_peek(0)); }break;case 99://#line 502 "e.y"{ yyval = b.doMetaSend(val_peek(2), val_peek(1),"run", val_peek(0));}break;case 101://#line 509 "e.y"{ yyval = b.control(val_peek(6), val_peek(2), val_peek(4), val_peek(1), val_peek(0)); }break;case 102://#line 510 "e.y"{ yyval = b.control(val_peek(3), val_peek(2), val_peek(1), val_peek(0)); }break;case 103://#line 511 "e.y"{ yyval = b.control(val_peek(3), val_peek(2), val_peek(1), val_peek(0)); }break;case 104://#line 513 "e.y"{ yyval = b.control(val_peek(5), val_peek(4), val_peek(2), b.list(), val_peek(0)); }break;case 105://#line 521 "e.y"{ yyval = b.literal(val_peek(0)); }break;case 106://#line 522 "e.y"{ yyval = b.literal(val_peek(0)); }break;case 107://#line 523 "e.y"{ yyval = b.literal(val_peek(0)); }break;case 108://#line 524 "e.y"{ yyval = b.literal(val_peek(0)); }break;case 111://#line 533 "e.y"{ yyval = b.uriExpr(val_peek(0)); }break;case 112://#line 534 "e.y"{ yyval = b.quasiExpr(val_peek(1),val_peek(0)); }break;case 114://#line 537 "e.y"{ yyval = b.tuple(val_peek(1)); }break;case 115://#line 538 "e.y"{ yyval = b.map(val_peek(1)); }break;case 116://#line 540 "e.y"{ yyval = b.hide(val_peek(0)); }break;case 117://#line 541 "e.y"{ yyval = b.escape(val_peek(2),val_peek(1),val_peek(0)); }break;case 118://#line 542 "e.y"{ yyval = b.whilex(val_peek(2),val_peek(1),val_peek(0)); }break;case 119://#line 543 "e.y"{ yyval = b.switchx(val_peek(1),val_peek(0)); }break;case 120://#line 544 "e.y"{ yyval = b.tryx(val_peek(2),val_peek(1),val_peek(0)); }break;case 122://#line 547 "e.y"{ yyval = val_peek(0); }break;case 124://#line 550 "e.y"{ b.reserved(val_peek(2),"select"); }break;case 126://#line 558 "e.y"{ yyval = b.doco("",val_peek(0)); }break;case 127://#line 559 "e.y"{ yyval = b.doco(val_peek(1),val_peek(0)); }break;case 128://#line 569 "e.y"{ yyval = ((ObjDecl)val_peek(0)).withOName(val_peek(1)); }break;case 129://#line 571 "e.y"{ yyval = b.oType("",val_peek(6),b.list(), val_peek(5),val_peek(4),val_peek(1)); }break;case 130://#line 573 "e.y"{ b.pocket(NO_POSER,"thunk"); /* doesn't bind __return */ yyval = b.fnDecl(val_peek(1), b.list(), val_peek(0)); }break;case 131://#line 577 "e.y"{ b.pocket(NO_POSER,"anon-lambda"); /* doesn't bind __return */ yyval = b.fnDecl(val_peek(2), val_peek(1), val_peek(0)); }break;case 132://#line 586 "e.y"{ yyval = ((ObjDecl)val_peek(1)).withScript(val_peek(0)); }break;case 133://#line 587 "e.y"{ /* binds __return */ yyval = b.methDecl(val_peek(1), val_peek(0), true); }break;case 134://#line 596 "e.y"{ yyval = noun(val_peek(0)); }break;case 135://#line 597 "e.y"{ yyval = b.quasiLiteralExpr(val_peek(0)); }break;case 136://#line 598 "e.y"{ yyval = b.quasiPatternExpr(val_peek(0)); }break;case 137://#line 602 "e.y"{ yyval = val_peek(1); }break;case 138://#line 603 "e.y"{ yyval = val_peek(0); }break;case 139://#line 604 "e.y"{ yyval = null; }break;case 140://#line 608 "e.y"{ yyval = val_peek(1); }break;case 141://#line 609 "e.y"{ yyval = val_peek(0); }break;case 142://#line 616 "e.y"{ yyval = val_peek(1); }break;case 143://#line 624 "e.y"{ yyval = b.ifx(val_peek(1), val_peek(0)); }break;case 144://#line 625 "e.y"{ yyval = b.ifx(val_peek(3), val_peek(2), val_peek(0)); }break;case 145://#line 626 "e.y"{ yyval = b.ifx(val_peek(3), val_peek(2), val_peek(0)); }break;case 147://#line 631 "e.y"{ b.reserved(val_peek(1),"if-match"); }break;case 148://#line 639 "e.y"{ yyval = b.forx(val_peek(4),val_peek(2),val_peek(1),val_peek(0)); }break;case 149://#line 640 "e.y"{ b.reserved(val_peek(2),"when-in"); }break;case 151://#line 652 "e.y"{ yyval = noun("simple__quasiParser"); }break;case 152://#line 653 "e.y"{ yyval = noun(b.mangle(val_peek(0), "__quasiParser")); }break;case 153://#line 658 "e.y"{ yyval = b.list(val_peek(0)); }break;case 154://#line 659 "e.y"{ yyval = b.with(val_peek(1), val_peek(0)); }break;case 155://#line 663 "e.y"{ yyval = b.list(val_peek(1), val_peek(0)); }break;case 156://#line 664 "e.y"{ yyval = b.with(b.with(val_peek(2), val_peek(1)), val_peek(0)); }break;case 157://#line 668 "e.y"{ yyval = b.dollarNoun(val_peek(0)); }break;case 158://#line 669 "e.y"{ yyval = val_peek(1); }break;case 159://#line 680 "e.y"{ yyval = val_peek(1); }break;case 165://#line 706 "e.y"{ yyval = b.list(val_peek(0)); }break;case 166://#line 707 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 168://#line 711 "e.y"{ yyval = b.list(val_peek(0)); }break;case 169://#line 712 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 170://#line 717 "e.y"{ yyval = b.list(val_peek(0)); }break;case 171://#line 718 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 173://#line 722 "e.y"{ yyval = b.assoc(val_peek(2), val_peek(0)); }break;case 174://#line 723 "e.y"{ b.pocket(val_peek(1),"exporter"); yyval = b.exporter(val_peek(0)); }break;case 175://#line 725 "e.y"{ b.pocket(val_peek(2),"exporter"); yyval = b.exporter(b.slotExpr(val_peek(1),val_peek(0))); }break;case 176://#line 727 "e.y"{ b.pocket(val_peek(2),"exporter"); b.reserved(val_peek(1),"Forward exporter"); }break;case 177://#line 742 "e.y"{ yyval = b.assoc(b.ignore(), val_peek(0)); }break;case 178://#line 743 "e.y"{ yyval = b.assoc(val_peek(2), val_peek(0)); }break;case 180://#line 749 "e.y"{ yyval = b.suchThat(val_peek(2), val_peek(0)); }break;case 181://#line 750 "e.y"{ yyval = b.via(val_peek(1),val_peek(0)); }break;case 182://#line 752 "e.y"{ b.reserved(val_peek(1),"meta pattern"); }break;case 185://#line 758 "e.y"{ yyval = b.quasiPattern(val_peek(1), val_peek(0)); }break;case 186://#line 759 "e.y"{ yyval = b.patternEquals(val_peek(0)); }break;case 187://#line 760 "e.y"{ b.reserved(val_peek(1),"not-same pattern"); }break;case 188://#line 761 "e.y"{ b.reserved(val_peek(1), "comparison pattern"); }break;case 189://#line 764 "e.y"{ b.pocket(val_peek(4),"call-pattern"); yyval = b.callPattern(val_peek(3), val_peek(2),"run", val_peek(1));}break;case 190://#line 766 "e.y"{ b.pocket(val_peek(6),"call-pattern"); yyval = b.callPattern(val_peek(5), val_peek(3), val_peek(1)); }break;case 191://#line 768 "e.y"{ b.pocket(val_peek(4),"call-pattern"); yyval = b.callPattern(val_peek(3), val_peek(2),"get", val_peek(1));}break;case 192://#line 771 "e.y"{ yyval = b.listPattern(val_peek(0)); }break;case 193://#line 772 "e.y"{ yyval = b.mapPattern(val_peek(1),null); }break;case 194://#line 773 "e.y"{ yyval = b.cdrPattern(val_peek(2), val_peek(0)); }break;case 195://#line 774 "e.y"{ yyval = b.mapPattern(val_peek(3), val_peek(0)); }break;case 196://#line 778 "e.y"{ yyval = val_peek(1); }break;case 197://#line 782 "e.y"{ yyval = b.list(val_peek(0)); }break;case 198://#line 783 "e.y"{ yyval = b.with(val_peek(1), val_peek(0)); }break;case 199://#line 787 "e.y"{ yyval = b.list(val_peek(1), val_peek(0)); }break;case 200://#line 788 "e.y"{ yyval = b.with(b.with(val_peek(2), val_peek(1)), val_peek(0)); }break;case 203://#line 798 "e.y"{ yyval = b.atNoun(val_peek(0)); }break;case 204://#line 799 "e.y"{ yyval = val_peek(2); }break;case 205://#line 812 "e.y"{ yyval = b.ignore(); }break;case 206://#line 813 "e.y"{ yyval = b.ignore(val_peek(0)); }break;case 207://#line 814 "e.y"{ yyval = b.ignore(val_peek(0));}break;case 208://#line 818 "e.y"{ yyval = b.finalPattern(val_peek(2),val_peek(0));}break;case 209://#line 819 "e.y"{ b.antiPocket(val_peek(0), "explicit-final-guard"); yyval = b.finalPattern(val_peek(0)); }break;case 213://#line 828 "e.y"{ yyval = b.bindDefiner(val_peek(2),val_peek(0)); }break;case 214://#line 829 "e.y"{ b.antiPocket(val_peek(1), "explicit-final-guard"); yyval = b.bindDefiner(val_peek(0)); }break;case 215://#line 835 "e.y"{ yyval = b.varPattern(val_peek(2),val_peek(0)); }break;case 216://#line 836 "e.y"{ b.antiPocket(val_peek(1), "explicit-var-guard"); yyval = b.varPattern(val_peek(0)); }break;case 217://#line 842 "e.y"{ yyval = b.slotPattern(val_peek(2),val_peek(0)); }break;case 218://#line 843 "e.y"{ b.antiPocket(val_peek(1), "explicit-slot-guard"); yyval = b.slotPattern(val_peek(0)); }break;case 219://#line 854 "e.y"{ yyval = b.finalPattern(val_peek(0)); }break;case 220://#line 855 "e.y"{ yyval = b.ignore(); }break;case 221://#line 856 "e.y"{ yyval = b.bindDefiner(val_peek(0)); }break;case 222://#line 857 "e.y"{ yyval = b.varPattern(val_peek(0)); }break;case 223://#line 858 "e.y"{ b.reserved(val_peek(0), "literal qualified name no longer accepted"); }break;case 225://#line 871 "e.y"{ yyval = val_peek(1); }break;case 228://#line 897 "e.y"{ yyval = val_peek(1); }break;case 229://#line 901 "e.y"{ yyval = b.list(val_peek(0)); }break;case 230://#line 902 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 231://#line 906 "e.y"{ yyval = val_peek(1); }break;case 232://#line 910 "e.y"{ yyval = b.list(val_peek(0)); }break;case 233://#line 911 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 234://#line 915 "e.y"{ yyval = b.assoc(val_peek(2), val_peek(0)); }break;case 235://#line 916 "e.y"{ b.pocket(val_peek(1),"pattern-default"); yyval = b.assoc(val_peek(4), b.assoc(val_peek(0),val_peek(2))); }break;case 236://#line 918 "e.y"{ b.pocket(val_peek(1),"pattern-default"); b.reserved(val_peek(1),"default in map pattern"); }break;case 237://#line 920 "e.y"{ b.pocket(val_peek(1),"importer"); yyval = b.importer(val_peek(0)); }break;case 238://#line 922 "e.y"{ b.pocket(val_peek(1),"pattern-default"); b.pocket(val_peek(3),"importer"); yyval = b.importer(b.assoc(val_peek(0),val_peek(2))); }break;case 239://#line 925 "e.y"{ b.pocket(val_peek(1),"pattern-default"); b.pocket(val_peek(3),"importer"); b.reserved(val_peek(0),"default in map pattern"); }break;case 242://#line 946 "e.y"{ yyval = ""; }break;case 244://#line 954 "e.y"{ yyval = val_peek(0); }break;case 245://#line 955 "e.y"{ yyval = b.bindDefiner(val_peek(0)); }break;case 246://#line 956 "e.y"{ yyval = b.varPattern(val_peek(0)); }break;case 247://#line 963 "e.y"{ yyval = ODECL; }break;case 248://#line 964 "e.y"{ yyval = ODECL.withExtends(b,val_peek(0)); }break;case 249://#line 965 "e.y"{ yyval = ODECL.withAuditors(b,val_peek(0));}break;case 250://#line 966 "e.y"{ yyval = ODECL.withExtends(b,val_peek(1)) .withAuditors(b,val_peek(0));}break;case 251://#line 969 "e.y"{ yyerror("'extends' must come before 'implements'"); }break;case 252://#line 976 "e.y"{ yyval = ODECL; }break;case 253://#line 977 "e.y"{ yyval = ODECL.withExtends(b,val_peek(0)); }break;case 254://#line 978 "e.y"{ yyval = ODECL.withAuditors(b,val_peek(0));}break;case 255://#line 979 "e.y"{ yyval = ODECL.withExtends(b,val_peek(1)) .withAuditors(b,val_peek(0));}break;case 256://#line 982 "e.y"{ yyerror("'extends' must come before 'implements'"); }break;case 257://#line 991 "e.y"{ yyval = b.list(val_peek(0)); }break;case 258://#line 998 "e.y"{ yyval = b.list(val_peek(0)); }break;case 259://#line 999 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 260://#line 1006 "e.y"{ yyval = b.list(val_peek(0)); }break;case 261://#line 1007 "e.y"{ yyval = b.with(val_peek(2), val_peek(0)); }break;case 265://#line 1021 "e.y"{ b.reserved(val_peek(0),"literal concat"); }break;case 266://#line 1022 "e.y"{ b.reserved(val_peek(0),"literal concat"); }break;case 267://#line 1031 "e.y"{ /* binds __return */ yyval = b.to(val_peek(3), val_peek(1), val_peek(0)); }break;case 268://#line 1033 "e.y"{ /* doesn't bind __return */ yyval = b.method(val_peek(3), val_peek(1), val_peek(0)); }break;case 269://#line 1061 "e.y"{ yyval = b.methHead(val_peek(3),"run",val_peek(2),val_peek(0)); }break;case 270://#line 1062 "e.y"{ yyval = b.methHead(val_peek(4), val_peek(2),val_peek(0)); }break;case 271://#line 1071 "e.y"{ yyval = b.methHead(val_peek(3),"run", val_peek(2), val_peek(0));}break;case 272://#line 1073 "e.y"{ b.pocket(val_peek(5),"one-method-object"); yyval = b.methHead(val_peek(4), val_peek(2), val_peek(0)); }break;case 273://#line 1076 "e.y"{ b.pocket(val_peek(5),"one-method-object"); yyval = b.methHead(val_peek(4), val_peek(2), val_peek(0)); }break;case 274://#line 1088 "e.y"{ yyval = b.matcher(val_peek(1), val_peek(0)); }break;case 276://#line 1096 "e.y"{ yyval = b.uriExpr(val_peek(0)); }break;case 278://#line 1098 "e.y"{ yyval = b.call(val_peek(3), val_peek(2),"get", val_peek(1)); }break;case 279://#line 1099 "e.y"{ yyval = b.propValue(val_peek(2), val_peek(0)); }break;case 285://#line 1111 "e.y"{ yyval = val_peek(0); }break;case 286://#line 1112 "e.y"{ yyval = b.defaultOptResultGuard(yylval); }break;case 287://#line 1113 "e.y"{ b.reserved(val_peek(1),"throws"); }break;case 288://#line 1114 "e.y"{ b.reserved(val_peek(1),"throws"); }break;case 289://#line 1117 "e.y"{ yyval = b.list(val_peek(0)); }break;case 290://#line 1118 "e.y"{ yyval = b.with(val_peek(2),val_peek(0)); }break;case 291://#line 1126 "e.y"{ yyval = b.when(val_peek(4), val_peek(1), val_peek(0)); }break;case 292://#line 1127 "e.y"{ b.pocket(val_peek(2),"when-sequence"); yyval = b.whenSeq(val_peek(4), val_peek(1), val_peek(0)); }break;case 293://#line 1136 "e.y"{ /* binds __return */ b.pocket(val_peek(5),"hard-when"); yyval = b.list(ODECL.withOName(val_peek(5)), val_peek(3), val_peek(1), val_peek(0), Boolean.TRUE); }break;case 294://#line 1142 "e.y"{ /* XXX should this bind __return ?? */ /* Currently, it does. */ b.pocket(val_peek(2),"easy-when"); b.pocket(val_peek(2),"hard-when"); yyval = b.list(ODECL.withOName(val_peek(2)), null, val_peek(1), val_peek(0), Boolean.TRUE); }break;case 295://#line 1150 "e.y"{ /* XXX should this bind __return ?? */ /* Currently, it does not. */ b.pocket(val_peek(1),"easy-when"); yyval = b.list(ODECL.withOName(b.ignore()), null, val_peek(1), val_peek(0), Boolean.FALSE); }break;case 296://#line 1159 "e.y"{ b.pocket(val_peek(1),"hard-when"); yyval = val_peek(0); }break;case 297://#line 1161 "e.y"{ yyval = b.defaultOptWhenGuard(yylval); }break;case 298://#line 1162 "e.y"{ b.reserved(val_peek(1),"throws"); }break;case 299://#line 1163 "e.y"{ b.reserved(val_peek(1),"throws"); }break;case 300://#line 1175 "e.y"{ yyval = b.list(val_peek(2), val_peek(1), val_peek(0)); }break;case 301://#line 1176 "e.y"{ b.pocket(val_peek(0),"easy-when"); yyval = b.list(val_peek(0), null, null); }break;case 306://#line 1197 "e.y"{ yyval = b.list(); }break;case 307://#line 1201 "e.y"{ yyval = b.list(); }break;case 309://#line 1210 "e.y"{ b.pocket(val_peek(0),"verb-string"); yyval = val_peek(0); }break;case 310://#line 1218 "e.y"{ b.pocket(val_peek(0),"verb-curry"); yyval = val_peek(0); }break;case 311://#line 1220 "e.y"{ b.pocket(val_peek(0),"verb-curry"); b.pocket(val_peek(0),"verb-string"); yyval = val_peek(0); }break;case 312://#line 1232 "e.y"{ b.pocket(val_peek(0),"dot-props"); yyval = val_peek(0); }break;case 313://#line 1234 "e.y"{ b.pocket(val_peek(0),"dot-props"); yyval = val_peek(0); }break;case 314://#line 1242 "e.y"{ yyval = b.varName(val_peek(0)); }break;case 315://#line 1243 "e.y"{ b.pocket(val_peek(1),"noun-string"); yyval = b.varName(val_peek(0)); }break;case 316://#line 1245 "e.y"{ b.pocket(val_peek(1),"noun-string"); yyval = b.varName(val_peek(0)); }break;case 318://#line 1254 "e.y"{ b.reserved(val_peek(0),"keyword \"" + ((Astro)val_peek(0)).getTag().getTagName() + "\""); }break;case 319://#line 1270 "e.y"{ yyval = b.ident(val_peek(0), "add"); }break;case 320://#line 1271 "e.y"{ yyval = b.ident(val_peek(0), "and"); }break;case 321://#line 1272 "e.y"{ yyval = b.ident(val_peek(0), "approxDivide"); }break;case 322://#line 1273 "e.y"{ yyval = b.ident(val_peek(0), "floorDivide"); }break;case 323://#line 1274 "e.y"{ yyval = b.ident(val_peek(0), "shiftLeft"); }break;case 324://#line 1275 "e.y"{ yyval = b.ident(val_peek(0), "shiftRight"); }break;case 325://#line 1276 "e.y"{ yyval = b.ident(val_peek(0), "remainder"); }break;case 326://#line 1277 "e.y"{ yyval = b.ident(val_peek(0), "mod"); }break;case 327://#line 1278 "e.y"{ yyval = b.ident(val_peek(0), "multiply"); }break;case 328://#line 1279 "e.y"{ yyval = b.ident(val_peek(0), "or"); }break;case 329://#line 1280 "e.y"{ yyval = b.ident(val_peek(0), "pow"); }break;case 330://#line 1281 "e.y"{ yyval = b.ident(val_peek(0), "subtract"); }break;case 331://#line 1282 "e.y"{ yyval = b.ident(val_peek(0), "xor"); }break;case 332://#line 1293 "e.y"{ yyval = b.ident(val_peek(0), "add"); }break;case 333://#line 1294 "e.y"{ yyval = b.ident(val_peek(0), "and"); }break;case 334://#line 1295 "e.y"{ yyval = b.ident(val_peek(0), "approxDivide"); }break;case 335://#line 1296 "e.y"{ yyval = b.ident(val_peek(0), "floorDivide"); }break;case 336://#line 1297 "e.y"{ yyval = b.ident(val_peek(0), "shiftLeft"); }break;case 337://#line 1298 "e.y"{ yyval = b.ident(val_peek(0), "shiftRight"); }break;case 338://#line 1299 "e.y"{ yyval = b.ident(val_peek(0), "remainder"); }break;case 339://#line 1300 "e.y"{ yyval = b.ident(val_peek(0), "mod"); }break;case 340://#line 1301 "e.y"{ yyval = b.ident(val_peek(0), "multiply"); }break;case 341://#line 1302 "e.y"{ yyval = b.ident(val_peek(0), "or"); }break;case 342://#line 1303 "e.y"{ yyval = b.ident(val_peek(0), "pow"); }break;case 343://#line 1304 "e.y"{ yyval = b.ident(val_peek(0), "subtract"); }break;case 344://#line 1305 "e.y"{ yyval = b.ident(val_peek(0), "xor"); }break;case 345://#line 1314 "e.y"{ yyval = b.getNULL(); }break;case 346://#line 1315 "e.y"{ yyval = val_peek(1); }break;case 347://#line 1323 "e.y"{ b.pocket(val_peek(2),"accumulator"); yyval = b.accumulate(val_peek(1),val_peek(0)); }break;case 348://#line 1328 "e.y"{ yyval = b.accumFor(val_peek(3),val_peek(1),val_peek(0)); }break;case 349://#line 1329 "e.y"{ yyval = b.accumIf(val_peek(1),val_peek(0)); }break;case 350://#line 1330 "e.y"{ yyval = b.accumWhile(val_peek(1),val_peek(0)); }break;case 351://#line 1334 "e.y"{ yyval = b.accumBody(val_peek(3), b.list(val_peek(2))); }break;case 352://#line 1336 "e.y"{ yyval = b.accumBody(val_peek(3),val_peek(2)); }break;case 353://#line 1337 "e.y"{ yyval = val_peek(2); }break;case 354://#line 1342 "e.y"{ yyval = val_peek(1); }break;case 355://#line 1346 "e.y"{ yyval = b.vTable(val_peek(2), val_peek(1)); }break;case 356://#line 1347 "e.y"{ b.pocket(NO_POSER, "plumbing"); yyval = b.vTable(null, b.list(val_peek(0))); }break;case 358://#line 1362 "e.y"{ yyval = b.with(val_peek(2), val_peek(1)); }break;case 361://#line 1372 "e.y"{ yyval = b.with(val_peek(2), val_peek(1)); }break;case 364://#line 1389 "e.y"{ yyval = b.with(val_peek(1), val_peek(0)); }break;case 365://#line 1393 "e.y"{ yyval = null; }break;case 366://#line 1394 "e.y"{ b.pocket(NO_POSER, "escape-handler"); yyval = val_peek(0); }break;case 367://#line 1400 "e.y"{ yyval = b.matcher(val_peek(1), val_peek(0)); }break;case 368://#line 1407 "e.y"{ yyval = null; }break;case 369://#line 1408 "e.y"{ yyval = val_peek(0); }break;case 370://#line 1418 "e.y"{ yyval = b.oType("", val_peek(1), b.list(), b.list(val_peek(0))); }break;case 371://#line 1427 "e.y"{ yyval = null; }break;case 372://#line 1428 "e.y"{ yyval = val_peek(0); }break;case 375://#line 1437 "e.y"{ yyval = b.list(val_peek(0)); }break;case 376://#line 1438 "e.y"{ yyval = b.with(val_peek(2),val_peek(0)); }break;case 378://#line 1446 "e.y"{ b.reserved(NO_POSER,"causality"); }break;case 379://#line 1451 "e.y"{ yyval = b.mType(val_peek(6), val_peek(4), val_peek(2), val_peek(0)); }break;case 380://#line 1453 "e.y"{ yyval = b.mType(val_peek(5), "run", val_peek(2), val_peek(0));}break;case 382://#line 1461 "e.y"{ b.reserved(NO_POSER,"causality"); }break;case 383://#line 1465 "e.y"{ yyval = b.mType("", "run", val_peek(2), val_peek(0)); }break;case 384://#line 1466 "e.y"{ b.pocket(val_peek(5),"one-method-object"); yyval = b.mType("", val_peek(4), val_peek(2), val_peek(0)); }break;case 385://#line 1468 "e.y"{b.pocket(val_peek(5),"one-method-object"); yyval = b.mType("", val_peek(4), val_peek(2), val_peek(0)); }break;case 386://#line 1473 "e.y"{ yyval = val_peek(0); }break;case 387://#line 1474 "e.y"{ yyval = val_peek(1); }break;case 388://#line 1479 "e.y"{ yyval = b.list(val_peek(0)); }break;case 389://#line 1480 "e.y"{ yyval = b.with(val_peek(2),val_peek(0)); }break;case 390://#line 1487 "e.y"{ yyval = b.pType(val_peek(1),val_peek(0)); }break;case 391://#line 1488 "e.y"{ yyval = b.pType(null,val_peek(0)); }break;case 392://#line 1489 "e.y"{ yyval = b.pType(null,val_peek(0)); }break;case 393://#line 1497 "e.y"{ yyval = null; }break;case 394://#line 1498 "e.y"{ yyval = val_peek(0); }break;case 408://#line 1514 "e.y"{ yyval = "->"; }break;//#line 7029 "EParser.java"//########## END OF USER-SUPPLIED ACTIONS ########## }//switch //#### Now let's reduce... #### if (yydebug) debug("reduce"); state_drop(yym); //we just reduced yylen states yystate = state_peek(0); //get new state val_drop(yym); //corresponding value drop yym = yylhs[yyn]; //select next TERMINAL(on lhs) if (yystate == 0 && yym == 0)//done? 'rest' state and at first TERMINAL { debug("After reduction, shifting from state 0 to state "+YYFINAL+""); yystate = YYFINAL; //explicitly say we're done state_push(YYFINAL); //and save it val_push(yyval); //also save the semantic value of parsing if (yychar < 0) //we want another character? { yychar = yylex(); //get next character if (yychar<0) yychar=0; //clean, if necessary if (yydebug) yylexdebug(yystate,yychar); } if (yychar == 0) //Good exit (if lex returns 0 ;-) break; //quit the loop--all DONE }//if yystate else //else not done yet { //get next state and push, for next yydefred[] yyn = yygindex[yym]; //find out where to go if ((yyn != 0) && (yyn += yystate) >= 0 && yyn <= YYTABLESIZE && yycheck[yyn] == yystate) yystate = yytable[yyn]; //get new state else yystate = yydgoto[yym]; //else go to new defred debug("after reduction, shifting from state "+state_peek(0)+" to state "+yystate+""); state_push(yystate); //going again, so push state & val... val_push(yyval); //for next action } }//main loop return 0;//yyaccept!!} | 48789 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48789/46d15697ca3fe9d33db4396a150ace4a80e72b68/EParser.java/clean/src/jsrc/org/erights/e/elang/syntax/EParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
509,
677,
879,
24378,
1435,
288,
474,
677,
878,
31,
4202,
368,
4285,
1024,
7757,
358,
741,
474,
677,
2942,
31,
4202,
368,
474,
26797,
340,
31,
282,
368,
2972,
5811,
919,
628,
919,
1014,
780,
677,
1900,
31,
565,
368,
2972,
1147,
533,
6494,
741,
1128,
31,
225,
1208,
67,
3772,
87,
5621,
225,
677,
878,
370,
87,
273,
374,
31,
225,
9016,
370,
6420,
273,
374,
31,
225,
9016,
3001,
273,
300,
21,
31,
1850,
368,
381,
12708,
1149,
26376,
279,
855,
225,
26797,
340,
33,
20,
31,
5411,
368,
6769,
919,
225,
919,
67,
6206,
12,
93,
1094,
340,
1769,
225,
368,
5688,
518,
225,
1323,
261,
3767,
13,
368,
12198,
5811,
353,
2731,
16,
3344,
8783,
16,
578,
341,
19,
1636,
565,
288,
565,
741,
1128,
33,
3767,
31,
565,
309,
261,
6795,
4148,
13,
1198,
2932,
6498,
8863,
377,
368,
1970,
19252,
11385,
261,
2080,
20176,
1014,
13,
565,
364,
261,
93,
878,
33,
6795,
536,
1118,
63,
93,
1094,
340,
15533,
93,
878,
631,
20,
31,
93,
878,
33,
6795,
536,
1118,
63,
93,
1094,
340,
5717,
1377,
288,
1377,
309,
261,
6795,
4148,
13,
1198,
2932,
93,
878,
2773,
15,
93,
878,
9078,
225,
919,
2773,
15,
93,
1094,
340,
9078,
225,
1149,
2773,
15,
6795,
3001,
1769,
1377,
309,
261,
6795,
3001,
411,
374,
13,
1377,
368,
1814,
2545,
279,
1149,
35,
3639,
288,
3639,
9016,
3001,
273,
677,
1362,
92,
5621,
225,
368,
588,
1024,
1147,
3639,
368,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
509,
677,
879,
24378,
1435,
288,
474,
677,
878,
31,
4202,
368,
4285,
1024,
7757,
358,
741,
474,
677,
2942,
31,
4202,
368,
474,
26797,
340,
31,
282,
368,
2972,
5811,
919,
628,
919,
1014,
780,
677,
1900,
31,
565,
368,
2972,
1147,
533,
6494,
741,
1128,
31,
225,
1208,
67,
3772,
87,
5621,
225,
677,
878,
370,
87,
273,
374,
31,
225,
9016,
370,
6420,
273,
374,
31,
225,
9016,
3001,
273,
300,
21,
31,
1850,
368,
381,
12708,
1149,
26376,
279,
855,
225,
26797,
340,
33,
20,
31,
5411,
368,
6769,
919,
225,
919,
67,
6206,
12,
93,
1094,
340,
1769,
225,
368,
5688,
518,
225,
1323,
261,
3767,
13,
368,
12198,
5811,
353,
2731,
16,
3344,
2
] |
_t = __t342; | _t = __t356; | public final Expression constructor(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST constructor_AST_in = (AST)_t; AST e = null; AST attrName = null; AST attrVal = null; AST pcdata = null; AST cdata = null; AST p = null; step= null; PathExpr elementContent= null; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ELEMENT: { AST __t330 = _t; e = _t==ASTNULL ? null :(AST)_t; match(_t,ELEMENT); _t = _t.getFirstChild(); ElementConstructor c= new ElementConstructor(context, e.getText()); path.add(c); step= c; { _loop336: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==ATTRIBUTE)) { AST __t332 = _t; attrName = _t==ASTNULL ? null :(AST)_t; match(_t,ATTRIBUTE); _t = _t.getFirstChild(); AttributeConstructor attrib= new AttributeConstructor(context, attrName.getText()); c.addAttribute(attrib); { int _cnt335=0; _loop335: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ATTRIBUTE_CONTENT: { attrVal = (AST)_t; match(_t,ATTRIBUTE_CONTENT); _t = _t.getNextSibling(); attrib.addValue(attrVal.getText()); break; } case LCURLY: { AST __t334 = _t; AST tmp69_AST_in = (AST)_t; match(_t,LCURLY); _t = _t.getFirstChild(); PathExpr enclosed= new PathExpr(context); expr(_t,enclosed); _t = _retTree; attrib.addEnclosedExpr(enclosed); _t = __t334; _t = _t.getNextSibling(); break; } default: { if ( _cnt335>=1 ) { break _loop335; } else {throw new NoViableAltException(_t);} } } _cnt335++; } while (true); } _t = __t332; _t = _t.getNextSibling(); } else { break _loop336; } } while (true); } { _loop338: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_1.member(_t.getType()))) { if (elementContent == null) { elementContent= new PathExpr(context); c.setContent(elementContent); } step=constructor(_t,elementContent); _t = _retTree; } else { break _loop338; } } while (true); } _t = __t330; _t = _t.getNextSibling(); break; } case TEXT: { AST __t339 = _t; pcdata = _t==ASTNULL ? null :(AST)_t; match(_t,TEXT); _t = _t.getFirstChild(); TextConstructor text= new TextConstructor(context, pcdata.getText()); path.add(text); step= text; _t = __t339; _t = _t.getNextSibling(); break; } case XML_COMMENT: { AST __t340 = _t; cdata = _t==ASTNULL ? null :(AST)_t; match(_t,XML_COMMENT); _t = _t.getFirstChild(); CommentConstructor comment= new CommentConstructor(context, cdata.getText()); path.add(comment); step= comment; _t = __t340; _t = _t.getNextSibling(); break; } case XML_PI: { AST __t341 = _t; p = _t==ASTNULL ? null :(AST)_t; match(_t,XML_PI); _t = _t.getFirstChild(); PIConstructor pi= new PIConstructor(context, p.getText()); path.add(pi); step= pi; _t = __t341; _t = _t.getNextSibling(); break; } case LCURLY: { AST __t342 = _t; AST tmp70_AST_in = (AST)_t; match(_t,LCURLY); _t = _t.getFirstChild(); EnclosedExpr subexpr= new EnclosedExpr(context); expr(_t,subexpr); _t = _retTree; path.addPath(subexpr); step= subexpr; _t = __t342; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ca3671ce7c752480b17278b434be7f75e3ec7d57/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
3885,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
2235,
31,
9506,
202,
9053,
3885,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
425,
273,
446,
31,
202,
202,
9053,
11583,
273,
446,
31,
202,
202,
9053,
1604,
3053,
273,
446,
31,
202,
202,
9053,
6125,
892,
273,
446,
31,
202,
202,
9053,
20712,
273,
446,
31,
202,
202,
9053,
293,
273,
446,
31,
6862,
202,
4119,
33,
446,
31,
1082,
202,
743,
4742,
930,
1350,
33,
446,
31,
25083,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
13424,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3707,
20,
273,
389,
88,
31,
1082,
202,
73,
273,
389,
88,
631,
9053,
8560,
692,
446,
294,
12,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
10976,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
6862,
6862,
202,
1046,
6293,
276,
33,
394,
3010,
6293,
12,
2472,
16,
425,
18,
588,
1528,
10663,
25083,
202,
803,
18,
1289,
12,
71,
1769,
25083,
202,
4119,
33,
276,
31,
6862,
9506,
202,
95,
1082,
202,
67,
6498,
3707,
26,
30,
1082,
202,
2896,
288,
9506,
202,
430,
261,
67,
88,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
3885,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
2235,
31,
9506,
202,
9053,
3885,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
425,
273,
446,
31,
202,
202,
9053,
11583,
273,
446,
31,
202,
202,
9053,
1604,
3053,
273,
446,
31,
202,
202,
9053,
6125,
892,
273,
446,
31,
202,
202,
9053,
20712,
273,
446,
31,
202,
202,
9053,
293,
273,
446,
31,
6862,
202,
4119,
33,
446,
31,
1082,
202,
743,
4742,
930,
1350,
33,
446,
31,
25083,
202,
430,
261,
67,
88,
631,
2011,
2
] |
UMOMessage returnMessage = routeMessage(message, connector.isSynchronous(), os); | UMOMessage returnMessage = routeMessage(message, endpoint.isSynchronous(), os); | public void run() { try { int counter = 0; do { //useful if keep alive is implemented if (isServerSide() && ++counter > 500) { counter = 0; Thread.yield(); } if (disposing.get() || socket.isClosed()) { logger.debug("Peer closed connection"); break; } dataIn = new DataInputStream(new BufferedInputStream(socket.getInputStream())); dataOut = new DataOutputStream(new BufferedOutputStream(socket.getOutputStream())); UMOMessageAdapter adapter = null; Properties headers = new Properties(); byte[] payload = parseRequest(dataIn, headers); if (payload == null) break; adapter = connector.getMessageAdapter(new Object[]{payload, headers}); boolean http11 = ((String) adapter.getProperty(HttpConnector.HTTP_VERSION_PROPERTY)) .equalsIgnoreCase(HttpConstants.HTTP11); if (!http11) { keepAlive = adapter.getProperty(HttpConstants.HEADER_KEEP_ALIVE) != null; } else { String connection = (String) adapter.getProperty(HttpConstants.HEADER_CONNECTION); if (connection != null && connection.equalsIgnoreCase("close")) { keepAlive = false; } else { keepAlive = true; } } if (keepAlive && !keepAliveRegistered) { keepAliveRegistered = true; if (keepAliveMonitor != null) { keepAliveMonitor.addExpirable(((HttpConnector)connector).getKeepAliveTimeout(), this); } else { logger.info("Request has Keep alive set but the HttpConnector has keep alive disables"); keepAlive = false; } } if (adapter != null) { UMOMessage message = new MuleMessage(adapter); if (logger.isDebugEnabled()) { logger.debug((String) message.getProperty(HttpConnector.HTTP_REQUEST_PROPERTY)); } OutputStream os = new ResponseOutputStream(dataOut, socket); UMOMessage returnMessage = routeMessage(message, connector.isSynchronous(), os); if (returnMessage == null) { returnMessage = new MuleMessage("", null); } RequestContext.rewriteEvent(returnMessage); String responseText = (String) getResponseTransformer().transform(returnMessage.getPayload()); dataOut.write(responseText.getBytes()); dataOut.flush(); if (keepAliveMonitor != null) { keepAliveMonitor.resetExpirable(this); } } } while (!socket.isClosed() && keepAlive); } catch (Exception e) { keepAlive = false; handleException("Failed to process tcp Request on: " + (socket != null ? socket.getInetAddress().toString() : "null"), e); } finally { if(keepAliveMonitor!=null) { keepAliveMonitor.removeExpirable(this); } dispose(); } } | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/e7ce83a2b2d33f3fef75341e6dea393883e26157/HttpMessageReceiver.java/buggy/providers/http/src/java/org/mule/providers/http/HttpMessageReceiver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
3639,
288,
5411,
775,
5411,
288,
7734,
509,
3895,
273,
374,
31,
7734,
741,
7734,
288,
10792,
368,
1202,
2706,
309,
3455,
13714,
353,
8249,
10792,
309,
261,
291,
2081,
8895,
1435,
597,
965,
7476,
405,
6604,
13,
10792,
288,
13491,
3895,
273,
374,
31,
13491,
4884,
18,
23604,
5621,
10792,
289,
10792,
309,
261,
2251,
24014,
18,
588,
1435,
747,
2987,
18,
291,
7395,
10756,
10792,
288,
13491,
1194,
18,
4148,
2932,
6813,
4375,
1459,
8863,
13491,
898,
31,
10792,
289,
10792,
501,
382,
273,
394,
29382,
12,
2704,
24742,
12,
7814,
18,
588,
4348,
1435,
10019,
10792,
501,
1182,
273,
394,
28680,
12,
2704,
28649,
12,
7814,
18,
588,
4632,
1435,
10019,
10792,
587,
5980,
1079,
4216,
4516,
273,
446,
31,
10792,
6183,
1607,
273,
394,
6183,
5621,
10792,
1160,
8526,
2385,
273,
1109,
691,
12,
892,
382,
16,
1607,
1769,
10792,
309,
261,
7648,
422,
446,
13,
898,
31,
10792,
4516,
273,
8703,
18,
24906,
4216,
12,
2704,
1033,
63,
7073,
7648,
16,
1607,
22938,
10792,
1250,
1062,
2499,
273,
14015,
780,
13,
4516,
18,
588,
1396,
12,
2940,
7487,
18,
3693,
67,
5757,
67,
9900,
3719,
18701,
263,
14963,
5556,
12,
2940,
2918,
18,
3693,
2499,
1769,
10792,
309,
16051,
2505,
2499,
13,
10792,
288,
13491,
24115,
273,
4516,
18,
588,
1396,
12,
2940,
2918,
18,
7557,
67,
6859,
10541,
67,
1013,
5354,
13,
480,
446,
31,
10792,
289,
469,
10792,
288,
13491,
514,
1459,
273,
261,
780,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
3639,
288,
5411,
775,
5411,
288,
7734,
509,
3895,
273,
374,
31,
7734,
741,
7734,
288,
10792,
368,
1202,
2706,
309,
3455,
13714,
353,
8249,
10792,
309,
261,
291,
2081,
8895,
1435,
597,
965,
7476,
405,
6604,
13,
10792,
288,
13491,
3895,
273,
374,
31,
13491,
4884,
18,
23604,
5621,
10792,
289,
10792,
309,
261,
2251,
24014,
18,
588,
1435,
747,
2987,
18,
291,
7395,
10756,
10792,
288,
13491,
1194,
18,
4148,
2932,
6813,
4375,
1459,
8863,
13491,
898,
31,
10792,
289,
10792,
501,
382,
273,
394,
29382,
12,
2704,
24742,
12,
7814,
18,
588,
4348,
1435,
10019,
10792,
501,
1182,
273,
394,
28680,
12,
2704,
28649,
12,
7814,
18,
588,
4632,
1435,
10019,
2
] |
|| DesignChoiceConstants.MAP_OPERATOR_LIKE .equals( operatorValue ) ) | || DesignChoiceConstants.MAP_OPERATOR_LIKE.equals( operatorValue ) ) | public static int determineValueVisible( String operatorValue ) { if ( DesignChoiceConstants.MAP_OPERATOR_ANY.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_FALSE .equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_TRUE .equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NULL .equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NOT_NULL .equals( operatorValue ) ) { return 0; } else if ( DesignChoiceConstants.MAP_OPERATOR_LT.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_LE.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_EQ.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NE.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_GE.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_GT.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_LIKE .equals( operatorValue ) ) { return 1; } else if ( DesignChoiceConstants.MAP_OPERATOR_BETWEEN .equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NOT_BETWEEN .equals( operatorValue ) ) { return 2; } return 1; } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1cbdabafb0e6f5e8a50eeb05f5cc3d2a2fff1551/HighlightRuleBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
4199,
620,
6207,
12,
514,
3726,
620,
262,
202,
95,
202,
202,
430,
261,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
15409,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
21053,
25083,
202,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
18724,
25083,
202,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
8560,
25083,
202,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
4400,
67,
8560,
25083,
202,
18,
14963,
12,
3726,
620,
262,
262,
202,
202,
95,
1082,
202,
2463,
374,
31,
202,
202,
97,
202,
202,
12107,
309,
261,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
12050,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
900,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
27247,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
5407,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
7113,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
16506,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
4199,
620,
6207,
12,
514,
3726,
620,
262,
202,
95,
202,
202,
430,
261,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
15409,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
21053,
25083,
202,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
18724,
25083,
202,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
8560,
25083,
202,
18,
14963,
12,
3726,
620,
262,
9506,
202,
20081,
29703,
10538,
2918,
18,
8352,
67,
26110,
67,
4400,
67,
8560,
25083,
202,
18,
14963,
12,
3726,
620,
262,
262,
202,
202,
2
] |
final Tree t = new Tree(r); | final Tree t = new Tree(db); | public void test001_createEmpty() throws IOException { final Tree t = new Tree(r); assertTrue("isLoaded", t.isLoaded()); assertTrue("isModified", t.isModified()); assertTrue("no parent", t.getParent() == null); assertTrue("isRoot", t.isRoot()); assertTrue("no name", t.getName() == null); assertTrue("no nameUTF8", t.getNameUTF8() == null); assertTrue("has iterator", t.entryIterator() != null); assertFalse("iterator is empty", t.entryIterator().hasNext()); assertEquals("full name is empty", "", t.getFullName()); assertTrue("no id", t.getId() == null); assertTrue("tree is self", t.getTree() == t); assertTrue("database is r", t.getDatabase() == r); assertTrue("no foo child", t.findMember("foo") == null); } | 45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/a3aa28f96d8948af66bd61819772328d15c0c01c/T0002_Tree.java/buggy/org.spearce.jgit/tst/org/spearce/jgit/lib_tst/T0002_Tree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11664,
67,
2640,
1921,
1435,
1216,
1860,
565,
288,
3639,
727,
4902,
268,
273,
394,
4902,
12,
1966,
1769,
3639,
1815,
5510,
2932,
291,
8835,
3113,
268,
18,
291,
8835,
10663,
3639,
1815,
5510,
2932,
291,
4575,
3113,
268,
18,
291,
4575,
10663,
3639,
1815,
5510,
2932,
2135,
982,
3113,
268,
18,
588,
3054,
1435,
422,
446,
1769,
3639,
1815,
5510,
2932,
291,
2375,
3113,
268,
18,
291,
2375,
10663,
3639,
1815,
5510,
2932,
2135,
508,
3113,
268,
18,
17994,
1435,
422,
446,
1769,
3639,
1815,
5510,
2932,
2135,
508,
5159,
28,
3113,
268,
18,
17994,
5159,
28,
1435,
422,
446,
1769,
3639,
1815,
5510,
2932,
5332,
2775,
3113,
268,
18,
4099,
3198,
1435,
480,
446,
1769,
3639,
1815,
8381,
2932,
9838,
353,
1008,
3113,
268,
18,
4099,
3198,
7675,
5332,
2134,
10663,
3639,
1815,
8867,
2932,
2854,
508,
353,
1008,
3113,
23453,
268,
18,
588,
19223,
10663,
3639,
1815,
5510,
2932,
2135,
612,
3113,
268,
18,
26321,
1435,
422,
446,
1769,
3639,
1815,
5510,
2932,
3413,
353,
365,
3113,
268,
18,
588,
2471,
1435,
422,
268,
1769,
3639,
1815,
5510,
2932,
6231,
353,
436,
3113,
268,
18,
588,
4254,
1435,
422,
436,
1769,
3639,
1815,
5510,
2932,
2135,
8431,
1151,
3113,
268,
18,
4720,
4419,
2932,
11351,
7923,
422,
446,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11664,
67,
2640,
1921,
1435,
1216,
1860,
565,
288,
3639,
727,
4902,
268,
273,
394,
4902,
12,
1966,
1769,
3639,
1815,
5510,
2932,
291,
8835,
3113,
268,
18,
291,
8835,
10663,
3639,
1815,
5510,
2932,
291,
4575,
3113,
268,
18,
291,
4575,
10663,
3639,
1815,
5510,
2932,
2135,
982,
3113,
268,
18,
588,
3054,
1435,
422,
446,
1769,
3639,
1815,
5510,
2932,
291,
2375,
3113,
268,
18,
291,
2375,
10663,
3639,
1815,
5510,
2932,
2135,
508,
3113,
268,
18,
17994,
1435,
422,
446,
1769,
3639,
1815,
5510,
2932,
2135,
508,
5159,
28,
3113,
268,
18,
17994,
5159,
28,
1435,
422,
446,
1769,
3639,
1815,
5510,
2932,
5332,
2775,
3113,
268,
18,
4099,
3198,
1435,
480,
2
] |
if (count > 0) { | if (count != 0) { | private static Object jsFunction_splice(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { /* create an empty Array to return. */ scope = getTopLevelScope(scope); Object result = ScriptRuntime.newObject(cx, scope, "Array", null); int argc = args.length; if (argc == 0) return result; double length = getLengthProperty(thisObj); /* Convert the first argument into a starting index. */ double begin = ScriptRuntime.toInteger(args[0]); double end; double delta; double count; if (begin < 0) { begin += length; if (begin < 0) begin = 0; } else if (begin > length) { begin = length; } argc--; /* Convert the second argument from a count into a fencepost index. */ delta = length - begin; if (args.length == 1) { count = delta; end = length; } else { count = ScriptRuntime.toInteger(args[1]); if (count < 0) count = 0; else if (count > delta) count = delta; end = begin + count; argc--; } long lbegin = (long)begin; long lend = (long)end; /* If there are elements to remove, put them into the return value. */ if (count > 0) { if (count == 1 && (cx.getLanguageVersion() == Context.VERSION_1_2)) { /* * JS lacks "list context", whereby in Perl one turns the * single scalar that's spliced out into an array just by * assigning it to @single instead of $single, or by using it * as Perl push's first argument, for instance. * * JS1.2 emulated Perl too closely and returned a non-Array for * the single-splice-out case, requiring callers to test and * wrap in [] if necessary. So JS1.3, default, and other * versions all return an array of length 1 for uniformity. */ result = getElem(thisObj, lbegin); } else { for (long last = lbegin; last < lend; last++) { Scriptable resultArray = (Scriptable)result; Object temp = getElem(thisObj, last); setElem(resultArray, last - lbegin, temp); } } } else if (count == 0 && cx.getLanguageVersion() == Context.VERSION_1_2) { /* Emulate C JS1.2; if no elements are removed, return undefined. */ result = Context.getUndefinedValue(); } /* Find the direction (up or down) to copy and make way for argv. */ delta = argc - count; if (delta > 0) { for (long last = (long)length - 1; last >= lend; last--) { Object temp = getElem(thisObj, last); setElem(thisObj, last + (long)delta, temp); } } else if (delta < 0) { for (long last = lend; last < length; last++) { Object temp = getElem(thisObj, last); setElem(thisObj, last + (long)delta, temp); } } /* Copy from argv into the hole to complete the splice. */ int argoffset = args.length - argc; for (int i = 0; i < argc; i++) { setElem(thisObj, lbegin + i, args[i + argoffset]); } /* Update length in case we deleted elements from the end. */ ScriptRuntime.setProp(thisObj, "length", new Double(length + delta), thisObj); return result; } | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/9a4a059b275cc2eb1fb0e0946f333dc746b26cc2/NativeArray.java/buggy/src/org/mozilla/javascript/NativeArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
3828,
2083,
67,
19535,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
5411,
22780,
15261,
16,
1033,
8526,
833,
13,
565,
288,
3639,
1748,
752,
392,
1008,
1510,
358,
327,
18,
1195,
3639,
2146,
273,
13729,
2355,
3876,
12,
4887,
1769,
3639,
1033,
563,
273,
7739,
5576,
18,
2704,
921,
12,
71,
92,
16,
2146,
16,
315,
1076,
3113,
446,
1769,
3639,
509,
1501,
71,
273,
833,
18,
2469,
31,
3639,
309,
261,
3175,
71,
422,
374,
13,
5411,
327,
563,
31,
3639,
1645,
769,
273,
9888,
1396,
12,
2211,
2675,
1769,
3639,
1748,
4037,
326,
1122,
1237,
1368,
279,
5023,
770,
18,
1195,
3639,
1645,
2376,
273,
7739,
5576,
18,
869,
4522,
12,
1968,
63,
20,
19226,
3639,
1645,
679,
31,
3639,
1645,
3622,
31,
3639,
1645,
1056,
31,
3639,
309,
261,
10086,
411,
374,
13,
288,
5411,
2376,
1011,
769,
31,
5411,
309,
261,
10086,
411,
374,
13,
7734,
2376,
273,
374,
31,
3639,
289,
469,
309,
261,
10086,
405,
769,
13,
288,
5411,
2376,
273,
769,
31,
3639,
289,
3639,
1501,
71,
413,
31,
3639,
1748,
4037,
326,
2205,
1237,
628,
279,
1056,
1368,
279,
284,
802,
2767,
770,
18,
1195,
3639,
3622,
273,
769,
300,
2376,
31,
3639,
309,
261,
1968,
18,
2469,
422,
404,
13,
288,
5411,
1056,
273,
3622,
31,
5411,
679,
273,
769,
31,
3639,
289,
469,
288,
5411,
1056,
273,
7739,
5576,
18,
869,
4522,
12,
1968,
63,
21,
19226,
5411,
309,
261,
1883,
411,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1033,
3828,
2083,
67,
19535,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
5411,
22780,
15261,
16,
1033,
8526,
833,
13,
565,
288,
3639,
1748,
752,
392,
1008,
1510,
358,
327,
18,
1195,
3639,
2146,
273,
13729,
2355,
3876,
12,
4887,
1769,
3639,
1033,
563,
273,
7739,
5576,
18,
2704,
921,
12,
71,
92,
16,
2146,
16,
315,
1076,
3113,
446,
1769,
3639,
509,
1501,
71,
273,
833,
18,
2469,
31,
3639,
309,
261,
3175,
71,
422,
374,
13,
5411,
327,
563,
31,
3639,
1645,
769,
273,
9888,
1396,
12,
2211,
2675,
1769,
3639,
1748,
4037,
326,
1122,
1237,
1368,
279,
5023,
770,
18,
1195,
3639,
1645,
2376,
273,
7739,
5576,
18,
869,
4522,
12,
1968,
2
] |
throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); | throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier, global); | public ClientPutMessage(SimpleFieldSet fs) throws MessageInvalidException { String fnam = null; identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { String u = fs.get("URI"); if(u == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier); FreenetURI uu = new FreenetURI(fs.get("URI")); String[] metas = uu.getAllMetaStrings(); if(metas != null && metas.length == 1) { fnam = metas[0]; uu = uu.setMetaString(null); } // if >1, will fail later uri = uu; } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } global = Fields.stringToBool(fs.get("Global"), false); String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } contentType = fs.get("Metadata.ContentType"); String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } getCHKOnly = Fields.stringToBool(fs.get("GetCHKOnly"), false); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below FProxy priorityClass = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else { try { priorityClass = Short.parseShort(priorityString, 10); if((priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS) || (priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS)) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } String uploadFrom = fs.get("UploadFrom"); if((uploadFrom == null) || uploadFrom.equalsIgnoreCase("direct")) { uploadFromType = UPLOAD_FROM_DIRECT; String dataLengthString = fs.get("DataLength"); if(dataLengthString == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Need DataLength on a ClientPut", identifier); try { dataLength = Long.parseLong(dataLengthString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing DataLength field: "+e.getMessage(), identifier); } this.origFilename = null; redirectTarget = null; } else if(uploadFrom.equalsIgnoreCase("disk")) { uploadFromType = UPLOAD_FROM_DISK; String filename = fs.get("Filename"); if(filename == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Missing field Filename", identifier); File f = new File(filename); if(!(f.exists() && f.isFile() && f.canRead())) throw new MessageInvalidException(ProtocolErrorMessage.FILE_NOT_FOUND, null, identifier); dataLength = f.length(); FileBucket fileBucket = new FileBucket(f, true, false, false, false); this.bucket = fileBucket; this.origFilename = f; redirectTarget = null; if(fnam == null) fnam = origFilename.getName(); } else if(uploadFrom.equalsIgnoreCase("redirect")) { uploadFromType = UPLOAD_FROM_REDIRECT; String target = fs.get("TargetURI"); if(target == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "TargetURI missing but UploadFrom=redirect", identifier); try { redirectTarget = new FreenetURI(target); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Invalid TargetURI: "+e, identifier); } dataLength = 0; origFilename = null; bucket = null; } else throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "UploadFrom invalid or unrecognized: "+uploadFrom, identifier); dontCompress = Fields.stringToBool(fs.get("DontCompress"), false); String persistenceString = fs.get("Persistence"); if((persistenceString == null) || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } clientToken = fs.get("ClientToken"); String f = fs.get("TargetFilename"); if(f != null) fnam = f; if(fnam != null && fnam.indexOf('/') > -1) { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "TargetFilename must not contain slashes", identifier); } if(fnam != null && fnam.length() == 0) { fnam = null; // Deliberate override to tell us not to create one. } if(uri.getKeyType().equals("CHK")) targetFilename = fnam; else targetFilename = null; earlyEncode = Fields.stringToBool(fs.get("EarlyEncode"), false); } | 50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/ClientPutMessage.java/buggy/src/freenet/node/fcp/ClientPutMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
1079,
12,
5784,
974,
694,
2662,
13,
1216,
2350,
1941,
503,
288,
202,
202,
780,
2295,
301,
273,
446,
31,
202,
202,
5644,
273,
2662,
18,
588,
2932,
3004,
8863,
202,
202,
430,
12,
5644,
422,
446,
13,
1082,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
19466,
67,
6776,
16,
315,
2279,
10333,
3113,
446,
1769,
202,
202,
698,
288,
1082,
202,
780,
582,
273,
2662,
18,
588,
2932,
3098,
8863,
1082,
202,
430,
12,
89,
422,
446,
13,
9506,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
19466,
67,
6776,
16,
315,
2279,
3699,
3113,
2756,
1769,
1082,
202,
42,
2842,
278,
3098,
582,
89,
273,
394,
478,
2842,
278,
3098,
12,
2556,
18,
588,
2932,
3098,
7923,
1769,
1082,
202,
780,
8526,
21232,
273,
582,
89,
18,
588,
1595,
2781,
7957,
5621,
1082,
202,
430,
12,
10578,
345,
480,
446,
597,
21232,
18,
2469,
422,
404,
13,
288,
9506,
202,
4293,
301,
273,
21232,
63,
20,
15533,
9506,
202,
24286,
273,
582,
89,
18,
542,
2781,
780,
12,
2011,
1769,
1082,
202,
97,
368,
309,
405,
21,
16,
903,
2321,
5137,
1082,
202,
1650,
273,
582,
89,
31,
202,
202,
97,
1044,
261,
18695,
20160,
425,
13,
288,
1082,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
3098,
67,
21045,
67,
3589,
16,
425,
18,
24906,
9334,
2756,
1769,
202,
202,
97,
202,
202,
6347,
273,
7190,
18,
1080,
774,
7464,
12,
2556,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
1079,
12,
5784,
974,
694,
2662,
13,
1216,
2350,
1941,
503,
288,
202,
202,
780,
2295,
301,
273,
446,
31,
202,
202,
5644,
273,
2662,
18,
588,
2932,
3004,
8863,
202,
202,
430,
12,
5644,
422,
446,
13,
1082,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
19466,
67,
6776,
16,
315,
2279,
10333,
3113,
446,
1769,
202,
202,
698,
288,
1082,
202,
780,
582,
273,
2662,
18,
588,
2932,
3098,
8863,
1082,
202,
430,
12,
89,
422,
446,
13,
9506,
202,
12849,
394,
2350,
1941,
503,
12,
5752,
14935,
18,
19466,
67,
6776,
16,
315,
2279,
3699,
3113,
2756,
1769,
1082,
202,
42,
2842,
278,
3098,
582,
89,
273,
394,
478,
2
] |
if (s.charAt(0) == cc && s.charAt(s.length() - 1) == cc) { | if ((s.charAt(0) == cc) && (s.charAt(s.length() - 1) == cc)) { | static String stripQuotes(String s) { final String quotes = "\"'"; if (s.length() >= 2) { int n = quotes.length(); for (int x = 0; x < n; x++) { char cc = quotes.charAt(x); if (s.charAt(0) == cc && s.charAt(s.length() - 1) == cc) { if (s.length() > 2) s = s.substring(1, s.length() - 1); else s = ""; break; } } } return s; } | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/HTMLFilter.java/clean/src/freenet/clients/http/filter/HTMLFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
514,
2569,
14292,
12,
780,
272,
13,
288,
202,
202,
6385,
514,
10681,
273,
7023,
4970,
31,
202,
202,
430,
261,
87,
18,
2469,
1435,
1545,
576,
13,
288,
1082,
202,
474,
290,
273,
10681,
18,
2469,
5621,
1082,
202,
1884,
261,
474,
619,
273,
374,
31,
619,
411,
290,
31,
619,
27245,
288,
9506,
202,
3001,
4946,
273,
10681,
18,
3001,
861,
12,
92,
1769,
9506,
202,
430,
261,
87,
18,
3001,
861,
12,
20,
13,
422,
4946,
597,
272,
18,
3001,
861,
12,
87,
18,
2469,
1435,
300,
404,
13,
422,
4946,
13,
288,
6862,
202,
430,
261,
87,
18,
2469,
1435,
405,
576,
13,
25083,
202,
87,
273,
272,
18,
28023,
12,
21,
16,
272,
18,
2469,
1435,
300,
404,
1769,
6862,
202,
12107,
25083,
202,
87,
273,
1408,
31,
6862,
202,
8820,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
272,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
514,
2569,
14292,
12,
780,
272,
13,
288,
202,
202,
6385,
514,
10681,
273,
7023,
4970,
31,
202,
202,
430,
261,
87,
18,
2469,
1435,
1545,
576,
13,
288,
1082,
202,
474,
290,
273,
10681,
18,
2469,
5621,
1082,
202,
1884,
261,
474,
619,
273,
374,
31,
619,
411,
290,
31,
619,
27245,
288,
9506,
202,
3001,
4946,
273,
10681,
18,
3001,
861,
12,
92,
1769,
9506,
202,
430,
261,
87,
18,
3001,
861,
12,
20,
13,
422,
4946,
597,
272,
18,
3001,
861,
12,
87,
18,
2469,
1435,
300,
404,
13,
422,
4946,
13,
288,
6862,
202,
430,
261,
87,
18,
2469,
1435,
405,
576,
13,
25083,
202,
87,
273,
272,
18,
28023,
12,
21,
2
] |
domain = prov.getDomainByName(value); | domain = prov.get(DomainBy.NAME, value); | public Element handle(Element request, Map<String, Object> context) throws ServiceException { ZimbraSoapContext lc = getZimbraSoapContext(context); Provisioning prov = Provisioning.getInstance(); boolean applyConfig = request.getAttributeBool(AdminService.A_APPLY_CONFIG, true); Element d = request.getElement(AdminService.E_DOMAIN); String key = d.getAttribute(AdminService.A_BY); String value = d.getText(); Domain domain = null; if (key.equals(BY_NAME)) { domain = prov.getDomainByName(value); } else if (key.equals(BY_ID)) { domain = prov.getDomainById(value); } else { throw ServiceException.INVALID_REQUEST("unknown value for by: "+key, null); } if (domain == null) throw AccountServiceException.NO_SUCH_DOMAIN(value); Element response = lc.createElement(AdminService.GET_DOMAIN_RESPONSE); doDomain(response, domain, applyConfig); return response; } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/87b1f0362680ce1747caf43e2d80ec3cfdcc3718/GetDomain.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/admin/GetDomain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
202,
5411,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769,
202,
565,
26423,
17197,
273,
26423,
18,
588,
1442,
5621,
202,
5411,
1250,
2230,
809,
273,
590,
18,
588,
1499,
7464,
12,
4446,
1179,
18,
37,
67,
2203,
23893,
67,
7203,
16,
638,
1769,
3639,
3010,
302,
273,
590,
18,
21336,
12,
4446,
1179,
18,
41,
67,
18192,
1769,
202,
565,
514,
498,
273,
302,
18,
588,
1499,
12,
4446,
1179,
18,
37,
67,
6486,
1769,
3639,
514,
460,
273,
302,
18,
588,
1528,
5621,
202,
377,
202,
565,
6648,
2461,
273,
446,
31,
7734,
309,
261,
856,
18,
14963,
12,
6486,
67,
1985,
3719,
288,
5411,
2461,
273,
17197,
18,
588,
12,
3748,
858,
18,
1985,
16,
460,
1769,
3639,
289,
469,
309,
261,
856,
18,
14963,
12,
6486,
67,
734,
3719,
288,
5411,
2461,
273,
17197,
18,
588,
3748,
5132,
12,
1132,
1769,
3639,
289,
469,
288,
5411,
604,
16489,
18,
9347,
67,
5519,
2932,
8172,
460,
364,
635,
30,
13773,
856,
16,
446,
1769,
3639,
289,
202,
5411,
309,
261,
4308,
422,
446,
13,
5411,
604,
6590,
15133,
18,
3417,
67,
19958,
67,
18192,
12,
1132,
1769,
202,
565,
3010,
766,
273,
9109,
18,
2640,
1046,
12,
4446,
1179,
18,
3264,
67,
18192,
67,
14508,
1769,
3639,
741,
3748,
12,
2740,
16,
2461,
16,
2230,
809,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3010,
1640,
12,
1046,
590,
16,
1635,
32,
780,
16,
1033,
34,
819,
13,
1216,
16489,
288,
202,
5411,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769,
202,
565,
26423,
17197,
273,
26423,
18,
588,
1442,
5621,
202,
5411,
1250,
2230,
809,
273,
590,
18,
588,
1499,
7464,
12,
4446,
1179,
18,
37,
67,
2203,
23893,
67,
7203,
16,
638,
1769,
3639,
3010,
302,
273,
590,
18,
21336,
12,
4446,
1179,
18,
41,
67,
18192,
1769,
202,
565,
514,
498,
273,
302,
18,
588,
1499,
12,
4446,
1179,
18,
37,
67,
6486,
1769,
3639,
514,
460,
273,
302,
18,
588,
1528,
5621,
202,
377,
202,
565,
6648,
2461,
273,
2
] |
for (int i = listeners.length - 1; i >= 0; --i) listeners[i].treeNodesInserted(event); } | for (int i = listeners.length - 1; i >= 0; --i) listeners[i].treeNodesInserted(event); } | protected void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children) { TreeModelEvent event = new TreeModelEvent(source, path, childIndices, children); TreeModelListener[] listeners = getTreeModelListeners(); for (int i = listeners.length - 1; i >= 0; --i) listeners[i].treeNodesInserted(event); } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/a9a5e4a5c26c86c820e7ab157787de61f7183270/DefaultTreeModel.java/clean/javax/swing/tree/DefaultTreeModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4452,
2471,
3205,
27329,
12,
921,
1084,
16,
1033,
8526,
589,
16,
1082,
202,
474,
8526,
1151,
8776,
16,
1033,
8526,
2325,
13,
202,
95,
202,
202,
2471,
1488,
1133,
871,
273,
394,
4902,
1488,
1133,
12,
3168,
16,
589,
16,
1151,
8776,
16,
9506,
202,
5906,
1769,
202,
202,
2471,
1488,
2223,
8526,
4679,
273,
15867,
1488,
5583,
5621,
202,
202,
1884,
261,
474,
277,
273,
4679,
18,
2469,
300,
404,
31,
277,
1545,
374,
31,
1493,
77,
13,
1082,
202,
16072,
63,
77,
8009,
3413,
3205,
27329,
12,
2575,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4452,
2471,
3205,
27329,
12,
921,
1084,
16,
1033,
8526,
589,
16,
1082,
202,
474,
8526,
1151,
8776,
16,
1033,
8526,
2325,
13,
202,
95,
202,
202,
2471,
1488,
1133,
871,
273,
394,
4902,
1488,
1133,
12,
3168,
16,
589,
16,
1151,
8776,
16,
9506,
202,
5906,
1769,
202,
202,
2471,
1488,
2223,
8526,
4679,
273,
15867,
1488,
5583,
5621,
202,
202,
1884,
261,
474,
277,
273,
4679,
18,
2469,
300,
404,
31,
277,
1545,
374,
31,
1493,
77,
13,
1082,
202,
16072,
63,
77,
8009,
3413,
3205,
27329,
12,
2575,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (!initializing) { | if (! initializing) { | protected void initProperties() { if (!initializing) { initializing = true; super.initProperties(); DavPropertySet properties = getProperties(); if (isCalendarCollection() || isCalendarHomeCollection()) { // override the default resource type property with // our own that sets the appropriate resource types // for calendar home collections (caldav section 4.2) // and calendar collections (caldav section 4.3) int[] resourceTypes = new int[2]; resourceTypes[0] = CosmoResourceType.COLLECTION; resourceTypes[1] = isCalendarCollection() ? CosmoResourceType.CALENDAR_COLLECTION : CosmoResourceType.CALENDAR_HOME; properties.add(new CosmoResourceType(resourceTypes)); // Windows XP support properties.add(new DefaultDavProperty( DavPropertyName.ISCOLLECTION, "1")); // content-language property String contentLanguage = null; try { if (getNode().hasProperty(NP_XML_LANG)) { contentLanguage = getNode().getProperty(NP_XML_LANG) .getString(); setContentLanguage(contentLanguage); } } catch (RepositoryException e) { log.warn("Unable to retrieve content language", e); } // calendar-description property (caldav section // 4.4.1) try { if (getNode().hasProperty(NP_CALDAV_CALENDARDESCRIPTION)) { String text = getNode().getProperty( NP_CALDAV_CALENDARDESCRIPTION).getString(); properties.add(new CalendarDescription(text, contentLanguage)); } } catch (RepositoryException e) { log.warn("Unable to retrieve calendar description", e); } } if (isCalendarCollection()) { // calendar-component-restriction-set property (caldav // section 4.4.2) // the entire Cosmo server allows only the components // specified by this constant, and this behavior can // not be modified by clients DavProperty davprop = new CalendarComponentRestrictionSet( ICALENDAR_COMPONENTS); properties.add(davprop); // calendar-restrictions property (caldav section // 4.4.3) // the entire Cosmo server allows non-calendar data // within calendar collections, and this behavior can // not be modified by clients properties.add(new CalendarRestrictions()); } if (isTicketable()) { initTickets(); properties.add(new TicketDiscovery(this)); } // Reports properties if (supportedReports != null) { properties.add(supportedReports); } initializing = false; } } | 47226 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47226/145f0ab5de3ac56e09fd5f3c725e84fb703cf8eb/CosmoDavResourceImpl.java/buggy/src/main/java/org/osaf/cosmo/dav/impl/CosmoDavResourceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
2297,
1435,
288,
3639,
309,
16051,
22584,
13,
288,
5411,
22584,
273,
638,
31,
5411,
2240,
18,
2738,
2297,
5621,
5411,
463,
842,
1396,
694,
1790,
273,
9392,
5621,
5411,
309,
261,
291,
7335,
2532,
1435,
747,
353,
7335,
8684,
2532,
10756,
288,
7734,
368,
3849,
326,
805,
1058,
618,
1272,
598,
7734,
368,
3134,
4953,
716,
1678,
326,
5505,
1058,
1953,
7734,
368,
364,
5686,
6382,
6980,
261,
771,
20752,
2442,
1059,
18,
22,
13,
7734,
368,
471,
5686,
6980,
261,
771,
20752,
2442,
1059,
18,
23,
13,
7734,
509,
8526,
1058,
2016,
273,
394,
509,
63,
22,
15533,
7734,
1058,
2016,
63,
20,
65,
273,
385,
538,
8683,
15631,
18,
25964,
31,
7734,
1058,
2016,
63,
21,
65,
273,
353,
7335,
2532,
1435,
692,
385,
538,
8683,
15631,
18,
12983,
29154,
67,
25964,
13491,
294,
385,
538,
8683,
15631,
18,
12983,
29154,
67,
14209,
31,
7734,
1790,
18,
1289,
12,
2704,
385,
538,
8683,
15631,
12,
3146,
2016,
10019,
7734,
368,
8202,
1139,
52,
2865,
7734,
1790,
18,
1289,
12,
2704,
2989,
40,
842,
1396,
12,
13491,
463,
842,
13073,
18,
45,
2312,
1741,
15445,
16,
315,
21,
7923,
1769,
7734,
368,
913,
17,
4923,
1272,
7734,
514,
913,
3779,
273,
446,
31,
7734,
775,
288,
10792,
309,
261,
588,
907,
7675,
5332,
1396,
12,
23430,
67,
4201,
67,
10571,
3719,
288,
13491,
913,
3779,
273,
5973,
7675,
588,
1396,
12,
23430,
67,
4201,
67,
10571,
13,
27573,
263,
588,
780,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
2297,
1435,
288,
3639,
309,
16051,
22584,
13,
288,
5411,
22584,
273,
638,
31,
5411,
2240,
18,
2738,
2297,
5621,
5411,
463,
842,
1396,
694,
1790,
273,
9392,
5621,
5411,
309,
261,
291,
7335,
2532,
1435,
747,
353,
7335,
8684,
2532,
10756,
288,
7734,
368,
3849,
326,
805,
1058,
618,
1272,
598,
7734,
368,
3134,
4953,
716,
1678,
326,
5505,
1058,
1953,
7734,
368,
364,
5686,
6382,
6980,
261,
771,
20752,
2442,
1059,
18,
22,
13,
7734,
368,
471,
5686,
6980,
261,
771,
20752,
2442,
1059,
18,
23,
13,
7734,
509,
8526,
1058,
2016,
273,
394,
509,
63,
22,
15533,
7734,
1058,
2016,
63,
20,
65,
273,
385,
538,
8683,
15631,
18,
25964,
31,
7734,
2
] |
FCPMessage msg = new IdentifierCollisionMessage(id); | FCPMessage msg = new IdentifierCollisionMessage(id, message.global); | public void startClientGet(ClientGetMessage message) { String id = message.identifier; ClientGet cg = null; boolean success; boolean persistent = message.persistenceType != ClientRequest.PERSIST_CONNECTION; synchronized(this) { if(isClosed) return; // We need to track non-persistent requests anyway, so we may as well check if(persistent) success = true; else success = !requestsByIdentifier.containsKey(id); if(success) { try { cg = new ClientGet(this, message); if(!persistent) requestsByIdentifier.put(id, cg); } catch (IdentifierCollisionException e) { success = false; } } } if(!success) { Logger.normal(this, "Identifier collision on "+this); FCPMessage msg = new IdentifierCollisionMessage(id); outputHandler.queue(msg); return; } else { // Register before starting, because it may complete immediately, and if it does, // we may end up with it not being removable because it wasn't registered! if(cg.isPersistent()) { if(cg.isPersistentForever()) server.forceStorePersistentRequests(); } cg.start(); } } | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/FCPConnectionHandler.java/buggy/src/freenet/node/fcp/FCPConnectionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
1227,
967,
12,
1227,
967,
1079,
883,
13,
288,
202,
202,
780,
612,
273,
883,
18,
5644,
31,
202,
202,
1227,
967,
14947,
273,
446,
31,
202,
202,
6494,
2216,
31,
202,
202,
6494,
9195,
273,
883,
18,
24854,
559,
480,
2445,
691,
18,
3194,
18732,
67,
15461,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12,
291,
7395,
13,
327,
31,
1082,
202,
759,
1660,
1608,
358,
3298,
1661,
17,
19393,
3285,
13466,
16,
1427,
732,
2026,
487,
5492,
866,
1082,
202,
430,
12,
19393,
13,
9506,
202,
4768,
273,
638,
31,
1082,
202,
12107,
9506,
202,
4768,
273,
401,
11420,
27498,
18,
12298,
653,
12,
350,
1769,
1082,
202,
430,
12,
4768,
13,
288,
9506,
202,
698,
288,
6862,
202,
26275,
273,
394,
2445,
967,
12,
2211,
16,
883,
1769,
6862,
202,
430,
12,
5,
19393,
13,
25083,
202,
11420,
27498,
18,
458,
12,
350,
16,
14947,
1769,
9506,
202,
97,
1044,
261,
3004,
13535,
1951,
503,
425,
13,
288,
6862,
202,
4768,
273,
629,
31,
9506,
202,
97,
1082,
202,
97,
202,
202,
97,
202,
202,
430,
12,
5,
4768,
13,
288,
1082,
202,
3328,
18,
6130,
12,
2211,
16,
315,
3004,
17740,
603,
13773,
2211,
1769,
1082,
202,
42,
4258,
1079,
1234,
273,
394,
10333,
13535,
1951,
1079,
12,
350,
1769,
1082,
202,
2844,
1503,
18,
4000,
12,
3576,
1769,
1082,
202,
2463,
31,
202,
202,
97,
469,
288,
1082,
202,
759,
5433,
1865,
5023,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
787,
1227,
967,
12,
1227,
967,
1079,
883,
13,
288,
202,
202,
780,
612,
273,
883,
18,
5644,
31,
202,
202,
1227,
967,
14947,
273,
446,
31,
202,
202,
6494,
2216,
31,
202,
202,
6494,
9195,
273,
883,
18,
24854,
559,
480,
2445,
691,
18,
3194,
18732,
67,
15461,
31,
202,
202,
22043,
12,
2211,
13,
288,
1082,
202,
430,
12,
291,
7395,
13,
327,
31,
1082,
202,
759,
1660,
1608,
358,
3298,
1661,
17,
19393,
3285,
13466,
16,
1427,
732,
2026,
487,
5492,
866,
1082,
202,
430,
12,
19393,
13,
9506,
202,
4768,
273,
638,
31,
1082,
202,
12107,
9506,
202,
4768,
273,
401,
11420,
27498,
18,
12298,
653,
12,
350,
1769,
1082,
202,
2
] |
recoverFromMismatchedSet(input,mse,FOLLOW_set_in_lhs_and2026); throw mse; | recoverFromMismatchedSet(input,mse,FOLLOW_set_in_lhs_and1991); throw mse; | public PatternDescr lhs_and() throws RecognitionException { PatternDescr d; PatternDescr left = null; PatternDescr right = null; d = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:612:17: (left= lhs_unary ( ('and'|'&&')right= lhs_unary )* ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:612:17: left= lhs_unary ( ('and'|'&&')right= lhs_unary )* { AndDescr and = null; following.push(FOLLOW_lhs_unary_in_lhs_and2017); left=lhs_unary(); following.pop(); d = left; // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:614:17: ( ('and'|'&&')right= lhs_unary )* loop50: do { int alt50=2; int LA50_0 = input.LA(1); if ( (LA50_0>=48 && LA50_0<=49) ) { alt50=1; } switch (alt50) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:614:25: ('and'|'&&')right= lhs_unary { if ( (input.LA(1)>=48 && input.LA(1)<=49) ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_lhs_and2026); throw mse; } following.push(FOLLOW_lhs_unary_in_lhs_and2037); right=lhs_unary(); following.pop(); if ( and == null ) { and = new AndDescr(); and.addDescr( left ); d = and; } and.addDescr( right ); } break; default : break loop50; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; } | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/61acd40072560afada3f7897673309e5b51b402d/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6830,
16198,
8499,
67,
464,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
6830,
16198,
2002,
273,
446,
31,
3639,
6830,
16198,
2145,
273,
446,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
2138,
30,
4033,
30,
261,
4482,
33,
8499,
67,
318,
814,
261,
7707,
464,
11,
16637,
10,
10,
6134,
4083,
33,
8499,
67,
318,
814,
8618,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
2138,
30,
4033,
30,
2002,
33,
8499,
67,
318,
814,
261,
7707,
464,
11,
16637,
10,
10,
6134,
4083,
33,
8499,
67,
318,
814,
8618,
5411,
288,
2398,
7835,
16198,
471,
273,
446,
31,
2398,
3751,
18,
6206,
12,
29890,
67,
80,
4487,
67,
318,
814,
67,
267,
67,
80,
4487,
67,
464,
31197,
1769,
5411,
2002,
33,
80,
4487,
67,
318,
814,
5621,
5411,
3751,
18,
5120,
5621,
2398,
302,
273,
2002,
31,
2398,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
3461,
30,
4033,
30,
261,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6830,
16198,
8499,
67,
464,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
6830,
16198,
2002,
273,
446,
31,
3639,
6830,
16198,
2145,
273,
446,
31,
1171,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64,
4936,
64,
72,
1321,
18,
75,
30,
26,
2138,
30,
4033,
30,
261,
4482,
33,
8499,
67,
318,
814,
261,
7707,
464,
11,
16637,
10,
10,
6134,
4083,
33,
8499,
67,
318,
814,
8618,
262,
5411,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
64,
12215,
17,
9576,
64,
4816,
64,
2
] |
throw new RegexpError(ruby, e.getMessage()); | throw new RegexpError(runtime, e.getMessage()); | public void compile(Ruby ruby, String pattern) throws RegexpError { if (extended) { pattern = unextend(pattern); } try { this.re = new RE(pattern, cflags); } catch (REException e) { throw new RegexpError(ruby, e.getMessage()); } } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/c5da2c6076b449b5de3adb26549527bf497ec10c/GNURegexpAdapter.java/buggy/src/org/jruby/runtime/regexp/GNURegexpAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4074,
12,
54,
10340,
22155,
16,
514,
1936,
13,
1216,
17011,
668,
288,
3639,
309,
261,
14948,
13,
288,
5411,
1936,
273,
640,
14313,
12,
4951,
1769,
3639,
289,
3639,
775,
288,
5411,
333,
18,
266,
273,
394,
2438,
12,
4951,
16,
276,
7133,
1769,
3639,
289,
1044,
261,
862,
503,
425,
13,
288,
5411,
604,
394,
17011,
668,
12,
9448,
16,
425,
18,
24906,
10663,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4074,
12,
54,
10340,
22155,
16,
514,
1936,
13,
1216,
17011,
668,
288,
3639,
309,
261,
14948,
13,
288,
5411,
1936,
273,
640,
14313,
12,
4951,
1769,
3639,
289,
3639,
775,
288,
5411,
333,
18,
266,
273,
394,
2438,
12,
4951,
16,
276,
7133,
1769,
3639,
289,
1044,
261,
862,
503,
425,
13,
288,
5411,
604,
394,
17011,
668,
12,
9448,
16,
425,
18,
24906,
10663,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb = v1.getMsbRegister(eContext); | final GPR v1_lsb = val.getLsbRegister(eContext); final GPR v1_msb = val.getMsbRegister(eContext); | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); L1AHelper.requestRegister(eContext, X86Register.ECX, v2); v2.loadTo(eContext, X86Register.ECX); v1.load(eContext); if (os.isCode32()) { final GPR v1_lsb = v1.getLsbRegister(eContext); final GPR v1_msb = v1.getMsbRegister(eContext); final Label curInstrLabel = getCurInstrLabel(); os.writeAND(X86Register.ECX, 63); os.writeCMP_Const(X86Register.ECX, 32); final Label gt32Label = new Label(curInstrLabel + "gt32"); final Label endLabel = new Label(curInstrLabel + "end"); os.writeJCC(gt32Label, X86Constants.JAE); // JAE /** ECX < 32 */ os.writeSHLD_CL(v1_msb, v1_lsb); os.writeSHL_CL(v1_lsb); os.writeJMP(endLabel); /** ECX >= 32 */ os.setObjectRef(gt32Label); os.writeMOV(INTSIZE, v1_msb, v1_lsb); os.writeXOR(v1_lsb, v1_lsb); os.writeSHL_CL(v1_msb); os.setObjectRef(endLabel); } else { final GPR64 v1r = v1.getRegister(eContext); os.writeSHL_CL(v1r); } // Release v2.release(eContext); vstack.push(v1); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/6ad6198b74c08d19e793bf52867682597f899f43/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
80,
674,
80,
1435,
288,
202,
202,
6385,
3094,
1180,
331,
22,
273,
19510,
18,
5120,
1702,
5621,
202,
202,
6385,
3407,
1180,
331,
21,
273,
19510,
18,
5120,
3708,
5621,
202,
202,
48,
21,
37,
2276,
18,
2293,
3996,
12,
73,
1042,
16,
1139,
5292,
3996,
18,
7228,
60,
16,
331,
22,
1769,
202,
202,
90,
22,
18,
945,
774,
12,
73,
1042,
16,
1139,
5292,
3996,
18,
7228,
60,
1769,
202,
202,
90,
21,
18,
945,
12,
73,
1042,
1769,
202,
202,
430,
261,
538,
18,
291,
1085,
1578,
10756,
288,
1082,
202,
6385,
4948,
54,
331,
21,
67,
3251,
70,
273,
331,
21,
18,
588,
48,
18366,
3996,
12,
73,
1042,
1769,
1082,
202,
6385,
4948,
54,
331,
21,
67,
959,
70,
273,
331,
21,
18,
588,
6947,
70,
3996,
12,
73,
1042,
1769,
5411,
727,
5287,
662,
382,
701,
2224,
273,
14135,
382,
701,
2224,
5621,
1082,
202,
538,
18,
2626,
4307,
12,
60,
5292,
3996,
18,
7228,
60,
16,
13746,
1769,
1082,
202,
538,
18,
2626,
39,
4566,
67,
9661,
12,
60,
5292,
3996,
18,
7228,
60,
16,
3847,
1769,
1082,
202,
6385,
5287,
9879,
1578,
2224,
273,
394,
5287,
12,
1397,
382,
701,
2224,
397,
315,
4521,
1578,
8863,
1082,
202,
6385,
5287,
679,
2224,
273,
394,
5287,
12,
1397,
382,
701,
2224,
397,
315,
409,
8863,
1082,
202,
538,
18,
2626,
46,
6743,
12,
4521,
1578,
2224,
16,
1139,
5292,
2918,
18,
46,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
80,
674,
80,
1435,
288,
202,
202,
6385,
3094,
1180,
331,
22,
273,
19510,
18,
5120,
1702,
5621,
202,
202,
6385,
3407,
1180,
331,
21,
273,
19510,
18,
5120,
3708,
5621,
202,
202,
48,
21,
37,
2276,
18,
2293,
3996,
12,
73,
1042,
16,
1139,
5292,
3996,
18,
7228,
60,
16,
331,
22,
1769,
202,
202,
90,
22,
18,
945,
774,
12,
73,
1042,
16,
1139,
5292,
3996,
18,
7228,
60,
1769,
202,
202,
90,
21,
18,
945,
12,
73,
1042,
1769,
202,
202,
430,
261,
538,
18,
291,
1085,
1578,
10756,
288,
1082,
202,
6385,
4948,
54,
331,
21,
67,
3251,
70,
273,
331,
21,
18,
588,
48,
18366,
3996,
12,
2
] |
return (current_row < 0 && rows.size() > 0); | if (onInsertRow) return false; return ((row_offset + current_row) < 0 && rows.size() > 0); | public boolean isBeforeFirst() throws SQLException { return (current_row < 0 && rows.size() > 0); } | 49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/d9216a27dc4ef3f9c2223a6add07c4bfc9a0903e/AbstractJdbc2ResultSet.java/buggy/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
4649,
3759,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
261,
2972,
67,
492,
411,
374,
597,
2595,
18,
1467,
1435,
405,
374,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
4649,
3759,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
261,
2972,
67,
492,
411,
374,
597,
2595,
18,
1467,
1435,
405,
374,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return createContainerElements ? "true" : "false"; if (property.equals("match-tagging")) return matchTagging ? "true" : "false"; | return Boolean.toString(createContainerElements); if (property.equals("match-tagging-elements")) return Boolean.toString((highlightMatches & Serializer.TAG_ELEMENT_MATCHES) > 0); if(property.equals("match-tagging-attributes")) return Boolean.toString((highlightMatches & Serializer.TAG_ATTRIBUTE_MATCHES) > 0); | public String getProperty(String property) throws XMLDBException { if (property.equals("pretty")) return indentXML ? "true" : "false"; if (property.equals("encoding")) return encoding; if (property.equals("create-container-elements")) return createContainerElements ? "true" : "false"; if (property.equals("match-tagging")) return matchTagging ? "true" : "false"; return null; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1c0cc42431436631d1b2e9ea8af63bb6dd883496/LocalXPathQueryService.java/buggy/src/org/exist/xmldb/LocalXPathQueryService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
3911,
12,
780,
1272,
13,
1216,
26014,
503,
288,
202,
202,
430,
261,
4468,
18,
14963,
2932,
19073,
6,
3719,
1082,
202,
2463,
3504,
4201,
692,
315,
3767,
6,
294,
315,
5743,
14432,
202,
202,
430,
261,
4468,
18,
14963,
2932,
5999,
6,
3719,
1082,
202,
2463,
2688,
31,
202,
202,
430,
261,
4468,
18,
14963,
2932,
2640,
17,
3782,
17,
6274,
6,
3719,
1082,
202,
2463,
752,
2170,
3471,
692,
315,
3767,
6,
294,
315,
5743,
14432,
202,
202,
430,
261,
4468,
18,
14963,
2932,
1916,
17,
2692,
1998,
6,
3719,
1082,
202,
2463,
845,
1805,
1998,
692,
315,
3767,
6,
294,
315,
5743,
14432,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
3911,
12,
780,
1272,
13,
1216,
26014,
503,
288,
202,
202,
430,
261,
4468,
18,
14963,
2932,
19073,
6,
3719,
1082,
202,
2463,
3504,
4201,
692,
315,
3767,
6,
294,
315,
5743,
14432,
202,
202,
430,
261,
4468,
18,
14963,
2932,
5999,
6,
3719,
1082,
202,
2463,
2688,
31,
202,
202,
430,
261,
4468,
18,
14963,
2932,
2640,
17,
3782,
17,
6274,
6,
3719,
1082,
202,
2463,
752,
2170,
3471,
692,
315,
3767,
6,
294,
315,
5743,
14432,
202,
202,
430,
261,
4468,
18,
14963,
2932,
1916,
17,
2692,
1998,
6,
3719,
1082,
202,
2463,
845,
1805,
1998,
692,
315,
3767,
6,
294,
315,
5743,
14432,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100
] |
if(A_OpenCms.isLogging()) { | if((A_OpenCms.isLogging() && I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING)) { | public byte[] get(Object key) { if(A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_CACHE, "[CmsTemplateCache] Getting " + key + " from cache."); } if(key instanceof String) { return (byte[])templateCache.get((String)key); } else { System.err.println("get: " + key); return null; } } | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/65fec749058083642e3e85283287c65357fa8690/CmsTemplateCache.java/buggy/src/com/opencms/launcher/CmsTemplateCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
336,
12,
921,
498,
13,
288,
3639,
309,
12443,
37,
67,
3678,
4747,
18,
291,
7735,
1435,
597,
467,
67,
4747,
1343,
10585,
18,
39,
67,
3670,
16560,
916,
67,
5127,
67,
28162,
3719,
288,
5411,
432,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
8495,
16,
5158,
4747,
2283,
1649,
65,
26602,
315,
397,
498,
397,
315,
628,
1247,
1199,
1769,
3639,
289,
3639,
309,
12,
856,
1276,
514,
13,
288,
5411,
327,
261,
7229,
63,
5717,
3202,
1649,
18,
588,
12443,
780,
13,
856,
1769,
3639,
289,
3639,
469,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
588,
30,
315,
397,
498,
1769,
5411,
327,
446,
31,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
336,
12,
921,
498,
13,
288,
3639,
309,
12443,
37,
67,
3678,
4747,
18,
291,
7735,
1435,
597,
467,
67,
4747,
1343,
10585,
18,
39,
67,
3670,
16560,
916,
67,
5127,
67,
28162,
3719,
288,
5411,
432,
67,
3678,
4747,
18,
1330,
12,
39,
67,
11437,
13802,
67,
8495,
16,
5158,
4747,
2283,
1649,
65,
26602,
315,
397,
498,
397,
315,
628,
1247,
1199,
1769,
3639,
289,
3639,
309,
12,
856,
1276,
514,
13,
288,
5411,
327,
261,
7229,
63,
5717,
3202,
1649,
18,
588,
12443,
780,
13,
856,
1769,
3639,
289,
3639,
469,
288,
5411,
2332,
18,
370,
18,
8222,
2932,
588,
30,
315,
397,
498,
1769,
5411,
327,
446,
31,
3639,
289,
565,
2
] |
object, | initializedBean, | private Object retrieveSimpleFields(Session session, ClassDescriptor classDescriptor, Node node, Object object) { // Object initializedBean = object; try { Iterator fieldDescriptorIterator = classDescriptor.getFieldDescriptors().iterator(); while (fieldDescriptorIterator.hasNext()) { FieldDescriptor fieldDescriptor = (FieldDescriptor) fieldDescriptorIterator.next(); String fieldName = fieldDescriptor.getFieldName(); String propertyName = fieldDescriptor.getJcrName(); if (fieldDescriptor.isPath()) {// if (null == initializedBean) { // HINT: lazy initialize target bean// initializedBean = ReflectionUtils.newInstance(classDescriptor.getClassName());// } // ReflectionUtils.setNestedProperty(initializedBean, fieldName, node.getPath()); ReflectionUtils.setNestedProperty(object, fieldName, node.getPath()); } else if (classDescriptor.usesNodeTypePerHierarchyStrategy() && fieldDescriptor.isDiscriminator()) { if (node.hasProperty( classDescriptor.getDiscriminatorFieldDescriptor().getJcrName())) {// if (null == initializedBean) {// initializedBean = ReflectionUtils.newInstance(classDescriptor.getClassName());// } String value = node.getProperty( classDescriptor.getDiscriminatorFieldDescriptor().getJcrName()).getValue().getString(); ReflectionUtils.setNestedProperty(object, fieldName, value); } else { throw new PersistenceException("Class '" + classDescriptor.getClassName() + "' have not a discriminator property."); } } else { if (node.hasProperty(propertyName)) { Value propValue = node.getProperty(propertyName).getValue();// if (null != propValue && null == initializedBean) { // HINT: lazy initialize target bean// initializedBean = ReflectionUtils.newInstance(classDescriptor.getClassName());// } AtomicTypeConverter converter= getAtomicTypeConverter(fieldDescriptor, object, fieldName); Object fieldValue = converter.getObject(propValue); ReflectionUtils.setNestedProperty(object, fieldName, fieldValue); } else { log.warn("Class '" + classDescriptor.getClassName() + "' has an unmapped property : " + propertyName); } } } } catch(ValueFormatException vfe) { throw new PersistenceException( "Cannot retrieve properties of object " + object + " from node " + node, vfe); } catch(RepositoryException re) { throw new org.apache.portals.graffito.jcr.exception.RepositoryException( "Cannot retrieve properties of object " + object + " from node " + node, re); } return object; } | 52535 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52535/c0f0288ae8dffbfcaf3116d255b4bdf2f5cf2317/ObjectConverterImpl.java/buggy/src/java/org/apache/portals/graffito/jcr/persistence/objectconverter/impl/ObjectConverterImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
4614,
5784,
2314,
12,
2157,
1339,
16,
29159,
26641,
667,
3187,
16,
29159,
2029,
756,
16,
29159,
1033,
733,
13,
288,
4202,
368,
1033,
6454,
3381,
273,
733,
31,
3639,
775,
288,
5411,
4498,
652,
3187,
3198,
273,
667,
3187,
18,
588,
974,
12705,
7675,
9838,
5621,
7734,
1323,
261,
1518,
3187,
3198,
18,
5332,
2134,
10756,
288,
7734,
13965,
652,
3187,
273,
261,
974,
3187,
13,
652,
3187,
3198,
18,
4285,
5621,
10792,
514,
4289,
273,
652,
3187,
18,
588,
7287,
5621,
7734,
514,
5470,
273,
652,
3187,
18,
588,
46,
3353,
461,
5621,
10792,
309,
261,
1518,
3187,
18,
291,
743,
10756,
288,
759,
10792,
309,
261,
2011,
422,
6454,
3381,
13,
288,
368,
28110,
30,
7962,
4046,
1018,
3931,
759,
13491,
6454,
3381,
273,
27416,
18,
2704,
1442,
12,
1106,
3187,
18,
588,
3834,
10663,
759,
10792,
289,
10792,
368,
10792,
27416,
18,
542,
8649,
1396,
12,
13227,
3381,
16,
4289,
16,
756,
18,
588,
743,
10663,
1171,
202,
1377,
27416,
18,
542,
8649,
1396,
12,
13227,
3381,
16,
4289,
16,
756,
18,
588,
743,
10663,
4766,
289,
7734,
469,
309,
261,
1106,
3187,
18,
6117,
15101,
2173,
12074,
4525,
1435,
597,
652,
3187,
18,
291,
21898,
10756,
288,
1171,
202,
5397,
202,
13491,
309,
261,
2159,
18,
5332,
1396,
12,
667,
3187,
18,
588,
21898,
974,
3187,
7675,
588,
46,
3353,
461,
1435,
3719,
288,
759,
13491,
309,
261,
2011,
422,
6454,
3381,
13,
288,
759,
18701,
6454,
3381,
273,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
4614,
5784,
2314,
12,
2157,
1339,
16,
29159,
26641,
667,
3187,
16,
29159,
2029,
756,
16,
29159,
1033,
733,
13,
288,
4202,
368,
1033,
6454,
3381,
273,
733,
31,
3639,
775,
288,
5411,
4498,
652,
3187,
3198,
273,
667,
3187,
18,
588,
974,
12705,
7675,
9838,
5621,
7734,
1323,
261,
1518,
3187,
3198,
18,
5332,
2134,
10756,
288,
7734,
13965,
652,
3187,
273,
261,
974,
3187,
13,
652,
3187,
3198,
18,
4285,
5621,
10792,
514,
4289,
273,
652,
3187,
18,
588,
7287,
5621,
7734,
514,
5470,
273,
652,
3187,
18,
588,
46,
3353,
461,
5621,
10792,
309,
261,
1518,
3187,
18,
291,
743,
10756,
288,
759,
10792,
309,
261,
2011,
422,
6454,
3381,
13,
288,
368,
2
] |
if (field.getFormat() == null) { return v.toString(); } | private String formatField(Value v, XMLField field) { String retval=""; if(field == null) return ""; if(v == null || v.isNull()) { String defaultNullValue = field.getNullString(); return defaultNullValue != null ? defaultNullValue : ""; } if (v.isBigNumber() || v.isNumber() || v.isInteger()) { if (field.getFormat() == null) { return v.toString(); } // Formatting if ( !Const.isEmpty(field.getFormat()) ) { data.df.applyPattern(field.getFormat()); } else { data.df.applyPattern(data.defaultDecimalFormat.toLocalizedPattern()); } // Decimal if ( !Const.isEmpty( field.getDecimalSymbol()) ) { data.dfs.setDecimalSeparator( field.getDecimalSymbol().charAt(0) ); } else { data.dfs.setDecimalSeparator( data.defaultDecimalFormatSymbols.getDecimalSeparator() ); } // Grouping if ( !Const.isEmpty( field.getGroupingSymbol()) ) { data.dfs.setGroupingSeparator( field.getGroupingSymbol().charAt(0) ); } else { data.dfs.setGroupingSeparator( data.defaultDecimalFormatSymbols.getGroupingSeparator() ); } // Currency symbol if ( !Const.isEmpty( field.getCurrencySymbol()) ) { data.dfs.setCurrencySymbol( field.getCurrencySymbol() ); } else { data.dfs.setCurrencySymbol( data.defaultDecimalFormatSymbols.getCurrencySymbol() ); } data.df.setDecimalFormatSymbols(data.dfs); if (v.isBigNumber()) { retval=data.df.format(v.getBigNumber()); } else if (v.isNumber()) { retval=data.df.format(v.getNumber()); } else // Integer { retval=data.df.format(v.getInteger()); } } else if (v.isDate()) { if (field!=null && field.getFormat()!=null && v.getDate()!=null) { if (!Const.isEmpty(field.getFormat())) { data.daf.applyPattern( field.getFormat() ); } else { data.daf.applyPattern( data.defaultDateFormat.toLocalizedPattern() ); } data.daf.setDateFormatSymbols(data.dafs); retval= data.daf.format(v.getDate()); } else { if (v.isNull() || v.getDate()==null) { if (field!=null && field.getNullString()!=null) { retval=field.getNullString(); } } else { retval=v.toString(); } } } else if (v.isString()) { retval=v.toString(); } else if (v.isBinary()) { if (v.isNull()) { if (field.getNullString()!=null) retval=field.getNullString(); else retval=Const.NULL_BINARY; } else { try { retval=new String(v.getBytes(), "US-ASCII"); } catch (UnsupportedEncodingException e) { // chances are small we'll get here. US_ASCII is // mandatory. retval=Const.NULL_BINARY; } } } else // Boolean { retval=v.toString(); } return retval; } | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/d7cd7b81ee2b8400e495453751f6025eed5a9600/AddXML.java/clean/src/be/ibridge/kettle/trans/step/addxml/AddXML.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
740,
974,
12,
620,
331,
16,
3167,
974,
652,
13,
565,
288,
3639,
514,
5221,
1546,
14432,
3639,
309,
12,
1518,
422,
446,
13,
5411,
327,
1408,
31,
3639,
309,
12,
90,
422,
446,
747,
331,
18,
291,
2041,
10756,
288,
5411,
514,
29031,
620,
273,
652,
18,
588,
2041,
780,
5621,
5411,
327,
29031,
620,
480,
446,
692,
29031,
620,
294,
1408,
31,
3639,
289,
3639,
309,
261,
90,
18,
291,
9901,
1854,
1435,
747,
331,
18,
291,
1854,
1435,
747,
331,
18,
291,
4522,
10756,
3639,
288,
5411,
309,
261,
1518,
18,
588,
1630,
1435,
422,
446,
13,
288,
7734,
327,
225,
331,
18,
10492,
5621,
5411,
289,
5411,
368,
4077,
1787,
5411,
309,
261,
401,
9661,
18,
291,
1921,
12,
1518,
18,
588,
1630,
10756,
262,
5411,
288,
7734,
501,
18,
2180,
18,
9010,
3234,
12,
1518,
18,
588,
1630,
10663,
5411,
289,
5411,
469,
5411,
288,
7734,
501,
18,
2180,
18,
9010,
3234,
12,
892,
18,
1886,
5749,
1630,
18,
869,
2042,
1235,
3234,
10663,
5411,
289,
5411,
368,
11322,
2398,
309,
261,
401,
9661,
18,
291,
1921,
12,
652,
18,
588,
5749,
5335,
10756,
262,
5411,
288,
7734,
501,
18,
12381,
18,
542,
5749,
6581,
12,
652,
18,
588,
5749,
5335,
7675,
3001,
861,
12,
20,
13,
11272,
5411,
289,
5411,
469,
5411,
288,
7734,
501,
18,
12381,
18,
542,
5749,
6581,
12,
501,
18,
1886,
5749,
1630,
14821,
18,
588,
5749,
6581,
1435,
11272,
5411,
289,
5411,
368,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
740,
974,
12,
620,
331,
16,
3167,
974,
652,
13,
565,
288,
3639,
514,
5221,
1546,
14432,
3639,
309,
12,
1518,
422,
446,
13,
5411,
327,
1408,
31,
3639,
309,
12,
90,
422,
446,
747,
331,
18,
291,
2041,
10756,
288,
5411,
514,
29031,
620,
273,
652,
18,
588,
2041,
780,
5621,
5411,
327,
29031,
620,
480,
446,
692,
29031,
620,
294,
1408,
31,
3639,
289,
3639,
309,
261,
90,
18,
291,
9901,
1854,
1435,
747,
331,
18,
291,
1854,
1435,
747,
331,
18,
291,
4522,
10756,
3639,
288,
5411,
309,
261,
1518,
18,
588,
1630,
1435,
422,
446,
13,
288,
7734,
327,
225,
331,
18,
10492,
5621,
5411,
289,
5411,
368,
4077,
1787,
5411,
309,
2
] |
|
throw new ServletException("Error executing FreeMarker template", te); | if ( configuration.getTemplateExceptionHandler() != freemarker.template.TemplateExceptionHandler.HTML_DEBUG_HANDLER && configuration.getTemplateExceptionHandler() != freemarker.template.TemplateExceptionHandler.DEBUG_HANDLER) { throw new ServletException(te); } | private void process( HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String path = requestUrlToTemplatePath(request); Template template = null; try { template = configuration.getTemplate(path, deduceLocale(path, request, response)); } catch (FileNotFoundException e) { response.sendError(HttpServletResponse.SC_NOT_FOUND); return; } Object attrContentType = template.getCustomAttribute("content_type"); if(attrContentType != null) { response.setContentType(attrContentType.toString()); } else { response.setContentType("text/html; charset=" + template.getEncoding()); }// // Set cache policy// setBrowserCachingPolicy(response); ServletContext servletContext = getServletContext(); try { TemplateModel model = createModel(getObjectWrapper(), servletContext, request, response); // Give subclasses a chance to hook into preprocessing if (preTemplateProcess(request, response, template, model)) { try { // Process the template template.process(model, response.getWriter()); } finally { // Give subclasses a chance to hook into postprocessing postTemplateProcess(request, response, template, model); } } } catch (TemplateException te) { throw new ServletException("Error executing FreeMarker template", te); } } | 22725 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22725/a8df37fa15cc3fc86ceb703eca0a2fd510f975a1/FreemarkerServlet.java/buggy/src/java/com/opensymphony/webwork/views/freemarker/FreemarkerServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
12,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
565,
288,
3639,
514,
589,
273,
21584,
774,
2283,
743,
12,
2293,
1769,
3639,
5035,
1542,
273,
446,
31,
3639,
775,
288,
5411,
1542,
273,
1664,
18,
588,
2283,
12,
803,
16,
11140,
3965,
3916,
12,
803,
16,
590,
16,
766,
10019,
3639,
289,
1044,
261,
812,
3990,
425,
13,
288,
5411,
766,
18,
4661,
668,
12,
2940,
29910,
18,
2312,
67,
4400,
67,
9294,
1769,
5411,
327,
31,
3639,
289,
7734,
1033,
1604,
8046,
273,
1542,
18,
588,
3802,
1499,
2932,
1745,
67,
723,
8863,
3639,
309,
12,
1747,
8046,
480,
446,
13,
288,
5411,
766,
18,
542,
8046,
12,
1747,
8046,
18,
10492,
10663,
3639,
289,
3639,
469,
288,
5411,
766,
18,
542,
8046,
2932,
955,
19,
2620,
31,
4856,
1546,
397,
1542,
18,
588,
4705,
10663,
3639,
289,
759,
3639,
368,
1000,
1247,
3329,
759,
3639,
444,
9132,
17712,
2582,
12,
2740,
1769,
3639,
22717,
20474,
273,
29015,
5621,
3639,
775,
288,
5411,
5035,
1488,
938,
273,
15552,
12,
588,
921,
3611,
9334,
20474,
16,
590,
16,
766,
1769,
5411,
368,
22374,
15320,
279,
17920,
358,
3953,
1368,
675,
10632,
5411,
309,
261,
1484,
2283,
2227,
12,
2293,
16,
766,
16,
1542,
16,
938,
3719,
288,
7734,
775,
288,
10792,
368,
4389,
326,
1542,
10792,
1542,
18,
2567,
12,
2284,
16,
766,
18,
588,
2289,
10663,
7734,
289,
3095,
288,
10792,
368,
22374,
15320,
279,
17920,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
12,
3639,
9984,
590,
16,
3639,
12446,
766,
13,
3639,
1216,
16517,
16,
1860,
565,
288,
3639,
514,
589,
273,
21584,
774,
2283,
743,
12,
2293,
1769,
3639,
5035,
1542,
273,
446,
31,
3639,
775,
288,
5411,
1542,
273,
1664,
18,
588,
2283,
12,
803,
16,
11140,
3965,
3916,
12,
803,
16,
590,
16,
766,
10019,
3639,
289,
1044,
261,
812,
3990,
425,
13,
288,
5411,
766,
18,
4661,
668,
12,
2940,
29910,
18,
2312,
67,
4400,
67,
9294,
1769,
5411,
327,
31,
3639,
289,
7734,
1033,
1604,
8046,
273,
1542,
18,
588,
3802,
1499,
2932,
1745,
67,
723,
8863,
3639,
309,
12,
1747,
8046,
480,
446,
13,
288,
5411,
766,
18,
542,
8046,
12,
2
] |
public AttributeDescr agenda_group() throws RecognitionException { AttributeDescr d; Token loc=null; Token name=null; d = null; try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:310:17: (loc= 'agenda-group' opt_eol name= STRING ( ';' )? opt_eol ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:310:17: loc= 'agenda-group' opt_eol name= STRING ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,35,FOLLOW_35_in_agenda_group952); following.push(FOLLOW_opt_eol_in_agenda_group954); opt_eol(); following.pop(); name=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_agenda_group958); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:310:56: ( ';' )? int alt32=2; int LA32_0 = input.LA(1); if ( LA32_0==15 ) { alt32=1; } else if ( LA32_0==EOL||LA32_0==21||LA32_0==28||LA32_0==30||(LA32_0>=32 && LA32_0<=36) ) { alt32=2; } else { NoViableAltException nvae = new NoViableAltException("310:56: ( \';\' )?", 32, 0, input); throw nvae; } switch (alt32) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:310:56: ';' { match(input,15,FOLLOW_15_in_agenda_group960); } break; } following.push(FOLLOW_opt_eol_in_agenda_group963); opt_eol(); following.pop(); d = new AttributeDescr( "agenda-group", getString( name ) ); d.setLocation( loc.getLine(), loc.getCharPositionInLine() ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; } | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/138d9a6805db25e18a7f8c70bebca33cce7b95e5/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3601,
16198,
28809,
67,
1655,
1435,
1216,
9539,
288,
6647,
3601,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3155,
508,
33,
2011,
31,
540,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
23,
2163,
30,
4033,
30,
261,
1829,
33,
296,
346,
18883,
17,
1655,
11,
2153,
67,
30951,
508,
33,
9469,
261,
7554,
7851,
2153,
67,
30951,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
23,
2163,
30,
4033,
30,
1515,
33,
296,
346,
18883,
17,
1655,
11,
2153,
67,
30951,
508,
33,
9469,
261,
7554,
7851,
2153,
67,
30951,
5411,
288,
5411,
1515,
28657,
1345,
13,
2630,
18,
12050,
12,
21,
1769,
5411,
845,
12,
2630,
16,
4763,
16,
29890,
67,
4763,
67,
267,
67,
346,
18883,
67,
1655,
8778,
22,
1769,
2398,
3751,
18,
6206,
12,
29890,
67,
3838,
67,
30951,
67,
267,
67,
346,
18883,
67,
1655,
29,
6564,
1769,
5411,
2153,
67,
30951,
5621,
5411,
3751,
18,
5120,
5621,
5411,
508,
28657,
1345,
13,
2630,
18,
12050,
12,
21,
1769,
5411,
845,
12,
2630,
16,
5804,
16,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3601,
16198,
28809,
67,
1655,
1435,
1216,
9539,
288,
6647,
3601,
16198,
302,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3155,
508,
33,
2011,
31,
540,
202,
202,
72,
273,
446,
31,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
19,
12215,
17,
9576,
19,
4816,
19,
5254,
19,
4683,
19,
3341,
19,
12215,
19,
4936,
19,
72,
1321,
18,
75,
30,
23,
2163,
30,
4033,
30,
261,
1829,
33,
296,
346,
18883,
17,
1655,
11,
2153,
67,
30951,
508,
33,
9469,
261,
7554,
7851,
2153,
67,
30951,
262,
5411,
368,
342,
6588,
19,
70,
947,
19,
12922,
19,
14915,
19,
10649,
8464,
7482,
2
] |
||
throw new IllegalStateException(); | return 0; | public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { if(zone!=null){ return zone.getOffset(era, year, month, day, dayOfWeek, milliseconds); } throw new IllegalStateException(); } | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/298377ea5b5baf5d7c01885c22130a87f6a41af8/JDKTimeZone.java/buggy/icu4j/src/com/ibm/icu/impl/JDKTimeZone.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13386,
12,
474,
25120,
16,
509,
3286,
16,
509,
3138,
16,
509,
2548,
16,
7682,
509,
21990,
16,
509,
10993,
13,
288,
3639,
309,
12,
3486,
5,
33,
2011,
15329,
5411,
327,
4157,
18,
588,
2335,
12,
6070,
16,
3286,
16,
3138,
16,
2548,
16,
4766,
1377,
21990,
16,
10993,
1769,
3639,
289,
540,
327,
374,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
13386,
12,
474,
25120,
16,
509,
3286,
16,
509,
3138,
16,
509,
2548,
16,
7682,
509,
21990,
16,
509,
10993,
13,
288,
3639,
309,
12,
3486,
5,
33,
2011,
15329,
5411,
327,
4157,
18,
588,
2335,
12,
6070,
16,
3286,
16,
3138,
16,
2548,
16,
4766,
1377,
21990,
16,
10993,
1769,
3639,
289,
540,
327,
374,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
{ return new DefaultNotEqualsExpr( lhs, rhs ); } | { return new DefaultNotEqualsExpr( lhs, rhs ); } | public BinaryExpr createEqualityExpr(Expr lhs, Expr rhs, int equalityOperator) throws JaxenException { switch ( equalityOperator ) { case EQUALS: { return new DefaultEqualsExpr( lhs, rhs ); } case NOT_EQUALS: { return new DefaultNotEqualsExpr( lhs, rhs ); } } throw new JaxenException( "Unhandled operator in createEqualityExpr(): " + equalityOperator ); } | 5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/d180ba623954ff7cb231af711a9133a78d7dd0c5/DefaultXPathFactory.java/buggy/src/java/main/org/jaxen/expr/DefaultXPathFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7896,
4742,
752,
20273,
4742,
12,
4742,
8499,
16,
29159,
8074,
7711,
16,
29159,
509,
14958,
5592,
13,
1216,
25824,
275,
503,
565,
288,
3639,
1620,
261,
14958,
5592,
262,
3639,
288,
5411,
648,
27557,
30,
5411,
288,
7734,
327,
394,
2989,
8867,
4742,
12,
8499,
16,
4766,
2868,
7711,
11272,
5411,
289,
5411,
648,
4269,
67,
12853,
55,
30,
5411,
288,
7734,
327,
394,
2989,
1248,
8867,
4742,
12,
8499,
16,
4766,
1171,
7711,
11272,
5411,
289,
3639,
289,
3639,
604,
394,
25824,
275,
503,
12,
315,
26952,
3726,
316,
752,
20273,
4742,
13332,
315,
397,
14958,
5592,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7896,
4742,
752,
20273,
4742,
12,
4742,
8499,
16,
29159,
8074,
7711,
16,
29159,
509,
14958,
5592,
13,
1216,
25824,
275,
503,
565,
288,
3639,
1620,
261,
14958,
5592,
262,
3639,
288,
5411,
648,
27557,
30,
5411,
288,
7734,
327,
394,
2989,
8867,
4742,
12,
8499,
16,
4766,
2868,
7711,
11272,
5411,
289,
5411,
648,
4269,
67,
12853,
55,
30,
5411,
288,
7734,
327,
394,
2989,
1248,
8867,
4742,
12,
8499,
16,
4766,
1171,
7711,
11272,
5411,
289,
3639,
289,
3639,
604,
394,
25824,
275,
503,
12,
315,
26952,
3726,
316,
752,
20273,
4742,
13332,
315,
397,
14958,
5592,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
step = new LocationStep(Constants.ATTRIBUTE_AXIS, new NameTest(Type.ATTRIBUTE, qname)); path.add(step); { _loop114: | step= new LocationStep(Constants.ATTRIBUTE_AXIS, new NameTest(Type.ATTRIBUTE, qname)); path.add(step); { _loop168: | public final Expression pathExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException { Expression step; AST pathExpr_AST_in = (AST)_t; AST c = null; AST i = null; AST dec = null; AST dbl = null; AST qn = null; AST nc1 = null; AST nc = null; AST attr = null; AST nc2 = null; AST nc3 = null; Expression rightStep = null; step = null; int axis = Constants.CHILD_AXIS; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STRING_LITERAL: { c = (AST)_t; match(_t,STRING_LITERAL); _t = _t.getNextSibling(); step = new Literal(c.getText()); path.add(step); break; } case INTEGER_LITERAL: { i = (AST)_t; match(_t,INTEGER_LITERAL); _t = _t.getNextSibling(); step = new IntNumber(Integer.parseInt(i.getText())); path.add(step); break; } case DOUBLE_LITERAL: case DECIMAL_LITERAL: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DECIMAL_LITERAL: { dec = (AST)_t; match(_t,DECIMAL_LITERAL); _t = _t.getNextSibling(); step = new IntNumber(Double.parseDouble(dec.getText())); break; } case DOUBLE_LITERAL: { dbl = (AST)_t; match(_t,DOUBLE_LITERAL); _t = _t.getNextSibling(); step = new IntNumber(Double.parseDouble(dbl.getText())); break; } default: { throw new NoViableAltException(_t); } } } path.add(step); break; } case FUNCTION: { step=functionCall(_t,path); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 51: case 52: case LITERAL_parent: case LITERAL_ancestor: case 55: case 56: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 51: case 52: case LITERAL_parent: case LITERAL_ancestor: case 55: case 56: { axis=forwardAxis(_t); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: { break; } default: { throw new NoViableAltException(_t); } } } NodeTest test; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { qn = (AST)_t; match(_t,QNAME); _t = _t.getNextSibling(); QName qname = QName.parse(context, qn.getText()); test = new NameTest(Type.ELEMENT, qname); break; } case PREFIX_WILDCARD: { AST __t106 = _t; AST tmp9_AST_in = (AST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc1 = (AST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t106; _t = _t.getNextSibling(); QName qname = new QName(nc1.getText(), null, null); test = new NameTest(Type.ELEMENT, qname); break; } case NCNAME: { AST __t107 = _t; nc = _t==ASTNULL ? null :(AST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); AST tmp10_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t107; _t = _t.getNextSibling(); String namespaceURI = context.getURIForPrefix(nc.getText()); QName qname = new QName(null, namespaceURI, null); test = new NameTest(Type.ELEMENT, qname); break; } case WILDCARD: { AST tmp11_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); test = new TypeTest(Type.ELEMENT); break; } case LITERAL_node: { AST tmp12_AST_in = (AST)_t; match(_t,LITERAL_node); _t = _t.getNextSibling(); test = new AnyNodeTest(); break; } case LITERAL_text: { AST tmp13_AST_in = (AST)_t; match(_t,LITERAL_text); _t = _t.getNextSibling(); test = new TypeTest(Type.TEXT); break; } default: { throw new NoViableAltException(_t); } } } step = new LocationStep(axis, test); path.add(step); { _loop109: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep)step); _t = _retTree; } else { break _loop109; } } while (true); } break; } case AT: { AST tmp14_AST_in = (AST)_t; match(_t,AT); _t = _t.getNextSibling(); QName qname; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { attr = (AST)_t; match(_t,QNAME); _t = _t.getNextSibling(); qname = QName.parse(context, attr.getText()); break; } case PREFIX_WILDCARD: { AST __t111 = _t; AST tmp15_AST_in = (AST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc2 = (AST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t111; _t = _t.getNextSibling(); qname = new QName(nc2.getText(), null, null); break; } case NCNAME: { AST __t112 = _t; nc3 = _t==ASTNULL ? null :(AST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); AST tmp16_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t112; _t = _t.getNextSibling(); String namespaceURI = context.getURIForPrefix(nc3.getText()); if(namespaceURI == null) throw new EXistException("No namespace defined for prefix " + nc.getText()); qname = new QName(null, namespaceURI, null); break; } default: { throw new NoViableAltException(_t); } } } step = new LocationStep(Constants.ATTRIBUTE_AXIS, new NameTest(Type.ATTRIBUTE, qname)); path.add(step); { _loop114: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep)step); _t = _retTree; } else { break _loop114; } } while (true); } break; } case SELF: { AST tmp17_AST_in = (AST)_t; match(_t,SELF); _t = _t.getNextSibling(); step = new LocationStep(Constants.SELF_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop116: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep)step); _t = _retTree; } else { break _loop116; } } while (true); } break; } case PARENT: { AST tmp18_AST_in = (AST)_t; match(_t,PARENT); _t = _t.getNextSibling(); step = new LocationStep(Constants.PARENT_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop118: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep)step); _t = _retTree; } else { break _loop118; } } while (true); } break; } case SLASH: { AST __t119 = _t; AST tmp19_AST_in = (AST)_t; match(_t,SLASH); _t = _t.getFirstChild(); step=pathExpr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case NCNAME: case STRING_LITERAL: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 51: case 52: case LITERAL_parent: case LITERAL_ancestor: case 55: case 56: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { rightStep=pathExpr(_t,path); _t = _retTree; if(rightStep instanceof LocationStep && ((LocationStep)rightStep).getAxis() == -1) ((LocationStep)rightStep).setAxis(Constants.CHILD_AXIS); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t119; _t = _t.getNextSibling(); if(rightStep instanceof LocationStep && ((LocationStep)rightStep).getAxis() == -1) ((LocationStep)step).setAxis(Constants.CHILD_AXIS); break; } case DSLASH: { AST __t121 = _t; AST tmp20_AST_in = (AST)_t; match(_t,DSLASH); _t = _t.getFirstChild(); step=pathExpr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case NCNAME: case STRING_LITERAL: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 51: case 52: case LITERAL_parent: case LITERAL_ancestor: case 55: case 56: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { rightStep=pathExpr(_t,path); _t = _retTree; if(rightStep instanceof LocationStep) { LocationStep rs = (LocationStep)rightStep; if(rs.getAxis() == Constants.ATTRIBUTE_AXIS) rs.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else rs.setAxis(Constants.DESCENDANT_SELF_AXIS); } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t121; _t = _t.getNextSibling(); if(step instanceof LocationStep) ((LocationStep)step).setAxis(Constants.DESCENDANT_SELF_AXIS); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ad9d55f515de2cb1fa50cf09c9e42150efc8374f/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
589,
4742,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
288,
202,
202,
2300,
2235,
31,
9506,
202,
9053,
589,
4742,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
276,
273,
446,
31,
202,
202,
9053,
277,
273,
446,
31,
202,
202,
9053,
2109,
273,
446,
31,
202,
202,
9053,
1319,
80,
273,
446,
31,
202,
202,
9053,
31054,
273,
446,
31,
202,
202,
9053,
8194,
21,
273,
446,
31,
202,
202,
9053,
8194,
273,
446,
31,
202,
202,
9053,
1604,
273,
446,
31,
202,
202,
9053,
8194,
22,
273,
446,
31,
202,
202,
9053,
8194,
23,
273,
446,
31,
6862,
202,
2300,
2145,
4160,
273,
446,
31,
1082,
202,
4119,
273,
446,
31,
1082,
202,
474,
2654,
273,
5245,
18,
27043,
67,
25614,
31,
25083,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
9469,
67,
23225,
30,
202,
202,
95,
1082,
202,
71,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
5804,
67,
23225,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
6862,
6862,
202,
4119,
273,
394,
14392,
12,
71,
18,
588,
1528,
10663,
25083,
202,
803,
18,
1289,
12,
4119,
1769,
6862,
9506,
202,
8820,
31,
202,
202,
97,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
589,
4742,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
288,
202,
202,
2300,
2235,
31,
9506,
202,
9053,
589,
4742,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
276,
273,
446,
31,
202,
202,
9053,
277,
273,
446,
31,
202,
202,
9053,
2109,
273,
446,
31,
202,
202,
9053,
1319,
80,
273,
446,
31,
202,
202,
9053,
31054,
273,
446,
31,
202,
202,
9053,
8194,
21,
273,
446,
31,
202,
202,
9053,
8194,
273,
446,
31,
202,
202,
9053,
1604,
273,
446,
31,
202,
202,
9053,
8194,
22,
273,
446,
31,
202,
202,
2
] |
iCodeTop = addByte(type == Token.INC ? Token.PROPINC : Token.PROPDEC, iCodeTop); | iCodeTop = addIcode(type == Token.INC ? Icode_PROPINC : Icode_PROPDEC, iCodeTop); | private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case Token.FUNCTION : { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); FunctionNode fn = scriptOrFn.getFunctionNode(fnIndex); if (fn.itsFunctionType != FunctionNode.FUNCTION_STATEMENT) { // Only function expressions or function expression // statements needs closure code creating new function // object on stack as function statements are initialized // at script/function start iCodeTop = addByte(Token.CLOSURE, iCodeTop); iCodeTop = addIndex(fnIndex, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != Token.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNext(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.LABEL : case Token.LOOP : case Token.DEFAULT : case Token.BLOCK : case Token.VOID : case Token.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.WITH : ++itsWithDepth; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsWithDepth; break; case Token.COMMA : iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; iCodeTop = generateICode(child, iCodeTop); } break; case Token.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte(Token.NEWTEMP, iCodeTop); iCodeTop = addByte(theLocalSlot, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; ObjArray cases = (ObjArray) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.get(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addByte(Token.USETEMP, iCodeTop); iCodeTop = addByte(theLocalSlot, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(Token.SHEQ, iCodeTop); itsStackDepth--; Node target = new Node(Token.TARGET); thisCase.addChildAfter(target, first); iCodeTop = addGoto(target, Token.IFEQ, iCodeTop); } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(Token.TARGET); defaultNode.getFirstChild(). addChildToFront(defaultTarget); iCodeTop = addGoto(defaultTarget, Token.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); iCodeTop = addGoto(breakTarget, Token.GOTO, iCodeTop); break; } case Token.TARGET : { markTargetLabel(node, iCodeTop); break; } case Token.EQOP : case Token.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int op = node.getOperation(); if (version == Context.VERSION_1_2) { if (op == Token.EQ) { op = Token.SHEQ; } else if (op == Token.NE) { op = Token.SHNE; } } iCodeTop = addByte(op, iCodeTop); itsStackDepth--; break; } case Token.NEW : case Token.CALL : { int childCount = 0; String functionName = null; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (functionName == null) { int childType = child.getType(); if (childType == Token.NAME || childType == Token.GETPROP) { functionName = lastAddString; } } child = child.getNext(); childCount++; } int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); if (callType != Node.NON_SPECIALCALL) { // embed line number and source filename iCodeTop = addByte(Icode_CALLSPECIAL, iCodeTop); iCodeTop = addByte(callType, iCodeTop); iCodeTop = addByte(type == Token.NEW ? 1 : 0, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); } else { iCodeTop = addByte(type, iCodeTop); iCodeTop = addString(functionName, iCodeTop); } itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == Token.NEW) { childCount -= 1; } else { childCount -= 2; } iCodeTop = addIndex(childCount, iCodeTop); if (childCount > itsData.itsMaxCalleeArgs) itsData.itsMaxCalleeArgs = childCount; break; } case Token.NEWLOCAL : case Token.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); break; } case Token.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) { iCodeTop = addByte(Icode_RETSUB, iCodeTop); } else { iCodeTop = addByte(Token.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); break; } case Token.USETEMP : { iCodeTop = addByte(Token.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.IFEQ : case Token.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case Token.GOTO : { Node target = (Node)(node.getProp(Node.TARGET_PROP)); iCodeTop = addGoto(target, (byte) type, iCodeTop); break; } case Token.JSR : { Node target = (Node)(node.getProp(Node.TARGET_PROP)); iCodeTop = addGoto(target, Icode_GOSUB, iCodeTop); break; } case Token.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFNE, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(falseJumpStart, iCodeTop); break; } case Token.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFEQ, iCodeTop); iCodeTop = addByte(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(trueJumpStart, iCodeTop); break; } case Token.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) { iCodeTop = addByte(Icode_GETPROTO, iCodeTop); } else if (s.equals("__parent__")) { iCodeTop = addByte(Icode_GETSCOPEPARENT, iCodeTop); } else { badTree(node); } } else { child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.GETPROP, iCodeTop); itsStackDepth--; } break; } case Token.DELPROP : case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : case Token.URSH : case Token.ADD : case Token.SUB : case Token.MOD : case Token.DIV : case Token.MUL : case Token.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth--; break; case Token.CONVERT : { iCodeTop = generateICode(child, iCodeTop); Object toType = node.getProp(Node.TYPE_PROP); if (toType == ScriptRuntime.NumberClass) { iCodeTop = addByte(Token.POS, iCodeTop); } else { badTree(node); } break; } case Token.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getOperation()) { case Token.VOID : iCodeTop = addByte(Token.POP, iCodeTop); iCodeTop = addByte(Token.UNDEFINED, iCodeTop); break; case Token.NOT : { int trueJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFEQ, iCodeTop); iCodeTop = addByte(Token.TRUE, iCodeTop); int beyondJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.GOTO, iCodeTop); resolveForwardGoto(trueJumpStart, iCodeTop); iCodeTop = addByte(Token.FALSE, iCodeTop); resolveForwardGoto(beyondJumpStart, iCodeTop); break; } case Token.BITNOT : iCodeTop = addByte(Token.BITNOT, iCodeTop); break; case Token.TYPEOF : iCodeTop = addByte(Token.TYPEOF, iCodeTop); break; case Token.SUB : iCodeTop = addByte(Token.NEG, iCodeTop); break; case Token.ADD : iCodeTop = addByte(Token.POS, iCodeTop); break; default: badTree(node); break; } break; case Token.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) { iCodeTop = addByte(Icode_SETPROTO, iCodeTop); } else if (s.equals("__parent__")) { iCodeTop = addByte(Icode_SETPARENT, iCodeTop); } else { badTree(node); } } else { child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.SETPROP, iCodeTop); itsStackDepth -= 2; } break; } case Token.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth -= 2; break; case Token.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case Token.TYPEOF : { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = scriptOrFn.getParamOrVarIndex(name); if (index == -1) { iCodeTop = addByte(Token.TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addByte(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); iCodeTop = addByte(Token.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Icode_GETPARENT, iCodeTop); break; case Token.GETBASE : case Token.BINDNAME : case Token.NAME : case Token.STRING : iCodeTop = addByte(type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.INC : case Token.DEC : { int childType = child.getType(); switch (childType) { case Token.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addByte(Icode_SCOPE, iCodeTop); iCodeTop = addByte(Token.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(type == Token.INC ? Token.PROPINC : Token.PROPDEC, iCodeTop); itsStackDepth--; } else { int i = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(type == Token.INC ? Token.VARINC : Token.VARDEC, iCodeTop); iCodeTop = addByte(i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.GETPROP : case Token.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNext(); iCodeTop = generateICode(getPropChild, iCodeTop); if (childType == Token.GETPROP) { iCodeTop = addByte(type == Token.INC ? Token.PROPINC : Token.PROPDEC, iCodeTop); } else { iCodeTop = addByte(type == Token.INC ? Token.ELEMINC : Token.ELEMDEC, iCodeTop); } itsStackDepth--; break; } default : { iCodeTop = addByte(type == Token.INC ? Token.NAMEINC : Token.NAMEDEC, iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } } break; } case Token.NUMBER : { double num = node.getDouble(); int inum = (int)num; if (inum == num) { if (inum == 0) { iCodeTop = addByte(Token.ZERO, iCodeTop); } else if (inum == 1) { iCodeTop = addByte(Token.ONE, iCodeTop); } else if ((short)inum == inum) { iCodeTop = addByte(Icode_SHORTNUMBER, iCodeTop); iCodeTop = addShort(inum, iCodeTop); } else { iCodeTop = addByte(Icode_INTNUMBER, iCodeTop); iCodeTop = addInt(inum, iCodeTop); } } else { iCodeTop = addByte(Token.NUMBER, iCodeTop); iCodeTop = addDouble(num, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.POP : case Token.POPV : iCodeTop = updateLineNumber(node, iCodeTop); case Token.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); itsStackDepth--; break; case Token.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(type, iCodeTop); break; case Token.NEWSCOPE : iCodeTop = addByte(type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.LEAVEWITH : iCodeTop = addByte(type, iCodeTop); break; case Token.TRY : { Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); int tryStart = iCodeTop; int tryEnd = -1; int catchStart = -1; int finallyStart = -1; while (child != null) { boolean generated = false; if (child == catchTarget) { if (child.getType() != Token.TARGET) Context.codeBug(); if (tryEnd >= 0) Context.codeBug(); tryEnd = iCodeTop; catchStart = iCodeTop; markTargetLabel(child, iCodeTop); generated = true; // Catch code has exception object on the stack itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } else if (child == finallyTarget) { if (child.getType() != Token.TARGET) Context.codeBug(); if (tryEnd < 0) { tryEnd = iCodeTop; } finallyStart = iCodeTop; markTargetLabel(child, iCodeTop); generated = true; // Adjust stack for finally code: on the top of the // stack it has either a PC value when called from // GOSUB or exception object to rethrow when called // from exception handler itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) { itsData.itsMaxStack = itsStackDepth; } } if (!generated) { iCodeTop = generateICode(child, iCodeTop); } child = child.getNext(); } itsStackDepth = 0; // [tryStart, tryEnd) contains GOSUB to call finally when it // presents at the end of try code and before return, break // continue that transfer control outside try. // After finally is executed the control will be // transfered back into [tryStart, tryEnd) and exception // handling assumes that the only code executed after // finally returns will be a jump outside try which could not // trigger exceptions. // It does not hold if instruction observer throws during // goto. Currently it may lead to double execution of finally. addExceptionHandler(tryStart, tryEnd, catchStart, finallyStart, itsWithDepth); break; } case Token.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.THROW, iCodeTop); itsStackDepth--; break; case Token.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.RETURN, iCodeTop); itsStackDepth--; } else { iCodeTop = addByte(Icode_RETUNDEF, iCodeTop); } break; case Token.GETVAR : { String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addByte(Icode_SCOPE, iCodeTop); iCodeTop = addByte(Token.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte(Token.GETPROP, iCodeTop); itsStackDepth--; } else { int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(Token.BINDNAME); node.setType(Token.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addByte(Token.SETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); } break; } case Token.PRIMARY: iCodeTop = addByte(node.getOperation(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte(Token.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case Token.ENUMNEXT : { iCodeTop = addByte(Token.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.ENUMDONE : // could release the local here?? break; case Token.REGEXP : { int index = node.getExistingIntProp(Node.REGEXP_PROP); iCodeTop = addByte(Token.REGEXP, iCodeTop); iCodeTop = addIndex(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } default : badTree(node); break; } return iCodeTop; } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/e7e3848925d289272caa163d4d470f03f2eebac5/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
2029,
15070,
273,
1151,
31,
3639,
1620,
261,
723,
13,
288,
5411,
648,
3155,
18,
7788,
294,
288,
7734,
509,
2295,
1016,
273,
756,
18,
588,
9895,
1702,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
7734,
4284,
907,
2295,
273,
2728,
1162,
5372,
18,
588,
2083,
907,
12,
4293,
1016,
1769,
7734,
309,
261,
4293,
18,
1282,
2083,
559,
480,
4284,
907,
18,
7788,
67,
28411,
13,
288,
10792,
368,
5098,
445,
8041,
578,
445,
2652,
10792,
368,
6317,
4260,
7213,
981,
4979,
394,
445,
10792,
368,
733,
603,
2110,
487,
445,
6317,
854,
6454,
10792,
368,
622,
2728,
19,
915,
787,
10792,
277,
1085,
3401,
273,
527,
3216,
12,
1345,
18,
22693,
55,
4830,
16,
277,
1085,
3401,
1769,
10792,
277,
1085,
3401,
273,
26794,
12,
4293,
1016,
16,
277,
1085,
3401,
1769,
10792,
2097,
2624,
6148,
9904,
31,
10792,
309,
261,
1282,
2624,
6148,
405,
2097,
751,
18,
1282,
2747,
2624,
13,
13491,
2097,
751,
18,
1282,
2747,
2624,
273,
2097,
2624,
6148,
31,
7734,
289,
7734,
898,
31,
5411,
289,
5411,
648,
3155,
18,
10885,
294,
7734,
277,
1085,
3401,
273,
1089,
31063,
12,
2159,
16,
277,
1085,
3401,
1769,
7734,
1323,
261,
3624,
480,
446,
13,
288,
10792,
309,
261,
3624,
18,
588,
559,
1435,
480,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
2029,
15070,
273,
1151,
31,
3639,
1620,
261,
723,
13,
288,
5411,
648,
3155,
18,
7788,
294,
288,
7734,
509,
2295,
1016,
273,
756,
18,
588,
9895,
1702,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
7734,
4284,
907,
2295,
273,
2728,
1162,
5372,
18,
588,
2083,
907,
12,
4293,
1016,
1769,
7734,
309,
261,
4293,
18,
1282,
2083,
559,
480,
4284,
907,
18,
7788,
67,
28411,
13,
288,
10792,
368,
5098,
445,
8041,
578,
445,
2652,
10792,
368,
6317,
4260,
7213,
981,
2
] |
assertEquals(null, getDbc().getValidationError().getValue()); | assertTrue(((IStatus)getDbc().getValidationStatus().getValue()).isOK()); | public void testScenario08() { // Binding the price property of an Adventure to a Text control but with // custom conversion � the double will be validated to only have two // decimal places and displayed with a leading currency symbol, and can // be entered with or without the currency symbol. Text text = new Text(getComposite(), SWT.BORDER); adventure.setPrice(5.0); final String cannotBeNegativeMessage = "Price cannot be negative."; final String mustBeCurrencyMessage = "Price must be a currency."; final NumberFormat currencyFormat = NumberFormat.getCurrencyInstance(Locale.CANADA); IConverter toCurrency = new Converter(double.class, String.class) { public Object convert(Object toObject) { return currencyFormat.format(((Double) toObject).doubleValue()); } }; IConverter toDouble = new Converter(String.class, double.class) { public Object convert(Object fromObject) { try { return currencyFormat.parse((String) fromObject); } catch (ParseException e) { // TODO throw something like // IllegalConversionException? return new Double(0); } } }; IValidator validator = new IValidator() { public ValidationError isPartiallyValid(Object value) { return null; } public ValidationError isValid(Object value) { String stringValue = (String) value; try { double doubleValue = currencyFormat.parse(stringValue).doubleValue(); if (doubleValue < 0.0) { return ValidationError.error(cannotBeNegativeMessage); } return null; } catch (ParseException e) { return ValidationError.error(mustBeCurrencyMessage); } } }; BindSpec bindSpec = new BindSpec().setModelToTargetConverter(toCurrency) .setTargetToModelConverter(toDouble) .setValidator(validator); getDbc().bindValue(SWTObservables.observeText(text, SWT.Modify), BeansObservables.observeValue(adventure, "price"), bindSpec); assertEquals("$5.00", text.getText()); assertEquals(null, getDbc().getValidationError().getValue()); enterText(text, "$0.65"); assertEquals(null, getDbc().getValidationError().getValue()); assertEquals(0.65, adventure.getPrice(), 0.0001); adventure.setPrice(42.24); assertEquals("$42.24", text.getText()); assertEquals(null, getDbc().getValidationError().getValue()); enterText(text, "jygt"); assertEquals(mustBeCurrencyMessage, ((ValidationError) getDbc().getValidationError().getValue()).message); enterText(text, "-$23.9"); assertEquals(cannotBeNegativeMessage, ((ValidationError) getDbc().getValidationError().getValue()).message); assertEquals(42.24, adventure.getPrice(), 0.0001); adventure.setPrice(0.0); assertEquals(null, getDbc().getValidationError().getValue()); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/646de6c1228ca0820a97e225df84d75e3993e272/PropertyScenarios.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/PropertyScenarios.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
21390,
6840,
1435,
288,
3639,
368,
15689,
326,
6205,
1272,
434,
392,
4052,
616,
594,
358,
279,
3867,
3325,
1496,
598,
3639,
368,
1679,
4105,
225,
176,
128,
126,
326,
1645,
903,
506,
10266,
358,
1338,
1240,
2795,
3639,
368,
6970,
12576,
471,
10453,
598,
279,
7676,
5462,
3273,
16,
471,
848,
3639,
368,
506,
16219,
598,
578,
2887,
326,
5462,
3273,
18,
3639,
3867,
977,
273,
394,
3867,
12,
588,
9400,
9334,
348,
8588,
18,
38,
7954,
1769,
3639,
1261,
616,
594,
18,
542,
5147,
12,
25,
18,
20,
1769,
3639,
727,
514,
2780,
1919,
14959,
1079,
273,
315,
5147,
2780,
506,
6092,
1199,
31,
3639,
727,
514,
1297,
1919,
7623,
1079,
273,
315,
5147,
1297,
506,
279,
5462,
1199,
31,
3639,
727,
29587,
5462,
1630,
273,
29587,
18,
588,
7623,
1442,
12,
3916,
18,
39,
1258,
1880,
37,
1769,
3639,
467,
5072,
358,
7623,
273,
394,
14768,
12,
9056,
18,
1106,
16,
514,
18,
1106,
13,
288,
5411,
1071,
1033,
1765,
12,
921,
24216,
13,
288,
7734,
327,
5462,
1630,
18,
2139,
12443,
12,
5265,
13,
24216,
2934,
9056,
620,
10663,
5411,
289,
3639,
289,
31,
3639,
467,
5072,
358,
5265,
273,
394,
14768,
12,
780,
18,
1106,
16,
1645,
18,
1106,
13,
288,
5411,
1071,
1033,
1765,
12,
921,
628,
921,
13,
288,
7734,
775,
288,
10792,
327,
5462,
1630,
18,
2670,
12443,
780,
13,
628,
921,
1769,
7734,
289,
1044,
261,
13047,
425,
13,
288,
10792,
368,
2660,
604,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
21390,
6840,
1435,
288,
3639,
368,
15689,
326,
6205,
1272,
434,
392,
4052,
616,
594,
358,
279,
3867,
3325,
1496,
598,
3639,
368,
1679,
4105,
225,
176,
128,
126,
326,
1645,
903,
506,
10266,
358,
1338,
1240,
2795,
3639,
368,
6970,
12576,
471,
10453,
598,
279,
7676,
5462,
3273,
16,
471,
848,
3639,
368,
506,
16219,
598,
578,
2887,
326,
5462,
3273,
18,
3639,
3867,
977,
273,
394,
3867,
12,
588,
9400,
9334,
348,
8588,
18,
38,
7954,
1769,
3639,
1261,
616,
594,
18,
542,
5147,
12,
25,
18,
20,
1769,
3639,
727,
514,
2780,
1919,
14959,
1079,
273,
315,
5147,
2780,
506,
6092,
1199,
31,
3639,
727,
514,
1297,
1919,
7623,
1079,
273,
315,
2
] |
assertEquals("1", eval("p $h.size")); assertEquals("1", eval("p $h.length")); assertEquals("false", eval("p $h.empty?")); assertEquals("true", eval("p Hash.new().empty?")); | assertEquals("1", eval("p $h.size")); assertEquals("1", eval("p $h.length")); assertEquals("false", eval("p $h.empty?")); assertEquals("true", eval("p Hash.new().empty?")); | public void testSizeRelated() { assertEquals("1", eval("p $h.size")); assertEquals("1", eval("p $h.length")); assertEquals("false", eval("p $h.empty?")); assertEquals("true", eval("p Hash.new().empty?")); } | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/2f13ba47385b7584839c7f6f6f1abfee251cbe53/TestRubyHash.java/buggy/org/jruby/test/TestRubyHash.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1225,
8017,
1435,
288,
202,
11231,
8867,
2932,
21,
3113,
5302,
2932,
84,
271,
76,
18,
1467,
7923,
1769,
202,
11231,
8867,
2932,
21,
3113,
5302,
2932,
84,
271,
76,
18,
2469,
7923,
1769,
202,
11231,
8867,
2932,
5743,
3113,
5302,
2932,
84,
271,
76,
18,
5531,
7225,
10019,
202,
11231,
8867,
2932,
3767,
3113,
5302,
2932,
84,
2474,
18,
2704,
7675,
5531,
7225,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1225,
8017,
1435,
288,
202,
11231,
8867,
2932,
21,
3113,
5302,
2932,
84,
271,
76,
18,
1467,
7923,
1769,
202,
11231,
8867,
2932,
21,
3113,
5302,
2932,
84,
271,
76,
18,
2469,
7923,
1769,
202,
11231,
8867,
2932,
5743,
3113,
5302,
2932,
84,
271,
76,
18,
5531,
7225,
10019,
202,
11231,
8867,
2932,
3767,
3113,
5302,
2932,
84,
2474,
18,
2704,
7675,
5531,
7225,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
Subsets and Splits