rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
if (target != null && weaponId != -1) { | if (target != null && weaponId != -1 && ce() != null && !ce().usedTag()) { | protected void updateTarget() { setFireEnabled(false); // make sure we're showing the current entity in the mech display if (ce() != null && !ce().equals(clientgui.mechD.getCurrentEntity())) { clientgui.mechD.displayEntity(ce()); } // update target panel final int weaponId = clientgui.mechD.wPan.getSelectedWeaponNum(); if (target != null && weaponId != -1) { ToHitData toHit; if (ash.inAimingMode()) { Mounted weapon = (Mounted) ce().getEquipment(weaponId); boolean aiming = ash.isAimingAtLocation() && ash.allowAimedShotWith(weapon); ash.setEnableAll(aiming); if (aiming) { toHit = WeaponAttackAction.toHit(client.game, cen, target, weaponId, ash.getAimingAt(), ash.getAimingMode()); clientgui.mechD.wPan.wTargetR.setText(target.getDisplayName() + " (" + ash.getAimingLocation() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ } else { toHit = WeaponAttackAction.toHit(client.game, cen, target, weaponId, Mech.LOC_NONE, IAimingModes.AIM_MODE_NONE); clientgui.mechD.wPan.wTargetR.setText(target.getDisplayName()); } ash.setPartialCover(toHit.getCover()); } else { toHit = WeaponAttackAction.toHit(client.game, cen, target, weaponId, Mech.LOC_NONE, IAimingModes.AIM_MODE_NONE); clientgui.mechD.wPan.wTargetR.setText(target.getDisplayName()); } clientgui.mechD.wPan.wRangeR.setText("" + ce().getPosition().distance(target.getPosition())); //$NON-NLS-1$ Mounted m = ce().getEquipment(weaponId); if (m.isUsedThisRound()) { clientgui.mechD.wPan.wToHitR.setText(Messages.getString("FiringDisplay.alreadyFired")); //$NON-NLS-1$ setFireEnabled(false); } else if (m.getType().hasFlag(WeaponType.F_AUTO_TARGET)) { clientgui.mechD.wPan.wToHitR.setText(Messages.getString("FiringDisplay.autoFiringWeapon")); //$NON-NLS-1$ setFireEnabled(false); } else if (toHit.getValue() == ToHitData.IMPOSSIBLE) { clientgui.mechD.wPan.wToHitR.setText(toHit.getValueAsString()); setFireEnabled(false); } else if (toHit.getValue() == ToHitData.AUTOMATIC_FAIL) { clientgui.mechD.wPan.wToHitR.setText(toHit.getValueAsString()); setFireEnabled(true); } else { clientgui.mechD.wPan.wToHitR.setText(toHit.getValueAsString() + " (" + Compute.oddsAbove(toHit.getValue()) + "%)"); //$NON-NLS-1$ //$NON-NLS-2$ setFireEnabled(true); } clientgui.mechD.wPan.toHitText.setText(toHit.getDesc()); setSkipEnabled(true); } else { clientgui.mechD.wPan.wTargetR.setText("---"); //$NON-NLS-1$ clientgui.mechD.wPan.wRangeR.setText("---"); //$NON-NLS-1$ clientgui.mechD.wPan.wToHitR.setText("---"); //$NON-NLS-1$ clientgui.mechD.wPan.toHitText.setText(""); //$NON-NLS-1$ } } | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/12e49099bfb7c3fa59ef4230398e5f125312be47/FiringDisplay.java/buggy/megamek/src/megamek/client/ui/AWT/FiringDisplay.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1089,
2326,
1435,
288,
3639,
444,
9723,
1526,
12,
5743,
1769,
7734,
368,
1221,
3071,
732,
4565,
17253,
326,
783,
1522,
316,
326,
1791,
343,
2562,
3639,
309,
261,
311,
1435,
480,
446,
597,
401,
311,
7675,
14963,
12,
2625,
20292,
18,
3501,
343,
40,
18,
588,
3935,
1943,
1435,
3719,
288,
5411,
1004,
20292,
18,
3501,
343,
40,
18,
5417,
1943,
12,
311,
10663,
3639,
289,
7734,
368,
1089,
1018,
6594,
3639,
727,
509,
732,
28629,
548,
273,
1004,
20292,
18,
3501,
343,
40,
18,
91,
4069,
18,
588,
7416,
3218,
28629,
2578,
5621,
3639,
309,
261,
3299,
480,
446,
597,
732,
28629,
548,
480,
300,
21,
597,
5898,
1435,
480,
446,
597,
401,
311,
7675,
3668,
1805,
10756,
288,
5411,
2974,
13616,
751,
358,
13616,
31,
5411,
309,
261,
961,
18,
267,
37,
381,
19154,
10756,
288,
5411,
13076,
329,
732,
28629,
273,
261,
8725,
329,
13,
5898,
7675,
588,
13142,
11568,
12,
1814,
28629,
548,
1769,
2868,
1250,
279,
381,
310,
273,
487,
76,
18,
291,
37,
381,
310,
861,
2735,
1435,
597,
15604,
487,
76,
18,
5965,
37,
381,
329,
1555,
352,
1190,
12,
1814,
28629,
1769,
2868,
487,
76,
18,
542,
8317,
1595,
12,
4581,
310,
1769,
2868,
309,
261,
4581,
310,
13,
288,
7734,
358,
13616,
273,
1660,
28629,
3075,
484,
1803,
18,
869,
13616,
12,
2625,
18,
13957,
16,
276,
275,
16,
1018,
16,
732,
28629,
548,
16,
487,
76,
18,
588,
37,
381,
310,
861,
9334,
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,
1089,
2326,
1435,
288,
3639,
444,
9723,
1526,
12,
5743,
1769,
7734,
368,
1221,
3071,
732,
4565,
17253,
326,
783,
1522,
316,
326,
1791,
343,
2562,
3639,
309,
261,
311,
1435,
480,
446,
597,
401,
311,
7675,
14963,
12,
2625,
20292,
18,
3501,
343,
40,
18,
588,
3935,
1943,
1435,
3719,
288,
5411,
1004,
20292,
18,
3501,
343,
40,
18,
5417,
1943,
12,
311,
10663,
3639,
289,
7734,
368,
1089,
1018,
6594,
3639,
727,
509,
732,
28629,
548,
273,
1004,
20292,
18,
3501,
343,
40,
18,
91,
4069,
18,
588,
7416,
3218,
28629,
2578,
5621,
3639,
309,
261,
3299,
480,
446,
597,
732,
28629,
548,
480,
300,
21,
597,
5898,
1435,
480,
446,
597,
401,
311,
2
] |
RubyTime newTime = new RubyTime(runtime, getMetaClass()); | RubyTime newTime = new RubyTime(getRuntime(), getMetaClass()); | public IRubyObject op_minus(IRubyObject other) { long time = getTimeInMillis(); if (other instanceof RubyTime) { time -= ((RubyTime) other).getTimeInMillis(); return RubyFloat.newFloat(runtime, time * 10e-4); } time -= ((RubyNumeric) other).getDoubleValue() * 1000; RubyTime newTime = new RubyTime(runtime, getMetaClass()); newTime.cal = Calendar.getInstance(); newTime.cal.setTime(new Date(time)); return newTime; } | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyTime.java/buggy/src/org/jruby/RubyTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1061,
67,
19601,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
1525,
813,
273,
6135,
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,
9448,
16,
813,
380,
1728,
73,
17,
24,
1769,
3639,
289,
202,
202,
957,
3947,
14015,
54,
10340,
9902,
13,
1308,
2934,
588,
5265,
620,
1435,
380,
4336,
31,
202,
202,
54,
10340,
950,
394,
950,
273,
394,
19817,
950,
12,
9448,
16,
11312,
797,
10663,
202,
202,
2704,
950,
18,
771,
273,
5542,
18,
588,
1442,
5621,
202,
202,
2704,
950,
18,
771,
18,
542,
950,
12,
2704,
2167,
12,
957,
10019,
202,
202,
2463,
394,
950,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
1061,
67,
19601,
12,
7937,
10340,
921,
1308,
13,
288,
3639,
1525,
813,
273,
6135,
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,
9448,
16,
813,
380,
1728,
73,
17,
24,
1769,
3639,
289,
202,
202,
957,
3947,
14015,
54,
10340,
9902,
13,
1308,
2934,
588,
5265,
620,
1435,
380,
4336,
31,
202,
202,
54,
10340,
950,
394,
950,
273,
394,
19817,
950,
12,
9448,
16,
11312,
797,
10663,
202,
202,
2704,
950,
18,
771,
273,
5542,
18,
588,
1442,
5621,
202,
202,
2704,
950,
18,
771,
18,
542,
2
] |
ToolConfiguration fromSynTool = fromSite.getToolForCommonId("sakai.synoptic.chat"); Properties fromSynProp = fromSynTool.getPlacementConfig(); ToolConfiguration toSynTool = toSite.getToolForCommonId("sakai.synoptic.chat"); Properties toSynProp = toSynTool.getPlacementConfig(); if (fromSynProp != null && !fromSynProp.isEmpty()) { Set synPropSet = fromSynProp.keySet(); Iterator propIter = synPropSet.iterator(); while (propIter.hasNext()) { String propName = ((String)propIter.next()); String propValue = fromSynProp.getProperty(propName); if (propValue != null && propValue.length() > 0) { if (propName.equals(CHANNEL_PROP)) { int index = propValue.lastIndexOf(Entity.SEPARATOR); propValue = propValue.substring(index + 1); if (propValue != null && propValue.length() > 0) { String channelRef = channelReference(toContext, propValue); toSynProp.setProperty(propName, channelRef.toString()); } } else { toSynProp.setProperty(propName, propValue); } } } SiteService.save(toSite); } | transferSynopticOptions(fromContext, toContext); | public void transferCopyEntities(String fromContext, String toContext, List ids) { try { // get the "from" site's user-set options Site fromSite = SiteService.getSite(fromContext); ToolConfiguration fromTool = fromSite.getToolForCommonId("sakai.chat"); Properties fromProp = fromTool.getPlacementConfig(); Site toSite = SiteService.getSite(toContext); ToolConfiguration tool = toSite.getToolForCommonId("sakai.chat"); if (fromProp != null && !fromProp.isEmpty()) { String preferredChannel = fromProp.getProperty(CHANNEL_PROP); String filterType = fromProp.getProperty(FILTER_TYPE_PROP); String filterParam = fromProp.getProperty(FILTER_PARAM_PROP); //set these properties in the "to" site Properties toProp = tool.getPlacementConfig(); if (preferredChannel != null) { int index = preferredChannel.lastIndexOf(Entity.SEPARATOR) + 1; preferredChannel = preferredChannel.substring(index); if (preferredChannel != null && preferredChannel.length() > 0) { String channelRef = channelReference(toContext, preferredChannel); toProp.setProperty(CHANNEL_PROP, channelRef); } } if (filterType != null && filterType.length() > 0) { toProp.setProperty(FILTER_TYPE_PROP, filterType); } if (filterParam != null) { toProp.setProperty(FILTER_PARAM_PROP, filterParam); } SiteService.save(toSite); } // retrieve all of the chat rooms List oChannelIdList = getChannelIds(fromContext); if (oChannelIdList != null && !oChannelIdList.isEmpty()) { Iterator idIterator = oChannelIdList.iterator(); while (idIterator.hasNext()) { String oChannelId = (String)idIterator.next(); ChatChannel nChannel = null; String nChannelRef = channelReference(toContext, oChannelId); try { nChannel = (ChatChannel) getChannel(nChannelRef); } catch (IdUnusedException e) { try { commitChannel(addChatChannel(nChannelRef)); try { nChannel = (ChatChannel) getChannel(nChannelRef); } catch (IdUnusedException eee) { M_log.warn("IdUnusedException while getting channel with reference " + nChannelRef + ": " + eee); } } catch (Exception ee) { M_log.warn("Exception while committing channel with reference " + nChannelRef + ": " + ee); } } } } // transfer the synoptic tool options ToolConfiguration fromSynTool = fromSite.getToolForCommonId("sakai.synoptic.chat"); Properties fromSynProp = fromSynTool.getPlacementConfig(); ToolConfiguration toSynTool = toSite.getToolForCommonId("sakai.synoptic.chat"); Properties toSynProp = toSynTool.getPlacementConfig(); if (fromSynProp != null && !fromSynProp.isEmpty()) { Set synPropSet = fromSynProp.keySet(); Iterator propIter = synPropSet.iterator(); while (propIter.hasNext()) { String propName = ((String)propIter.next()); String propValue = fromSynProp.getProperty(propName); if (propValue != null && propValue.length() > 0) { if (propName.equals(CHANNEL_PROP)) { int index = propValue.lastIndexOf(Entity.SEPARATOR); propValue = propValue.substring(index + 1); if (propValue != null && propValue.length() > 0) { String channelRef = channelReference(toContext, propValue); toSynProp.setProperty(propName, channelRef.toString()); } } else { toSynProp.setProperty(propName, propValue); } } } SiteService.save(toSite); } scheduleTopRefresh(); } catch (Exception any) { M_log.warn(".transferCopyEntities(): exception in handling " + serviceName() + " : ", any); } } | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/267b16f4aa399b299107fcfdbaecd1441838c22f/BaseChatService.java/clean/chat/chat-impl/impl/src/java/org/sakaiproject/chat/impl/BaseChatService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7412,
2951,
8108,
12,
780,
628,
1042,
16,
514,
358,
1042,
16,
987,
3258,
13,
225,
202,
95,
202,
202,
698,
202,
202,
95,
6862,
1082,
202,
759,
336,
326,
315,
2080,
6,
2834,
1807,
729,
17,
542,
702,
1082,
202,
4956,
628,
4956,
273,
9063,
1179,
18,
588,
4956,
12,
2080,
1042,
1769,
1082,
202,
6364,
1750,
628,
6364,
273,
628,
4956,
18,
588,
6364,
1290,
6517,
548,
2932,
87,
581,
10658,
18,
10880,
8863,
1082,
202,
2297,
628,
4658,
273,
628,
6364,
18,
588,
12420,
809,
5621,
25083,
202,
4956,
358,
4956,
273,
9063,
1179,
18,
588,
4956,
12,
869,
1042,
1769,
1082,
202,
6364,
1750,
5226,
273,
358,
4956,
18,
588,
6364,
1290,
6517,
548,
2932,
87,
581,
10658,
18,
10880,
8863,
1082,
202,
430,
261,
2080,
4658,
480,
446,
597,
401,
2080,
4658,
18,
291,
1921,
10756,
1875,
202,
95,
9506,
202,
780,
9119,
2909,
273,
628,
4658,
18,
588,
1396,
12,
15814,
67,
15811,
1769,
9506,
202,
780,
1034,
559,
273,
628,
4658,
18,
588,
1396,
12,
11126,
67,
2399,
67,
15811,
1769,
9506,
202,
780,
1034,
786,
273,
628,
4658,
18,
588,
1396,
12,
11126,
67,
8388,
67,
15811,
1769,
6862,
9506,
202,
759,
542,
4259,
1790,
316,
326,
315,
869,
6,
2834,
9506,
202,
2297,
358,
4658,
273,
5226,
18,
588,
12420,
809,
5621,
9506,
202,
430,
261,
23616,
2909,
480,
446,
13,
4697,
202,
95,
6862,
202,
474,
770,
273,
9119,
2909,
18,
2722,
31985,
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,
7412,
2951,
8108,
12,
780,
628,
1042,
16,
514,
358,
1042,
16,
987,
3258,
13,
225,
202,
95,
202,
202,
698,
202,
202,
95,
6862,
1082,
202,
759,
336,
326,
315,
2080,
6,
2834,
1807,
729,
17,
542,
702,
1082,
202,
4956,
628,
4956,
273,
9063,
1179,
18,
588,
4956,
12,
2080,
1042,
1769,
1082,
202,
6364,
1750,
628,
6364,
273,
628,
4956,
18,
588,
6364,
1290,
6517,
548,
2932,
87,
581,
10658,
18,
10880,
8863,
1082,
202,
2297,
628,
4658,
273,
628,
6364,
18,
588,
12420,
809,
5621,
25083,
202,
4956,
358,
4956,
273,
9063,
1179,
18,
588,
4956,
12,
869,
1042,
1769,
1082,
202,
6364,
1750,
5226,
273,
358,
4956,
18,
588,
6364,
2
] |
a.drawAxis(g); a.set_drawgrid (false); a.set_drawzero (false); | axis.draw(g); axis.set_drawgrid (false); axis.set_drawzero (false); | protected Rectangle drawAxis(Graphics g, Rectangle r) { Axis a; int waxis; Rectangle dr; int x; int y; int width; int height; if(square) r = ForceSquare(g,r); dr = getDataRectangle(g,r); x = dr.x; y = dr.y; width = dr.width; height = dr.height; if(clearAll ) { Color c = g.getColor(); g.setColor(DataBackground); g.fillRect(x,y,width,height); g.setColor(c); } // Draw a frame around the data area (If requested) if(frame) drawFrame(g,x,y,width,height); // Now draw the axis in the order specified aligning them // with the final data area. for (int i=0; i<axis.size(); i++) { a = ((Axis)axis.get(i)); a.set_data_window(new Dimension(width,height)); switch (a.getAxisPos()) { case Axis.LEFT: r.x += a.width(); r.width -= a.width(); a.positionAxis(r.x,r.x,y,y+height); if(r.x == x ) { a.set_gridcolor(gridcolor); a.set_drawgrid (drawgrid); a.set_zerocolor(zerocolor); a.set_drawzero (drawzero); } a.drawAxis(g); a.set_drawgrid (false); a.set_drawzero (false); break; case Axis.RIGHT: r.width -= a.width(); a.positionAxis(r.x+r.width,r.x+r.width,y,y+height); if(r.x+r.width == x+width ) { a.set_gridcolor(gridcolor); a.set_drawgrid (drawgrid); a.set_zerocolor(zerocolor); a.set_drawzero (drawzero); } a.drawAxis(g); a.set_drawgrid (false); a.set_drawzero (false); break; case Axis.TOP: r.y += a.width(); r.height -= a.width(); a.positionAxis(x,x+width,r.y,r.y); if(r.y == y) { a.set_gridcolor(gridcolor); a.set_drawgrid (drawgrid); a.set_zerocolor(zerocolor); a.set_drawzero (drawzero); } a.drawAxis(g); a.set_drawgrid (false); a.set_drawzero (false); break; case Axis.BOTTOM: r.height -= a.width(); a.positionAxis(x,x+width,r.y+r.height,r.y+r.height); if(r.y +r.height == y+height ) { a.set_gridcolor(gridcolor); a.set_drawgrid (drawgrid); a.set_zerocolor(zerocolor); a.set_drawzero (drawzero); } a.drawAxis(g); a.set_drawgrid (false); a.set_drawzero (false); break; } } return r; } | 13245 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13245/37f8cebca3b3404864c466e7456eb7a6bbd1debe/Graph.java/clean/src/clients/graph/Graph.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
13264,
3724,
6558,
12,
17558,
314,
16,
13264,
436,
13,
288,
202,
202,
6558,
279,
31,
202,
202,
474,
341,
4890,
31,
202,
202,
19463,
5081,
31,
202,
202,
474,
619,
31,
202,
202,
474,
677,
31,
202,
202,
474,
1835,
31,
202,
202,
474,
2072,
31,
202,
202,
430,
12,
19719,
13,
436,
273,
11889,
22255,
12,
75,
16,
86,
1769,
202,
202,
3069,
273,
4303,
19463,
12,
75,
16,
86,
1769,
202,
202,
92,
1377,
273,
5081,
18,
92,
31,
202,
202,
93,
1377,
273,
5081,
18,
93,
31,
202,
202,
2819,
225,
273,
5081,
18,
2819,
31,
202,
202,
4210,
273,
5081,
18,
4210,
31,
202,
202,
430,
12,
8507,
1595,
262,
288,
1082,
202,
2957,
276,
273,
314,
18,
588,
2957,
5621,
1082,
202,
75,
18,
542,
2957,
12,
751,
8199,
1769,
1082,
202,
75,
18,
5935,
6120,
12,
92,
16,
93,
16,
2819,
16,
4210,
1769,
1082,
202,
75,
18,
542,
2957,
12,
71,
1769,
202,
202,
97,
202,
202,
759,
10184,
279,
2623,
6740,
326,
501,
5091,
261,
2047,
3764,
13,
202,
202,
430,
12,
3789,
13,
3724,
3219,
12,
75,
16,
92,
16,
93,
16,
2819,
16,
4210,
1769,
202,
202,
759,
4494,
3724,
326,
2654,
316,
326,
1353,
1269,
5689,
310,
2182,
202,
202,
759,
598,
326,
727,
501,
5091,
18,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
32,
4890,
18,
1467,
5621,
277,
27245,
288,
1082,
202,
69,
273,
14015,
6558,
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,
225,
202,
1117,
13264,
3724,
6558,
12,
17558,
314,
16,
13264,
436,
13,
288,
202,
202,
6558,
279,
31,
202,
202,
474,
341,
4890,
31,
202,
202,
19463,
5081,
31,
202,
202,
474,
619,
31,
202,
202,
474,
677,
31,
202,
202,
474,
1835,
31,
202,
202,
474,
2072,
31,
202,
202,
430,
12,
19719,
13,
436,
273,
11889,
22255,
12,
75,
16,
86,
1769,
202,
202,
3069,
273,
4303,
19463,
12,
75,
16,
86,
1769,
202,
202,
92,
1377,
273,
5081,
18,
92,
31,
202,
202,
93,
1377,
273,
5081,
18,
93,
31,
202,
202,
2819,
225,
273,
5081,
18,
2819,
31,
202,
202,
4210,
273,
5081,
18,
4210,
31,
202,
202,
430,
12,
8507,
1595,
262,
288,
2
] |
while (pat.search(this, start) != -1) { | while (pattern.search(this, start) != -1) { | public IRubyObject scan(IRubyObject arg) { RubyRegexp pat = RubyRegexp.regexpValue(arg); int start = 0; if (!getRuntime().getCurrentContext().isBlockGiven()) { RubyArray ary = getRuntime().newArray(); while (pat.search(this, start) != -1) { RubyMatchData md = (RubyMatchData) getRuntime().getCurrentContext().getBackref(); if (md.getSize() == 1) { ary.append(md.group(0)); } else { ary.append(md.subseq(1, md.getSize())); } if (md.matchEndPosition() == md.matchStartPosition()) { start++; } else { start = md.matchEndPosition(); } } return ary; } while (pat.search(this, start) != -1) { RubyMatchData md = (RubyMatchData) getRuntime().getCurrentContext().getBackref(); if (md.getSize() == 1) { getRuntime().getCurrentContext().yield(md.group(0)); } else { getRuntime().getCurrentContext().yield(md.subseq(1, md.getSize())); } if (md.matchEndPosition() == md.matchStartPosition()) { start++; } else { start = md.matchEndPosition(); } } return this; } | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/buggy/src/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
4135,
12,
7937,
10340,
921,
1501,
13,
288,
202,
202,
54,
10340,
14621,
9670,
273,
19817,
14621,
18,
17745,
620,
12,
3175,
1769,
202,
202,
474,
787,
273,
374,
31,
202,
202,
430,
16051,
588,
5576,
7675,
588,
3935,
1042,
7675,
291,
1768,
6083,
10756,
288,
1082,
202,
54,
10340,
1076,
11841,
273,
18814,
7675,
2704,
1076,
5621,
1082,
202,
17523,
261,
16330,
18,
3072,
12,
2211,
16,
787,
13,
480,
300,
21,
13,
288,
9506,
202,
54,
10340,
2060,
751,
3481,
273,
261,
54,
10340,
2060,
751,
13,
18814,
7675,
588,
3935,
1042,
7675,
588,
2711,
1734,
5621,
9506,
202,
430,
261,
1264,
18,
588,
1225,
1435,
422,
404,
13,
288,
6862,
202,
814,
18,
6923,
12,
1264,
18,
1655,
12,
20,
10019,
9506,
202,
97,
469,
288,
6862,
202,
814,
18,
6923,
12,
1264,
18,
1717,
5436,
12,
21,
16,
3481,
18,
588,
1225,
1435,
10019,
9506,
202,
97,
9506,
202,
430,
261,
1264,
18,
1916,
30037,
1435,
422,
3481,
18,
1916,
23785,
10756,
288,
6862,
202,
1937,
9904,
31,
9506,
202,
97,
469,
288,
6862,
202,
1937,
273,
3481,
18,
1916,
30037,
5621,
9506,
202,
97,
1082,
202,
97,
1082,
202,
2463,
11841,
31,
202,
202,
97,
202,
202,
17523,
261,
16330,
18,
3072,
12,
2211,
16,
787,
13,
480,
300,
21,
13,
288,
1082,
202,
54,
10340,
2060,
751,
3481,
273,
261,
54,
10340,
2060,
751,
13,
18814,
7675,
588,
3935,
1042,
7675,
588,
2711,
1734,
5621,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
4135,
12,
7937,
10340,
921,
1501,
13,
288,
202,
202,
54,
10340,
14621,
9670,
273,
19817,
14621,
18,
17745,
620,
12,
3175,
1769,
202,
202,
474,
787,
273,
374,
31,
202,
202,
430,
16051,
588,
5576,
7675,
588,
3935,
1042,
7675,
291,
1768,
6083,
10756,
288,
1082,
202,
54,
10340,
1076,
11841,
273,
18814,
7675,
2704,
1076,
5621,
1082,
202,
17523,
261,
16330,
18,
3072,
12,
2211,
16,
787,
13,
480,
300,
21,
13,
288,
9506,
202,
54,
10340,
2060,
751,
3481,
273,
261,
54,
10340,
2060,
751,
13,
18814,
7675,
588,
3935,
1042,
7675,
588,
2711,
1734,
5621,
9506,
202,
430,
261,
1264,
18,
588,
1225,
1435,
422,
404,
13,
288,
6862,
2
] |
static void checkDir() { if (speed<MIN_SPEED) { direction = DIR_UNKNOWN; return; } Flash.Point p = Flash.getPoint(Status.melNr); if (p==null) return; int dold = dist(p.lat-old_lat, p.lon-old_lon); int dnew = dist(p.lat-last_lat, p.lon-last_lon); if (dnew > dold + MIN_DIR_DIST) {if (direction==DIR_BACK) { System.out.print("direction change - diff="); System.out.println(dnew-dold);} direction = DIR_FORWARD;// Dbg.wr("forward\n"); } else if (dold > dnew + MIN_DIR_DIST) {if (direction==DIR_FORWARD) { System.out.print("direction change - diff="); System.out.println(dold-dnew);} direction = DIR_BACK;// Dbg.wr("back\n"); } else { direction = DIR_UNKNOWN;// Dbg.wr("undecided\n"); } } | 45850 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45850/260782d756331fe791d094e4ac16600ce81f8492/Gps.java/clean/java/target/src/app/oebb/Gps.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
6459,
1893,
1621,
1435,
95,
9506,
202,
430,
12,
13871,
32,
6236,
67,
23810,
2056,
15329,
1082,
202,
9855,
33,
4537,
67,
14737,
31,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
11353,
18,
2148,
84,
33,
11353,
18,
588,
2148,
12,
1482,
18,
81,
292,
18726,
1769,
202,
202,
430,
12,
84,
631,
2011,
13,
2463,
31,
9506,
202,
474,
72,
1673,
33,
4413,
12,
84,
18,
4801,
17,
1673,
67,
4801,
16,
84,
18,
9379,
17,
1673,
67,
9379,
1769,
202,
202,
474,
72,
2704,
33,
4413,
12,
84,
18,
4801,
17,
2722,
67,
4801,
16,
84,
18,
9379,
17,
2722,
67,
9379,
1769,
202,
202,
430,
12,
72,
2704,
34,
72,
1673,
15,
6236,
67,
4537,
67,
2565,
882,
15329,
430,
12,
9855,
631,
4537,
67,
8720,
15329,
202,
3163,
18,
659,
18,
1188,
2932,
9855,
3427,
17,
5413,
1546,
1769,
202,
3163,
18,
659,
18,
8222,
12,
72,
2704,
17,
72,
1673,
1769,
97,
1082,
202,
9855,
33,
4537,
67,
7473,
21343,
31,
759,
4331,
75,
18,
91,
86,
2932,
11565,
64,
82,
8863,
202,
202,
97,
12107,
430,
12,
72,
1673,
34,
72,
2704,
15,
6236,
67,
4537,
67,
2565,
882,
15329,
430,
12,
9855,
631,
4537,
67,
7473,
21343,
15329,
202,
3163,
18,
659,
18,
1188,
2932,
9855,
3427,
17,
5413,
1546,
1769,
202,
3163,
18,
659,
18,
8222,
12,
72,
1673,
17,
72,
2704,
1769,
97,
1082,
202,
9855,
33,
4537,
67,
8720,
31,
759,
4331,
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,
3845,
6459,
1893,
1621,
1435,
95,
9506,
202,
430,
12,
13871,
32,
6236,
67,
23810,
2056,
15329,
1082,
202,
9855,
33,
4537,
67,
14737,
31,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
11353,
18,
2148,
84,
33,
11353,
18,
588,
2148,
12,
1482,
18,
81,
292,
18726,
1769,
202,
202,
430,
12,
84,
631,
2011,
13,
2463,
31,
9506,
202,
474,
72,
1673,
33,
4413,
12,
84,
18,
4801,
17,
1673,
67,
4801,
16,
84,
18,
9379,
17,
1673,
67,
9379,
1769,
202,
202,
474,
72,
2704,
33,
4413,
12,
84,
18,
4801,
17,
2722,
67,
4801,
16,
84,
18,
9379,
17,
2722,
67,
9379,
1769,
202,
202,
430,
12,
72,
2704,
34,
72,
1673,
2
] | ||
float maxBid = 0; | float maxBid = 0; | public float getItemMaxBid(Integer itemId) throws RemoteException { Connection conn = null; PreparedStatement stmt = null; float maxBid = 0; try { conn = dataSource.getConnection(); stmt = conn.prepareStatement("SELECT MAX(bid) AS bid FROM bids WHERE item_id=?"); stmt.setInt(1, itemId.intValue()); ResultSet rs = stmt.executeQuery(); // Get the max if (rs.next()) maxBid = rs.getFloat("bid"); } catch (SQLException e) { throw new EJBException("Failed to executeQuery " +e); } finally { try { if (stmt != null) stmt.close(); // close statement if (conn != null) conn.close(); // release connection } catch (Exception ignore) { } } return maxBid; } | 5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/QueryBean.java/clean/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/QueryBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1431,
8143,
2747,
17763,
12,
4522,
18424,
13,
1216,
18361,
225,
288,
565,
4050,
3639,
1487,
273,
446,
31,
565,
16913,
3480,
273,
446,
31,
565,
1431,
943,
17763,
273,
374,
31,
565,
775,
377,
288,
1377,
1487,
273,
10233,
18,
588,
1952,
5621,
1377,
3480,
273,
1487,
18,
9366,
3406,
2932,
4803,
4552,
12,
19773,
13,
5355,
9949,
4571,
30534,
4852,
761,
67,
350,
25501,
1769,
1377,
3480,
18,
542,
1702,
12,
21,
16,
18424,
18,
474,
620,
10663,
1377,
10842,
3597,
273,
3480,
18,
8837,
1138,
5621,
1377,
368,
968,
326,
943,
1377,
309,
261,
5453,
18,
4285,
10756,
540,
943,
17763,
273,
3597,
18,
588,
4723,
2932,
19773,
8863,
565,
289,
565,
1044,
261,
23116,
425,
13,
565,
288,
1377,
604,
394,
12157,
503,
2932,
2925,
358,
14304,
315,
397,
73,
1769,
565,
289,
565,
3095,
565,
288,
1377,
775,
4202,
288,
3639,
309,
261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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1431,
8143,
2747,
17763,
12,
4522,
18424,
13,
1216,
18361,
225,
288,
565,
4050,
3639,
1487,
273,
446,
31,
565,
16913,
3480,
273,
446,
31,
565,
1431,
943,
17763,
273,
374,
31,
565,
775,
377,
288,
1377,
1487,
273,
10233,
18,
588,
1952,
5621,
1377,
3480,
273,
1487,
18,
9366,
3406,
2932,
4803,
4552,
12,
19773,
13,
5355,
9949,
4571,
30534,
4852,
761,
67,
350,
25501,
1769,
1377,
3480,
18,
542,
1702,
12,
21,
16,
18424,
18,
474,
620,
10663,
1377,
10842,
3597,
273,
3480,
18,
8837,
1138,
5621,
1377,
368,
968,
326,
943,
1377,
309,
261,
5453,
18,
4285,
10756,
540,
943,
17763,
273,
3597,
18,
588,
4723,
2932,
19773,
8863,
565,
289,
565,
1044,
261,
2
] |
super( lhs, rhs ); | super( lhs, rhs ); | public DefaultEqualityExpr(Expr lhs, Expr rhs) { super( lhs, rhs ); } | 47110 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47110/d40b6bd75cb1cad7381ebb031c84b901f9f9e37f/DefaultEqualityExpr.java/clean/jaxen/src/java/main/org/jaxen/expr/DefaultEqualityExpr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2989,
20273,
4742,
12,
4742,
8499,
16,
1171,
9079,
8074,
7711,
13,
565,
288,
3639,
2240,
12,
8499,
16,
9079,
7711,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2989,
20273,
4742,
12,
4742,
8499,
16,
1171,
9079,
8074,
7711,
13,
565,
288,
3639,
2240,
12,
8499,
16,
9079,
7711,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public ClientPut getParent() { | public ClientPutter getParent() { | public ClientPut getParent() { return parent; } | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/d32229c02576d531c915059f111c468591f30e84/SplitFileInserter.java/clean/src/freenet/client/async/SplitFileInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
5089,
1435,
288,
202,
202,
2463,
982,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
5089,
1435,
288,
202,
202,
2463,
982,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
_numRuns++; _totalTime += runTime; if ( (_maxTime < 0) || (runTime > _maxTime) ) _maxTime = runTime; if ( (_minTime < 0) || (runTime < _minTime) ) _minTime = runTime; _totalPendingTime += lag; if ( (_maxPendingTime < 0) || (lag > _maxPendingTime) ) _maxPendingTime = lag; if ( (_minPendingTime < 0) || (lag < _minPendingTime) ) _minPendingTime = lag; | _numRuns++; _totalTime += runTime; if ( (_maxTime < 0) || (runTime > _maxTime) ) _maxTime = runTime; if ( (_minTime < 0) || (runTime < _minTime) ) _minTime = runTime; _totalPendingTime += lag; if ( (_maxPendingTime < 0) || (lag > _maxPendingTime) ) _maxPendingTime = lag; if ( (_minPendingTime < 0) || (lag < _minPendingTime) ) _minPendingTime = lag; | public void jobRan(long runTime, long lag) { _numRuns++; _totalTime += runTime; if ( (_maxTime < 0) || (runTime > _maxTime) ) _maxTime = runTime; if ( (_minTime < 0) || (runTime < _minTime) ) _minTime = runTime; _totalPendingTime += lag; if ( (_maxPendingTime < 0) || (lag > _maxPendingTime) ) _maxPendingTime = lag; if ( (_minPendingTime < 0) || (lag < _minPendingTime) ) _minPendingTime = lag; } | 27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/303e257841e46576c3053d40c6b4c7a07ca8245b/JobStats.java/buggy/router/java/src/net/i2p/router/JobStats.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1719,
54,
304,
12,
5748,
1086,
950,
16,
1525,
17241,
13,
288,
202,
67,
2107,
9361,
9904,
31,
202,
67,
4963,
950,
1011,
1086,
950,
31,
202,
430,
261,
261,
67,
1896,
950,
411,
374,
13,
747,
261,
2681,
950,
405,
389,
1896,
950,
13,
262,
202,
565,
389,
1896,
950,
273,
1086,
950,
31,
202,
430,
261,
261,
67,
1154,
950,
411,
374,
13,
747,
261,
2681,
950,
411,
389,
1154,
950,
13,
262,
202,
565,
389,
1154,
950,
273,
1086,
950,
31,
202,
67,
4963,
8579,
950,
1011,
17241,
31,
202,
430,
261,
261,
67,
1896,
8579,
950,
411,
374,
13,
747,
261,
22532,
405,
389,
1896,
8579,
950,
13,
262,
202,
565,
389,
1896,
8579,
950,
273,
17241,
31,
202,
430,
261,
261,
67,
1154,
8579,
950,
411,
374,
13,
747,
261,
22532,
411,
389,
1154,
8579,
950,
13,
262,
202,
565,
389,
1154,
8579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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1719,
54,
304,
12,
5748,
1086,
950,
16,
1525,
17241,
13,
288,
202,
67,
2107,
9361,
9904,
31,
202,
67,
4963,
950,
1011,
1086,
950,
31,
202,
430,
261,
261,
67,
1896,
950,
411,
374,
13,
747,
261,
2681,
950,
405,
389,
1896,
950,
13,
262,
202,
565,
389,
1896,
950,
273,
1086,
950,
31,
202,
430,
261,
261,
67,
1154,
950,
411,
374,
13,
747,
261,
2681,
950,
411,
389,
1154,
950,
13,
262,
202,
565,
389,
1154,
950,
273,
1086,
950,
31,
202,
67,
4963,
8579,
950,
1011,
17241,
31,
202,
430,
261,
261,
67,
1896,
8579,
950,
411,
374,
13,
747,
261,
22532,
405,
389,
1896,
8579,
950,
13,
262,
202,
565,
389,
2
] |
public void secondPhaseComplete(long time, boolean foundNodes) { | public void secondPhaseComplete(KUID nodeId, boolean foundNodes, long time) { | public static void testSpoof(int port) throws IOException{ //original DHT System.out.println("here"); SocketAddress sac2 = new InetSocketAddress(port+1); KUID nodeID = KUID.createRandomNodeID(sac2); final DHT dht2 = new DHT(); dht2.bind(sac2,nodeID); Thread t2 = new Thread(dht2, "DHT-1"); t2.start(); dht2.bootstrap(new InetSocketAddress("localhost",port), null); System.out.println("2"); //spoofer final DHT dht3 = new DHT(); dht3.bind(new InetSocketAddress(port+2),nodeID); Thread t3 = new Thread(dht3, "DHT-2"); t3.start(); dht3.bootstrap(new InetSocketAddress("localhost",port), new BootstrapListener() { public void initialPhaseComplete(KUID nodeId, Collection nodes, long time) { } public void secondPhaseComplete(long time, boolean foundNodes) { System.out.println(); System.out.println("1) Sent count: " + dht2.getSentMessagesCount()); System.out.println("1) Recv count: " + dht2.getReceivedMessagesCount()); System.out.println("1) Sent size: " + dht2.getSentMessagesSize()); System.out.println("1) Recv size: " + dht2.getReceivedMessagesSize()); System.out.println(); System.out.println("2) Sent count: " + dht3.getSentMessagesCount()); System.out.println("2) Recv count: " + dht3.getReceivedMessagesCount()); System.out.println("2) Sent size: " + dht3.getSentMessagesSize()); System.out.println("2) Recv size: " + dht3.getReceivedMessagesSize()); } }); System.out.println("3"); } | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/275b818812b9ed31b0f3add9b1b78c7042e4df48/NodeIDSpoofTest.java/clean/components/mojito/com/limegroup/gnutella/dht/tests/NodeIDSpoofTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1842,
55,
1631,
792,
12,
474,
1756,
13,
1216,
1860,
95,
3639,
368,
8830,
463,
5062,
3639,
2332,
18,
659,
18,
8222,
2932,
14852,
8863,
3639,
8758,
1887,
20071,
22,
273,
394,
17943,
12,
655,
15,
21,
1769,
3639,
1475,
3060,
14871,
273,
1475,
3060,
18,
2640,
8529,
22229,
12,
87,
1077,
22,
1769,
3639,
727,
463,
5062,
302,
647,
22,
273,
394,
463,
5062,
5621,
3639,
302,
647,
22,
18,
4376,
12,
87,
1077,
22,
16,
2159,
734,
1769,
3639,
4884,
268,
22,
273,
394,
4884,
12,
72,
647,
22,
16,
315,
40,
5062,
17,
21,
8863,
3639,
268,
22,
18,
1937,
5621,
3639,
302,
647,
22,
18,
12722,
12,
2704,
17943,
2932,
13014,
3113,
655,
3631,
446,
1769,
3639,
2332,
18,
659,
18,
8222,
2932,
22,
8863,
7734,
368,
87,
1631,
83,
586,
3639,
727,
463,
5062,
302,
647,
23,
273,
394,
463,
5062,
5621,
3639,
302,
647,
23,
18,
4376,
12,
2704,
17943,
12,
655,
15,
22,
3631,
2159,
734,
1769,
3639,
4884,
268,
23,
273,
394,
4884,
12,
72,
647,
23,
16,
315,
40,
5062,
17,
22,
8863,
3639,
268,
23,
18,
1937,
5621,
3639,
302,
647,
23,
18,
12722,
12,
2704,
17943,
2932,
13014,
3113,
655,
3631,
394,
11830,
2223,
1435,
288,
5411,
1071,
918,
2172,
11406,
6322,
12,
47,
3060,
11507,
16,
2200,
2199,
16,
1525,
813,
13,
288,
5411,
289,
5411,
1071,
918,
2205,
11406,
6322,
12,
47,
3060,
11507,
16,
1250,
1392,
3205,
16,
1525,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1842,
55,
1631,
792,
12,
474,
1756,
13,
1216,
1860,
95,
3639,
368,
8830,
463,
5062,
3639,
2332,
18,
659,
18,
8222,
2932,
14852,
8863,
3639,
8758,
1887,
20071,
22,
273,
394,
17943,
12,
655,
15,
21,
1769,
3639,
1475,
3060,
14871,
273,
1475,
3060,
18,
2640,
8529,
22229,
12,
87,
1077,
22,
1769,
3639,
727,
463,
5062,
302,
647,
22,
273,
394,
463,
5062,
5621,
3639,
302,
647,
22,
18,
4376,
12,
87,
1077,
22,
16,
2159,
734,
1769,
3639,
4884,
268,
22,
273,
394,
4884,
12,
72,
647,
22,
16,
315,
40,
5062,
17,
21,
8863,
3639,
268,
22,
18,
1937,
5621,
3639,
302,
647,
22,
18,
12722,
12,
2704,
17943,
2932,
13014,
2
] |
fListeners.nodeExpanded(event); | fListeners.treeExpanded(event); | public void setCollapsed(TreePath aPath, boolean aCollapsed) { TreeTableModelEvent event = new TreeTableModelEvent(this, aPath); if (aCollapsed) { if (fCollapsed.put(aPath, "x") == null) { if (fListeners != null) { fListeners.nodeCollapsed(event); } } } else { if (fCollapsed.remove(aPath) != null) { if (fListeners != null) { fListeners.nodeExpanded(event); } } } } | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/8c0a3f0dc0fd80182185cba30e58932b2539c17a/MessageModel.java/clean/grendel/sources/grendel/ui/MessageModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
28084,
12,
2471,
743,
279,
743,
16,
1250,
279,
28084,
13,
288,
565,
4902,
1388,
1488,
1133,
871,
273,
1377,
394,
4902,
1388,
1488,
1133,
12,
2211,
16,
279,
743,
1769,
565,
309,
261,
69,
28084,
13,
288,
1377,
309,
261,
74,
28084,
18,
458,
12,
69,
743,
16,
315,
92,
7923,
422,
446,
13,
288,
3639,
309,
261,
74,
5583,
480,
446,
13,
288,
1850,
284,
5583,
18,
2159,
28084,
12,
2575,
1769,
3639,
289,
1377,
289,
565,
289,
469,
288,
1377,
309,
261,
74,
28084,
18,
4479,
12,
69,
743,
13,
480,
446,
13,
288,
3639,
309,
261,
74,
5583,
480,
446,
13,
288,
1850,
284,
5583,
18,
3413,
17957,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
28084,
12,
2471,
743,
279,
743,
16,
1250,
279,
28084,
13,
288,
565,
4902,
1388,
1488,
1133,
871,
273,
1377,
394,
4902,
1388,
1488,
1133,
12,
2211,
16,
279,
743,
1769,
565,
309,
261,
69,
28084,
13,
288,
1377,
309,
261,
74,
28084,
18,
458,
12,
69,
743,
16,
315,
92,
7923,
422,
446,
13,
288,
3639,
309,
261,
74,
5583,
480,
446,
13,
288,
1850,
284,
5583,
18,
2159,
28084,
12,
2575,
1769,
3639,
289,
1377,
289,
565,
289,
469,
288,
1377,
309,
261,
74,
28084,
18,
4479,
12,
69,
743,
13,
480,
446,
13,
288,
3639,
309,
261,
74,
5583,
480,
446,
13,
288,
1850,
284,
5583,
18,
3413,
17957,
12,
2575,
1769,
2
] |
save |= bumpEntry(entries, entry, childURL, myTargetRevision, true); | save |= bumpEntry(entries, entry, childURL, rootURL, myTargetRevision, true); | private void bumpDirectory(SVNDirectory dir, String url) throws SVNException { SVNEntries entries = dir.getEntries(); boolean save = bumpEntry(entries, entries.getEntry("", true), url, myTargetRevision, false); Map childDirectories = new HashMap(); for (Iterator ents = entries.entries(true); ents.hasNext();) { SVNEntry entry = (SVNEntry) ents.next(); if ("".equals(entry.getName())) { continue; } String childURL = url != null ? SVNPathUtil.append(url, SVNEncodingUtil.uriEncode(entry.getName())) : null; if (entry.getKind() == SVNNodeKind.FILE) { save |= bumpEntry(entries, entry, childURL, myTargetRevision, true); } else if (myIsRecursive && entry.getKind() == SVNNodeKind.DIR) { SVNDirectory childDirectory = dir.getChildDirectory(entry.getName()); if (!entry.isScheduledForAddition() && (childDirectory == null || !childDirectory.isVersioned())) { myWCAccess.handleEvent(SVNEventFactory.createUpdateDeleteEvent(myWCAccess, dir, entry)); entries.deleteEntry(entry.getName()); save = true; } else { // schedule for recursion, map of dir->url childDirectories.put(childDirectory, childURL); } } } if (save) { entries.save(true); } for (Iterator children = childDirectories.keySet().iterator(); children.hasNext();) { SVNDirectory child = (SVNDirectory) children.next(); String childURL = (String) childDirectories.get(child); if (child != null) { bumpDirectory(child, childURL); } else { SVNDebugLog.logInfo("svn: Directory object is null in bump directories method"); } } } | 2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/5acd96c2fcc708cffe9a8eaf01d072d50c6d6457/SVNUpdateEditor.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNUpdateEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
23559,
2853,
12,
23927,
50,
2853,
1577,
16,
514,
880,
13,
1216,
29537,
50,
503,
288,
3639,
29537,
50,
5400,
3222,
273,
1577,
18,
588,
5400,
5621,
3639,
1250,
1923,
273,
23559,
1622,
12,
8219,
16,
3222,
18,
588,
1622,
2932,
3113,
638,
3631,
880,
16,
3399,
2326,
7939,
16,
629,
1769,
3639,
1635,
1151,
13071,
273,
394,
4317,
5621,
3639,
364,
261,
3198,
3281,
87,
273,
3222,
18,
8219,
12,
3767,
1769,
3281,
87,
18,
5332,
2134,
5621,
13,
288,
5411,
29537,
50,
1622,
1241,
273,
261,
23927,
50,
1622,
13,
3281,
87,
18,
4285,
5621,
5411,
309,
261,
3660,
18,
14963,
12,
4099,
18,
17994,
1435,
3719,
288,
7734,
1324,
31,
5411,
289,
5411,
514,
1151,
1785,
273,
880,
480,
446,
692,
29537,
50,
743,
1304,
18,
6923,
12,
718,
16,
29537,
50,
4705,
1304,
18,
1650,
5509,
12,
4099,
18,
17994,
1435,
3719,
294,
446,
31,
5411,
309,
261,
4099,
18,
588,
5677,
1435,
422,
29537,
50,
907,
5677,
18,
3776,
13,
288,
7734,
1923,
5626,
23559,
1622,
12,
8219,
16,
1241,
16,
1151,
1785,
16,
1365,
1785,
16,
3399,
2326,
7939,
16,
638,
1769,
5411,
289,
469,
309,
261,
4811,
2520,
10483,
597,
1241,
18,
588,
5677,
1435,
422,
29537,
50,
907,
5677,
18,
4537,
13,
288,
7734,
29537,
50,
2853,
1151,
2853,
273,
1577,
18,
588,
1763,
2853,
12,
4099,
18,
17994,
10663,
7734,
309,
16051,
4099,
18,
291,
10660,
1290,
30296,
1435,
597,
261,
3624,
2853,
422,
446,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
23559,
2853,
12,
23927,
50,
2853,
1577,
16,
514,
880,
13,
1216,
29537,
50,
503,
288,
3639,
29537,
50,
5400,
3222,
273,
1577,
18,
588,
5400,
5621,
3639,
1250,
1923,
273,
23559,
1622,
12,
8219,
16,
3222,
18,
588,
1622,
2932,
3113,
638,
3631,
880,
16,
3399,
2326,
7939,
16,
629,
1769,
3639,
1635,
1151,
13071,
273,
394,
4317,
5621,
3639,
364,
261,
3198,
3281,
87,
273,
3222,
18,
8219,
12,
3767,
1769,
3281,
87,
18,
5332,
2134,
5621,
13,
288,
5411,
29537,
50,
1622,
1241,
273,
261,
23927,
50,
1622,
13,
3281,
87,
18,
4285,
5621,
5411,
309,
261,
3660,
18,
14963,
12,
4099,
18,
17994,
1435,
3719,
288,
7734,
1324,
31,
5411,
289,
5411,
2
] |
return new ASTElaboratedTypeSpecifier(); | IContainerSymbol currentScopeSymbol = scopeToSymbol(scope); TypeInfo.eType pstType = classKindToTypeInfo(kind); List references = new ArrayList(); IToken lastToken = name.getLastToken(); if( name.length() != 1 ) { ITokenDuple containerSymbolName = name.getSubrange( 0, name.length() - 3 ); currentScopeSymbol = (IContainerSymbol)lookupQualifiedName( currentScopeSymbol, containerSymbolName, references); if( currentScopeSymbol == null ) throw new ASTSemanticException(); } ISymbol checkSymbol = null; try { checkSymbol = currentScopeSymbol.qualifiedLookup(lastToken.getImage()); } catch (ParserSymbolTableException e) { throw new ASTSemanticException(); } if( isForewardDecl ) { if( checkSymbol == null ) { checkSymbol = pst.newDerivableContainerSymbol( lastToken.getImage(), pstType ); checkSymbol.setIsForwardDeclaration( true ); try { currentScopeSymbol.addSymbol( checkSymbol ); } catch (ParserSymbolTableException e1) { throw new ASTSemanticException(); } ASTElaboratedTypeSpecifier elab = new ASTElaboratedTypeSpecifier( checkSymbol, kind, startingOffset, endOffset ); try { attachSymbolExtension( checkSymbol, elab ); } catch (ExtensionException e2) { throw new ASTSemanticException(); } } } return (IASTElaboratedTypeSpecifier)checkSymbol.getASTExtension().getPrimaryDeclaration(); | public IASTElaboratedTypeSpecifier createElaboratedTypeSpecifier( ASTClassKind elaboratedClassKind, String typeName, int startingOffset, int endOffset) { //TODO FIX THIS return new ASTElaboratedTypeSpecifier(); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a94839573b25744b81bcdcbff5014614a92fdd8c/CompleteParseASTFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/CompleteParseASTFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
9053,
4958,
378,
280,
690,
559,
21416,
752,
4958,
378,
280,
690,
559,
21416,
12,
3639,
9183,
797,
5677,
415,
378,
280,
690,
797,
5677,
16,
3639,
514,
8173,
16,
3639,
509,
5023,
2335,
16,
3639,
509,
25507,
13,
565,
288,
377,
202,
759,
6241,
8563,
20676,
4202,
467,
2170,
5335,
783,
3876,
5335,
273,
2146,
774,
5335,
12,
4887,
1769,
1412,
966,
18,
73,
559,
22750,
559,
273,
667,
5677,
774,
17305,
12,
9224,
1769,
987,
5351,
273,
394,
2407,
5621,
467,
1345,
27231,
273,
508,
18,
588,
3024,
1345,
5621,
309,
12,
508,
18,
2469,
1435,
480,
404,
262,
288,
467,
1345,
40,
2268,
1478,
5335,
461,
273,
508,
18,
588,
1676,
3676,
12,
374,
16,
508,
18,
2469,
1435,
300,
890,
11272,
783,
3876,
5335,
273,
261,
45,
2170,
5335,
13,
8664,
12345,
12,
783,
3876,
5335,
16,
1478,
5335,
461,
16,
5351,
1769,
309,
12,
783,
3876,
5335,
422,
446,
262,
604,
394,
9183,
13185,
9941,
503,
5621,
289,
225,
4437,
3284,
866,
5335,
273,
446,
31,
775,
288,
866,
5335,
273,
783,
3876,
5335,
18,
19724,
6609,
12,
2722,
1345,
18,
588,
2040,
10663,
289,
1044,
261,
2678,
5335,
1388,
503,
425,
13,
288,
604,
394,
9183,
13185,
9941,
503,
5621,
289,
282,
309,
12,
353,
13573,
2913,
3456,
262,
288,
309,
12,
866,
5335,
422,
446,
262,
288,
225,
866,
5335,
225,
273,
22750,
18,
2704,
26239,
429,
2170,
5335,
12,
27231,
18,
588,
2040,
9334,
22750,
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,
377,
1071,
467,
9053,
4958,
378,
280,
690,
559,
21416,
752,
4958,
378,
280,
690,
559,
21416,
12,
3639,
9183,
797,
5677,
415,
378,
280,
690,
797,
5677,
16,
3639,
514,
8173,
16,
3639,
509,
5023,
2335,
16,
3639,
509,
25507,
13,
565,
288,
377,
202,
759,
6241,
8563,
20676,
4202,
467,
2170,
5335,
783,
3876,
5335,
273,
2146,
774,
5335,
12,
4887,
1769,
1412,
966,
18,
73,
559,
22750,
559,
273,
667,
5677,
774,
17305,
12,
9224,
1769,
987,
5351,
273,
394,
2407,
5621,
467,
1345,
27231,
273,
508,
18,
588,
3024,
1345,
5621,
309,
12,
508,
18,
2469,
1435,
480,
404,
262,
288,
467,
1345,
40,
2268,
1478,
5335,
461,
273,
508,
18,
588,
1676,
3676,
12,
2
] |
List list = new ArrayList(); | map2.put("name", providerNameFromPlug); | private void createProviderHierarchie(String providerName) { // get all partner and provider by a new query try { String query = "datatype:management management_request_type:1"; IngridQuery ingridQuery = QueryStringParser.parse(query); IngridHits hits = this.fIBus.search(ingridQuery, 1000, 0, 0, 120000); IngridHit hit = hits.getHits()[0]; ArrayList arrayList = hit.getArrayList("partner"); for (int j = 0, length = arrayList.size(); j < length; j++) { Map partnerMap = (Map) arrayList.get(j); ArrayList providerList = (ArrayList) partnerMap.get("providers"); for (int k = 0, providerLength = providerList.size(); k < providerLength; k++) { Map providerMap = (Map) providerList.get(k); String providerId = (String) providerMap.get("providerid"); if(providerId.equals(providerName)) { this.fHierarchie.clear(); Map map = new HashMap(); map.put("partnerid", partnerMap.get("partnerid")); Map map2 = new HashMap(); map2.put("providerid", providerId); List list = new ArrayList(); list.add(map2); map.put("providers", list); this.fHierarchie.add(map); } } } } catch (Exception e) { e.printStackTrace(); } } | 12891 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12891/d1aa4bb99c44eba5f90bda0f92e5589b6aa4789b/IngridRealm.java/buggy/src/java/de/ingrid/iplug/web/IngridRealm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
2249,
44,
5148,
1385,
12,
780,
26036,
13,
288,
377,
202,
759,
336,
777,
19170,
471,
2893,
635,
279,
394,
843,
202,
202,
698,
288,
1082,
202,
780,
843,
273,
315,
21540,
30,
17381,
11803,
67,
2293,
67,
723,
30,
21,
14432,
1082,
202,
382,
5222,
1138,
12152,
1691,
1138,
273,
2770,
780,
2678,
18,
2670,
12,
2271,
1769,
1082,
202,
382,
5222,
20950,
11076,
273,
333,
18,
74,
45,
7086,
18,
3072,
12,
310,
1691,
1138,
16,
4336,
16,
374,
16,
374,
16,
2593,
2787,
1769,
1082,
202,
382,
5222,
13616,
6800,
273,
11076,
18,
588,
20950,
1435,
63,
20,
15533,
1082,
202,
19558,
526,
682,
273,
6800,
18,
588,
19558,
2932,
31993,
8863,
1082,
202,
1884,
261,
474,
525,
273,
374,
16,
769,
273,
526,
682,
18,
1467,
5621,
525,
411,
769,
31,
525,
27245,
288,
9506,
202,
863,
19170,
863,
273,
261,
863,
13,
526,
682,
18,
588,
12,
78,
1769,
9506,
202,
19558,
2893,
682,
273,
261,
19558,
13,
19170,
863,
18,
588,
2932,
17520,
8863,
9506,
202,
1884,
261,
474,
417,
273,
374,
16,
2893,
1782,
273,
2893,
682,
18,
1467,
5621,
417,
411,
2893,
1782,
31,
417,
27245,
288,
6862,
202,
863,
2893,
863,
273,
261,
863,
13,
2893,
682,
18,
588,
12,
79,
1769,
6862,
202,
780,
2893,
548,
273,
261,
780,
13,
2893,
863,
18,
588,
2932,
6778,
350,
8863,
6862,
202,
430,
12,
6778,
548,
18,
14963,
12,
6778,
461,
3719,
288,
25083,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
2249,
44,
5148,
1385,
12,
780,
26036,
13,
288,
377,
202,
759,
336,
777,
19170,
471,
2893,
635,
279,
394,
843,
202,
202,
698,
288,
1082,
202,
780,
843,
273,
315,
21540,
30,
17381,
11803,
67,
2293,
67,
723,
30,
21,
14432,
1082,
202,
382,
5222,
1138,
12152,
1691,
1138,
273,
2770,
780,
2678,
18,
2670,
12,
2271,
1769,
1082,
202,
382,
5222,
20950,
11076,
273,
333,
18,
74,
45,
7086,
18,
3072,
12,
310,
1691,
1138,
16,
4336,
16,
374,
16,
374,
16,
2593,
2787,
1769,
1082,
202,
382,
5222,
13616,
6800,
273,
11076,
18,
588,
20950,
1435,
63,
20,
15533,
1082,
202,
19558,
526,
682,
273,
6800,
18,
588,
19558,
2932,
31993,
8863,
2
] |
attributes.setNonNormalizedValue(attrIndex, fTempString2.toString()); | if (!isSameNormalizedAttr) { attributes.setNonNormalizedValue(attrIndex, fTempString2.toString()); } | 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 attrIndex; if (fBindNamespaces) { attrIndex = attributes.getLength(); attributes.addAttributeNS(fAttributeQName, XMLSymbols.fCDATASymbol, null); } else { int oldLen = attributes.getLength(); attrIndex = 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; scanAttributeValue(this.fTempString, fTempString2, fAttributeQName.rawname, isVC, fCurrentElement.rawname); String value = fTempString.toString(); attributes.setValue(attrIndex, value); attributes.setNonNormalizedValue(attrIndex, fTempString2.toString()); attributes.setSpecified(attrIndex, 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; // http://www.w3.org/TR/1999/REC-xml-names-19990114/#dt-prefix // We should only report an error if there is a prefix, // that is, the local part is not "xmlns". -SG if (uri == XMLSymbols.EMPTY_STRING && localpart != XMLSymbols.PREFIX_XMLNS) { fErrorReporter.reportError(XMLMessageFormatter.XMLNS_DOMAIN, "EmptyPrefixedAttName", new Object[]{fAttributeQName}, XMLErrorReporter.SEVERITY_FATAL_ERROR); } // declare prefix in context fNamespaceContext.declarePrefix(prefix, uri.length() != 0 ? uri : null); // bind namespace attribute to a namespace attributes.setURI(attrIndex, fNamespaceContext.getURI(XMLSymbols.PREFIX_XMLNS)); } else { // attempt to bind attribute if (fAttributeQName.prefix != null) { attributes.setURI(attrIndex, fNamespaceContext.getURI(fAttributeQName.prefix)); } } } if (DEBUG_CONTENT_SCANNING) System.out.println("<<< scanAttribute()"); } // scanAttribute(XMLAttributes) | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/c72c2da0a1704fa893f44fc5a33819f7a88fac02/XMLNSDocumentScannerImpl.java/buggy/src/org/apache/xerces/impl/XMLNSDocumentScannerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4135,
1499,
12,
4201,
2498,
2828,
1677,
13,
565,
1216,
1860,
16,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
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,
2932,
19508,
3705,
382,
1499,
3113,
11794,
394,
1033,
63,
7073,
74,
3935,
1046,
18,
1899,
529,
16,
74,
1499,
13688,
18,
1899,
529,
22938,
3639,
289,
3639,
284,
1943,
11338,
18,
7457,
12077,
5621,
3639,
368,
913,
3639,
509,
1604,
1016,
31,
9079,
309,
261,
74,
3357,
13180,
13,
288,
5411,
1604,
1016,
273,
1677,
18,
588,
1782,
5621,
5411,
1677,
18,
1289,
1499,
3156,
12,
74,
1499,
13688,
16,
3167,
14821,
18,
74,
10160,
789,
3033,
3284,
16,
446,
1769,
3639,
289,
3639,
469,
288,
5411,
509,
1592,
2891,
273,
1677,
18,
588,
1782,
5621,
5411,
1604,
1016,
273,
1677,
18,
1289,
1499,
12,
74,
1499,
13688,
16,
3167,
14821,
18,
74,
10160,
789,
3033,
3284,
16,
446,
1769,
540,
202,
5411,
368,
678,
4488,
30,
14584,
6020,
4185,
5411,
309,
261,
1673,
2891,
422,
1677,
18,
588,
1782,
10756,
288,
7734,
2605,
19593,
668,
2932,
1499,
1248,
6303,
3113,
4766,
394,
1033,
63,
7073,
74,
3935,
1046,
18,
1899,
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,
565,
1216,
1860,
16,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
9689,
67,
2312,
11489,
1360,
13,
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,
2932,
19508,
3705,
382,
1499,
3113,
11794,
394,
1033,
63,
7073,
74,
3935,
1046,
18,
1899,
529,
16,
74,
1499,
13688,
18,
1899,
529,
22938,
3639,
289,
3639,
284,
1943,
11338,
18,
7457,
12077,
2
] |
coreMock = new CGLIBCoreMock( ConcreteType.class, MOCK_NAME, mockDispatcher ); assertTrue( "proxy should be instance of expected concrete type", coreMock.proxy() instanceof ConcreteType ); } | coreMock = new CGLIBCoreMock(ConcreteType.class, MOCK_NAME, mockDispatcher); assertTrue("proxy should be instance of expected concrete type", coreMock.proxy() instanceof ConcreteType); } | public void testCanMockConcreteType() { coreMock = new CGLIBCoreMock( ConcreteType.class, MOCK_NAME, mockDispatcher ); assertTrue( "proxy should be instance of expected concrete type", coreMock.proxy() instanceof ConcreteType ); } | 57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/CGLIBCoreMockTest.java/clean/jmock/extensions/cglib/src/test/jmock/cglib/CGLIBCoreMockTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2568,
9865,
25845,
559,
1435,
288,
3639,
2922,
9865,
273,
394,
29679,
14484,
4670,
9865,
12,
735,
6883,
559,
18,
1106,
16,
16070,
3507,
67,
1985,
16,
5416,
6681,
11272,
7734,
1815,
5510,
12,
315,
5656,
1410,
506,
791,
434,
2665,
12220,
618,
3113,
10792,
2922,
9865,
18,
5656,
1435,
1276,
735,
6883,
559,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2568,
9865,
25845,
559,
1435,
288,
3639,
2922,
9865,
273,
394,
29679,
14484,
4670,
9865,
12,
735,
6883,
559,
18,
1106,
16,
16070,
3507,
67,
1985,
16,
5416,
6681,
11272,
7734,
1815,
5510,
12,
315,
5656,
1410,
506,
791,
434,
2665,
12220,
618,
3113,
10792,
2922,
9865,
18,
5656,
1435,
1276,
735,
6883,
559,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new ThreadContext(Ruby.this); | return mainContext; | protected Object initialValue() { return new ThreadContext(Ruby.this); } | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/1ceedf02ac15d7325cfcf505ca74f35c5bc4a258/Ruby.java/buggy/org/jruby/Ruby.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
1033,
11837,
1435,
288,
5411,
327,
2774,
1042,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
1033,
11837,
1435,
288,
5411,
327,
2774,
1042,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 ArgumentError(recv.getRuntime(), "wrong number of arguments (0 for 1)"); | throw recv.getRuntime().newArgumentError("wrong number of arguments (0 for 1)"); | public static IRubyObject load(IRubyObject recv, IRubyObject[] args) { try { if (args.length < 1) { throw new ArgumentError(recv.getRuntime(), "wrong number of arguments (0 for 1)"); } if (args.length > 2) { throw new ArgumentError(recv.getRuntime(), "wrong number of arguments (" + args.length + " for 2)"); } IRubyObject in = null; IRubyObject proc = null; switch (args.length) { case 2: proc = args[1]; case 1: in = args[0]; } InputStream rawInput; if (in instanceof RubyIO) { rawInput = ((RubyIO) in).getInStream(); } else if (in.respondsTo("to_str")) { RubyString inString = (RubyString) in.callMethod("to_str"); rawInput = new ByteArrayInputStream(inString.toByteArray()); } else { throw new TypeError(recv.getRuntime(), "instance of IO needed"); } UnmarshalStream input = new UnmarshalStream(recv.getRuntime(), rawInput); return input.unmarshalObject(proc); } catch (IOException ioe) { throw IOError.fromException(recv.getRuntime(), ioe); } } | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyMarshal.java/clean/src/org/jruby/RubyMarshal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
1262,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
775,
288,
5411,
309,
261,
1968,
18,
2469,
411,
404,
13,
288,
7734,
604,
10665,
18,
588,
5576,
7675,
2704,
1379,
668,
2932,
21530,
1300,
434,
1775,
261,
20,
364,
404,
2225,
1769,
5411,
289,
13491,
309,
261,
1968,
18,
2469,
405,
576,
13,
288,
2398,
202,
12849,
394,
9236,
12,
18334,
18,
588,
5576,
9334,
315,
21530,
1300,
434,
1775,
7566,
397,
833,
18,
2469,
397,
315,
364,
576,
2225,
1769,
5411,
289,
13491,
15908,
10340,
921,
316,
273,
446,
31,
5411,
15908,
10340,
921,
5418,
273,
446,
31,
5411,
1620,
261,
1968,
18,
2469,
13,
288,
5411,
648,
576,
30,
2398,
202,
9381,
273,
833,
63,
21,
15533,
5411,
648,
404,
30,
2398,
202,
267,
273,
833,
63,
20,
15533,
5411,
289,
5411,
5037,
1831,
1210,
31,
5411,
309,
261,
267,
1276,
19817,
4294,
13,
288,
7734,
1831,
1210,
273,
14015,
54,
10340,
4294,
13,
316,
2934,
588,
382,
1228,
5621,
5411,
289,
469,
309,
261,
267,
18,
455,
12545,
774,
2932,
869,
67,
701,
6,
3719,
288,
7734,
19817,
780,
316,
780,
273,
261,
54,
10340,
780,
13,
316,
18,
1991,
1305,
2932,
869,
67,
701,
8863,
7734,
1831,
1210,
273,
394,
16180,
12,
267,
780,
18,
869,
8826,
10663,
5411,
289,
469,
288,
7734,
604,
394,
3580,
12,
18334,
18,
588,
5576,
9334,
315,
1336,
434,
1665,
3577,
8863,
5411,
289,
13491,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
1262,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
775,
288,
5411,
309,
261,
1968,
18,
2469,
411,
404,
13,
288,
7734,
604,
10665,
18,
588,
5576,
7675,
2704,
1379,
668,
2932,
21530,
1300,
434,
1775,
261,
20,
364,
404,
2225,
1769,
5411,
289,
13491,
309,
261,
1968,
18,
2469,
405,
576,
13,
288,
2398,
202,
12849,
394,
9236,
12,
18334,
18,
588,
5576,
9334,
315,
21530,
1300,
434,
1775,
7566,
397,
833,
18,
2469,
397,
315,
364,
576,
2225,
1769,
5411,
289,
13491,
15908,
10340,
921,
316,
273,
446,
31,
5411,
15908,
10340,
921,
5418,
273,
446,
31,
5411,
1620,
261,
1968,
18,
2469,
13,
288,
2
] |
LoadXMLAction(JFrame aParent, MyTableModel aModel) | LoadXMLAction(JFrame aParent, EventDetailSink eventSink) | LoadXMLAction(JFrame aParent, MyTableModel aModel) { mParent = aParent; mHandler = new XMLFileHandler(aModel); } | 45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/54e0894a235cf32342eb9ccc6776b3172c67a65c/LoadXMLAction.java/buggy/src/java/org/apache/log4j/chainsaw/LoadXMLAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4444,
4201,
1803,
12,
46,
3219,
279,
3054,
16,
2587,
6109,
11326,
871,
11326,
13,
565,
288,
3639,
312,
3054,
273,
279,
3054,
31,
3639,
312,
1503,
273,
394,
3167,
28942,
12,
69,
1488,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4444,
4201,
1803,
12,
46,
3219,
279,
3054,
16,
2587,
6109,
11326,
871,
11326,
13,
565,
288,
3639,
312,
3054,
273,
279,
3054,
31,
3639,
312,
1503,
273,
394,
3167,
28942,
12,
69,
1488,
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
] |
public String jsFunction_small() { | private String jsFunction_small() { | public String jsFunction_small() { return tagify("SMALL", null, null); } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeString.java/buggy/js/rhino/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
3828,
2083,
67,
12019,
1435,
288,
3639,
327,
1047,
1164,
2932,
23882,
3113,
446,
16,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
3828,
2083,
67,
12019,
1435,
288,
3639,
327,
1047,
1164,
2932,
23882,
3113,
446,
16,
446,
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,
-100
] |
if (matchingText.equals(pattern)) { | if (matchingText.equals(pattern) || matchingText.equals("integer constant")) { | public List<INodeSubstituteItem> getMatchingItems(String pattern, boolean strictMatching) { List<INodeSubstituteItem> list = new ArrayList<INodeSubstituteItem>(); Iterator<INodeSubstituteItem> iterator = items(); while (iterator.hasNext()) { INodeSubstituteItem entry = iterator.next(); if (entry.canSubstitute(pattern)) { list.add(entry); } } if (strictMatching) { Iterator<INodeSubstituteItem> iterator1 = list.iterator(); while (iterator1.hasNext()) { INodeSubstituteItem substituteItem = iterator1.next(); String matchingText = substituteItem.getMatchingText(pattern); if (matchingText != null) { if (matchingText.equals(pattern)) { continue; } } iterator1.remove(); } } return list; } | 14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/0a7a7a01c636be527827cd159831820ba1d32bda/AbstractNodeSubstituteInfo.java/clean/source/jetbrains/mps/nodeEditor/AbstractNodeSubstituteInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
987,
32,
23184,
1676,
17207,
1180,
34,
336,
9517,
3126,
12,
780,
1936,
16,
1250,
5490,
9517,
13,
288,
565,
987,
32,
23184,
1676,
17207,
1180,
34,
666,
273,
394,
2407,
32,
23184,
1676,
17207,
1180,
34,
5621,
565,
4498,
32,
23184,
1676,
17207,
1180,
34,
2775,
273,
1516,
5621,
565,
1323,
261,
9838,
18,
5332,
2134,
10756,
288,
1377,
21176,
1676,
17207,
1180,
1241,
273,
2775,
18,
4285,
5621,
1377,
309,
261,
4099,
18,
4169,
1676,
17207,
12,
4951,
3719,
288,
3639,
666,
18,
1289,
12,
4099,
1769,
1377,
289,
565,
289,
565,
309,
261,
13948,
9517,
13,
288,
1377,
4498,
32,
23184,
1676,
17207,
1180,
34,
2775,
21,
273,
666,
18,
9838,
5621,
1377,
1323,
261,
9838,
21,
18,
5332,
2134,
10756,
288,
3639,
21176,
1676,
17207,
1180,
14811,
1180,
273,
2775,
21,
18,
4285,
5621,
3639,
514,
3607,
1528,
273,
14811,
1180,
18,
588,
9517,
1528,
12,
4951,
1769,
3639,
309,
261,
16271,
1528,
480,
446,
13,
288,
1850,
309,
261,
16271,
1528,
18,
14963,
12,
4951,
13,
747,
3607,
1528,
18,
14963,
2932,
7745,
5381,
6,
3719,
288,
5411,
1324,
31,
1850,
289,
3639,
289,
3639,
2775,
21,
18,
4479,
5621,
1377,
289,
565,
289,
565,
327,
666,
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,
987,
32,
23184,
1676,
17207,
1180,
34,
336,
9517,
3126,
12,
780,
1936,
16,
1250,
5490,
9517,
13,
288,
565,
987,
32,
23184,
1676,
17207,
1180,
34,
666,
273,
394,
2407,
32,
23184,
1676,
17207,
1180,
34,
5621,
565,
4498,
32,
23184,
1676,
17207,
1180,
34,
2775,
273,
1516,
5621,
565,
1323,
261,
9838,
18,
5332,
2134,
10756,
288,
1377,
21176,
1676,
17207,
1180,
1241,
273,
2775,
18,
4285,
5621,
1377,
309,
261,
4099,
18,
4169,
1676,
17207,
12,
4951,
3719,
288,
3639,
666,
18,
1289,
12,
4099,
1769,
1377,
289,
565,
289,
565,
309,
261,
13948,
9517,
13,
288,
1377,
4498,
32,
23184,
1676,
17207,
1180,
34,
2775,
21,
273,
666,
18,
9838,
5621,
1377,
1323,
2
] |
_saveButton.setEnabled(true); _compileButton.setEnabled(false); | _saveButton.setEnabled(true); _compileButton.setEnabled(false); | void installNewDocumentListener(DefinitionsDocument d) { d.addDocumentListener(new DocumentListener() { public void changedUpdate(DocumentEvent e) { _saveButton.setEnabled(true); _compileButton.setEnabled(false); } public void insertUpdate(DocumentEvent e) { _saveButton.setEnabled(true); _compileButton.setEnabled(false); } public void removeUpdate(DocumentEvent e) { _saveButton.setEnabled(true); _compileButton.setEnabled(false); } }); } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/19f352f86be54a48e35fa3c387c0a98798be1f17/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/MainFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3799,
1908,
2519,
2223,
12,
7130,
2519,
302,
13,
288,
202,
72,
18,
1289,
2519,
2223,
12,
2704,
4319,
2223,
1435,
288,
202,
565,
1071,
918,
3550,
1891,
12,
2519,
1133,
425,
13,
288,
202,
202,
67,
5688,
3616,
18,
542,
1526,
12,
3767,
1769,
202,
202,
67,
11100,
3616,
18,
542,
1526,
12,
5743,
1769,
202,
565,
289,
202,
565,
1071,
918,
2243,
1891,
12,
2519,
1133,
425,
13,
288,
202,
202,
67,
5688,
3616,
18,
542,
1526,
12,
3767,
1769,
202,
202,
67,
11100,
3616,
18,
542,
1526,
12,
5743,
1769,
202,
565,
289,
202,
565,
1071,
918,
1206,
1891,
12,
2519,
1133,
425,
13,
288,
202,
202,
67,
5688,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3799,
1908,
2519,
2223,
12,
7130,
2519,
302,
13,
288,
202,
72,
18,
1289,
2519,
2223,
12,
2704,
4319,
2223,
1435,
288,
202,
565,
1071,
918,
3550,
1891,
12,
2519,
1133,
425,
13,
288,
202,
202,
67,
5688,
3616,
18,
542,
1526,
12,
3767,
1769,
202,
202,
67,
11100,
3616,
18,
542,
1526,
12,
5743,
1769,
202,
565,
289,
202,
565,
1071,
918,
2243,
1891,
12,
2519,
1133,
425,
13,
288,
202,
202,
67,
5688,
3616,
18,
542,
1526,
12,
3767,
1769,
202,
202,
67,
11100,
3616,
18,
542,
1526,
12,
5743,
1769,
202,
565,
289,
202,
565,
1071,
918,
1206,
1891,
12,
2519,
1133,
425,
13,
288,
202,
202,
67,
5688,
3616,
18,
542,
1526,
12,
2
] |
docGenerator = new GenerateHTMLDoc(jSDir, destDir, file.getName()); | docGenerator = new GenerateHTMLDoc(file, destDir); | public GenerateHTMLIndex(String jSDir, String destDir) { if (jSDir == null) { throw new BuildException("jSDir attribute can't be empty"); } if (destDir == null) { throw new BuildException("destDir can't be empty"); } if (!"/".equals(jSDir.substring(jSDir.length() - 1))) { jSDir = jSDir + "/"; } if (!"/".equals(destDir.substring(destDir.length() - 1))) { destDir = destDir + "/"; } file = new File(jSDir); fileList = file.listFiles(); for (int i = 0; i < fileList.length; i++) { if (fileList[i].getName().indexOf(".js") != -1) { v.addElement(fileList[i]); } } try { fos = new FileOutputStream(destDir + "index.htm"); } catch (FileNotFoundException fnfe) { try { file = new File(destDir); file.mkdir(); fos = new FileOutputStream(destDir + "index.htm"); } catch (FileNotFoundException e) { } } try { fos.write(("<html>" + LINE_SEPARATOR).getBytes()); fos.write(("<head>" + LINE_SEPARATOR).getBytes()); fos.write(("<style type='text/css'>" + LINE_SEPARATOR).getBytes()); fos.write((".TableHeadingColor { background: #CCCCFF } /* Dark mauve */" + LINE_SEPARATOR).getBytes()); fos.write((".NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */" + LINE_SEPARATOR).getBytes()); fos.write(("</style>" + LINE_SEPARATOR).getBytes()); fos.write(("<TABLE WIDTH='100%'><TR><TD WIDTH='100%' CLASS='NavBarCell1'><H1>JavaScript Code Documentation</H1></TD></TR></TABLE>" + LINE_SEPARATOR).getBytes()); fos.write(("<title>JavaScript Code Documentation</title>" + LINE_SEPARATOR).getBytes()); fos.write(("</head>" + LINE_SEPARATOR).getBytes()); fos.write(("<body>" + LINE_SEPARATOR).getBytes()); fos.write(("<H2>ndice de files</H2>" + LINE_SEPARATOR).getBytes()); fos.write(("<br>" + LINE_SEPARATOR).getBytes()); fos.write(("<br>" + LINE_SEPARATOR).getBytes()); fos.write(("<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>" + LINE_SEPARATOR).getBytes()); fos.write(("<TR CLASS='TableHeadingColor'>" + LINE_SEPARATOR).getBytes()); fos.write(("<TD ALIGN='left'><FONT SIZE='+2' WIDTH='30%'>" + LINE_SEPARATOR).getBytes()); fos.write(("<B>Nome do file</B></FONT></TD>" + LINE_SEPARATOR).getBytes()); fos.write(("<TD ALIGN='left'><FONT SIZE='+2' WIDTH='70%'>" + LINE_SEPARATOR).getBytes()); fos.write(("<B>Resumo do contedo</B></FONT></TD>" + LINE_SEPARATOR).getBytes()); fos.write(("</TR>" + LINE_SEPARATOR).getBytes()); for (int i = 0; i < v.size(); i++) { file = (File) v.get(i); docGenerator = new GenerateHTMLDoc(jSDir, destDir, file.getName()); } System.out.println("Nmero de files .js: " + v.size()); for (int i = 0; i < v.size(); i++) { System.out.println(file.getName()); file = (File) v.get(i); fos.write(("<TR>" + LINE_SEPARATOR).getBytes()); fos.write(("<TD WIDTH='30%' BGCOLOR='#f3f3f3'><font face='Verdana'><b><a href='" + file.getName().substring(0, file.getName().indexOf(".")) + ".htm" + "'>" + file.getName() + "</a></b></font></TD>" + LINE_SEPARATOR).getBytes()); fos.write(("<TD WIDTH='70%'>" + LINE_SEPARATOR).getBytes()); try { fis = new FileInputStream(jSDir + file.getName()); br = new BufferedReader(new InputStreamReader(fis)); while (br.ready()) { stringReader = br.readLine(); if (null != stringReader && stringReader.indexOf("/**") != -1) { stringReader = br.readLine(); while (null != stringReader && stringReader.indexOf("*/") == -1) { if (stringReader.indexOf("* @") != -1) { if (stringReader.indexOf("summary") != -1) { fos.write((stringReader.substring(stringReader.indexOf("* @summary") + 11) + LINE_SEPARATOR).getBytes()); fos.write("<BR>".getBytes()); } } stringReader = br.readLine(); } } } } catch (FileNotFoundException fnfe) { fnfe.printStackTrace(); } fos.write(("</TD>" + LINE_SEPARATOR).getBytes()); fos.write(("</TR>" + LINE_SEPARATOR).getBytes()); } fos.write(("</TABLE>" + LINE_SEPARATOR).getBytes()); fos.write("</body>".getBytes()); fos.write("</html>".getBytes()); } catch (IOException ioe) { ioe.printStackTrace(); } } | 2719 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2719/126196823e95feaf8cf57c908ccd72f13da8c5a4/GenerateHTMLIndex.java/clean/scratchpad/forrestdoc/src/java/org/apache/forrest/forrestdoc/js/doc/GenerateHTMLIndex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6654,
4870,
1016,
12,
780,
525,
55,
1621,
16,
514,
26231,
13,
288,
3639,
309,
261,
78,
55,
1621,
422,
446,
13,
288,
5411,
604,
394,
18463,
2932,
78,
55,
1621,
1566,
848,
1404,
506,
1008,
8863,
3639,
289,
3639,
309,
261,
10488,
1621,
422,
446,
13,
288,
5411,
604,
394,
18463,
2932,
10488,
1621,
848,
1404,
506,
1008,
8863,
3639,
289,
3639,
309,
261,
4442,
4898,
18,
14963,
12,
78,
55,
1621,
18,
28023,
12,
78,
55,
1621,
18,
2469,
1435,
300,
404,
20349,
288,
5411,
525,
55,
1621,
273,
525,
55,
1621,
397,
4016,
31,
3639,
289,
3639,
309,
261,
4442,
4898,
18,
14963,
12,
10488,
1621,
18,
28023,
12,
10488,
1621,
18,
2469,
1435,
300,
404,
20349,
288,
5411,
26231,
273,
26231,
397,
4016,
31,
3639,
289,
3639,
585,
273,
394,
1387,
12,
78,
55,
1621,
1769,
3639,
18645,
273,
585,
18,
1098,
2697,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
18645,
18,
2469,
31,
277,
27245,
288,
5411,
309,
261,
768,
682,
63,
77,
8009,
17994,
7675,
31806,
2932,
18,
2924,
7923,
480,
300,
21,
13,
288,
7734,
331,
18,
1289,
1046,
12,
768,
682,
63,
77,
19226,
5411,
289,
3639,
289,
3639,
775,
288,
5411,
17615,
273,
394,
12942,
12,
10488,
1621,
397,
315,
1615,
18,
31180,
8863,
3639,
289,
1044,
261,
812,
3990,
2295,
3030,
13,
288,
5411,
775,
288,
7734,
585,
273,
394,
1387,
12,
10488,
1621,
1769,
7734,
585,
18,
26686,
5621,
7734,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6654,
4870,
1016,
12,
780,
525,
55,
1621,
16,
514,
26231,
13,
288,
3639,
309,
261,
78,
55,
1621,
422,
446,
13,
288,
5411,
604,
394,
18463,
2932,
78,
55,
1621,
1566,
848,
1404,
506,
1008,
8863,
3639,
289,
3639,
309,
261,
10488,
1621,
422,
446,
13,
288,
5411,
604,
394,
18463,
2932,
10488,
1621,
848,
1404,
506,
1008,
8863,
3639,
289,
3639,
309,
261,
4442,
4898,
18,
14963,
12,
78,
55,
1621,
18,
28023,
12,
78,
55,
1621,
18,
2469,
1435,
300,
404,
20349,
288,
5411,
525,
55,
1621,
273,
525,
55,
1621,
397,
4016,
31,
3639,
289,
3639,
309,
261,
4442,
4898,
18,
14963,
12,
10488,
1621,
18,
28023,
12,
10488,
1621,
18,
2469,
1435,
2
] |
generators.clear(); | holders.clear(); | public synchronized void clear() { generators.clear(); } | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/bc4b30e179e65afb080e3efad60ab70eb646b593/MessageIdGeneratorFactory.java/clean/src/main/org/jboss/jms/message/MessageIdGeneratorFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
3852,
918,
2424,
1435,
282,
288,
1377,
366,
4665,
18,
8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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
3852,
918,
2424,
1435,
282,
288,
1377,
366,
4665,
18,
8507,
5621,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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; | return; | private void toLDAPModifications() throws LDAPLocalException { int i, index; int fieldIndex = 2; // skip dn, control, and changetype field String attrName, opName; LDAPAttribute attr = null; ArrayList modList = new ArrayList(); if (!(this.rFields.get(this.fNumber-1)).toString(). equalsIgnoreCase("-") ) { throw new LDAPLocalException("com.novell.ldap.ldif_dsml." + "LDIFReader: modify record not ends with '-' in the record" + " starting on line " + this.dnlNumber + " of the file.", LDAPException.LOCAL_ERROR); } // populate the LDAPModification array object for (i=fieldIndex; i<this.fNumber; i++) { // find ':' that separate mod operation and attr name index = IndexOf((StringBuffer)this.rFields.get(i), ':'); if (index == -1) { // ':' not found throw new LDAPLocalException("com.novell.ldap.ldif_dsml." + "LDIFReader: malformed opName:attrName field in the record" + " starting on line " + this.dnlNumber + " of the file.", LDAPException.LOCAL_ERROR); } StringBuffer nextField = (StringBuffer)this.rFields.get(i); opName= nextField.substring(0, index); attrName= nextField.substring(index+1); i++; // point to attrName:attrValue field nextField = (StringBuffer)this.rFields.get(i); // build each LDAPModification object and add it to modList if (nextField.charAt(0)!='-') { // there is at least one attrName:attrValue field for ( ; nextField.charAt(0)!='-'; i++, nextField = (StringBuffer)this.rFields.get(i)) { // index separate attr name and attr value if ((index=IndexOf(nextField, ':')) == -1) { throw new LDAPLocalException("com.novell.ldap." + "ldif_dsml.LDIFReader : no ':' found in attrName:" + "attrValue field in the record starting on line " + this.dnlNumber + " of the file.", LDAPException.LOCAL_ERROR); } else { // compare attr names from opName:attrName // and attrName:attrValue fields String aName = nextField.substring(0, index); if (!aName.equalsIgnoreCase(attrName)) { throw new LDAPLocalException("com.novell.ldap." + "ldif_dsml.LDIFReader : found attribute name '" + aName + "', should be '" + attrName + "' in attrName:attrValue field in the record " + "starting on line " + this.dnlNumber + " of the file.", LDAPException.LOCAL_ERROR); } // create attr and add value to it attr = new LDAPAttribute(attrName); if (nextField.charAt(index+1)==':') { // base64 encoded attribute value attr.addBase64Value(nextField.substring(index+2)); } else if (nextField.charAt(index+1)=='<'){ // file URL attribute value attr.addBase64Value(nextField.substring(index+2)); } else { // string value attr.addValue(nextField.substring(index+1)); } if ( opName.equalsIgnoreCase("add") ) { modList.add( new LDAPModification( LDAPModification.ADD, attr)); } else if ( opName.equalsIgnoreCase("delete") ) { modList.add( new LDAPModification( LDAPModification.DELETE, attr)); } else if ( opName.equalsIgnoreCase("replace") ) { modList.add( new LDAPModification( LDAPModification.REPLACE, attr)); } else { throw new LDAPLocalException("com.novell.ldap." + "ldif_dsml.LDIFReader : Not supported modify " + " request (" + opName + ") specified in " + "record starting on line " + this.dnlNumber + " of the file.", LDAPException.LOCAL_ERROR); } } } } else { // there is no attribute value specified; this could be // true for 'delete' and 'replace' modify operation attr = new LDAPAttribute(attrName); if ( opName.equalsIgnoreCase("delete") ) { modList.add( new LDAPModification( LDAPModification.DELETE, attr)); } else if ( opName.equalsIgnoreCase("replace") ) { modList.add( new LDAPModification( LDAPModification.REPLACE, attr)); } else { throw new LDAPLocalException("com.novell.ldap.ldif_dsml." + "LDIFReader: For '" + opName + "', no value " + "specified for atribute '" + attrName + "' in the record starting on line " + this.dnlNumber + " of the file.", LDAPException.LOCAL_ERROR); } } } this.mods = new LDAPModification[modList.size()]; this.mods = (LDAPModification[])modList.toArray(this.mods); return; } | 9947 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9947/ba066957d1aef78f346873e842d4f157d63ed7d6/LDIFReader.java/buggy/com/novell/ldap/util/LDIFReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
358,
15496,
28340,
1435,
7734,
1216,
11916,
2042,
503,
565,
288,
3639,
509,
3639,
277,
16,
770,
31,
3639,
509,
3639,
31762,
273,
576,
31,
565,
368,
2488,
8800,
16,
3325,
16,
471,
9435,
5872,
652,
3639,
514,
377,
11583,
16,
1061,
461,
31,
3639,
11916,
1499,
1604,
273,
446,
31,
3639,
2407,
681,
682,
273,
394,
2407,
5621,
3639,
309,
16051,
12,
2211,
18,
86,
2314,
18,
588,
12,
2211,
18,
74,
1854,
17,
21,
13,
2934,
10492,
7675,
4766,
8227,
5939,
2932,
17,
7923,
262,
288,
5411,
604,
394,
11916,
2042,
503,
2932,
832,
18,
2135,
941,
80,
18,
14394,
18,
1236,
430,
67,
2377,
781,
1199,
5375,
397,
315,
48,
2565,
42,
2514,
30,
5612,
1409,
486,
3930,
598,
4014,
316,
326,
1409,
6,
5375,
397,
315,
5023,
603,
980,
315,
397,
333,
18,
5176,
80,
1854,
397,
315,
434,
326,
585,
1199,
16,
10792,
11916,
503,
18,
14922,
67,
3589,
1769,
3639,
289,
3639,
368,
6490,
326,
11916,
13467,
526,
733,
3639,
364,
261,
77,
33,
1518,
1016,
31,
277,
32,
2211,
18,
74,
1854,
31,
277,
27245,
288,
5411,
368,
1104,
3921,
716,
9004,
681,
1674,
471,
1604,
508,
5411,
770,
273,
3340,
951,
12443,
780,
1892,
13,
2211,
18,
86,
2314,
18,
588,
12,
77,
3631,
3921,
1769,
5411,
309,
261,
1615,
422,
300,
21,
13,
288,
368,
3921,
486,
1392,
7734,
604,
394,
11916,
2042,
503,
2932,
832,
18,
2135,
941,
80,
18,
14394,
18,
1236,
430,
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,
358,
15496,
28340,
1435,
7734,
1216,
11916,
2042,
503,
565,
288,
3639,
509,
3639,
277,
16,
770,
31,
3639,
509,
3639,
31762,
273,
576,
31,
565,
368,
2488,
8800,
16,
3325,
16,
471,
9435,
5872,
652,
3639,
514,
377,
11583,
16,
1061,
461,
31,
3639,
11916,
1499,
1604,
273,
446,
31,
3639,
2407,
681,
682,
273,
394,
2407,
5621,
3639,
309,
16051,
12,
2211,
18,
86,
2314,
18,
588,
12,
2211,
18,
74,
1854,
17,
21,
13,
2934,
10492,
7675,
4766,
8227,
5939,
2932,
17,
7923,
262,
288,
5411,
604,
394,
11916,
2042,
503,
2932,
832,
18,
2135,
941,
80,
18,
14394,
18,
1236,
430,
67,
2377,
781,
1199,
5375,
397,
315,
48,
2565,
42,
2514,
2
] |
public void statement() throws RecognitionException { FactTemplateDescr t = null; RuleDescr r = null; QueryDescr q = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:302:2: ( ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query ) ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query ) { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query ) int alt4=7; switch ( input.LA(1) ) { case 29: int LA4_1 = input.LA(2); if ( (LA4_1==30) ) { alt4=2; } else if ( (LA4_1==ID) ) { alt4=1; } else { NoViableAltException nvae = new NoViableAltException("302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query )", 4, 1, input); throw nvae; } break; case 33: alt4=3; break; case 30: alt4=4; break; case 37: alt4=5; break; case 38: alt4=6; break; case 35: alt4=7; break; default: NoViableAltException nvae = new NoViableAltException("302:2: ( import_statement | function_import_statement | global | function | t= template | r= rule | q= query )", 4, 0, input); throw nvae; } switch (alt4) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:302:4: import_statement { pushFollow(FOLLOW_import_statement_in_statement107); import_statement(); _fsp--; } break; case 2 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:303:10: function_import_statement { pushFollow(FOLLOW_function_import_statement_in_statement118); function_import_statement(); _fsp--; } break; case 3 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:304:4: global { pushFollow(FOLLOW_global_in_statement123); global(); _fsp--; } break; case 4 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:305:4: function { pushFollow(FOLLOW_function_in_statement128); function(); _fsp--; } break; case 5 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:306:10: t= template { pushFollow(FOLLOW_template_in_statement141); t=template(); _fsp--; this.packageDescr.addFactTemplate( t ); } break; case 6 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:307:4: r= rule { pushFollow(FOLLOW_rule_in_statement150); r=rule(); _fsp--; this.packageDescr.addRule( r ); } break; case 7 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:308:4: q= query { pushFollow(FOLLOW_query_in_statement160); q=query(); _fsp--; this.packageDescr.addRule( q ); } break; } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; } | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/6b34eb3854fdc06f31034567ebdf72ff28c6c11a/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3021,
1435,
1216,
9539,
288,
6647,
29057,
2283,
16198,
268,
273,
446,
31,
3639,
6781,
16198,
436,
273,
446,
31,
3639,
2770,
16198,
1043,
273,
446,
31,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
23,
3103,
30,
22,
30,
261,
261,
1930,
67,
11516,
571,
445,
67,
5666,
67,
11516,
571,
2552,
571,
445,
571,
268,
33,
1542,
571,
436,
33,
1720,
571,
1043,
33,
843,
262,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
23,
3103,
30,
22,
30,
261,
1930,
67,
11516,
571,
445,
67,
5666,
67,
11516,
571,
2552,
571,
445,
571,
268,
33,
1542,
571,
436,
33,
1720,
571,
1043,
33,
843,
262,
5411,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
23,
3103,
30,
22,
30,
261,
1930,
67,
11516,
571,
445,
67,
5666,
67,
11516,
571,
2552,
571,
445,
571,
268,
33,
1542,
571,
436,
33,
1720,
571,
1043,
33,
843,
262,
5411,
509,
3770,
24,
33,
27,
31,
5411,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
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,
3021,
1435,
1216,
9539,
288,
6647,
29057,
2283,
16198,
268,
273,
446,
31,
3639,
6781,
16198,
436,
273,
446,
31,
3639,
2770,
16198,
1043,
273,
446,
31,
3639,
775,
288,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
4683,
1695,
3341,
1695,
12215,
1695,
4936,
1695,
16483,
18,
75,
30,
23,
3103,
30,
22,
30,
261,
261,
1930,
67,
11516,
571,
445,
67,
5666,
67,
11516,
571,
2552,
571,
445,
571,
268,
33,
1542,
571,
436,
33,
1720,
571,
1043,
33,
843,
262,
262,
5411,
368,
463,
31027,
5206,
1695,
10649,
8464,
7482,
1695,
26133,
1695,
12215,
17,
9576,
1695,
4816,
1695,
5254,
1695,
2
] | ||
runningOrder[j] = vv; } } while (h != 1); | runningOrder[ j ] = vv; } } while ( h != 1 ); | private void mainSort() { int i, j, ss, sb; int[] runningOrder = new int[256]; int[] copy = new int[256]; boolean[] bigDone = new boolean[256]; int c1, c2; int numQSorted; /* In the various block-sized structures, live data runs from 0 to last+NUM_OVERSHOOT_BYTES inclusive. First, set up the overshoot area for block. */ // if (verbosity >= 4) fprintf ( stderr, " sort initialise ...\n" ); for (i = 0; i < NUM_OVERSHOOT_BYTES; i++) { block[last + i + 2] = block[(i % (last + 1)) + 1]; } for (i = 0; i <= last + NUM_OVERSHOOT_BYTES; i++) { quadrant[i] = 0; } block[0] = (char) (block[last + 1]); if (last < 4000) { /* Use simpleSort(), since the full sorting mechanism has quite a large constant overhead. */ for (i = 0; i <= last; i++) { zptr[i] = i; } firstAttempt = false; workDone = workLimit = 0; simpleSort(0, last, 0); } else { numQSorted = 0; for (i = 0; i <= 255; i++) { bigDone[i] = false; } for (i = 0; i <= 65536; i++) { ftab[i] = 0; } c1 = block[0]; for (i = 0; i <= last; i++) { c2 = block[i + 1]; ftab[(c1 << 8) + c2]++; c1 = c2; } for (i = 1; i <= 65536; i++) { ftab[i] += ftab[i - 1]; } c1 = block[1]; for (i = 0; i < last; i++) { c2 = block[i + 2]; j = (c1 << 8) + c2; c1 = c2; ftab[j]--; zptr[ftab[j]] = i; } j = ((block[last + 1]) << 8) + (block[1]); ftab[j]--; zptr[ftab[j]] = last; /* Now ftab contains the first loc of every small bucket. Calculate the running order, from smallest to largest big bucket. */ for (i = 0; i <= 255; i++) { runningOrder[i] = i; } { int vv; int h = 1; do { h = 3 * h + 1; } while (h <= 256); do { h = h / 3; for (i = h; i <= 255; i++) { vv = runningOrder[i]; j = i; while ((ftab[((runningOrder[j - h]) + 1) << 8] - ftab[(runningOrder[j - h]) << 8]) > (ftab[((vv) + 1) << 8] - ftab[(vv) << 8])) { runningOrder[j] = runningOrder[j - h]; j = j - h; if (j <= (h - 1)) { break; } } runningOrder[j] = vv; } } while (h != 1); } /* The main sorting loop. */ for (i = 0; i <= 255; i++) { /* Process big buckets, starting with the least full. */ ss = runningOrder[i]; /* Complete the big bucket [ss] by quicksorting any unsorted small buckets [ss, j]. Hopefully previous pointer-scanning phases have already completed many of the small buckets [ss, j], so we don't have to sort them at all. */ for (j = 0; j <= 255; j++) { sb = (ss << 8) + j; if (!((ftab[sb] & SETMASK) == SETMASK)) { int lo = ftab[sb] & CLEARMASK; int hi = (ftab[sb + 1] & CLEARMASK) - 1; if (hi > lo) { qSort3(lo, hi, 2); numQSorted += (hi - lo + 1); if (workDone > workLimit && firstAttempt) { return; } } ftab[sb] |= SETMASK; } } /* The ss big bucket is now done. Record this fact, and update the quadrant descriptors. Remember to update quadrants in the overshoot area too, if necessary. The "if (i < 255)" test merely skips this updating for the last bucket processed, since updating for the last bucket is pointless. */ bigDone[ss] = true; if (i < 255) { int bbStart = ftab[ss << 8] & CLEARMASK; int bbSize = (ftab[(ss + 1) << 8] & CLEARMASK) - bbStart; int shifts = 0; while ((bbSize >> shifts) > 65534) { shifts++; } for (j = 0; j < bbSize; j++) { int a2update = zptr[bbStart + j]; int qVal = (j >> shifts); quadrant[a2update] = qVal; if (a2update < NUM_OVERSHOOT_BYTES) { quadrant[a2update + last + 1] = qVal; } } if (!(((bbSize - 1) >> shifts) <= 65535)) { panic(); } } /* Now scan this big bucket so as to synthesise the sorted order for small buckets [t, ss] for all t != ss. */ for (j = 0; j <= 255; j++) { copy[j] = ftab[(j << 8) + ss] & CLEARMASK; } for (j = ftab[ss << 8] & CLEARMASK; j < (ftab[(ss + 1) << 8] & CLEARMASK); j++) { c1 = block[zptr[j]]; if (!bigDone[c1]) { zptr[copy[c1]] = zptr[j] == 0 ? last : zptr[j] - 1; copy[c1]++; } } for (j = 0; j <= 255; j++) { ftab[(j << 8) + ss] |= SETMASK; } } } } | 10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/CBZip2OutputStream.java/clean/src/main/java/org/codehaus/plexus/archiver/bzip2/CBZip2OutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2774,
4416,
1435,
288,
3639,
509,
277,
16,
525,
16,
5202,
16,
2393,
31,
3639,
509,
8526,
3549,
2448,
273,
394,
509,
63,
5034,
15533,
3639,
509,
8526,
1610,
273,
394,
509,
63,
5034,
15533,
3639,
1250,
8526,
5446,
7387,
273,
394,
1250,
63,
5034,
15533,
3639,
509,
276,
21,
16,
276,
22,
31,
3639,
509,
818,
53,
11739,
31,
3639,
1748,
1850,
657,
326,
11191,
1203,
17,
87,
1235,
12597,
16,
8429,
501,
7597,
1850,
628,
374,
358,
1142,
15,
6069,
67,
12959,
2664,
51,
1974,
67,
13718,
13562,
18,
225,
5783,
16,
1850,
444,
731,
326,
28327,
76,
1632,
5091,
364,
1203,
18,
3639,
1195,
3639,
368,
282,
309,
261,
16629,
8807,
1545,
1059,
13,
284,
1461,
261,
4514,
16,
315,
282,
1524,
21301,
1372,
64,
82,
6,
11272,
3639,
364,
261,
77,
273,
374,
31,
277,
411,
9443,
67,
12959,
2664,
51,
1974,
67,
13718,
31,
277,
27245,
288,
5411,
1203,
63,
2722,
397,
277,
397,
576,
65,
273,
1203,
63,
12,
77,
738,
261,
2722,
397,
404,
3719,
397,
404,
15533,
3639,
289,
3639,
364,
261,
77,
273,
374,
31,
277,
1648,
1142,
397,
9443,
67,
12959,
2664,
51,
1974,
67,
13718,
31,
277,
27245,
288,
5411,
9474,
6890,
63,
77,
65,
273,
374,
31,
3639,
289,
3639,
1203,
63,
20,
65,
273,
261,
3001,
13,
261,
2629,
63,
2722,
397,
404,
19226,
3639,
309,
261,
2722,
411,
1059,
3784,
13,
288,
5411,
1748,
2868,
2672,
4143,
4416,
9334,
3241,
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,
2774,
4416,
1435,
288,
3639,
509,
277,
16,
525,
16,
5202,
16,
2393,
31,
3639,
509,
8526,
3549,
2448,
273,
394,
509,
63,
5034,
15533,
3639,
509,
8526,
1610,
273,
394,
509,
63,
5034,
15533,
3639,
1250,
8526,
5446,
7387,
273,
394,
1250,
63,
5034,
15533,
3639,
509,
276,
21,
16,
276,
22,
31,
3639,
509,
818,
53,
11739,
31,
3639,
1748,
1850,
657,
326,
11191,
1203,
17,
87,
1235,
12597,
16,
8429,
501,
7597,
1850,
628,
374,
358,
1142,
15,
6069,
67,
12959,
2664,
51,
1974,
67,
13718,
13562,
18,
225,
5783,
16,
1850,
444,
731,
326,
28327,
76,
1632,
5091,
364,
1203,
18,
3639,
1195,
3639,
368,
282,
309,
261,
16629,
8807,
1545,
1059,
2
] |
newItem.setText(label); | String text = label; if (mnemonic != null) { } newItem.setText(text); | public void fill(Menu parent, int index) { if (command == null) { return; } MenuItem newItem = new MenuItem(parent, SWT.PUSH, index); newItem.setData(this); newItem.setEnabled(isEnabled()); newItem.setText(label); if (icon != null) { LocalResourceManager m = new LocalResourceManager(JFaceResources .getResources()); newItem.setImage(m.createImage(icon)); disposeOldImages(); localResourceManager = m; } newItem.addListener(SWT.Dispose, getItemListener()); newItem.addListener(SWT.Selection, getItemListener()); widget = newItem; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/bfd6eb25a2e56f373b64dbce6d194d946bbcc597/CommandContributionItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/menus/CommandContributionItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3636,
12,
4599,
982,
16,
509,
770,
13,
288,
202,
202,
430,
261,
3076,
422,
446,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
12958,
26536,
273,
394,
25085,
12,
2938,
16,
348,
8588,
18,
30348,
16,
770,
1769,
202,
202,
2704,
1180,
18,
542,
751,
12,
2211,
1769,
202,
202,
2704,
1180,
18,
542,
1526,
12,
291,
1526,
10663,
202,
202,
2704,
1180,
18,
542,
1528,
12,
1925,
1769,
202,
202,
430,
261,
3950,
480,
446,
13,
288,
1082,
202,
2042,
1420,
1318,
312,
273,
394,
3566,
1420,
1318,
12,
46,
11824,
3805,
6862,
202,
18,
588,
3805,
10663,
1082,
202,
2704,
1180,
18,
542,
2040,
12,
81,
18,
2640,
2040,
12,
3950,
10019,
1082,
202,
2251,
4150,
7617,
8946,
5621,
1082,
202,
3729,
1420,
1318,
273,
312,
31,
202,
202,
97,
202,
202,
2704,
1180,
18,
1289,
2223,
12,
55,
8588,
18,
1669,
4150,
16,
8143,
2223,
10663,
202,
202,
2704,
1180,
18,
1289,
2223,
12,
55,
8588,
18,
6233,
16,
8143,
2223,
10663,
202,
202,
6587,
273,
26536,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3636,
12,
4599,
982,
16,
509,
770,
13,
288,
202,
202,
430,
261,
3076,
422,
446,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
12958,
26536,
273,
394,
25085,
12,
2938,
16,
348,
8588,
18,
30348,
16,
770,
1769,
202,
202,
2704,
1180,
18,
542,
751,
12,
2211,
1769,
202,
202,
2704,
1180,
18,
542,
1526,
12,
291,
1526,
10663,
202,
202,
2704,
1180,
18,
542,
1528,
12,
1925,
1769,
202,
202,
430,
261,
3950,
480,
446,
13,
288,
1082,
202,
2042,
1420,
1318,
312,
273,
394,
3566,
1420,
1318,
12,
46,
11824,
3805,
6862,
202,
18,
588,
3805,
10663,
1082,
202,
2704,
1180,
18,
542,
2040,
12,
81,
18,
2640,
2040,
2
] |
m_configResource.getFile(); | public void afterPropertiesSet() throws Exception { Assert.notNull(m_configResource, "The configurationDir property must be set"); // ensure that this is a file resource since we need to save to it m_configResource.getFile(); if (m_configResource.exists()) { m_settings = PropertiesLoaderUtils.loadProperties(m_configResource); } else { m_settings = new Properties(); } } | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/28fcbd1419872458b41d8e660e4d559f834c72b0/DefaultPollerSettings.java/clean/opennms-services/src/main/java/org/opennms/netmgt/poller/remote/support/DefaultPollerSettings.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1839,
2297,
694,
1435,
1216,
1185,
288,
3639,
5452,
18,
902,
2041,
12,
81,
67,
1425,
1420,
16,
315,
1986,
1664,
1621,
1272,
1297,
506,
444,
8863,
3639,
368,
3387,
716,
333,
353,
279,
585,
1058,
3241,
732,
1608,
358,
1923,
358,
518,
8227,
309,
261,
81,
67,
1425,
1420,
18,
1808,
10756,
288,
5411,
312,
67,
4272,
273,
6183,
2886,
1989,
18,
945,
2297,
12,
81,
67,
1425,
1420,
1769,
3639,
289,
469,
288,
5411,
312,
67,
4272,
273,
394,
6183,
5621,
3639,
289,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1839,
2297,
694,
1435,
1216,
1185,
288,
3639,
5452,
18,
902,
2041,
12,
81,
67,
1425,
1420,
16,
315,
1986,
1664,
1621,
1272,
1297,
506,
444,
8863,
3639,
368,
3387,
716,
333,
353,
279,
585,
1058,
3241,
732,
1608,
358,
1923,
358,
518,
8227,
309,
261,
81,
67,
1425,
1420,
18,
1808,
10756,
288,
5411,
312,
67,
4272,
273,
6183,
2886,
1989,
18,
945,
2297,
12,
81,
67,
1425,
1420,
1769,
3639,
289,
469,
288,
5411,
312,
67,
4272,
273,
394,
6183,
5621,
3639,
289,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
throw new TransitiveArtifactResolutionException( "Error retrieving metadata [" + newArtifact + "] : ", e ); | throw new TransitiveArtifactResolutionException( "Error retrieving metadata [" + newArtifact + "] : ", e ); | private ArtifactResolutionResult collect( Set artifacts, ArtifactRepository localRepository, List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter ) throws TransitiveArtifactResolutionException { ArtifactResolutionResult result = new ArtifactResolutionResult(); Map resolvedArtifacts = new HashMap(); List queue = new LinkedList(); queue.add( artifacts ); while ( !queue.isEmpty() ) { Set currentArtifacts = (Set) queue.remove( 0 ); for ( Iterator i = currentArtifacts.iterator(); i.hasNext(); ) { Artifact newArtifact = (Artifact) i.next(); String id = newArtifact.getConflictId(); if ( resolvedArtifacts.containsKey( id ) ) { Artifact knownArtifact = (Artifact) resolvedArtifacts.get( id ); String newVersion = newArtifact.getVersion(); String knownVersion = knownArtifact.getVersion(); if ( !newVersion.equals( knownVersion ) ) { addConflict( result, knownArtifact, newArtifact ); } } else { // ---------------------------------------------------------------------- // It's the first time we have encountered this artifact // ---------------------------------------------------------------------- if ( filter != null && !filter.include( newArtifact ) ) { continue; } resolvedArtifacts.put( id, newArtifact ); Set referencedDependencies = null; try { referencedDependencies = source.retrieve( newArtifact, localRepository, remoteRepositories ); } catch ( ArtifactMetadataRetrievalException e ) { throw new TransitiveArtifactResolutionException( "Error retrieving metadata [" + newArtifact + "] : ", e ); } // the pom for given dependency exisit we will add it to the // queue queue.add( referencedDependencies ); } } } // ---------------------------------------------------------------------- // the dependencies list is keyed by groupId+artifactId+type // so it must be 'rekeyed' to the complete id: // groupId+artifactId+type+version // ---------------------------------------------------------------------- Map artifactResult = result.getArtifacts(); for ( Iterator it = resolvedArtifacts.values().iterator(); it.hasNext(); ) { Artifact artifact = (Artifact) it.next(); try { setLocalRepositoryPath( artifact, localRepository ); } catch ( ArtifactHandlerNotFoundException e ) { throw new TransitiveArtifactResolutionException( "Error collecting artifact: ", e ); } artifactResult.put( artifact.getId(), artifact ); } return result; } | 11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/2628261b753a53f56863a5c0150994135148bbbe/DefaultArtifactResolver.java/buggy/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
14022,
11098,
1253,
3274,
12,
1000,
16259,
16,
14022,
3305,
1191,
3305,
16,
3639,
987,
2632,
18429,
16,
14022,
2277,
1830,
1084,
16,
14022,
1586,
1034,
262,
3639,
1216,
2604,
3720,
7581,
11098,
503,
565,
288,
3639,
14022,
11098,
1253,
563,
273,
394,
14022,
11098,
1253,
5621,
3639,
1635,
4640,
16981,
273,
394,
4317,
5621,
3639,
987,
2389,
273,
394,
10688,
5621,
3639,
2389,
18,
1289,
12,
16259,
11272,
3639,
1323,
261,
401,
4000,
18,
291,
1921,
1435,
262,
3639,
288,
5411,
1000,
783,
16981,
273,
261,
694,
13,
2389,
18,
4479,
12,
374,
11272,
5411,
364,
261,
4498,
277,
273,
783,
16981,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
5411,
288,
7734,
14022,
394,
7581,
273,
261,
7581,
13,
277,
18,
4285,
5621,
7734,
514,
612,
273,
394,
7581,
18,
588,
10732,
548,
5621,
7734,
309,
261,
4640,
16981,
18,
12298,
653,
12,
612,
262,
262,
7734,
288,
10792,
14022,
4846,
7581,
273,
261,
7581,
13,
4640,
16981,
18,
588,
12,
612,
11272,
10792,
514,
28906,
273,
394,
7581,
18,
588,
1444,
5621,
10792,
514,
4846,
1444,
273,
4846,
7581,
18,
588,
1444,
5621,
10792,
309,
261,
401,
2704,
1444,
18,
14963,
12,
4846,
1444,
262,
262,
10792,
288,
13491,
527,
10732,
12,
563,
16,
4846,
7581,
16,
394,
7581,
11272,
10792,
289,
7734,
289,
7734,
469,
7734,
288,
10792,
368,
8879,
13465,
10792,
368,
2597,
1807,
326,
1122,
813,
732,
1240,
9919,
333,
6462,
10792,
368,
8879,
13465,
10792,
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,
377,
3238,
14022,
11098,
1253,
3274,
12,
1000,
16259,
16,
14022,
3305,
1191,
3305,
16,
3639,
987,
2632,
18429,
16,
14022,
2277,
1830,
1084,
16,
14022,
1586,
1034,
262,
3639,
1216,
2604,
3720,
7581,
11098,
503,
565,
288,
3639,
14022,
11098,
1253,
563,
273,
394,
14022,
11098,
1253,
5621,
3639,
1635,
4640,
16981,
273,
394,
4317,
5621,
3639,
987,
2389,
273,
394,
10688,
5621,
3639,
2389,
18,
1289,
12,
16259,
11272,
3639,
1323,
261,
401,
4000,
18,
291,
1921,
1435,
262,
3639,
288,
5411,
1000,
783,
16981,
273,
261,
694,
13,
2389,
18,
4479,
12,
374,
11272,
5411,
364,
261,
4498,
277,
273,
783,
16981,
18,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
5411,
288,
7734,
14022,
394,
2
] |
int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * (table.getRowHeight()+table.getRowMargin()); return new Dimension(width, height); | int prefTotalColumnWidth = 0; for (int i = 0; i < table.getColumnCount(); i++) { TableColumn col = table.getColumnModel().getColumn(i); prefTotalColumnWidth += col.getPreferredWidth(); } return new Dimension(prefTotalColumnWidth, getHeight()); | public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * (table.getRowHeight()+table.getRowMargin()); return new Dimension(width, height); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/53983e95556bf4b775130b06570aa2ea08d85628/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
12822,
4193,
1225,
12,
46,
1841,
1161,
13,
282,
288,
565,
509,
1835,
273,
1014,
18,
588,
1494,
1488,
7675,
588,
5269,
1494,
2384,
5621,
565,
509,
2072,
273,
1014,
18,
588,
26359,
1435,
380,
261,
2121,
18,
588,
1999,
2686,
1435,
15,
2121,
18,
588,
1999,
9524,
10663,
565,
327,
394,
13037,
12,
2819,
16,
2072,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
12822,
4193,
1225,
12,
46,
1841,
1161,
13,
282,
288,
565,
509,
1835,
273,
1014,
18,
588,
1494,
1488,
7675,
588,
5269,
1494,
2384,
5621,
565,
509,
2072,
273,
1014,
18,
588,
26359,
1435,
380,
261,
2121,
18,
588,
1999,
2686,
1435,
15,
2121,
18,
588,
1999,
9524,
10663,
565,
327,
394,
13037,
12,
2819,
16,
2072,
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
] |
buttons.add(Box.createGlue()); add = new JButton(jEdit.getProperty("options.abbrevs.add")); | add = new RolloverButton(GUIUtilities.loadIcon("Plus.png")); add.setToolTipText(jEdit.getProperty("options.abbrevs.add")); | protected void _init() { setLayout(new BorderLayout()); JPanel panel = new JPanel(new BorderLayout(6,6)); expandOnInput = new JCheckBox(jEdit.getProperty("options.abbrevs" + ".expandOnInput"),Abbrevs.getExpandOnInput()); panel.add(expandOnInput,BorderLayout.NORTH); JPanel panel2 = new JPanel(); panel2.setLayout(new BoxLayout(panel2,BoxLayout.X_AXIS)); panel2.setBorder(new EmptyBorder(0,0,6,0)); panel2.add(Box.createGlue()); JLabel label = new JLabel(jEdit.getProperty("options.abbrevs.set")); label.setBorder(new EmptyBorder(0,0,0,12)); panel2.add(label); Hashtable _modeAbbrevs = Abbrevs.getModeAbbrevs(); modeAbbrevs = new Hashtable(); Mode[] modes = jEdit.getModes(); String[] sets = new String[modes.length + 1]; sets[0] = "global"; for(int i = 0; i < modes.length; i++) { String name = modes[i].getName(); sets[i+1] = name; modeAbbrevs.put(name,new AbbrevsModel((Hashtable)_modeAbbrevs.get(name))); } setsComboBox = new JComboBox(sets); ActionHandler actionHandler = new ActionHandler(); setsComboBox.addActionListener(actionHandler); panel2.add(setsComboBox); panel2.add(Box.createGlue()); panel.add(panel2,BorderLayout.SOUTH); add(BorderLayout.NORTH,panel); globalAbbrevs = new AbbrevsModel(Abbrevs.getGlobalAbbrevs()); abbrevsTable = new JTable(globalAbbrevs); abbrevsTable.getColumnModel().getColumn(1).setCellRenderer( new Renderer()); abbrevsTable.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS); abbrevsTable.getTableHeader().setReorderingAllowed(false); abbrevsTable.getTableHeader().addMouseListener(new HeaderMouseHandler()); abbrevsTable.getSelectionModel().addListSelectionListener( new SelectionHandler()); abbrevsTable.addMouseListener(new TableMouseHandler()); Dimension d = abbrevsTable.getPreferredSize(); d.height = Math.min(d.height,200); JScrollPane scroller = new JScrollPane(abbrevsTable); scroller.setPreferredSize(d); add(BorderLayout.CENTER,scroller); JPanel buttons = new JPanel(); buttons.setLayout(new BoxLayout(buttons,BoxLayout.X_AXIS)); buttons.setBorder(new EmptyBorder(6,0,0,0)); buttons.add(Box.createGlue()); add = new JButton(jEdit.getProperty("options.abbrevs.add")); add.addActionListener(actionHandler); buttons.add(add); buttons.add(Box.createHorizontalStrut(6)); edit = new JButton(jEdit.getProperty("options.abbrevs.edit")); edit.addActionListener(actionHandler); buttons.add(edit); buttons.add(Box.createHorizontalStrut(6)); remove = new JButton(jEdit.getProperty("options.abbrevs.remove")); remove.addActionListener(actionHandler); buttons.add(remove); buttons.add(Box.createGlue()); add(BorderLayout.SOUTH,buttons); updateEnabled(); } //}}} | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/5f34288ccd67fa22f1e587d746ebca6c12fa4323/AbbrevsOptionPane.java/buggy/org/gjt/sp/jedit/options/AbbrevsOptionPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
389,
2738,
1435,
202,
95,
202,
202,
542,
3744,
12,
2704,
30814,
10663,
202,
202,
46,
5537,
6594,
273,
394,
24048,
12,
2704,
30814,
12,
26,
16,
26,
10019,
202,
202,
12320,
1398,
1210,
273,
394,
804,
19174,
12,
78,
4666,
18,
588,
1396,
2932,
2116,
18,
378,
6073,
6904,
6,
1082,
202,
15,
3552,
12320,
1398,
1210,
6,
3631,
5895,
6073,
6904,
18,
588,
12271,
1398,
1210,
10663,
202,
202,
13916,
18,
1289,
12,
12320,
1398,
1210,
16,
8107,
3744,
18,
50,
28212,
1769,
202,
202,
46,
5537,
6594,
22,
273,
394,
24048,
5621,
202,
202,
13916,
22,
18,
542,
3744,
12,
2704,
8549,
3744,
12,
13916,
22,
16,
3514,
3744,
18,
60,
67,
25614,
10019,
202,
202,
13916,
22,
18,
542,
8107,
12,
2704,
8953,
8107,
12,
20,
16,
20,
16,
26,
16,
20,
10019,
202,
202,
13916,
22,
18,
1289,
12,
3514,
18,
2640,
21308,
344,
10663,
202,
202,
46,
2224,
1433,
273,
394,
21403,
12,
78,
4666,
18,
588,
1396,
2932,
2116,
18,
378,
6073,
6904,
18,
542,
7923,
1769,
202,
202,
1925,
18,
542,
8107,
12,
2704,
8953,
8107,
12,
20,
16,
20,
16,
20,
16,
2138,
10019,
202,
202,
13916,
22,
18,
1289,
12,
1925,
1769,
202,
202,
5582,
14544,
389,
3188,
5895,
6073,
6904,
273,
9771,
6073,
6904,
18,
588,
2309,
5895,
6073,
6904,
5621,
202,
202,
3188,
5895,
6073,
6904,
273,
394,
18559,
5621,
202,
202,
2309,
8526,
12382,
273,
525,
4666,
18,
588,
18868,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
389,
2738,
1435,
202,
95,
202,
202,
542,
3744,
12,
2704,
30814,
10663,
202,
202,
46,
5537,
6594,
273,
394,
24048,
12,
2704,
30814,
12,
26,
16,
26,
10019,
202,
202,
12320,
1398,
1210,
273,
394,
804,
19174,
12,
78,
4666,
18,
588,
1396,
2932,
2116,
18,
378,
6073,
6904,
6,
1082,
202,
15,
3552,
12320,
1398,
1210,
6,
3631,
5895,
6073,
6904,
18,
588,
12271,
1398,
1210,
10663,
202,
202,
13916,
18,
1289,
12,
12320,
1398,
1210,
16,
8107,
3744,
18,
50,
28212,
1769,
202,
202,
46,
5537,
6594,
22,
273,
394,
24048,
5621,
202,
202,
13916,
22,
18,
542,
3744,
12,
2704,
8549,
3744,
12,
13916,
22,
16,
3514,
3744,
18,
60,
67,
2
] |
if (totalSkeletons.size() != 0) { System.out.println("Total Skeletons" + totalSkeletons); } | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); UOption.parseArgs(args, options); if (options[HELP1].doesOccur || options[HELP2].doesOccur) { System.out.println(HELP_TEXT); return; } checkSuboptions(options[FIX], allFixOptions); checkSuboptions(options[JOIN_ARGS], allMergeOptions); //String sourceDir = "C:\\ICU4C\\locale\\common\\main\\"; String mergeDir = options[JOIN].value; // Utility.COMMON_DIRECTORY + "main/"; String sourceDir = options[SOURCEDIR].value; // Utility.COMMON_DIRECTORY + "main/"; String targetDir = options[DESTDIR].value; // Utility.GEN_DIRECTORY + "main/"; boolean makeResolved = options[RESOLVE].doesOccur; // Utility.COMMON_DIRECTORY + "main/"; Log.setLog(targetDir + "log.txt"); try { //String[] failureLines = new String[2]; SimpleLineComparator lineComparer = new SimpleLineComparator( //SimpleLineComparator.SKIP_SPACES + SimpleLineComparator.TRIM + SimpleLineComparator.SKIP_EMPTY + SimpleLineComparator.SKIP_CVS_TAGS); Factory cldrFactory = Factory.make(sourceDir, ".*"); if (options[VET_ADD].doesOccur) { VettingAdder va = new VettingAdder(options[VET_ADD].value); va.showFiles(cldrFactory, targetDir); return; } //testMinimize(cldrFactory); //if (true) return; Factory mergeFactory = null; String join_prefix = "", join_postfix = ""; if (options[JOIN].doesOccur) { File temp = new File(mergeDir); mergeDir = temp.getParent() + File.separator; String filename = temp.getName(); join_prefix = join_postfix = ""; int pos = filename.indexOf("*"); if (pos >= 0) { join_prefix = filename.substring(0,pos); join_postfix = filename.substring(pos+1); } mergeFactory = Factory.make(mergeDir, ".*"); } /* Factory cldrFactory = Factory.make(sourceDir, ".*"); Set testSet = cldrFactory.getAvailable(); String[] quicktest = new String[] { "de" //"ar", "dz_BT", // "sv", "en", "de" }; if (quicktest.length > 0) { testSet = new TreeSet(Arrays.asList(quicktest)); } */ Set locales = new TreeSet(cldrFactory.getAvailable()); if (mergeFactory != null) { Set temp = new TreeSet(mergeFactory.getAvailable()); Set locales3 = new TreeSet(); for (Iterator it = temp.iterator(); it.hasNext();) { String locale = (String)it.next(); if (!locale.startsWith(join_prefix) || !locale.endsWith(join_postfix)) continue; locales3.add(locale.substring(join_prefix.length(), locale.length() - join_postfix.length())); } locales.retainAll(locales3); System.out.println("Merging: " + locales3); } new Utility.MatcherFilter(options[MATCH].value).retainAll(locales); for (Iterator it = locales.iterator(); it.hasNext();) { String test = (String) it.next(); //testJavaSemantics(); // TODO parameterize the directory and filter //System.out.println("C:\\ICU4C\\locale\\common\\main\\fr.xml"); CLDRFile k = (CLDRFile) cldrFactory.make(test, makeResolved).cloneAsThawed();// System.out.println(k);// String s1 = "//ldml/segmentations/segmentation[@type=\"LineBreak\"]/variables/variable[@_q=\"0061\"][@id=\"$CB\"] ";// String s2 = "//ldml/segmentations/segmentation[@type=\"LineBreak\"]/variables/variable[@_q=\"003A\"][@id=\"$CB\"]";// System.out.println(k.ldmlComparator.compare(s1, s2)); if (mergeFactory != null) { int mergeOption = k.MERGE_ADD_ALTERNATE; CLDRFile toMergeIn = (CLDRFile) mergeFactory.make(join_prefix + test + join_postfix, false).cloneAsThawed(); if (toMergeIn != null) { if (options[JOIN_ARGS].doesOccur) { if (options[JOIN_ARGS].value.indexOf("r") >= 0) mergeOption = k.MERGE_REPLACE_MY_DRAFT; if (options[JOIN_ARGS].value.indexOf("c") >= 0) toMergeIn.clearComments(); if (options[JOIN_ARGS].value.indexOf("x") >= 0) removePosix(toMergeIn); } if (mergeOption == k.MERGE_ADD_ALTERNATE) toMergeIn.makeDraft(); k.putAll(toMergeIn, mergeOption); } // special fix k.removeComment(" The following are strings that are not found in the locale (currently), but need valid translations for localizing timezones. "); } if (options[FIX].doesOccur) { fix(k, options[FIX].value.toLowerCase(), cldrFactory); } if (options[MINIMIZE].doesOccur) { // TODO, fix identity String parent = CLDRFile.getParent(test); if (parent != null) { CLDRFile toRemove = cldrFactory.make(parent, true); k.removeDuplicates(toRemove, COMMENT_REMOVALS); } } //System.out.println(CLDRFile.getAttributeOrder()); /*if (false) { Map tempComments = k.getXpath_comments(); for (Iterator it2 = tempComments.keySet().iterator(); it2.hasNext();) { String key = (String) it2.next(); String comment = (String) tempComments.get(key); Log.logln("Writing extra comment: " + key); System.out.println(key + "\t comment: " + comment); } }*/ PrintWriter pw = BagFormatter.openUTF8Writer(targetDir, test + ".xml"); String testPath = "//ldml/dates/calendars/calendar[@type=\"persian\"]/months/monthContext[@type=\"format\"]/monthWidth[@type=\"abbreviated\"]/month[@type=\"1\"]"; if (false) { System.out.println("Printing Raw File:"); testPath = "//ldml/dates/calendars/calendar[@type=\"persian\"]/months/monthContext[@type=\"format\"]/monthWidth[@type=\"abbreviated\"]/alias"; System.out.println(k.getStringValue(testPath)); //System.out.println(k.getFullXPath(testPath)); Iterator it4 = k.iterator(); Set s = (Set)CollectionUtilities.addAll(it4, new TreeSet()); System.out.println(k.getStringValue(testPath)); //if (true) return; Set orderedSet = new TreeSet(CLDRFile.ldmlComparator); CollectionUtilities.addAll(k.iterator(), orderedSet); for (Iterator it3 = orderedSet.iterator(); it3.hasNext();) { String path = (String) it3.next(); //System.out.println(path); if (path.equals(testPath)) { System.out.println("huh?"); } String value = k.getStringValue(path); String fullpath = k.getFullXPath(path); System.out.println("\t=\t" + fullpath); System.out.println("\t=\t" + value); } System.out.println("Done Printing Raw File:"); } k.write(pw); pw.println(); pw.close(); Utility.generateBat(sourceDir, test + ".xml", targetDir, test + ".xml", lineComparer); if (totalSkeletons.size() != 0) { System.out.println("Total Skeletons" + totalSkeletons); } /* boolean ok = Utility.areFileIdentical(sourceDir + test + ".xml", targetDir + test + ".xml", failureLines, Utility.TRIM + Utility.SKIP_SPACES); if (!ok) { System.out.println("Found differences at: "); System.out.println("\t" + failureLines[0]); System.out.println("\t" + failureLines[1]); } */ } } finally { Log.close(); System.out.println("Done -- Elapsed time: " + ((System.currentTimeMillis() - startTime)/60000.0) + " minutes"); } } | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/057bb5a6c887e593a125484307800253a4dd03ca/CLDRModify.java/clean/tools/java/org/unicode/cldr/tool/CLDRModify.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
202,
202,
5748,
8657,
273,
2332,
18,
2972,
28512,
5621,
3639,
587,
1895,
18,
2670,
2615,
12,
1968,
16,
702,
1769,
3639,
309,
261,
2116,
63,
27396,
21,
8009,
20657,
12397,
747,
702,
63,
27396,
22,
8009,
20657,
12397,
13,
288,
540,
202,
3163,
18,
659,
18,
8222,
12,
27396,
67,
5151,
1769,
540,
202,
2463,
31,
3639,
289,
3639,
866,
1676,
2116,
12,
2116,
63,
4563,
6487,
777,
8585,
1320,
1769,
3639,
866,
1676,
2116,
12,
2116,
63,
18800,
67,
22439,
6487,
777,
6786,
1320,
1769,
202,
202,
759,
780,
26844,
273,
315,
39,
31027,
2871,
57,
24,
39,
1695,
6339,
1695,
6054,
1695,
5254,
1695,
14432,
202,
202,
780,
2691,
1621,
273,
702,
63,
18800,
8009,
1132,
31,
202,
759,
13134,
18,
4208,
17667,
67,
17229,
397,
315,
5254,
4898,
31,
202,
202,
780,
26844,
273,
702,
63,
6537,
4537,
8009,
1132,
31,
202,
759,
13134,
18,
4208,
17667,
67,
17229,
397,
315,
5254,
4898,
31,
202,
202,
780,
19410,
273,
702,
63,
1639,
882,
4537,
8009,
1132,
31,
202,
759,
13134,
18,
16652,
67,
17229,
397,
315,
5254,
4898,
31,
202,
202,
6494,
1221,
12793,
273,
702,
63,
17978,
3412,
8009,
20657,
12397,
31,
202,
759,
13134,
18,
4208,
17667,
67,
17229,
397,
315,
5254,
4898,
31,
9506,
202,
1343,
18,
542,
1343,
12,
3299,
1621,
397,
315,
1330,
18,
5830,
8863,
202,
202,
698,
288,
202,
202,
759,
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,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
202,
202,
5748,
8657,
273,
2332,
18,
2972,
28512,
5621,
3639,
587,
1895,
18,
2670,
2615,
12,
1968,
16,
702,
1769,
3639,
309,
261,
2116,
63,
27396,
21,
8009,
20657,
12397,
747,
702,
63,
27396,
22,
8009,
20657,
12397,
13,
288,
540,
202,
3163,
18,
659,
18,
8222,
12,
27396,
67,
5151,
1769,
540,
202,
2463,
31,
3639,
289,
3639,
866,
1676,
2116,
12,
2116,
63,
4563,
6487,
777,
8585,
1320,
1769,
3639,
866,
1676,
2116,
12,
2116,
63,
18800,
67,
22439,
6487,
777,
6786,
1320,
1769,
202,
202,
759,
780,
26844,
273,
315,
39,
31027,
2871,
57,
24,
39,
1695,
6339,
1695,
6054,
1695,
2
] | |
makePathLoadable(path.getParent(), container.getDeclaredFetchedPaths()); | makePathLoadable(map, path.getParent(), container.getDeclaredFetchedPaths()); | private void addDefaultProperties(Path path) { ObjectType type = getType(path); addFetchedPaths(path, type); if (!isSource(path)) { Root root = type.getRoot(); Property prop = getProperty(path); // assume that path.getParent() is keyed ObjectMap container = root.getObjectMap(prop.getContainer()); if (container != null) { makePathLoadable(path.getParent(), container.getDeclaredFetchedPaths()); } } } | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/26925610c87ce9964c612185670732829234ccb1/Signature.java/buggy/archive/eng/src/com/redhat/persistence/Signature.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
28297,
2297,
12,
743,
589,
13,
288,
3639,
21338,
618,
273,
3130,
12,
803,
1769,
3639,
527,
30771,
4466,
12,
803,
16,
618,
1769,
3639,
309,
16051,
291,
1830,
12,
803,
3719,
288,
5411,
7450,
1365,
273,
618,
18,
588,
2375,
5621,
5411,
4276,
2270,
273,
3911,
12,
803,
1769,
5411,
368,
6750,
716,
589,
18,
588,
3054,
1435,
353,
17408,
5411,
1033,
863,
1478,
273,
1365,
18,
588,
921,
863,
12,
5986,
18,
588,
2170,
10663,
5411,
309,
261,
3782,
480,
446,
13,
288,
7734,
1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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
28297,
2297,
12,
743,
589,
13,
288,
3639,
21338,
618,
273,
3130,
12,
803,
1769,
3639,
527,
30771,
4466,
12,
803,
16,
618,
1769,
3639,
309,
16051,
291,
1830,
12,
803,
3719,
288,
5411,
7450,
1365,
273,
618,
18,
588,
2375,
5621,
5411,
4276,
2270,
273,
3911,
12,
803,
1769,
5411,
368,
6750,
716,
589,
18,
588,
3054,
1435,
353,
17408,
5411,
1033,
863,
1478,
273,
1365,
18,
588,
921,
863,
12,
5986,
18,
588,
2170,
10663,
5411,
309,
261,
3782,
480,
446,
13,
288,
7734,
1221,
743,
2563,
429,
12,
1458,
16,
589,
18,
588,
3054,
9334,
1478,
18,
588,
18888,
30771,
4466,
10663,
5411,
289,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100
] |
workbenchWindow = window; | this.site = site; | public OperationHistoryActionHandler(IWorkbenchWindow window, IUndoContext context) { // string will be reset inside action super(""); //$NON-NLS-1$ workbenchWindow = window; undoContext = context; getHistory().addOperationHistoryListener(this); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c5bc2e0c8b2f8ab5abdf74d2c30f8849d1acac3e/OperationHistoryActionHandler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/OperationHistoryActionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4189,
5623,
1803,
1503,
12,
45,
2421,
22144,
3829,
2742,
16,
1082,
202,
45,
31224,
1042,
819,
13,
288,
202,
202,
759,
533,
903,
506,
2715,
4832,
1301,
202,
202,
9565,
2932,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1252,
22144,
3829,
273,
2742,
31,
202,
202,
31226,
1042,
273,
819,
31,
202,
202,
588,
5623,
7675,
1289,
2988,
5623,
2223,
12,
2211,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4189,
5623,
1803,
1503,
12,
45,
2421,
22144,
3829,
2742,
16,
1082,
202,
45,
31224,
1042,
819,
13,
288,
202,
202,
759,
533,
903,
506,
2715,
4832,
1301,
202,
202,
9565,
2932,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
1252,
22144,
3829,
273,
2742,
31,
202,
202,
31226,
1042,
273,
819,
31,
202,
202,
588,
5623,
7675,
1289,
2988,
5623,
2223,
12,
2211,
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
] |
if (connection.haveMinimumCompatibleVersion("7.2")) { | } else if (connection.haveMinimumCompatibleVersion("7.2")) { | public byte[] getBytes(int columnIndex) throws SQLException { if (columnIndex < 1 || columnIndex > fields.length) throw new PSQLException("postgresql.res.colrange"); //If the data is already binary then just return it if (binaryCursor) return this_row[columnIndex - 1]; if (connection.haveMinimumCompatibleVersion("7.2")) { //Version 7.2 supports the bytea datatype for byte arrays return PGbytea.toBytes(getString(columnIndex)); } else { //Version 7.1 and earlier supports LargeObjects for byte arrays wasNullFlag = (this_row[columnIndex - 1] == null); // Handle OID's as BLOBS if (!wasNullFlag) { if ( fields[columnIndex - 1].getOID() == 26) { LargeObjectManager lom = connection.getLargeObjectAPI(); LargeObject lob = lom.open(getInt(columnIndex)); byte buf[] = lob.read(lob.size()); lob.close(); return buf; } } } return null; } | 46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/512a3aef36591386640f34866c1acbe58c20ca6e/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1160,
8526,
8425,
12,
474,
14882,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
2827,
1016,
411,
404,
747,
14882,
405,
1466,
18,
2469,
13,
1082,
202,
12849,
394,
453,
23116,
2932,
2767,
24330,
18,
455,
18,
1293,
3676,
8863,
202,
202,
759,
2047,
326,
501,
353,
1818,
3112,
1508,
2537,
327,
518,
202,
202,
430,
261,
8578,
6688,
13,
1082,
202,
2463,
333,
67,
492,
63,
2827,
1016,
300,
404,
15533,
202,
202,
430,
261,
4071,
18,
21516,
13042,
14599,
1444,
2932,
27,
18,
22,
6,
3719,
202,
202,
95,
1082,
202,
759,
1444,
2371,
18,
22,
6146,
326,
1160,
69,
11172,
364,
1160,
5352,
1082,
202,
2463,
22116,
7229,
69,
18,
869,
2160,
12,
588,
780,
12,
2827,
1016,
10019,
202,
202,
97,
202,
202,
12107,
202,
202,
95,
1082,
202,
759,
1444,
2371,
18,
21,
471,
13805,
6146,
16236,
908,
4710,
364,
1160,
5352,
1082,
202,
17416,
2041,
4678,
273,
261,
2211,
67,
492,
63,
2827,
1016,
300,
404,
65,
422,
446,
1769,
1082,
202,
759,
5004,
18026,
1807,
487,
605,
6038,
55,
1082,
202,
430,
16051,
17416,
2041,
4678,
13,
1082,
202,
95,
9506,
202,
430,
261,
1466,
63,
2827,
1016,
300,
404,
8009,
588,
12945,
1435,
422,
10659,
13,
9506,
202,
95,
6862,
202,
20020,
921,
1318,
328,
362,
273,
1459,
18,
588,
20020,
921,
2557,
5621,
6862,
202,
20020,
921,
22925,
273,
328,
362,
18,
3190,
12,
588,
1702,
12,
2827,
1016,
10019,
6862,
202,
7229,
1681,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1160,
8526,
8425,
12,
474,
14882,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
2827,
1016,
411,
404,
747,
14882,
405,
1466,
18,
2469,
13,
1082,
202,
12849,
394,
453,
23116,
2932,
2767,
24330,
18,
455,
18,
1293,
3676,
8863,
202,
202,
759,
2047,
326,
501,
353,
1818,
3112,
1508,
2537,
327,
518,
202,
202,
430,
261,
8578,
6688,
13,
1082,
202,
2463,
333,
67,
492,
63,
2827,
1016,
300,
404,
15533,
202,
202,
430,
261,
4071,
18,
21516,
13042,
14599,
1444,
2932,
27,
18,
22,
6,
3719,
202,
202,
95,
1082,
202,
759,
1444,
2371,
18,
22,
6146,
326,
1160,
69,
11172,
364,
1160,
5352,
1082,
202,
2463,
22116,
7229,
69,
18,
869,
2160,
2
] |
postItemEvent (label, stateChange); | if( selected != index ) { selected = index; postItemEvent (((Choice) awtComponent).getItem( selected ), ItemEvent.SELECTED); } | protected void postChoiceItemEvent (String label, int stateChange) { postItemEvent (label, stateChange); } | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/de1def922d61f2c8775ff796242c973408a67856/GtkChoicePeer.java/buggy/libjava/classpath/gnu/java/awt/peer/gtk/GtkChoicePeer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1603,
10538,
1180,
1133,
261,
780,
1433,
16,
509,
919,
3043,
13,
225,
288,
565,
309,
12,
3170,
480,
770,
262,
288,
3170,
273,
770,
31,
1603,
1180,
1133,
261,
12443,
10538,
13,
8237,
1841,
2934,
588,
1180,
12,
3170,
262,
16,
4342,
1133,
18,
4803,
2056,
1769,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1603,
10538,
1180,
1133,
261,
780,
1433,
16,
509,
919,
3043,
13,
225,
288,
565,
309,
12,
3170,
480,
770,
262,
288,
3170,
273,
770,
31,
1603,
1180,
1133,
261,
12443,
10538,
13,
8237,
1841,
2934,
588,
1180,
12,
3170,
262,
16,
4342,
1133,
18,
4803,
2056,
1769,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
java.sql.Date date) throws ConversionException { | java.sql.Date date) throws SqlException { | public static final int dateToTimestampBytes(byte[] buffer, int offset, java.sql.Date date) throws ConversionException { int year = date.getYear() + 1900; if (year > 9999) { throw new ConversionException("Year exceeds the maximum \"9999\"."); } int month = date.getMonth() + 1; int day = date.getDate(); char[] timestampChars = new char[DateTime.timestampRepresentationLength]; int zeroBase = (int) '0'; timestampChars[0] = (char) (year / 1000 + zeroBase); timestampChars[1] = (char) ((year % 1000) / 100 + zeroBase); timestampChars[2] = (char) ((year % 100) / 10 + zeroBase); timestampChars[3] = (char) (year % 10 + +zeroBase); timestampChars[4] = '-'; timestampChars[5] = (char) (month / 10 + zeroBase); timestampChars[6] = (char) (month % 10 + zeroBase); timestampChars[7] = '-'; timestampChars[8] = (char) (day / 10 + zeroBase); timestampChars[9] = (char) (day % 10 + zeroBase); timestampChars[10] = '-'; timestampChars[11] = '0'; timestampChars[12] = '0'; timestampChars[13] = '.'; timestampChars[14] = '0'; timestampChars[15] = '0'; timestampChars[16] = '.'; timestampChars[17] = '0'; timestampChars[18] = '0'; timestampChars[19] = '.'; timestampChars[20] = '0'; timestampChars[21] = '0'; timestampChars[22] = '0'; timestampChars[23] = '0'; timestampChars[24] = '0'; timestampChars[25] = '0'; byte[] timestampBytes = (new String(timestampChars)).getBytes(); System.arraycopy(timestampBytes, 0, buffer, offset, DateTime.timestampRepresentationLength); return DateTime.timestampRepresentationLength; } | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/5d2e2bd29eb5bd4f933f513976a0886c1988c89d/DateTime.java/clean/java/client/org/apache/derby/client/am/DateTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
509,
1509,
774,
4921,
2160,
12,
7229,
8526,
1613,
16,
4766,
1171,
509,
1384,
16,
4766,
1171,
2252,
18,
4669,
18,
1626,
1509,
13,
1216,
8855,
503,
288,
3639,
509,
3286,
273,
1509,
18,
588,
5593,
1435,
397,
5342,
713,
31,
3639,
309,
261,
6874,
405,
30082,
13,
288,
5411,
604,
394,
16401,
503,
2932,
5593,
14399,
326,
4207,
1239,
7991,
2412,
1199,
1769,
3639,
289,
3639,
509,
3138,
273,
1509,
18,
588,
5445,
1435,
397,
404,
31,
3639,
509,
2548,
273,
1509,
18,
588,
1626,
5621,
3639,
1149,
8526,
2858,
7803,
273,
394,
1149,
63,
5096,
18,
5508,
13742,
1782,
15533,
3639,
509,
3634,
2171,
273,
261,
474,
13,
296,
20,
13506,
3639,
2858,
7803,
63,
20,
65,
273,
261,
3001,
13,
261,
6874,
342,
4336,
397,
3634,
2171,
1769,
3639,
2858,
7803,
63,
21,
65,
273,
261,
3001,
13,
14015,
6874,
738,
4336,
13,
342,
2130,
397,
3634,
2171,
1769,
3639,
2858,
7803,
63,
22,
65,
273,
261,
3001,
13,
14015,
6874,
738,
2130,
13,
342,
1728,
397,
3634,
2171,
1769,
3639,
2858,
7803,
63,
23,
65,
273,
261,
3001,
13,
261,
6874,
738,
1728,
397,
397,
7124,
2171,
1769,
3639,
2858,
7803,
63,
24,
65,
273,
4014,
31,
3639,
2858,
7803,
63,
25,
65,
273,
261,
3001,
13,
261,
7496,
342,
1728,
397,
3634,
2171,
1769,
3639,
2858,
7803,
63,
26,
65,
273,
261,
3001,
13,
261,
7496,
738,
1728,
397,
3634,
2171,
1769,
3639,
2858,
7803,
63,
27,
65,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
509,
1509,
774,
4921,
2160,
12,
7229,
8526,
1613,
16,
4766,
1171,
509,
1384,
16,
4766,
1171,
2252,
18,
4669,
18,
1626,
1509,
13,
1216,
8855,
503,
288,
3639,
509,
3286,
273,
1509,
18,
588,
5593,
1435,
397,
5342,
713,
31,
3639,
309,
261,
6874,
405,
30082,
13,
288,
5411,
604,
394,
16401,
503,
2932,
5593,
14399,
326,
4207,
1239,
7991,
2412,
1199,
1769,
3639,
289,
3639,
509,
3138,
273,
1509,
18,
588,
5445,
1435,
397,
404,
31,
3639,
509,
2548,
273,
1509,
18,
588,
1626,
5621,
3639,
1149,
8526,
2858,
7803,
273,
394,
1149,
63,
5096,
18,
5508,
13742,
1782,
15533,
3639,
509,
3634,
2171,
273,
261,
474,
13,
296,
20,
13506,
3639,
2858,
2
] |
return CWordFinder.findWord(textViewer.getDocument(), offset); | if (textViewer != null) { /* * If the hover offset falls within the selection range return the * region for the whole selection. */ Point selectedRange = textViewer.getSelectedRange(); if (selectedRange.x >= 0 && selectedRange.y > 0 && offset >= selectedRange.x && offset <= selectedRange.x + selectedRange.y) return new Region(selectedRange.x, selectedRange.y); else { return CWordFinder.findWord(textViewer.getDocument(), offset); } } return null; | public IRegion getHoverRegion(ITextViewer textViewer, int offset) { return CWordFinder.findWord(textViewer.getDocument(), offset); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/da21b108846414112f482bc83d071fba5b66087a/AbstractCEditorTextHover.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/c/hover/AbstractCEditorTextHover.java | [
1,
8585,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
5165,
7628,
1643,
5165,
12,
1285,
408,
18415,
977,
18415,
16,
509,
1384,
13,
288,
202,
202,
2463,
385,
3944,
8441,
18,
4720,
3944,
12,
955,
18415,
18,
588,
2519,
9334,
1384,
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
] |
Menu subMenu= null; | public void fill(Menu parent, int index) { if (widget == null && parent != null) { Menu subMenu= null; int flags = SWT.PUSH; if (action != null) { int style = action.getStyle(); if (style == IAction.AS_CHECK_BOX) flags= SWT.CHECK; else if (style == IAction.AS_RADIO_BUTTON) flags = SWT.RADIO; else if (style == IAction.AS_DROP_DOWN_MENU) { IMenuCreator mc = action.getMenuCreator(); subMenu = mc.getMenu(parent); flags = SWT.CASCADE; } } MenuItem mi = null; if (index >= 0) mi = new MenuItem(parent, flags, index); else mi = new MenuItem(parent, flags); widget = mi; parentWidget = parent; mi.setData(this); mi.addListener(SWT.Arm, listener); mi.addListener(SWT.Dispose, listener); mi.addListener(SWT.Selection, listener); if (action.getHelpListener() != null) mi.addHelpListener(action.getHelpListener()); if (subMenu != null) mi.setMenu(subMenu); update(null); action.addPropertyChangeListener(listener); }} | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/07914a591ba156920e72b7747202ad2e35397872/ActionContributionItem.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/action/ActionContributionItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
3636,
12,
4599,
982,
16,
509,
770,
13,
288,
202,
430,
261,
6587,
422,
446,
597,
982,
480,
446,
13,
288,
202,
202,
4599,
720,
4599,
33,
446,
31,
202,
202,
474,
2943,
273,
348,
8588,
18,
30348,
31,
202,
202,
430,
261,
1128,
480,
446,
13,
288,
1082,
202,
474,
2154,
273,
1301,
18,
588,
2885,
5621,
1082,
202,
430,
261,
4060,
422,
467,
1803,
18,
3033,
67,
10687,
67,
16876,
13,
9506,
202,
7133,
33,
348,
8588,
18,
10687,
31,
1082,
202,
12107,
309,
261,
4060,
422,
467,
1803,
18,
3033,
67,
28829,
4294,
67,
20068,
13,
9506,
202,
7133,
273,
348,
8588,
18,
28829,
4294,
31,
1082,
202,
12107,
309,
261,
4060,
422,
467,
1803,
18,
3033,
67,
18768,
67,
12711,
67,
29227,
13,
288,
9506,
202,
3445,
2104,
10636,
6108,
273,
1301,
18,
588,
4599,
10636,
5621,
9506,
202,
1717,
4599,
273,
6108,
18,
588,
4599,
12,
2938,
1769,
9506,
202,
7133,
273,
348,
8588,
18,
3587,
25517,
31,
1082,
202,
97,
202,
202,
97,
9506,
202,
12958,
12837,
273,
446,
31,
202,
202,
430,
261,
1615,
1545,
374,
13,
1082,
202,
9197,
273,
394,
25085,
12,
2938,
16,
2943,
16,
770,
1769,
202,
202,
12107,
1082,
202,
9197,
273,
394,
25085,
12,
2938,
16,
2943,
1769,
202,
202,
6587,
273,
12837,
31,
202,
202,
2938,
4609,
273,
982,
31,
202,
202,
9197,
18,
542,
751,
12,
2211,
1769,
202,
202,
9197,
18,
1289,
2223,
12,
55,
8588,
18,
25583,
16,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
3636,
12,
4599,
982,
16,
509,
770,
13,
288,
202,
430,
261,
6587,
422,
446,
597,
982,
480,
446,
13,
288,
202,
202,
4599,
720,
4599,
33,
446,
31,
202,
202,
474,
2943,
273,
348,
8588,
18,
30348,
31,
202,
202,
430,
261,
1128,
480,
446,
13,
288,
1082,
202,
474,
2154,
273,
1301,
18,
588,
2885,
5621,
1082,
202,
430,
261,
4060,
422,
467,
1803,
18,
3033,
67,
10687,
67,
16876,
13,
9506,
202,
7133,
33,
348,
8588,
18,
10687,
31,
1082,
202,
12107,
309,
261,
4060,
422,
467,
1803,
18,
3033,
67,
28829,
4294,
67,
20068,
13,
9506,
202,
7133,
273,
348,
8588,
18,
28829,
4294,
31,
1082,
202,
12107,
309,
261,
4060,
422,
467,
2
] | |
ModelList<ReducedToken>.Iterator delFrom, ModelList<ReducedToken>.Iterator delTo) { if (count >0){ int endOffset = -1; try { endOffset = _move(count,delTo, offset); } catch (Exception e) { throw new IllegalArgumentException("Trying to delete" + " past end of file."); } return _deleteRight(offset, endOffset,delFrom, delTo); } else { int startOffset = -1; try { startOffset = _move(count,delFrom, offset); } catch (Exception e) { throw new IllegalArgumentException("Trying to delete" + " past end of file."); } return _deleteRight(startOffset,offset, delFrom, delTo); } } | ModelList<ReducedToken>.Iterator delFrom, ModelList<ReducedToken>.Iterator delTo) { if (count >0) { int endOffset = -1; try { endOffset = _move(count,delTo, offset); } catch (Exception e) { throw new IllegalArgumentException("Trying to delete" + " past end of file."); } return _deleteRight(offset, endOffset,delFrom, delTo); } else { int startOffset = -1; try { startOffset = _move(count,delFrom, offset); } catch (Exception e) { throw new IllegalArgumentException("Trying to delete" + " past end of file."); } return _deleteRight(startOffset,offset, delFrom, delTo); } } | private int _delete(int count, int offset, ModelList<ReducedToken>.Iterator delFrom, ModelList<ReducedToken>.Iterator delTo) { //gaurentees that its possible to delete count characters if (count >0){ int endOffset = -1; try { endOffset = _move(count,delTo, offset); } catch (Exception e) { throw new IllegalArgumentException("Trying to delete" + " past end of file."); } return _deleteRight(offset, endOffset,delFrom, delTo); } else {//(count < 0) int startOffset = -1; try { startOffset = _move(count,delFrom, offset); } catch (Exception e) { throw new IllegalArgumentException("Trying to delete" + " past end of file."); } return _deleteRight(startOffset,offset, delFrom, delTo); } } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/0d5978f95b9d81515ff8908c4d2b74c1df5a1255/ReducedModelComment.java/clean/drjava/src/edu/rice/cs/drjava/ReducedModelComment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
389,
3733,
12,
474,
1056,
16,
509,
1384,
16,
6862,
6862,
1082,
202,
1488,
682,
32,
16911,
3263,
1345,
18652,
3198,
1464,
1265,
16,
6862,
6862,
1082,
202,
1488,
682,
32,
16911,
3263,
1345,
18652,
3198,
1464,
774,
13,
202,
202,
95,
6862,
25083,
202,
759,
75,
8377,
547,
25521,
716,
2097,
3323,
358,
1430,
1056,
3949,
1082,
202,
430,
261,
1883,
405,
20,
15329,
9506,
202,
474,
25507,
273,
300,
21,
31,
9506,
202,
698,
288,
6862,
202,
409,
2335,
273,
389,
8501,
12,
1883,
16,
3771,
774,
16,
1384,
1769,
9506,
202,
97,
9506,
202,
14683,
261,
503,
425,
13,
288,
6862,
202,
12849,
394,
2754,
2932,
18038,
358,
1430,
6,
397,
6862,
6862,
6862,
6862,
6862,
1082,
315,
8854,
679,
434,
585,
1199,
1769,
6862,
9506,
202,
97,
9506,
202,
2463,
389,
3733,
4726,
12,
3348,
16,
25507,
16,
3771,
1265,
16,
1464,
774,
1769,
1082,
202,
97,
1082,
202,
12107,
288,
759,
12,
1883,
411,
374,
13,
9506,
202,
474,
18245,
273,
300,
21,
31,
9506,
202,
698,
288,
6862,
202,
1937,
2335,
273,
389,
8501,
12,
1883,
16,
3771,
1265,
16,
1384,
1769,
9506,
202,
97,
9506,
202,
14683,
261,
503,
425,
13,
288,
6862,
202,
12849,
394,
2754,
2932,
18038,
358,
1430,
6,
397,
6862,
6862,
6862,
6862,
6862,
1082,
315,
8854,
679,
434,
585,
1199,
1769,
6862,
9506,
202,
97,
9506,
202,
2463,
389,
3733,
4726,
12,
1937,
2335,
16,
3348,
16,
1464,
1265,
16,
1464,
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,
509,
389,
3733,
12,
474,
1056,
16,
509,
1384,
16,
6862,
6862,
1082,
202,
1488,
682,
32,
16911,
3263,
1345,
18652,
3198,
1464,
1265,
16,
6862,
6862,
1082,
202,
1488,
682,
32,
16911,
3263,
1345,
18652,
3198,
1464,
774,
13,
202,
202,
95,
6862,
25083,
202,
759,
75,
8377,
547,
25521,
716,
2097,
3323,
358,
1430,
1056,
3949,
1082,
202,
430,
261,
1883,
405,
20,
15329,
9506,
202,
474,
25507,
273,
300,
21,
31,
9506,
202,
698,
288,
6862,
202,
409,
2335,
273,
389,
8501,
12,
1883,
16,
3771,
774,
16,
1384,
1769,
9506,
202,
97,
9506,
202,
14683,
261,
503,
425,
13,
288,
6862,
202,
12849,
394,
2754,
2932,
18038,
358,
1430,
6,
397,
6862,
2
] |
properties.setProperty("gov.nist.javax.sip.TRACE_LEVEL", "0"); | public static Properties getRiProperties(boolean autoDialog) { // TODO collect all system properties // prefixed javax.sip.tck.ri and add them to the local // properties object Properties properties = new Properties(); // IP_ADDRESS is deprecated as of jsip 1.2. // Each listening point associated with a stack has its own IP address. properties.setProperty("javax.sip.STACK_NAME", "RiStack"); // properties.setProperty("gov.nist.javax.sip.TRACE_LEVEL", "0"); properties.setProperty("gov.nist.javax.sip.TRACE_LEVEL", "0"); properties.setProperty("gov.nist.javax.sip.DEBUG_LOG", "logs/riDebugLog.txt"); properties.setProperty("gov.nist.javax.sip.SERVER_LOG", "logs/riMessageLog.txt"); // JvB: Most TCK tests dont work well with automatic dialog support // enabled // Disable it for the moment properties.setProperty("javax.sip.AUTOMATIC_DIALOG_SUPPORT", autoDialog ? "ON" : "OFF"); // JvB: for testing of ACK to non-2xx properties.setProperty( "gov.nist.javax.sip.PASS_INVITE_NON_2XX_ACK_TO_LISTENER", "true"); return properties; } | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/0f8b6f89ad83ac48d73091fd42eb97bb1aaa44e4/TestHarness.java/clean/src/test/tck/TestHarness.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6183,
4170,
77,
2297,
12,
6494,
3656,
6353,
13,
288,
202,
202,
759,
2660,
3274,
777,
2619,
1790,
202,
202,
759,
12829,
6863,
18,
28477,
18,
88,
363,
18,
566,
471,
527,
2182,
358,
326,
1191,
202,
202,
759,
1790,
733,
202,
202,
2297,
1790,
273,
394,
6183,
5621,
202,
202,
759,
2971,
67,
15140,
353,
6849,
487,
434,
3828,
625,
404,
18,
22,
18,
202,
202,
759,
8315,
13895,
1634,
3627,
598,
279,
2110,
711,
2097,
4953,
2971,
1758,
18,
202,
202,
4738,
18,
542,
1396,
2932,
28384,
18,
28477,
18,
21971,
67,
1985,
3113,
315,
54,
77,
2624,
8863,
202,
202,
759,
1790,
18,
542,
1396,
2932,
75,
1527,
18,
82,
376,
18,
28384,
18,
28477,
18,
23827,
67,
10398,
3113,
315,
20,
8863,
202,
202,
4738,
18,
542,
1396,
2932,
75,
1527,
18,
82,
376,
18,
28384,
18,
28477,
18,
23827,
67,
10398,
3113,
315,
20,
8863,
202,
202,
4738,
18,
542,
1396,
2932,
75,
1527,
18,
82,
376,
18,
28384,
18,
28477,
18,
9394,
67,
4842,
3113,
9506,
202,
6,
10011,
19,
566,
2829,
1343,
18,
5830,
8863,
202,
202,
4738,
18,
542,
1396,
2932,
75,
1527,
18,
82,
376,
18,
28384,
18,
28477,
18,
4370,
67,
4842,
3113,
9506,
202,
6,
10011,
19,
566,
1079,
1343,
18,
5830,
8863,
202,
202,
759,
804,
90,
38,
30,
22099,
399,
3507,
7434,
14046,
1440,
5492,
598,
5859,
6176,
2865,
202,
202,
759,
3696,
202,
202,
759,
10639,
518,
364,
326,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6183,
4170,
77,
2297,
12,
6494,
3656,
6353,
13,
288,
202,
202,
759,
2660,
3274,
777,
2619,
1790,
202,
202,
759,
12829,
6863,
18,
28477,
18,
88,
363,
18,
566,
471,
527,
2182,
358,
326,
1191,
202,
202,
759,
1790,
733,
202,
202,
2297,
1790,
273,
394,
6183,
5621,
202,
202,
759,
2971,
67,
15140,
353,
6849,
487,
434,
3828,
625,
404,
18,
22,
18,
202,
202,
759,
8315,
13895,
1634,
3627,
598,
279,
2110,
711,
2097,
4953,
2971,
1758,
18,
202,
202,
4738,
18,
542,
1396,
2932,
28384,
18,
28477,
18,
21971,
67,
1985,
3113,
315,
54,
77,
2624,
8863,
202,
202,
759,
1790,
18,
542,
1396,
2932,
75,
1527,
18,
82,
376,
18,
2
] | |
if (jj_3R_111()) return true; | if (jj_3R_106()) return true; | final private boolean jj_3R_71() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(59)) { jj_scanpos = xsp; if (jj_3R_111()) return true; } return false; } | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/1d8de6b34ea0ddb64fc94b478c0950c0d35de605/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
11212,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
6162,
3719,
288,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
22135,
10756,
327,
638,
31,
565,
289,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
565,
10684,
67,
9871,
917,
273,
619,
1752,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
22135,
10756,
327,
638,
31,
565,
289,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return new PropertiesFunDef(name, signature, description, syntacticType, returnType, argTypes); | public FunDef resolve(Exp[] args, int[] conversionCount) { final int[] argTypes = new int[]{Category.Member, Category.String}; if (args.length != 2 || args[0].getType() != Category.Member || args[1].getType() != Category.String) { return null; } int returnType; if (args[1] instanceof Literal) { String propertyName = (String) ((Literal) args[1]).getValue(); Hierarchy hierarchy = args[0].getHierarchy(); Level[] levels = hierarchy.getLevels(); Property property = lookupProperty( levels[levels.length - 1], propertyName); if (property == null) { // we'll likely get a runtime error returnType = Category.Value; } else { switch (property.getType()) { case Property.TYPE_BOOLEAN: returnType = Category.Logical; break; case Property.TYPE_NUMERIC: returnType = Category.Numeric; break; case Property.TYPE_STRING: returnType = Category.String; break; default: throw Util.newInternal("Unknown property type " + property.getType()); } } } else { returnType = Category.Value; } return new PropertiesFunDef(name, signature, description, syntacticType, returnType, argTypes); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/be5cbf35035318846261fc9706b0dadd4c54e1a5/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
478,
318,
3262,
2245,
12,
2966,
8526,
833,
16,
509,
8526,
4105,
1380,
13,
288,
9506,
202,
6385,
509,
8526,
30973,
273,
394,
509,
63,
7073,
4457,
18,
4419,
16,
9856,
18,
780,
20451,
9506,
202,
430,
261,
1968,
18,
2469,
480,
576,
747,
25083,
202,
1968,
63,
20,
8009,
588,
559,
1435,
480,
9856,
18,
4419,
747,
25083,
202,
1968,
63,
21,
8009,
588,
559,
1435,
480,
9856,
18,
780,
13,
288,
6862,
202,
2463,
446,
31,
9506,
202,
97,
9506,
202,
474,
9424,
31,
9506,
202,
430,
261,
1968,
63,
21,
65,
1276,
14392,
13,
288,
6862,
202,
780,
5470,
273,
261,
780,
13,
14015,
6177,
13,
833,
63,
21,
65,
2934,
24805,
5621,
6862,
202,
12074,
9360,
273,
833,
63,
20,
8009,
588,
12074,
5621,
6862,
202,
2355,
8526,
7575,
273,
9360,
18,
588,
12240,
5621,
6862,
202,
1396,
1272,
273,
3689,
1396,
12,
6862,
1082,
202,
12095,
63,
12095,
18,
2469,
300,
404,
6487,
5470,
1769,
6862,
202,
430,
261,
4468,
422,
446,
13,
288,
25083,
202,
759,
732,
5614,
10374,
336,
279,
3099,
555,
25083,
202,
2463,
559,
273,
9856,
18,
620,
31,
6862,
202,
97,
469,
288,
25083,
202,
9610,
261,
4468,
18,
588,
559,
10756,
288,
25083,
202,
3593,
4276,
18,
2399,
67,
17900,
30,
6862,
1082,
202,
2463,
559,
273,
9856,
18,
17955,
31,
6862,
1082,
202,
8820,
31,
25083,
202,
3593,
4276,
18,
2399,
67,
22998,
30,
6862,
1082,
202,
2463,
559,
273,
9856,
18,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
478,
318,
3262,
2245,
12,
2966,
8526,
833,
16,
509,
8526,
4105,
1380,
13,
288,
9506,
202,
6385,
509,
8526,
30973,
273,
394,
509,
63,
7073,
4457,
18,
4419,
16,
9856,
18,
780,
20451,
9506,
202,
430,
261,
1968,
18,
2469,
480,
576,
747,
25083,
202,
1968,
63,
20,
8009,
588,
559,
1435,
480,
9856,
18,
4419,
747,
25083,
202,
1968,
63,
21,
8009,
588,
559,
1435,
480,
9856,
18,
780,
13,
288,
6862,
202,
2463,
446,
31,
9506,
202,
97,
9506,
202,
474,
9424,
31,
9506,
202,
430,
261,
1968,
63,
21,
65,
1276,
14392,
13,
288,
6862,
202,
780,
5470,
273,
261,
780,
13,
14015,
6177,
13,
833,
63,
21,
65,
2934,
24805,
5621,
2
] | |
fw.write("\n(proj-root"); | fw.write("\n(proj-root-and-base"); | public void write() throws IOException { FileWriter fw = new FileWriter(_projectFile); // write opening comment line fw.write(";; DrJava project file, written by build " + Version.getBuildTimeString()); fw.write(";; relative files are made relative to: " + _projectFile.getCanonicalPath()); // write the project root if (_projectRoot != null) { fw.write("\n(proj-root");// Utilities.show("Writing project root = " + _projRoot); fw.write("\n" + encodeFile(_projectRoot, " ", true)); fw.write(")"); } else fw.write("\n;; no project root; should never happen"); // write source files if (!_sourceFiles.isEmpty()) { fw.write("\n(source"); for(DocFile df: _sourceFiles) { fw.write("\n" + encodeDocFile(df, " ")); } fw.write(")"); // close the source expression } else fw.write("\n;; no source files"); // write aux files if (!_auxFiles.isEmpty()) { fw.write("\n(auxiliary"); for(DocFile df: _auxFiles) { fw.write("\n" + encodeDocFile(df, " ", false)); } fw.write(")"); // close the auxiliary expression } else fw.write("\n;; no aux files"); // write collapsed paths if (!_collapsedPaths.isEmpty()) { fw.write("\n(collapsed"); for(String s: _collapsedPaths) { fw.write("\n (path " + convertToLiteral(s) + ")"); } fw.write(")"); // close the collapsed expression } else fw.write("\n;; no collapsed branches"); // write classpaths if (!_classPathFiles.isEmpty()) { fw.write("\n(classpaths"); for(File f: _classPathFiles) { fw.write("\n" + encodeFile(f, " ", false)); } fw.write(")"); // close the classpaths expression } else fw.write("\n;; no classpaths files"); // write the build directory if (_buildDir != null && _buildDir.getPath() != "") { fw.write("\n(build-dir"); fw.write("\n" + encodeFile(_buildDir, " ", true)); fw.write(")"); } else fw.write("\n;; no build directory"); // write the working directory if (_workDir != null && _workDir.getPath() != "") { fw.write("\n(work-dir"); fw.write("\n" + encodeFile(_workDir, " ", true)); fw.write(")"); } else fw.write("\n;; no working directory"); // write the main class if (_mainClass != null) { fw.write("\n(main-class"); fw.write("\n" + encodeFile(_mainClass, " ", true)); fw.write(")"); } else fw.write("\n;; no main class"); // write the create jar file if (_createJarFile != null) { fw.write("\n(create-jar-file"); fw.write("\n" + encodeFile(_createJarFile, " ", true)); fw.write(")"); } else fw.write("\n;; no create jar file"); // write the create jar flags if (_createJarFlags != 0) { fw.write("\n(create-jar-flags " + _createJarFlags + ")"); } else fw.write("\n;; no create jar flags"); // write breakpoints if (!_breakpoints.isEmpty()) { fw.write("\n(breakpoints"); for(DebugBreakpointData bp: _breakpoints) { fw.write("\n" + encodeBreakpoint(bp, " ")); } fw.write(")"); // close the breakpoints expression } else fw.write("\n;; no breakpoints"); // write watches if (!_watches.isEmpty()) { fw.write("\n(watches"); for(DebugWatchData w: _watches) { fw.write("\n" + encodeWatch(w, " ")); } fw.write(")"); // close the watches expression } else fw.write("\n;; no watches"); fw.close(); } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/94ede5fc3e289a571a76fcd6a91c26510fe57b12/ProjectProfile.java/buggy/drjava/src/edu/rice/cs/drjava/project/ProjectProfile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1045,
1435,
1216,
1860,
288,
565,
24639,
7600,
273,
394,
24639,
24899,
4406,
812,
1769,
3639,
368,
1045,
10890,
2879,
980,
565,
7600,
18,
2626,
2932,
25708,
11473,
5852,
1984,
585,
16,
5941,
635,
1361,
315,
397,
4049,
18,
588,
3116,
950,
780,
10663,
565,
7600,
18,
2626,
2932,
25708,
3632,
1390,
854,
7165,
3632,
358,
30,
315,
397,
389,
4406,
812,
18,
588,
15512,
743,
10663,
3639,
368,
1045,
326,
1984,
1365,
565,
309,
261,
67,
4406,
2375,
480,
446,
13,
288,
1377,
7600,
18,
2626,
31458,
82,
12,
17995,
17,
3085,
8863,
759,
1377,
26703,
18,
4500,
2932,
18835,
1984,
1365,
273,
315,
397,
389,
17995,
2375,
1769,
1377,
7600,
18,
2626,
31458,
82,
6,
397,
2017,
812,
24899,
4406,
2375,
16,
315,
225,
3104,
638,
10019,
1377,
7600,
18,
2626,
2932,
2225,
1769,
565,
289,
565,
469,
7600,
18,
2626,
31458,
82,
25708,
1158,
1984,
1365,
31,
1410,
5903,
5865,
8863,
5411,
368,
1045,
1084,
1390,
565,
309,
16051,
67,
3168,
2697,
18,
291,
1921,
10756,
288,
1377,
7600,
18,
2626,
31458,
82,
12,
3168,
8863,
1377,
364,
12,
1759,
812,
3013,
30,
389,
3168,
2697,
13,
288,
7600,
18,
2626,
31458,
82,
6,
397,
2017,
1759,
812,
12,
2180,
16,
315,
225,
9369,
1769,
289,
1377,
7600,
18,
2626,
2932,
2225,
1769,
368,
1746,
326,
1084,
2652,
565,
289,
565,
469,
7600,
18,
2626,
31458,
82,
25708,
1158,
1084,
1390,
8863,
3639,
368,
1045,
9397,
1390,
565,
309,
16051,
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,
282,
1071,
918,
1045,
1435,
1216,
1860,
288,
565,
24639,
7600,
273,
394,
24639,
24899,
4406,
812,
1769,
3639,
368,
1045,
10890,
2879,
980,
565,
7600,
18,
2626,
2932,
25708,
11473,
5852,
1984,
585,
16,
5941,
635,
1361,
315,
397,
4049,
18,
588,
3116,
950,
780,
10663,
565,
7600,
18,
2626,
2932,
25708,
3632,
1390,
854,
7165,
3632,
358,
30,
315,
397,
389,
4406,
812,
18,
588,
15512,
743,
10663,
3639,
368,
1045,
326,
1984,
1365,
565,
309,
261,
67,
4406,
2375,
480,
446,
13,
288,
1377,
7600,
18,
2626,
31458,
82,
12,
17995,
17,
3085,
8863,
759,
1377,
26703,
18,
4500,
2932,
18835,
1984,
1365,
273,
315,
397,
389,
17995,
2375,
1769,
1377,
7600,
18,
2626,
31458,
82,
2
] |
aClasspath.append( new Path(aClasspath.getProject(), anOutputDirectoryFile.getPath())); aJavaTask.setClasspath(aClasspath); | if (secpropag) { aJavaTask.createArg().setValue("-secpropag"); } | private void buildJOnASJar(final String inBaseName, final File inSourceJar,final File inDestJar, final Hashtable someFiles,String inPublicId) { org.apache.tools.ant.taskdefs.Java aJavaTask = null; String aGenIcClassName = genicClass; boolean isOldGenIC = false; boolean isTempDirectory = false; File anOutputDirectoryFile = null; // do not call GenIC // only copy file if (noGENIC) { try { FileUtils.newFileUtils().copyFile(inSourceJar, inDestJar); return; } catch (IOException anIOException) { throw new BuildException("Unable to write EJB jar", anIOException); } } // call GenIC try { aJavaTask = (Java) getTask().getProject().createTask("java"); aJavaTask.setTaskName("genic"); if(aGenIcClassName == null) { aGenIcClassName = GENIC_CLASS; } else if( OLD_GENIC_CLASS.equals(aGenIcClassName) ){ isOldGenIC = true; } // ClassName aJavaTask.setClassname(aGenIcClassName); // JVM Args if( jonasroot == null ) { throw new BuildException("Error : set the jonasroot parameter"); } else if ( ! jonasroot.isDirectory() ) { log("jonasroot attribut '" + jonasroot + "' is not a valid directory", Project.MSG_ERR); } aJavaTask.createJvmarg().setValue("-Dinstall.root=" + jonasroot); File aJavaPolicyFile = new File(jonasroot,"config/java.policy"); if( aJavaPolicyFile.exists() ) { aJavaTask.createJvmarg().setValue("-Djava.security.policy=" + aJavaPolicyFile.toString() ); } // Find output directory if( ouputdirectory == null ) { anOutputDirectoryFile = createTempDir(); isTempDirectory = true; log("Use temporary output directory : " + anOutputDirectoryFile, Project.MSG_VERBOSE); } else { anOutputDirectoryFile = ouputdirectory; log("Use temporary specific output directory : " + anOutputDirectoryFile, Project.MSG_VERBOSE); } aJavaTask.createArg().setValue("-d"); aJavaTask.createArg().setFile(anOutputDirectoryFile); // Additionnal args aJavaTask.createArg().setLine(additionalArgs); // KeepGenerated if (keepgenerated) { aJavaTask.createArg().setValue("-keepgenerated"); } // Verbose if( verbose ) { aJavaTask.createArg().setValue("-verbose"); } // -secpropag if( secpropag ) { aJavaTask.createArg().setValue("-secpropag"); } // The compiler if (compiler == null) { // try to use the compiler specified by build.compiler. Right now we are just going // to allow Jikes String aBuildCompiler = getTask().getProject().getProperty("build.compiler"); if ("jikes".equals(aBuildCompiler) ) { aJavaTask.createArg().setValue("-javac"); aJavaTask.createArg().setValue("jikes"); } } else { if( ! "default".equals( compiler ) ) { aJavaTask.createArg().setValue("-javac"); aJavaTask.createArg().setLine(compiler); } } if( ! isOldGenIC ) { // the add in jar features is buggy... aJavaTask.createArg().setValue("-noaddinjar"); } aJavaTask.createArg().setValue(inSourceJar.getPath()); // try to create the classpath for the correct ORB Path aClasspath = getCombinedClasspath(); if( aClasspath == null ) { aClasspath = new Path(getTask().getProject()); } if( orb != null ) { String aOrbJar = new File(jonasroot,"lib/" + orb + "_jonas.jar").toString(); String aConfigDir = new File(jonasroot,"config/").toString(); Path aJOnASOrbPath = new Path(aClasspath.getProject(), aOrbJar + File.pathSeparator + aConfigDir ); aClasspath.append( aJOnASOrbPath ); } else { log("No ORB propertie setup (RMI, JEREMIE, DAVID).", Project.MSG_WARN); } // append the output directory aClasspath.append( new Path(aClasspath.getProject(), anOutputDirectoryFile.getPath())); aJavaTask.setClasspath(aClasspath); aJavaTask.setFork(true); log("Calling " + aGenIcClassName + " for " + inSourceJar.toString(), Project.MSG_VERBOSE); if (aJavaTask.executeJava() != 0) { throw new BuildException("GenIC reported an error"); } // Update the list of files. addAllFiles(anOutputDirectoryFile,"",someFiles); // rewrite the jar with the new files super.writeJar(inBaseName, inDestJar, someFiles, inPublicId); } catch(BuildException aBuildException) { throw aBuildException; } catch (Exception e) { // Have to catch this because of the semantics of calling main() String msg = "Exception while calling " + aGenIcClassName + ". Details: " + e.toString(); throw new BuildException(msg, e); } finally { if( isTempDirectory && anOutputDirectoryFile != null) { dellAllFiles(anOutputDirectoryFile); } else if( cleanWorkDir && anOutputDirectoryFile != null) { dellAllFilesInside(anOutputDirectoryFile); } } } | 506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/JonasDeploymentTool.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/ejb/JonasDeploymentTool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1361,
46,
1398,
3033,
10813,
12,
6385,
514,
316,
29907,
16,
1171,
9079,
727,
1387,
316,
1830,
10813,
16,
6385,
1387,
316,
9378,
10813,
16,
1171,
9079,
727,
18559,
2690,
2697,
16,
780,
316,
4782,
548,
13,
288,
1377,
2358,
18,
19211,
18,
6642,
18,
970,
18,
4146,
12537,
18,
5852,
279,
5852,
2174,
273,
446,
31,
1377,
514,
279,
7642,
45,
71,
3834,
273,
3157,
335,
797,
31,
1377,
1250,
353,
7617,
7642,
2871,
273,
629,
31,
1377,
1250,
353,
7185,
2853,
273,
629,
31,
1377,
1387,
392,
1447,
2853,
812,
273,
446,
31,
1377,
368,
741,
486,
745,
10938,
2871,
1377,
368,
1338,
1610,
585,
1377,
309,
261,
2135,
16652,
2871,
13,
288,
540,
775,
288,
5411,
13779,
18,
2704,
812,
1989,
7675,
3530,
812,
12,
267,
1830,
10813,
16,
316,
9378,
10813,
1769,
5411,
327,
31,
540,
289,
1044,
261,
14106,
392,
14106,
13,
288,
5411,
604,
394,
18463,
2932,
3370,
358,
1045,
12157,
7334,
3113,
392,
14106,
1769,
540,
289,
1377,
289,
9079,
368,
745,
10938,
2871,
1377,
775,
288,
540,
279,
5852,
2174,
273,
261,
5852,
13,
11478,
7675,
588,
4109,
7675,
2640,
2174,
2932,
6290,
8863,
540,
279,
5852,
2174,
18,
542,
2174,
461,
2932,
4507,
335,
8863,
540,
309,
12,
69,
7642,
45,
71,
3834,
422,
446,
13,
288,
5411,
279,
7642,
45,
71,
3834,
273,
611,
1157,
2871,
67,
5237,
31,
540,
289,
469,
309,
12,
30432,
67,
16652,
2871,
67,
5237,
18,
14963,
12,
69,
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,
1361,
46,
1398,
3033,
10813,
12,
6385,
514,
316,
29907,
16,
1171,
9079,
727,
1387,
316,
1830,
10813,
16,
6385,
1387,
316,
9378,
10813,
16,
1171,
9079,
727,
18559,
2690,
2697,
16,
780,
316,
4782,
548,
13,
288,
1377,
2358,
18,
19211,
18,
6642,
18,
970,
18,
4146,
12537,
18,
5852,
279,
5852,
2174,
273,
446,
31,
1377,
514,
279,
7642,
45,
71,
3834,
273,
3157,
335,
797,
31,
1377,
1250,
353,
7617,
7642,
2871,
273,
629,
31,
1377,
1250,
353,
7185,
2853,
273,
629,
31,
1377,
1387,
392,
1447,
2853,
812,
273,
446,
31,
1377,
368,
741,
486,
745,
10938,
2871,
1377,
368,
1338,
1610,
585,
1377,
309,
261,
2135,
16652,
2871,
13,
288,
540,
2
] |
Thread allPacketListener = null; | PacketListener debugListener = null; | void init() throws XMPPException { try { reader = new InputStreamReader(socket.getInputStream(), "UTF-8"); writer = new OutputStreamWriter(socket.getOutputStream(), "UTF-8"); } catch (IOException ioe) { throw new XMPPException("Error establishing connection with server.", ioe); } // If debugging is enabled, we open a window and write out all network traffic. // The method that creates the debug GUI returns a thread that we must start after // the packet reader and writer are created. Thread allPacketListener = null; if (DEBUG_ENABLED) { allPacketListener = createDebug(); } packetWriter = new PacketWriter(this); packetReader = new PacketReader(this); // If debugging is enabled, we should start the thread that will listen for // all packets and then log them. if (DEBUG_ENABLED) { allPacketListener.start(); } // Start the packet writer. This will open a Jabber stream to the server packetWriter.startup(); // Start the packet reader. The startup() method will block until we // get an opening stream packet back from server. packetReader.startup(); // Make note of the fact that we're now connected. connected = true; } | 45655 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45655/8322f022cc37af636f66293d18cb9077ef27b4e1/XMPPConnection.java/buggy/source/org/jivesoftware/smack/XMPPConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1208,
1435,
1216,
23216,
503,
288,
3639,
775,
288,
5411,
2949,
273,
394,
15322,
12,
7814,
18,
588,
4348,
9334,
315,
5159,
17,
28,
8863,
5411,
2633,
273,
394,
24248,
12,
7814,
18,
588,
4632,
9334,
315,
5159,
17,
28,
8863,
3639,
289,
3639,
1044,
261,
14106,
10847,
13,
288,
5411,
604,
394,
23216,
503,
2932,
668,
18312,
310,
1459,
598,
1438,
1199,
16,
10847,
1769,
3639,
289,
3639,
368,
971,
10450,
353,
3696,
16,
732,
1696,
279,
2742,
471,
1045,
596,
777,
2483,
16301,
18,
3639,
368,
1021,
707,
716,
3414,
326,
1198,
10978,
1135,
279,
2650,
716,
732,
1297,
787,
1839,
3639,
368,
326,
4414,
2949,
471,
2633,
854,
2522,
18,
3639,
11114,
2223,
1198,
2223,
273,
446,
31,
3639,
309,
261,
9394,
67,
13560,
13,
288,
5411,
777,
6667,
2223,
273,
752,
2829,
5621,
3639,
289,
3639,
4414,
2289,
273,
394,
11114,
2289,
12,
2211,
1769,
3639,
4414,
2514,
273,
394,
11114,
2514,
12,
2211,
1769,
3639,
368,
971,
10450,
353,
3696,
16,
732,
1410,
787,
326,
2650,
716,
903,
6514,
364,
3639,
368,
777,
12640,
471,
1508,
613,
2182,
18,
3639,
309,
261,
9394,
67,
13560,
13,
288,
5411,
777,
6667,
2223,
18,
1937,
5621,
3639,
289,
3639,
368,
3603,
326,
4414,
2633,
18,
1220,
903,
1696,
279,
804,
378,
744,
1407,
358,
326,
1438,
3639,
4414,
2289,
18,
23939,
5621,
3639,
368,
3603,
326,
4414,
2949,
18,
1021,
11850,
1435,
707,
903,
1203,
3180,
732,
3639,
368,
336,
392,
10890,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1208,
1435,
1216,
23216,
503,
288,
3639,
775,
288,
5411,
2949,
273,
394,
15322,
12,
7814,
18,
588,
4348,
9334,
315,
5159,
17,
28,
8863,
5411,
2633,
273,
394,
24248,
12,
7814,
18,
588,
4632,
9334,
315,
5159,
17,
28,
8863,
3639,
289,
3639,
1044,
261,
14106,
10847,
13,
288,
5411,
604,
394,
23216,
503,
2932,
668,
18312,
310,
1459,
598,
1438,
1199,
16,
10847,
1769,
3639,
289,
3639,
368,
971,
10450,
353,
3696,
16,
732,
1696,
279,
2742,
471,
1045,
596,
777,
2483,
16301,
18,
3639,
368,
1021,
707,
716,
3414,
326,
1198,
10978,
1135,
279,
2650,
716,
732,
1297,
787,
1839,
3639,
368,
326,
4414,
2949,
471,
2633,
854,
2522,
18,
3639,
11114,
2223,
1198,
2
] |
else if (to == ScriptRuntime.ObjectClass) { | else if (to == ScriptRuntime.ObjectClass || to == ScriptRuntime.SerializableClass || to == ScriptRuntime.ComparableClass) { | public static int getConversionWeight(Object fromObj, Class to) { int fromCode = NativeJavaObject.getJSTypeCode(fromObj); int result = CONVERSION_NONE; switch (fromCode) { case JSTYPE_UNDEFINED: if (to == ScriptRuntime.StringClass || to == ScriptRuntime.ObjectClass) { result = 1; } break; case JSTYPE_NULL: if (!to.isPrimitive()) { result = 1; } break; case JSTYPE_BOOLEAN: // "boolean" is #1 if (to == Boolean.TYPE) { result = 1; } else if (to == ScriptRuntime.BooleanClass) { result = 2; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_NUMBER: if (to.isPrimitive()) { if (to == Double.TYPE) { result = 1; } else if (to != Boolean.TYPE) { result = 1 + NativeJavaObject.getSizeRank(to); } } else { if (to == ScriptRuntime.StringClass) { // native numbers are #1-8 result = 9; } else if (to == ScriptRuntime.ObjectClass) { result = 10; } else if (ScriptRuntime.NumberClass.isAssignableFrom(to)) { // "double" is #1 result = 2; } } break; case JSTYPE_STRING: if (to == ScriptRuntime.StringClass) { result = 1; } else if (to == ScriptRuntime.ObjectClass) { result = 2; } else if (to.isPrimitive() && to != Boolean.TYPE) { if (to == Character.TYPE) { result = 3; } else { result = 4; } } break; case JSTYPE_JAVA_CLASS: if (to == ScriptRuntime.ClassClass) { result = 1; } else if (Context.useJSObject && jsObjectClass != null && jsObjectClass.isAssignableFrom(to)) { result = 2; } else if (to == ScriptRuntime.ObjectClass) { result = 3; } else if (to == ScriptRuntime.StringClass) { result = 4; } break; case JSTYPE_JAVA_OBJECT: case JSTYPE_JAVA_ARRAY: if (to == ScriptRuntime.StringClass) { result = 2; } else if (to.isPrimitive() && to != Boolean.TYPE) { result = (fromCode == JSTYPE_JAVA_ARRAY) ? CONVERSION_NONTRIVIAL : 2 + NativeJavaObject.getSizeRank(to); } else { Object javaObj = fromObj; if (javaObj instanceof Wrapper) { javaObj = ((Wrapper)javaObj).unwrap(); } if (to.isInstance(javaObj)) { result = CONVERSION_NONTRIVIAL; } } break; case JSTYPE_OBJECT: // Other objects takes #1-#3 spots if (Context.useJSObject && jsObjectClass != null && jsObjectClass.isAssignableFrom(to)) { result = 1; } else if (fromObj instanceof NativeArray && to.isArray()) { // This is a native array conversion to a java array // Array conversions are all equal, and preferable to object // and string conversion, per LC3. result = 1; } else if (to == ScriptRuntime.ObjectClass) { result = 2; } else if (to == ScriptRuntime.StringClass) { result = 3; } else if (to.isPrimitive() || to != Boolean.TYPE) { result = 3 + NativeJavaObject.getSizeRank(to); } break; } return result; } | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/4e33617219770a00bbcd8fe7b04103c1bd5e4791/NativeJavaObject.java/clean/src/org/mozilla/javascript/NativeJavaObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
336,
6814,
6544,
12,
921,
628,
2675,
16,
1659,
358,
13,
288,
3639,
509,
628,
1085,
273,
16717,
5852,
921,
18,
588,
6479,
15460,
12,
2080,
2675,
1769,
3639,
509,
563,
273,
3492,
5757,
67,
9826,
31,
3639,
1620,
261,
2080,
1085,
13,
288,
3639,
648,
804,
882,
1738,
67,
2124,
15544,
30,
5411,
309,
261,
869,
422,
7739,
5576,
18,
780,
797,
747,
7734,
358,
422,
7739,
5576,
18,
921,
797,
13,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
1738,
67,
8560,
30,
5411,
309,
16051,
869,
18,
291,
9840,
10756,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
1738,
67,
17900,
30,
5411,
368,
315,
6494,
6,
353,
468,
21,
5411,
309,
261,
869,
422,
3411,
18,
2399,
13,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
469,
309,
261,
869,
422,
7739,
5576,
18,
5507,
797,
13,
288,
7734,
563,
273,
576,
31,
5411,
289,
5411,
469,
309,
261,
869,
422,
7739,
5576,
18,
921,
797,
747,
358,
422,
7739,
5576,
18,
21682,
797,
747,
358,
422,
7739,
5576,
18,
799,
10207,
797,
13,
288,
7734,
563,
273,
890,
31,
5411,
289,
5411,
469,
309,
261,
869,
422,
7739,
5576,
18,
780,
797,
13,
288,
7734,
563,
273,
1059,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
1738,
67,
9931,
30,
5411,
309,
261,
869,
18,
291,
9840,
10756,
288,
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,
760,
509,
336,
6814,
6544,
12,
921,
628,
2675,
16,
1659,
358,
13,
288,
3639,
509,
628,
1085,
273,
16717,
5852,
921,
18,
588,
6479,
15460,
12,
2080,
2675,
1769,
3639,
509,
563,
273,
3492,
5757,
67,
9826,
31,
3639,
1620,
261,
2080,
1085,
13,
288,
3639,
648,
804,
882,
1738,
67,
2124,
15544,
30,
5411,
309,
261,
869,
422,
7739,
5576,
18,
780,
797,
747,
7734,
358,
422,
7739,
5576,
18,
921,
797,
13,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
1738,
67,
8560,
30,
5411,
309,
16051,
869,
18,
291,
9840,
10756,
288,
7734,
563,
273,
404,
31,
5411,
289,
5411,
898,
31,
3639,
648,
804,
882,
2
] |
public static String jsFunction_join(Context cx, Scriptable thisObj, Object[] args, Function funObj) | private static String jsFunction_join(Context cx, Scriptable thisObj, Object[] args) | public static String jsFunction_join(Context cx, Scriptable thisObj, Object[] args, Function funObj) { StringBuffer result = new StringBuffer(); String separator; double length = getLengthProperty(thisObj); // if no args, use "," as separator if (args.length < 1) { separator = ","; } else { separator = ScriptRuntime.toString(args[0]); } for (long i=0; i < length; i++) { if (i > 0) result.append(separator); Object temp = getElem(thisObj, i); if (temp == null || temp == Undefined.instance) continue; result.append(ScriptRuntime.toString(temp)); } return result.toString(); } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeArray.java/clean/js/rhino/src/org/mozilla/javascript/NativeArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
5701,
12,
1042,
9494,
16,
22780,
15261,
16,
29159,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
514,
4182,
31,
3639,
1645,
769,
273,
9888,
1396,
12,
2211,
2675,
1769,
3639,
368,
309,
1158,
833,
16,
999,
5753,
487,
4182,
3639,
309,
261,
1968,
18,
2469,
411,
404,
13,
288,
5411,
4182,
273,
5753,
31,
3639,
289,
469,
288,
5411,
4182,
273,
7739,
5576,
18,
10492,
12,
1968,
63,
20,
19226,
3639,
289,
3639,
364,
261,
5748,
277,
33,
20,
31,
277,
411,
769,
31,
277,
27245,
288,
5411,
309,
261,
77,
405,
374,
13,
7734,
563,
18,
6923,
12,
11287,
1769,
5411,
1033,
1906,
273,
4774,
3269,
12,
2211,
2675,
16,
277,
1769,
5411,
309,
261,
5814,
422,
446,
747,
1906,
422,
22243,
18,
1336,
13,
7734,
1324,
31,
5411,
563,
18,
6923,
12,
3651,
5576,
18,
10492,
12,
5814,
10019,
3639,
289,
3639,
327,
563,
18,
10492,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
5701,
12,
1042,
9494,
16,
22780,
15261,
16,
29159,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
6674,
563,
273,
394,
6674,
5621,
3639,
514,
4182,
31,
3639,
1645,
769,
273,
9888,
1396,
12,
2211,
2675,
1769,
3639,
368,
309,
1158,
833,
16,
999,
5753,
487,
4182,
3639,
309,
261,
1968,
18,
2469,
411,
404,
13,
288,
5411,
4182,
273,
5753,
31,
3639,
289,
469,
288,
5411,
4182,
273,
7739,
5576,
18,
10492,
12,
1968,
63,
20,
19226,
3639,
289,
3639,
364,
261,
5748,
277,
33,
20,
31,
277,
411,
769,
31,
277,
27245,
288,
5411,
309,
261,
77,
405,
374,
13,
7734,
563,
18,
6923,
12,
11287,
1769,
2
] |
public org.quickfix.field.Currency getCurrency() throws FieldNotFound { org.quickfix.field.Currency value = new org.quickfix.field.Currency(); | public quickfix.field.Currency getCurrency() throws FieldNotFound { quickfix.field.Currency value = new quickfix.field.Currency(); | public org.quickfix.field.Currency getCurrency() throws FieldNotFound { org.quickfix.field.Currency value = new org.quickfix.field.Currency(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MassQuote.java/buggy/src/java/src/quickfix/fix42/MassQuote.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
7623,
17910,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
7623,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
7623,
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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,
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,
-100,
-100,
-100,
-100
] |
return photoCollection; | if ( photoCollection != null ) { return photoCollection.getOrigCollection(); } return null; | public PhotoCollection getCollection() { return photoCollection; } | 50360 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50360/c7794652371a5124fc2d65417df9043a19bce8b2/PhotoCollectionThumbView.java/buggy/src/photovault/swingui/PhotoCollectionThumbView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
26867,
2532,
12075,
1435,
288,
3639,
309,
261,
10701,
2532,
480,
446,
262,
288,
327,
10701,
2532,
18,
588,
4741,
2532,
5621,
289,
327,
446,
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,
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,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
26867,
2532,
12075,
1435,
288,
3639,
309,
261,
10701,
2532,
480,
446,
262,
288,
327,
10701,
2532,
18,
588,
4741,
2532,
5621,
289,
327,
446,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ctx.print("<input size=50 class='inputbox' "); ctx.print("onblur=\"if (value == '') {value = '" + UNKNOWNCHANGE + "'}\" onfocus=\"if (value == '" + UNKNOWNCHANGE + "') {value =''}\" "); ctx.print("value=\"" + ( (newString!=null) ? newString : UNKNOWNCHANGE ) + "\" name=\"" + fieldsToHtml(fieldName,fieldPath) + SUBNEW + "\">"); | if((mainDraft>0) || (prop!=null)) { ctx.print("<input size=50 class='inputbox' "); ctx.print("onblur=\"if (value == '') {value = '" + UNKNOWNCHANGE + "'}\" onfocus=\"if (value == '" + UNKNOWNCHANGE + "') {value =''}\" "); ctx.print("value=\"" + ( (newString!=null) ? newString : UNKNOWNCHANGE ) + "\" name=\"" + fieldsToHtml(fieldName,fieldPath) + SUBNEW + "\">"); } else { ctx.print("Item is incorrect."); } | public void showNodeList(WebContext ctx, String xpath, NodeSet mySet, NodeSet.NodeSetTexter tx) { final int CODES_PER_PAGE = 80; // was 51 int count = 0; int dispCount = 0; int total = 0; int skip = 0; total = mySet.count(); boolean sortAlpha = ctx.prefBool(PREF_SORTALPHA); Map sortedMap = mySet.getSorted(sortAlpha?tx:new DraftFirstTexter(tx)); String hashName = (xpath != null)?xpath:xOTHER; Hashtable changes = (Hashtable)ctx.getByLocale(hashName); if(tx == null) { tx = new NullTexter(); } // prepare a new hashtable if(changes==null) { changes = new Hashtable(); // ?? TODO: do we need to create a hashtable here? } // NAVIGATION .. calculate skips.. String str = ctx.field("skip"); if((str!=null)&&(str.length()>0)) { skip = new Integer(str).intValue(); } if(skip<=0) { skip = 0; } else { int prevSkip = skip - CODES_PER_PAGE; if(prevSkip<0) { prevSkip = 0; } ctx.println("<a href=\"" + ctx.url() + "&skip=" + new Integer(prevSkip) + "\">" + "Back..." + "</a><br/> "); if(skip>=total) { skip = 0; } } // calculat nextSkip int from = skip+1; int nextSkip = skip + CODES_PER_PAGE; if(nextSkip >= total) { nextSkip = -1; } else { ctx.println("<a href=\"" + ctx.url() + "&skip=" + new Integer(nextSkip) + "\">" + "More..." + "</a> "); } int to = from + CODES_PER_PAGE-1; if(to >= total) { to = total; } // Print navigation ctx.println("Displaying items " + from + " to " + to + " of " + total + "<br/>"); { WebContext nuCtx = new WebContext(ctx); nuCtx.addQuery(PREF_SORTALPHA, !sortAlpha); nuCtx.println("Sorted <a href='" + nuCtx.url() + "'>" + ((sortAlpha)?"Alphabetically":"Draft-first") + "</a><br/>"); } // Form: ctx.println("<form method=POST action='" + ctx.base() + "'>"); ctx.printUrlAsHiddenFields(); ctx.println("<table class='list' border=1>"); if(ctx.session.user != null) { ctx.println("<input type=submit value=Save>"); } ctx.println("<tr>"); ctx.println(" <th class='heading' bgcolor='#DDDDDD' colspan=2>Name<br/><tt>Code</tt></th>"); ctx.println(" <th class='heading' bgcolor='#DDDDDD' colspan=1>Best<br/>"); ctx.printHelpLink("/Best"); ctx.println("</th>"); ctx.println(" <th class='heading' bgcolor='#DDDDDD' colspan=1>Contents</th>"); ctx.println("</tr>"); // process items.. for(Iterator e = sortedMap.values().iterator();e.hasNext();) { NodeSet.NodeSetEntry f = (NodeSet.NodeSetEntry)e.next(); count++; if(skip > 0) { --skip; continue; } dispCount++; if(f.xpath != null) { ctx.println("<tr class='xpath'><td colspan=4>"+ f.xpath + "</td></tr>"); } String type = f.type; String base = ((xpath==null)?f.xpath:type); String main = null; String mainFallback = null; int mainDraft = 0; // count String prop = null; if(f.main != null) { main = LDMLUtilities.getNodeValue(f.main); if(f.mainDraft) { mainDraft = 1; // for now: one draft } } String fieldName = ((xpath!=null)?xpath:f.xpath); String fieldPath = ((xpath!=null)?type:null); int nRows = 1; // the 'new' line (user edited) nRows ++; // 'main' // are we showing a fallback locale in the 'current' slot? if( (f.fallback != null) && // if we have a fallback ( (mainDraft > 0) || (f.main == null) ) ) { mainFallback = f.fallbackLocale; if(mainDraft > 0) { nRows ++; // fallback } }else if (mainDraft > 0) { nRows ++; // for the Draft entry } if(f.proposed != null) { nRows ++; prop = LDMLUtilities.getNodeValue(f.proposed); } // Analyze user input. String checked = null; // What option has the user checked? String newString = null; // What option has the user checked? if(changes != null) { checked = (String)changes.get(base + SUBVETTING); // fetch VETTING data newString = (String)changes.get(base + SUBNEW); // fetch NEW data///*srl*/ ctx.println(":"+base+SUBVETTING + ":"); } if(checked == null) { checked = NOCHANGE; } ctx.println("<tr>"); // 1. name/code ctx.println("<th valign=top align=left class='name' colspan=2 rowspan=" + (nRows-1) + ">" + tx.text(f) + ""); if(f.key != null) { ctx.println("<br/><tt>(" + f.key + ")</tt>"); } ctx.println("</th>"); // Now there are a pair of columns for each of the following. // 2. fallback if(mainFallback != null) { ctx.println("<td align=right class='fallback'>"); ctx.println("from " + "<a href=\"" + ctx.base() + "?x=" + ctx.field("x") + "&_=" + mainFallback + "\">" + new ULocale(mainFallback).getDisplayName(inLocale) + "</a>"); writeRadio(ctx,fieldName,fieldPath,CURRENT,checked); ctx.println("</td>"); ctx.println("<td class='fallback'>"); ctx.println(LDMLUtilities.getNodeValue(f.fallback)); ctx.println("</td>"); } else if((main!=null)&&(mainDraft==0)) { ctx.println("<td align=right class='current'>"); ctx.println("current"); writeRadio(ctx,fieldName,fieldPath,CURRENT,checked); ctx.println("</td>"); ctx.println("<td class='current'>"); ctx.println(main); ctx.println("</td>"); } else /* if(main == null) */ { ctx.println("<td align=right class='missing'>"); ctx.println("<i>current</i>"); writeRadio(ctx,fieldName,fieldPath,CURRENT,checked); ctx.println("</td>"); ctx.println("<td title=\"Data missing - raw code shown.\" class='missing'><tt>"); ctx.println(type); // in typewriter <tt> to show that it is a code. ctx.println("</tt></td>"); } ctx.println("</tr>"); ctx.println("<tr>"); // Draft item if(mainDraft > 0) { ctx.println("<td align=right class='draft'>"); ctx.println("draft"); writeRadio(ctx,fieldName,fieldPath,DRAFT,checked); ctx.println("</td>"); ctx.println("<td class='draft'>"); ctx.println(main); ctx.println("</td>"); ctx.println("</tr>"); ctx.println("<tr>"); } // Proposed item if(prop != null) { ctx.println("<td align=right class='proposed'>"); ctx.println("proposed"); writeRadio(ctx,fieldName,fieldPath,PROPOSED,checked); ctx.println("</td>"); ctx.println("<td class='proposed'>"); ctx.println(prop); ctx.println("</td>"); ctx.println("</tr>"); ctx.println("<tr>"); } //'nochange' and type ctx.println("<th class='type'>"); ctx.println("<tt>" + type + "</tt>"); ctx.println("</th"); ctx.println("<td class='nochange'>"); writeRadio(ctx,fieldName,fieldPath,NOCHANGE,checked); ctx.println("<font size=-2>Don't care</font>"); ctx.println("</td>"); // edit text ctx.println("<td align=right class='new'>"); ctx.println("change"); writeRadio(ctx,fieldName,fieldPath,NEW,checked); ctx.println("</td>"); ctx.println("<td class='new'>"); String change = ""; if(changes != null) { // change = (String)changes.get(type + "//n"); } ctx.print("<input size=50 class='inputbox' "); ctx.print("onblur=\"if (value == '') {value = '" + UNKNOWNCHANGE + "'}\" onfocus=\"if (value == '" + UNKNOWNCHANGE + "') {value =''}\" "); ctx.print("value=\"" + ( (newString!=null) ? newString : UNKNOWNCHANGE ) + "\" name=\"" + fieldsToHtml(fieldName,fieldPath) + SUBNEW + "\">"); ctx.println("</td>"); ctx.println("</tr>"); ctx.println("<tr class='sep'><td class='sep' style='height: 3px; overflow: hidden;' colspan=4 bgcolor=\"#CCCCDD\"></td></tr>"); // ----- if(dispCount >= CODES_PER_PAGE) { break; } } ctx.println("</table>"); if(ctx.session.user != null) { ctx.println("<input type=submit value=Save>"); } ctx.println("</form>"); if(nextSkip >= 0) { ctx.println("<a href=\"" + ctx.url() + "&skip=" + new Integer(nextSkip) + "\">" + "More..." + "</a> "); } } | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/5f353ad335dd19d28f3f7b57290fb92bb031c762/SurveyMain.java/clean/tools/java/org/unicode/cldr/web/SurveyMain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
19914,
12,
4079,
1042,
1103,
16,
514,
6748,
16,
2029,
694,
3399,
694,
16,
2029,
694,
18,
907,
694,
16733,
387,
2229,
13,
288,
3639,
727,
509,
11128,
55,
67,
3194,
67,
11219,
273,
8958,
31,
225,
368,
1703,
21119,
3639,
509,
1056,
273,
374,
31,
3639,
509,
16232,
1380,
273,
374,
31,
3639,
509,
2078,
273,
374,
31,
3639,
509,
2488,
273,
374,
31,
3639,
2078,
273,
3399,
694,
18,
1883,
5621,
3639,
1250,
1524,
9690,
273,
1103,
18,
25724,
7464,
12,
3670,
42,
67,
23988,
26313,
1769,
3639,
1635,
3115,
863,
273,
3399,
694,
18,
588,
11739,
12,
3804,
9690,
35,
978,
30,
2704,
463,
5015,
3759,
16733,
387,
12,
978,
10019,
3639,
514,
1651,
461,
273,
261,
18644,
480,
446,
9945,
18644,
30,
92,
23940,
31,
3639,
18559,
3478,
273,
261,
5582,
14544,
13,
5900,
18,
588,
858,
3916,
12,
2816,
461,
1769,
7734,
309,
12,
978,
422,
446,
13,
288,
5411,
2229,
273,
394,
4112,
16733,
387,
5621,
3639,
289,
7734,
368,
2911,
279,
394,
711,
14544,
3639,
309,
12,
6329,
631,
2011,
13,
288,
2398,
3478,
273,
394,
18559,
5621,
225,
368,
5317,
2660,
30,
741,
732,
1608,
358,
752,
279,
711,
14544,
2674,
35,
3639,
289,
3639,
368,
423,
5856,
3047,
2689,
6116,
4604,
24646,
838,
540,
514,
609,
273,
1103,
18,
1518,
2932,
7457,
8863,
3639,
309,
12443,
701,
5,
33,
2011,
13,
10,
10,
12,
701,
18,
2469,
1435,
34,
20,
3719,
288,
5411,
2488,
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,
2405,
19914,
12,
4079,
1042,
1103,
16,
514,
6748,
16,
2029,
694,
3399,
694,
16,
2029,
694,
18,
907,
694,
16733,
387,
2229,
13,
288,
3639,
727,
509,
11128,
55,
67,
3194,
67,
11219,
273,
8958,
31,
225,
368,
1703,
21119,
3639,
509,
1056,
273,
374,
31,
3639,
509,
16232,
1380,
273,
374,
31,
3639,
509,
2078,
273,
374,
31,
3639,
509,
2488,
273,
374,
31,
3639,
2078,
273,
3399,
694,
18,
1883,
5621,
3639,
1250,
1524,
9690,
273,
1103,
18,
25724,
7464,
12,
3670,
42,
67,
23988,
26313,
1769,
3639,
1635,
3115,
863,
273,
3399,
694,
18,
588,
11739,
12,
3804,
9690,
35,
978,
30,
2704,
463,
5015,
3759,
16733,
387,
12,
978,
10019,
3639,
2
] |
AST __t739 = _t; AST tmp1280_AST_in = (AST)_t; | AST __t740 = _t; AST tmp1281_AST_in = (AST)_t; | public final void exportstate(AST _t) throws RecognitionException { AST exportstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t736 = _t; AST tmp1279_AST_in = (AST)_t; match(_t,EXPORT); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STREAM: { stream_name(_t); _t = _retTree; break; } case EOF: case PERIOD: case DELIMITER: case EXCEPT: case Form_item: case NOLOBS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DELIMITER: { AST __t739 = _t; AST tmp1280_AST_in = (AST)_t; match(_t,DELIMITER); _t = _t.getFirstChild(); constant(_t); _t = _retTree; _t = __t739; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case EXCEPT: case Form_item: case NOLOBS: { break; } default: { throw new NoViableAltException(_t); } } } { _loop741: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Form_item)) { display_item(_t); _t = _retTree; } else { break _loop741; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXCEPT: { AST __t743 = _t; AST tmp1281_AST_in = (AST)_t; match(_t,EXCEPT); _t = _t.getFirstChild(); { _loop745: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==Field_ref)) { fld1(_t,CQ.SYMBOL); _t = _retTree; } else { break _loop745; } } while (true); } _t = __t743; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case NOLOBS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOLOBS: { AST tmp1282_AST_in = (AST)_t; match(_t,NOLOBS); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t736; _t = _t.getNextSibling(); _retTree = _t; } | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3359,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3359,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
27,
5718,
273,
389,
88,
31,
202,
202,
9053,
1853,
2138,
7235,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
31275,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
19917,
30,
202,
202,
95,
1082,
202,
3256,
67,
529,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
6431,
30,
202,
202,
3593,
10950,
21054,
30,
202,
202,
3593,
2030,
15832,
30,
202,
202,
3593,
5675,
14514,
30,
202,
202,
3593,
2748,
67,
1726,
30,
202,
202,
3593,
3741,
6038,
55,
30,
202,
202,
95,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
1886,
30,
202,
202,
95,
1082,
202,
12849,
394,
17114,
24899,
88,
1769,
202,
202,
97,
202,
202,
97,
202,
202,
97,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
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,
3359,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3359,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
27,
5718,
273,
389,
88,
31,
202,
202,
9053,
1853,
2138,
7235,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
31275,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
2
] |
if (prefColor != null) { registry.put(id, prefColor); } | private static void installColor( ColorDefinition definition, ITheme theme, IPreferenceStore store) { ColorRegistry registry = theme.getColorRegistry(); String id = definition.getId(); String key = createPreferenceKey(theme, id); RGB prefColor = store != null ? PreferenceConverter.getColor(store, key) : null; RGB defaultColor = null; if (definition.getValue() != null) defaultColor = definition.getValue(); else defaultColor = registry.getRGB(definition.getDefaultsTo()); if (prefColor == null || prefColor == PreferenceConverter.COLOR_DEFAULT_DEFAULT) { prefColor = defaultColor; } if (defaultColor != null && store != null) { PreferenceConverter.setDefault( store, key, defaultColor); } if (prefColor != null) { registry.put(id, prefColor); } } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/d94edf054bdce936ee21432861f9b30b09bccff1/ThemeElementHelper.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/themes/ThemeElementHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
3799,
2957,
12,
202,
202,
2957,
1852,
2379,
16,
202,
202,
1285,
76,
4698,
5006,
16,
202,
202,
45,
9624,
2257,
1707,
13,
288,
202,
565,
5563,
4243,
4023,
273,
5006,
18,
588,
2957,
4243,
5621,
202,
377,
9506,
565,
514,
612,
273,
2379,
18,
26321,
5621,
3639,
514,
498,
273,
752,
9624,
653,
12,
7997,
16,
612,
1769,
202,
202,
11343,
11307,
2957,
273,
1707,
480,
446,
692,
29125,
5072,
18,
588,
2957,
12,
2233,
16,
498,
13,
294,
446,
31,
202,
202,
11343,
805,
2957,
273,
446,
31,
202,
202,
430,
261,
6907,
18,
24805,
1435,
480,
446,
13,
1082,
565,
805,
2957,
273,
2379,
18,
24805,
5621,
202,
202,
12107,
1875,
565,
805,
2957,
273,
4023,
18,
588,
11343,
12,
6907,
18,
588,
7019,
774,
10663,
9506,
202,
430,
261,
25724,
2957,
422,
446,
747,
11307,
2957,
422,
29125,
5072,
18,
10989,
67,
5280,
67,
5280,
13,
288,
1082,
565,
11307,
2957,
273,
805,
2957,
31,
202,
202,
97,
9506,
202,
430,
261,
1886,
2957,
480,
446,
597,
1707,
480,
446,
13,
288,
1082,
202,
9624,
5072,
18,
542,
1868,
12,
6862,
202,
2233,
16,
4405,
202,
856,
16,
4405,
202,
1886,
2957,
1769,
202,
202,
97,
9506,
202,
430,
261,
25724,
2957,
480,
446,
13,
288,
1082,
377,
1082,
202,
9893,
18,
458,
12,
350,
16,
11307,
2957,
1769,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
3799,
2957,
12,
202,
202,
2957,
1852,
2379,
16,
202,
202,
1285,
76,
4698,
5006,
16,
202,
202,
45,
9624,
2257,
1707,
13,
288,
202,
565,
5563,
4243,
4023,
273,
5006,
18,
588,
2957,
4243,
5621,
202,
377,
9506,
565,
514,
612,
273,
2379,
18,
26321,
5621,
3639,
514,
498,
273,
752,
9624,
653,
12,
7997,
16,
612,
1769,
202,
202,
11343,
11307,
2957,
273,
1707,
480,
446,
692,
29125,
5072,
18,
588,
2957,
12,
2233,
16,
498,
13,
294,
446,
31,
202,
202,
11343,
805,
2957,
273,
446,
31,
202,
202,
430,
261,
6907,
18,
24805,
1435,
480,
446,
13,
1082,
565,
805,
2957,
273,
2379,
18,
24805,
5621,
202,
202,
12107,
1875,
2
] | |
setCurrencySymbol (currency.getSymbol()); | this.currency = currency; intlCurrencySymbol = currency.getCurrencyCode(); currencySymbol = currency.getSymbol(); | public void setCurrency (Currency currency) { setCurrencySymbol (currency.getSymbol()); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/9e32ed4d0b771e0ed9b5a8daf23f7ad9df5afb15/DecimalFormatSymbols.java/buggy/core/src/classpath/java/java/text/DecimalFormatSymbols.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
7623,
261,
7623,
5462,
13,
225,
288,
565,
333,
18,
7095,
273,
5462,
31,
509,
80,
7623,
5335,
273,
5462,
18,
588,
28976,
5621,
5462,
5335,
273,
5462,
18,
588,
5335,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
7623,
261,
7623,
5462,
13,
225,
288,
565,
333,
18,
7095,
273,
5462,
31,
509,
80,
7623,
5335,
273,
5462,
18,
588,
28976,
5621,
5462,
5335,
273,
5462,
18,
588,
5335,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
setFileEditor(newEditor); | finally { myLastEvent = null; } | public void run() { if (psiManager.isDisposed()) { return; // project may have been closed } setFileEditor(newEditor); } | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/38863c3ffbeda1623941375e25d7f7bf85072111/StructureViewWrapperImpl.java/buggy/source/com/intellij/ide/impl/StructureViewWrapperImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1086,
1435,
288,
2868,
309,
261,
24275,
1318,
18,
291,
1669,
7423,
10756,
288,
7734,
327,
31,
368,
1984,
2026,
1240,
2118,
4375,
2868,
289,
2868,
3095,
288,
3399,
3024,
1133,
273,
446,
31,
289,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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,
289,
2868,
3095,
288,
3399,
3024,
1133,
273,
446,
31,
289,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
protected void debug(String str) { | protected void debug(String str) { | protected void debug(String str) { // TODO Auto-generated method stub } | 9764 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9764/4b1c0901153e2bf5e27c87d2b4da7dde0b46c4fc/PluginLoaderImpl.java/clean/jadabs/bundles/pluginLoader/src/ch/ethz/jadabs/pluginLoader/PluginLoaderImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
918,
1198,
12,
780,
609,
13,
288,
1377,
368,
2660,
8064,
17,
11168,
707,
7168,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
4750,
918,
1198,
12,
780,
609,
13,
288,
1377,
368,
2660,
8064,
17,
11168,
707,
7168,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
VM.sysWrite("VM_BaselineGCMapIterator getNextReturnAddressOffset = "); VM.sysWrite(mapOffset); VM.sysWrite(".\n"); | VM.sysWrite("VM_BaselineGCMapIterator getNextReturnAddressOffset mapId = "); VM.sysWrite(mapId); VM.sysWrite(".\n"); | VM_Address getNextReturnAddressAddress() { if (mapId >= 0) { if (VM.TraceStkMaps) { VM.sysWrite("VM_BaselineGCMapIterator getNextReturnAddressOffset mapId = "); VM.sysWrite(mapId); VM.sysWrite(".\n"); } return VM_Address.zero(); } mapOffset = maps.getNextJSRReturnAddr(mapOffset); if (VM.TraceStkMaps) { VM.sysWrite("VM_BaselineGCMapIterator getNextReturnAddressOffset = "); VM.sysWrite(mapOffset); VM.sysWrite(".\n"); } return (mapOffset == 0) ? VM_Address.zero() : framePtr.add(mapOffset); } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/adc94596e6496781a4e0763b29a52be3daab1a7a/VM_BaselineGCMapIterator.java/buggy/rvm/src/vm/arch/powerPC/compilers/baseline/GCMap/VM_BaselineGCMapIterator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
8251,
67,
1887,
6927,
990,
1887,
1887,
1435,
288,
4202,
309,
261,
1458,
548,
1545,
374,
13,
288,
202,
282,
309,
261,
7397,
18,
3448,
510,
79,
8903,
13,
288,
202,
4202,
8251,
18,
9499,
3067,
2932,
7397,
67,
16635,
15396,
863,
3198,
6927,
990,
1887,
2335,
852,
548,
273,
315,
1769,
202,
4202,
8251,
18,
9499,
3067,
12,
1458,
548,
1769,
202,
4202,
8251,
18,
9499,
3067,
2932,
8403,
82,
8863,
202,
282,
289,
540,
327,
8251,
67,
1887,
18,
7124,
5621,
4202,
289,
1377,
852,
2335,
273,
7565,
18,
588,
2134,
6479,
54,
990,
3178,
12,
1458,
2335,
1769,
1377,
309,
261,
7397,
18,
3448,
510,
79,
8903,
13,
288,
540,
8251,
18,
9499,
3067,
2932,
7397,
67,
16635,
15396,
863,
3198,
6927,
990,
1887,
2335,
273,
315,
1769,
540,
8251,
18,
9499,
3067,
12,
1458,
2335,
1769,
540,
8251,
18,
9499,
3067,
2932,
8403,
82,
8863,
1377,
289,
1377,
327,
261,
1458,
2335,
422,
374,
13,
692,
8251,
67,
1887,
18,
7124,
1435,
294,
2623,
5263,
18,
1289,
12,
1458,
2335,
1769,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
565,
8251,
67,
1887,
6927,
990,
1887,
1887,
1435,
288,
4202,
309,
261,
1458,
548,
1545,
374,
13,
288,
202,
282,
309,
261,
7397,
18,
3448,
510,
79,
8903,
13,
288,
202,
4202,
8251,
18,
9499,
3067,
2932,
7397,
67,
16635,
15396,
863,
3198,
6927,
990,
1887,
2335,
852,
548,
273,
315,
1769,
202,
4202,
8251,
18,
9499,
3067,
12,
1458,
548,
1769,
202,
4202,
8251,
18,
9499,
3067,
2932,
8403,
82,
8863,
202,
282,
289,
540,
327,
8251,
67,
1887,
18,
7124,
5621,
4202,
289,
1377,
852,
2335,
273,
7565,
18,
588,
2134,
6479,
54,
990,
3178,
12,
1458,
2335,
1769,
1377,
309,
261,
7397,
18,
3448,
510,
79,
8903,
13,
288,
540,
8251,
18,
9499,
3067,
2932,
2
] |
if (results != null) | if (results != null) { | private DecorationResult internalGetResult(Object element, IDecorationContext context) { Map results = (Map)resultCache.get(context); if (results != null) return (DecorationResult)results.get(element); return null; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/DecorationScheduler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3416,
22226,
1253,
2713,
967,
1253,
12,
921,
930,
16,
1599,
557,
22226,
1042,
819,
13,
288,
202,
202,
863,
1686,
273,
261,
863,
13,
2088,
1649,
18,
588,
12,
2472,
1769,
202,
202,
430,
261,
4717,
480,
446,
13,
1082,
202,
2463,
261,
7859,
367,
1253,
13,
4717,
18,
588,
12,
2956,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
2472,
1769,
202,
202,
430,
261,
4717,
480,
446,
13,
1082,
202,
2463,
261,
7859,
367,
1253,
13,
4717,
18,
588,
12,
2956,
1769,
202,
202,
2463,
446,
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
] |
return new IncludeLibrary( ); | return new IncludedLibrary( ); | public static IncludeLibrary createIncludeLibrary( ) { return new IncludeLibrary( ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/52e6185e9c5e6224a528b3b882b626f8cc757c6a/StructureFactory.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/StructureFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
12672,
9313,
752,
8752,
9313,
12,
262,
202,
95,
202,
202,
2463,
394,
12672,
9313,
12,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
12672,
9313,
752,
8752,
9313,
12,
262,
202,
95,
202,
202,
2463,
394,
12672,
9313,
12,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} | } | public Main(String[] args) { LongOpt[] longOpts = new LongOpt[2]; longOpts[0] = new LongOpt("instrumentation", LongOpt.REQUIRED_ARGUMENT, null, 'i'); longOpts[1] = new LongOpt("output", LongOpt.REQUIRED_ARGUMENT, null, 'o'); Getopt g = new Getopt(getClass().getName(), args, ":i:o:", longOpts); int c; File destDir = new File(System.getProperty("user.dir")); while ((c = g.getopt()) != -1) { switch (c) { case 'i': System.out.println("cobertura loading: " + g.getOptarg()); try { merge(loadInstrumentation(new FileInputStream(g .getOptarg()))); } catch (FileNotFoundException ex) { logger.warn(ex); } break; case 'o': destDir = new File(g.getOptarg()); destDir.mkdirs(); break; } } saveInstrumentation(destDir); } | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/0e9968867b8060fdd72b4fc9c248fcbdc4e96330/Main.java/clean/cobertura/src/net/sourceforge/cobertura/merge/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12740,
12,
780,
8526,
833,
13,
202,
95,
202,
202,
3708,
6179,
8526,
1525,
5476,
273,
394,
3407,
6179,
63,
22,
15533,
202,
202,
5748,
5476,
63,
20,
65,
273,
394,
3407,
6179,
2932,
22818,
367,
3113,
9506,
202,
3708,
6179,
18,
14977,
67,
18311,
16,
446,
16,
296,
77,
8284,
202,
202,
5748,
5476,
63,
21,
65,
273,
394,
3407,
6179,
2932,
2844,
3113,
3407,
6179,
18,
14977,
67,
18311,
16,
446,
16,
9506,
202,
11,
83,
8284,
202,
202,
967,
3838,
314,
273,
394,
968,
3838,
12,
588,
797,
7675,
17994,
9334,
833,
16,
6398,
77,
30,
83,
2773,
16,
1525,
5476,
1769,
202,
202,
474,
276,
31,
202,
202,
812,
26231,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
1355,
18,
1214,
7923,
1769,
202,
202,
17523,
14015,
71,
273,
314,
18,
588,
3838,
10756,
480,
300,
21,
13,
202,
202,
95,
1082,
202,
9610,
261,
71,
13,
1082,
202,
95,
9506,
202,
3593,
296,
77,
4278,
6862,
202,
3163,
18,
659,
18,
8222,
2932,
2894,
25925,
21401,
7153,
30,
315,
397,
314,
18,
588,
6179,
3175,
10663,
6862,
202,
698,
6862,
202,
95,
25083,
202,
2702,
12,
945,
19228,
367,
12,
2704,
11907,
12,
75,
6862,
9506,
202,
18,
588,
6179,
3175,
1435,
3719,
1769,
6862,
202,
97,
6862,
202,
14683,
261,
812,
3990,
431,
13,
6862,
202,
95,
25083,
202,
4901,
18,
8935,
12,
338,
1769,
6862,
202,
97,
6862,
202,
8820,
31,
9506,
202,
3593,
296,
83,
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,
12740,
12,
780,
8526,
833,
13,
202,
95,
202,
202,
3708,
6179,
8526,
1525,
5476,
273,
394,
3407,
6179,
63,
22,
15533,
202,
202,
5748,
5476,
63,
20,
65,
273,
394,
3407,
6179,
2932,
22818,
367,
3113,
9506,
202,
3708,
6179,
18,
14977,
67,
18311,
16,
446,
16,
296,
77,
8284,
202,
202,
5748,
5476,
63,
21,
65,
273,
394,
3407,
6179,
2932,
2844,
3113,
3407,
6179,
18,
14977,
67,
18311,
16,
446,
16,
9506,
202,
11,
83,
8284,
202,
202,
967,
3838,
314,
273,
394,
968,
3838,
12,
588,
797,
7675,
17994,
9334,
833,
16,
6398,
77,
30,
83,
2773,
16,
1525,
5476,
1769,
202,
202,
474,
276,
31,
202,
202,
812,
26231,
273,
394,
2
] |
ISelectionProvider selectionProvider = aPart.getSite().getSelectionProvider(); if (selectionProvider != null) { selectionProvider.addSelectionChangedListener(this); selectionChanged(selectionProvider.getSelection()); | ISelectionProvider selectionProvider = aPart.getSite().getSelectionProvider(); if (selectionProvider != null) { selectionProvider.addSelectionChangedListener(this); selectionChanged(selectionProvider.getSelection()); } | protected void registerSelectionListener(IWorkbenchPart aPart) { ISelectionProvider selectionProvider = aPart.getSite().getSelectionProvider(); if (selectionProvider != null) { selectionProvider.addSelectionChangedListener(this); selectionChanged(selectionProvider.getSelection()); }} | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3113adf073596bfd0c0770703963de0f288cda77/PartPluginAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartPluginAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
1744,
6233,
2223,
12,
45,
2421,
22144,
1988,
279,
1988,
13,
288,
202,
45,
6233,
2249,
4421,
2249,
273,
279,
1988,
18,
588,
4956,
7675,
588,
6233,
2249,
5621,
202,
430,
261,
10705,
2249,
480,
446,
13,
288,
202,
202,
10705,
2249,
18,
1289,
6233,
5033,
2223,
12,
2211,
1769,
202,
202,
10705,
5033,
12,
10705,
2249,
18,
588,
6233,
10663,
202,
9090,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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279,
1988,
13,
288,
202,
45,
6233,
2249,
4421,
2249,
273,
279,
1988,
18,
588,
4956,
7675,
588,
6233,
2249,
5621,
202,
430,
261,
10705,
2249,
480,
446,
13,
288,
202,
202,
10705,
2249,
18,
1289,
6233,
5033,
2223,
12,
2211,
1769,
202,
202,
10705,
5033,
12,
10705,
2249,
18,
588,
6233,
10663,
202,
9090,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
errorManager.setUpImages(iconsRoot); | setUpImage(iconsRoot, MAXIMIZE, MAXIMIZE_KEY); setUpImage(iconsRoot, MINIMIZE, MINIMIZE_KEY); | ProgressManager() { Platform.getJobManager().setProgressProvider(this); createChangeListener(); Platform.getJobManager().addJobChangeListener(this.changeListener); URL iconsRoot = Platform.getPlugin(PlatformUI.PLUGIN_ID).find( new Path(ProgressManager.PROGRESS_FOLDER)); try { setUpImage(iconsRoot, PROGRESS_20, PROGRESS_20_KEY); setUpImage(iconsRoot, PROGRESS_40, PROGRESS_40_KEY); setUpImage(iconsRoot, PROGRESS_60, PROGRESS_60_KEY); setUpImage(iconsRoot, PROGRESS_80, PROGRESS_80_KEY); setUpImage(iconsRoot, PROGRESS_100, PROGRESS_100_KEY); setUpImage(iconsRoot, SLEEPING_JOB, SLEEPING_JOB_KEY); setUpImage(iconsRoot, WAITING_JOB, WAITING_JOB_KEY); setUpImage(iconsRoot, BLOCKED_JOB, BLOCKED_JOB_KEY); setUpImage(iconsRoot, BUSY_OVERLAY, BUSY_OVERLAY_KEY); setUpImage(iconsRoot, MAXIMIZE, MAXIMIZE_KEY); setUpImage(iconsRoot, MINIMIZE, MINIMIZE_KEY); //Let the error manager set up its own icons errorManager.setUpImages(iconsRoot); } catch (MalformedURLException e) { ProgressManagerUtil.logException(e); } } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/4c26d9ee525c094efb56046cd34150f7de2e4a0c/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
5491,
1318,
1435,
288,
202,
202,
8201,
18,
588,
2278,
1318,
7675,
542,
5491,
2249,
12,
2211,
1769,
202,
202,
2640,
15744,
5621,
202,
202,
8201,
18,
588,
2278,
1318,
7675,
1289,
2278,
15744,
12,
2211,
18,
3427,
2223,
1769,
202,
202,
1785,
17455,
2375,
273,
1082,
202,
8201,
18,
588,
3773,
12,
8201,
5370,
18,
19415,
67,
734,
2934,
4720,
12,
9506,
202,
2704,
2666,
12,
5491,
1318,
18,
24022,
67,
17357,
10019,
202,
202,
698,
288,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
4629,
19126,
67,
3462,
16,
4629,
19126,
67,
3462,
67,
3297,
1769,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
4629,
19126,
67,
7132,
16,
4629,
19126,
67,
7132,
67,
3297,
1769,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
4629,
19126,
67,
4848,
16,
4629,
19126,
67,
4848,
67,
3297,
1769,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
4629,
19126,
67,
3672,
16,
4629,
19126,
67,
3672,
67,
3297,
1769,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
4629,
19126,
67,
6625,
16,
4629,
19126,
67,
6625,
67,
3297,
1769,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
348,
900,
10541,
1360,
67,
18321,
16,
348,
900,
10541,
1360,
67,
18321,
67,
3297,
1769,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
26859,
1360,
67,
18321,
16,
26859,
1360,
67,
18321,
67,
3297,
1769,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
14073,
2056,
67,
18321,
16,
14073,
2056,
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,
5491,
1318,
1435,
288,
202,
202,
8201,
18,
588,
2278,
1318,
7675,
542,
5491,
2249,
12,
2211,
1769,
202,
202,
2640,
15744,
5621,
202,
202,
8201,
18,
588,
2278,
1318,
7675,
1289,
2278,
15744,
12,
2211,
18,
3427,
2223,
1769,
202,
202,
1785,
17455,
2375,
273,
1082,
202,
8201,
18,
588,
3773,
12,
8201,
5370,
18,
19415,
67,
734,
2934,
4720,
12,
9506,
202,
2704,
2666,
12,
5491,
1318,
18,
24022,
67,
17357,
10019,
202,
202,
698,
288,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
4629,
19126,
67,
3462,
16,
4629,
19126,
67,
3462,
67,
3297,
1769,
1082,
202,
542,
1211,
2040,
12,
14516,
2375,
16,
4629,
19126,
67,
7132,
16,
4629,
19126,
67,
7132,
2
] |
void setListState(boolean state){ fListState= state; | static void setListState(boolean state){ fgListState= state; | void setListState(boolean state){ fListState= state; } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/48281fe6b85af16911a2c065b6b9ef38c92aadeb/MockPluginView.java/buggy/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/browsing/MockPluginView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
444,
682,
1119,
12,
6494,
919,
15329,
202,
202,
74,
682,
1119,
33,
919,
31,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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22398,
316,
326,
981,
30,
225,
202,
6459,
444,
682,
1119,
12,
6494,
919,
15329,
202,
202,
74,
682,
1119,
33,
919,
31,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
tokfix(); | private int yylex() { int c; int space_seen = 0; kwtable kw; retry : for (;;) { switch (c = nextc()) { case '\0' : // NUL case '\004' : // ^D case '\032' : // ^Z case -1 : //end of script. return 0; // white spaces case ' ' : case '\t' : case '\f' : case '\r' : case '\013' : // '\v' space_seen++; continue retry; case '#' : // it's a comment while ((c = nextc()) != '\n') { if (c == -1) { return 0; } } // fall through case '\n' : switch (ph.getLexState()) { case LexState.EXPR_BEG : case LexState.EXPR_FNAME : case LexState.EXPR_DOT : continue retry; default : break; } ph.setLexState(LexState.EXPR_BEG); return '\n'; case '*' : if ((c = nextc()) == '*') { ph.setLexState(LexState.EXPR_BEG); if (nextc() == '=') { yyVal = "**"; // ph.newId(Token.tPOW); return Token.tOP_ASGN; } pushback(c); return Token.tPOW; } if (c == '=') { yyVal = "*"; // ph.newId('*'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("'*' interpreted as argument prefix"); c = Token.tSTAR; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tSTAR; } else { c = '*'; } ph.setLexState(LexState.EXPR_BEG); return c; case '!' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tNEQ; } if (c == '~') { return Token.tNMATCH; } pushback(c); return '!'; case '=' : if (lex_p == 1) { // skip embedded rd document if (lex_curline.startsWith("=begin") && (lex_pend == 6 || ISSPACE(lex_curline.charAt(6)))) { for (;;) { lex_p = lex_pend; c = nextc(); if (c == -1) { ph.rb_compile_error("embedded document meets end of file"); return 0; } if (c != '=') { continue; } if (lex_curline.substring(lex_p, lex_p + 3).equals("end") && (lex_p + 3 == lex_pend || ISSPACE(lex_curline.charAt(lex_p + 3)))) { break; } } lex_p = lex_pend; continue retry; } } ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { if ((c = nextc()) == '=') { return Token.tEQQ; } pushback(c); return Token.tEQ; } if (c == '~') { return Token.tMATCH; } else if (c == '>') { return Token.tASSOC; } pushback(c); return '='; case '<' : c = nextc(); if (c == '<' && ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG && ph.getLexState() != LexState.EXPR_CLASS && (!IS_ARG() || space_seen != 0)) { int c2 = nextc(); int indent = 0; if (c2 == '-') { indent = 1; c2 = nextc(); } if (!ISSPACE(c2) && ("\"'`".indexOf(c2) != -1 || is_identchar(c2))) { return here_document(c2, indent); } pushback(c2); } ph.setLexState(LexState.EXPR_BEG); if (c == '=') { if ((c = nextc()) == '>') { return Token.tCMP; } pushback(c); return Token.tLEQ; } if (c == '<') { if (nextc() == '=') { yyVal = "<<"; // ph.newId(Token.tLSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tLSHFT; } pushback(c); return '<'; case '>' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tGEQ; } if (c == '>') { if ((c = nextc()) == '=') { yyVal = ">>"; //ph.newId(Token.tRSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tRSHFT; } pushback(c); return '>'; case '"' : return parse_string(c, c, c); case '`' : if (ph.getLexState() == LexState.EXPR_FNAME) { return c; } if (ph.getLexState() == LexState.EXPR_DOT) { return c; } return parse_string(c, c, c); case '\'' : return parse_qstring(c, 0); case '?' : if (ph.getLexState() == LexState.EXPR_END) { ph.setLexState(LexState.EXPR_BEG); return '?'; } c = nextc(); if (c == -1) { /* FIX 1.6.5 */ ph.rb_compile_error("incomplete character syntax"); return 0; } if (IS_ARG() && ISSPACE(c)) { pushback(c); ph.setLexState(LexState.EXPR_BEG); return '?'; } if (c == '\\') { c = read_escape(); } c &= 0xff; yyVal = RubyFixnum.newFixnum(ruby, c); ph.setLexState(LexState.EXPR_END); return Token.tINTEGER; case '&' : if ((c = nextc()) == '&') { ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "&&"; // ph.newId(Token.tANDOP); return Token.tOP_ASGN; } pushback(c); return Token.tANDOP; } else if (c == '=') { yyVal = "&"; //ph.newId('&'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("`&' interpeted as argument prefix"); c = Token.tAMPER; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tAMPER; } else { c = '&'; } ph.setLexState(LexState.EXPR_BEG); return c; case '|' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '|') { if ((c = nextc()) == '=') { yyVal = "||"; // ph.newId(Token.tOROP); return Token.tOP_ASGN; } pushback(c); return Token.tOROP; } else if (c == '=') { yyVal = "|"; //ph.newId('|'); return Token.tOP_ASGN; } pushback(c); return '|'; case '+' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUPLUS; } pushback(c); return '+'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "+"; //ph.newId('+'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '+'; return start_num(c); } return Token.tUPLUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '+'; case '-' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUMINUS; } pushback(c); return '-'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "-"; // ph.newId('-'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '-'; return start_num(c); } return Token.tUMINUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '-'; case '.' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '.') { if ((c = nextc()) == '.') { return Token.tDOT3; } pushback(c); return Token.tDOT2; } pushback(c); if (!Character.isDigit((char) c)) { ph.setLexState(LexState.EXPR_DOT); return '.'; } c = '.'; // fall through //start_num: case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : return start_num(c); case ']' : case '}' : ph.setLexState(LexState.EXPR_END); return c; case ')' : if (cond_nest > 0) { cond_stack >>= 1; } ph.setLexState(LexState.EXPR_END); return c; case ':' : c = nextc(); if (c == ':') { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ISSPACE(c)) { ph.setLexState(LexState.EXPR_BEG); return ':'; } ph.setLexState(LexState.EXPR_FNAME); return Token.tSYMBEG; case '/' : if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { return parse_regx('/', '/'); } if ((c = nextc()) == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "/"; // ph.newId('/'); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0) { if (!ISSPACE(c)) { arg_ambiguous(); return parse_regx('/', '/'); } } ph.setLexState(LexState.EXPR_BEG); return '/'; case '^' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "^"; //ph.newId('^'); return Token.tOP_ASGN; } pushback(c); return '^'; case ',' : case ';' : ph.setLexState(LexState.EXPR_BEG); return c; case '~' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) != '@') { pushback(c); } } ph.setLexState(LexState.EXPR_BEG); return '~'; case '(' : if (cond_nest > 0) { cond_stack = (cond_stack << 1) | 0; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (ph.getLexState() == LexState.EXPR_ARG && space_seen != 0) { ph.rb_warning(tok() + " (...) interpreted as method call"); } ph.setLexState(LexState.EXPR_BEG); return c; case '[' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) == ']') { if ((c = nextc()) == '=') { return Token.tASET; } pushback(c); return Token.tAREF; } pushback(c); return '['; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLBRACK; } else if (IS_ARG() && space_seen != 0) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{' : if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ARG) { c = Token.tLBRACE; } ph.setLexState(LexState.EXPR_BEG); return c; case '\\' : c = nextc(); if (c == '\n') { space_seen = 1; continue retry; // skip \\n } pushback(c); return '\\'; case '%' : quotation : for (;;) { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { int term; int paren; c = nextc(); if (!Character.isLetterOrDigit((char) c)) { term = c; c = 'Q'; } else { term = nextc(); } if (c == -1 || term == -1) { ph.rb_compile_error("unterminated quoted string meets end of file"); return 0; } paren = term; if (term == '(') { term = ')'; } else if (term == '[') { term = ']'; } else if (term == '{') { term = '}'; } else if (term == '<') { term = '>'; } else { paren = 0; } switch (c) { case 'Q' : return parse_string('"', term, paren); case 'q' : return parse_qstring(term, paren); case 'w' : return parse_quotedwords(term, paren); case 'x' : return parse_string('`', term, paren); case 'r' : return parse_regx(term, paren); default : yyerror("unknown type of %string"); return 0; } } if ((c = nextc()) == '=') { yyVal = "%"; //ph.newId('%'); return Token.tOP_ASGN; } if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { pushback(c); continue quotation; } break quotation; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '%'; case '$' : ph.setLexState(LexState.EXPR_END); newtok(); c = nextc(); switch (c) { case '_' : // $_: last read line string c = nextc(); if (is_identchar(c)) { tokadd('$'); tokadd('_'); break; } pushback(c); c = '_'; // fall through case '~' : // $~: match-data ph.getLocalIndex(String.valueOf(c)); // fall through case '*' : // $*: argv case '$' : // $$: pid case '?' : // $?: last status case '!' : // $!: error string case '@' : // $@: error position case '/' : // $/: input record separator case '\\' : // $\: output record separator case ';' : // $;: field separator case ',' : // $,: output field separator case '.' : // $.: last read line number case '=' : // $=: ignorecase case ':' : // $:: load path case '<' : // $<: reading filename case '>' : // $>: default output handle case '\"' : // $": already loaded files tokadd('$'); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); return Token.tGVAR; case '-' : tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); /* xxx shouldn't check if valid option variable */ return Token.tGVAR; case '&' : // $&: last match case '`' : // $`: string before last match case '\'' : // $': string after last match case '+' : // $+: string matches last paren. yyVal = nf.newBackRef(c); return Token.tBACK_REF; case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : tokadd('$'); while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } if (is_identchar(c)) { break; } pushback(c); tokfix(); yyVal = nf.newNthRef(Integer.parseInt(tok().substring(1))); return Token.tNTH_REF; default : if (!is_identchar(c)) { pushback(c); return '$'; } case '0' : tokadd('$'); } break; case '@' : c = nextc(); newtok(); tokadd('@'); if (c == '@') { tokadd('@'); c = nextc(); } if (Character.isDigit((char) c)) { ph.rb_compile_error("`@" + c + "' is not a valid instance variable name"); } if (!is_identchar(c)) { pushback(c); return '@'; } break; default : if (!is_identchar(c) || Character.isDigit((char) c)) { ph.rb_compile_error("Invalid char `\\" + c + "' in expression"); continue retry; } newtok(); break; } break retry; } while (is_identchar(c)) { tokadd(c); c = nextc(); } if ((c == '!' || c == '?') && is_identchar(tok().charAt(0)) && !peek('=')) { tokadd(c); } else { pushback(c); } tokfix(); { int result = 0; switch (tok().charAt(0)) { case '$' : ph.setLexState(LexState.EXPR_END); result = Token.tGVAR; break; case '@' : ph.setLexState(LexState.EXPR_END); if (tok().charAt(1) == '@') { result = Token.tCVAR; } else { result = Token.tIVAR; } break; default : if (ph.getLexState() != LexState.EXPR_DOT) { // See if it is a reserved word. kw = rb_reserved_word(tok(), toklen()); if (kw != null) { // enum lex_state int state = ph.getLexState(); ph.setLexState(kw.state); if (state == LexState.EXPR_FNAME) { yyVal = kw.name; // ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P()) { return Token.kDO_BLOCK; } return Token.kDO; } if (state == LexState.EXPR_BEG) { return kw.id0; } else { if (kw.id0 != kw.id1) { ph.setLexState(LexState.EXPR_BEG); } return kw.id1; } } } if (toklast() == '!' || toklast() == '?') { result = Token.tFID; } else { if (ph.getLexState() == LexState.EXPR_FNAME) { if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { result = Token.tIDENTIFIER; tokadd(c); } else { pushback(c); } } if (result == 0 && Character.isUpperCase(tok().charAt(0))) { result = Token.tCONSTANT; } else { result = Token.tIDENTIFIER; } } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_DOT || ph.getLexState() == LexState.EXPR_ARG) { ph.setLexState(LexState.EXPR_ARG); } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = tok(); // ruby.intern(tok()); return result; } } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/buggy/org/jruby/parser/DefaultRubyScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
11,
294,
368,
423,
1506,
7734,
648,
2337,
26565,
11,
294,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
11,
294,
368,
3602,
62,
7734,
648,
300,
21,
294,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
10792,
368,
9578,
7292,
7734,
648,
296,
296,
294,
7734,
648,
2337,
88,
11,
294,
7734,
648,
2337,
74,
11,
294,
7734,
648,
2337,
86,
11,
294,
7734,
648,
2337,
1611,
23,
11,
294,
368,
2337,
90,
11,
10792,
3476,
67,
15156,
9904,
31,
10792,
1324,
3300,
31,
7734,
648,
6501,
294,
368,
518,
1807,
279,
2879,
10792,
1323,
14015,
71,
273,
1024,
71,
10756,
480,
2337,
82,
6134,
288,
13491,
309,
261,
71,
422,
300,
21,
13,
288,
18701,
327,
374,
31,
13491,
289,
10792,
289,
10792,
368,
4159,
3059,
7734,
648,
2337,
82,
11,
294,
10792,
1620,
261,
844,
18,
588,
14756,
1119,
10756,
288,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
5948,
43,
294,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
42,
1985,
294,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
17591,
294,
18701,
1324,
3300,
31,
13491,
805,
294,
18701,
898,
31,
10792,
289,
10792,
1844,
18,
542,
14756,
1119,
12,
14756,
1119,
18,
2294,
8025,
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,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
11,
294,
368,
423,
1506,
7734,
648,
2337,
26565,
11,
294,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
11,
294,
368,
3602,
62,
7734,
648,
300,
21,
294,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
10792,
368,
9578,
7292,
7734,
648,
296,
296,
294,
7734,
648,
2337,
88,
11,
294,
7734,
648,
2337,
74,
11,
294,
7734,
648,
2337,
86,
11,
294,
7734,
648,
2337,
1611,
23,
11,
294,
368,
2
] | |
ucd = UCD.make(); Normalizer nfd = new Normalizer(Normalizer.NFD); Normalizer nfc = new Normalizer(Normalizer.NFC); | static public void test(UCA uca) throws IOException { uca.setAlternate(UCA.NON_IGNORABLE); ucd = UCD.make(); Normalizer nfd = new Normalizer(Normalizer.NFD); Normalizer nfc = new Normalizer(Normalizer.NFC); UCA.UCAContents cc = uca.getContents(UCA.FIXED_CE, null); // nfd instead of null if skipping decomps cc.enableSamples(); Set set = new TreeSet(); while (true) { String x = cc.next(); if (x == null) break; set.add(new Pair(uca.getSortKey(x), x)); } PrintWriter output = null; Iterator it = set.iterator(); byte oldScript = -127; int[] scriptCount = new int[128]; int counter = 0; int lastPrimary = -1; String lastSortKey = "\u0000"; int high = uca.getSortKey("a").charAt(0); int variable = UCA.getPrimary(uca.getVariableHigh()); int columnCount = 0; Utility.copyTextFile("index.html", true, "CollationCharts\\index.html"); Utility.copyTextFile("charts.css", false, "CollationCharts\\charts.css"); Utility.copyTextFile("help.html", true, "CollationCharts\\help.html"); indexFile = Utility.openPrintWriter("CollationCharts\\index_list.html"); Utility.appendFile("index_header.html", true, indexFile); /* indexFile.println("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8'>"); indexFile.println("<title>UCA Default Collation Table</title>"); indexFile.println("<base target='main'>"); indexFile.println("<style><!-- p { font-size: 90% } --></style>"); indexFile.println("</head><body><h2 align='center'>UCA Default Collation Table</h2>"); indexFile.println("<p align='center'><a href = 'help.html'>Help</a>"); */ while (it.hasNext()) { Utility.dot(counter); Pair p = (Pair) it.next(); String sortKey = (String) p.first; String s = (String) p.second; int cp = UTF16.charAt(s,0); byte script = ucd.getScript(cp); // get first non-zero primary int primary = sortKey.charAt(0); if (sortKey.length() < 4) script = -3; else if (primary == 0) script = -2; else if (primary < variable) script = -1; else if (primary < high) script = COMMON_SCRIPT; else if (primary >= UCA.UNSUPPORTED_BASE) script = UNSUPPORTED; if (script == KATAKANA_SCRIPT) script = HIRAGANA_SCRIPT; else if ((script == INHERITED_SCRIPT || script == COMMON_SCRIPT) && oldScript >= 0) script = oldScript; if (script != oldScript // && (script != COMMON_SCRIPT && script != INHERITED_SCRIPT) ) { closeFile(output); output = null; oldScript = script; } if (output == null) { ++scriptCount[script+3]; if (scriptCount[script+3] > 1) { System.out.println("\t\tFAIL: " + scriptCount[script+3] + ", " + getChunkName(script) + ", " + ucd.getCodeAndName(s)); } output = openFile(scriptCount[script+3], script); } boolean firstPrimaryEquals = primary == lastSortKey.charAt(0); int strength = uca.strengthDifference(sortKey, lastSortKey); if (strength < 0) strength = -strength; lastSortKey = sortKey; // find out if this is an expansion: more than one primary weight int primaryCount = 0; for (int i = 0; i < sortKey.length(); ++i) { char w = sortKey.charAt(i); if (w == 0) break; ++ primaryCount; } String breaker = ""; if (columnCount > 10 || !firstPrimaryEquals) { if (!firstPrimaryEquals || script == UNSUPPORTED) breaker = "</tr><tr>"; else breaker = "</tr><tr><td></td>"; // indent 1 cell columnCount = 0; } String classname = primaryCount > 1 ? XCLASSNAME[strength] : CLASSNAME[strength]; output.println(breaker + classname + " title='" + UCA.toString(sortKey) + "'>" + nfc.normalize(s) + "<br><tt>" + Utility.hex(s) //+ "<br>" + script + "</tt></td>"); ++columnCount; } closeFile(output); indexFile.println("<hr><p>Last Modified: " + new Date()); indexFile.println("<br>UCA Version: " + uca.getDataVersion()); indexFile.println("<br>UCD Version: " + ucd.getVersion()); indexFile.println("</p></body></html>"); indexFile.close(); } | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/3b30dd9146aa6529c07a6f0f4745caf2c750b816/WriteCharts.java/buggy/tools/unicodetools/com/ibm/text/UCA/WriteCharts.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
918,
1842,
12,
57,
3587,
582,
5353,
13,
1216,
1860,
288,
1850,
582,
5353,
18,
542,
25265,
12,
57,
3587,
18,
3993,
67,
10452,
916,
2782,
1769,
7734,
582,
4315,
273,
587,
10160,
18,
6540,
5621,
3639,
8769,
1824,
290,
8313,
273,
394,
8769,
1824,
12,
16132,
18,
50,
16894,
1769,
3639,
8769,
1824,
290,
7142,
273,
394,
8769,
1824,
12,
16132,
18,
50,
4488,
1769,
5375,
587,
3587,
18,
57,
3587,
6323,
4946,
273,
582,
5353,
18,
588,
6323,
12,
57,
3587,
18,
30406,
67,
1441,
16,
446,
1769,
368,
290,
8313,
3560,
434,
446,
309,
14195,
9862,
1121,
3639,
4946,
18,
7589,
13239,
5621,
5375,
1000,
444,
273,
394,
19461,
5621,
7734,
1323,
261,
3767,
13,
288,
5411,
514,
619,
273,
4946,
18,
4285,
5621,
5411,
309,
261,
92,
422,
446,
13,
898,
31,
5411,
444,
18,
1289,
12,
2704,
8599,
12,
5286,
69,
18,
588,
4416,
653,
12,
92,
3631,
619,
10019,
3639,
289,
5375,
14071,
876,
273,
446,
31,
7734,
4498,
518,
273,
444,
18,
9838,
5621,
7734,
1160,
1592,
3651,
273,
300,
14260,
31,
7734,
509,
8526,
2728,
1380,
273,
394,
509,
63,
10392,
15533,
7734,
509,
3895,
273,
374,
31,
7734,
509,
1142,
6793,
273,
300,
21,
31,
7734,
514,
1142,
4416,
653,
273,
1548,
89,
2787,
14432,
7734,
509,
3551,
273,
582,
5353,
18,
588,
4416,
653,
2932,
69,
20387,
3001,
861,
12,
20,
1769,
3639,
509,
2190,
273,
587,
3587,
18,
588,
6793,
12,
5286,
69,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
918,
1842,
12,
57,
3587,
582,
5353,
13,
1216,
1860,
288,
1850,
582,
5353,
18,
542,
25265,
12,
57,
3587,
18,
3993,
67,
10452,
916,
2782,
1769,
7734,
582,
4315,
273,
587,
10160,
18,
6540,
5621,
3639,
8769,
1824,
290,
8313,
273,
394,
8769,
1824,
12,
16132,
18,
50,
16894,
1769,
3639,
8769,
1824,
290,
7142,
273,
394,
8769,
1824,
12,
16132,
18,
50,
4488,
1769,
5375,
587,
3587,
18,
57,
3587,
6323,
4946,
273,
582,
5353,
18,
588,
6323,
12,
57,
3587,
18,
30406,
67,
1441,
16,
446,
1769,
368,
290,
8313,
3560,
434,
446,
309,
14195,
9862,
1121,
3639,
4946,
18,
7589,
13239,
5621,
5375,
1000,
444,
273,
394,
19461,
5621,
7734,
1323,
261,
2
] | |
if (dialog.open() == PluginSelectionDialog.OK) { | if (dialog.open() == Window.OK) { | protected void handleOpenDialog() { PluginSelectionDialog dialog = new PluginSelectionDialog(getSection().getShell(), false, false); dialog.create(); if (dialog.open() == PluginSelectionDialog.OK) { IPluginModel model = (IPluginModel) dialog.getFirstResult(); IPlugin plugin = model.getPlugin(); fPluginIdEntry.setValue(plugin.getId()); fPluginMinVersionEntry.setValue(plugin.getVersion()); } } | 8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/3a3538f68d4a9b275b0fde4fc78ba63950250285/FragmentGeneralInfoSection.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/FragmentGeneralInfoSection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1640,
3678,
6353,
1435,
288,
202,
202,
3773,
6233,
6353,
6176,
273,
394,
6258,
6233,
6353,
12,
588,
5285,
7675,
588,
13220,
9334,
629,
16,
629,
1769,
202,
202,
12730,
18,
2640,
5621,
202,
202,
430,
261,
12730,
18,
3190,
1435,
422,
6258,
6233,
6353,
18,
3141,
13,
288,
1082,
202,
45,
3773,
1488,
938,
273,
261,
45,
3773,
1488,
13,
6176,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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1640,
3678,
6353,
1435,
288,
202,
202,
3773,
6233,
6353,
6176,
273,
394,
6258,
6233,
6353,
12,
588,
5285,
7675,
588,
13220,
9334,
629,
16,
629,
1769,
202,
202,
12730,
18,
2640,
5621,
202,
202,
430,
261,
12730,
18,
3190,
1435,
422,
6258,
6233,
6353,
18,
3141,
13,
288,
1082,
202,
45,
3773,
1488,
938,
273,
261,
45,
3773,
1488,
13,
6176,
18,
588,
3759,
1253,
5621,
1082,
202,
45,
3773,
1909,
273,
938,
18,
588,
3773,
5621,
1082,
202,
74,
3773,
548,
1622,
18,
542,
620,
12,
4094,
18,
26321,
10663,
1082,
202,
74,
3773,
2930,
1444,
1622,
18,
542,
620,
12,
4094,
18,
588,
1444,
10663,
202,
202,
97,
202,
97,
2,
-100,
-100
] |
_t = __t2357; | _t = __t2363; | public final void undostate(AST _t) throws RecognitionException { AST undostate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2351 = _t; AST tmp2197_AST_in = (AST)_t; match(_t,UNDO); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BLOCK_LABEL: { AST tmp2198_AST_in = (AST)_t; match(_t,BLOCK_LABEL); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case COMMA: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COMMA: { AST tmp2199_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEAVE: { AST __t2355 = _t; AST tmp2200_AST_in = (AST)_t; match(_t,LEAVE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BLOCK_LABEL: { AST tmp2201_AST_in = (AST)_t; match(_t,BLOCK_LABEL); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2355; _t = _t.getNextSibling(); break; } case NEXT: { AST __t2357 = _t; AST tmp2202_AST_in = (AST)_t; match(_t,NEXT); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BLOCK_LABEL: { AST tmp2203_AST_in = (AST)_t; match(_t,BLOCK_LABEL); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2357; _t = _t.getNextSibling(); break; } case RETRY: { AST __t2359 = _t; AST tmp2204_AST_in = (AST)_t; match(_t,RETRY); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BLOCK_LABEL: { AST tmp2205_AST_in = (AST)_t; match(_t,BLOCK_LABEL); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2359; _t = _t.getNextSibling(); break; } case RETURN: { AST __t2361 = _t; AST tmp2206_AST_in = (AST)_t; match(_t,RETURN); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_2.member(_t.getType()))) { return_options(_t); _t = _retTree; } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } _t = __t2361; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t2351; _t = _t.getNextSibling(); _retTree = _t; } | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
22927,
669,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
22927,
669,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
4366,
10593,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
31728,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
2124,
3191,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
14073,
67,
13545,
30,
202,
202,
95,
1082,
202,
9053,
1853,
22,
30234,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
11403,
67,
13545,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
6431,
30,
202,
202,
3593,
10950,
21054,
30,
202,
202,
3593,
17373,
30,
202,
202,
95,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
1886,
30,
202,
202,
95,
1082,
202,
12849,
394,
17114,
24899,
88,
1769,
202,
202,
97,
202,
202,
97,
202,
202,
97,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
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,
22927,
669,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
22927,
669,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
4366,
10593,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
31728,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
2124,
3191,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
2
] |
super("Undo"); } | super("Undo"); } | public UndoAction() { super("Undo"); } | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/410012748e80bb0d59859c62c7bf66beef8f5397/RuleEditor.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/ruleeditor/RuleEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1351,
2896,
1803,
1435,
288,
1082,
202,
9565,
2932,
31224,
8863,
202,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1351,
2896,
1803,
1435,
288,
1082,
202,
9565,
2932,
31224,
8863,
202,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
private void init() { this.setSize(getParent().getClientArea().width, getParent() .getClientArea().height); vListeners = new Vector(); | private void init( ) { this.setSize( getParent( ).getClientArea( ).width, getParent( ).getClientArea( ).height ); vListeners = new Vector( ); | private void init() { this.setSize(getParent().getClientArea().width, getParent() .getClientArea().height); vListeners = new Vector(); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/500b4482b64451f75339ee5037485c3309647704/LabelAttributesComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LabelAttributesComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
1435,
288,
202,
202,
2211,
18,
542,
1225,
12,
588,
3054,
7675,
588,
1227,
5484,
7675,
2819,
16,
5089,
1435,
9506,
202,
18,
588,
1227,
5484,
7675,
4210,
1769,
202,
202,
90,
5583,
273,
394,
5589,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
1435,
288,
202,
202,
2211,
18,
542,
1225,
12,
588,
3054,
7675,
588,
1227,
5484,
7675,
2819,
16,
5089,
1435,
9506,
202,
18,
588,
1227,
5484,
7675,
4210,
1769,
202,
202,
90,
5583,
273,
394,
5589,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public Any2OneConnectionImpl() { | public Any2OneConnectionImpl() { | public Any2OneConnectionImpl() { super(); chanToServer = ConnectionServer.FACTORY.createOne2One(new Buffer(1)); chanFromServer = ConnectionServer.FACTORY.createOne2One(new Buffer(1)); chanSynch = ConnectionServer.FACTORY.createAny2One(new Buffer(1)); //create the server object - client object created when accessed server = new AltingConnectionServerImpl(chanToServer.in(), chanToServer.in()); } | 46803 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46803/5e221f7b58d10af50ebfcf3e4baf69c2daa9789c/Any2OneConnectionImpl.java/clean/src/org/jcsp/lang/Any2OneConnectionImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5502,
22,
3335,
1952,
2828,
1435,
565,
288,
3639,
2240,
5621,
3639,
3861,
774,
2081,
273,
4050,
2081,
18,
16193,
18,
2640,
3335,
22,
3335,
12,
2704,
3525,
12,
21,
10019,
3639,
3861,
1265,
2081,
273,
4050,
2081,
18,
16193,
18,
2640,
3335,
22,
3335,
12,
2704,
3525,
12,
21,
10019,
3639,
3861,
55,
2515,
273,
4050,
2081,
18,
16193,
18,
2640,
2961,
22,
3335,
12,
2704,
3525,
12,
21,
10019,
3639,
368,
2640,
326,
1438,
733,
300,
1004,
733,
2522,
1347,
15539,
3639,
1438,
273,
394,
2262,
1787,
1952,
2081,
2828,
12,
7472,
774,
2081,
18,
267,
9334,
3861,
774,
2081,
18,
267,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5502,
22,
3335,
1952,
2828,
1435,
565,
288,
3639,
2240,
5621,
3639,
3861,
774,
2081,
273,
4050,
2081,
18,
16193,
18,
2640,
3335,
22,
3335,
12,
2704,
3525,
12,
21,
10019,
3639,
3861,
1265,
2081,
273,
4050,
2081,
18,
16193,
18,
2640,
3335,
22,
3335,
12,
2704,
3525,
12,
21,
10019,
3639,
3861,
55,
2515,
273,
4050,
2081,
18,
16193,
18,
2640,
2961,
22,
3335,
12,
2704,
3525,
12,
21,
10019,
3639,
368,
2640,
326,
1438,
733,
300,
1004,
733,
2522,
1347,
15539,
3639,
1438,
273,
394,
2262,
1787,
1952,
2081,
2828,
12,
7472,
774,
2081,
18,
267,
9334,
3861,
774,
2081,
18,
267,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} else if (IS_ARG() && space_seen != 0) { | } else if (isArgState() && space_seen != 0) { | private int yylex() { int c; int space_seen = 0; kwtable kw; retry : for (;;) { switch (c = nextc()) { case '\0' : // NUL case '\004' : // ^D case '\032' : // ^Z case -1 : //end of script. return 0; // white spaces case ' ' : case '\t' : case '\f' : case '\r' : case '\013' : // '\v' space_seen++; continue retry; case '#' : // it's a comment while ((c = nextc()) != '\n') { if (c == -1) { return 0; } } // fall through case '\n' : switch (ph.getLexState()) { case LexState.EXPR_BEG : case LexState.EXPR_FNAME : case LexState.EXPR_DOT : continue retry; default : break; } ph.setLexState(LexState.EXPR_BEG); return '\n'; case '*' : if ((c = nextc()) == '*') { ph.setLexState(LexState.EXPR_BEG); if (nextc() == '=') { yyVal = "**"; // ph.newId(Token.tPOW); return Token.tOP_ASGN; } pushback(c); return Token.tPOW; } if (c == '=') { yyVal = "*"; // ph.newId('*'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("'*' interpreted as argument prefix"); c = Token.tSTAR; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tSTAR; } else { c = '*'; } ph.setLexState(LexState.EXPR_BEG); return c; case '!' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tNEQ; } if (c == '~') { return Token.tNMATCH; } pushback(c); return '!'; case '=' : if (lex_p == 1) { // skip embedded rd document if (lex_curline.startsWith("=begin") && (lex_pend == 6 || ISSPACE(lex_curline.charAt(6)))) { for (;;) { lex_p = lex_pend; c = nextc(); if (c == -1) { ph.rb_compile_error("embedded document meets end of file"); return 0; } if (c != '=') { continue; } if (lex_curline.substring(lex_p, lex_p + 3).equals("end") && (lex_p + 3 == lex_pend || ISSPACE(lex_curline.charAt(lex_p + 3)))) { break; } } lex_p = lex_pend; continue retry; } } ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { if ((c = nextc()) == '=') { return Token.tEQQ; } pushback(c); return Token.tEQ; } if (c == '~') { return Token.tMATCH; } else if (c == '>') { return Token.tASSOC; } pushback(c); return '='; case '<' : c = nextc(); if (c == '<' && ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG && ph.getLexState() != LexState.EXPR_CLASS && (!IS_ARG() || space_seen != 0)) { int c2 = nextc(); int indent = 0; if (c2 == '-') { indent = 1; c2 = nextc(); } if (!ISSPACE(c2) && ("\"'`".indexOf(c2) != -1 || is_identchar(c2))) { return here_document(c2, indent); } pushback(c2); } ph.setLexState(LexState.EXPR_BEG); if (c == '=') { if ((c = nextc()) == '>') { return Token.tCMP; } pushback(c); return Token.tLEQ; } if (c == '<') { if (nextc() == '=') { yyVal = "<<"; // ph.newId(Token.tLSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tLSHFT; } pushback(c); return '<'; case '>' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tGEQ; } if (c == '>') { if ((c = nextc()) == '=') { yyVal = ">>"; //ph.newId(Token.tRSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tRSHFT; } pushback(c); return '>'; case '"' : return parse_string(c, c, c); case '`' : if (ph.getLexState() == LexState.EXPR_FNAME) { return c; } if (ph.getLexState() == LexState.EXPR_DOT) { return c; } return parse_string(c, c, c); case '\'' : return parse_qstring(c, 0); case '?' : if (ph.getLexState() == LexState.EXPR_END) { ph.setLexState(LexState.EXPR_BEG); return '?'; } c = nextc(); if (c == -1) { /* FIX 1.6.5 */ ph.rb_compile_error("incomplete character syntax"); return 0; } if (IS_ARG() && ISSPACE(c)) { pushback(c); ph.setLexState(LexState.EXPR_BEG); return '?'; } if (c == '\\') { c = read_escape(); } c &= 0xff; yyVal = RubyFixnum.newFixnum(ruby, c); ph.setLexState(LexState.EXPR_END); return Token.tINTEGER; case '&' : if ((c = nextc()) == '&') { ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "&&"; // ph.newId(Token.tANDOP); return Token.tOP_ASGN; } pushback(c); return Token.tANDOP; } else if (c == '=') { yyVal = "&"; //ph.newId('&'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("`&' interpeted as argument prefix"); c = Token.tAMPER; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tAMPER; } else { c = '&'; } ph.setLexState(LexState.EXPR_BEG); return c; case '|' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '|') { if ((c = nextc()) == '=') { yyVal = "||"; // ph.newId(Token.tOROP); return Token.tOP_ASGN; } pushback(c); return Token.tOROP; } else if (c == '=') { yyVal = "|"; //ph.newId('|'); return Token.tOP_ASGN; } pushback(c); return '|'; case '+' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUPLUS; } pushback(c); return '+'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "+"; //ph.newId('+'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '+'; return start_num(c); } return Token.tUPLUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '+'; case '-' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUMINUS; } pushback(c); return '-'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "-"; // ph.newId('-'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '-'; return start_num(c); } return Token.tUMINUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '-'; case '.' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '.') { if ((c = nextc()) == '.') { return Token.tDOT3; } pushback(c); return Token.tDOT2; } pushback(c); if (!Character.isDigit((char) c)) { ph.setLexState(LexState.EXPR_DOT); return '.'; } c = '.'; // fall through //start_num: case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : return start_num(c); case ']' : case '}' : ph.setLexState(LexState.EXPR_END); return c; case ')' : if (cond_nest > 0) { cond_stack >>= 1; } ph.setLexState(LexState.EXPR_END); return c; case ':' : c = nextc(); if (c == ':') { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ISSPACE(c)) { ph.setLexState(LexState.EXPR_BEG); return ':'; } ph.setLexState(LexState.EXPR_FNAME); return Token.tSYMBEG; case '/' : if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { return parse_regx('/', '/'); } if ((c = nextc()) == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "/"; // ph.newId('/'); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0) { if (!ISSPACE(c)) { arg_ambiguous(); return parse_regx('/', '/'); } } ph.setLexState(LexState.EXPR_BEG); return '/'; case '^' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "^"; //ph.newId('^'); return Token.tOP_ASGN; } pushback(c); return '^'; case ',' : case ';' : ph.setLexState(LexState.EXPR_BEG); return c; case '~' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) != '@') { pushback(c); } } ph.setLexState(LexState.EXPR_BEG); return '~'; case '(' : if (cond_nest > 0) { cond_stack = (cond_stack << 1) | 0; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (ph.getLexState() == LexState.EXPR_ARG && space_seen != 0) { ph.rb_warning(tok() + " (...) interpreted as method call"); } ph.setLexState(LexState.EXPR_BEG); return c; case '[' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) == ']') { if ((c = nextc()) == '=') { return Token.tASET; } pushback(c); return Token.tAREF; } pushback(c); return '['; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLBRACK; } else if (IS_ARG() && space_seen != 0) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{' : if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ARG) { c = Token.tLBRACE; } ph.setLexState(LexState.EXPR_BEG); return c; case '\\' : c = nextc(); if (c == '\n') { space_seen = 1; continue retry; // skip \\n } pushback(c); return '\\'; case '%' : quotation : for (;;) { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { int term; int paren; c = nextc(); if (!Character.isLetterOrDigit((char) c)) { term = c; c = 'Q'; } else { term = nextc(); } if (c == -1 || term == -1) { ph.rb_compile_error("unterminated quoted string meets end of file"); return 0; } paren = term; if (term == '(') { term = ')'; } else if (term == '[') { term = ']'; } else if (term == '{') { term = '}'; } else if (term == '<') { term = '>'; } else { paren = 0; } switch (c) { case 'Q' : return parse_string('"', term, paren); case 'q' : return parse_qstring(term, paren); case 'w' : return parse_quotedwords(term, paren); case 'x' : return parse_string('`', term, paren); case 'r' : return parse_regx(term, paren); default : yyerror("unknown type of %string"); return 0; } } if ((c = nextc()) == '=') { yyVal = "%"; //ph.newId('%'); return Token.tOP_ASGN; } if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { pushback(c); continue quotation; } break quotation; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '%'; case '$' : ph.setLexState(LexState.EXPR_END); newtok(); c = nextc(); switch (c) { case '_' : // $_: last read line string c = nextc(); if (is_identchar(c)) { tokadd('$'); tokadd('_'); break; } pushback(c); c = '_'; // fall through case '~' : // $~: match-data ph.getLocalIndex(String.valueOf(c)); // fall through case '*' : // $*: argv case '$' : // $$: pid case '?' : // $?: last status case '!' : // $!: error string case '@' : // $@: error position case '/' : // $/: input record separator case '\\' : // $\: output record separator case ';' : // $;: field separator case ',' : // $,: output field separator case '.' : // $.: last read line number case '=' : // $=: ignorecase case ':' : // $:: load path case '<' : // $<: reading filename case '>' : // $>: default output handle case '\"' : // $": already loaded files tokadd('$'); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); return Token.tGVAR; case '-' : tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); /* xxx shouldn't check if valid option variable */ return Token.tGVAR; case '&' : // $&: last match case '`' : // $`: string before last match case '\'' : // $': string after last match case '+' : // $+: string matches last paren. yyVal = nf.newBackRef(c); return Token.tBACK_REF; case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : tokadd('$'); while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } if (is_identchar(c)) { break; } pushback(c); tokfix(); yyVal = nf.newNthRef(Integer.parseInt(tok().substring(1))); return Token.tNTH_REF; default : if (!is_identchar(c)) { pushback(c); return '$'; } case '0' : tokadd('$'); } break; case '@' : c = nextc(); newtok(); tokadd('@'); if (c == '@') { tokadd('@'); c = nextc(); } if (Character.isDigit((char) c)) { ph.rb_compile_error("`@" + c + "' is not a valid instance variable name"); } if (!is_identchar(c)) { pushback(c); return '@'; } break; default : if (!is_identchar(c) || Character.isDigit((char) c)) { ph.rb_compile_error("Invalid char `\\" + c + "' in expression"); continue retry; } newtok(); break; } break retry; } while (is_identchar(c)) { tokadd(c); c = nextc(); } if ((c == '!' || c == '?') && is_identchar(tok().charAt(0)) && !peek('=')) { tokadd(c); } else { pushback(c); } tokfix(); { int result = 0; switch (tok().charAt(0)) { case '$' : ph.setLexState(LexState.EXPR_END); result = Token.tGVAR; break; case '@' : ph.setLexState(LexState.EXPR_END); if (tok().charAt(1) == '@') { result = Token.tCVAR; } else { result = Token.tIVAR; } break; default : if (ph.getLexState() != LexState.EXPR_DOT) { // See if it is a reserved word. kw = rb_reserved_word(tok(), toklen()); if (kw != null) { // enum lex_state int state = ph.getLexState(); ph.setLexState(kw.state); if (state == LexState.EXPR_FNAME) { yyVal = kw.name; // ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P()) { return Token.kDO_BLOCK; } return Token.kDO; } if (state == LexState.EXPR_BEG) { return kw.id0; } else { if (kw.id0 != kw.id1) { ph.setLexState(LexState.EXPR_BEG); } return kw.id1; } } } if (toklast() == '!' || toklast() == '?') { result = Token.tFID; } else { if (ph.getLexState() == LexState.EXPR_FNAME) { if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { result = Token.tIDENTIFIER; tokadd(c); } else { pushback(c); } } if (result == 0 && Character.isUpperCase(tok().charAt(0))) { result = Token.tCONSTANT; } else { result = Token.tIDENTIFIER; } } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_DOT || ph.getLexState() == LexState.EXPR_ARG) { ph.setLexState(LexState.EXPR_ARG); } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = tok(); // ruby.intern(tok()); return result; } } | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/clean/org/jruby/parser/DefaultRubyScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
11,
294,
368,
423,
1506,
7734,
648,
2337,
26565,
11,
294,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
11,
294,
368,
3602,
62,
7734,
648,
300,
21,
294,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
10792,
368,
9578,
7292,
7734,
648,
296,
296,
294,
7734,
648,
2337,
88,
11,
294,
7734,
648,
2337,
74,
11,
294,
7734,
648,
2337,
86,
11,
294,
7734,
648,
2337,
1611,
23,
11,
294,
368,
2337,
90,
11,
10792,
3476,
67,
15156,
9904,
31,
10792,
1324,
3300,
31,
7734,
648,
6501,
294,
368,
518,
1807,
279,
2879,
10792,
1323,
14015,
71,
273,
1024,
71,
10756,
480,
2337,
82,
6134,
288,
13491,
309,
261,
71,
422,
300,
21,
13,
288,
18701,
327,
374,
31,
13491,
289,
10792,
289,
10792,
368,
4159,
3059,
7734,
648,
2337,
82,
11,
294,
10792,
1620,
261,
844,
18,
588,
14756,
1119,
10756,
288,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
5948,
43,
294,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
42,
1985,
294,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
17591,
294,
18701,
1324,
3300,
31,
13491,
805,
294,
18701,
898,
31,
10792,
289,
10792,
1844,
18,
542,
14756,
1119,
12,
14756,
1119,
18,
2294,
8025,
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,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
11,
294,
368,
423,
1506,
7734,
648,
2337,
26565,
11,
294,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
11,
294,
368,
3602,
62,
7734,
648,
300,
21,
294,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
10792,
368,
9578,
7292,
7734,
648,
296,
296,
294,
7734,
648,
2337,
88,
11,
294,
7734,
648,
2337,
74,
11,
294,
7734,
648,
2337,
86,
11,
294,
7734,
648,
2337,
1611,
23,
11,
294,
368,
2
] |
if (!otherAt.getRsvp().equals(at.getRsvp())) { | if (otherAt.hasRsvp() && !otherAt.getRsvp().equals(at.getRsvp())) { | public boolean updateMatchingAttendees(Invite other) throws ServiceException { // Find my ATTENDEE record in the Invite, it must be in our response List attendees = getAttendees(); ArrayList /*ZAttendee */ toAdd = new ArrayList(); boolean modified = false; OUTER: for (Iterator otherIter = other.getAttendees().iterator(); otherIter.hasNext();) { ZAttendee otherAt = (ZAttendee)otherIter.next(); for (Iterator iter = attendees.iterator(); iter.hasNext();) { ZAttendee at = (ZAttendee)(iter.next()); if (otherAt.addressesMatch(at)) { if (!otherAt.getRole().equals(at.getRole())) { at.setRole(otherAt.getRole()); modified = true; } if (!otherAt.getPartStat().equals(at.getPartStat())) { at.setPartStat(otherAt.getPartStat()); modified = true; } if (!otherAt.getRsvp().equals(at.getRsvp())) { at.setRsvp(otherAt.getRsvp()); modified = true; } continue OUTER; } } toAdd.add(otherAt); } if (toAdd.size() > 0) { for (Iterator iter = toAdd.iterator(); iter.hasNext();) { modified = true; ZAttendee add = (ZAttendee)iter.next(); attendees.add(add); } } if (modified) { mAppt.saveMetadata(); Mailbox mbx = mAppt.getMailbox(); if (mbx != null) { mAppt.markItemModified(Change.MODIFIED_INVITE); } return true; } else { return false; } } | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/7303a5f45cb64b2bb79a53723bb6b79f56e60677/Invite.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/calendar/Invite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1089,
9517,
3075,
275,
323,
281,
12,
22730,
1308,
13,
1216,
16489,
288,
3639,
368,
4163,
3399,
7907,
1157,
1639,
41,
1409,
316,
326,
30981,
16,
518,
1297,
506,
316,
3134,
766,
3639,
987,
27645,
323,
281,
273,
336,
3075,
275,
323,
281,
5621,
7734,
2407,
1748,
62,
3075,
275,
20953,
1195,
25607,
273,
394,
2407,
5621,
7734,
1250,
4358,
273,
629,
31,
7734,
28759,
30,
2398,
364,
261,
3198,
1308,
2360,
273,
1308,
18,
588,
3075,
275,
323,
281,
7675,
9838,
5621,
1308,
2360,
18,
5332,
2134,
5621,
13,
288,
7734,
2285,
3075,
275,
20953,
1308,
861,
273,
261,
62,
3075,
275,
20953,
13,
3011,
2360,
18,
4285,
5621,
27573,
364,
261,
3198,
1400,
273,
27645,
323,
281,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
10792,
2285,
3075,
275,
20953,
622,
273,
261,
62,
3075,
275,
20953,
21433,
2165,
18,
4285,
10663,
4766,
3639,
309,
261,
3011,
861,
18,
13277,
2060,
12,
270,
3719,
288,
13491,
309,
16051,
3011,
861,
18,
588,
2996,
7675,
14963,
12,
270,
18,
588,
2996,
1435,
3719,
288,
18701,
622,
18,
542,
2996,
12,
3011,
861,
18,
588,
2996,
10663,
18701,
4358,
273,
638,
31,
13491,
289,
4766,
7734,
309,
16051,
3011,
861,
18,
588,
1988,
5000,
7675,
14963,
12,
270,
18,
588,
1988,
5000,
1435,
3719,
288,
18701,
622,
18,
542,
1988,
5000,
12,
3011,
861,
18,
588,
1988,
5000,
10663,
18701,
4358,
273,
638,
31,
13491,
289,
4766,
7734,
309,
261,
3011,
861,
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,
1089,
9517,
3075,
275,
323,
281,
12,
22730,
1308,
13,
1216,
16489,
288,
3639,
368,
4163,
3399,
7907,
1157,
1639,
41,
1409,
316,
326,
30981,
16,
518,
1297,
506,
316,
3134,
766,
3639,
987,
27645,
323,
281,
273,
336,
3075,
275,
323,
281,
5621,
7734,
2407,
1748,
62,
3075,
275,
20953,
1195,
25607,
273,
394,
2407,
5621,
7734,
1250,
4358,
273,
629,
31,
7734,
28759,
30,
2398,
364,
261,
3198,
1308,
2360,
273,
1308,
18,
588,
3075,
275,
323,
281,
7675,
9838,
5621,
1308,
2360,
18,
5332,
2134,
5621,
13,
288,
7734,
2285,
3075,
275,
20953,
1308,
861,
273,
261,
62,
3075,
275,
20953,
13,
3011,
2360,
18,
4285,
5621,
27573,
364,
261,
3198,
1400,
273,
2
] |
public ErrorHandlerWrapper(ErrorHandler errorHandler) { setErrorHandler(errorHandler); } | public ErrorHandlerWrapper() {} | public ErrorHandlerWrapper(ErrorHandler errorHandler) { setErrorHandler(errorHandler); } // <init>(ErrorHandler) | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/5308e75bb25cdec66f898b7bf734e44b44f5db3b/ErrorHandlerWrapper.java/buggy/src/org/apache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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
26406,
3611,
12,
17729,
17227,
13,
288,
3639,
9967,
1503,
12,
1636,
1503,
1769,
565,
289,
368,
411,
2738,
34,
12,
17729,
13,
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
] |
boolean shouldSave = false; | public boolean saveFileAs(FileSaveSelector com) throws IOException { try { final OpenDefinitionsDocument openDoc = this; final File file = com.getFile(); OpenDefinitionsDocument otherDoc = _getOpenDocument(file); boolean shouldSave = false; boolean openInOtherDoc = ((otherDoc != null) && (openDoc != otherDoc)); // Check if file is already open in another document if (openInOtherDoc) shouldSave = com.warnFileOpen(file); // Can't save over an open document // If the file exists, make sure it's ok to overwrite it if ((shouldSave && openInOtherDoc) || (!openInOtherDoc && (!file.exists() || com.verifyOverwrite()))) { // Correct the case of the filename (in Windows) if (! file.getCanonicalFile().getName().equals(file.getName())) file.renameTo(file); // Check for # in the path of the file because if there // is one, then the file cannot be used in the Interactions Pane if (file.getAbsolutePath().indexOf("#") != -1) _notifier.filePathContainsPound(); // have FileOps save the file FileOps.saveFile(new FileOps.DefaultFileSaver(file) { public void saveTo(OutputStream os) throws IOException { DefinitionsDocument doc = getDocument(); try { _editorKit.write(os, doc, 0, doc.getLength()); } catch (BadLocationException docFailed) { throw new UnexpectedException(docFailed); } } }); resetModification(); setFile(file); try { // This calls getDocument().getPackageName() because this may be untitled and this.getPackageName() // returns "" if it's untitled. Right here we are interested in parsing the DefinitionsDocument's text _packageName = getDocument().getPackageName(); } catch(InvalidPackageException e) { _packageName = null; } getDocument().setCachedClassFile(null); checkIfClassFileInSync(); // Utilities.showDebug("ready to fire fileSaved for " + this); _notifier.fileSaved(openDoc); // Make sure this file is on the appropriate classpaths (does nothing in AbstractGlobalModel) addDocToClassPath(this); /* update the navigator */ _documentNavigator.refreshDocument(this, fixPathForNavigator(file.getCanonicalPath())); } return true; } catch (OperationCanceledException oce) { // Thrown by com.getFile() if the user cancels. // We don't save if this happens. return false; } } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/aafaf7b848d738e58eee48a6cbc4b800c8027685/AbstractGlobalModel.java/buggy/drjava/src/edu/rice/cs/drjava/model/AbstractGlobalModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1923,
812,
1463,
12,
812,
4755,
4320,
532,
13,
1216,
1860,
288,
1377,
775,
288,
3639,
727,
3502,
7130,
2519,
1696,
1759,
273,
333,
31,
3639,
727,
1387,
585,
273,
532,
18,
29925,
5621,
3639,
3502,
7130,
2519,
1308,
1759,
273,
389,
588,
3678,
2519,
12,
768,
1769,
1171,
1250,
1696,
382,
8290,
1759,
273,
14015,
3011,
1759,
480,
446,
13,
597,
261,
3190,
1759,
480,
1308,
1759,
10019,
3639,
368,
2073,
309,
585,
353,
1818,
1696,
316,
4042,
1668,
3639,
309,
261,
3190,
382,
8290,
1759,
13,
1410,
4755,
273,
532,
18,
8935,
812,
3678,
12,
768,
1769,
1850,
368,
4480,
1404,
1923,
1879,
392,
1696,
1668,
7734,
368,
971,
326,
585,
1704,
16,
1221,
3071,
518,
1807,
1529,
358,
6156,
518,
3639,
309,
14015,
13139,
4755,
597,
1696,
382,
8290,
1759,
13,
747,
2398,
16051,
3190,
382,
8290,
1759,
597,
16051,
768,
18,
1808,
1435,
747,
532,
18,
8705,
20832,
1435,
20349,
288,
1850,
368,
30626,
326,
648,
434,
326,
1544,
261,
267,
8202,
13,
1850,
309,
16051,
585,
18,
588,
15512,
812,
7675,
17994,
7675,
14963,
12,
768,
18,
17994,
1435,
3719,
585,
18,
18539,
774,
12,
768,
1769,
10792,
368,
2073,
364,
468,
316,
326,
589,
434,
326,
585,
2724,
309,
1915,
1850,
368,
353,
1245,
16,
1508,
326,
585,
2780,
506,
1399,
316,
326,
5294,
4905,
453,
8806,
1850,
309,
261,
768,
18,
588,
10368,
743,
7675,
31806,
2932,
7,
7923,
480,
300,
21,
13,
389,
902,
1251,
18,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1923,
812,
1463,
12,
812,
4755,
4320,
532,
13,
1216,
1860,
288,
1377,
775,
288,
3639,
727,
3502,
7130,
2519,
1696,
1759,
273,
333,
31,
3639,
727,
1387,
585,
273,
532,
18,
29925,
5621,
3639,
3502,
7130,
2519,
1308,
1759,
273,
389,
588,
3678,
2519,
12,
768,
1769,
1171,
1250,
1696,
382,
8290,
1759,
273,
14015,
3011,
1759,
480,
446,
13,
597,
261,
3190,
1759,
480,
1308,
1759,
10019,
3639,
368,
2073,
309,
585,
353,
1818,
1696,
316,
4042,
1668,
3639,
309,
261,
3190,
382,
8290,
1759,
13,
1410,
4755,
273,
532,
18,
8935,
812,
3678,
12,
768,
1769,
1850,
368,
4480,
1404,
1923,
1879,
392,
1696,
1668,
7734,
368,
971,
326,
585,
1704,
16,
1221,
2
] | |
"If the first subidentifier has 0 or 1 value the second " + "subidentifier MUST be less then 40."); | Messages.getString("security.9B")); | public static void validateOid(int[] oid) { if (oid == null) { throw new NullPointerException("OID's array is null"); } if (oid.length < 2) { throw new IllegalArgumentException( "OID MUST have at least 2 subidentifiers"); } if (oid[0] > 2) { throw new IllegalArgumentException( "Valid values for first subidentifier are 0, 1 and 2"); } else if (oid[0] != 2 && oid[1] > 39) { throw new IllegalArgumentException( "If the first subidentifier has 0 or 1 value the second " + "subidentifier MUST be less then 40."); } } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fdc88348ff6da63262b6309c2810876f42c6d8/ObjectIdentifier.java/clean/modules/security/src/main/java/common/org/apache/harmony/security/utils/ObjectIdentifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1954,
19105,
12,
474,
8526,
7764,
13,
288,
3639,
309,
261,
839,
422,
446,
13,
288,
5411,
604,
394,
10108,
2932,
12945,
1807,
526,
353,
446,
8863,
3639,
289,
3639,
309,
261,
839,
18,
2469,
411,
576,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
12945,
10685,
1240,
622,
4520,
576,
720,
20218,
8863,
3639,
289,
3639,
309,
261,
839,
63,
20,
65,
405,
576,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
1556,
924,
364,
1122,
720,
5644,
854,
374,
16,
404,
471,
576,
8863,
3639,
289,
469,
309,
261,
839,
63,
20,
65,
480,
576,
597,
7764,
63,
21,
65,
405,
16977,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
2047,
326,
1122,
720,
5644,
711,
374,
578,
404,
460,
326,
2205,
315,
18701,
397,
315,
1717,
5644,
10685,
506,
5242,
1508,
8063,
1199,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1954,
19105,
12,
474,
8526,
7764,
13,
288,
3639,
309,
261,
839,
422,
446,
13,
288,
5411,
604,
394,
10108,
2932,
12945,
1807,
526,
353,
446,
8863,
3639,
289,
3639,
309,
261,
839,
18,
2469,
411,
576,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
12945,
10685,
1240,
622,
4520,
576,
720,
20218,
8863,
3639,
289,
3639,
309,
261,
839,
63,
20,
65,
405,
576,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
1556,
924,
364,
1122,
720,
5644,
854,
374,
16,
404,
471,
576,
8863,
3639,
289,
469,
309,
261,
839,
63,
20,
65,
480,
576,
597,
7764,
63,
21,
65,
405,
16977,
13,
288,
5411,
604,
394,
2754,
12,
10792,
315,
2
] |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJCheckBoxMenuItem(this); } return accessibleContext; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJCheckBoxMenuItem(this); } return accessibleContext; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJCheckBoxMenuItem(this); } // if return accessibleContext; } // getAccessibleContext() | 1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JCheckBoxMenuItem.java/clean/libjava/javax/swing/JCheckBoxMenuItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5016,
1523,
1042,
336,
10451,
1042,
1435,
288,
202,
202,
430,
261,
26037,
1042,
422,
446,
13,
288,
1082,
202,
26037,
1042,
273,
394,
5016,
1523,
46,
19174,
12958,
12,
2211,
1769,
202,
202,
97,
368,
309,
202,
202,
2463,
12718,
1042,
31,
202,
97,
368,
336,
10451,
1042,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5016,
1523,
1042,
336,
10451,
1042,
1435,
288,
202,
202,
430,
261,
26037,
1042,
422,
446,
13,
288,
1082,
202,
26037,
1042,
273,
394,
5016,
1523,
46,
19174,
12958,
12,
2211,
1769,
202,
202,
97,
368,
309,
202,
202,
2463,
12718,
1042,
31,
202,
97,
368,
336,
10451,
1042,
1435,
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
] |
public synchronized Object makeRequestSender(Key key, short htl, long uid, PeerNode source, double closestLocation, boolean localOnly, boolean cache) { | public synchronized Object makeRequestSender(Key key, short htl, long uid, PeerNode source, double closestLocation, boolean localOnly, boolean cache, boolean ignoreStore) { | public synchronized Object makeRequestSender(Key key, short htl, long uid, PeerNode source, double closestLocation, boolean localOnly, boolean cache) { Logger.minor(this, "makeRequestSender("+key+","+htl+","+uid+","+source+") on "+portNumber); // In store? KeyBlock chk = null; try { if(key instanceof NodeCHK) chk = chkDatastore.fetch((NodeCHK)key, !cache); else if(key instanceof NodeSSK) { NodeSSK k = (NodeSSK)key; DSAPublicKey pubKey = k.getPubKey(); if(pubKey == null) { pubKey = getKey(k.getPubKeyHash()); Logger.minor(this, "Got pubkey: "+pubKey+" "+(pubKey == null ? "" : pubKey.writeAsField())); try { k.setPubKey(pubKey); } catch (SSKVerifyException e) { Logger.error(this, "Error setting pubkey: "+e, e); } } if(pubKey != null) { Logger.minor(this, "Got pubkey: "+pubKey+" "+pubKey.writeAsField()); chk = sskDatastore.fetch((NodeSSK)key, !cache); } else { Logger.minor(this, "Not found because no pubkey: "+uid); } } else throw new IllegalStateException("Unknown key type: "+key.getClass()); } catch (IOException e) { Logger.error(this, "Error accessing store: "+e, e); } if(chk != null) return chk; if(localOnly) return null; Logger.minor(this, "Not in store locally"); // Transfer coalescing - match key only as HTL irrelevant RequestSender sender = (RequestSender) transferringRequestSenders.get(key); if(sender != null) { Logger.minor(this, "Data already being transferred: "+sender); return sender; } // HTL == 0 => Don't search further if(htl == 0) { Logger.minor(this, "No HTL"); return null; } // Request coalescing KeyHTLPair kh = new KeyHTLPair(key, htl); sender = (RequestSender) requestSenders.get(kh); if(sender != null) { Logger.minor(this, "Found sender: "+sender+" for "+uid); return sender; } sender = new RequestSender(key, null, htl, uid, this, closestLocation, source); requestSenders.put(kh, sender); Logger.minor(this, "Created new sender: "+sender); return sender; } | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/87760d0ac57e5e39f75661e91adeb3a9ffcc5dfb/Node.java/clean/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1033,
23009,
12021,
12,
653,
498,
16,
3025,
366,
6172,
16,
1525,
4555,
16,
10669,
907,
1084,
16,
1645,
9219,
2735,
16,
1250,
1191,
3386,
16,
1250,
1247,
16,
1250,
2305,
2257,
13,
288,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
6540,
691,
12021,
2932,
15,
856,
15,
15937,
15,
647,
80,
15,
15937,
15,
1911,
15,
15937,
15,
3168,
15,
7923,
603,
13773,
655,
1854,
1769,
3639,
368,
657,
1707,
35,
3639,
1929,
1768,
15000,
273,
446,
31,
3639,
775,
288,
540,
202,
430,
12,
856,
1276,
2029,
1792,
47,
13,
540,
202,
202,
27038,
273,
15000,
21191,
18,
5754,
12443,
907,
1792,
47,
13,
856,
16,
401,
2493,
1769,
540,
202,
12107,
309,
12,
856,
1276,
2029,
1260,
47,
13,
288,
540,
202,
202,
907,
1260,
47,
417,
273,
261,
907,
1260,
47,
13,
856,
31,
540,
202,
202,
3948,
2203,
24312,
18659,
273,
417,
18,
588,
17924,
5621,
540,
202,
202,
430,
12,
10174,
653,
422,
446,
13,
288,
540,
1082,
202,
10174,
653,
273,
3579,
12,
79,
18,
588,
17924,
2310,
10663,
540,
1082,
202,
3328,
18,
17364,
12,
2211,
16,
315,
15617,
15649,
30,
13773,
10174,
653,
9078,
13773,
12,
10174,
653,
422,
446,
692,
1408,
294,
18659,
18,
2626,
1463,
974,
1435,
10019,
540,
1082,
202,
698,
288,
25083,
202,
79,
18,
542,
17924,
12,
10174,
653,
1769,
6862,
202,
97,
1044,
261,
1260,
47,
8097,
503,
425,
13,
288,
25083,
202,
3328,
18,
1636,
12,
2211,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1033,
23009,
12021,
12,
653,
498,
16,
3025,
366,
6172,
16,
1525,
4555,
16,
10669,
907,
1084,
16,
1645,
9219,
2735,
16,
1250,
1191,
3386,
16,
1250,
1247,
16,
1250,
2305,
2257,
13,
288,
3639,
4242,
18,
17364,
12,
2211,
16,
315,
6540,
691,
12021,
2932,
15,
856,
15,
15937,
15,
647,
80,
15,
15937,
15,
1911,
15,
15937,
15,
3168,
15,
7923,
603,
13773,
655,
1854,
1769,
3639,
368,
657,
1707,
35,
3639,
1929,
1768,
15000,
273,
446,
31,
3639,
775,
288,
540,
202,
430,
12,
856,
1276,
2029,
1792,
47,
13,
540,
202,
202,
27038,
273,
15000,
21191,
18,
5754,
12443,
907,
1792,
47,
13,
856,
16,
401,
2493,
1769,
540,
202,
12107,
309,
2
] |
byte packetType = tmpBuf[0]; if (packetType!=LOGON && packetType!=QUERY && packetType!=REPLY) { throw new TdsUnknownPacketType(packetType, tmpBuf); } | int len = ntohs( tmpBuf, 2 ) - 8; | private synchronized void getPhysicalPacket() throws TdsException, java.io.IOException { // read the header for (int nread = 0; nread < 8; ) { nread += in.read(tmpBuf, nread, 8 - nread); } if (Logger.isActive()) { String dump = com.internetcds.util.HexDump.hexDump(tmpBuf, 8); String t = (new Timestamp( System.currentTimeMillis())).toString(); Logger.println("Instance " + id + " @ " + t + " recevied header #" + (packetsReceived+1) + "\n" + dump); } byte packetType = tmpBuf[0]; if (packetType!=LOGON && packetType!=QUERY && packetType!=REPLY) { throw new TdsUnknownPacketType(packetType, tmpBuf); } // figure out how many bytes are remaining in this packet. int len = ntohs(tmpBuf, 2) - 8; // Added 2000-06-05 if (len >= inBuffer.length) { inBuffer = new byte[len]; } if (len < 0) { throw new TdsException("Confused by a length of " + len); } // now get the data for (int nread = 0; nread < len; ) { nread += in.read(inBuffer, nread, len - nread); } packetsReceived++; // adjust the bookkeeping info about the incoming buffer inBufferLen = len; inBufferIndex = 0; if (Logger.isActive()) { String dump = com.internetcds.util.HexDump.hexDump(inBuffer, len); String t = (new Timestamp( System.currentTimeMillis())).toString(); Logger.println("Instance " + id + " @ " + t + " recevied data #" + (packetsReceived) + "\n" + dump); } } | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/9163505fda1805d652fe97b8bc3eca153c874815/TdsComm.java/buggy/trunk/jtds/src.old/main/com/internetcds/jdbc/tds/TdsComm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
3852,
918,
21735,
7046,
6667,
1435,
1377,
1216,
399,
2377,
503,
16,
2252,
18,
1594,
18,
14106,
282,
288,
1377,
368,
855,
326,
1446,
1377,
364,
261,
474,
290,
896,
273,
374,
31,
290,
896,
411,
1725,
31,
262,
1377,
288,
540,
290,
896,
1011,
316,
18,
896,
12,
5645,
5503,
16,
290,
896,
16,
1725,
300,
290,
896,
1769,
1377,
289,
1377,
309,
261,
3328,
18,
291,
3896,
10756,
1377,
288,
540,
514,
225,
4657,
273,
532,
18,
267,
798,
14175,
2377,
18,
1367,
18,
7037,
10628,
18,
7118,
10628,
12,
5645,
5503,
16,
1725,
1769,
540,
514,
225,
268,
565,
273,
261,
2704,
8159,
12,
5411,
2332,
18,
2972,
28512,
10756,
2934,
10492,
5621,
540,
4242,
18,
8222,
2932,
1442,
315,
225,
397,
612,
397,
315,
632,
315,
397,
268,
13491,
397,
315,
2637,
522,
329,
1446,
31526,
397,
261,
28717,
8872,
15,
21,
13,
13491,
397,
1548,
82,
6,
397,
4657,
1769,
1377,
289,
1377,
1160,
282,
4414,
559,
273,
1853,
5503,
63,
20,
15533,
1377,
309,
261,
11482,
559,
5,
33,
4842,
673,
1850,
597,
4414,
559,
5,
33,
10753,
1850,
597,
4414,
559,
5,
33,
862,
23893,
13,
1377,
288,
540,
604,
394,
399,
2377,
4874,
6667,
559,
12,
11482,
559,
16,
1853,
5503,
1769,
1377,
289,
1377,
368,
7837,
596,
3661,
4906,
1731,
854,
4463,
316,
333,
4414,
18,
1377,
509,
562,
273,
290,
869,
4487,
12,
5645,
5503,
16,
576,
13,
300,
1725,
31,
1377,
368,
25808,
16291,
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,
565,
3238,
3852,
918,
21735,
7046,
6667,
1435,
1377,
1216,
399,
2377,
503,
16,
2252,
18,
1594,
18,
14106,
282,
288,
1377,
368,
855,
326,
1446,
1377,
364,
261,
474,
290,
896,
273,
374,
31,
290,
896,
411,
1725,
31,
262,
1377,
288,
540,
290,
896,
1011,
316,
18,
896,
12,
5645,
5503,
16,
290,
896,
16,
1725,
300,
290,
896,
1769,
1377,
289,
1377,
309,
261,
3328,
18,
291,
3896,
10756,
1377,
288,
540,
514,
225,
4657,
273,
532,
18,
267,
798,
14175,
2377,
18,
1367,
18,
7037,
10628,
18,
7118,
10628,
12,
5645,
5503,
16,
1725,
1769,
540,
514,
225,
268,
565,
273,
261,
2704,
8159,
12,
5411,
2332,
18,
2972,
28512,
10756,
2934,
10492,
5621,
540,
2
] |
populateReport(logourl, categoryName, reportFormat, monthFormat); | populateReport(logourl, categoryName, reportFormat, monthFormat, startMonth, startDate, startYear); | public void getReportData(String logourl, String categoryName, String reportFormat, String monthFormat) { if (log.isDebugEnabled()) { log.debug("inside getReportData"); log.debug("Category name " + categoryName); log.debug("Report format " + reportFormat); log.debug("logo " + logourl); log.debug("monthFormat "+monthFormat); } populateReport(logourl, categoryName, reportFormat, monthFormat); try { marshalReport(); } catch (Exception e) { if (log.isEnabledFor(Priority.FATAL)) log.fatal("Exception ", e); } } | 11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/5672599f73a363da6e60016509013eb9410ffead/AvailabilityReport.java/buggy/src/report/org/opennms/report/availability/AvailabilityReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
22452,
751,
12,
780,
613,
477,
80,
16,
514,
3150,
461,
16,
514,
2605,
1630,
16,
514,
3138,
1630,
13,
288,
202,
202,
430,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
5411,
613,
18,
4148,
2932,
28091,
22452,
751,
8863,
5411,
613,
18,
4148,
2932,
4457,
508,
225,
315,
397,
3150,
461,
1769,
5411,
613,
18,
4148,
2932,
4820,
740,
282,
315,
397,
2605,
1630,
1769,
5411,
613,
18,
4148,
2932,
19882,
225,
315,
397,
613,
477,
80,
1769,
1082,
202,
1330,
18,
4148,
2932,
7496,
1630,
13773,
7496,
1630,
1769,
3639,
289,
202,
202,
19936,
4820,
12,
1330,
477,
80,
16,
3150,
461,
16,
2605,
1630,
16,
3138,
1630,
1769,
202,
202,
698,
288,
1082,
202,
3108,
4820,
5621,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
5411,
309,
261,
1330,
18,
291,
1526,
1290,
12,
8183,
18,
29891,
3719,
7734,
613,
18,
30709,
2932,
503,
3104,
425,
1769,
3639,
289,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
22452,
751,
12,
780,
613,
477,
80,
16,
514,
3150,
461,
16,
514,
2605,
1630,
16,
514,
3138,
1630,
13,
288,
202,
202,
430,
261,
1330,
18,
291,
2829,
1526,
10756,
288,
5411,
613,
18,
4148,
2932,
28091,
22452,
751,
8863,
5411,
613,
18,
4148,
2932,
4457,
508,
225,
315,
397,
3150,
461,
1769,
5411,
613,
18,
4148,
2932,
4820,
740,
282,
315,
397,
2605,
1630,
1769,
5411,
613,
18,
4148,
2932,
19882,
225,
315,
397,
613,
477,
80,
1769,
1082,
202,
1330,
18,
4148,
2932,
7496,
1630,
13773,
7496,
1630,
1769,
3639,
289,
202,
202,
19936,
4820,
12,
1330,
477,
80,
16,
3150,
461,
16,
2605,
1630,
16,
3138,
1630,
1769,
202,
202,
698,
2
] |
isFetching=false; | public void onFailure(FetchException e, ClientGetter state) { int errorCode = e.getMode(); if(!state.getURI().equals(revocationURI)){ this.cg = state; cg.cancel(); if(errorCode == FetchException.DATA_NOT_FOUND || errorCode == FetchException.ROUTE_NOT_FOUND || errorCode == FetchException.PERMANENT_REDIRECT || errorCode == FetchException.REJECTED_OVERLOAD){ Logger.normal(this, "Rescheduling new request"); maybeUpdate(); } else Logger.error(this, "Canceling fetch : "+ e.getMessage()); }else{ synchronized(this) { if(errorCode == FetchException.DATA_NOT_FOUND){ revocationDNFCounter++; } if(e.isFatal()) this.blow("Permanent error fetching revocation (invalid data inserted?): "+e.toString()); // Start it again if(this.finalCheck) { if(revocationDNFCounter < 3) queueFetchRevocation(1000); else notifyAll(); } else { boolean pause = (revocationDNFCounter == 3); if(pause) revocationDNFCounter = 0; queueFetchRevocation(pause ? 60*60*1000 : 5000); } } } } | 50915 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50915/cc7c73fb12ca54a32c3c7216fe27f514ab4867bf/NodeUpdater.java/buggy/src/freenet/node/updater/NodeUpdater.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
291,
30806,
33,
5743,
31,
918,
291,
30806,
33,
5743,
31,
27748,
12,
5005,
503,
291,
30806,
33,
5743,
31,
425,
16,
291,
30806,
33,
5743,
31,
2445,
8461,
291,
30806,
33,
5743,
31,
919,
13,
291,
30806,
33,
5743,
31,
288,
202,
202,
474,
291,
30806,
33,
5743,
31,
12079,
291,
30806,
33,
5743,
31,
273,
291,
30806,
33,
5743,
31,
425,
18,
588,
2309,
5621,
9506,
202,
430,
12,
5,
2019,
18,
588,
3098,
7675,
14963,
12,
9083,
4431,
3098,
3719,
95,
9506,
202,
2211,
18,
71,
15761,
30806,
33,
5743,
31,
273,
291,
30806,
33,
5743,
31,
919,
31,
25083,
202,
26275,
18,
10996,
5621,
1082,
202,
430,
12,
27754,
291,
30806,
33,
5743,
31,
422,
291,
30806,
33,
5743,
31,
8065,
503,
18,
4883,
67,
4400,
67,
3313,
2124,
1669,
30806,
33,
5743,
31,
747,
6862,
202,
27754,
291,
30806,
33,
5743,
31,
422,
291,
30806,
33,
5743,
31,
8065,
503,
18,
30334,
67,
4400,
67,
3313,
2124,
1669,
30806,
33,
5743,
31,
747,
6862,
202,
27754,
291,
30806,
33,
5743,
31,
422,
291,
30806,
33,
5743,
31,
8065,
503,
18,
3194,
9560,
2222,
67,
25103,
291,
30806,
33,
5743,
31,
747,
6862,
202,
27754,
291,
30806,
33,
5743,
31,
422,
291,
30806,
33,
5743,
31,
8065,
503,
18,
862,
5304,
2056,
67,
12959,
7783,
15329,
6862,
9506,
202,
3328,
18,
6130,
12,
2211,
16,
291,
30806,
33,
5743,
31,
315,
607,
13252,
291,
30806,
33,
5743,
31,
394,
291,
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,
291,
30806,
33,
5743,
31,
918,
291,
30806,
33,
5743,
31,
27748,
12,
5005,
503,
291,
30806,
33,
5743,
31,
425,
16,
291,
30806,
33,
5743,
31,
2445,
8461,
291,
30806,
33,
5743,
31,
919,
13,
291,
30806,
33,
5743,
31,
288,
202,
202,
474,
291,
30806,
33,
5743,
31,
12079,
291,
30806,
33,
5743,
31,
273,
291,
30806,
33,
5743,
31,
425,
18,
588,
2309,
5621,
9506,
202,
430,
12,
5,
2019,
18,
588,
3098,
7675,
14963,
12,
9083,
4431,
3098,
3719,
95,
9506,
202,
2211,
18,
71,
15761,
30806,
33,
5743,
31,
273,
291,
30806,
33,
5743,
31,
919,
31,
25083,
202,
26275,
18,
10996,
5621,
1082,
202,
430,
12,
27754,
291,
30806,
33,
2
] | |
runtime.defineClass("UnboundMethod", runtime.getClasses().getMethodClass()); | runtime.defineClass("UnboundMethod", runtime.getClass("Method")); | public static RubyClass defineUnboundMethodClass(Ruby runtime) { RubyClass newClass = runtime.defineClass("UnboundMethod", runtime.getClasses().getMethodClass()); CallbackFactory callbackFactory = runtime.callbackFactory(RubyUnboundMethod.class); newClass.defineMethod("[]", callbackFactory.getOptMethod("call")); newClass.defineMethod("bind", callbackFactory.getMethod("bind", IRubyObject.class)); newClass.defineMethod("call", callbackFactory.getOptMethod("call")); newClass.defineMethod("to_proc", callbackFactory.getMethod("to_proc")); newClass.defineMethod("unbind", callbackFactory.getMethod("unbind")); return newClass; } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyUnboundMethod.java/buggy/src/org/jruby/RubyUnboundMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
4426,
984,
3653,
1305,
797,
12,
54,
10340,
3099,
13,
288,
3639,
19817,
797,
394,
797,
273,
1850,
202,
9448,
18,
11255,
797,
2932,
984,
3653,
1305,
3113,
3099,
18,
588,
797,
2932,
1305,
7923,
1769,
3639,
8444,
1733,
1348,
1733,
273,
3099,
18,
3394,
1733,
12,
54,
10340,
984,
3653,
1305,
18,
1106,
1769,
3639,
394,
797,
18,
11255,
1305,
2932,
8526,
3113,
1348,
1733,
18,
588,
6179,
1305,
2932,
1991,
7923,
1769,
3639,
394,
797,
18,
11255,
1305,
2932,
4376,
3113,
1348,
1733,
18,
588,
1305,
2932,
4376,
3113,
15908,
10340,
921,
18,
1106,
10019,
3639,
394,
797,
18,
11255,
1305,
2932,
1991,
3113,
1348,
1733,
18,
588,
6179,
1305,
2932,
1991,
7923,
1769,
3639,
394,
797,
18,
11255,
1305,
2932,
869,
67,
9381,
3113,
1348,
1733,
18,
588,
1305,
2932,
869,
67,
9381,
7923,
1769,
3639,
394,
797,
18,
11255,
1305,
2932,
318,
4376,
3113,
1348,
1733,
18,
588,
1305,
2932,
318,
4376,
7923,
1769,
3639,
327,
394,
797,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
4426,
984,
3653,
1305,
797,
12,
54,
10340,
3099,
13,
288,
3639,
19817,
797,
394,
797,
273,
1850,
202,
9448,
18,
11255,
797,
2932,
984,
3653,
1305,
3113,
3099,
18,
588,
797,
2932,
1305,
7923,
1769,
3639,
8444,
1733,
1348,
1733,
273,
3099,
18,
3394,
1733,
12,
54,
10340,
984,
3653,
1305,
18,
1106,
1769,
3639,
394,
797,
18,
11255,
1305,
2932,
8526,
3113,
1348,
1733,
18,
588,
6179,
1305,
2932,
1991,
7923,
1769,
3639,
394,
797,
18,
11255,
1305,
2932,
4376,
3113,
1348,
1733,
18,
588,
1305,
2932,
4376,
3113,
15908,
10340,
921,
18,
1106,
10019,
3639,
394,
797,
18,
11255,
1305,
2932,
1991,
3113,
1348,
1733,
18,
588,
6179,
1305,
2932,
1991,
2
] |
if (from != null) { for (i=0 ; i<from.length ; i++) { dests.addElement(new Addressee(from[i], Addressee.TO)); } } if (replyall) { for (int w=0 ; w<2 ; w++) { Address list[] = null; try { list = msg.getRecipients(w == 0 ? Message.RecipientType.TO : Message.RecipientType.CC); } catch (MessagingException e) { } if (list != null) { for (i=0 ; i<list.length ; i++) { dests.addElement(new Addressee(list[i], Addressee.CC)); } } } } Addressee destarray[] = new Addressee[dests.size()]; dests.copyInto(destarray); mAddressBar.getAddressList().setAddresses(destarray); | try { mCompositionPanel.setSubject("Re: " + mextra.simplifiedSubject()); } catch (MessagingException e) { } | public void initializeAsReply(Message msg, boolean replyall) { mCompositionPanel.setReferredMessage(msg); MessageExtra mextra = MessageExtraFactory.Get(msg); int i; Vector dests = new Vector(); Address from[] = null; try { from = msg.getReplyTo(); } catch (MessagingException e) { } if (from == null || from.length == 0) { try { from = msg.getFrom(); } catch (MessagingException e) { } } if (from != null) { for (i=0 ; i<from.length ; i++) { dests.addElement(new Addressee(from[i], Addressee.TO)); } } if (replyall) { for (int w=0 ; w<2 ; w++) { Address list[] = null; try { list = msg.getRecipients(w == 0 ? Message.RecipientType.TO : Message.RecipientType.CC); } catch (MessagingException e) { } if (list != null) { for (i=0 ; i<list.length ; i++) { dests.addElement(new Addressee(list[i], Addressee.CC)); } } } } Addressee destarray[] = new Addressee[dests.size()]; dests.copyInto(destarray); mAddressBar.getAddressList().setAddresses(destarray); try { mCompositionPanel.setSubject("Re: " + mextra.simplifiedSubject()); } catch (MessagingException e) { } // Quote the original text mCompositionPanel.QuoteOriginalMessage(); } | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/4b8e50f5491644d0517fdb7613cbe73b7859e0b1/Composition.java/buggy/grendel/composition/Composition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
1463,
7817,
12,
1079,
1234,
16,
1250,
4332,
454,
13,
288,
3639,
312,
28940,
5537,
18,
542,
426,
4193,
1079,
12,
3576,
1769,
3639,
2350,
7800,
312,
7763,
273,
2350,
7800,
1733,
18,
967,
12,
3576,
1769,
3639,
509,
277,
31,
3639,
5589,
1570,
87,
273,
394,
5589,
5621,
3639,
5267,
628,
8526,
273,
446,
31,
3639,
775,
288,
5411,
628,
273,
1234,
18,
588,
7817,
774,
5621,
3639,
289,
1044,
261,
23389,
503,
425,
13,
288,
3639,
289,
3639,
309,
261,
2080,
422,
446,
747,
628,
18,
2469,
422,
374,
13,
288,
5411,
775,
288,
7734,
628,
273,
1234,
18,
588,
1265,
5621,
5411,
289,
1044,
261,
23389,
503,
425,
13,
288,
5411,
289,
3639,
289,
3639,
309,
261,
2080,
480,
446,
13,
288,
5411,
364,
261,
77,
33,
20,
274,
277,
32,
2080,
18,
2469,
274,
277,
27245,
288,
7734,
1570,
87,
18,
1289,
1046,
12,
2704,
1436,
455,
5946,
12,
2080,
63,
77,
6487,
1436,
455,
5946,
18,
4296,
10019,
5411,
289,
3639,
289,
3639,
309,
261,
10629,
454,
13,
288,
5411,
364,
261,
474,
341,
33,
20,
274,
341,
32,
22,
274,
341,
27245,
288,
7734,
5267,
666,
8526,
273,
446,
31,
7734,
775,
288,
10792,
666,
273,
1234,
18,
588,
22740,
12,
91,
422,
374,
692,
2350,
18,
18241,
559,
18,
4296,
294,
2350,
18,
18241,
559,
18,
6743,
1769,
7734,
289,
1044,
261,
23389,
503,
425,
13,
288,
7734,
289,
7734,
309,
261,
1098,
480,
446,
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,
4046,
1463,
7817,
12,
1079,
1234,
16,
1250,
4332,
454,
13,
288,
3639,
312,
28940,
5537,
18,
542,
426,
4193,
1079,
12,
3576,
1769,
3639,
2350,
7800,
312,
7763,
273,
2350,
7800,
1733,
18,
967,
12,
3576,
1769,
3639,
509,
277,
31,
3639,
5589,
1570,
87,
273,
394,
5589,
5621,
3639,
5267,
628,
8526,
273,
446,
31,
3639,
775,
288,
5411,
628,
273,
1234,
18,
588,
7817,
774,
5621,
3639,
289,
1044,
261,
23389,
503,
425,
13,
288,
3639,
289,
3639,
309,
261,
2080,
422,
446,
747,
628,
18,
2469,
422,
374,
13,
288,
5411,
775,
288,
7734,
628,
273,
1234,
18,
588,
1265,
5621,
5411,
289,
1044,
261,
23389,
503,
425,
13,
288,
5411,
289,
2
] |
private void layoutComponents() { Container content = getContentPane(); content.removeAll(); content.setLayout(new BorderLayout()); JPanel info = new JPanel(); info.setLayout(new BoxLayout(info, BoxLayout.Y_AXIS)); info.add(m_nameLabel); info.add(new JLabel(" ")); content.add(info, BorderLayout.NORTH); JPanel players = new JPanel(); GridBagLayout layout = new GridBagLayout(); players.setLayout(layout); Insets spacing = new Insets(3,23,0,0); Insets lastSpacing = new Insets(3,23,0,23); GridBagConstraints nameConstraints = new GridBagConstraints(); nameConstraints.anchor = GridBagConstraints.WEST; nameConstraints.gridx = 0; nameConstraints.insets = spacing; GridBagConstraints playerConstraints = new GridBagConstraints(); playerConstraints.anchor = GridBagConstraints.WEST; playerConstraints.gridx = 2; playerConstraints.insets = spacing; GridBagConstraints playConstraints = new GridBagConstraints(); playConstraints.anchor = GridBagConstraints.WEST; playConstraints.gridx = 3; playConstraints.insets = lastSpacing; JLabel nameLabel = new JLabel("Name"); nameLabel.setForeground(Color.black); layout.setConstraints(nameLabel, nameConstraints); players.add(nameLabel); JLabel playerLabel = new JLabel("Played By"); playerLabel.setForeground(Color.black); layout.setConstraints(playerLabel, playerConstraints); players.add(playerLabel); JLabel playedByLabel = new JLabel(" "); layout.setConstraints(playedByLabel, playConstraints); players.add(playedByLabel); Iterator iter = m_playerRows.iterator(); while(iter.hasNext()) { PlayerRow row = (PlayerRow) iter.next(); layout.setConstraints(row.getName(), nameConstraints); players.add(row.getName()); layout.setConstraints(row.getPlayer(), playerConstraints); players.add(row.getPlayer()); layout.setConstraints(row.getPlayerComponent(), playConstraints); players.add(row.getPlayerComponent()); } content.add(players, BorderLayout.CENTER); JPanel lowerPanel = new JPanel(); lowerPanel.setLayout(new BorderLayout()); lowerPanel.add(new JLabel(" "), BorderLayout.NORTH); JPanel buttons = new JPanel(); buttons.add(new JButton(m_cancelAction)); lowerPanel.add(buttons, BorderLayout.CENTER); content.add(lowerPanel, BorderLayout.SOUTH); } | 8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/6d4902f6fb4cc244abe3aaada952f389c483c4fe/ClientStartup.java/buggy/triplea/src/games/strategy/engine/framework/ui/ClientStartup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3511,
7171,
1435,
202,
95,
202,
202,
2170,
913,
273,
5154,
8485,
5621,
9506,
202,
1745,
18,
4479,
1595,
5621,
202,
202,
1745,
18,
542,
3744,
12,
2704,
30814,
10663,
202,
202,
46,
5537,
1123,
273,
394,
24048,
5621,
202,
202,
1376,
18,
542,
3744,
12,
2704,
8549,
3744,
12,
1376,
16,
8549,
3744,
18,
61,
67,
25614,
10019,
202,
202,
1376,
18,
1289,
12,
81,
67,
529,
2224,
1769,
202,
202,
1376,
18,
1289,
12,
2704,
21403,
2932,
9369,
1769,
202,
202,
1745,
18,
1289,
12,
1376,
16,
30814,
18,
50,
28212,
1769,
9506,
202,
46,
5537,
18115,
273,
394,
24048,
5621,
202,
202,
6313,
5013,
3744,
3511,
273,
394,
7145,
5013,
3744,
5621,
202,
202,
1601,
414,
18,
542,
3744,
12,
6741,
1769,
1082,
202,
382,
4424,
13259,
273,
394,
22300,
12,
23,
16,
4366,
16,
20,
16,
20,
1769,
202,
202,
382,
4424,
1142,
18006,
273,
394,
22300,
12,
23,
16,
4366,
16,
20,
16,
4366,
1769,
9506,
202,
6313,
6852,
508,
4878,
273,
394,
13075,
5621,
202,
202,
529,
4878,
18,
16215,
273,
13075,
18,
31285,
31,
202,
202,
529,
4878,
18,
5222,
92,
273,
374,
31,
202,
202,
529,
4878,
18,
267,
4424,
273,
13259,
31,
9506,
202,
6313,
6852,
7291,
4878,
273,
394,
13075,
5621,
202,
202,
14872,
4878,
18,
16215,
273,
13075,
18,
31285,
31,
202,
202,
14872,
4878,
18,
5222,
92,
273,
576,
31,
202,
202,
14872,
4878,
18,
267,
4424,
273,
13259,
31,
9506,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3511,
7171,
1435,
202,
95,
202,
202,
2170,
913,
273,
5154,
8485,
5621,
9506,
202,
1745,
18,
4479,
1595,
5621,
202,
202,
1745,
18,
542,
3744,
12,
2704,
30814,
10663,
202,
202,
46,
5537,
1123,
273,
394,
24048,
5621,
202,
202,
1376,
18,
542,
3744,
12,
2704,
8549,
3744,
12,
1376,
16,
8549,
3744,
18,
61,
67,
25614,
10019,
202,
202,
1376,
18,
1289,
12,
81,
67,
529,
2224,
1769,
202,
202,
1376,
18,
1289,
12,
2704,
21403,
2932,
9369,
1769,
202,
202,
1745,
18,
1289,
12,
1376,
16,
30814,
18,
50,
28212,
1769,
9506,
202,
46,
5537,
18115,
273,
394,
24048,
5621,
202,
202,
6313,
5013,
3744,
3511,
273,
394,
7145,
5013,
3744,
5621,
2
] | ||
case 488 : if (DEBUG) { System.out.println("Catchesopt ::="); } | case 489 : if (DEBUG) { System.out.println("Catchesopt ::="); } | protected void consumeRule(int act) { switch ( act ) { case 27 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 41 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 45 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 46 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 47 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 48 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 49 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 50 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 52 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 57 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 58 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 59 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 60 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 67 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 68 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 83 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 85 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 87 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 88 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 89 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 90 : if (DEBUG) { System.out.println("PackageDeclarationName ::= package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 95 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 96 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 97 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 98 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 101 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 105 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 117 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 118 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 119 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 120 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 122 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 123 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 124 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 126 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 127 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 130 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 134 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 135 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 136 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 143 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 146 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 148 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 151 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 152 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 153 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 154 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 155 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 160 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 161 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 162 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 163 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(); break; case 164 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(); break; case 165 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 166 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 167 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 168 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 169 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 170 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 172 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 173 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 174 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 176 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 177 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 178 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 179 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 180 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 181 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 182 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 183 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 184 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 185 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 186 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 196 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 197 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 198 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 200 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 202 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 205 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 206 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 209 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 210 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 211 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 218 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 219 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 220 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 221 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 223 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 224 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 225 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 227 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 231 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 232 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 233 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 234 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 235 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 236 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ consumePushModifiersForHeader(); break; case 237 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 263 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 264 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 265 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 266 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 275 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 276 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 277 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 278 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 279 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 282 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 284 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 285 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 287 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 288 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 289 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 290 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 291 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 292 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 293 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 294 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 295 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 299 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 300 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 301 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 302 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 303 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 304 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 305 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 306 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 307 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 308 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 309 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 310 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 311 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 313 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 315 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 316 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 318 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 319 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 324 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 325 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 326 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 329 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 330 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 331 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 332 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 333 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 334 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 337 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 338 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 339 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 340 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 341 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 342 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 343 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 344 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 345 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 347 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 349 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 350 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 352 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 353 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 354 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 355 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 356 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 357 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 358 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 360 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 362 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 363 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 366 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 367 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 368 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 369 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 370 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 371 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 372 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 373 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 374 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 375 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 376 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 377 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 379 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 382 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 383 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 384 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 387 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 388 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 390 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 391 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 393 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 394 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 396 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 397 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 398 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 399 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 400 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 401 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 402 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 403 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 404 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 406 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 407 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 408 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 410 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 411 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 413 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 414 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 415 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 417 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 418 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 419 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 420 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 422 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 424 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 425 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 427 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 429 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 431 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 433 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 435 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 437 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 440 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 442 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 443 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 444 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 449 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 450 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 451 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 452 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 453 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 458 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 463 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 464 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 465 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 466 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 467 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 469 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 471 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 475 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 479 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 480 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 481 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 482 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 484 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 488 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 490 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 491 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 492 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeaderName(); break; case 493 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 494 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 495 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 496 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 498 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 499 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ consumeEnumConstantHeaderName(); break; case 500 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 501 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 502 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 503 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 504 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 506 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 507 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 509 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 510 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 511 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 512 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 513 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 514 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 515 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 516 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 517 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 518 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 520 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 522 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 523 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 527 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 528 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 530 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 533 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 534 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 536 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 539 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 540 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 541 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 542 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 543 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 544 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 545 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 546 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 547 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 548 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 549 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 550 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 551 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 552 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 553 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 554 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 555 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 556 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 557 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 559 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 561 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 562 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 564 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 565 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 567 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 568 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 569 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 570 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 572 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 573 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 579 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 580 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 583 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 584 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 587 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 588 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 589 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 590 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 594 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 595 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 596 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 597 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 599 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 600 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 601 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 602 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 607 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 608 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 609 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 615 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 616 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 618 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 619 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 620 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 623 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 624 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 626 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 627 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 629 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 630 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 632 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 633 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 635 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 636 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 638 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 639 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 643 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 644 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 645 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 650 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 651 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationHeader ::= Modifiersopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationHeader() ; break; case 652 : if (DEBUG) { System.out.println("AnnotationTypeMemberHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberHeaderExtendedDims() ; break; case 653 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 656 : if (DEBUG) { System.out.println("DefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyDefaultValue() ; break; case 662 : if (DEBUG) { System.out.println("NormalAnnotation ::= AT Name LPAREN MemberValuePairsopt"); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 663 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 666 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 667 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 669 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 672 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 673 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 674 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 675 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 677 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 678 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AT Name"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 679 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AT Name LPAREN MemberValue..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; }} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/836fef68856b7e7f6b208deb388901eeda69de4b/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12732,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
20170,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
12292,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
24730,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17077,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
7928,
559,
15772,
1770,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
797,
1162,
1358,
5621,
565,
1082,
202,
8820,
31,
377,
648,
17495,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
30982,
493,
33,
1659,
1162,
1358,
1412,
4628,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
30982,
5621,
565,
1082,
202,
8820,
31,
377,
648,
9934,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
27182,
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,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12732,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
9840,
559,
5621,
26924,
202,
8820,
31,
377,
648,
20170,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
289,
225,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
31,
377,
648,
12292,
294,
309,
261,
9394,
13,
288,
2332,
18,
659,
18,
8222,
2932,
797,
1162,
1358,
493,
33,
2
] |
public ProfileMeta(Repository rep, long id_profile) throws KettleException | public ProfileMeta(String name, String description) | public ProfileMeta(Repository rep, long id_profile) throws KettleException { try { Row r = rep.getProfile(id_profile); if (r!=null) { setID(id_profile); name = r.searchValue("NAME").getString(); description = r.searchValue("DESCRIPTION").getString(); long pid[] = rep.getPermissionIDs(id_profile); // System.out.println("Profile "+name+" has "+pid.length+" permissions."); permissions = new ArrayList(); for (int i=0;i<pid.length;i++) { PermissionMeta pi = new PermissionMeta(rep, pid[i]); //System.out.println("Adding permission #"+i+" : "+pi+", id="+pi.getID()); if (pi.getID()>0) addPermission(pi); } } else { throw new KettleException("Unable to find profile with id="+id_profile); } } catch(KettleDatabaseException dbe) { throw new KettleException("Coudln't create profile with id="+id_profile, dbe); } } | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/71513dd52c8cc020508789d1d03e0b43e6f4417a/ProfileMeta.java/buggy/kettle/src/be/ibridge/kettle/repository/ProfileMeta.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11357,
2781,
12,
3305,
2071,
16,
1525,
612,
67,
5040,
13,
202,
202,
15069,
1475,
278,
5929,
503,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
1999,
436,
273,
2071,
18,
588,
4029,
12,
350,
67,
5040,
1769,
1082,
202,
430,
261,
86,
5,
33,
2011,
13,
1082,
202,
95,
9506,
202,
542,
734,
12,
350,
67,
5040,
1769,
9506,
202,
529,
273,
436,
18,
3072,
620,
2932,
1985,
20387,
588,
780,
5621,
9506,
202,
3384,
273,
436,
18,
3072,
620,
2932,
15911,
20387,
588,
780,
5621,
6862,
9506,
202,
5748,
4231,
8526,
273,
2071,
18,
588,
5041,
5103,
12,
350,
67,
5040,
1769,
6862,
9506,
202,
759,
2332,
18,
659,
18,
8222,
2932,
4029,
13773,
529,
9078,
711,
13773,
6610,
18,
2469,
9078,
4371,
1199,
1769,
6862,
9506,
202,
9612,
273,
394,
2407,
5621,
6862,
1082,
202,
1884,
261,
474,
277,
33,
20,
31,
77,
32,
6610,
18,
2469,
31,
77,
27245,
9506,
202,
95,
6862,
202,
5041,
2781,
4790,
273,
394,
8509,
2781,
12,
14462,
16,
4231,
63,
77,
19226,
6862,
202,
759,
3163,
18,
659,
18,
8222,
2932,
13962,
4132,
31526,
15,
77,
9078,
294,
13773,
7259,
15,
3113,
612,
1546,
15,
7259,
18,
588,
734,
10663,
6862,
202,
430,
261,
7259,
18,
588,
734,
1435,
34,
20,
13,
527,
5041,
12,
7259,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
12849,
394,
1475,
278,
5929,
503,
2932,
3370,
358,
1104,
3042,
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,
11357,
2781,
12,
3305,
2071,
16,
1525,
612,
67,
5040,
13,
202,
202,
15069,
1475,
278,
5929,
503,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
1999,
436,
273,
2071,
18,
588,
4029,
12,
350,
67,
5040,
1769,
1082,
202,
430,
261,
86,
5,
33,
2011,
13,
1082,
202,
95,
9506,
202,
542,
734,
12,
350,
67,
5040,
1769,
9506,
202,
529,
273,
436,
18,
3072,
620,
2932,
1985,
20387,
588,
780,
5621,
9506,
202,
3384,
273,
436,
18,
3072,
620,
2932,
15911,
20387,
588,
780,
5621,
6862,
9506,
202,
5748,
4231,
8526,
273,
2071,
18,
588,
5041,
5103,
12,
350,
67,
5040,
1769,
6862,
9506,
202,
759,
2332,
18,
659,
18,
8222,
2932,
2
] |
SQLExceptionHandler.throwSQLException(e); throw e; | throw m_stmt.m_conn.wrap(e); | public synchronized boolean isBeforeFirst() throws SQLException { try { return m_rset.isBeforeFirst(); } catch (SQLException e) { SQLExceptionHandler.throwSQLException(e); throw e; // code should never get here, but just in case } } | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/880388ec033f6e42a6c6eef522a27eaa680337dd/ResultSet.java/buggy/archive/core-platform/src/com/arsdigita/db/ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
1250,
353,
4649,
3759,
1435,
1216,
6483,
288,
3639,
775,
288,
5411,
327,
312,
67,
86,
542,
18,
291,
4649,
3759,
5621,
3639,
289,
1044,
261,
23116,
425,
13,
288,
5411,
6483,
1503,
18,
12849,
23116,
12,
73,
1769,
5411,
604,
425,
31,
225,
368,
981,
1410,
5903,
336,
2674,
16,
1496,
2537,
316,
648,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
1250,
353,
4649,
3759,
1435,
1216,
6483,
288,
3639,
775,
288,
5411,
327,
312,
67,
86,
542,
18,
291,
4649,
3759,
5621,
3639,
289,
1044,
261,
23116,
425,
13,
288,
5411,
6483,
1503,
18,
12849,
23116,
12,
73,
1769,
5411,
604,
425,
31,
225,
368,
981,
1410,
5903,
336,
2674,
16,
1496,
2537,
316,
648,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
goldenFileName = GOLDEN_FOLDER + goldenFileName; | Reader readerA = null; FileReader readerB = null; boolean same = true; StringBuffer errorText = new StringBuffer( ); | protected boolean compareFile( String goldenFileName ) throws Exception { goldenFileName = GOLDEN_FOLDER + goldenFileName; InputStream streamA = getResourceAStream( goldenFileName ); if ( os == null ) return false; InputStream streamB = new ByteArrayInputStream( os.toByteArray( ) ); InputStreamReader readerA = new InputStreamReader( streamA ); InputStreamReader readerB = new InputStreamReader( streamB ); return compareFile( readerA, readerB ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/1da593c7c141c4747b149d29d4ef36623cc5b5c5/BaseTestCase.java/buggy/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/util/BaseTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
3400,
812,
12,
514,
20465,
275,
4771,
262,
1216,
1185,
202,
95,
202,
202,
75,
1673,
275,
4771,
273,
611,
11846,
1157,
67,
17357,
397,
20465,
275,
4771,
31,
202,
202,
4348,
1407,
37,
273,
5070,
37,
1228,
12,
20465,
275,
4771,
11272,
202,
202,
430,
261,
1140,
422,
446,
262,
1082,
202,
2463,
629,
31,
202,
202,
4348,
1407,
38,
273,
394,
16180,
12,
1140,
18,
869,
8826,
12,
262,
11272,
202,
202,
4348,
2514,
2949,
37,
273,
394,
15322,
12,
1407,
37,
11272,
202,
202,
4348,
2514,
2949,
38,
273,
394,
15322,
12,
1407,
38,
11272,
202,
202,
2463,
3400,
812,
12,
2949,
37,
16,
2949,
38,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
202,
1117,
1250,
3400,
812,
12,
514,
20465,
275,
4771,
262,
1216,
1185,
202,
95,
202,
202,
75,
1673,
275,
4771,
273,
611,
11846,
1157,
67,
17357,
397,
20465,
275,
4771,
31,
202,
202,
4348,
1407,
37,
273,
5070,
37,
1228,
12,
20465,
275,
4771,
11272,
202,
202,
430,
261,
1140,
422,
446,
262,
1082,
202,
2463,
629,
31,
202,
202,
4348,
1407,
38,
273,
394,
16180,
12,
1140,
18,
869,
8826,
12,
262,
11272,
202,
202,
4348,
2514,
2949,
37,
273,
394,
15322,
12,
1407,
37,
11272,
202,
202,
4348,
2514,
2949,
38,
273,
394,
15322,
12,
1407,
38,
11272,
202,
202,
2463,
3400,
812,
12,
2949,
37,
16,
2949,
38,
11272,
202,
97,
2,
-100,
-100,
-100
] |
addDynamicProperty( new GenericDynamicProperty(HAS_ERRORS_PROPERTY, Boolean.class,new Boolean(false), false) ); addDynamicProperty( new GenericDynamicProperty(ERRORS_PROPERTY, Errors.class,null,false) ); | addDynamicProperty( new WeakGenericDynamicProperty(HAS_ERRORS_PROPERTY, Boolean.class,new Boolean(false), false) ); addDynamicProperty( new WeakGenericDynamicProperty(ERRORS_PROPERTY, Errors.class,null,false) ); | public DomainClassMethods(GrailsApplication application, Class theClass, SessionFactory sessionFactory, ClassLoader classLoader) throws IntrospectionException { super(theClass); // dynamic methods addDynamicMethodInvocation(new SavePersistentMethod(sessionFactory, classLoader,application)); addDynamicMethodInvocation(new DeletePersistentMethod(sessionFactory, classLoader)); addDynamicMethodInvocation(new RefreshPersistentMethod(sessionFactory, classLoader)); addDynamicMethodInvocation(new ValidatePersistentMethod(sessionFactory, classLoader, application )); // static methods addStaticMethodInvocation(new FindAllPersistentMethod(sessionFactory, classLoader)); addStaticMethodInvocation(new FindAllByPersistentMethod(application,sessionFactory, classLoader)); addStaticMethodInvocation(new FindByPersistentMethod(application,sessionFactory, classLoader)); addStaticMethodInvocation(new FindPersistentMethod(sessionFactory, classLoader)); addStaticMethodInvocation(new ListOrderByPersistentMethod(sessionFactory, classLoader)); addStaticMethodInvocation(new ListPersistentMethod(sessionFactory, classLoader)); addStaticMethodInvocation(new FindWherePersistentMethod(sessionFactory, classLoader)); addStaticMethodInvocation(new GetPersistentMethod(application,sessionFactory, classLoader)); addStaticMethodInvocation(new CreateCriteriaPersistentMethod(sessionFactory, classLoader)); // add dynamic properties addDynamicProperty( new SetPropertiesDynamicProperty() ); addDynamicProperty( new ConstraintsDynamicProperty() ); addDynamicProperty( new GenericDynamicProperty(HAS_ERRORS_PROPERTY, Boolean.class,new Boolean(false), false) ); addDynamicProperty( new GenericDynamicProperty(ERRORS_PROPERTY, Errors.class,null,false) ); } | 6460 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6460/b18b6b0c6359a733b665934c6bf5ac6a960ba356/DomainClassMethods.java/buggy/src/persistence/org/codehaus/groovy/grails/metaclass/DomainClassMethods.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6648,
797,
4712,
12,
14571,
14573,
3208,
2521,
16,
1659,
326,
797,
16,
3877,
1733,
1339,
1733,
16,
9403,
11138,
13,
1082,
202,
15069,
3094,
26362,
503,
288,
202,
202,
9565,
12,
5787,
797,
1769,
202,
202,
759,
5976,
2590,
202,
202,
1289,
9791,
1305,
9267,
12,
2704,
7074,
11906,
1305,
12,
3184,
1733,
16,
11138,
16,
3685,
10019,
202,
202,
1289,
9791,
1305,
9267,
12,
2704,
2504,
11906,
1305,
12,
3184,
1733,
16,
11138,
10019,
202,
202,
1289,
9791,
1305,
9267,
12,
2704,
14179,
11906,
1305,
12,
3184,
1733,
16,
11138,
10019,
9506,
202,
1289,
9791,
1305,
9267,
12,
2704,
3554,
11906,
1305,
12,
3184,
1733,
16,
11138,
16,
2521,
262,
1769,
9506,
202,
759,
760,
2590,
202,
202,
1289,
5788,
1305,
9267,
12,
2704,
4163,
1595,
11906,
1305,
12,
3184,
1733,
16,
11138,
10019,
202,
202,
1289,
5788,
1305,
9267,
12,
2704,
4163,
1595,
858,
11906,
1305,
12,
3685,
16,
3184,
1733,
16,
11138,
10019,
202,
202,
1289,
5788,
1305,
9267,
12,
2704,
4163,
858,
11906,
1305,
12,
3685,
16,
3184,
1733,
16,
11138,
10019,
202,
202,
1289,
5788,
1305,
9267,
12,
2704,
4163,
11906,
1305,
12,
3184,
1733,
16,
11138,
10019,
202,
202,
1289,
5788,
1305,
9267,
12,
2704,
987,
15658,
11906,
1305,
12,
3184,
1733,
16,
11138,
10019,
202,
202,
1289,
5788,
1305,
9267,
12,
2704,
987,
11906,
1305,
12,
3184,
1733,
16,
11138,
10019,
202,
202,
1289,
5788,
1305,
9267,
12,
2704,
4163,
5262,
11906,
1305,
12,
3184,
1733,
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,
6648,
797,
4712,
12,
14571,
14573,
3208,
2521,
16,
1659,
326,
797,
16,
3877,
1733,
1339,
1733,
16,
9403,
11138,
13,
1082,
202,
15069,
3094,
26362,
503,
288,
202,
202,
9565,
12,
5787,
797,
1769,
202,
202,
759,
5976,
2590,
202,
202,
1289,
9791,
1305,
9267,
12,
2704,
7074,
11906,
1305,
12,
3184,
1733,
16,
11138,
16,
3685,
10019,
202,
202,
1289,
9791,
1305,
9267,
12,
2704,
2504,
11906,
1305,
12,
3184,
1733,
16,
11138,
10019,
202,
202,
1289,
9791,
1305,
9267,
12,
2704,
14179,
11906,
1305,
12,
3184,
1733,
16,
11138,
10019,
9506,
202,
1289,
9791,
1305,
9267,
12,
2704,
3554,
11906,
1305,
12,
3184,
1733,
16,
11138,
16,
2521,
262,
1769,
9506,
202,
759,
2
] |
final String base = context.getSystemId(); | public void parseContents(final Parser parser) { final Stylesheet context = parser.getCurrentStylesheet(); try { final String systemId = getAttribute("href"); if (context.checkForLoop(systemId)) { final int errno = ErrorMsg.CIRCULAR_INC; final ErrorMsg msg = new ErrorMsg(errno, systemId, this); parser.reportError(Constants.FATAL, msg); return; } SourceLoader loader = context.getSourceLoader(); InputSource input = null; if (loader != null) { final XSLTC xsltc = parser.getXSLTC(); final String base = context.getSystemId(); input = loader.loadSource(base, systemId, xsltc); } else { //System.err.println("current context is "+context.getSystemId()); //System.err.println("new file is "+systemId); input = new InputSource(systemId); } final SyntaxTreeNode root = parser.parse(input); if (root == null) return; final Stylesheet _imported = parser.makeStylesheet(root); if (_imported == null) return; _imported.setSourceLoader(loader); _imported.setSystemId(systemId); _imported.setParentStylesheet(context); // precedence for the including stylesheet final int currPrecedence = parser.getCurrentImportPrecedence(); final int nextPrecedence = parser.getNextImportPrecedence(); _imported.setImportPrecedence(currPrecedence); context.setImportPrecedence(nextPrecedence); parser.setCurrentStylesheet(_imported); _imported.parseContents(parser); final Enumeration elements = _imported.elements(); final Stylesheet topStylesheet = parser.getTopLevelStylesheet(); while (elements.hasMoreElements()) { final Object element = elements.nextElement(); if (element instanceof TopLevelElement) { topStylesheet.addElement((TopLevelElement)element); } } } catch (Exception e) { e.printStackTrace(); } finally { parser.setCurrentStylesheet(context); } } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/5f625f1db6bd5d3d46e94978c4a29198ef8744cd/Import.java/buggy/src/org/apache/xalan/xsltc/compiler/Import.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
6323,
12,
6385,
6783,
2082,
13,
288,
202,
6385,
29483,
2963,
819,
273,
2082,
18,
588,
3935,
24656,
5621,
202,
698,
288,
202,
565,
727,
514,
30083,
273,
4061,
2932,
7547,
8863,
202,
565,
309,
261,
2472,
18,
1893,
31451,
12,
4299,
548,
3719,
288,
202,
202,
6385,
509,
8402,
273,
1068,
3332,
18,
7266,
11529,
19545,
67,
23213,
31,
202,
202,
6385,
1068,
3332,
1234,
273,
394,
1068,
3332,
12,
19088,
16,
30083,
16,
333,
1769,
202,
202,
4288,
18,
6006,
668,
12,
2918,
18,
29891,
16,
1234,
1769,
202,
202,
2463,
31,
202,
565,
289,
202,
565,
4998,
2886,
4088,
273,
819,
18,
588,
1830,
2886,
5621,
202,
565,
23699,
810,
273,
446,
31,
202,
565,
309,
261,
6714,
480,
446,
13,
288,
202,
202,
6385,
17243,
15988,
20791,
5111,
273,
2082,
18,
588,
60,
4559,
15988,
5621,
202,
202,
6385,
514,
1026,
273,
819,
18,
588,
3163,
548,
5621,
202,
202,
2630,
273,
4088,
18,
945,
1830,
12,
1969,
16,
30083,
16,
20791,
5111,
1769,
202,
565,
289,
202,
565,
469,
288,
202,
202,
759,
3163,
18,
370,
18,
8222,
2932,
2972,
819,
353,
13773,
2472,
18,
588,
3163,
548,
10663,
202,
202,
759,
3163,
18,
370,
18,
8222,
2932,
2704,
585,
225,
353,
13773,
4299,
548,
1769,
202,
202,
2630,
273,
394,
23699,
12,
4299,
548,
1769,
202,
565,
289,
202,
565,
727,
11517,
12513,
1365,
273,
2082,
18,
2670,
12,
2630,
1769,
202,
565,
309,
261,
3085,
422,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
6323,
12,
6385,
6783,
2082,
13,
288,
202,
6385,
29483,
2963,
819,
273,
2082,
18,
588,
3935,
24656,
5621,
202,
698,
288,
202,
565,
727,
514,
30083,
273,
4061,
2932,
7547,
8863,
202,
565,
309,
261,
2472,
18,
1893,
31451,
12,
4299,
548,
3719,
288,
202,
202,
6385,
509,
8402,
273,
1068,
3332,
18,
7266,
11529,
19545,
67,
23213,
31,
202,
202,
6385,
1068,
3332,
1234,
273,
394,
1068,
3332,
12,
19088,
16,
30083,
16,
333,
1769,
202,
202,
4288,
18,
6006,
668,
12,
2918,
18,
29891,
16,
1234,
1769,
202,
202,
2463,
31,
202,
565,
289,
202,
565,
4998,
2886,
4088,
273,
819,
18,
588,
1830,
2886,
5621,
202,
565,
23699,
810,
273,
446,
2
] | |
data.heightHint = 24; | protected Control createContents( Composite parent ) { super.createFieldEditors( ); final Composite innerParent = new Composite( parent, SWT.NONE ); GridLayout layout = new GridLayout( ); layout.marginHeight = 0; layout.marginWidth = 0; innerParent.setLayout( layout ); innerParent.setLayoutData( new GridData( GridData.FILL_BOTH ) ); final Table table = new Table( innerParent, SWT.BORDER | SWT.FULL_SELECTION ); GridData data = new GridData( GridData.FILL_BOTH ); table.setLayoutData( data ); table.setHeaderVisible( true ); table.setLinesVisible( false ); TableLayout tableLayout = new TableLayout( ); table.setLayout( tableLayout ); final TableColumn column1 = new TableColumn( table, SWT.NONE ); column1.setText( Messages.getString( "HighlightsPreferencePage.displayname.Preview" ) ); //$NON-NLS-1$ final TableColumn column2 = new TableColumn( table, SWT.NONE ); column2.setText( Messages.getString( "HighlightsPreferencePage.displayname.Condition" ) ); //$NON-NLS-1$ fTableViewer = new TableViewer( table ); fTableViewer.setLabelProvider( new HighlightLabelProvider( ) ); fTableViewer.setContentProvider( new HighlightContentProvider( ) ); fTableViewer.setSorter( null ); fTableViewer.addSelectionChangedListener( new ISelectionChangedListener( ) { public void selectionChanged( SelectionChangedEvent event ) { updateButtons( ); } } ); fTableViewer.addDoubleClickListener( new IDoubleClickListener( ) { public void doubleClick( DoubleClickEvent event ) { edit( ); } } ); innerParent.addControlListener( new ControlAdapter( ) { // Resize the columns by proportion when the parent control is // resized. public void controlResized( ControlEvent e ) { Rectangle area = innerParent.getClientArea( ); Point preferredSize = table.computeSize( SWT.DEFAULT, SWT.DEFAULT ); int width = area.width - 2 * table.getBorderWidth( ); if ( preferredSize.y > area.height ) { Point vBarSize = table.getVerticalBar( ).getSize( ); width -= vBarSize.x; } Point oldSize = table.getSize( ); if ( oldSize.x > width ) { column1.setWidth( 2 * width / 5 ); column2.setWidth( width - column1.getWidth( ) ); table.setSize( width, area.height ); } else { table.setSize( width, area.height ); column1.setWidth( 2 * width / 5 ); column2.setWidth( width - column1.getWidth( ) ); } } } ); Composite buttons = new Composite( innerParent, SWT.NONE ); buttons.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_END ) ); layout = new GridLayout( ); layout.numColumns = 6; layout.marginHeight = 0; layout.marginWidth = 0; buttons.setLayout( layout ); fAddButton = new Button( buttons, SWT.PUSH ); fAddButton.setText( Messages.getString( "HighlightsPreferencePage.text.Add" ) ); //$NON-NLS-1$ data = new GridData( GridData.HORIZONTAL_ALIGN_END ); data.widthHint = Math.max( fAddButton.computeSize( -1, -1 ).x, 60 ); data.heightHint = 24; fAddButton.setLayoutData( data ); fAddButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { add( ); } } ); fEditButton = new Button( buttons, SWT.PUSH ); fEditButton.setText( Messages.getString( "HighlightsPreferencePage.text.Edit" ) ); //$NON-NLS-1$ data = new GridData( GridData.HORIZONTAL_ALIGN_END ); data.widthHint = Math.max( fEditButton.computeSize( -1, -1 ).x, 60 ); data.heightHint = 24; fEditButton.setLayoutData( data ); fEditButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { edit( ); } } ); fDeleteButton = new Button( buttons, SWT.PUSH ); fDeleteButton.setText( Messages.getString( "HighlightsPreferencePage.text.Delete" ) ); //$NON-NLS-1$ data = new GridData( GridData.HORIZONTAL_ALIGN_END ); data.widthHint = Math.max( fDeleteButton.computeSize( -1, -1 ).x, 60 ); data.heightHint = 24; fDeleteButton.setLayoutData( data ); fDeleteButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { delete( ); } } ); fMoveUpButton = new Button( buttons, SWT.ARROW ); fMoveUpButton.setAlignment( SWT.UP ); data = new GridData( GridData.HORIZONTAL_ALIGN_END ); data.widthHint = 40; data.heightHint = 24; fMoveUpButton.setLayoutData( data ); fMoveUpButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { moveUp( ); } } ); fMoveDownButton = new Button( buttons, SWT.ARROW ); fMoveDownButton.setAlignment( SWT.DOWN ); data = new GridData( GridData.HORIZONTAL_ALIGN_END ); data.widthHint = 40; data.heightHint = 24; fMoveDownButton.setLayoutData( data ); fMoveDownButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { moveDown( ); } } ); fTableViewer.setInput( model ); refreshTableItemView( ); updateButtons( ); Dialog.applyDialogFont( parent ); return innerParent; } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e14bc3cd6406b05b2c2c8d7edbc2118f1f7a2473/HighlightsPreferencePage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/HighlightsPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6323,
12,
14728,
982,
262,
202,
95,
202,
202,
9565,
18,
2640,
974,
4666,
1383,
12,
11272,
202,
202,
6385,
14728,
3443,
3054,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
12,
11272,
202,
202,
6741,
18,
10107,
2686,
273,
374,
31,
202,
202,
6741,
18,
10107,
2384,
273,
374,
31,
202,
202,
7872,
3054,
18,
542,
3744,
12,
3511,
11272,
202,
202,
7872,
3054,
18,
542,
3744,
751,
12,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
38,
18307,
262,
11272,
202,
202,
6385,
3555,
1014,
273,
394,
3555,
12,
3443,
3054,
16,
348,
8588,
18,
38,
7954,
9506,
202,
96,
348,
8588,
18,
18111,
67,
1090,
15445,
11272,
202,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
38,
18307,
11272,
202,
202,
2121,
18,
542,
3744,
751,
12,
501,
11272,
202,
202,
2121,
18,
542,
1864,
6207,
12,
638,
11272,
202,
202,
2121,
18,
542,
5763,
6207,
12,
629,
11272,
202,
202,
1388,
3744,
1014,
3744,
273,
394,
3555,
3744,
12,
11272,
202,
202,
2121,
18,
542,
3744,
12,
1014,
3744,
11272,
202,
202,
6385,
3555,
1494,
1057,
21,
273,
394,
3555,
1494,
12,
1014,
16,
348,
8588,
18,
9826,
11272,
202,
202,
2827,
21,
18,
542,
1528,
12,
4838,
18,
588,
780,
12,
315,
16205,
87,
9624,
1964,
18,
5417,
529,
18,
11124,
6,
262,
11272,
4329,
3993,
17,
5106,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6323,
12,
14728,
982,
262,
202,
95,
202,
202,
9565,
18,
2640,
974,
4666,
1383,
12,
11272,
202,
202,
6385,
14728,
3443,
3054,
273,
394,
14728,
12,
982,
16,
348,
8588,
18,
9826,
11272,
202,
202,
6313,
3744,
3511,
273,
394,
7145,
3744,
12,
11272,
202,
202,
6741,
18,
10107,
2686,
273,
374,
31,
202,
202,
6741,
18,
10107,
2384,
273,
374,
31,
202,
202,
7872,
3054,
18,
542,
3744,
12,
3511,
11272,
202,
202,
7872,
3054,
18,
542,
3744,
751,
12,
394,
7145,
751,
12,
7145,
751,
18,
29818,
67,
38,
18307,
262,
11272,
202,
202,
6385,
3555,
1014,
273,
394,
3555,
12,
3443,
3054,
16,
348,
8588,
18,
38,
7954,
9506,
202,
2
] | |
_t = __t334; | _t = __t348; | 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
] |
} | } | public Member getMemberByUniqueName(String[] uniqueNameParts, boolean failIfNotFound) { return schemaReader.getMemberByUniqueName(uniqueNameParts, failIfNotFound); } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/DelegatingSchemaReader.java/buggy/src/main/mondrian/olap/DelegatingSchemaReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8596,
18925,
858,
6303,
461,
12,
780,
8526,
3089,
461,
4305,
16,
3639,
1250,
2321,
2047,
2768,
13,
565,
288,
202,
202,
2463,
1963,
2514,
18,
588,
4419,
858,
6303,
461,
12,
6270,
461,
4305,
16,
5411,
2321,
2047,
2768,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8596,
18925,
858,
6303,
461,
12,
780,
8526,
3089,
461,
4305,
16,
3639,
1250,
2321,
2047,
2768,
13,
565,
288,
202,
202,
2463,
1963,
2514,
18,
588,
4419,
858,
6303,
461,
12,
6270,
461,
4305,
16,
5411,
2321,
2047,
2768,
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
] |
Assert.fail( de.getMessage() ); | fail( de.getMessage() ); | public void testDecodeSearchRequestExtensibleMatch() { Asn1Decoder ldapDecoder = new LdapDecoder(); ByteBuffer stream = ByteBuffer.allocate( 0x65 ); stream.put( new byte[] { 0x30, 0x63, 0x02, 0x01, 0x01, 0x63, 0x5E, // "dc=example,dc=com" 0x04, 0x11, 0x64, 0x63, 0x3D, 0x65, 0x78, 0x61, 0x6D, 0x70, 0x6C, 0x65, 0x2C, 0x64, 0x63, 0x3D, 0x63, 0x6F, 0x6D, 0x0A, 0x01, 0x00, 0x0A, 0x01, 0x02, 0x02, 0x01, 0x02, 0x02, 0x01, 0x03, 0x01, 0x01, (byte)0xFF, (byte)0xA9, 0x23, 0x30, 0x21, (byte)0x81, 0x02, 'c', 'n', (byte)0x82, 0x13, '1', '.', '2', '.', '8', '4', '0', '.', '4', '8', '0', '1', '8', '.', '1', '.', '2', '.', '2', (byte)0x83, 0x03, 'a', 'o', 'k', (byte)0x84, 0x01, (byte)0xFF, 0x30, 0x15, // Attributes 0x04, 0x05, 0x61, 0x74, 0x74, 0x72, 0x30, // attr0 0x04, 0x05, 0x61, 0x74, 0x74, 0x72, 0x31, // attr1 0x04, 0x05, 0x61, 0x74, 0x74, 0x72, 0x32 // attr2 } ); String decodedPdu = StringTools.dumpBytes( stream.array() ); stream.flip(); // Allocate a BindRequest Container IAsn1Container ldapMessageContainer = new LdapMessageContainer(); try { ldapDecoder.decode( stream, ldapMessageContainer ); } catch ( DecoderException de ) { de.printStackTrace(); Assert.fail( de.getMessage() ); } LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer ).getLdapMessage(); SearchRequest sr = message.getSearchRequest(); Assert.assertEquals( 1, message.getMessageId() ); Assert.assertEquals( "dc=example,dc=com", sr.getBaseObject().toString() ); Assert.assertEquals( LdapConstants.SCOPE_BASE_OBJECT, sr.getScope() ); Assert.assertEquals( LdapConstants.DEREF_FINDING_BASE_OBJ, sr.getDerefAliases() ); Assert.assertEquals( 2, sr.getSizeLimit() ); Assert.assertEquals( 3, sr.getTimeLimit() ); Assert.assertEquals( true, sr.isTypesOnly() ); // The attributes Attributes attributes = sr.getAttributes(); for (int i = 0; i < attributes.size(); i++) { Assert.assertNotNull( attributes.get( "attr" + i ) ); } // Check the length Assert.assertEquals(0x65, message.computeLength()); // Check the encoding // We won't check the whole PDU, as it may differs because // attributes may have been reordered try { ByteBuffer bb = message.encode( null ); String encodedPdu = StringTools.dumpBytes( bb.array() ); Assert.assertEquals(encodedPdu.substring( 0, 0x56 ), decodedPdu.substring( 0, 0x56 ) ); } catch ( EncoderException ee ) { ee.printStackTrace(); Assert.fail( ee.getMessage() ); } } | 54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/3561f4cdd29c534a78cee8464a6bc4c88d5b1783/SearchRequestTest.java/buggy/ldap/src/test/java/org/apache/ldap/common/codec/search/SearchRequestTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6615,
2979,
691,
2482,
773,
1523,
2060,
1435,
565,
288,
3639,
31277,
21,
7975,
8079,
7975,
273,
394,
18053,
7975,
5621,
3639,
7400,
225,
1407,
1377,
273,
7400,
18,
16247,
12,
374,
92,
9222,
11272,
3639,
1407,
18,
458,
12,
5411,
394,
1160,
8526,
5411,
288,
10792,
374,
92,
5082,
16,
374,
92,
4449,
16,
5375,
202,
20,
92,
3103,
16,
374,
92,
1611,
16,
374,
92,
1611,
16,
5375,
202,
20,
92,
4449,
16,
374,
92,
25,
41,
16,
368,
315,
7201,
33,
8236,
16,
7201,
33,
832,
6,
1171,
202,
202,
20,
92,
3028,
16,
374,
92,
2499,
16,
374,
92,
1105,
16,
374,
92,
4449,
16,
374,
92,
23,
40,
16,
374,
92,
9222,
16,
374,
92,
8285,
16,
374,
92,
9498,
16,
374,
92,
26,
40,
16,
374,
92,
7301,
16,
374,
92,
26,
39,
16,
374,
92,
9222,
16,
374,
92,
22,
39,
16,
374,
92,
1105,
16,
374,
92,
4449,
16,
374,
92,
23,
40,
16,
374,
92,
4449,
16,
374,
92,
26,
42,
16,
374,
92,
26,
40,
16,
1171,
3196,
202,
20,
92,
20,
37,
16,
374,
92,
1611,
16,
374,
92,
713,
16,
1171,
3196,
202,
20,
92,
20,
37,
16,
374,
92,
1611,
16,
374,
92,
3103,
16,
1171,
3196,
202,
20,
92,
3103,
16,
374,
92,
1611,
16,
374,
92,
3103,
16,
1171,
3196,
202,
20,
92,
3103,
16,
374,
92,
1611,
16,
374,
92,
4630,
16,
1171,
3196,
202,
20,
92,
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,
6615,
2979,
691,
2482,
773,
1523,
2060,
1435,
565,
288,
3639,
31277,
21,
7975,
8079,
7975,
273,
394,
18053,
7975,
5621,
3639,
7400,
225,
1407,
1377,
273,
7400,
18,
16247,
12,
374,
92,
9222,
11272,
3639,
1407,
18,
458,
12,
5411,
394,
1160,
8526,
5411,
288,
10792,
374,
92,
5082,
16,
374,
92,
4449,
16,
5375,
202,
20,
92,
3103,
16,
374,
92,
1611,
16,
374,
92,
1611,
16,
5375,
202,
20,
92,
4449,
16,
374,
92,
25,
41,
16,
368,
315,
7201,
33,
8236,
16,
7201,
33,
832,
6,
1171,
202,
202,
20,
92,
3028,
16,
374,
92,
2499,
16,
374,
92,
1105,
16,
374,
92,
4449,
16,
374,
92,
23,
40,
16,
374,
2
] |
return new Table_lang_prefixes( rs ); | return new Table_images( rs ); | public Object mapOneRow( ResultSet rs ) throws SQLException { return new Table_lang_prefixes( rs ); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/1006917dfe63a5d85d047011540205a2b02407a8/DatabaseService.java/clean/server/src/imcode/server/db/DatabaseService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
852,
3335,
1999,
12,
10842,
3597,
262,
1216,
6483,
288,
7734,
327,
394,
3555,
67,
7369,
12,
3597,
11272,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
1033,
852,
3335,
1999,
12,
10842,
3597,
262,
1216,
6483,
288,
7734,
327,
394,
3555,
67,
7369,
12,
3597,
11272,
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
] |
Label label = new Label(composite, 0); | Label label = new Label(composite, SWT.NULL); | protected Control createMessageArea(Composite composite) { // create composite // create image Image image = getImage(); if (image != null) { Label label = new Label(composite, 0); image.setBackground(label.getBackground()); label.setImage(image); label.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_CENTER | GridData.VERTICAL_ALIGN_BEGINNING)); } // create message if (message != null) { Label label = new Label(composite, SWT.WRAP); label.setText(message); GridData data = new GridData(GridData.GRAB_HORIZONTAL | //GridData.GRAB_VERTICAL | GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_CENTER); data.widthHint = convertHorizontalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH); ; label.setLayoutData(data); label.setFont(composite.getFont()); } return composite; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/b342c22a9dd5c06c41272daa4376a8d418b3fdac/IconAndMessageDialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/IconAndMessageDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
23836,
5484,
12,
9400,
9635,
13,
288,
202,
202,
759,
752,
9635,
202,
202,
759,
752,
1316,
202,
202,
2040,
1316,
273,
10567,
5621,
202,
202,
430,
261,
2730,
480,
446,
13,
288,
1082,
202,
2224,
1433,
273,
394,
5287,
12,
27676,
16,
374,
1769,
1082,
202,
2730,
18,
542,
8199,
12,
1925,
18,
588,
8199,
10663,
1082,
202,
1925,
18,
542,
2040,
12,
2730,
1769,
1082,
202,
1925,
18,
542,
3744,
751,
12,
9506,
202,
2704,
7145,
751,
12,
6862,
202,
6313,
751,
18,
44,
20344,
67,
26439,
67,
19835,
25083,
202,
96,
7145,
751,
18,
21654,
10109,
67,
26439,
67,
16061,
15870,
10019,
202,
202,
97,
202,
202,
759,
752,
883,
202,
202,
430,
261,
2150,
480,
446,
13,
288,
1082,
202,
2224,
1433,
273,
394,
5287,
12,
27676,
16,
348,
8588,
18,
27664,
1769,
1082,
202,
1925,
18,
542,
1528,
12,
2150,
1769,
1082,
202,
6313,
751,
501,
273,
394,
7145,
751,
12,
6313,
751,
18,
6997,
2090,
67,
44,
20344,
571,
9506,
202,
759,
6313,
751,
18,
6997,
2090,
67,
21654,
10109,
571,
202,
6313,
751,
18,
44,
20344,
67,
26439,
67,
29818,
571,
7145,
751,
18,
21654,
10109,
67,
26439,
67,
19835,
1769,
1082,
202,
892,
18,
2819,
7002,
273,
9506,
202,
6283,
14457,
8914,
3477,
774,
18079,
12,
6862,
202,
734,
3529,
2918,
18,
6236,
18605,
67,
8723,
67,
20933,
67,
10023,
1769,
1082,
202,
31,
1082,
202,
1925,
18,
542,
3744,
751,
12,
892,
1769,
1082,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
23836,
5484,
12,
9400,
9635,
13,
288,
202,
202,
759,
752,
9635,
202,
202,
759,
752,
1316,
202,
202,
2040,
1316,
273,
10567,
5621,
202,
202,
430,
261,
2730,
480,
446,
13,
288,
1082,
202,
2224,
1433,
273,
394,
5287,
12,
27676,
16,
374,
1769,
1082,
202,
2730,
18,
542,
8199,
12,
1925,
18,
588,
8199,
10663,
1082,
202,
1925,
18,
542,
2040,
12,
2730,
1769,
1082,
202,
1925,
18,
542,
3744,
751,
12,
9506,
202,
2704,
7145,
751,
12,
6862,
202,
6313,
751,
18,
44,
20344,
67,
26439,
67,
19835,
25083,
202,
96,
7145,
751,
18,
21654,
10109,
67,
26439,
67,
16061,
15870,
10019,
202,
202,
97,
202,
202,
759,
752,
883,
202,
202,
2
] |
handler=new Thread(thread_group, this, "ConnectionTable.Connection.HandlerThread"); handler.setDaemon(true); handler.start(); | receiverThread=new Thread(thread_group, this, "ConnectionTable.Connection.Receiver [" + getSockAddress() + "]"); receiverThread.setDaemon(true); receiverThread.start(); | void init() { // if(log.isInfoEnabled()) log.info("connection was created to " + peer_addr); if(handler == null || !handler.isAlive()) { // Roland Kurmann 4/7/2003, put in thread_group handler=new Thread(thread_group, this, "ConnectionTable.Connection.HandlerThread"); handler.setDaemon(true); handler.start(); if(log.isTraceEnabled()) log.trace("ConnectionTable.Connection.HandlerThread started"); } } | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/ce5c434df3b6ae12c7aff33805eb4a6d90d425d1/ConnectionTable.java/buggy/src/org/jgroups/blocks/ConnectionTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
1208,
1435,
288,
5411,
368,
309,
12,
1330,
18,
291,
966,
1526,
10756,
613,
18,
1376,
2932,
4071,
1703,
2522,
358,
315,
397,
4261,
67,
4793,
1769,
5411,
309,
12,
4176,
422,
446,
747,
401,
4176,
18,
291,
10608,
10756,
288,
7734,
368,
11714,
464,
1475,
27430,
1072,
1059,
19,
27,
19,
6976,
23,
16,
1378,
316,
2650,
67,
1655,
7734,
1838,
33,
2704,
4884,
12,
5930,
67,
1655,
16,
333,
16,
315,
1952,
1388,
18,
1952,
18,
1503,
3830,
8863,
7734,
1838,
18,
542,
12858,
12,
3767,
1769,
7734,
1838,
18,
1937,
5621,
7734,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
10792,
613,
18,
5129,
2932,
1952,
1388,
18,
1952,
18,
1503,
3830,
5746,
8863,
5411,
289,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
918,
1208,
1435,
288,
5411,
368,
309,
12,
1330,
18,
291,
966,
1526,
10756,
613,
18,
1376,
2932,
4071,
1703,
2522,
358,
315,
397,
4261,
67,
4793,
1769,
5411,
309,
12,
4176,
422,
446,
747,
401,
4176,
18,
291,
10608,
10756,
288,
7734,
368,
11714,
464,
1475,
27430,
1072,
1059,
19,
27,
19,
6976,
23,
16,
1378,
316,
2650,
67,
1655,
7734,
1838,
33,
2704,
4884,
12,
5930,
67,
1655,
16,
333,
16,
315,
1952,
1388,
18,
1952,
18,
1503,
3830,
8863,
7734,
1838,
18,
542,
12858,
12,
3767,
1769,
7734,
1838,
18,
1937,
5621,
7734,
309,
12,
1330,
18,
291,
3448,
1526,
10756,
10792,
613,
18,
5129,
2932,
1952,
1388,
18,
1952,
18,
1503,
3830,
5746,
8863,
2
] |
if (project == null) return; | if (project == null) { return; } | public void run() { IProject project = getProject(); if (project == null) return; SelProvider selProvider = new SelProvider(); selProvider.projectSelection = new StructuredSelection(project); PropertyDialogAction propAction = new PropertyDialogAction( workbenchWindow.getShell(), selProvider); propAction.run(); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ProjectPropertyDialogAction.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/ProjectPropertyDialogAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
467,
4109,
1984,
273,
11080,
5621,
3639,
309,
261,
4406,
422,
446,
13,
5411,
327,
31,
3639,
4352,
2249,
357,
2249,
273,
394,
4352,
2249,
5621,
3639,
357,
2249,
18,
4406,
6233,
273,
394,
7362,
2862,
6233,
12,
4406,
1769,
3639,
4276,
6353,
1803,
2270,
1803,
273,
394,
4276,
6353,
1803,
12,
7734,
1440,
22144,
3829,
18,
588,
13220,
9334,
357,
2249,
1769,
3639,
2270,
1803,
18,
2681,
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,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8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
467,
4109,
1984,
273,
11080,
5621,
3639,
309,
261,
4406,
422,
446,
13,
5411,
327,
31,
3639,
4352,
2249,
357,
2249,
273,
394,
4352,
2249,
5621,
3639,
357,
2249,
18,
4406,
6233,
273,
394,
7362,
2862,
6233,
12,
4406,
1769,
3639,
4276,
6353,
1803,
2270,
1803,
273,
394,
4276,
6353,
1803,
12,
7734,
1440,
22144,
3829,
18,
588,
13220,
9334,
357,
2249,
1769,
3639,
2270,
1803,
18,
2681,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
assert !modules.containsKey(clasz): Debug.show(sym); modules.put(clasz, sym); } | private void putSymbol(Symbol sym) { if (putEntry(sym)) { if (debug) System.out.println("put " + sym); if (isLocal(sym)) { putEntry(sym.name); putSymbol(sym.isConstructor() ? sym.constructorClass() : sym.owner()); switch (sym.kind) { case TYPE: if (sym.isViewBounded()) putType(sym.vuBound()); else putType(sym.info()); putType(sym.loBound()); break; case ALIAS: putType(sym.info()); putSymbol(sym.allConstructors()); break; case CLASS: putType(sym.info()); putType(sym.typeOfThis()); putSymbol(sym.allConstructors()); for (Scope.SymbolIterator it = sym.members().iterator(); it.hasNext();) putSymbol(it.next()); break; case VAL: putType(sym.info()); if (sym.isConstructor() && sym == sym.constructorClass().allConstructors()) putSymbol(sym.constructorClass()); else if (sym.isModule()) { Symbol clasz = sym.moduleClass(); putSymbol(sym.moduleClass()); assert !modules.containsKey(clasz): Debug.show(sym); modules.put(clasz, sym); } break; default: throw new ApplicationError(); } } else if (sym.kind != NONE) { putEntry(sym.isModuleClass() || sym.isRoot() ? sym.name.toTermName() : sym.name); if (!sym.owner().isRoot()) putSymbol(sym.owner()); } } } | 32355 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/32355/3ec2af254866c60389b3fd304c14d1137b9cf4c8/Pickle.java/buggy/sources/scalac/symtab/classfile/Pickle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1378,
5335,
12,
5335,
5382,
13,
288,
202,
430,
261,
458,
1622,
12,
8117,
3719,
288,
202,
565,
309,
261,
4148,
13,
2332,
18,
659,
18,
8222,
2932,
458,
315,
397,
5382,
1769,
202,
565,
309,
261,
291,
2042,
12,
8117,
3719,
288,
202,
202,
458,
1622,
12,
8117,
18,
529,
1769,
202,
202,
458,
5335,
12,
8117,
18,
291,
6293,
1435,
692,
5382,
18,
12316,
797,
1435,
294,
5382,
18,
8443,
10663,
202,
202,
9610,
261,
8117,
18,
9224,
13,
288,
202,
202,
3593,
3463,
30,
1082,
565,
309,
261,
8117,
18,
291,
1767,
38,
12002,
10756,
1378,
559,
12,
8117,
18,
90,
89,
3499,
10663,
1082,
565,
469,
1378,
559,
12,
8117,
18,
1376,
10663,
1082,
565,
1378,
559,
12,
8117,
18,
383,
3499,
10663,
1082,
565,
898,
31,
202,
202,
3593,
16822,
3033,
30,
1082,
565,
1378,
559,
12,
8117,
18,
1376,
10663,
1082,
565,
1378,
5335,
12,
8117,
18,
454,
29590,
10663,
1082,
565,
898,
31,
202,
202,
3593,
7383,
30,
1082,
565,
1378,
559,
12,
8117,
18,
1376,
10663,
1082,
565,
1378,
559,
12,
8117,
18,
723,
951,
2503,
10663,
1082,
565,
1378,
5335,
12,
8117,
18,
454,
29590,
10663,
1082,
565,
364,
261,
3876,
18,
5335,
3198,
518,
273,
5382,
18,
7640,
7675,
9838,
5621,
9506,
518,
18,
5332,
2134,
5621,
13,
1082,
202,
458,
5335,
12,
305,
18,
4285,
10663,
1082,
565,
898,
31,
202,
202,
3593,
5143,
30,
1082,
565,
1378,
559,
12,
8117,
18,
1376,
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,
1378,
5335,
12,
5335,
5382,
13,
288,
202,
430,
261,
458,
1622,
12,
8117,
3719,
288,
202,
565,
309,
261,
4148,
13,
2332,
18,
659,
18,
8222,
2932,
458,
315,
397,
5382,
1769,
202,
565,
309,
261,
291,
2042,
12,
8117,
3719,
288,
202,
202,
458,
1622,
12,
8117,
18,
529,
1769,
202,
202,
458,
5335,
12,
8117,
18,
291,
6293,
1435,
692,
5382,
18,
12316,
797,
1435,
294,
5382,
18,
8443,
10663,
202,
202,
9610,
261,
8117,
18,
9224,
13,
288,
202,
202,
3593,
3463,
30,
1082,
565,
309,
261,
8117,
18,
291,
1767,
38,
12002,
10756,
1378,
559,
12,
8117,
18,
90,
89,
3499,
10663,
1082,
565,
469,
1378,
559,
12,
8117,
18,
1376,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.