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 |
|---|---|---|---|---|---|---|
channel.setCallerIdNumber(event.getCallerId()); | channel.setCallerIdNumber(event.getCallerIdNum()); | public void handleStatusEvent(StatusEvent event) { AsteriskChannelImpl channel; Extension extension; boolean isNew = false; channel = getChannelImplById(event.getUniqueId()); if (channel == null) { channel = new AsteriskChannelImpl(connectionPool, event.getChannel(), event.getUniqueId()); if (event.getSeconds() != null) { channel.setDateOfCreation(new Date(System.currentTimeMillis() - (event.getSeconds().intValue() * 1000))); } isNew = true; } if (event.getContext() == null && event.getExtension() == null && event.getPriority() == null) { extension = null; } else { extension = new ExtensionImpl( event.getDateReceived(), event.getContext(), event.getExtension(), event.getPriority()); } synchronized (channel) { channel.setCallerIdNumber(event.getCallerId()); channel.setCallerIdName(event.getCallerIdName()); channel.setAccount(event.getAccount()); if (event.getState() != null) { channel.setState(ChannelState.valueOf(event.getState().toUpperCase())); } channel.addExtension(extension); if (event.getLink() != null) { AsteriskChannelImpl linkedChannel = getChannelImplByName(event.getLink()); if (linkedChannel != null) { channel.setLinkedChannel(linkedChannel); synchronized (linkedChannel) { linkedChannel.setLinkedChannel(channel); } } } } if (isNew) { logger.info("Adding new channel " + channel.getName()); addChannel(channel); } } | 56387 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56387/d1d29ae0023f921f5eca566e16b6891895195cc7/ChannelManager.java/clean/src/main/java/org/asteriskjava/live/impl/ChannelManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
1482,
1133,
12,
1482,
1133,
871,
13,
565,
288,
3639,
432,
8190,
10175,
2909,
2828,
1904,
31,
3639,
10021,
2710,
31,
3639,
1250,
10783,
273,
629,
31,
3639,
1904,
273,
16454,
2828,
5132,
12,
2575,
18,
588,
24174,
10663,
3639,
309,
261,
4327,
422,
446,
13,
3639,
288,
5411,
1904,
273,
394,
432,
8190,
10175,
2909,
2828,
12,
4071,
2864,
16,
871,
18,
588,
2909,
9334,
871,
18,
588,
24174,
10663,
5411,
309,
261,
2575,
18,
588,
6762,
1435,
480,
446,
13,
5411,
288,
7734,
1904,
18,
542,
1626,
951,
9906,
12,
2704,
2167,
12,
3163,
18,
2972,
28512,
1435,
13491,
300,
261,
2575,
18,
588,
6762,
7675,
474,
620,
1435,
380,
4336,
3719,
1769,
5411,
289,
5411,
10783,
273,
638,
31,
3639,
289,
3639,
309,
261,
2575,
18,
29120,
1435,
422,
446,
597,
871,
18,
588,
3625,
1435,
422,
446,
7734,
597,
871,
18,
588,
8183,
1435,
422,
446,
13,
3639,
288,
5411,
2710,
273,
446,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
2710,
273,
394,
10021,
2828,
12,
10792,
871,
18,
588,
1626,
8872,
9334,
871,
18,
29120,
9334,
5397,
871,
18,
588,
3625,
9334,
871,
18,
588,
8183,
10663,
3639,
289,
3639,
3852,
261,
4327,
13,
3639,
288,
5411,
1904,
18,
542,
11095,
548,
1854,
12,
2575,
18,
588,
11095,
548,
2578,
10663,
5411,
1904,
18,
542,
11095,
548,
461,
12,
2575,
18,
588,
11095,
548,
461,
10663,
5411,
1904,
18,
542,
3032,
12,
2575,
18,
588,
3032,
10663,
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,
1640,
1482,
1133,
12,
1482,
1133,
871,
13,
565,
288,
3639,
432,
8190,
10175,
2909,
2828,
1904,
31,
3639,
10021,
2710,
31,
3639,
1250,
10783,
273,
629,
31,
3639,
1904,
273,
16454,
2828,
5132,
12,
2575,
18,
588,
24174,
10663,
3639,
309,
261,
4327,
422,
446,
13,
3639,
288,
5411,
1904,
273,
394,
432,
8190,
10175,
2909,
2828,
12,
4071,
2864,
16,
871,
18,
588,
2909,
9334,
871,
18,
588,
24174,
10663,
5411,
309,
261,
2575,
18,
588,
6762,
1435,
480,
446,
13,
5411,
288,
7734,
1904,
18,
542,
1626,
951,
9906,
12,
2704,
2167,
12,
3163,
18,
2972,
28512,
1435,
13491,
300,
261,
2575,
18,
588,
6762,
7675,
474,
620,
1435,
380,
4336,
3719,
1769,
2
] |
assertTrue("Wrong length", dp.getLength() == 3); assertTrue("Wrong offset", dp.getOffset() == 2); | assertEquals("Wrong length", 3, dp.getLength()); assertEquals("Wrong offset", 2, dp.getOffset()); | public void test_Constructor$BIILjava_net_InetAddressI() { try { dp = new DatagramPacket("Hello".getBytes(), 2, 3, InetAddress .getLocalHost(), 0); assertTrue("Created incorrect packet", dp.getAddress().equals( InetAddress.getLocalHost()) && dp.getPort() == 0); assertTrue("Wrong length", dp.getLength() == 3); assertTrue("Wrong offset", dp.getOffset() == 2); } catch (Exception e) { fail("Exception during Constructor test: " + e.toString()); } } | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/DatagramPacketTest.java/clean/modules/luni/src/test/java/tests/api/java/net/DatagramPacketTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
6293,
8,
31558,
2627,
6290,
67,
2758,
67,
382,
278,
1887,
45,
1435,
288,
202,
202,
698,
288,
1082,
202,
9295,
273,
394,
6168,
17049,
6667,
2932,
18601,
9654,
588,
2160,
9334,
576,
16,
890,
16,
14218,
6862,
202,
18,
588,
2042,
2594,
9334,
374,
1769,
1082,
202,
11231,
5510,
2932,
6119,
11332,
4414,
3113,
9986,
18,
588,
1887,
7675,
14963,
12,
6862,
202,
382,
278,
1887,
18,
588,
2042,
2594,
10756,
6862,
202,
10,
10,
9986,
18,
588,
2617,
1435,
422,
374,
1769,
1082,
202,
11231,
5510,
2932,
13634,
769,
3113,
9986,
18,
588,
1782,
1435,
422,
890,
1769,
1082,
202,
11231,
5510,
2932,
13634,
1384,
3113,
9986,
18,
588,
2335,
1435,
422,
576,
1769,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
6870,
2932,
503,
4982,
11417,
1842,
30,
315,
397,
425,
18,
10492,
10663,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
2160,
9334,
576,
16,
890,
16,
14218,
6862,
202,
18,
588,
2042,
2594,
9334,
374,
1769,
1082,
202,
11231,
5510,
2932,
6119,
11332,
4414,
3113,
9986,
18,
588,
1887,
7675,
14963,
12,
6862,
202,
382,
278,
1887,
18,
588,
2042,
2594,
10756,
6862,
202,
10,
10,
9986,
18,
588,
2617,
1435,
422,
374,
1769,
1082,
202,
11231,
5510,
2932,
13634,
769,
3113,
9986,
18,
588,
1782,
1435,
422,
890,
1769,
1082,
202,
11231,
5510,
2932,
13634,
1384,
3113,
9986,
18,
588,
2335,
1435,
2
] |
StaticEntity.getProperty( "currentMood" ) + "</a>]<br>" ); buffer.append( missingCount + " missing</font>" ); buffer.append( "<br><br>" ); | StaticEntity.getProperty( "currentMood" ) + "</a>]</font><br><br>" ); | private static void addUpArrowLinks( StringBuffer buffer ) { String text = buffer.toString(); buffer.setLength( 0 ); String fontTag = ""; int startingIndex = 0; int lastAppendIndex = 0; // First, add in a mood-execute link, in the event that the person // has a non-empty list of triggers. String fontColor = MoodSettings.willExecute( true ) ? "black" : "gray"; // Insert any effects which are in your maintenance list which // have already run out. int missingCount = MoodSettings.getMissingEffectCount(); if ( MoodSettings.getTriggers().isEmpty() ) { } else if ( KoLRequest.isCompactMode ) { int effectIndex = text.indexOf( "eff(", startingIndex ); boolean shouldAddDivider = effectIndex == -1; if ( shouldAddDivider ) startingIndex = text.lastIndexOf( "</table>" ) + 8; else startingIndex = text.lastIndexOf( "<table", effectIndex ); buffer.append( text.substring( lastAppendIndex, startingIndex ) ); lastAppendIndex = startingIndex; if ( shouldAddDivider ) buffer.append( "<hr width=50%>" ); buffer.append( "<font size=2 color=" ); buffer.append( fontColor ); buffer.append( ">[<a title=\"I'm feeling moody\" href=\"/KoLmafia/sideCommand?cmd=mood+execute\" style=\"color:" ); buffer.append( "\">mood " + StaticEntity.getProperty( "currentMood" ) + "</a>]<br>" ); buffer.append( missingCount + " missing</font>" ); buffer.append( "<br><br>" ); } else { int effectIndex = text.indexOf( "Effects:</font></b>", startingIndex ); if ( effectIndex != -1 ) { startingIndex = text.indexOf( "<br>", effectIndex ); } else { startingIndex = text.lastIndexOf( "<table" ); if ( startingIndex < text.lastIndexOf( "target=mainpane" ) ) startingIndex = text.lastIndexOf( "</center>" ); } buffer.append( text.substring( lastAppendIndex, startingIndex ) ); lastAppendIndex = startingIndex; if ( effectIndex == -1 ) buffer.append( "<center><p><b><font size=2>Effects:</font></b>" ); buffer.append( "<br><font size=2 color=" ); buffer.append( fontColor ); buffer.append( ">[<a title=\"I'm feeling moody\" href=\"/KoLmafia/sideCommand?cmd=mood+execute\" style=\"color:" ); buffer.append( fontColor ); buffer.append( "\">mood " + StaticEntity.getProperty( "currentMood" ) + "</a>]<br>" ); buffer.append( missingCount + "missing</font>" ); if ( effectIndex == -1 ) buffer.append( "<br></p></center>" ); } // Finally, replace all of the shrug off links associated with // this response text. while ( startingIndex != -1 ) { startingIndex = text.indexOf( "onClick='eff", lastAppendIndex + 1 ); if ( startingIndex != -1 ) { int nextAppendIndex = text.indexOf( "(", startingIndex ) + 1; buffer.append( text.substring( lastAppendIndex, nextAppendIndex ) ); lastAppendIndex = nextAppendIndex; int effectID = StaticEntity.parseInt( text.substring( nextAppendIndex, text.indexOf( ")", nextAppendIndex ) ) ); // If the player is in compact mode, then if they wish to textualize // their effects, go ahead and do so. String effectName = StatusEffectDatabase.getEffectName( effectID ); if ( KoLRequest.isCompactMode ) { if ( effectName != null ) { if ( StaticEntity.getBooleanProperty( "relayTextualizesEffects" ) ) { nextAppendIndex = text.indexOf( "></td>", startingIndex ); buffer.append( text.substring( lastAppendIndex, nextAppendIndex ) ); lastAppendIndex = nextAppendIndex + 6; if ( StaticEntity.getBooleanProperty( "relayTextualizationVerbose" ) ) { buffer.append( "></td><td><font size=2>" ); buffer.append( effectName ); buffer.append( "</font></td>" ); } else { int deleteIndex = buffer.lastIndexOf( "<img" ); buffer.delete( deleteIndex, buffer.length() ); buffer.append( "<td align=right><nobr><font size=2>" ); buffer.append( StatusEffectDatabase.getShortName( effectID ) ); buffer.append( "</font></nobr></td>" ); } } } nextAppendIndex = text.indexOf( "<td>(", startingIndex ) + 5; } else nextAppendIndex = text.indexOf( "(", text.indexOf( "<font size=2>", startingIndex ) ) + 1; buffer.append( text.substring( lastAppendIndex, nextAppendIndex ) ); lastAppendIndex = nextAppendIndex; if ( effectName == null ) continue; String upkeepAction = MoodSettings.getDefaultAction( "lose_effect", effectName ); String removeAction = MoodSettings.getDefaultAction( "gain_effect", effectName ); if ( upkeepAction.endsWith( "snowcone" ) || upkeepAction.endsWith( "mushroom" ) || upkeepAction.endsWith( "cupcake" ) ) upkeepAction = ""; String skillName = UneffectRequest.effectToSkill( effectName ); int skillType = ClassSkillsDatabase.getSkillType( ClassSkillsDatabase.getSkillID( skillName ) ); // Add a removal link to the duration for buffs which can // be removed. This is either when the buff can be shrugged // or the buff has a default removal method. if ( skillType == ClassSkillsDatabase.BUFF || KoLCharacter.hasItem( UneffectRequest.REMEDY ) ) removeAction = "uneffect " + effectName; if ( !removeAction.equals( "" ) ) { buffer.append( "<a href=\"/KoLmafia/sideCommand?cmd=" ); try { buffer.append( URLEncoder.encode( removeAction, "UTF-8" ) ); } catch ( Exception e ) { // Hm, something bad happened. Instead of giving a real link, // give a fake link instead. buffer.append( "win+game" ); } buffer.append( "\" title=\"" ); if ( skillType == ClassSkillsDatabase.BUFF ) buffer.append( "Shrug off the " ); else if ( removeAction.startsWith( "uneffect" ) ) buffer.append( "Use a remedy to remove the " ); else buffer.append( Character.toUpperCase( removeAction.charAt(0) ) + removeAction.substring(1) + " to remove the " ); buffer.append( effectName ); buffer.append( " effect\"" ); if ( effectName.equals( "Poisoned" ) || effectName.equals( "Beaten Up" ) ) buffer.append( " style=\"color:red\"" ); buffer.append( ">" ); } nextAppendIndex = text.indexOf( ")", lastAppendIndex ) + 1; int duration = StaticEntity.parseInt( text.substring( lastAppendIndex, nextAppendIndex - 1 ) ); buffer.append( text.substring( lastAppendIndex, nextAppendIndex - 1 ) ); lastAppendIndex = nextAppendIndex; if ( skillType == ClassSkillsDatabase.BUFF || !removeAction.equals( "" ) ) buffer.append( "</a>" ); buffer.append( ")</td><td>" ); // Add the up-arrow icon for buffs which can be maintained, based // on information known to the mood maintenance module. if ( !upkeepAction.equals( "" ) ) { buffer.append( " <a href=\"/KoLmafia/sideCommand?cmd=" ); try { buffer.append( URLEncoder.encode( upkeepAction, "UTF-8" ) ); } catch ( Exception e ) { // Hm, something bad happened. Instead of giving a real link, // give a fake link instead. buffer.append( "win+game" ); } buffer.append( "\" title=\"Increase rounds of " ); buffer.append( effectName ); buffer.append( "\"><img src=\"/images/" ); if ( duration <= 5 ) buffer.append( "red" ); buffer.append( "up.gif\" border=0></a>" ); } buffer.append( "</td>" ); } } buffer.append( text.substring( lastAppendIndex ) ); } | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/d23a7ea099521752c273a1fc9257a9994494798d/RequestEditorKit.java/clean/src/net/sourceforge/kolmafia/RequestEditorKit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
527,
1211,
18691,
7100,
12,
6674,
1613,
262,
202,
95,
202,
202,
780,
977,
273,
1613,
18,
10492,
5621,
202,
202,
4106,
18,
542,
1782,
12,
374,
11272,
202,
202,
780,
3512,
1805,
273,
1408,
31,
202,
202,
474,
5023,
1016,
273,
374,
31,
202,
202,
474,
1142,
5736,
1016,
273,
374,
31,
202,
202,
759,
5783,
16,
527,
316,
279,
312,
4773,
17,
8837,
1692,
16,
316,
326,
871,
716,
326,
6175,
202,
202,
759,
711,
279,
1661,
17,
5531,
666,
434,
11752,
18,
202,
202,
780,
3512,
2957,
273,
490,
4773,
2628,
18,
20194,
5289,
12,
638,
262,
692,
315,
11223,
6,
294,
315,
22440,
14432,
202,
202,
759,
8040,
1281,
16605,
1492,
854,
316,
3433,
18388,
666,
1492,
202,
202,
759,
1240,
1818,
1086,
596,
18,
202,
202,
474,
3315,
1380,
273,
490,
4773,
2628,
18,
588,
4841,
12477,
1380,
5621,
202,
202,
430,
261,
490,
4773,
2628,
18,
588,
15114,
7675,
291,
1921,
1435,
262,
202,
202,
95,
202,
202,
97,
202,
202,
12107,
309,
261,
1475,
83,
48,
691,
18,
291,
16863,
2309,
262,
202,
202,
95,
1082,
202,
474,
5426,
1016,
273,
977,
18,
31806,
12,
315,
17098,
2932,
16,
5023,
1016,
11272,
1082,
202,
6494,
1410,
986,
25558,
273,
5426,
1016,
422,
300,
21,
31,
1082,
202,
430,
261,
1410,
986,
25558,
262,
9506,
202,
18526,
1016,
273,
977,
18,
2722,
31985,
12,
6823,
2121,
2984,
262,
397,
1725,
31,
1082,
202,
12107,
9506,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
527,
1211,
18691,
7100,
12,
6674,
1613,
262,
202,
95,
202,
202,
780,
977,
273,
1613,
18,
10492,
5621,
202,
202,
4106,
18,
542,
1782,
12,
374,
11272,
202,
202,
780,
3512,
1805,
273,
1408,
31,
202,
202,
474,
5023,
1016,
273,
374,
31,
202,
202,
474,
1142,
5736,
1016,
273,
374,
31,
202,
202,
759,
5783,
16,
527,
316,
279,
312,
4773,
17,
8837,
1692,
16,
316,
326,
871,
716,
326,
6175,
202,
202,
759,
711,
279,
1661,
17,
5531,
666,
434,
11752,
18,
202,
202,
780,
3512,
2957,
273,
490,
4773,
2628,
18,
20194,
5289,
12,
638,
262,
692,
315,
11223,
6,
294,
315,
22440,
14432,
202,
202,
759,
8040,
1281,
16605,
2
] |
getEditor(0).doSave(monitor); | taskSummaryEditor.doSave(monitor); | public void doSave(IProgressMonitor monitor) { getEditor(0).doSave(monitor); } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/5de72f60fa710fa7efe680600d3c632e85f0c79e/TaskEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
4755,
12,
45,
5491,
7187,
6438,
13,
288,
202,
202,
588,
6946,
12,
20,
2934,
2896,
4755,
12,
10259,
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,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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
4755,
12,
45,
5491,
7187,
6438,
13,
288,
202,
202,
588,
6946,
12,
20,
2934,
2896,
4755,
12,
10259,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public java.sql.ResultSet ExecSQL(String sql) throws SQLException { // added Oct 7 1998 to give us thread safety. synchronized(pg_stream) { // Deallocate all resources in the stream associated // with a previous request. // This will let the driver reuse byte arrays that has already // been allocated instead of allocating new ones in order // to gain performance improvements. pg_stream.deallocate(); Field[] fields = null; Vector tuples = new Vector(); byte[] buf = null; int fqp = 0; boolean hfr = false; String recv_status = null, msg; int update_count = 1; int insert_oid = 0; SQLException final_error = null; // Commented out as the backend can now handle queries // larger than 8K. Peter June 6 2000 //if (sql.length() > 8192) //throw new PSQLException("postgresql.con.toolong",sql); if (getEncoding() == null) buf = sql.getBytes(); else { try { buf = sql.getBytes(getEncoding()); } catch (UnsupportedEncodingException unse) { throw new PSQLException("postgresql.con.encoding", unse); } } try { pg_stream.SendChar('Q'); pg_stream.Send(buf); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } while (!hfr || fqp > 0) { Object tup=null; // holds rows as they are recieved int c = pg_stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify pid = pg_stream.ReceiveInteger(4); msg = pg_stream.ReceiveString(receive_sbuf,8192,getEncoding()); break; case 'B': // Binary Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, true); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'C': // Command Status recv_status = pg_stream.ReceiveString(receive_sbuf,8192,getEncoding()); // Now handle the update count correctly. if(recv_status.startsWith("INSERT") || recv_status.startsWith("UPDATE") || recv_status.startsWith("DELETE")) { try { update_count = Integer.parseInt(recv_status.substring(1+recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } if(recv_status.startsWith("INSERT")) { try { insert_oid = Integer.parseInt(recv_status.substring(1+recv_status.indexOf(' '),recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } } } if (fields != null) hfr = true; else { try { pg_stream.SendChar('Q'); pg_stream.SendChar(' '); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } fqp++; } break; case 'D': // Text Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, false); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'E': // Error Message msg = pg_stream.ReceiveString(receive_sbuf,4096,getEncoding()); final_error = new SQLException(msg); hfr = true; break; case 'I': // Empty Query int t = pg_stream.ReceiveChar(); if (t != 0) throw new PSQLException("postgresql.con.garbled"); if (fqp > 0) fqp--; if (fqp == 0) hfr = true; break; case 'N': // Error Notification addWarning(pg_stream.ReceiveString(receive_sbuf,4096,getEncoding())); break; case 'P': // Portal Name String pname = pg_stream.ReceiveString(receive_sbuf,8192,getEncoding()); break; case 'T': // MetaData Field Description if (fields != null) throw new PSQLException("postgresql.con.multres"); fields = ReceiveFields(); break; case 'Z': // backend ready for query, ignore for now :-) break; default: throw new PSQLException("postgresql.con.type",new Character((char)c)); } } if (final_error != null) throw final_error; return getResultSet(this, fields, tuples, recv_status, update_count, insert_oid); } } | 49504 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49504/45b5d792afa60ae24d57cdceaaec0e03cf6abb2a/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2252,
18,
4669,
18,
13198,
3889,
3997,
12,
780,
1847,
13,
1216,
6483,
565,
288,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
18,
202,
22043,
12,
8365,
67,
3256,
13,
288,
3196,
565,
368,
1505,
16247,
777,
2703,
316,
326,
1407,
3627,
21114,
565,
368,
598,
279,
2416,
590,
18,
21114,
565,
368,
1220,
903,
2231,
326,
3419,
11827,
1160,
5352,
716,
711,
1818,
21114,
565,
368,
2118,
11977,
3560,
434,
4767,
1776,
394,
5945,
316,
1353,
21114,
565,
368,
358,
17527,
9239,
13069,
90,
17110,
18,
21114,
565,
7184,
67,
3256,
18,
323,
16247,
5621,
202,
377,
202,
377,
202,
565,
2286,
8526,
1466,
273,
446,
31,
202,
565,
5589,
10384,
273,
394,
5589,
5621,
202,
565,
1160,
8526,
1681,
273,
446,
31,
202,
565,
509,
8508,
84,
273,
374,
31,
202,
565,
1250,
366,
4840,
273,
629,
31,
202,
565,
514,
10665,
67,
2327,
273,
446,
16,
1234,
31,
202,
565,
509,
1089,
67,
1883,
273,
404,
31,
202,
565,
509,
2243,
67,
839,
273,
374,
31,
202,
565,
6483,
727,
67,
1636,
273,
446,
31,
202,
377,
202,
565,
368,
9821,
329,
596,
487,
326,
4221,
848,
2037,
1640,
6218,
202,
565,
368,
10974,
2353,
1725,
47,
18,
453,
847,
804,
7556,
1666,
16291,
202,
565,
368,
430,
261,
4669,
18,
2469,
1435,
405,
26730,
13,
202,
565,
368,
12849,
394,
453,
23116,
2932,
2767,
24330,
18,
591,
18,
6738,
932,
3113,
4669,
1769,
3639,
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,
1071,
2252,
18,
4669,
18,
13198,
3889,
3997,
12,
780,
1847,
13,
1216,
6483,
565,
288,
202,
759,
3096,
29482,
2371,
23673,
28,
358,
8492,
584,
2650,
24179,
18,
202,
22043,
12,
8365,
67,
3256,
13,
288,
3196,
565,
368,
1505,
16247,
777,
2703,
316,
326,
1407,
3627,
21114,
565,
368,
598,
279,
2416,
590,
18,
21114,
565,
368,
1220,
903,
2231,
326,
3419,
11827,
1160,
5352,
716,
711,
1818,
21114,
565,
368,
2118,
11977,
3560,
434,
4767,
1776,
394,
5945,
316,
1353,
21114,
565,
368,
358,
17527,
9239,
13069,
90,
17110,
18,
21114,
565,
7184,
67,
3256,
18,
323,
16247,
5621,
202,
377,
202,
377,
202,
565,
2286,
8526,
1466,
273,
446,
31,
202,
565,
5589,
10384,
2
] | ||
return addedToSourcePath; | return true; | public boolean ensureGeneratedSourceFolder( IProgressMonitor progressMonitor ) throws CoreException { synchronized( this ) { if ( _generatedSourceFolder != null ) return false; } // don't take any locks in while creating the folder, since we are doing file-system operations IFolder srcFolder = getGeneratedSourceFolder(); srcFolder.refreshLocal( IResource.DEPTH_INFINITE, progressMonitor ); if (!srcFolder.exists()) { FileSystemUtil.makeDerivedParentFolders(srcFolder); } // // make sure __generated_src dir is on the cp if not already // boolean addedToSourcePath = updateProjectClasspath( _javaProject, srcFolder, progressMonitor ); synchronized ( this ) { _generatedSourceFolder = srcFolder; return addedToSourcePath; } } | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f33fe27819e8270eb24d0e5a64c8fba3d823b0e8/GeneratedFileManager.java/buggy/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3387,
7823,
1830,
3899,
12,
467,
5491,
7187,
4007,
7187,
262,
202,
202,
15069,
30015,
202,
95,
202,
202,
22043,
12,
333,
262,
202,
202,
95,
1082,
202,
430,
261,
389,
11168,
1830,
3899,
480,
446,
262,
9506,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
759,
2727,
1404,
4862,
1281,
13046,
316,
1323,
4979,
326,
3009,
16,
3241,
732,
854,
9957,
585,
17,
4299,
5295,
202,
202,
45,
3899,
1705,
3899,
273,
336,
7823,
1830,
3899,
5621,
202,
202,
4816,
3899,
18,
9144,
2042,
12,
467,
1420,
18,
27479,
67,
706,
7263,
5398,
16,
4007,
7187,
11272,
202,
202,
430,
16051,
4816,
3899,
18,
1808,
10756,
288,
1082,
202,
11785,
1304,
18,
6540,
21007,
3054,
14885,
12,
4816,
3899,
1769,
202,
202,
97,
6862,
202,
759,
202,
202,
759,
1221,
3071,
1001,
11168,
67,
4816,
1577,
353,
603,
326,
3283,
309,
486,
1818,
202,
202,
759,
202,
202,
6494,
3096,
774,
1830,
743,
273,
1089,
4109,
17461,
12,
389,
6290,
4109,
16,
1705,
3899,
16,
4007,
7187,
11272,
9506,
202,
22043,
261,
333,
262,
202,
202,
95,
1082,
202,
67,
11168,
1830,
3899,
273,
1705,
3899,
31,
1082,
202,
2463,
3096,
774,
1830,
743,
31,
202,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
3387,
7823,
1830,
3899,
12,
467,
5491,
7187,
4007,
7187,
262,
202,
202,
15069,
30015,
202,
95,
202,
202,
22043,
12,
333,
262,
202,
202,
95,
1082,
202,
430,
261,
389,
11168,
1830,
3899,
480,
446,
262,
9506,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
759,
2727,
1404,
4862,
1281,
13046,
316,
1323,
4979,
326,
3009,
16,
3241,
732,
854,
9957,
585,
17,
4299,
5295,
202,
202,
45,
3899,
1705,
3899,
273,
336,
7823,
1830,
3899,
5621,
202,
202,
4816,
3899,
18,
9144,
2042,
12,
467,
1420,
18,
27479,
67,
706,
7263,
5398,
16,
4007,
7187,
11272,
202,
202,
430,
16051,
4816,
3899,
18,
1808,
10756,
288,
1082,
202,
11785,
1304,
18,
6540,
2
] |
ports = rm.claimIOResource(device, basePort, SVGA_NUM_PORTS * 4); | ports = claimPorts(rm, device, basePort, SVGA_NUM_PORTS * 4); | public VMWareCore(VMWareDriver driver, PCIDevice device) throws ResourceNotFreeException, DriverException { super(640, 480); this.driver = driver; final int basePort; if (device.getConfig().getDeviceID() == PCI_DEVICE_ID_VMWARE_SVGA) { basePort = SVGA_LEGACY_BASE_PORT; this.indexPort = SVGA_LEGACY_BASE_PORT + SVGA_INDEX_PORT * 4; this.valuePort = SVGA_LEGACY_BASE_PORT + SVGA_VALUE_PORT * 4; } else { basePort = device.getConfig().getBaseAddresses()[0].getIOBase(); this.indexPort = basePort + SVGA_INDEX_PORT; this.valuePort = basePort + SVGA_VALUE_PORT; } log.debug("Found VMWare SVGA device using ports 0x" + NumberUtils.hex(indexPort) + " and 0x" + NumberUtils.hex(valuePort)); try { final ResourceManager rm = (ResourceManager) InitialNaming.lookup(ResourceManager.NAME); ports = rm.claimIOResource(device, basePort, SVGA_NUM_PORTS * 4); final int id = getVMWareID(); if (id == SVGA_ID_0 || id == SVGA_ID_INVALID) { dumpState(); throw new DriverException("No supported VMWare SVGA found, found id 0x" + NumberUtils.hex(id)); } else { log.debug("VMWare SVGA ID: 0x" + NumberUtils.hex(id)); } fifo = initFifo(device, rm); this.capabilities = getReg32(SVGA_REG_CAPABILITIES); this.videoRamSize = getReg32(SVGA_REG_FB_MAX_SIZE); final int videoRamBase = getReg32(SVGA_REG_FB_START); this.maxWidth = getReg32(SVGA_REG_MAX_WIDTH); this.maxHeight = getReg32(SVGA_REG_MAX_HEIGHT); final int bitsPerPixel = getReg32(SVGA_REG_BITS_PER_PIXEL); this.bytesPerLine = getReg32(SVGA_REG_BYTES_PER_LINE); this.videoRam = rm.claimMemoryResource(device, Address.valueOf(videoRamBase), videoRamSize, ResourceManager.MEMMODE_NORMAL); this.bitsPerPixel = bitsPerPixel; switch (bitsPerPixel) { case 8 : { bitmapGraphics = BitmapGraphics.create8bppInstance(videoRam, width, height, bytesPerLine, 0); } break; case 16 : { bitmapGraphics = BitmapGraphics.create16bppInstance(videoRam, width, height, bytesPerLine, 0); } break; case 24 : { bitmapGraphics = BitmapGraphics.create24bppInstance(videoRam, width, height, bytesPerLine, 0); } break; case 32 : { bitmapGraphics = BitmapGraphics.create32bppInstance(videoRam, width, height, bytesPerLine, 0); } break; default : throw new DriverException("Unknown bits/pixel value " + bitsPerPixel); } this.redMask = getReg32(SVGA_REG_RED_MASK); this.greenMask = getReg32(SVGA_REG_GREEN_MASK); this.blueMask = getReg32(SVGA_REG_BLUE_MASK); this.redMaskShift = getMaskShift(redMask); this.greenMaskShift = getMaskShift(greenMask); this.blueMaskShift = getMaskShift(blueMask); } catch (NameNotFoundException ex) { throw new ResourceNotFreeException(ex); } } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e204bcd94e42168df8116332c5e2f0db99bd1c55/VMWareCore.java/buggy/gui/src/driver/org/jnode/driver/video/vmware/VMWareCore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8251,
59,
834,
4670,
12,
7397,
59,
834,
4668,
3419,
16,
453,
25992,
73,
633,
2346,
13,
1216,
2591,
1248,
9194,
503,
16,
9396,
503,
288,
202,
202,
9565,
12,
1105,
20,
16,
1059,
3672,
1769,
202,
202,
2211,
18,
7407,
273,
3419,
31,
202,
202,
6385,
509,
1026,
2617,
31,
202,
202,
430,
261,
5964,
18,
588,
809,
7675,
588,
3654,
734,
1435,
422,
453,
7266,
67,
18953,
67,
734,
67,
7397,
28499,
67,
26531,
37,
13,
288,
1082,
202,
1969,
2617,
273,
11281,
37,
67,
19384,
2226,
61,
67,
8369,
67,
6354,
31,
1082,
202,
2211,
18,
1615,
2617,
273,
11281,
37,
67,
19384,
2226,
61,
67,
8369,
67,
6354,
397,
11281,
37,
67,
9199,
67,
6354,
380,
1059,
31,
1082,
202,
2211,
18,
1132,
2617,
273,
11281,
37,
67,
19384,
2226,
61,
67,
8369,
67,
6354,
397,
11281,
37,
67,
4051,
67,
6354,
380,
1059,
31,
202,
202,
97,
469,
288,
1082,
202,
1969,
2617,
273,
2346,
18,
588,
809,
7675,
588,
2171,
7148,
1435,
63,
20,
8009,
588,
4294,
2171,
5621,
1082,
202,
2211,
18,
1615,
2617,
273,
1026,
2617,
397,
11281,
37,
67,
9199,
67,
6354,
31,
1082,
202,
2211,
18,
1132,
2617,
273,
1026,
2617,
397,
11281,
37,
67,
4051,
67,
6354,
31,
202,
202,
97,
202,
202,
1330,
18,
4148,
2932,
2043,
8251,
59,
834,
11281,
37,
2346,
1450,
9048,
374,
92,
6,
397,
3588,
1989,
18,
7118,
12,
1615,
2617,
13,
397,
315,
471,
374,
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,
225,
202,
482,
8251,
59,
834,
4670,
12,
7397,
59,
834,
4668,
3419,
16,
453,
25992,
73,
633,
2346,
13,
1216,
2591,
1248,
9194,
503,
16,
9396,
503,
288,
202,
202,
9565,
12,
1105,
20,
16,
1059,
3672,
1769,
202,
202,
2211,
18,
7407,
273,
3419,
31,
202,
202,
6385,
509,
1026,
2617,
31,
202,
202,
430,
261,
5964,
18,
588,
809,
7675,
588,
3654,
734,
1435,
422,
453,
7266,
67,
18953,
67,
734,
67,
7397,
28499,
67,
26531,
37,
13,
288,
1082,
202,
1969,
2617,
273,
11281,
37,
67,
19384,
2226,
61,
67,
8369,
67,
6354,
31,
1082,
202,
2211,
18,
1615,
2617,
273,
11281,
37,
67,
19384,
2226,
61,
67,
8369,
67,
6354,
397,
11281,
37,
67,
2
] |
label2.setText("Start Rule:"); contentPane.add(label2, cc.xywh(1, 5, 1, 1, CellConstraints.RIGHT, CellConstraints.DEFAULT)); contentPane.add(rulesCombo, cc.xywh(3, 5, 3, 1)); | label2.setText("Start Rule:"); contentPane.add(label2, cc.xywh(1, 5, 1, 1, CellConstraints.RIGHT, CellConstraints.DEFAULT)); contentPane.add(rulesCombo, cc.xywh(3, 5, 3, 1)); | private void initComponents() { // JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents // Generated using JFormDesigner Open Source Project license - ANTLR (www.antlr.org) dialogPane = new JPanel(); contentPane = new JPanel(); scrollPane1 = new JScrollPane(); inputTextArea = new JTextPane(); label1 = new JLabel(); label2 = new JLabel(); rulesCombo = new JComboBox(); label3 = new JLabel(); eolCombo = new JComboBox(); buttonBar = new JPanel(); okButton = new JButton(); cancelButton = new JButton(); CellConstraints cc = new CellConstraints(); //======== this ======== setTitle("Input Text"); Container contentPane2 = getContentPane(); contentPane2.setLayout(new BorderLayout()); //======== dialogPane ======== { dialogPane.setBorder(Borders.DIALOG_BORDER); dialogPane.setLayout(new BorderLayout()); //======== contentPane ======== { contentPane.setLayout(new FormLayout( new ColumnSpec[] { FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW) }, new RowSpec[] { FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC, FormFactory.LINE_GAP_ROWSPEC, FormFactory.DEFAULT_ROWSPEC })); //======== scrollPane1 ======== { scrollPane1.setPreferredSize(new Dimension(300, 200)); scrollPane1.setViewportView(inputTextArea); } contentPane.add(scrollPane1, cc.xywh(1, 3, 5, 1)); //---- label1 ---- label1.setText("Input text:"); contentPane.add(label1, cc.xywh(1, 1, 5, 1)); //---- label2 ---- label2.setText("Start Rule:"); contentPane.add(label2, cc.xywh(1, 5, 1, 1, CellConstraints.RIGHT, CellConstraints.DEFAULT)); contentPane.add(rulesCombo, cc.xywh(3, 5, 3, 1)); //---- label3 ---- label3.setText("Line Endings:"); contentPane.add(label3, cc.xywh(1, 7, 1, 1, CellConstraints.RIGHT, CellConstraints.DEFAULT)); //---- eolCombo ---- eolCombo.setModel(new DefaultComboBoxModel(new String[] { "Unix (LF)", "Mac (CR)", "Windows (CRLF)" })); contentPane.add(eolCombo, cc.xy(3, 7)); } dialogPane.add(contentPane, BorderLayout.CENTER); //======== buttonBar ======== { buttonBar.setBorder(Borders.BUTTON_BAR_GAP_BORDER); buttonBar.setLayout(new FormLayout( new ColumnSpec[] { FormFactory.GLUE_COLSPEC, FormFactory.BUTTON_COLSPEC, FormFactory.RELATED_GAP_COLSPEC, FormFactory.BUTTON_COLSPEC }, RowSpec.decodeSpecs("pref"))); //---- okButton ---- okButton.setText("OK"); buttonBar.add(okButton, cc.xy(2, 1)); //---- cancelButton ---- cancelButton.setText("Cancel"); buttonBar.add(cancelButton, cc.xy(4, 1)); } dialogPane.add(buttonBar, BorderLayout.SOUTH); } contentPane2.add(dialogPane, BorderLayout.CENTER); pack(); // JFormDesigner - End of component initialization //GEN-END:initComponents } | 4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/23541e4643c30f6252da2e91756dc2a05302c813/DebuggerInputDialog.java/buggy/src/org/antlr/works/debugger/DebuggerInputDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
3639,
368,
804,
1204,
15478,
264,
300,
5435,
10313,
300,
5467,
4269,
8663,
12096,
225,
368,
16652,
17,
16061,
30,
2738,
7171,
3639,
368,
11025,
1450,
804,
1204,
15478,
264,
3502,
4998,
5420,
8630,
300,
27274,
16018,
261,
5591,
18,
970,
10826,
18,
3341,
13,
3639,
6176,
8485,
273,
394,
24048,
5621,
3639,
913,
8485,
273,
394,
24048,
5621,
3639,
5532,
8485,
21,
273,
394,
804,
26360,
5621,
3639,
810,
1528,
5484,
273,
394,
804,
1528,
8485,
5621,
3639,
1433,
21,
273,
394,
21403,
5621,
3639,
1433,
22,
273,
394,
21403,
5621,
3639,
2931,
16156,
273,
394,
804,
22199,
5621,
3639,
1433,
23,
273,
394,
21403,
5621,
3639,
14775,
16156,
273,
394,
804,
22199,
5621,
3639,
3568,
5190,
273,
394,
24048,
5621,
3639,
1529,
3616,
273,
394,
28804,
5621,
3639,
3755,
3616,
273,
394,
28804,
5621,
3639,
8614,
4878,
4946,
273,
394,
8614,
4878,
5621,
3639,
368,
1432,
333,
422,
894,
631,
3639,
14109,
2932,
1210,
3867,
8863,
3639,
4039,
913,
8485,
22,
273,
5154,
8485,
5621,
3639,
913,
8485,
22,
18,
542,
3744,
12,
2704,
30814,
10663,
3639,
368,
1432,
6176,
8485,
422,
894,
631,
3639,
288,
540,
202,
12730,
8485,
18,
542,
8107,
12,
21621,
18,
2565,
18683,
67,
38,
7954,
1769,
540,
202,
12730,
8485,
18,
542,
3744,
12,
2704,
30814,
10663,
540,
202,
759,
1432,
913,
8485,
422,
894,
631,
540,
202,
95,
540,
202,
202,
1745,
8485,
18,
542,
3744,
12,
2704,
2748,
3744,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
3639,
368,
804,
1204,
15478,
264,
300,
5435,
10313,
300,
5467,
4269,
8663,
12096,
225,
368,
16652,
17,
16061,
30,
2738,
7171,
3639,
368,
11025,
1450,
804,
1204,
15478,
264,
3502,
4998,
5420,
8630,
300,
27274,
16018,
261,
5591,
18,
970,
10826,
18,
3341,
13,
3639,
6176,
8485,
273,
394,
24048,
5621,
3639,
913,
8485,
273,
394,
24048,
5621,
3639,
5532,
8485,
21,
273,
394,
804,
26360,
5621,
3639,
810,
1528,
5484,
273,
394,
804,
1528,
8485,
5621,
3639,
1433,
21,
273,
394,
21403,
5621,
3639,
1433,
22,
273,
394,
21403,
5621,
3639,
2931,
16156,
273,
394,
804,
22199,
5621,
3639,
1433,
23,
273,
394,
21403,
5621,
3639,
14775,
16156,
273,
394,
2
] |
if (mustPushContext) namespaceSupport.pushContext(); else mustPushContext = true; | namespaceSupport.startElement(); | public void startElement(String uri, String localname, String qName, Attributes attributes) throws SAXException { try { if (mustPushContext) namespaceSupport.pushContext(); else mustPushContext = true; if (!isFillingUpSAXStore) {// namespaceSupport.pushContext(); final String explodedQName = XMLUtils.buildExplodedQName(uri, localname); final String handlerClassName = (String) handlerKeysToNames.get(explodedQName); if (handlerClassName != null) { // Found new handler final ElementHandlerNew elementHandler = getHandlerByClassName(handlerClassName); elementHandler.setContext(elementHandlerContext); elementHandler.setForward(elementHandler.isForwarding()); elementHandler.setContentHandler(output); if (currentHandlerInfo != null) handlerInfos.push(currentHandlerInfo); if (elementHandler.isRepeating()) { currentHandlerInfo = new HandlerInfo(level, elementHandler, attributes); super.setContentHandler(currentHandlerInfo.saxStore); isFillingUpSAXStore = true; } else { currentHandlerInfo = new HandlerInfo(level, elementHandler); super.setContentHandler(elementHandler); elementHandler.start(uri, localname, qName, attributes); } } else { super.startElement(uri, localname, qName, attributes); } } else { super.startElement(uri, localname, qName, attributes); } level++; } catch (Exception e) { throw new ValidationException(e, new LocationData(locator)); } } | 54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/4815b907b90527af06e12476cfece46be4870d75/ElementHandlerController.java/buggy/src/java/org/orbeon/oxf/xml/ElementHandlerController.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
780,
2003,
16,
514,
1191,
529,
16,
514,
22914,
16,
9055,
1677,
13,
1216,
14366,
288,
3639,
775,
288,
5411,
309,
261,
11926,
7621,
1042,
13,
7734,
1981,
6289,
18,
6206,
1042,
5621,
5411,
469,
7734,
1297,
7621,
1042,
273,
638,
31,
5411,
309,
16051,
291,
42,
5789,
1211,
55,
2501,
2257,
13,
288,
759,
7734,
1981,
6289,
18,
6206,
1042,
5621,
7734,
727,
514,
22676,
13688,
273,
3167,
1989,
18,
3510,
2966,
383,
785,
13688,
12,
1650,
16,
1191,
529,
1769,
7734,
727,
514,
1838,
3834,
273,
261,
780,
13,
1838,
2396,
774,
1557,
18,
588,
12,
2749,
383,
785,
13688,
1769,
7734,
309,
261,
4176,
3834,
480,
446,
13,
288,
10792,
368,
10750,
394,
1838,
10792,
727,
3010,
1503,
1908,
930,
1503,
273,
18945,
858,
3834,
12,
4176,
3834,
1769,
10792,
930,
1503,
18,
542,
1042,
12,
2956,
1503,
1042,
1769,
10792,
930,
1503,
18,
542,
8514,
12,
2956,
1503,
18,
291,
21487,
10663,
10792,
930,
1503,
18,
542,
1350,
1503,
12,
2844,
1769,
10792,
309,
261,
2972,
1503,
966,
480,
446,
13,
13491,
1838,
7655,
18,
6206,
12,
2972,
1503,
966,
1769,
10792,
309,
261,
2956,
1503,
18,
291,
426,
347,
1776,
10756,
288,
13491,
783,
1503,
966,
273,
394,
4663,
966,
12,
2815,
16,
930,
1503,
16,
1677,
1769,
13491,
2240,
18,
542,
1350,
1503,
12,
2972,
1503,
966,
18,
87,
651,
2257,
1769,
13491,
17646,
5789,
1211,
55,
2501,
2257,
273,
638,
31,
10792,
289,
469,
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,
13591,
12,
780,
2003,
16,
514,
1191,
529,
16,
514,
22914,
16,
9055,
1677,
13,
1216,
14366,
288,
3639,
775,
288,
5411,
309,
261,
11926,
7621,
1042,
13,
7734,
1981,
6289,
18,
6206,
1042,
5621,
5411,
469,
7734,
1297,
7621,
1042,
273,
638,
31,
5411,
309,
16051,
291,
42,
5789,
1211,
55,
2501,
2257,
13,
288,
759,
7734,
1981,
6289,
18,
6206,
1042,
5621,
7734,
727,
514,
22676,
13688,
273,
3167,
1989,
18,
3510,
2966,
383,
785,
13688,
12,
1650,
16,
1191,
529,
1769,
7734,
727,
514,
1838,
3834,
273,
261,
780,
13,
1838,
2396,
774,
1557,
18,
588,
12,
2749,
383,
785,
13688,
1769,
7734,
309,
261,
4176,
3834,
480,
446,
13,
288,
10792,
368,
2
] |
info.server = host.name; info.addr = host.getInetAddress(); | info.server = localHost.getName(); info.addr = localHost.getAddress(); | public void registerService(ServiceInfo info) throws IOException { registerServiceType(info.type); // bind the service to this address info.server = host.name; info.addr = host.getInetAddress(); makeServiceNameUnique(info); services.put(info.getQualifiedName().toLowerCase(), info); new /*Service*/Prober().start(); try { synchronized (info) { while (info.getState().compareTo(DNSState.ANNOUNCED) < 0) { info.wait(); } } } catch (InterruptedException e) { //empty } if (debug > 0) System.out.println("JmDNS registered service as "+info); } | 45694 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45694/2bacd6343e30965e7dfdd629570f2246a6f6078b/JmDNS.java/buggy/jmdns/src/javax/jmdns/JmDNS.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1744,
1179,
12,
1179,
966,
1123,
13,
1216,
1860,
288,
3639,
1744,
1179,
559,
12,
1376,
18,
723,
1769,
7734,
368,
1993,
326,
1156,
358,
333,
1758,
3639,
1123,
18,
3567,
273,
1479,
18,
529,
31,
3639,
1123,
18,
4793,
273,
1479,
18,
588,
382,
278,
1887,
5621,
7734,
1221,
16789,
6303,
12,
1376,
1769,
3639,
4028,
18,
458,
12,
1376,
18,
588,
12345,
7675,
869,
5630,
9334,
1123,
1769,
7734,
394,
1748,
1179,
5549,
626,
744,
7675,
1937,
5621,
3639,
775,
288,
5411,
3852,
261,
1376,
13,
288,
7734,
1323,
261,
1376,
18,
588,
1119,
7675,
9877,
774,
12,
11602,
1119,
18,
1258,
3417,
2124,
23552,
13,
411,
374,
13,
288,
10792,
1123,
18,
7048,
5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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1744,
1179,
12,
1179,
966,
1123,
13,
1216,
1860,
288,
3639,
1744,
1179,
559,
12,
1376,
18,
723,
1769,
7734,
368,
1993,
326,
1156,
358,
333,
1758,
3639,
1123,
18,
3567,
273,
1479,
18,
529,
31,
3639,
1123,
18,
4793,
273,
1479,
18,
588,
382,
278,
1887,
5621,
7734,
1221,
16789,
6303,
12,
1376,
1769,
3639,
4028,
18,
458,
12,
1376,
18,
588,
12345,
7675,
869,
5630,
9334,
1123,
1769,
7734,
394,
1748,
1179,
5549,
626,
744,
7675,
1937,
5621,
3639,
775,
288,
5411,
3852,
261,
1376,
13,
288,
7734,
1323,
261,
1376,
18,
588,
1119,
7675,
9877,
774,
12,
11602,
1119,
18,
1258,
3417,
2124,
23552,
13,
411,
374,
13,
288,
10792,
1123,
18,
7048,
2
] |
.getId(), context.getId(), null, null, Binding.SYSTEM); | .getId(), context.getId(), null, null, Binding.SYSTEM, null); | public void testDeletedBindingWithUserOverride() throws NotDefinedException { final Context context = contextManager.getContext("na"); context.define("name", "description", null); final Scheme scheme = bindingManager.getScheme("na"); scheme.define("name", "description", null); bindingManager.setActiveScheme(scheme); final Set activeContextIds = new HashSet(); activeContextIds.add("na"); contextManager.setActiveContextIds(activeContextIds); final Binding generalBinding = new TestBinding("general", scheme .getId(), context.getId(), null, null, Binding.SYSTEM); bindingManager.addBinding(generalBinding); final Binding cancelOnPlatform = new TestBinding(null, scheme.getId(), context.getId(), null, bindingManager.getPlatform(), Binding.SYSTEM); bindingManager.addBinding(cancelOnPlatform); final Binding userOverride = new TestBinding("user", scheme.getId(), context.getId(), null, bindingManager.getPlatform(), Binding.USER); bindingManager.addBinding(userOverride); assertEquals("The user redefine a binding deleted in the system", userOverride.getCommandId(), bindingManager .getPerfectMatch(TestBinding.TRIGGER_SEQUENCE)); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e61bf96d546738a5dfebc5feb8c2bcbe110e4371/BindingInteractionsTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/BindingInteractionsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
7977,
5250,
1190,
1299,
6618,
1435,
1216,
2288,
8116,
503,
288,
202,
202,
6385,
1772,
819,
273,
819,
1318,
18,
29120,
2932,
6582,
8863,
202,
202,
2472,
18,
11255,
2932,
529,
3113,
315,
3384,
3113,
446,
1769,
202,
202,
6385,
10714,
4355,
273,
5085,
1318,
18,
588,
9321,
2932,
6582,
8863,
202,
202,
9068,
18,
11255,
2932,
529,
3113,
315,
3384,
3113,
446,
1769,
202,
202,
7374,
1318,
18,
542,
3896,
9321,
12,
9068,
1769,
202,
202,
6385,
1000,
2695,
1042,
2673,
273,
394,
6847,
5621,
202,
202,
3535,
1042,
2673,
18,
1289,
2932,
6582,
8863,
202,
202,
2472,
1318,
18,
542,
3896,
1042,
2673,
12,
3535,
1042,
2673,
1769,
202,
202,
6385,
15689,
7470,
5250,
273,
394,
7766,
5250,
2932,
12259,
3113,
4355,
9506,
202,
18,
26321,
9334,
819,
18,
26321,
9334,
446,
16,
446,
16,
15689,
18,
14318,
1769,
202,
202,
7374,
1318,
18,
1289,
5250,
12,
12259,
5250,
1769,
202,
202,
6385,
15689,
3755,
1398,
8201,
273,
394,
7766,
5250,
12,
2011,
16,
4355,
18,
26321,
9334,
9506,
202,
2472,
18,
26321,
9334,
446,
16,
5085,
1318,
18,
588,
8201,
9334,
9506,
202,
5250,
18,
14318,
1769,
202,
202,
7374,
1318,
18,
1289,
5250,
12,
10996,
1398,
8201,
1769,
202,
202,
6385,
15689,
729,
6618,
273,
394,
7766,
5250,
2932,
1355,
3113,
4355,
18,
26321,
9334,
9506,
202,
2472,
18,
26321,
9334,
446,
16,
5085,
1318,
18,
588,
8201,
9334,
9506,
202,
5250,
18,
4714,
1769,
202,
202,
7374,
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,
1842,
7977,
5250,
1190,
1299,
6618,
1435,
1216,
2288,
8116,
503,
288,
202,
202,
6385,
1772,
819,
273,
819,
1318,
18,
29120,
2932,
6582,
8863,
202,
202,
2472,
18,
11255,
2932,
529,
3113,
315,
3384,
3113,
446,
1769,
202,
202,
6385,
10714,
4355,
273,
5085,
1318,
18,
588,
9321,
2932,
6582,
8863,
202,
202,
9068,
18,
11255,
2932,
529,
3113,
315,
3384,
3113,
446,
1769,
202,
202,
7374,
1318,
18,
542,
3896,
9321,
12,
9068,
1769,
202,
202,
6385,
1000,
2695,
1042,
2673,
273,
394,
6847,
5621,
202,
202,
3535,
1042,
2673,
18,
1289,
2932,
6582,
8863,
202,
202,
2472,
1318,
18,
542,
3896,
1042,
2673,
12,
3535,
1042,
2673,
1769,
202,
202,
6385,
15689,
2
] |
} | protected void setPreferenceTransfers() { super.setPreferenceTransfers(); if(validFromFile()&&(transfersTable.getItemCount()== 0)){ text.setText(PreferencesMessages.WizardPreferences_noSpecificPreferenceDescription); } else text.setText(""); //$NON-NLS-1$ } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/348e099a94abc0003af8bb50ab4c0ea0a8e5f422/WizardPreferencesImportPage1.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/wizards/preferences/WizardPreferencesImportPage1.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
444,
9624,
1429,
18881,
1435,
288,
377,
202,
377,
202,
9565,
18,
542,
9624,
1429,
18881,
5621,
202,
377,
1082,
202,
430,
12,
877,
13087,
1435,
10,
10,
12,
2338,
18881,
1388,
18,
588,
30687,
1435,
631,
374,
3719,
95,
1082,
202,
955,
18,
542,
1528,
12,
12377,
5058,
18,
27130,
12377,
67,
2135,
9969,
9624,
3291,
1769,
202,
202,
97,
202,
202,
12107,
1082,
202,
955,
18,
542,
1528,
2932,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
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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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,
377,
4750,
918,
444,
9624,
1429,
18881,
1435,
288,
377,
202,
377,
202,
9565,
18,
542,
9624,
1429,
18881,
5621,
202,
377,
1082,
202,
430,
12,
877,
13087,
1435,
10,
10,
12,
2338,
18881,
1388,
18,
588,
30687,
1435,
631,
374,
3719,
95,
1082,
202,
955,
18,
542,
1528,
12,
12377,
5058,
18,
27130,
12377,
67,
2135,
9969,
9624,
3291,
1769,
202,
202,
97,
202,
202,
12107,
1082,
202,
955,
18,
542,
1528,
2932,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
25083,
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
] | |
bringDownCritSvcs(node); | bringDownCritSvcs(node); | public void testCritSvcStatusPropagation() { m_pollerConfig.setNodeOutageProcessingEnabled(true); MockNode node = m_network.getNode(1); anticipateDown(node); startDaemons(); bringDownCritSvcs(node); verifyAnticipated(8000); } | 11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/b4e7756e33fc2d9129c42f673171d390be34705f/PollerTest.java/buggy/opennms-services/src/test/java/org/opennms/netmgt/poller/PollerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
39,
583,
17444,
1482,
14225,
1435,
288,
3639,
312,
67,
3915,
749,
809,
18,
542,
907,
1182,
410,
7798,
1526,
12,
3767,
1769,
3639,
7867,
907,
756,
273,
312,
67,
5185,
18,
588,
907,
12,
21,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
39,
583,
17444,
1482,
14225,
1435,
288,
3639,
312,
67,
3915,
749,
809,
18,
542,
907,
1182,
410,
7798,
1526,
12,
3767,
1769,
3639,
7867,
907,
756,
273,
312,
67,
5185,
18,
588,
907,
12,
21,
1769,
3639,
17841,
24629,
340,
4164,
12,
2159,
1769,
3639,
787,
12858,
87,
5621,
3639,
5186,
310,
4164,
39,
583,
55,
18982,
12,
2159,
1769,
3639,
3929,
14925,
24629,
690,
12,
26021,
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
] |
InsertBlock newBlock = new InsertBlock(metadataBucket, null, block.desiredURI); try { metadataPutter = new SingleFileInserter(parent, this, newBlock, true, ctx, false, getCHKOnly, false, token, false); Logger.minor(this, "Putting metadata on "+metadataPutter); } catch (InserterException e) { cb.onFailure(e, this); return; } | Logger.minor(this, "Putting metadata on "+metadataPutter); } catch (InserterException e1) { cb.onFailure(e1, this); return; } | public synchronized void onMetadata(Metadata meta, ClientPutState state) { if(finished) return; if(state == metadataPutter) { Logger.error(this, "Got metadata for metadata"); onFailure(new InserterException(InserterException.INTERNAL_ERROR, "Did not expect to get metadata for metadata inserter", null), state); } else if(state != sfi) { Logger.error(this, "Got unknown metadata"); onFailure(new InserterException(InserterException.INTERNAL_ERROR, "Did not expect to get metadata for metadata inserter", null), state); } if(reportMetadataOnly) { cb.onMetadata(meta, this); metaInsertSuccess = true; } else { if(metadataPutter != null) return; Bucket metadataBucket; try { metadataBucket = BucketTools.makeImmutableBucket(ctx.bf, meta.writeToByteArray()); } catch (IOException e) { InserterException ex = new InserterException(InserterException.BUCKET_ERROR, e, null); fail(ex); return; } catch (MetadataUnresolvedException e) { Logger.error(this, "Impossible: "+e, e); InserterException ex = new InserterException(InserterException.INTERNAL_ERROR, "MetadataUnresolvedException in SingleFileInserter.SplitHandler: "+e, null); ex.initCause(e); fail(ex); return; } InsertBlock newBlock = new InsertBlock(metadataBucket, null, block.desiredURI); try { metadataPutter = new SingleFileInserter(parent, this, newBlock, true, ctx, false, getCHKOnly, false, token, false); Logger.minor(this, "Putting metadata on "+metadataPutter); } catch (InserterException e) { cb.onFailure(e, this); return; } try { ((SingleFileInserter)metadataPutter).start(null); } catch (InserterException e) { fail(e); return; } } } | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/a99fbfa9db79808f376d90d1b435c8efcfb94698/SingleFileInserter.java/buggy/src/freenet/client/async/SingleFileInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3852,
918,
603,
2277,
12,
2277,
2191,
16,
2445,
6426,
1119,
919,
13,
288,
1082,
202,
430,
12,
13527,
13,
327,
31,
1082,
202,
430,
12,
2019,
422,
1982,
6426,
387,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
15617,
1982,
364,
1982,
8863,
9506,
202,
265,
5247,
12,
2704,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
14005,
67,
3589,
16,
315,
18250,
486,
4489,
358,
336,
1982,
364,
1982,
316,
550,
387,
3113,
446,
3631,
919,
1769,
1082,
202,
97,
469,
309,
12,
2019,
480,
9033,
77,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
15617,
5917,
1982,
8863,
9506,
202,
265,
5247,
12,
2704,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
14005,
67,
3589,
16,
315,
18250,
486,
4489,
358,
336,
1982,
364,
1982,
316,
550,
387,
3113,
446,
3631,
919,
1769,
1082,
202,
97,
1082,
202,
430,
12,
6006,
2277,
3386,
13,
288,
9506,
202,
7358,
18,
265,
2277,
12,
3901,
16,
333,
1769,
9506,
202,
3901,
4600,
4510,
273,
638,
31,
1082,
202,
97,
469,
288,
9506,
202,
430,
12,
4165,
6426,
387,
480,
446,
13,
6862,
202,
2463,
31,
9506,
202,
4103,
1982,
4103,
31,
9506,
202,
698,
288,
6862,
202,
4165,
4103,
273,
7408,
10348,
18,
6540,
16014,
4103,
12,
5900,
18,
17156,
16,
2191,
18,
2626,
774,
8826,
10663,
9506,
202,
97,
1044,
261,
14106,
425,
13,
288,
6862,
202,
382,
550,
387,
503,
431,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
3852,
918,
603,
2277,
12,
2277,
2191,
16,
2445,
6426,
1119,
919,
13,
288,
1082,
202,
430,
12,
13527,
13,
327,
31,
1082,
202,
430,
12,
2019,
422,
1982,
6426,
387,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
15617,
1982,
364,
1982,
8863,
9506,
202,
265,
5247,
12,
2704,
657,
550,
387,
503,
12,
382,
550,
387,
503,
18,
14005,
67,
3589,
16,
315,
18250,
486,
4489,
358,
336,
1982,
364,
1982,
316,
550,
387,
3113,
446,
3631,
919,
1769,
1082,
202,
97,
469,
309,
12,
2019,
480,
9033,
77,
13,
288,
9506,
202,
3328,
18,
1636,
12,
2211,
16,
315,
15617,
5917,
1982,
8863,
9506,
202,
265,
5247,
12,
2704,
657,
2
] |
public synchronized void missedHeartbeat(InetAddress local, int local_port, InetAddress remote, int remote_port, int num_missed_hbs) { if(receiver != null) receiver.missedHeartbeat(local, local_port, remote, remote_port, num_missed_hbs); | public synchronized void missedHeartbeat(InetAddress local, int local_port, InetAddress remote, int remote_port, int num_missed_hbs) { if(receiver != null) receiver.missedHeartbeat(local, local_port, remote, remote_port, num_missed_hbs); | public synchronized void missedHeartbeat(InetAddress local, int local_port, InetAddress remote, int remote_port, int num_missed_hbs) { if(receiver != null) receiver.missedHeartbeat(local, local_port, remote, remote_port, num_missed_hbs); } | 51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/13de68466e3cf7fde6ee0bde0cee09a33e837e89/LogicalLink.java/clean/src/org/jgroups/blocks/LogicalLink.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
25143,
15894,
12,
382,
278,
1887,
1191,
16,
509,
1191,
67,
655,
16,
9944,
377,
14218,
2632,
16,
509,
2632,
67,
655,
16,
509,
818,
67,
11173,
730,
67,
76,
2038,
13,
288,
202,
430,
12,
24454,
480,
446,
13,
202,
565,
5971,
18,
11173,
730,
15894,
12,
3729,
16,
1191,
67,
655,
16,
2632,
16,
2632,
67,
655,
16,
818,
67,
11173,
730,
67,
76,
2038,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
25143,
15894,
12,
382,
278,
1887,
1191,
16,
509,
1191,
67,
655,
16,
9944,
377,
14218,
2632,
16,
509,
2632,
67,
655,
16,
509,
818,
67,
11173,
730,
67,
76,
2038,
13,
288,
202,
430,
12,
24454,
480,
446,
13,
202,
565,
5971,
18,
11173,
730,
15894,
12,
3729,
16,
1191,
67,
655,
16,
2632,
16,
2632,
67,
655,
16,
818,
67,
11173,
730,
67,
76,
2038,
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
] |
_internal = _ode.getContext().activateEndpoint(_endpoint.serviceName, _endpoint.portName); if (__log.isDebugEnabled()) { __log.debug("Activated endpoint " + _endpoint); } } | public void activate() throws JBIException { if (_serviceref == null) { ServiceEndpoint[] candidates = _ode.getContext().getExternalEndpointsForService(_endpoint.serviceName); if (candidates.length != 0) { _external = candidates[0]; } } _internal = _ode.getContext().activateEndpoint(_endpoint.serviceName, _endpoint.portName); if (__log.isDebugEnabled()) { __log.debug("Activated endpoint " + _endpoint); } // TODO: Is there a race situation here? } | 47044 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47044/09b7bc81ee0b928ba82939c26ceb06ae7bf923a2/OdeService.java/buggy/jbi/src/main/java/org/apache/ode/jbi/OdeService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
10235,
1435,
1216,
804,
31558,
503,
288,
565,
309,
261,
67,
23039,
335,
822,
74,
422,
225,
446,
13,
288,
1377,
1956,
3293,
8526,
7965,
273,
389,
390,
18,
29120,
7675,
588,
6841,
10357,
1290,
1179,
24899,
8003,
18,
15423,
1769,
1377,
309,
261,
21635,
18,
2469,
480,
374,
13,
288,
3639,
389,
9375,
273,
7965,
63,
20,
15533,
1377,
289,
565,
289,
565,
389,
7236,
273,
389,
390,
18,
29120,
7675,
10014,
3293,
24899,
8003,
18,
15423,
16,
389,
8003,
18,
655,
461,
1769,
565,
309,
261,
972,
1330,
18,
291,
2829,
1526,
10756,
288,
1377,
1001,
1330,
18,
4148,
2932,
28724,
2494,
315,
397,
389,
8003,
1769,
565,
289,
565,
368,
2660,
30,
2585,
1915,
279,
17996,
20886,
2674,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
10235,
1435,
1216,
804,
31558,
503,
288,
565,
309,
261,
67,
23039,
335,
822,
74,
422,
225,
446,
13,
288,
1377,
1956,
3293,
8526,
7965,
273,
389,
390,
18,
29120,
7675,
588,
6841,
10357,
1290,
1179,
24899,
8003,
18,
15423,
1769,
1377,
309,
261,
21635,
18,
2469,
480,
374,
13,
288,
3639,
389,
9375,
273,
7965,
63,
20,
15533,
1377,
289,
565,
289,
565,
389,
7236,
273,
389,
390,
18,
29120,
7675,
10014,
3293,
24899,
8003,
18,
15423,
16,
389,
8003,
18,
655,
461,
1769,
565,
309,
261,
972,
1330,
18,
291,
2829,
1526,
10756,
288,
1377,
1001,
1330,
18,
4148,
2932,
28724,
2494,
315,
397,
389,
8003,
1769,
565,
289,
565,
368,
2660,
30,
2585,
2
] | |
output.dumpInt(pattern.flags()); | int flags = 0; if ((pattern.flags() & Pattern.DOTALL) > 0) { flags |= RE_OPTION_MULTILINE; } if ((pattern.flags() & Pattern.CASE_INSENSITIVE) > 0) { flags |= RE_OPTION_IGNORECASE; } if ((pattern.flags() & Pattern.COMMENTS) > 0) { flags |= RE_OPTION_EXTENDED; } output.dumpInt(flags); | public void marshalTo(MarshalStream output) throws java.io.IOException { output.write('/'); output.dumpString(pattern.pattern()); output.dumpInt(pattern.flags()); } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/ae3178fbb3656e01c3d379a6255e1af956725271/RubyRegexp.java/clean/src/org/jruby/RubyRegexp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10893,
774,
12,
8105,
1228,
876,
13,
1216,
2252,
18,
1594,
18,
14106,
288,
3639,
876,
18,
2626,
2668,
2473,
1769,
3639,
876,
18,
8481,
780,
12,
4951,
18,
4951,
10663,
540,
509,
2943,
273,
374,
31,
309,
14015,
4951,
18,
7133,
1435,
473,
6830,
18,
17591,
4685,
13,
405,
374,
13,
288,
2943,
5626,
2438,
67,
7425,
67,
12845,
30690,
31,
289,
309,
14015,
4951,
18,
7133,
1435,
473,
6830,
18,
13415,
67,
706,
26753,
16325,
13,
405,
374,
13,
288,
2943,
5626,
2438,
67,
7425,
67,
20118,
13415,
31,
289,
309,
14015,
4951,
18,
7133,
1435,
473,
6830,
18,
12200,
55,
13,
405,
374,
13,
288,
2943,
5626,
2438,
67,
7425,
67,
4142,
22088,
31,
289,
876,
18,
8481,
1702,
12,
7133,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
10893,
774,
12,
8105,
1228,
876,
13,
1216,
2252,
18,
1594,
18,
14106,
288,
3639,
876,
18,
2626,
2668,
2473,
1769,
3639,
876,
18,
8481,
780,
12,
4951,
18,
4951,
10663,
540,
509,
2943,
273,
374,
31,
309,
14015,
4951,
18,
7133,
1435,
473,
6830,
18,
17591,
4685,
13,
405,
374,
13,
288,
2943,
5626,
2438,
67,
7425,
67,
12845,
30690,
31,
289,
309,
14015,
4951,
18,
7133,
1435,
473,
6830,
18,
13415,
67,
706,
26753,
16325,
13,
405,
374,
13,
288,
2943,
5626,
2438,
67,
7425,
67,
20118,
13415,
31,
289,
309,
14015,
4951,
18,
7133,
1435,
473,
6830,
18,
12200,
55,
13,
405,
374,
13,
288,
2943,
5626,
2438,
67,
7425,
67,
4142,
2
] |
String locationContext = makeLocationContext(unit, problem); StringBuffer mssg = new StringBuffer(); mssg.append(problem.getOriginatingFileName()); mssg.append(":" + problem.getSourceLineNumber()); mssg.append(": "); mssg.append(problem.getMessage()); mssg.append(LangUtil.EOL); mssg.append(locationContext); return new Message(mssg.toString(), sourceLocation, problem.isError()); | return new Message(problem.getMessage(), sourceLocation, problem.isError()); | public static IMessage makeMessage(ICompilationUnit unit, IProblem problem) { //??? would like to know the column as well as line //??? and also should generate highlighting info ISourceLocation sourceLocation = makeSourceLocation(unit, problem); String locationContext = makeLocationContext(unit, problem); StringBuffer mssg = new StringBuffer(); mssg.append(problem.getOriginatingFileName()); mssg.append(":" + problem.getSourceLineNumber()); mssg.append(": "); mssg.append(problem.getMessage()); mssg.append(LangUtil.EOL); mssg.append(locationContext); return new Message(mssg.toString(), sourceLocation, problem.isError()); } | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/bb9ee8de60674b1bb5bbdaa9e61a7adc92aa8287/EclipseAdapterUtils.java/buggy/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/EclipseAdapterUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
467,
1079,
1221,
1079,
12,
45,
19184,
2802,
2836,
16,
467,
13719,
6199,
13,
288,
540,
368,
14646,
35,
4102,
3007,
358,
5055,
326,
1057,
487,
5492,
487,
980,
3639,
368,
14646,
35,
471,
2546,
1410,
2103,
8839,
310,
1123,
3639,
467,
1830,
2735,
1084,
2735,
273,
1221,
1830,
2735,
12,
4873,
16,
6199,
1769,
4766,
4202,
514,
2117,
1042,
273,
1221,
2735,
1042,
12,
4873,
16,
6199,
1769,
3639,
6674,
312,
1049,
75,
273,
394,
6674,
5621,
3639,
312,
1049,
75,
18,
6923,
12,
18968,
18,
588,
7571,
1776,
4771,
10663,
3639,
312,
1049,
75,
18,
6923,
2932,
2773,
397,
6199,
18,
588,
1830,
31063,
10663,
3639,
312,
1049,
75,
18,
6923,
2932,
30,
315,
1769,
3639,
312,
1049,
75,
18,
6923,
12,
18968,
18,
24906,
10663,
3639,
312,
1049,
75,
18,
6923,
12,
7275,
1304,
18,
5842,
1769,
3639,
312,
1049,
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0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
467,
1079,
1221,
1079,
12,
45,
19184,
2802,
2836,
16,
467,
13719,
6199,
13,
288,
540,
368,
14646,
35,
4102,
3007,
358,
5055,
326,
1057,
487,
5492,
487,
980,
3639,
368,
14646,
35,
471,
2546,
1410,
2103,
8839,
310,
1123,
3639,
467,
1830,
2735,
1084,
2735,
273,
1221,
1830,
2735,
12,
4873,
16,
6199,
1769,
4766,
4202,
514,
2117,
1042,
273,
1221,
2735,
1042,
12,
4873,
16,
6199,
1769,
3639,
6674,
312,
1049,
75,
273,
394,
6674,
5621,
3639,
312,
1049,
75,
18,
6923,
12,
18968,
18,
588,
7571,
1776,
4771,
10663,
3639,
312,
1049,
75,
18,
6923,
2932,
2773,
397,
6199,
18,
588,
1830,
31063,
10663,
3639,
312,
1049,
75,
18,
6923,
2932,
30,
315,
2
] |
getLogger().error("Error parsing sender address: " + sender + ": " + pe.getMessage()); | getLogger().error( "Error parsing sender address: " + sender + ": " + pe.getMessage()); | private void doMAIL(String command,String argument,String argument1) { if (state.containsKey(SENDER)) { out.println("503 Sender already specified"); } else if (argument == null || !argument.equalsIgnoreCase("FROM") || argument1 == null) { out.println("501 Usage: MAIL FROM:<sender>"); } else { String sender = argument1.trim(); int lastChar = sender.lastIndexOf('>'); if (sender.length() > lastChar+1) { //handle a SIZE=### command if it's sent String cmdString = sender.substring(lastChar+1).trim(); if (cmdString.toUpperCase().startsWith("SIZE")) { try { int size = Integer.parseInt(cmdString.substring(cmdString.indexOf('=')+1)); if (maxmessagesize > 0 && size > maxmessagesize) { getLogger().error("552 Message size exceeds fixed maximum message size"); //let the client know that the size limit has been hit. out.println("552 Message size exceeds fixed maximum message size"); return; } else { //put the message size in the message state so it can be used // later to restrict messages for user quotas, etc. state.put(MESG_SIZE, new Integer(size)); } } catch (Exception e) { } } //cut off the extra bit in the sender string sender = sender.substring(0, lastChar+1); } if (!sender.startsWith("<") || !sender.endsWith(">")) { out.println("501 Syntax error in parameters or arguments"); getLogger().error("Error parsing sender address: " + sender + ": did not start and end with < >"); return; } MailAddress senderAddress = null; //Remove < and > sender = sender.substring(1, sender.length() - 1); if (sender.length() == 0) { //This is the <> case. Let senderAddress == null } else { if(sender.indexOf("@")<0){ sender = sender+"@localhost"; } try { senderAddress = new MailAddress(sender); } catch (Exception pe) { out.println("501 Syntax error in parameters or arguments"); getLogger().error("Error parsing sender address: " + sender + ": " + pe.getMessage()); return; } } state.put(SENDER, senderAddress); out.println("250 Sender <" + sender + "> OK"); } } | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/b8ec95c95dc45a1d4749d2f2262a56b03155b5b8/SMTPHandler.java/buggy/trunk/src/java/org/apache/james/smtpserver/SMTPHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
18191,
12,
780,
1296,
16,
780,
1237,
16,
780,
1237,
21,
13,
288,
3639,
309,
261,
2019,
18,
12298,
653,
12,
1090,
18556,
3719,
288,
5411,
596,
18,
8222,
2932,
3361,
23,
15044,
1818,
1269,
8863,
3639,
289,
469,
309,
261,
3446,
422,
446,
747,
401,
3446,
18,
14963,
5556,
2932,
11249,
7923,
10402,
747,
1237,
21,
422,
446,
13,
288,
5411,
596,
18,
8222,
2932,
9172,
10858,
30,
490,
6575,
4571,
22292,
15330,
2984,
1769,
3639,
289,
469,
288,
5411,
514,
5793,
273,
1237,
21,
18,
5290,
5621,
5411,
509,
23914,
273,
5793,
18,
2722,
31985,
2668,
1870,
1769,
5411,
309,
261,
15330,
18,
2469,
1435,
405,
23914,
15,
21,
13,
288,
7734,
368,
4110,
279,
11963,
33,
13151,
1296,
309,
518,
1807,
3271,
7734,
514,
1797,
780,
273,
5793,
18,
28023,
12,
2722,
2156,
15,
21,
2934,
5290,
5621,
7734,
309,
261,
4172,
780,
18,
869,
8915,
7675,
17514,
1190,
2932,
4574,
6,
3719,
288,
10792,
775,
288,
13491,
509,
963,
273,
2144,
18,
2670,
1702,
12,
4172,
780,
18,
28023,
12,
4172,
780,
18,
31806,
2668,
2218,
27921,
21,
10019,
13491,
309,
261,
1896,
6833,
554,
405,
374,
597,
963,
405,
943,
6833,
554,
13,
288,
18701,
7156,
7675,
1636,
2932,
2539,
22,
2350,
963,
14399,
5499,
4207,
883,
963,
8863,
18701,
368,
1810,
326,
1004,
5055,
716,
326,
963,
1800,
711,
2118,
6800,
18,
18701,
596,
18,
8222,
2932,
2539,
22,
2350,
963,
14399,
5499,
4207,
883,
963,
8863,
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,
741,
18191,
12,
780,
1296,
16,
780,
1237,
16,
780,
1237,
21,
13,
288,
3639,
309,
261,
2019,
18,
12298,
653,
12,
1090,
18556,
3719,
288,
5411,
596,
18,
8222,
2932,
3361,
23,
15044,
1818,
1269,
8863,
3639,
289,
469,
309,
261,
3446,
422,
446,
747,
401,
3446,
18,
14963,
5556,
2932,
11249,
7923,
10402,
747,
1237,
21,
422,
446,
13,
288,
5411,
596,
18,
8222,
2932,
9172,
10858,
30,
490,
6575,
4571,
22292,
15330,
2984,
1769,
3639,
289,
469,
288,
5411,
514,
5793,
273,
1237,
21,
18,
5290,
5621,
5411,
509,
23914,
273,
5793,
18,
2722,
31985,
2668,
1870,
1769,
5411,
309,
261,
15330,
18,
2469,
1435,
405,
23914,
15,
21,
13,
288,
7734,
368,
2
] |
} else { connectionType = INITIATOR_CONNECTION_TYPE; | } if (connectionType == null) { throw new ConfigError("Missing ConnectionType"); | public Session create(SessionID sessionID, SessionSettings settings) throws ConfigError { try { String connectionType; if (settings.isSetting(sessionID, SessionFactory.SETTING_CONNECTION_TYPE)) { connectionType = settings.getString(sessionID, SessionFactory.SETTING_CONNECTION_TYPE); } else { connectionType = INITIATOR_CONNECTION_TYPE; } if (!connectionType.equals(ACCEPTOR_CONNECTION_TYPE) && !connectionType.equals(INITIATOR_CONNECTION_TYPE)) { throw new ConfigError("Invalid ConnectionType"); } if (connectionType.equals(ACCEPTOR_CONNECTION_TYPE) && settings.isSetting(sessionID, SessionSettings.SESSION_QUALIFIER)) { throw new ConfigError("SessionQualifier cannot be used with acceptor."); } boolean useDataDictionary = true; if (settings.isSetting(sessionID, Session.SETTING_USE_DATA_DICTIONARY)) { useDataDictionary = settings.getBool(sessionID, Session.SETTING_USE_DATA_DICTIONARY); } DataDictionary dataDictionary = null; if (useDataDictionary) { String path = settings.getString(sessionID, Session.SETTING_DATA_DICTIONARY); dataDictionary = (DataDictionary) dictionaryCache.get(path); if (dataDictionary == null) { try { dataDictionary = new DataDictionary(new FileInputStream(path)); dictionaryCache.put(path, dataDictionary); } catch (FileNotFoundException e) { throw new ConfigError(e.getMessage()); } } if (settings.isSetting(sessionID, Session.SETTING_VALIDATE_FIELDS_OUT_OF_ORDER)) { dataDictionary.setCheckFieldsOutofOrder(settings.getBool(sessionID, Session.SETTING_VALIDATE_FIELDS_OUT_OF_ORDER)); } if (settings.isSetting(sessionID, Session.SETTING_VALIDATE_FIELDS_HAVE_VALUES)) { dataDictionary.setCheckFieldsHaveValues(settings.getBool(sessionID, Session.SETTING_VALIDATE_FIELDS_HAVE_VALUES)); } } // TODO FEATURE C++ Validate user defined field tag range between 5000 and 9999 inclusive. Date startTime = UtcTimeOnlyConverter.convert(settings.getString(sessionID, Session.SETTING_START_TIME)); Date endTime = UtcTimeOnlyConverter.convert(settings.getString(sessionID, Session.SETTING_END_TIME)); int startDay = getDay(settings, sessionID, Session.SETTING_START_DAY, -1); int endDay = getDay(settings, sessionID, Session.SETTING_END_DAY, -1); if (startDay >= 0 && endDay < 0) { throw new ConfigError("StartDay used without EndDay"); } if (endDay >= 0 && startDay < 0) { throw new ConfigError("EndDay used with StartDay"); } int heartbeatInterval = 0; if (connectionType.equals(INITIATOR_CONNECTION_TYPE)) { heartbeatInterval = (int) settings.getLong(sessionID, Session.SETTING_HEARTBTINT); if (heartbeatInterval <= 0) { throw new ConfigError("Heartbeat must be greater than zero"); } } Session session = new Session(application, messageStoryFactory, sessionID, dataDictionary, new SessionSchedule(startTime, endTime, startDay, endDay), logFactory, new DefaultMessageFactory(), heartbeatInterval); if (settings.isSetting(sessionID, Session.SETTING_CHECK_LATENCY)) { session.setCheckLatency(settings.getBool(sessionID, Session.SETTING_CHECK_LATENCY)); } if (settings.isSetting(sessionID, Session.SETTING_MAX_LATENCY)) { session.setMaxLatency((int) settings.getLong(sessionID, Session.SETTING_MAX_LATENCY)); } if (settings.isSetting(sessionID, Session.SETTING_RESET_ON_LOGOUT)) { session.setResetOnLogout(settings.getBool(sessionID, Session.SETTING_RESET_ON_LOGOUT)); } if (settings.isSetting(sessionID, Session.SETTING_RESET_ON_DISCONNECT)) { session.setResetOnDisconnect(settings.getBool(sessionID, Session.SETTING_RESET_ON_DISCONNECT)); } if (settings.isSetting(sessionID, Session.SETTING_MILLISECONDS_IN_TIMESTAMP)) { session.setMillisecondsInTimestamp(settings.getBool(sessionID, Session.SETTING_MILLISECONDS_IN_TIMESTAMP)); } return session; } catch (ConfigError e) { throw e; } catch (FieldConvertError e) { throw new ConfigError(e.getMessage()); } } | 6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/fb38639f1c28e67fdd318a73e249dfbda065b8a7/SessionFactory.java/clean/src/quickfix/SessionFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3877,
752,
12,
2157,
734,
13737,
16,
3877,
2628,
1947,
13,
1216,
1903,
668,
288,
3639,
775,
288,
5411,
514,
1459,
559,
31,
5411,
309,
261,
4272,
18,
291,
5568,
12,
17255,
16,
3877,
1733,
18,
1090,
12239,
67,
15461,
67,
2399,
3719,
288,
7734,
1459,
559,
273,
1947,
18,
588,
780,
12,
17255,
16,
13491,
3877,
1733,
18,
1090,
12239,
67,
15461,
67,
2399,
1769,
5411,
289,
469,
288,
7734,
1459,
559,
273,
12584,
45,
3575,
67,
15461,
67,
2399,
31,
5411,
289,
5411,
309,
16051,
4071,
559,
18,
14963,
12,
21417,
916,
67,
15461,
67,
2399,
13,
10792,
597,
401,
4071,
559,
18,
14963,
12,
12919,
45,
3575,
67,
15461,
67,
2399,
3719,
288,
7734,
604,
394,
1903,
668,
2932,
1941,
4050,
559,
8863,
5411,
289,
5411,
309,
261,
4071,
559,
18,
14963,
12,
21417,
916,
67,
15461,
67,
2399,
13,
10792,
597,
1947,
18,
291,
5568,
12,
17255,
16,
3877,
2628,
18,
7042,
67,
8729,
10591,
3719,
288,
7734,
604,
394,
1903,
668,
2932,
2157,
16185,
2780,
506,
1399,
598,
2791,
280,
1199,
1769,
5411,
289,
5411,
1250,
999,
751,
10905,
273,
638,
31,
5411,
309,
261,
4272,
18,
291,
5568,
12,
17255,
16,
3877,
18,
1090,
12239,
67,
8001,
67,
4883,
67,
2565,
3106,
6043,
3719,
288,
7734,
999,
751,
10905,
273,
1947,
18,
588,
7464,
12,
17255,
16,
3877,
18,
1090,
12239,
67,
8001,
67,
4883,
67,
2565,
3106,
6043,
1769,
5411,
289,
5411,
1910,
10905,
501,
10905,
273,
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,
1071,
3877,
752,
12,
2157,
734,
13737,
16,
3877,
2628,
1947,
13,
1216,
1903,
668,
288,
3639,
775,
288,
5411,
514,
1459,
559,
31,
5411,
309,
261,
4272,
18,
291,
5568,
12,
17255,
16,
3877,
1733,
18,
1090,
12239,
67,
15461,
67,
2399,
3719,
288,
7734,
1459,
559,
273,
1947,
18,
588,
780,
12,
17255,
16,
13491,
3877,
1733,
18,
1090,
12239,
67,
15461,
67,
2399,
1769,
5411,
289,
469,
288,
7734,
1459,
559,
273,
12584,
45,
3575,
67,
15461,
67,
2399,
31,
5411,
289,
5411,
309,
16051,
4071,
559,
18,
14963,
12,
21417,
916,
67,
15461,
67,
2399,
13,
10792,
597,
401,
4071,
559,
18,
14963,
12,
12919,
45,
3575,
67,
15461,
67,
2399,
3719,
288,
7734,
2
] |
public static void initialize () throws Exception | public static void initialize(String verifiedBinDirAbsolutePath) throws Exception | public static void initialize () throws Exception { if (!initialized) { instance = new BrowserControlMozillaShim(); // PENDING(mark): Try loading the native library in your own implemntation specfic canvas // class (ie. Win32BrowserControlCanvas or MotifBrowserControlCanvas. // The Unix port needs this. If this is a problem, let me know ASAP. // - Mark /* try { System.loadLibrary("webclient"); } catch (java.lang.UnsatisfiedLinkError e) { throw new Exception("Unable to open native webclient library"); } */ instance.nativeInitialize(); initialized = true; }} | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/a8e9d5219a8efee08ea2ac19910d03dcb8870b8f/BrowserControlMozillaShim.java/buggy/java/webclient/classes/org/mozilla/webclient/BrowserControlMozillaShim.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
918,
4046,
12,
780,
13808,
9913,
1621,
10368,
743,
13,
1216,
1185,
288,
202,
430,
16051,
13227,
13,
288,
202,
202,
1336,
273,
394,
15408,
3367,
49,
11142,
10745,
1555,
381,
5621,
3639,
368,
28454,
12,
3355,
4672,
6161,
7153,
326,
6448,
5313,
316,
3433,
4953,
1646,
3269,
496,
367,
857,
74,
335,
5953,
3639,
368,
667,
261,
1385,
18,
21628,
1578,
9132,
3367,
12971,
578,
490,
352,
430,
9132,
3367,
12971,
18,
3639,
368,
1021,
9480,
1756,
4260,
333,
18,
971,
333,
353,
279,
6199,
16,
2231,
1791,
5055,
5355,
2203,
18,
3639,
368,
300,
6622,
202,
202,
20308,
202,
202,
698,
288,
1082,
202,
3163,
18,
945,
9313,
2932,
4875,
2625,
8863,
202,
202,
97,
202,
202,
14683,
261,
6290,
18,
4936,
18,
984,
12973,
21501,
2098,
668,
425,
13,
288,
1082,
202,
12849,
394,
1185,
2932,
3370,
358,
1696,
6448,
3311,
2625,
5313,
8863,
202,
202,
97,
202,
202,
5549,
202,
202,
1336,
18,
13635,
7520,
5621,
202,
202,
13227,
273,
638,
31,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
760,
918,
4046,
12,
780,
13808,
9913,
1621,
10368,
743,
13,
1216,
1185,
288,
202,
430,
16051,
13227,
13,
288,
202,
202,
1336,
273,
394,
15408,
3367,
49,
11142,
10745,
1555,
381,
5621,
3639,
368,
28454,
12,
3355,
4672,
6161,
7153,
326,
6448,
5313,
316,
3433,
4953,
1646,
3269,
496,
367,
857,
74,
335,
5953,
3639,
368,
667,
261,
1385,
18,
21628,
1578,
9132,
3367,
12971,
578,
490,
352,
430,
9132,
3367,
12971,
18,
3639,
368,
1021,
9480,
1756,
4260,
333,
18,
971,
333,
353,
279,
6199,
16,
2231,
1791,
5055,
5355,
2203,
18,
3639,
368,
300,
6622,
202,
202,
20308,
202,
202,
698,
288,
1082,
202,
3163,
18,
945,
9313,
2932,
4875,
2625,
8863,
202,
202,
97,
2
] |
this.posteriorLimit = posteriorLimit; System.out.println("Reading trees..."); | this.posteriorLimit = posteriorLimit; | public TreeAnnotator(int burnin, int heightsOption, double posteriorLimit, int targetOption, String targetTreeFileName, String inputFileName, String outputFileName) throws IOException { this.posteriorLimit = posteriorLimit; System.out.println("Reading trees..."); CladeSystem cladeSystem = new CladeSystem(); cladeSystem.setAttributeNames(attributeNames); TreeImporter importer = new NexusImporter(new FileReader(inputFileName)); try { while (importer.hasTree()) { Tree tree = importer.importNextTree(); if (totalTrees >= burnin) { cladeSystem.add(tree); totalTreesUsed += 1; } totalTrees += 1; } } catch (Importer.ImportException e) { System.err.println("Error Parsing Input Tree: " + e.getMessage()); return; } System.out.println("Total trees read: " + totalTrees); if (burnin > 0) { System.out.println("Ignoring first" + burnin + " trees."); } MutableTree targetTree = null; if (targetOption == USER_TARGET_TREE) { if (targetTreeFileName != null) { System.out.println("Reading user specified target tree, " + targetTreeFileName); importer = new NexusImporter(new FileReader(targetTreeFileName)); try { targetTree = new FlexibleTree(importer.importNextTree()); } catch (Importer.ImportException e) { System.err.println("Error Parsing Target Tree: " + e.getMessage()); return; } } else { System.err.println("No user target tree specified."); return; } } else { System.out.println("Finding maximum clade credibility tree..."); targetTree = new FlexibleTree(summarizeTrees( burnin, cladeSystem, inputFileName)); } System.out.println("Annotating target tree..."); cladeSystem.annotateTree(targetTree, targetTree.getRoot(), null, heightsOption); System.out.println("Writing annotated tree...."); if (outputFileName != null) { NexusExporter exporter = new NexusExporter(new PrintStream(new FileOutputStream(outputFileName))); exporter.exportTree(targetTree); } else { NexusExporter exporter = new NexusExporter(System.out); exporter.exportTree(targetTree); } } | 49053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49053/5fe7bce159b1f86b58cfbf34a296c91d93ca32f9/TreeAnnotator.java/buggy/trunk/src/dr/app/tools/TreeAnnotator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4902,
11280,
639,
12,
474,
18305,
267,
16,
509,
24779,
1895,
16,
1645,
22089,
3039,
16,
509,
1018,
1895,
16,
514,
1018,
2471,
4771,
16,
514,
810,
4771,
16,
514,
876,
4771,
13,
1216,
1860,
288,
202,
202,
2211,
18,
2767,
17818,
3039,
273,
22089,
3039,
31,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
15714,
11491,
7070,
1769,
202,
202,
2009,
2486,
3163,
927,
2486,
3163,
273,
394,
3905,
2486,
3163,
5621,
202,
202,
830,
2486,
3163,
18,
542,
26080,
12,
4589,
1557,
1769,
202,
202,
2471,
21927,
15198,
273,
394,
423,
21029,
21927,
12,
2704,
23010,
12,
2630,
4771,
10019,
202,
202,
698,
288,
1082,
202,
17523,
261,
381,
7988,
18,
5332,
2471,
10756,
288,
9506,
202,
2471,
2151,
273,
15198,
18,
5666,
2134,
2471,
5621,
9506,
202,
430,
261,
4963,
26590,
1545,
18305,
267,
13,
288,
6862,
202,
830,
2486,
3163,
18,
1289,
12,
3413,
1769,
6862,
202,
4963,
26590,
6668,
1011,
404,
31,
9506,
202,
97,
9506,
202,
4963,
26590,
1011,
404,
31,
1082,
202,
97,
202,
202,
97,
1044,
261,
21927,
18,
5010,
503,
425,
13,
288,
1082,
202,
3163,
18,
370,
18,
8222,
2932,
668,
19761,
2741,
4902,
30,
315,
397,
425,
18,
24906,
10663,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
3163,
18,
659,
18,
8222,
2932,
5269,
11491,
855,
30,
315,
397,
2078,
26590,
1769,
202,
202,
430,
261,
70,
321,
267,
405,
374,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
2932,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4902,
11280,
639,
12,
474,
18305,
267,
16,
509,
24779,
1895,
16,
1645,
22089,
3039,
16,
509,
1018,
1895,
16,
514,
1018,
2471,
4771,
16,
514,
810,
4771,
16,
514,
876,
4771,
13,
1216,
1860,
288,
202,
202,
2211,
18,
2767,
17818,
3039,
273,
22089,
3039,
31,
9506,
202,
3163,
18,
659,
18,
8222,
2932,
15714,
11491,
7070,
1769,
202,
202,
2009,
2486,
3163,
927,
2486,
3163,
273,
394,
3905,
2486,
3163,
5621,
202,
202,
830,
2486,
3163,
18,
542,
26080,
12,
4589,
1557,
1769,
202,
202,
2471,
21927,
15198,
273,
394,
423,
21029,
21927,
12,
2704,
23010,
12,
2630,
4771,
10019,
202,
202,
698,
288,
1082,
202,
17523,
261,
381,
7988,
18,
5332,
2471,
10756,
2
] |
stub.fireChange(); | observable.fireChange(); | public void testChangeListener() throws Exception { assertFalse(stub.hasListeners()); ChangeListener listener1 = new ChangeListener(); assertFalse(stub.firstListenerAdded); stub.addChangeListener(listener1); assertTrue(stub.firstListenerAdded); stub.firstListenerAdded = false; assertTrue(stub.hasListeners()); assertEquals(0, listener1.count); stub.fireChange(); assertEquals(1, listener1.count); assertSame(stub, listener1.source); //Add a second listener as the 1 vs. 2 listener code is different. ChangeListener listener2 = new ChangeListener(); stub.addChangeListener(listener2); assertEquals(0, listener2.count); stub.fireChange(); assertEquals(2, listener1.count); assertEquals(1, listener2.count); //Add a third listener as the 2 vs. 3 or greater code is different. ChangeListener listener3 = new ChangeListener(); stub.addChangeListener(listener3); assertEquals(0, listener3.count); stub.fireChange(); assertEquals(3, listener1.count); assertEquals(2, listener2.count); assertEquals(1, listener3.count); assertFalse(stub.lastListenerRemoved); stub.removeChangeListener(listener1); stub.removeChangeListener(listener2); stub.removeChangeListener(listener3); assertTrue(stub.lastListenerRemoved); assertFalse(stub.hasListeners()); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c8f2cc5874f2e6247a2cbb9878a80029b7203e0a/AbstractObservableTest.java/clean/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/internal/databinding/provisional/observable/AbstractObservableTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
15744,
1435,
1216,
1185,
288,
202,
202,
11231,
8381,
12,
12847,
18,
5332,
5583,
10663,
9506,
202,
15744,
2991,
21,
273,
394,
7576,
2223,
5621,
9506,
202,
11231,
8381,
12,
12847,
18,
3645,
2223,
8602,
1769,
202,
202,
12847,
18,
1289,
15744,
12,
12757,
21,
1769,
202,
202,
11231,
5510,
12,
12847,
18,
3645,
2223,
8602,
1769,
202,
202,
12847,
18,
3645,
2223,
8602,
273,
629,
31,
9506,
202,
11231,
5510,
12,
12847,
18,
5332,
5583,
10663,
202,
202,
11231,
8867,
12,
20,
16,
2991,
21,
18,
1883,
1769,
9506,
202,
12847,
18,
12179,
3043,
5621,
9506,
202,
11231,
8867,
12,
21,
16,
2991,
21,
18,
1883,
1769,
202,
202,
11231,
8650,
12,
12847,
16,
2991,
21,
18,
3168,
1769,
9506,
202,
759,
986,
279,
2205,
2991,
487,
326,
404,
6195,
18,
576,
2991,
981,
353,
3775,
18,
202,
202,
15744,
2991,
22,
273,
394,
7576,
2223,
5621,
202,
202,
12847,
18,
1289,
15744,
12,
12757,
22,
1769,
202,
202,
11231,
8867,
12,
20,
16,
2991,
22,
18,
1883,
1769,
9506,
202,
12847,
18,
12179,
3043,
5621,
202,
202,
11231,
8867,
12,
22,
16,
2991,
21,
18,
1883,
1769,
202,
202,
11231,
8867,
12,
21,
16,
2991,
22,
18,
1883,
1769,
9506,
202,
759,
986,
279,
12126,
2991,
487,
326,
576,
6195,
18,
890,
578,
6802,
981,
353,
3775,
18,
202,
202,
15744,
2991,
23,
273,
394,
7576,
2223,
5621,
202,
202,
12847,
18,
1289,
15744,
12,
12757,
23,
1769,
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,
918,
1842,
15744,
1435,
1216,
1185,
288,
202,
202,
11231,
8381,
12,
12847,
18,
5332,
5583,
10663,
9506,
202,
15744,
2991,
21,
273,
394,
7576,
2223,
5621,
9506,
202,
11231,
8381,
12,
12847,
18,
3645,
2223,
8602,
1769,
202,
202,
12847,
18,
1289,
15744,
12,
12757,
21,
1769,
202,
202,
11231,
5510,
12,
12847,
18,
3645,
2223,
8602,
1769,
202,
202,
12847,
18,
3645,
2223,
8602,
273,
629,
31,
9506,
202,
11231,
5510,
12,
12847,
18,
5332,
5583,
10663,
202,
202,
11231,
8867,
12,
20,
16,
2991,
21,
18,
1883,
1769,
9506,
202,
12847,
18,
12179,
3043,
5621,
9506,
202,
11231,
8867,
12,
21,
16,
2991,
21,
18,
1883,
1769,
202,
202,
11231,
8650,
12,
12847,
2
] |
(IS_ARG() && space_seen && !ISSPACE(c))) { | (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); 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 = true; 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.setCommandStart(true); 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 && !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)) { 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.getLexState() == LexState.EXPR_ENDARG) { 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.m_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 && !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 && !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 && !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)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ph.getLexState() == LexState.EXPR_ENDARG || 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) { 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.setCommandStart(true); 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; } // ph.setCommandStart(true); if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (space_seen) { if (ph.getLexState() == LexState.EXPR_CMDARG) { c = Token.tLPAREN_ARG; } else if (ph.getLexState() == LexState.EXPR_ARG) { ph.rb_warning(tok() + " (...) interpreted as method call"); c = Token.tLPAREN_ARG; } } 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) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{': if (!IS_ARG()) { if (space_seen && ph.getLexState() == LexState.EXPR_ENDARG) { c = Token.tLBRACE_ARG; } if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG) { c = Token.tLBRACE; } } ph.setLexState(LexState.EXPR_BEG); return c; case '\\': c = nextc(); if (c == '\n') { space_seen = true; 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 && !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.local_cnt(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 = ruby.intern(tok()); return Token.tGVAR; case '-': tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = 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); /* * if (ismbchar(c)) { * int i, len = mbclen(c)-1; * for (i = 0; i < len; i++) { * c = nextc(); * 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 = ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P() && state != LexState.EXPR_CMDARG) { 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.getLexState() == LexState.EXPR_CMDARG) { if (cmd_state) { ph.setLexState(LexState.EXPR_CMDARG); } else { ph.setLexState(LexState.EXPR_ARG); } } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = /* last_id = */ ruby.intern(tok()); //XXX really overwrite last_id? return result; } } | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/75e51682c6dfb1ff67ffb81cea2dfd23c3e3a9f4/DefaultRubyParser.java/buggy/org/jruby/parser/DefaultRubyParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
1250,
3476,
67,
15156,
273,
629,
31,
3639,
1250,
1797,
67,
2019,
31,
3639,
5323,
2121,
5323,
31,
3639,
1797,
67,
2019,
273,
1844,
18,
291,
2189,
1685,
5621,
3639,
1844,
18,
542,
2189,
1685,
12,
5743,
1769,
3639,
3300,
294,
3639,
364,
261,
31,
274,
262,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
4278,
368,
423,
1506,
7734,
648,
2337,
26565,
4278,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
4278,
368,
3602,
62,
7734,
648,
300,
21,
30,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
7734,
368,
9578,
7292,
7734,
648,
296,
4290,
7734,
648,
2337,
88,
4278,
7734,
648,
2337,
74,
4278,
7734,
648,
2337,
86,
4278,
7734,
648,
2337,
1611,
23,
4278,
368,
2337,
90,
11,
10792,
3476,
67,
15156,
273,
638,
31,
10792,
1324,
3300,
31,
7734,
648,
2946,
4278,
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,
4278,
10792,
1620,
261,
844,
18,
588,
14756,
1119,
10756,
288,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
5948,
43,
30,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
42,
1985,
30,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
17591,
30,
18701,
1324,
3300,
31,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
1250,
3476,
67,
15156,
273,
629,
31,
3639,
1250,
1797,
67,
2019,
31,
3639,
5323,
2121,
5323,
31,
3639,
1797,
67,
2019,
273,
1844,
18,
291,
2189,
1685,
5621,
3639,
1844,
18,
542,
2189,
1685,
12,
5743,
1769,
3639,
3300,
294,
3639,
364,
261,
31,
274,
262,
288,
5411,
1620,
261,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
4278,
368,
423,
1506,
7734,
648,
2337,
26565,
4278,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
4278,
368,
3602,
62,
7734,
648,
300,
21,
30,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
7734,
368,
9578,
7292,
7734,
648,
296,
4290,
7734,
648,
2
] |
case Event.GET_MSGS: List lower_seqnos=naker.getMessagesInRange((long[][])evt.getArg()); passUp(new Event(Event.GET_MSGS_OK, lower_seqnos)); return; | case Event.GET_MSG_DIGEST: long[] highest_seqnos=(long[])evt.getArg(); Digest digest=naker.computeMessageDigest(highest_seqnos); passUp(new Event(Event.GET_MSG_DIGEST_OK, digest)); return; | public void down(Event evt) { Message msg; if(Trace.debug) Trace.debug("NAKACK.down()", "queued_msgs has " + queued_msgs.size() + " messages " + "\n\nnaker:\n" + naker.dumpContents() + "\n\nout_of_bander: " + out_of_bander.dumpContents() + "\n-----------------------------\n"); switch(evt.getType()) { case Event.MSG: msg=(Message)evt.getArg(); if(msg.getDest() != null && !msg.getDest().isMulticastAddress()) break; // unicast address: not null and not mcast, pass down unchanged if(send_next_msg_out_of_band) { out_of_bander.send(msg); send_next_msg_out_of_band=false; } else if(send_next_msg_acking) { naker.setAcks(true); // require acks when sending a msg naker.send(msg); naker.setAcks(false); // don't require acks when sending a msg send_next_msg_acking=false; } else naker.send(msg); return; // don't pass down the stack, naker does this for us ! case Event.GET_MSG_DIGEST: long[] highest_seqnos=(long[])evt.getArg(); Digest digest=naker.computeMessageDigest(highest_seqnos); passUp(new Event(Event.GET_MSG_DIGEST_OK, digest)); return; case Event.GET_MSGS: List lower_seqnos=naker.getMessagesInRange((long[][])evt.getArg()); passUp(new Event(Event.GET_MSGS_OK, lower_seqnos)); return; case Event.REBROADCAST_MSGS: rebroadcastMsgs((Vector) evt.getArg()); break; case Event.TMP_VIEW: Vector mbrs=((View)evt.getArg()).getMembers(); members=mbrs != null ? (Vector)mbrs.clone(): new Vector(); break; case Event.VIEW_CHANGE: synchronized (this) { view=((View) ((View) evt.getArg()).clone()); vid=view.getVid(); members=(Vector)view.getMembers().clone(); naker.reset(); out_of_bander.reset(); is_server=true; // check vids from now on // deliver messages received previously for this view if(queued_msgs.size() > 0) deliverQueuedMessages(); } break; case Event.BECOME_SERVER: is_server=true; break; case Event.SWITCH_NAK: naker.setAcks(false); // don't require acks when sending a msg return; // don't pass down any further case Event.SWITCH_NAK_ACK: send_next_msg_acking=true; return; // don't pass down any further case Event.SWITCH_OUT_OF_BAND: send_next_msg_out_of_band=true; return; case Event.GET_MSGS_RECEIVED: // return the highest seqnos delivered (=consumed by the application) long[] h=naker.getHighestSeqnosDelivered(); passUp(new Event(Event.GET_MSGS_RECEIVED_OK, h)); break; } passDown(evt); } | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/3a7a5d6ef9a8f574da3e45b696950d0b4bb12acc/NAKACK.java/clean/src/org/jgroups/protocols/NAKACK.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2588,
12,
1133,
6324,
13,
288,
202,
1079,
1234,
31,
202,
430,
12,
3448,
18,
4148,
13,
202,
565,
2677,
18,
4148,
2932,
11277,
47,
3649,
18,
2378,
1435,
3113,
315,
19499,
67,
27439,
711,
315,
397,
12234,
67,
27439,
18,
1467,
1435,
397,
315,
2743,
315,
397,
1082,
202,
12691,
82,
64,
9074,
6388,
5581,
82,
6,
397,
290,
6388,
18,
8481,
6323,
1435,
397,
1548,
82,
64,
82,
659,
67,
792,
67,
12752,
264,
30,
315,
397,
1082,
202,
659,
67,
792,
67,
12752,
264,
18,
8481,
6323,
1435,
397,
1548,
82,
1271,
7620,
6943,
82,
8863,
202,
202,
9610,
12,
73,
11734,
18,
588,
559,
10756,
288,
202,
3593,
2587,
18,
11210,
30,
202,
565,
1234,
28657,
1079,
13,
73,
11734,
18,
588,
4117,
5621,
202,
565,
309,
12,
3576,
18,
588,
9378,
1435,
480,
446,
597,
401,
3576,
18,
588,
9378,
7675,
291,
5049,
12544,
1887,
10756,
202,
202,
8820,
31,
368,
640,
12544,
1758,
30,
486,
446,
471,
486,
312,
4155,
16,
1342,
2588,
14827,
202,
565,
309,
12,
4661,
67,
4285,
67,
3576,
67,
659,
67,
792,
67,
12752,
13,
288,
202,
202,
659,
67,
792,
67,
12752,
264,
18,
4661,
12,
3576,
1769,
202,
202,
4661,
67,
4285,
67,
3576,
67,
659,
67,
792,
67,
12752,
33,
5743,
31,
202,
565,
289,
202,
565,
469,
309,
12,
4661,
67,
4285,
67,
3576,
67,
484,
310,
13,
288,
202,
202,
82,
6388,
18,
542,
11931,
87,
12,
3767,
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,
2588,
12,
1133,
6324,
13,
288,
202,
1079,
1234,
31,
202,
430,
12,
3448,
18,
4148,
13,
202,
565,
2677,
18,
4148,
2932,
11277,
47,
3649,
18,
2378,
1435,
3113,
315,
19499,
67,
27439,
711,
315,
397,
12234,
67,
27439,
18,
1467,
1435,
397,
315,
2743,
315,
397,
1082,
202,
12691,
82,
64,
9074,
6388,
5581,
82,
6,
397,
290,
6388,
18,
8481,
6323,
1435,
397,
1548,
82,
64,
82,
659,
67,
792,
67,
12752,
264,
30,
315,
397,
1082,
202,
659,
67,
792,
67,
12752,
264,
18,
8481,
6323,
1435,
397,
1548,
82,
1271,
7620,
6943,
82,
8863,
202,
202,
9610,
12,
73,
11734,
18,
588,
559,
10756,
288,
202,
3593,
2587,
18,
11210,
30,
2
] |
CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), sym.toId()); | CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), name); | public RubyBoolean respond_to(RubySymbol sym) { //Look in cache CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), sym.toId()); if (ent != null) { //Check to see if it's private and we're not including privates(return false) //otherwise return true return ruby.getTrue(); } //Get from instance IMethod method = getRubyClass().searchMethod(sym.toId()); if (method != null) { return ruby.getTrue(); } return ruby.getFalse(); } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/4e4c0a90262b62b83d3fc5717371745bcc928c2b/RubyObject.java/buggy/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
6846,
67,
869,
12,
54,
10340,
5335,
5382,
13,
288,
3639,
368,
9794,
316,
1247,
3639,
27657,
3281,
273,
4170,
10340,
7675,
588,
1305,
1649,
7675,
588,
1622,
12,
588,
54,
10340,
797,
9334,
508,
1769,
3639,
309,
261,
319,
480,
446,
13,
288,
5411,
368,
1564,
358,
2621,
309,
518,
1807,
3238,
471,
732,
4565,
486,
6508,
6015,
815,
12,
2463,
629,
13,
5411,
368,
29778,
327,
638,
5411,
327,
22155,
18,
588,
5510,
5621,
3639,
289,
3639,
368,
967,
628,
791,
3639,
467,
1305,
707,
273,
4170,
10340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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
5507,
6846,
67,
869,
12,
54,
10340,
5335,
5382,
13,
288,
3639,
368,
9794,
316,
1247,
3639,
27657,
3281,
273,
4170,
10340,
7675,
588,
1305,
1649,
7675,
588,
1622,
12,
588,
54,
10340,
797,
9334,
508,
1769,
3639,
309,
261,
319,
480,
446,
13,
288,
5411,
368,
1564,
358,
2621,
309,
518,
1807,
3238,
471,
732,
4565,
486,
6508,
6015,
815,
12,
2463,
629,
13,
5411,
368,
29778,
327,
638,
5411,
327,
22155,
18,
588,
5510,
5621,
3639,
289,
3639,
368,
967,
628,
791,
3639,
467,
1305,
707,
273,
4170,
10340,
797,
7675,
3072,
1305,
12,
8117,
18,
869,
548,
10663,
3639,
309,
261,
2039,
480,
446,
13,
288,
5411,
327,
22155,
18,
588,
5510,
5621,
2
] |
public boolean _moveXml ( Cursor to ) { to.checkInsertionValidity( _cur ); | public boolean _moveXml(Cursor to) { to.checkInsertionValidity(_cur); | public boolean _moveXml ( Cursor to ) { to.checkInsertionValidity( _cur ); // Check for a no-op if (_cur.isText()) { int cchRight = _cur.cchRight(); assert cchRight > 0; if (_cur.inChars( to._cur, cchRight, true )) return false; _cur.moveChars( to._cur, cchRight ); to._cur.nextChars( cchRight ); return true; } if (_cur.contains( to._cur )) return false; // Make a cur which will float to the right of the insertion Cur c = to.tempCur(); _cur.moveNode( to._cur ); to._cur.moveToCur( c ); c.release(); return true; } | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/8883179236b87db476131da6fa70580fac43da83/Cursor.java/clean/src/newstore2/org/apache/xmlbeans/impl/newstore2/Cursor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
389,
8501,
4432,
261,
13949,
358,
262,
565,
288,
3639,
358,
18,
1893,
29739,
19678,
12,
389,
1397,
11272,
3639,
368,
2073,
364,
279,
1158,
17,
556,
7734,
309,
261,
67,
1397,
18,
291,
1528,
10756,
3639,
288,
5411,
509,
276,
343,
4726,
273,
389,
1397,
18,
71,
343,
4726,
5621,
5411,
1815,
276,
343,
4726,
405,
374,
31,
13491,
309,
261,
67,
1397,
18,
267,
7803,
12,
358,
6315,
1397,
16,
276,
343,
4726,
16,
638,
8623,
7734,
327,
629,
31,
5411,
389,
1397,
18,
8501,
7803,
12,
358,
6315,
1397,
16,
276,
343,
4726,
11272,
5411,
358,
6315,
1397,
18,
4285,
7803,
12,
276,
343,
4726,
11272,
5411,
327,
638,
31,
3639,
289,
3639,
309,
261,
67,
1397,
18,
12298,
12,
358,
6315,
1397,
8623,
5411,
327,
629,
31,
3639,
368,
4344,
279,
662,
1492,
903,
1431,
358,
326,
2145,
434,
326,
12626,
7734,
7251,
276,
273,
358,
18,
5814,
2408,
5621,
3639,
389,
1397,
18,
8501,
907,
12,
358,
6315,
1397,
11272,
3639,
358,
6315,
1397,
18,
8501,
774,
2408,
12,
276,
11272,
3639,
276,
18,
9340,
5621,
3639,
327,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
389,
8501,
4432,
261,
13949,
358,
262,
565,
288,
3639,
358,
18,
1893,
29739,
19678,
12,
389,
1397,
11272,
3639,
368,
2073,
364,
279,
1158,
17,
556,
7734,
309,
261,
67,
1397,
18,
291,
1528,
10756,
3639,
288,
5411,
509,
276,
343,
4726,
273,
389,
1397,
18,
71,
343,
4726,
5621,
5411,
1815,
276,
343,
4726,
405,
374,
31,
13491,
309,
261,
67,
1397,
18,
267,
7803,
12,
358,
6315,
1397,
16,
276,
343,
4726,
16,
638,
8623,
7734,
327,
629,
31,
5411,
389,
1397,
18,
8501,
7803,
12,
358,
6315,
1397,
16,
276,
343,
4726,
11272,
5411,
358,
6315,
1397,
18,
4285,
7803,
12,
276,
343,
4726,
11272,
5411,
327,
638,
31,
3639,
289,
3639,
2
] |
bo.setLeft( dX + dLeftInset + 1 ); } bo.setTop( dY + 1 + ( dFullHeight - dItemHeight ) / 2 ); bo.setWidth( 3 * dItemHeight / 2 ); bo.setHeight( dItemHeight - 2 ); | bo.setLeft( ( dX + dLeftInset + 1 ) / dScale ); } bo.setTop( ( dY + 1 + ( dFullHeight - dItemHeight ) / 2 ) / dScale ); bo.setWidth( ( 3 * dItemHeight / 2 ) / dScale ); bo.setHeight( ( dItemHeight - 2 ) / dScale ); | protected final void renderLegendItem( IPrimitiveRenderer ipr, Legend lg, Label la, Label valueLa, double dX, double dY, double dW, double dItemHeight, double dFullHeight, double dExtraHeight, double dColumnWidth, double dLeftInset, double dHorizontalSpacing, Series se, Fill fPaletteEntry, LegendItemRenderingHints lirh, int dataIndex ) throws ChartException { LegendEntryRenderingHints lerh = new LegendEntryRenderingHints( la, valueLa, dataIndex, fPaletteEntry ); ScriptHandler sh = getRunTimeContext( ).getScriptHandler( ); // TODO replace with LegendEntryRenderingHints ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_LEGEND_ENTRY, la, getRunTimeContext( ).getScriptContext( ) ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_LEGEND_ENTRY, la ); final Bounds bo = lirh.getLegendGraphicBounds( ); if ( isRightToLeft( ) ) { bo.setLeft( dX + dColumnWidth - dLeftInset - 1 - 3 * dItemHeight / 2 ); } else { bo.setLeft( dX + dLeftInset + 1 ); } bo.setTop( dY + 1 + ( dFullHeight - dItemHeight ) / 2 ); bo.setWidth( 3 * dItemHeight / 2 ); bo.setHeight( dItemHeight - 2 ); ScriptHandler.callFunction( sh, ScriptHandler.BEFORE_DRAW_LEGEND_ITEM, lerh, bo, getRunTimeContext( ).getScriptContext( ) ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.BEFORE_DRAW_LEGEND_ITEM, lerh ); final BaseRenderer br = lirh.getRenderer( ); br.renderLegendGraphic( ipr, lg, fPaletteEntry, bo ); final TextRenderEvent tre = (TextRenderEvent) ( (EventObjectCache) ir ).getEventObject( StructureSource.createLegend( lg ), TextRenderEvent.class ); double dLaAngle = la.getCaption( ).getFont( ).getRotation( ); if ( isRightToLeft( ) ) { dLaAngle = -dLaAngle; } double dDeltaHeight = 0; if ( dLaAngle > 0 && dLaAngle < 90 ) { dDeltaHeight = ( bo.getHeight( ) + dFullHeight - dItemHeight ) / 2; } else if ( dLaAngle < 0 && dLaAngle > -90 ) { dDeltaHeight = ( bo.getHeight( ) - dFullHeight + dItemHeight ) / 2; } else if ( dLaAngle == 0 || dLaAngle == 90 || dLaAngle == -90 ) { dDeltaHeight = bo.getHeight( ) / 2; } if ( isRightToLeft( ) ) { tre.setLocation( LocationImpl.create( dX + dColumnWidth - dLeftInset - 3 * dItemHeight / 2 - dHorizontalSpacing, bo.getTop( ) + dDeltaHeight ) ); tre.setTextPosition( TextRenderEvent.LEFT ); } else { tre.setLocation( LocationImpl.create( dX + dLeftInset + ( 3 * dItemHeight / 2 ) + dHorizontalSpacing, bo.getTop( ) + dDeltaHeight ) ); tre.setTextPosition( TextRenderEvent.RIGHT ); } if ( la.isVisible( ) ) { tre.setLabel( la ); tre.setAction( TextRenderEvent.RENDER_TEXT_AT_LOCATION ); ipr.drawText( tre ); } if ( valueLa != null ) { Location[] loaBack = new Location[4]; final PolygonRenderEvent pre = (PolygonRenderEvent) ( (EventObjectCache) ir ).getEventObject( StructureSource.createLegend( lg ), PolygonRenderEvent.class ); pre.setBackground( valueLa.getBackground( ) ); pre.setOutline( valueLa.getOutline( ) ); pre.setPoints( loaBack ); final double dValueWidth = dColumnWidth - 2 * dLeftInset; loaBack[0] = LocationImpl.create( dX + dLeftInset + 1, dY + dFullHeight + 1 ); loaBack[1] = LocationImpl.create( dX + dLeftInset + 1, dY + dFullHeight + dExtraHeight ); loaBack[2] = LocationImpl.create( dX + dLeftInset + dValueWidth, dY + dFullHeight + dExtraHeight ); loaBack[3] = LocationImpl.create( dX + dLeftInset + dValueWidth, dY + dFullHeight + 1 ); ipr.fillPolygon( pre ); ipr.drawPolygon( pre ); Label tmpLa = LabelImpl.copyInstance( valueLa ); tmpLa.setOutline( null ); tmpLa.setBackground( null ); TextAlignment ta = TextAlignmentImpl.create( ); ta.setHorizontalAlignment( HorizontalAlignment.CENTER_LITERAL ); ta.setVerticalAlignment( VerticalAlignment.CENTER_LITERAL ); tre.setBlockAlignment( ta ); tre.setBlockBounds( BoundsImpl.create( dX + dLeftInset + 1, dY + dFullHeight + 1, dValueWidth - 2, dExtraHeight - 1 ) ); tre.setLabel( tmpLa ); tre.setAction( TextRenderEvent.RENDER_TEXT_IN_BLOCK ); ipr.drawText( tre ); } if ( isInteractivityEnabled( ) ) { // PROCESS 'SERIES LEVEL' TRIGGERS USING SOURCE='bs' Trigger tg; EList elTriggers = lg.getTriggers( ); Location[] loaHotspot = new Location[4]; // use the complete legend item area as the hotspot loaHotspot[0] = LocationImpl.create( dX + 1, dY + 1 ); loaHotspot[1] = LocationImpl.create( dX + dColumnWidth - 1, dY + 1 ); loaHotspot[2] = LocationImpl.create( dX + dColumnWidth - 1, dY + dFullHeight + dExtraHeight - 1 ); loaHotspot[3] = LocationImpl.create( dX + 1, dY + dFullHeight + dExtraHeight - 1 ); Trigger buildinTg = null; if ( cm.getInteractivity( ) != null ) { boolean customed = false; switch ( cm.getInteractivity( ).getLegendBehavior( ).getValue( ) ) { case LegendBehaviorType.HIGHLIGHT_SERIE : for ( Iterator itr = elTriggers.iterator( ); itr.hasNext( ); ) { tg = (Trigger) itr.next( ); if ( tg.getCondition( ) == TriggerCondition.ONCLICK_LITERAL || tg.getAction( ).getType( ) == ActionType.HIGHLIGHT_LITERAL ) { customed = true; } } if ( !customed ) { buildinTg = TriggerImpl.create( TriggerCondition.ONCLICK_LITERAL, ActionImpl.create( ActionType.HIGHLIGHT_LITERAL, SeriesValueImpl.create( String.valueOf( se.getSeriesIdentifier( ) ) ) ) ); } break; case LegendBehaviorType.TOGGLE_SERIE_VISIBILITY : for ( Iterator itr = elTriggers.iterator( ); itr.hasNext( ); ) { tg = (Trigger) itr.next( ); if ( tg.getCondition( ) == TriggerCondition.ONCLICK_LITERAL || tg.getAction( ).getType( ) == ActionType.TOGGLE_VISIBILITY_LITERAL ) { customed = true; } } if ( !customed ) { buildinTg = TriggerImpl.create( TriggerCondition.ONCLICK_LITERAL, ActionImpl.create( ActionType.TOGGLE_VISIBILITY_LITERAL, SeriesValueImpl.create( String.valueOf( se.getSeriesIdentifier( ) ) ) ) ); } break; case LegendBehaviorType.NONE : break; } } if ( !elTriggers.isEmpty( ) || buildinTg != null ) { final StructureSource source; if ( this.cm.getLegend( ).getItemType( ) == LegendItemType.CATEGORIES_LITERAL ) { final DataPointHints dph = new DataPointHints( la, null, null, null, null, null, null, null, null, dataIndex, null, 0, null ); source = WrappedStructureSource.createSeriesDataPoint( se, dph ); } else { source = StructureSource.createSeries( se ); } final InteractionEvent iev = (InteractionEvent) ( (EventObjectCache) ipr ).getEventObject( source, InteractionEvent.class ); for ( int t = 0; t < elTriggers.size( ); t++ ) { tg = TriggerImpl.copyInstance( (Trigger) elTriggers.get( t ) ); processTrigger( tg, WrappedStructureSource.createLegendEntry( lg, lerh ) ); iev.addTrigger( tg ); } if ( buildinTg != null ) { processTrigger( buildinTg, WrappedStructureSource.createLegendEntry( lg, lerh ) ); iev.addTrigger( buildinTg ); } final PolygonRenderEvent pre = (PolygonRenderEvent) ( (EventObjectCache) ipr ).getEventObject( source, PolygonRenderEvent.class ); pre.setPoints( loaHotspot ); iev.setHotSpot( pre ); ipr.enableInteraction( iev ); } } ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_LEGEND_ITEM, lerh, bo, getRunTimeContext( ).getScriptContext( ) ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_LEGEND_ITEM, lerh ); ScriptHandler.callFunction( sh, ScriptHandler.AFTER_DRAW_LEGEND_ENTRY, la, getRunTimeContext( ).getScriptContext( ) ); getRunTimeContext( ).notifyStructureChange( IStructureDefinitionListener.AFTER_DRAW_LEGEND_ENTRY, la ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/876515bf3ac088d138efb4fbd339e6e7ecefb62f/BaseRenderer.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
918,
1743,
16812,
1180,
12,
467,
9840,
6747,
277,
683,
16,
17167,
409,
15266,
16,
1082,
202,
2224,
7125,
16,
5287,
460,
30745,
16,
1645,
302,
60,
16,
1645,
302,
61,
16,
1645,
302,
59,
16,
1082,
202,
9056,
302,
1180,
2686,
16,
1645,
302,
5080,
2686,
16,
1645,
302,
7800,
2686,
16,
1082,
202,
9056,
302,
1494,
2384,
16,
1645,
302,
3910,
382,
542,
16,
1645,
302,
14457,
18006,
16,
1082,
202,
6485,
695,
16,
14192,
284,
25863,
1622,
16,
17167,
409,
1180,
14261,
13368,
328,
481,
76,
16,
1082,
202,
474,
501,
1016,
262,
1216,
14804,
503,
202,
95,
202,
202,
16812,
1622,
14261,
13368,
328,
264,
76,
273,
394,
17167,
409,
1622,
14261,
13368,
12,
7125,
16,
9506,
202,
1132,
30745,
16,
9506,
202,
892,
1016,
16,
9506,
202,
74,
25863,
1622,
11272,
202,
202,
3651,
1503,
699,
273,
336,
1997,
950,
1042,
12,
262,
18,
588,
3651,
1503,
12,
11272,
202,
202,
759,
2660,
1453,
598,
17167,
409,
1622,
14261,
13368,
202,
202,
3651,
1503,
18,
1991,
2083,
12,
699,
16,
9506,
202,
3651,
1503,
18,
19152,
67,
40,
10821,
67,
19384,
4415,
67,
19083,
16,
9506,
202,
11821,
16,
9506,
202,
588,
1997,
950,
1042,
12,
262,
18,
588,
3651,
1042,
12,
262,
11272,
202,
202,
588,
1997,
950,
1042,
12,
262,
18,
12336,
6999,
3043,
12,
467,
6999,
1852,
2223,
18,
19152,
67,
40,
10821,
67,
19384,
4415,
67,
19083,
16,
9506,
202,
11821,
11272,
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,
1117,
727,
918,
1743,
16812,
1180,
12,
467,
9840,
6747,
277,
683,
16,
17167,
409,
15266,
16,
1082,
202,
2224,
7125,
16,
5287,
460,
30745,
16,
1645,
302,
60,
16,
1645,
302,
61,
16,
1645,
302,
59,
16,
1082,
202,
9056,
302,
1180,
2686,
16,
1645,
302,
5080,
2686,
16,
1645,
302,
7800,
2686,
16,
1082,
202,
9056,
302,
1494,
2384,
16,
1645,
302,
3910,
382,
542,
16,
1645,
302,
14457,
18006,
16,
1082,
202,
6485,
695,
16,
14192,
284,
25863,
1622,
16,
17167,
409,
1180,
14261,
13368,
328,
481,
76,
16,
1082,
202,
474,
501,
1016,
262,
1216,
14804,
503,
202,
95,
202,
202,
16812,
1622,
14261,
13368,
328,
264,
76,
273,
394,
17167,
409,
1622,
2
] |
comp = new JButton(value); | { String value = (String) atts.getAttribute(HTML.Attribute.VALUE); JButton b = new JButton(value); if (model != null) { b.setModel((ButtonModel) model); b.addActionListener(this); } comp = b; maxIsPreferred = true; } | protected Component createComponent() { Component comp = null; Element el = getElement(); Object tag = el.getAttributes().getAttribute(StyleConstants.NameAttribute); if (tag.equals(HTML.Tag.INPUT)) { AttributeSet atts = el.getAttributes(); String type = (String) atts.getAttribute(HTML.Attribute.TYPE); String value = (String) atts.getAttribute(HTML.Attribute.VALUE); if (type.equals("button")) comp = new JButton(value); else if (type.equals("checkbox")) comp = new JCheckBox(value); else if (type.equals("image")) comp = new JButton(value); // FIXME: Find out how to fetch the image. else if (type.equals("password")) comp = new JPasswordField(value); else if (type.equals("radio")) comp = new JRadioButton(value); else if (type.equals("reset")) { if (value == null || value.equals("")) value = RESET; comp = new JButton(value); } else if (type.equals("submit")) { if (value == null || value.equals("")) value = SUBMIT; comp = new JButton(value); } else if (type.equals("text")) comp = new JTextField(value); } // FIXME: Implement the remaining components. return comp; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/a3e083d3100ebabbd539297b5cb2118701b9674e/FormView.java/clean/core/src/classpath/javax/javax/swing/text/html/FormView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
5435,
752,
1841,
1435,
225,
288,
565,
5435,
1161,
273,
446,
31,
565,
3010,
415,
273,
7426,
5621,
565,
1033,
1047,
273,
415,
18,
588,
2498,
7675,
588,
1499,
12,
2885,
2918,
18,
461,
1499,
1769,
565,
309,
261,
2692,
18,
14963,
12,
4870,
18,
1805,
18,
15934,
3719,
1377,
288,
3639,
3601,
694,
15687,
273,
415,
18,
588,
2498,
5621,
3639,
514,
618,
273,
261,
780,
13,
15687,
18,
588,
1499,
12,
4870,
18,
1499,
18,
2399,
1769,
3639,
514,
460,
273,
261,
780,
13,
15687,
18,
588,
1499,
12,
4870,
18,
1499,
18,
4051,
1769,
3639,
309,
261,
723,
18,
14963,
2932,
5391,
6,
3719,
1850,
288,
514,
460,
273,
261,
780,
13,
15687,
18,
588,
1499,
12,
4870,
18,
1499,
18,
4051,
1769,
28804,
324,
273,
394,
28804,
12,
1132,
1769,
309,
261,
2284,
480,
446,
13,
288,
324,
18,
542,
1488,
12443,
3616,
1488,
13,
938,
1769,
324,
18,
1289,
1803,
2223,
12,
2211,
1769,
289,
1161,
273,
324,
31,
943,
2520,
16028,
273,
638,
31,
289,
3639,
469,
309,
261,
723,
18,
14963,
2932,
12017,
6,
3719,
1850,
1161,
273,
394,
804,
19174,
12,
1132,
1769,
3639,
469,
309,
261,
723,
18,
14963,
2932,
2730,
6,
3719,
1850,
288,
514,
460,
273,
261,
780,
13,
15687,
18,
588,
1499,
12,
4870,
18,
1499,
18,
4051,
1769,
28804,
324,
273,
394,
28804,
12,
1132,
1769,
309,
261,
2284,
480,
446,
13,
288,
324,
18,
542,
1488,
12443,
3616,
1488,
13,
938,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
5435,
752,
1841,
1435,
225,
288,
565,
5435,
1161,
273,
446,
31,
565,
3010,
415,
273,
7426,
5621,
565,
1033,
1047,
273,
415,
18,
588,
2498,
7675,
588,
1499,
12,
2885,
2918,
18,
461,
1499,
1769,
565,
309,
261,
2692,
18,
14963,
12,
4870,
18,
1805,
18,
15934,
3719,
1377,
288,
3639,
3601,
694,
15687,
273,
415,
18,
588,
2498,
5621,
3639,
514,
618,
273,
261,
780,
13,
15687,
18,
588,
1499,
12,
4870,
18,
1499,
18,
2399,
1769,
3639,
514,
460,
273,
261,
780,
13,
15687,
18,
588,
1499,
12,
4870,
18,
1499,
18,
4051,
1769,
3639,
309,
261,
723,
18,
14963,
2932,
5391,
6,
3719,
1850,
288,
514,
460,
273,
261,
780,
13,
15687,
18,
2
] |
protected MModelElement getModelElementAt(int index) { MModelElement element = null; java.util.List cache = getCache(); if(cache != null) { element = (MModelElement) cache.get(index); } return element; } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/9663cad98990b6239664b0fcac6e603c62613e48/UMLModelElementCachedListModel.java/buggy/src_new/org/argouml/uml/ui/UMLModelElementCachedListModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
49,
1488,
1046,
588,
1488,
1046,
861,
12,
474,
1615,
15329,
49,
1488,
1046,
2956,
33,
2011,
31,
6290,
18,
1367,
18,
682,
2493,
33,
588,
1649,
5621,
430,
12,
2493,
5,
33,
2011,
15329,
2956,
28657,
49,
1488,
1046,
13,
2493,
18,
588,
12,
1615,
1769,
97,
2463,
2956,
31,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4750,
49,
1488,
1046,
588,
1488,
1046,
861,
12,
474,
1615,
15329,
49,
1488,
1046,
2956,
33,
2011,
31,
6290,
18,
1367,
18,
682,
2493,
33,
588,
1649,
5621,
430,
12,
2493,
5,
33,
2011,
15329,
2956,
28657,
49,
1488,
1046,
13,
2493,
18,
588,
12,
1615,
1769,
97,
2463,
2956,
31,
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
] | ||
public void partOpened(IWorkbenchPart part) { | public void partOpened(IWorkbenchPartReference ref) { | public void partOpened(IWorkbenchPart part) { } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3927ef725ff1f47354c3825af835c364375b4916/EditorList.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1087,
23115,
12,
45,
2421,
22144,
1988,
1087,
13,
288,
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,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} catch (WorkException e) { | } catch (WorkException e) { | public void doStart() throws UMOException { try { getWorkManager().scheduleWork(this, WorkManager.INDEFINITE, null, connector); } catch (WorkException e) { stopped.set(true); throw new InitialisationException(new Message(Messages.FAILED_TO_SCHEDULE_WORK), e, this); } } | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/175cf9e55a7a61f557593e09105f6b206652096c/PollingMessageReceiver.java/buggy/core/src/main/java/org/mule/providers/PollingMessageReceiver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1685,
1435,
1216,
587,
5980,
503,
565,
288,
3639,
775,
288,
5411,
29026,
1318,
7675,
10676,
2421,
12,
2211,
16,
4147,
1318,
18,
706,
12348,
5398,
16,
446,
16,
8703,
1769,
3639,
289,
1044,
261,
2421,
503,
425,
13,
288,
5411,
9627,
18,
542,
12,
3767,
1769,
5411,
604,
394,
10188,
10742,
503,
12,
2704,
2350,
12,
5058,
18,
11965,
67,
4296,
67,
55,
27395,
67,
10566,
3631,
425,
16,
333,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1685,
1435,
1216,
587,
5980,
503,
565,
288,
3639,
775,
288,
5411,
29026,
1318,
7675,
10676,
2421,
12,
2211,
16,
4147,
1318,
18,
706,
12348,
5398,
16,
446,
16,
8703,
1769,
3639,
289,
1044,
261,
2421,
503,
425,
13,
288,
5411,
9627,
18,
542,
12,
3767,
1769,
5411,
604,
394,
10188,
10742,
503,
12,
2704,
2350,
12,
5058,
18,
11965,
67,
4296,
67,
55,
27395,
67,
10566,
3631,
425,
16,
333,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
(opcode == Constants.LDC || opcode == Constants.LDC_W || opcode == Constants.LDC2_W)) | (opcode == Constants.LDC || opcode == Constants.LDC_W || opcode == Constants.LDC2_W)) | private boolean isPEI(InstructionHandle handle) { Instruction ins = handle.getInstruction(); short opcode = ins.getOpcode(); if (!(ins instanceof ExceptionThrower)) return false; // Return instructions can throw exceptions only if the method is synchronized if (ins instanceof ReturnInstruction && !methodGen.isSynchronized()) return false; // We're really not interested in exceptions that could hypothetically be // thrown by static field accesses. if (NO_STATIC_FIELD_EXCEPTIONS && (opcode == Constants.GETSTATIC || opcode == Constants.PUTSTATIC)) return false; // Exceptions from LDC instructions seem a bit far fetched as well. if (NO_LOAD_CONSTANT_EXCEPTIONS && (opcode == Constants.LDC || opcode == Constants.LDC_W || opcode == Constants.LDC2_W)) return false; return true; } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/BetterCFGBuilder2.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/BetterCFGBuilder2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
353,
1423,
45,
12,
11983,
3259,
1640,
13,
288,
202,
202,
11983,
2763,
273,
1640,
18,
588,
11983,
5621,
202,
202,
6620,
11396,
273,
2763,
18,
588,
22808,
5621,
202,
202,
430,
16051,
12,
2679,
1276,
1185,
8282,
264,
3719,
1082,
202,
2463,
629,
31,
202,
202,
759,
2000,
12509,
848,
604,
4798,
1338,
309,
326,
707,
353,
3852,
202,
202,
430,
261,
2679,
1276,
2000,
11983,
597,
401,
2039,
7642,
18,
291,
55,
15666,
10756,
1082,
202,
2463,
629,
31,
202,
202,
759,
1660,
4565,
8654,
486,
20506,
316,
4798,
716,
3377,
28350,
278,
6478,
506,
202,
202,
759,
6718,
635,
760,
652,
2006,
281,
18,
202,
202,
430,
261,
3417,
67,
22741,
67,
6776,
67,
12658,
55,
597,
1082,
202,
12,
556,
710,
422,
5245,
18,
3264,
22741,
747,
11396,
422,
5245,
18,
4762,
22741,
3719,
1082,
202,
2463,
629,
31,
202,
202,
759,
12781,
628,
511,
5528,
12509,
19264,
279,
2831,
10247,
12807,
487,
5492,
18,
202,
202,
430,
261,
3417,
67,
7783,
67,
25878,
67,
12658,
55,
597,
1082,
202,
12,
556,
710,
422,
5245,
18,
48,
5528,
747,
11396,
422,
5245,
18,
48,
5528,
67,
59,
747,
11396,
422,
5245,
18,
48,
5528,
22,
67,
59,
3719,
1082,
202,
2463,
629,
31,
202,
202,
2463,
638,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
353,
1423,
45,
12,
11983,
3259,
1640,
13,
288,
202,
202,
11983,
2763,
273,
1640,
18,
588,
11983,
5621,
202,
202,
6620,
11396,
273,
2763,
18,
588,
22808,
5621,
202,
202,
430,
16051,
12,
2679,
1276,
1185,
8282,
264,
3719,
1082,
202,
2463,
629,
31,
202,
202,
759,
2000,
12509,
848,
604,
4798,
1338,
309,
326,
707,
353,
3852,
202,
202,
430,
261,
2679,
1276,
2000,
11983,
597,
401,
2039,
7642,
18,
291,
55,
15666,
10756,
1082,
202,
2463,
629,
31,
202,
202,
759,
1660,
4565,
8654,
486,
20506,
316,
4798,
716,
3377,
28350,
278,
6478,
506,
202,
202,
759,
6718,
635,
760,
652,
2006,
281,
18,
202,
202,
430,
261,
3417,
67,
22741,
67,
2
] |
GraphicsDevice[] gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices(); Vector intersects = new Vector(); for (int i=0; i < gd.length; i++) { GraphicsConfiguration[] gc = gd[i].getConfigurations(); L2: for (int j=0; j < gc.length; j++) { if (window.intersects(gc[j].getBounds())) { for (Enumeration e = intersects.elements(); e.hasMoreElements();) { GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); if (gcc.getBounds().equals(gc[j].getBounds())) continue L2; } intersects.add(gc[j]); } } } GraphicsConfiguration choice = null; if (intersects.size() > 0) { for (Enumeration e = intersects.elements(); e.hasMoreElements();) { GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); if (choice == null) choice = gcc; else { Rectangle int1 = choice.getBounds().intersection(window); Rectangle int2 = gcc.getBounds().intersection(window); int area1 = int1.width * int1.height; int area2 = int2.width * int2.height; if (area2 > area1) choice = gcc; } } } else choice = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration(); int screenX = (int)choice.getBounds().x; int screenY = (int)choice.getBounds().y; int screenW = (int)choice.getBounds().width; int screenH = (int)choice.getBounds().height; | int screenX = (int)Toolkit.getDefaultToolkit().getScreenSize().getWidth(); int screenY = (int)Toolkit.getDefaultToolkit().getScreenSize().getHeight(); | public static final Rectangle getScreenBounds(Rectangle window) { GraphicsDevice[] gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices(); Vector intersects = new Vector(); // Get available screens // O(n^3), this is nasty, but since we aren't dealling with // many items it should be fine for (int i=0; i < gd.length; i++) { GraphicsConfiguration[] gc = gd[i].getConfigurations();L2: for (int j=0; j < gc.length; j++) { // Don't add duplicates if (window.intersects(gc[j].getBounds())) { for (Enumeration e = intersects.elements(); e.hasMoreElements();) { GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); if (gcc.getBounds().equals(gc[j].getBounds())) continue L2; } intersects.add(gc[j]); } } } GraphicsConfiguration choice = null; if (intersects.size() > 0) { // Pick screen with largest intersection for (Enumeration e = intersects.elements(); e.hasMoreElements();) { GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); if (choice == null) choice = gcc; else { Rectangle int1 = choice.getBounds().intersection(window); Rectangle int2 = gcc.getBounds().intersection(window); int area1 = int1.width * int1.height; int area2 = int2.width * int2.height; if (area2 > area1) choice = gcc; } } } else choice = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration(); // Make adjustments for some OS's int screenX = (int)choice.getBounds().x; int screenY = (int)choice.getBounds().y; int screenW = (int)choice.getBounds().width; int screenH = (int)choice.getBounds().height; int x, y, w, h; if (isMacOS()) { x = screenX; y = screenY + 22; w = screenW; h = screenH - y - 4;//shadow size } else if (isWindows()) { x = screenX - 4; y = screenY - 4; w = screenW - 2*x; h = screenH - 2*y; } else { x = screenX; y = screenY; w = screenW; h = screenH; } // Yay, we're finally there return new Rectangle(x,y,w,h); } //}}} | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/222c09d9e5611fef4dfb1ac6f0298aedd5529681/OperatingSystem.java/buggy/org/gjt/sp/jedit/OperatingSystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
13264,
22303,
5694,
12,
19463,
2742,
13,
202,
95,
202,
202,
17558,
3654,
8526,
15551,
273,
16830,
5494,
18,
588,
2042,
17558,
5494,
7675,
588,
7956,
10053,
5621,
202,
202,
5018,
19791,
273,
394,
5589,
5621,
9506,
202,
759,
968,
2319,
888,
266,
773,
202,
202,
759,
531,
12,
82,
66,
23,
3631,
333,
353,
290,
689,
93,
16,
1496,
3241,
732,
11526,
1404,
443,
454,
310,
598,
202,
202,
759,
4906,
1516,
518,
1410,
506,
11079,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
411,
15551,
18,
2469,
31,
277,
27245,
202,
202,
95,
1082,
202,
17558,
1750,
8526,
8859,
273,
15551,
63,
77,
8009,
588,
9698,
5621,
48,
22,
30,
1082,
202,
1884,
261,
474,
525,
33,
20,
31,
525,
411,
8859,
18,
2469,
31,
525,
27245,
1082,
202,
95,
9506,
202,
759,
7615,
1404,
527,
11211,
9506,
202,
430,
261,
5668,
18,
12288,
87,
12,
13241,
63,
78,
8009,
588,
5694,
1435,
3719,
9506,
202,
95,
6862,
202,
1884,
261,
21847,
425,
273,
19791,
18,
6274,
5621,
425,
18,
5332,
7417,
3471,
5621,
13,
6862,
202,
95,
25083,
202,
17558,
1750,
314,
952,
273,
261,
17558,
1750,
13,
73,
18,
4285,
1046,
5621,
25083,
202,
430,
261,
75,
952,
18,
588,
5694,
7675,
14963,
12,
13241,
63,
78,
8009,
588,
5694,
1435,
3719,
6862,
1082,
202,
17143,
511,
22,
31,
6862,
202,
97,
6862,
202,
12288,
87,
18,
1289,
12,
13241,
63,
78,
19226,
9506,
202,
97,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
13264,
22303,
5694,
12,
19463,
2742,
13,
202,
95,
202,
202,
17558,
3654,
8526,
15551,
273,
16830,
5494,
18,
588,
2042,
17558,
5494,
7675,
588,
7956,
10053,
5621,
202,
202,
5018,
19791,
273,
394,
5589,
5621,
9506,
202,
759,
968,
2319,
888,
266,
773,
202,
202,
759,
531,
12,
82,
66,
23,
3631,
333,
353,
290,
689,
93,
16,
1496,
3241,
732,
11526,
1404,
443,
454,
310,
598,
202,
202,
759,
4906,
1516,
518,
1410,
506,
11079,
202,
202,
1884,
261,
474,
277,
33,
20,
31,
277,
411,
15551,
18,
2469,
31,
277,
27245,
202,
202,
95,
1082,
202,
17558,
1750,
8526,
8859,
273,
15551,
63,
77,
8009,
588,
9698,
5621,
48,
22,
30,
2
] |
public static int sysDoubleToInt(double x) { return 0; } | public static int sysDoubleToInt(double x) { return VM_SysCallMagic.sysDoubleToInt(VM_BootRecord.the_boot_record.sysDoubleToIntIP, x); } | public static int sysDoubleToInt(double x) { return 0; } | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/7c7aa05a445f930292478a07b44af5d3367072e3/VM_SysCall.java/clean/rvm/src/vm/runtime/VM_SysCall.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
2589,
5265,
17864,
12,
9056,
619,
13,
288,
327,
374,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
lastExprType = tt; | int lastExprType = tt; | private Object statementHelper(TokenStream ts) throws IOException, JavaScriptException { Object pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; int tt; int lastExprType = 0; // For wellTerminated. 0 to avoid warning. tt = ts.getToken(); switch(tt) { case TokenStream.IF: { skipsemi = true; sourceAdd((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); Object ifTrue = statement(ts); Object ifFalse = null; if (ts.matchToken(ts.ELSE)) { sourceAdd((char)ts.RC); sourceAdd((char)ts.ELSE); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); ifFalse = statement(ts); } sourceAdd((char)ts.RC); sourceAdd((char)ts.EOL); pn = nf.createIf(cond, ifTrue, ifFalse, lineno); break; } case TokenStream.SWITCH: { skipsemi = true; sourceAdd((char)ts.SWITCH); pn = nf.createSwitch(ts.getLineno()); Object cur_case = null; // to kill warning Object case_statements; mustMatchToken(ts, ts.LP, "msg.no.paren.switch"); sourceAdd((char)ts.LP); nf.addChildToBack(pn, expr(ts, false)); mustMatchToken(ts, ts.RP, "msg.no.paren.after.switch"); sourceAdd((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.switch"); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); while ((tt = ts.getToken()) != ts.RC && tt != ts.EOF) { switch(tt) { case TokenStream.CASE: sourceAdd((char)ts.CASE); cur_case = nf.createUnary(ts.CASE, expr(ts, false)); sourceAdd((char)ts.COLON); sourceAdd((char)ts.EOL); break; case TokenStream.DEFAULT: cur_case = nf.createLeaf(ts.DEFAULT); sourceAdd((char)ts.DEFAULT); sourceAdd((char)ts.COLON); sourceAdd((char)ts.EOL); // XXX check that there isn't more than one default break; default: reportError(ts, "msg.bad.switch"); break; } mustMatchToken(ts, ts.COLON, "msg.no.colon.case"); case_statements = nf.createLeaf(TokenStream.BLOCK); while ((tt = ts.peekToken()) != ts.RC && tt != ts.CASE && tt != ts.DEFAULT && tt != ts.EOF) { nf.addChildToBack(case_statements, statement(ts)); } // assert cur_case nf.addChildToBack(cur_case, case_statements); nf.addChildToBack(pn, cur_case); } sourceAdd((char)ts.RC); sourceAdd((char)ts.EOL); break; } case TokenStream.WHILE: { skipsemi = true; sourceAdd((char)ts.WHILE); int lineno = ts.getLineno(); Object cond = condition(ts); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); Object body = statement(ts); sourceAdd((char)ts.RC); sourceAdd((char)ts.EOL); pn = nf.createWhile(cond, body, lineno); break; } case TokenStream.DO: { sourceAdd((char)ts.DO); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); int lineno = ts.getLineno(); Object body = statement(ts); sourceAdd((char)ts.RC); mustMatchToken(ts, ts.WHILE, "msg.no.while.do"); sourceAdd((char)ts.WHILE); Object cond = condition(ts); pn = nf.createDoWhile(body, cond, lineno); break; } case TokenStream.FOR: { skipsemi = true; sourceAdd((char)ts.FOR); int lineno = ts.getLineno(); Object init; // Node init is also foo in 'foo in Object' Object cond; // Node cond is also object in 'foo in Object' Object incr = null; // to kill warning Object body; mustMatchToken(ts, ts.LP, "msg.no.paren.for"); sourceAdd((char)ts.LP); tt = ts.peekToken(); if (tt == ts.SEMI) { init = nf.createLeaf(ts.VOID); } else { if (tt == ts.VAR) { // set init to a var list or initial ts.getToken(); // throw away the 'var' token init = variables(ts, true); } else { init = expr(ts, true); } } tt = ts.peekToken(); if (tt == ts.RELOP && ts.getOp() == ts.IN) { ts.matchToken(ts.RELOP); sourceAdd((char)ts.IN); // 'cond' is the object over which we're iterating cond = expr(ts, false); } else { // ordinary for loop mustMatchToken(ts, ts.SEMI, "msg.no.semi.for"); sourceAdd((char)ts.SEMI); if (ts.peekToken() == ts.SEMI) { // no loop condition cond = nf.createLeaf(ts.VOID); } else { cond = expr(ts, false); } mustMatchToken(ts, ts.SEMI, "msg.no.semi.for.cond"); sourceAdd((char)ts.SEMI); if (ts.peekToken() == ts.RP) { incr = nf.createLeaf(ts.VOID); } else { incr = expr(ts, false); } } mustMatchToken(ts, ts.RP, "msg.no.paren.for.ctrl"); sourceAdd((char)ts.RP); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); body = statement(ts); sourceAdd((char)ts.RC); sourceAdd((char)ts.EOL); if (incr == null) { // cond could be null if 'in obj' got eaten by the init node. pn = nf.createForIn(init, cond, body, lineno); } else { pn = nf.createFor(init, cond, incr, body, lineno); } break; } case TokenStream.TRY: { int lineno = ts.getLineno(); Object tryblock; Object catchblocks = null; Object finallyblock = null; skipsemi = true; sourceAdd((char)ts.TRY); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); tryblock = statement(ts); sourceAdd((char)ts.RC); sourceAdd((char)ts.EOL); catchblocks = nf.createLeaf(TokenStream.BLOCK); boolean sawDefaultCatch = false; int peek = ts.peekToken(); if (peek == ts.CATCH) { while (ts.matchToken(ts.CATCH)) { if (sawDefaultCatch) { reportError(ts, "msg.catch.unreachable"); } sourceAdd((char)ts.CATCH); mustMatchToken(ts, ts.LP, "msg.no.paren.catch"); sourceAdd((char)ts.LP); mustMatchToken(ts, ts.NAME, "msg.bad.catchcond"); String varName = ts.getString(); sourceAddString(ts.NAME, varName); Object catchCond = null; if (ts.matchToken(ts.IF)) { sourceAdd((char)ts.IF); catchCond = expr(ts, false); } else { sawDefaultCatch = true; } mustMatchToken(ts, ts.RP, "msg.bad.catchcond"); sourceAdd((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.catchblock"); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); nf.addChildToBack(catchblocks, nf.createCatch(varName, catchCond, statements(ts), ts.getLineno())); mustMatchToken(ts, ts.RC, "msg.no.brace.after.body"); sourceAdd((char)ts.RC); sourceAdd((char)ts.EOL); } } else if (peek != ts.FINALLY) { mustMatchToken(ts, ts.FINALLY, "msg.try.no.catchfinally"); } if (ts.matchToken(ts.FINALLY)) { sourceAdd((char)ts.FINALLY); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); finallyblock = statement(ts); sourceAdd((char)ts.RC); sourceAdd((char)ts.EOL); } pn = nf.createTryCatchFinally(tryblock, catchblocks, finallyblock, lineno); break; } case TokenStream.THROW: { int lineno = ts.getLineno(); sourceAdd((char)ts.THROW); pn = nf.createThrow(expr(ts, false), lineno); if (lineno == ts.getLineno()) wellTerminated(ts, ts.ERROR); break; } case TokenStream.BREAK: { int lineno = ts.getLineno(); sourceAdd((char)ts.BREAK); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { sourceAddString(ts.NAME, label); } pn = nf.createBreak(label, lineno); break; } case TokenStream.CONTINUE: { int lineno = ts.getLineno(); sourceAdd((char)ts.CONTINUE); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { sourceAddString(ts.NAME, label); } pn = nf.createContinue(label, lineno); break; } case TokenStream.WITH: { skipsemi = true; sourceAdd((char)ts.WITH); int lineno = ts.getLineno(); mustMatchToken(ts, ts.LP, "msg.no.paren.with"); sourceAdd((char)ts.LP); Object obj = expr(ts, false); mustMatchToken(ts, ts.RP, "msg.no.paren.after.with"); sourceAdd((char)ts.RP); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); Object body = statement(ts); sourceAdd((char)ts.RC); sourceAdd((char)ts.EOL); pn = nf.createWith(obj, body, lineno); break; } case TokenStream.VAR: { int lineno = ts.getLineno(); pn = variables(ts, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); break; } case TokenStream.RETURN: { Object retExpr = null; sourceAdd((char)ts.RETURN); // bail if we're not in a (toplevel) function if ((ts.flags & ts.TSF_FUNCTION) == 0) reportError(ts, "msg.bad.return"); /* This is ugly, but we don't want to require a semicolon. */ ts.flags |= ts.TSF_REGEXP; tt = ts.peekTokenSameLine(); ts.flags &= ~ts.TSF_REGEXP; int lineno = ts.getLineno(); if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC) { retExpr = expr(ts, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); ts.flags |= ts.TSF_RETURN_EXPR; } else { ts.flags |= ts.TSF_RETURN_VOID; } // XXX ASSERT pn pn = nf.createReturn(retExpr, lineno); break; } case TokenStream.LC: skipsemi = true; pn = statements(ts); mustMatchToken(ts, ts.RC, "msg.no.brace.block"); break; case TokenStream.ERROR: // Fall thru, to have a node for error recovery to work on case TokenStream.EOL: case TokenStream.SEMI: pn = nf.createLeaf(ts.VOID); skipsemi = true; break; default: { lastExprType = tt; int tokenno = ts.getTokenno(); ts.ungetToken(tt); int lineno = ts.getLineno(); pn = expr(ts, false); if (ts.peekToken() == ts.COLON) { /* check that the last thing the tokenizer returned was a * NAME and that only one token was consumed. */ if (lastExprType != ts.NAME || (ts.getTokenno() != tokenno)) reportError(ts, "msg.bad.label"); ts.getToken(); // eat the COLON /* in the C source, the label is associated with the * statement that follows: * nf.addChildToBack(pn, statement(ts)); */ String name = ts.getString(); pn = nf.createLabel(name, lineno); // depend on decompiling lookahead to guess that that // last name was a label. sourceAdd((char)ts.COLON); sourceAdd((char)ts.EOL); return pn; } if (lastExprType == ts.FUNCTION) { if (nf.getLeafType(pn) != ts.FUNCTION) { reportError(ts, "msg.syntax"); } nf.setFunctionExpressionStatement(pn); } pn = nf.createExprStatement(pn, lineno); /* * Check explicitly against (multi-line) function * statement. * lastExprEndLine is a hack to fix an * automatic semicolon insertion problem with function * expressions; the ts.getLineno() == lineno check was * firing after a function definition even though the * next statement was on a new line, because * speculative getToken calls advanced the line number * even when they didn't succeed. */ if (ts.getLineno() == lineno || (lastExprType == ts.FUNCTION && ts.getLineno() == lastExprEndLine)) { wellTerminated(ts, lastExprType); } break; } } ts.matchToken(ts.SEMI); if (!skipsemi) { sourceAdd((char)ts.SEMI); sourceAdd((char)ts.EOL); } return pn; } | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/56c3f65ac92dbd3ff9f471a1829280e95bd7ddf4/Parser.java/clean/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3021,
2276,
12,
1345,
1228,
3742,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
1033,
11059,
273,
446,
31,
3639,
368,
971,
2488,
307,
9197,
422,
638,
16,
2727,
1404,
527,
3174,
7492,
397,
19995,
358,
1084,
622,
326,
3639,
368,
679,
434,
333,
610,
475,
18,
225,
2457,
11360,
6317,
16,
11083,
19,
7473,
5527,
18,
3639,
1250,
2488,
307,
9197,
273,
629,
31,
3639,
509,
3574,
31,
3639,
509,
1142,
4742,
559,
273,
374,
31,
225,
368,
2457,
5492,
21888,
18,
225,
374,
358,
4543,
3436,
18,
3639,
3574,
273,
3742,
18,
588,
1345,
5621,
3639,
1620,
12,
748,
13,
288,
3639,
648,
3155,
1228,
18,
5501,
30,
288,
5411,
2488,
307,
9197,
273,
638,
31,
5411,
1084,
986,
12443,
3001,
13,
3428,
18,
5501,
1769,
5411,
509,
7586,
273,
3742,
18,
588,
48,
267,
5764,
5621,
5411,
1033,
6941,
273,
2269,
12,
3428,
1769,
5411,
1084,
986,
12443,
3001,
13,
3428,
18,
13394,
1769,
5411,
1084,
986,
12443,
3001,
13,
3428,
18,
5842,
1769,
5411,
1033,
309,
5510,
273,
3021,
12,
3428,
1769,
5411,
1033,
309,
8381,
273,
446,
31,
5411,
309,
261,
3428,
18,
1916,
1345,
12,
3428,
18,
2247,
1090,
3719,
288,
7734,
1084,
986,
12443,
3001,
13,
3428,
18,
11529,
1769,
7734,
1084,
986,
12443,
3001,
13,
3428,
18,
2247,
1090,
1769,
7734,
1084,
986,
12443,
3001,
13,
3428,
18,
13394,
1769,
7734,
1084,
986,
12443,
3001,
13,
3428,
18,
5842,
1769,
7734,
309,
8381,
273,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3021,
2276,
12,
1345,
1228,
3742,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
1033,
11059,
273,
446,
31,
3639,
368,
971,
2488,
307,
9197,
422,
638,
16,
2727,
1404,
527,
3174,
7492,
397,
19995,
358,
1084,
622,
326,
3639,
368,
679,
434,
333,
610,
475,
18,
225,
2457,
11360,
6317,
16,
11083,
19,
7473,
5527,
18,
3639,
1250,
2488,
307,
9197,
273,
629,
31,
3639,
509,
3574,
31,
3639,
509,
1142,
4742,
559,
273,
374,
31,
225,
368,
2457,
5492,
21888,
18,
225,
374,
358,
4543,
3436,
18,
3639,
3574,
273,
3742,
18,
588,
1345,
5621,
3639,
1620,
12,
748,
13,
288,
3639,
648,
3155,
1228,
18,
5501,
30,
288,
5411,
2488,
307,
2
] |
while (LT(1) == IToken.tCOMMA) { consume(IToken.tCOMMA); declarators.add(initDeclarator()); } } | while (LT(1) == IToken.tCOMMA) { consume(IToken.tCOMMA); declarators.add(initDeclarator()); } } | protected IASTDeclaration simpleDeclaration() throws BacktrackException, EndOfFileException { IToken firstToken = LA(1); int firstOffset = firstToken.getOffset(); if (firstToken.getType() == IToken.tLBRACE) throwBacktrack(firstToken.getOffset(), firstToken.getLength()); firstToken = null; // necessary for scalability IASTDeclSpecifier declSpec = declSpecifierSeq(false); List declarators = Collections.EMPTY_LIST; if (LT(1) != IToken.tSEMI) { declarators = new ArrayList(DEFAULT_DECLARATOR_LIST_SIZE); declarators.add(initDeclarator()); while (LT(1) == IToken.tCOMMA) { consume(IToken.tCOMMA); declarators.add(initDeclarator()); } } boolean hasFunctionBody = false; boolean hasFunctionTryBlock = false; boolean consumedSemi = false; int semiOffset = 0; switch (LT(1)) { case IToken.tSEMI: semiOffset = consume(IToken.tSEMI).getEndOffset(); consumedSemi = true; break; case IToken.tLBRACE: break; default: throwBacktrack(firstOffset, LA(1).getEndOffset() - firstOffset); } if (!consumedSemi) { if (LT(1) == IToken.tLBRACE) { hasFunctionBody = true; } if (hasFunctionTryBlock && !hasFunctionBody) throwBacktrack(firstOffset, LA(1).getEndOffset() - firstOffset); } if (hasFunctionBody) { if (declarators.size() != 1) throwBacktrack(firstOffset, LA(1).getEndOffset()); IASTDeclarator declarator = (IASTDeclarator) declarators.get(0); if (!(declarator instanceof IASTFunctionDeclarator)) throwBacktrack(firstOffset, LA(1).getEndOffset()); IASTFunctionDefinition funcDefinition = createFunctionDefinition(); ((ASTNode) funcDefinition).setOffset(firstOffset); funcDefinition.setDeclSpecifier(declSpec); declSpec.setParent(funcDefinition); declSpec.setPropertyInParent(IASTFunctionDefinition.DECL_SPECIFIER); funcDefinition.setDeclarator((IASTFunctionDeclarator) declarator); declarator.setParent(funcDefinition); declarator.setPropertyInParent(IASTFunctionDefinition.DECLARATOR); IASTStatement s = handleFunctionBody(); if (s != null) { funcDefinition.setBody(s); s.setParent(funcDefinition); s.setPropertyInParent(IASTFunctionDefinition.FUNCTION_BODY); } ((ASTNode) funcDefinition).setLength(calculateEndOffset(s) - firstOffset); return funcDefinition; } IASTSimpleDeclaration simpleDeclaration = createSimpleDeclaration(); int length = figureEndOffset(declSpec, declarators) - firstOffset; if (consumedSemi) length = semiOffset - firstOffset; ((ASTNode) simpleDeclaration).setOffsetAndLength(firstOffset, length); simpleDeclaration.setDeclSpecifier(declSpec); declSpec.setParent(simpleDeclaration); declSpec.setPropertyInParent(IASTSimpleDeclaration.DECL_SPECIFIER); for (int i = 0; i < declarators.size(); ++i) { IASTDeclarator declarator = (IASTDeclarator) declarators.get(i); simpleDeclaration.addDeclarator(declarator); declarator.setParent(simpleDeclaration); declarator.setPropertyInParent(IASTSimpleDeclaration.DECLARATOR); } return simpleDeclaration; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/bcedb9a5c16dd4d172f27f0519a31f2ee9b1d68d/GNUCSourceParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/GNUCSourceParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
9053,
6094,
4143,
6094,
1435,
1216,
4297,
4101,
503,
16,
1082,
202,
23358,
812,
503,
288,
202,
202,
1285,
969,
1122,
1345,
273,
2928,
12,
21,
1769,
202,
202,
474,
1122,
2335,
273,
1122,
1345,
18,
588,
2335,
5621,
202,
202,
430,
261,
3645,
1345,
18,
588,
559,
1435,
422,
467,
1345,
18,
88,
12995,
9254,
13,
1082,
202,
12849,
2711,
4101,
12,
3645,
1345,
18,
588,
2335,
9334,
1122,
1345,
18,
588,
1782,
10663,
202,
202,
3645,
1345,
273,
446,
31,
368,
4573,
364,
8292,
2967,
202,
202,
45,
9053,
3456,
21416,
3496,
1990,
273,
3496,
21416,
6926,
12,
5743,
1769,
202,
202,
682,
3496,
297,
3062,
273,
5737,
18,
13625,
67,
7085,
31,
202,
202,
430,
261,
12050,
12,
21,
13,
480,
467,
1345,
18,
88,
1090,
7492,
13,
288,
1082,
202,
8840,
297,
3062,
273,
394,
2407,
12,
5280,
67,
23956,
985,
3575,
67,
7085,
67,
4574,
1769,
1082,
202,
8840,
297,
3062,
18,
1289,
12,
2738,
31419,
10663,
1082,
202,
17523,
261,
12050,
12,
21,
13,
422,
467,
1345,
18,
88,
4208,
5535,
13,
288,
9506,
202,
21224,
12,
1285,
969,
18,
88,
4208,
5535,
1769,
9506,
202,
8840,
297,
3062,
18,
1289,
12,
2738,
31419,
10663,
1082,
202,
97,
202,
202,
97,
202,
202,
6494,
711,
2083,
2250,
273,
629,
31,
202,
202,
6494,
711,
2083,
7833,
1768,
273,
629,
31,
202,
202,
6494,
12393,
13185,
77,
273,
629,
31,
202,
202,
474,
23161,
2335,
273,
374,
31,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
467,
9053,
6094,
4143,
6094,
1435,
1216,
4297,
4101,
503,
16,
1082,
202,
23358,
812,
503,
288,
202,
202,
1285,
969,
1122,
1345,
273,
2928,
12,
21,
1769,
202,
202,
474,
1122,
2335,
273,
1122,
1345,
18,
588,
2335,
5621,
202,
202,
430,
261,
3645,
1345,
18,
588,
559,
1435,
422,
467,
1345,
18,
88,
12995,
9254,
13,
1082,
202,
12849,
2711,
4101,
12,
3645,
1345,
18,
588,
2335,
9334,
1122,
1345,
18,
588,
1782,
10663,
202,
202,
3645,
1345,
273,
446,
31,
368,
4573,
364,
8292,
2967,
202,
202,
45,
9053,
3456,
21416,
3496,
1990,
273,
3496,
21416,
6926,
12,
5743,
1769,
202,
202,
682,
3496,
297,
3062,
273,
5737,
18,
13625,
67,
7085,
31,
2
] |
setScope(null); | private void evaluateExpressions() throws JspException { try { setCookie((String) evalAttr("cookie", getCookie(), String.class)); } catch (NullAttributeException ex) { setCookie(null); } try { setExpr((String) evalAttr("expr", getExpr(), String.class)); } catch (NullAttributeException ex) { setExpr(null); } try { setHeader((String) evalAttr("header", getHeader(), String.class)); } catch (NullAttributeException ex) { setHeader(null); } try { setLocation((String) evalAttr("location", getLocation(), String.class)); } catch (NullAttributeException ex) { setLocation(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setParameter((String) evalAttr("parameter", getParameter(), String.class)); } catch (NullAttributeException ex) { setParameter(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setScope((String) evalAttr("scope", getScope(), String.class)); } catch (NullAttributeException ex) { setScope(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } } | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/db064e19656421b94aaf753550935d95f44bd5f9/ELNotMatchTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/logic/ELNotMatchTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
26793,
12443,
780,
13,
5302,
3843,
2932,
8417,
3113,
24643,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
26793,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
4742,
12443,
780,
13,
5302,
3843,
2932,
8638,
3113,
336,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
4742,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
10859,
12443,
780,
13,
5302,
3843,
2932,
3374,
3113,
7911,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
10859,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
21751,
12443,
780,
13,
5302,
3843,
2932,
3562,
3113,
13312,
9334,
4766,
1850,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
21751,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
6788,
12443,
780,
13,
5302,
3843,
2932,
529,
3113,
1723,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
6788,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
6690,
12443,
780,
13,
5302,
3843,
2932,
6775,
3113,
5575,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
6690,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
7486,
12443,
780,
13,
5302,
3843,
2932,
4468,
3113,
3911,
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,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
26793,
12443,
780,
13,
5302,
3843,
2932,
8417,
3113,
24643,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
26793,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
4742,
12443,
780,
13,
5302,
3843,
2932,
8638,
3113,
336,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
4742,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
10859,
12443,
780,
13,
5302,
3843,
2932,
3374,
3113,
7911,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
10859,
12,
2011,
1769,
3639,
2
] | |
N=complexity; if (N>10) N=10; | N = complexity; if (N > 10) N = 10; | public final int quant(float[] target, float[] sw, int sws, float[] ak, float[] awk1, float[] awk2, float[] exc, int es, int start, int end, float pitch_coef, int p, int nsf, Bits bits, float[] exc2, int e2s, float[] r, int complexity) { int i,j; int[] cdbk_index = new int[1]; int pitch=0, best_gain_index=0; float[] best_exc; int best_pitch=0; float err, best_err=-1; int N; int[] nbest; float[] gains; N=complexity; if (N>10) N=10; nbest=new int[N]; gains = new float[N]; if (N==0 || end<start) { bits.pack(0, pitch_bits); bits.pack(0, gain_bits); for (i=0;i<nsf;i++) exc[es+i]=0; return start; } best_exc=new float[nsf]; if (N>end-start+1) N=end-start+1; open_loop_nbest_pitch(sw, sws, start, end, nsf, nbest, gains, N); for (i=0;i<N;i++) { pitch=nbest[i]; for (j=0;j<nsf;j++) exc[es+j]=0; err=pitch_gain_search_3tap(target, ak, awk1, awk2, exc, es, pitch, p, nsf, bits, exc2, e2s, r, cdbk_index); if (err<best_err || best_err<0) { for (j=0;j<nsf;j++) best_exc[j]=exc[es+j]; best_err=err; best_pitch=pitch; best_gain_index=cdbk_index[0]; } } bits.pack(best_pitch-start, pitch_bits); bits.pack(best_gain_index, gain_bits); for (i=0;i<nsf;i++) exc[es+i]=best_exc[i]; return pitch; } | 6022 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6022/68640e768b66e83c5637a95cc8f41b712d9fea61/Ltp3Tap.java/buggy/main/trunk/codec/src/main/java/org/xiph/speex/Ltp3Tap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
509,
10251,
12,
5659,
8526,
1018,
16,
1431,
8526,
1352,
16,
509,
1352,
87,
16,
1431,
8526,
20952,
16,
1431,
8526,
1690,
79,
21,
16,
1431,
8526,
1690,
79,
22,
16,
7682,
1431,
8526,
3533,
16,
509,
5001,
16,
509,
787,
16,
509,
679,
16,
1431,
14486,
67,
24305,
16,
509,
293,
16,
12900,
509,
3153,
74,
16,
18690,
4125,
16,
1431,
8526,
3533,
22,
16,
509,
425,
22,
87,
16,
1431,
8526,
436,
16,
509,
21610,
13,
225,
288,
565,
509,
277,
16,
78,
31,
565,
509,
8526,
276,
1966,
79,
67,
1615,
273,
394,
509,
63,
21,
15533,
565,
509,
14486,
33,
20,
16,
3796,
67,
25540,
67,
1615,
33,
20,
31,
565,
1431,
8526,
3796,
67,
10075,
31,
565,
509,
3796,
67,
25910,
33,
20,
31,
565,
1431,
393,
16,
3796,
67,
370,
29711,
21,
31,
565,
509,
423,
31,
565,
509,
8526,
4264,
395,
31,
565,
1431,
8526,
314,
4167,
31,
565,
423,
33,
14259,
560,
31,
565,
309,
261,
50,
34,
2163,
13,
1377,
423,
33,
2163,
31,
565,
4264,
395,
33,
2704,
509,
63,
50,
15533,
565,
314,
4167,
273,
394,
1431,
63,
50,
15533,
565,
309,
261,
50,
631,
20,
747,
679,
32,
1937,
13,
288,
1377,
4125,
18,
2920,
12,
20,
16,
14486,
67,
6789,
1769,
1377,
4125,
18,
2920,
12,
20,
16,
17527,
67,
6789,
1769,
1377,
364,
261,
77,
33,
20,
31,
77,
32,
2387,
74,
31,
77,
27245,
3639,
3533,
63,
281,
15,
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,
727,
509,
10251,
12,
5659,
8526,
1018,
16,
1431,
8526,
1352,
16,
509,
1352,
87,
16,
1431,
8526,
20952,
16,
1431,
8526,
1690,
79,
21,
16,
1431,
8526,
1690,
79,
22,
16,
7682,
1431,
8526,
3533,
16,
509,
5001,
16,
509,
787,
16,
509,
679,
16,
1431,
14486,
67,
24305,
16,
509,
293,
16,
12900,
509,
3153,
74,
16,
18690,
4125,
16,
1431,
8526,
3533,
22,
16,
509,
425,
22,
87,
16,
1431,
8526,
436,
16,
509,
21610,
13,
225,
288,
565,
509,
277,
16,
78,
31,
565,
509,
8526,
276,
1966,
79,
67,
1615,
273,
394,
509,
63,
21,
15533,
565,
509,
14486,
33,
20,
16,
3796,
67,
25540,
67,
1615,
33,
20,
31,
565,
1431,
2
] |
if (roll != PilotingRollData.AUTOMATIC_FALL) { roll += height; | roll.removeAutos(); if (height > 0) { roll.addModifier(height, "height of fall"); | private void doEntityFall(Entity entity, Coords fallPos, int height, int facing, int roll) { // we don't need to deal damage yet, if the entity is doing DFA if (entity.isMakingDfa()) { phaseReport.append("But, since the 'mech is making a death from above attack, damage will be dealt during the physical phase.\n"); entity.setProne(true); return; } // facing after fall String side; int table; switch(facing) { case 1: case 2: side = "right side"; table = ToHitData.SIDE_RIGHT; break; case 3: side = "rear"; table = ToHitData.SIDE_REAR; break; case 4: case 5: side = "left side"; table = ToHitData.SIDE_LEFT; break; case 0: default: side = "front"; table = ToHitData.SIDE_FRONT; } // calculate damage int damage = (int)Math.round(entity.getWeight() / 10) * (height + 1); // TODO: only fall to surface of water if (game.board.getHex(fallPos).getTerrainType() == Terrain.WATER) { damage = (int)Math.ceil(damage / 2.0); } // report falling phaseReport.append(" " + entity.getDisplayName() + " falls on its " + side + ", suffering " + damage + " damage."); // standard damage loop while (damage > 0) { int cluster = Math.min(5, damage); HitData hit = entity.rollHitLocation(ToHitData.HIT_NORMAL, table); phaseReport.append(damageEntity(entity, hit, cluster)); damage -= cluster; } // pilot damage? if (roll != PilotingRollData.AUTOMATIC_FALL) { roll += height; } if (roll > 12) { phaseReport.append("\nPilot of " + entity.getDisplayName() + " \"" + entity.crew.getName() + "\" cannot avoid damage.\n"); damageCrew(entity, 1); } else { int diceRoll = Compute.d6(2); phaseReport.append("\nPilot of " + entity.getDisplayName() + " \"" + entity.crew.getName() + "\" must roll " + roll + " to avoid damage; rolls " + diceRoll + " : " + (diceRoll >= roll ? "succeeds" : "fails") + ".\n"); if (diceRoll < roll) { damageCrew(entity, 1); } } entity.setProne(true); entity.setPosition(fallPos); entity.setFacing((entity.getFacing() + (facing - 1)) % 6); entity.setSecondaryFacing(entity.getFacing()); } | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/f340b41dabf91648804a0e5f5fa08a9d9eaadc4f/Server.java/buggy/megamek/src/megamek/server/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
1943,
42,
454,
12,
1943,
1522,
16,
10320,
87,
4159,
1616,
16,
509,
2072,
16,
3639,
509,
284,
5330,
16,
509,
5824,
13,
288,
3639,
368,
732,
2727,
1404,
1608,
358,
10490,
302,
301,
410,
4671,
16,
309,
326,
1522,
353,
9957,
463,
2046,
3639,
309,
261,
1096,
18,
291,
49,
6159,
40,
507,
10756,
288,
5411,
6855,
4820,
18,
6923,
2932,
31167,
16,
3241,
326,
296,
3501,
343,
353,
10480,
279,
443,
421,
628,
5721,
13843,
16,
302,
301,
410,
903,
506,
443,
2390,
4982,
326,
11640,
6855,
8403,
82,
8863,
5411,
1522,
18,
542,
2050,
476,
12,
3767,
1769,
5411,
327,
31,
3639,
289,
10792,
368,
284,
5330,
1839,
4159,
3639,
514,
4889,
31,
3639,
509,
1014,
31,
3639,
1620,
12,
507,
2822,
13,
288,
3639,
648,
404,
30,
3639,
648,
576,
30,
5411,
4889,
273,
315,
4083,
4889,
14432,
5411,
1014,
273,
2974,
13616,
751,
18,
26498,
67,
11847,
31,
5411,
898,
31,
3639,
648,
890,
30,
5411,
4889,
273,
315,
266,
297,
14432,
5411,
1014,
273,
2974,
13616,
751,
18,
26498,
67,
862,
985,
31,
5411,
898,
31,
3639,
648,
1059,
30,
3639,
648,
1381,
30,
5411,
4889,
273,
315,
4482,
4889,
14432,
5411,
1014,
273,
2974,
13616,
751,
18,
26498,
67,
10066,
31,
5411,
898,
31,
3639,
648,
374,
30,
3639,
805,
30,
5411,
4889,
273,
315,
10211,
14432,
5411,
1014,
273,
2974,
13616,
751,
18,
26498,
67,
9981,
10079,
31,
3639,
289,
3639,
368,
4604,
302,
301,
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,
741,
1943,
42,
454,
12,
1943,
1522,
16,
10320,
87,
4159,
1616,
16,
509,
2072,
16,
3639,
509,
284,
5330,
16,
509,
5824,
13,
288,
3639,
368,
732,
2727,
1404,
1608,
358,
10490,
302,
301,
410,
4671,
16,
309,
326,
1522,
353,
9957,
463,
2046,
3639,
309,
261,
1096,
18,
291,
49,
6159,
40,
507,
10756,
288,
5411,
6855,
4820,
18,
6923,
2932,
31167,
16,
3241,
326,
296,
3501,
343,
353,
10480,
279,
443,
421,
628,
5721,
13843,
16,
302,
301,
410,
903,
506,
443,
2390,
4982,
326,
11640,
6855,
8403,
82,
8863,
5411,
1522,
18,
542,
2050,
476,
12,
3767,
1769,
5411,
327,
31,
3639,
289,
10792,
368,
284,
5330,
1839,
4159,
3639,
514,
4889,
2
] |
double actual = exp.inverseCummulativeProbability(p); | double actual = exp.inverseCumulativeProbability(p); | private void testValue(double expected, double p) { try { double actual = exp.inverseCummulativeProbability(p); TestUtils.assertEquals(expected, actual, 10e-4); } catch (MathException e) { // TODO Auto-generated catch block e.printStackTrace(); } } | 9305 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9305/70106770ea61a5fe845653a0b793f4934cc00144/ExponentialDistributionTest.java/buggy/src/test/org/apache/commons/math/distribution/ExponentialDistributionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1842,
620,
12,
9056,
2665,
16,
1645,
293,
13,
288,
3639,
775,
288,
5411,
1645,
3214,
273,
1329,
18,
22552,
39,
11276,
25598,
12,
84,
1769,
5411,
7766,
1989,
18,
11231,
8867,
12,
3825,
16,
3214,
16,
1728,
73,
17,
24,
1769,
3639,
289,
1044,
261,
10477,
503,
425,
13,
288,
5411,
368,
2660,
8064,
17,
11168,
1044,
1203,
5411,
425,
18,
1188,
6332,
5621,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1842,
620,
12,
9056,
2665,
16,
1645,
293,
13,
288,
3639,
775,
288,
5411,
1645,
3214,
273,
1329,
18,
22552,
39,
11276,
25598,
12,
84,
1769,
5411,
7766,
1989,
18,
11231,
8867,
12,
3825,
16,
3214,
16,
1728,
73,
17,
24,
1769,
3639,
289,
1044,
261,
10477,
503,
425,
13,
288,
5411,
368,
2660,
8064,
17,
11168,
1044,
1203,
5411,
425,
18,
1188,
6332,
5621,
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
] |
contextData.popFrame(); } | public void onExit(Context cx, boolean byThrow, Object resultOrException) { if (db.breakOnReturn && !byThrow) { db.handleBreakpointHit(this, cx); } contextData.popFrame(); } | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/677ac1cd7685aceb4fdd606aa3e6c9cea9f6d6cb/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
603,
6767,
12,
1042,
9494,
16,
1250,
635,
8282,
16,
1033,
563,
1162,
503,
13,
288,
3639,
309,
261,
1966,
18,
8820,
1398,
990,
597,
401,
1637,
8282,
13,
288,
5411,
1319,
18,
4110,
20552,
13616,
12,
2211,
16,
9494,
1769,
3639,
289,
3639,
819,
751,
18,
5120,
3219,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
603,
6767,
12,
1042,
9494,
16,
1250,
635,
8282,
16,
1033,
563,
1162,
503,
13,
288,
3639,
309,
261,
1966,
18,
8820,
1398,
990,
597,
401,
1637,
8282,
13,
288,
5411,
1319,
18,
4110,
20552,
13616,
12,
2211,
16,
9494,
1769,
3639,
289,
3639,
819,
751,
18,
5120,
3219,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
public ZipShort getHeaderId() { | public ZipShort getHeaderId() { | public ZipShort getHeaderId() { return headerId; } | 55907 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55907/4da7a225ba9c01ca94805923e06e3fb2d46bf201/UnrecognizedExtraField.java/clean/plexus-archiver/src/main/java/org/codehaus/plexus/archiver/zip/UnrecognizedExtraField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8603,
4897,
7911,
548,
1435,
288,
3639,
327,
1446,
548,
31,
565,
289,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8603,
4897,
7911,
548,
1435,
288,
3639,
327,
1446,
548,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
advancedTab.setToolTipText(Util.translateString(RESOURCE_BUNDLE, "advancedTab.ToolTipText")); | protected Control createContents(Composite parent) { final TabFolder tabFolder = new TabFolder(parent, SWT.BORDER); // Basic tab final TabItem basicTab = new TabItem(tabFolder, SWT.NULL); basicTab.setText(Util.translateString(RESOURCE_BUNDLE, "basicTab.Text")); //$NON-NLS-1$ basicTab.setToolTipText(Util.translateString(RESOURCE_BUNDLE, "basicTab.ToolTipText")); //$NON-NLS-1$ basicTab.setControl(createBasicTab(tabFolder)); // Advanced tab final TabItem advancedTab = new TabItem(tabFolder, SWT.NULL); advancedTab.setText(Util.translateString(RESOURCE_BUNDLE, "advancedTab.Text")); //$NON-NLS-1$ advancedTab.setToolTipText(Util.translateString(RESOURCE_BUNDLE, "advancedTab.ToolTipText")); //$NON-NLS-1$ advancedTab.setControl(createAdvancedTab(tabFolder)); return tabFolder; } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4e6727278fb3f62eacb7b5674024648697408e49/KeysPreferencePage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/KeysPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6323,
12,
9400,
982,
13,
288,
202,
202,
6385,
9483,
3899,
3246,
3899,
273,
394,
9483,
3899,
12,
2938,
16,
348,
8588,
18,
38,
7954,
1769,
202,
202,
759,
7651,
3246,
202,
202,
6385,
9483,
1180,
5337,
5661,
273,
394,
9483,
1180,
12,
7032,
3899,
16,
348,
8588,
18,
8560,
1769,
202,
202,
13240,
5661,
18,
542,
1528,
12,
1304,
18,
13929,
780,
12,
11395,
67,
30245,
16,
315,
13240,
5661,
18,
1528,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
13240,
5661,
18,
542,
29250,
1528,
12,
1304,
18,
13929,
780,
12,
11395,
67,
30245,
16,
315,
13240,
5661,
18,
29250,
1528,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
13240,
5661,
18,
542,
3367,
12,
2640,
8252,
5661,
12,
7032,
3899,
10019,
202,
202,
759,
27451,
3246,
202,
202,
6385,
9483,
1180,
16111,
5661,
273,
394,
9483,
1180,
12,
7032,
3899,
16,
348,
8588,
18,
8560,
1769,
202,
202,
27080,
5661,
18,
542,
1528,
12,
1304,
18,
13929,
780,
12,
11395,
67,
30245,
16,
315,
27080,
5661,
18,
1528,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
27080,
5661,
18,
542,
3367,
12,
2640,
23618,
5661,
12,
7032,
3899,
10019,
202,
202,
2463,
3246,
3899,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6323,
12,
9400,
982,
13,
288,
202,
202,
6385,
9483,
3899,
3246,
3899,
273,
394,
9483,
3899,
12,
2938,
16,
348,
8588,
18,
38,
7954,
1769,
202,
202,
759,
7651,
3246,
202,
202,
6385,
9483,
1180,
5337,
5661,
273,
394,
9483,
1180,
12,
7032,
3899,
16,
348,
8588,
18,
8560,
1769,
202,
202,
13240,
5661,
18,
542,
1528,
12,
1304,
18,
13929,
780,
12,
11395,
67,
30245,
16,
315,
13240,
5661,
18,
1528,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
13240,
5661,
18,
542,
29250,
1528,
12,
1304,
18,
13929,
780,
12,
11395,
67,
30245,
16,
315,
13240,
5661,
18,
29250,
1528,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
2
] | |
if(pref == null || middle == null || suff == null) | if((pref == null) || (middle == null) || (suff == null)) | private static final String getResourceName(boolean optimized) { String pname = NativeBigInteger.class.getPackage().getName().replace('.','/'); String pref = getLibraryPrefix(); String middle = getMiddleName(optimized); String suff = getLibrarySuffix(); if(pref == null || middle == null || suff == null) return null; return pname+"/"+pref+middle+"."+suff; } | 50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/NativeBigInteger.java/buggy/src/net/i2p/util/NativeBigInteger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
514,
5070,
461,
12,
6494,
15411,
13,
288,
377,
202,
780,
19952,
273,
16717,
24198,
18,
1106,
18,
588,
2261,
7675,
17994,
7675,
2079,
2668,
1093,
11189,
2473,
1769,
377,
202,
780,
11307,
273,
336,
9313,
2244,
5621,
377,
202,
780,
7689,
273,
2108,
3132,
461,
12,
16689,
1235,
1769,
377,
202,
780,
272,
3809,
273,
336,
9313,
5791,
5621,
377,
202,
430,
12443,
25724,
422,
446,
13,
747,
261,
18661,
422,
446,
13,
747,
261,
87,
3809,
422,
446,
3719,
377,
202,
202,
2463,
446,
31,
377,
202,
2463,
19952,
9078,
4898,
15,
25724,
15,
18661,
9078,
1199,
15,
87,
3809,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3238,
760,
727,
514,
5070,
461,
12,
6494,
15411,
13,
288,
377,
202,
780,
19952,
273,
16717,
24198,
18,
1106,
18,
588,
2261,
7675,
17994,
7675,
2079,
2668,
1093,
11189,
2473,
1769,
377,
202,
780,
11307,
273,
336,
9313,
2244,
5621,
377,
202,
780,
7689,
273,
2108,
3132,
461,
12,
16689,
1235,
1769,
377,
202,
780,
272,
3809,
273,
336,
9313,
5791,
5621,
377,
202,
430,
12443,
25724,
422,
446,
13,
747,
261,
18661,
422,
446,
13,
747,
261,
87,
3809,
422,
446,
3719,
377,
202,
202,
2463,
446,
31,
377,
202,
2463,
19952,
9078,
4898,
15,
25724,
15,
18661,
9078,
1199,
15,
87,
3809,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
LOG.debug("Acquired primary read lock", e); | protected void acquirePrimaryReadLock() throws InterruptedException { if (LOG.isDebugEnabled()) { try { throw new RuntimeException("TRACE ONLY"); } catch (RuntimeException e) { LOG.debug("About to acquire primary read lock", e); } } primaryReadWriteLock.readLock().acquire(); if (LOG.isDebugEnabled()) { try { throw new RuntimeException("TRACE ONLY"); } catch (RuntimeException e) { LOG.debug("Acquired primary read lock", e); } } } | 4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/15cb5c2120cc462523fdfe1f90b82458c98f550b/ConnectionPool.java/buggy/src/java/org/logicalcobwebs/proxool/ConnectionPool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
10533,
6793,
1994,
2531,
1435,
1216,
7558,
288,
3639,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
5411,
775,
288,
7734,
604,
394,
3235,
2932,
23827,
20747,
8863,
5411,
289,
1044,
261,
11949,
425,
13,
288,
7734,
2018,
18,
4148,
2932,
24813,
358,
10533,
3354,
855,
2176,
3113,
425,
1769,
5411,
289,
3639,
289,
3639,
3354,
1994,
3067,
2531,
18,
896,
2531,
7675,
1077,
1039,
5621,
3639,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
5411,
775,
288,
7734,
604,
394,
3235,
2932,
23827,
20747,
8863,
5411,
289,
1044,
261,
11949,
425,
13,
288,
21821,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
10533,
6793,
1994,
2531,
1435,
1216,
7558,
288,
3639,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
5411,
775,
288,
7734,
604,
394,
3235,
2932,
23827,
20747,
8863,
5411,
289,
1044,
261,
11949,
425,
13,
288,
7734,
2018,
18,
4148,
2932,
24813,
358,
10533,
3354,
855,
2176,
3113,
425,
1769,
5411,
289,
3639,
289,
3639,
3354,
1994,
3067,
2531,
18,
896,
2531,
7675,
1077,
1039,
5621,
3639,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
5411,
775,
288,
7734,
604,
394,
3235,
2932,
23827,
20747,
8863,
5411,
289,
1044,
261,
11949,
425,
13,
288,
21821,
289,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | |
AST tmp2122_AST_in = (AST)_t; | AST tmp2125_AST_in = (AST)_t; | public final void formatphrase(AST _t) throws RecognitionException { AST formatphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1405 = _t; AST tmp2106_AST_in = (AST)_t; match(_t,Format_phrase); _t = _t.getFirstChild(); { int _cnt1419=0; _loop1419: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AS: { AST __t1407 = _t; AST tmp2107_AST_in = (AST)_t; match(_t,AS); _t = _t.getFirstChild(); datatype_var(_t); _t = _retTree; _t = __t1407; _t = _t.getNextSibling(); break; } case AT: { atphrase(_t); _t = _retTree; break; } case ATTRSPACE: { AST tmp2108_AST_in = (AST)_t; match(_t,ATTRSPACE); _t = _t.getNextSibling(); break; } case NOATTRSPACE: { AST tmp2109_AST_in = (AST)_t; match(_t,NOATTRSPACE); _t = _t.getNextSibling(); break; } case AUTORETURN: { AST tmp2110_AST_in = (AST)_t; match(_t,AUTORETURN); _t = _t.getNextSibling(); break; } case BGCOLOR: case DCOLOR: case FGCOLOR: case PFCOLOR: { color_expr(_t); _t = _retTree; break; } case CONTEXTHELPID: { AST __t1408 = _t; AST tmp2111_AST_in = (AST)_t; match(_t,CONTEXTHELPID); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1408; _t = _t.getNextSibling(); break; } case BLANK: { AST tmp2112_AST_in = (AST)_t; match(_t,BLANK); _t = _t.getNextSibling(); break; } case COLON: { AST __t1409 = _t; AST tmp2113_AST_in = (AST)_t; match(_t,COLON); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1409; _t = _t.getNextSibling(); break; } case TO: { AST __t1410 = _t; AST tmp2114_AST_in = (AST)_t; match(_t,TO); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1410; _t = _t.getNextSibling(); break; } case DEBLANK: { AST tmp2115_AST_in = (AST)_t; match(_t,DEBLANK); _t = _t.getNextSibling(); break; } case DISABLEAUTOZAP: { AST tmp2116_AST_in = (AST)_t; match(_t,DISABLEAUTOZAP); _t = _t.getNextSibling(); break; } case FONT: { AST __t1411 = _t; AST tmp2117_AST_in = (AST)_t; match(_t,FONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1411; _t = _t.getNextSibling(); break; } case FORMAT: { AST __t1412 = _t; AST tmp2118_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1412; _t = _t.getNextSibling(); break; } case HELP: { AST __t1413 = _t; AST tmp2119_AST_in = (AST)_t; match(_t,HELP); _t = _t.getFirstChild(); constant(_t); _t = _retTree; _t = __t1413; _t = _t.getNextSibling(); break; } case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case LEXAT: { AST __t1414 = _t; AST tmp2120_AST_in = (AST)_t; match(_t,LEXAT); _t = _t.getFirstChild(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1414; _t = _t.getNextSibling(); break; } case LIKE: { AST __t1416 = _t; AST tmp2121_AST_in = (AST)_t; match(_t,LIKE); _t = _t.getFirstChild(); field(_t); _t = _retTree; _t = __t1416; _t = _t.getNextSibling(); break; } case NOLABELS: { AST tmp2122_AST_in = (AST)_t; match(_t,NOLABELS); _t = _t.getNextSibling(); break; } case NOTABSTOP: { AST tmp2123_AST_in = (AST)_t; match(_t,NOTABSTOP); _t = _t.getNextSibling(); break; } case VALIDATE: { AST __t1417 = _t; AST tmp2124_AST_in = (AST)_t; match(_t,VALIDATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1417; _t = _t.getNextSibling(); break; } case WHEN: { AST __t1418 = _t; AST tmp2125_AST_in = (AST)_t; match(_t,WHEN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1418; _t = _t.getNextSibling(); break; } case VIEWAS: { viewasphrase(_t); _t = _retTree; break; } case WIDGETID: { widget_id(_t); _t = _retTree; break; } default: { if ( _cnt1419>=1 ) { break _loop1419; } else {throw new NoViableAltException(_t);} } } _cnt1419++; } while (true); } _t = __t1405; _t = _t.getNextSibling(); _retTree = _t; } | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
740,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
740,
9429,
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,
3461,
6260,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
22135,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
1630,
67,
9429,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
474,
389,
13085,
3461,
3657,
33,
20,
31,
202,
202,
67,
6498,
3461,
3657,
30,
202,
202,
2896,
288,
1082,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
1082,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
1082,
202,
3593,
5355,
30,
1082,
202,
95,
9506,
202,
9053,
1001,
88,
3461,
8642,
273,
389,
88,
31,
9506,
202,
9053,
1853,
22,
23054,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
9506,
202,
1916,
24899,
88,
16,
3033,
1769,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
9506,
202,
21540,
67,
1401,
24899,
88,
1769,
9506,
202,
67,
88,
273,
389,
1349,
2471,
31,
9506,
202,
67,
88,
273,
1001,
88,
3461,
8642,
31,
9506,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
14464,
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,
740,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
740,
9429,
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,
3461,
6260,
273,
389,
88,
31,
202,
202,
9053,
1853,
22,
22135,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
1630,
67,
9429,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
95,
202,
202,
474,
389,
13085,
3461,
3657,
33,
20,
31,
202,
202,
67,
6498,
3461,
3657,
30,
202,
202,
2896,
288,
1082,
202,
430,
261,
2
] |
while (current.parent != null && current.parent.child[0] != current) | while (current.parent.child[0] != current) | public PAVLSortedTreeNode nextNode() { PAVLSortedTreeNode current = this; if (current.child[1] != null) { current = current.child[1]; while (current.child[0] != null) current = current.child[0]; return current; } // In our implementation, current.parent cannot be // null because our tree has a dummy root node; // keep this test anyway, this may change later. while (current.parent != null && current.parent.child[0] != current) current = current.parent; return current.parent; } | 45433 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45433/1003d5dca0ec984609a6faafbd090f3e80e8ae55/PAVLSortedTree.java/buggy/amibe/src/org/jcae/mesh/amibe/util/PAVLSortedTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
453,
5856,
3045,
24726,
12513,
22858,
1435,
202,
202,
95,
1082,
202,
4066,
58,
3045,
24726,
12513,
783,
273,
333,
31,
1082,
202,
430,
261,
2972,
18,
3624,
63,
21,
65,
480,
446,
13,
1082,
202,
95,
9506,
202,
2972,
273,
783,
18,
3624,
63,
21,
15533,
9506,
202,
17523,
261,
2972,
18,
3624,
63,
20,
65,
480,
446,
13,
6862,
202,
2972,
273,
783,
18,
3624,
63,
20,
15533,
9506,
202,
2463,
783,
31,
1082,
202,
97,
1082,
202,
759,
657,
3134,
4471,
16,
783,
18,
2938,
2780,
506,
1082,
202,
759,
446,
2724,
3134,
2151,
711,
279,
9609,
1365,
756,
31,
1082,
202,
759,
3455,
333,
1842,
13466,
16,
333,
2026,
2549,
5137,
18,
1082,
202,
17523,
261,
2972,
18,
2938,
480,
446,
597,
783,
18,
2938,
18,
3624,
63,
20,
65,
480,
783,
13,
9506,
202,
2972,
273,
783,
18,
2938,
31,
1082,
202,
2463,
783,
18,
2938,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
453,
5856,
3045,
24726,
12513,
22858,
1435,
202,
202,
95,
1082,
202,
4066,
58,
3045,
24726,
12513,
783,
273,
333,
31,
1082,
202,
430,
261,
2972,
18,
3624,
63,
21,
65,
480,
446,
13,
1082,
202,
95,
9506,
202,
2972,
273,
783,
18,
3624,
63,
21,
15533,
9506,
202,
17523,
261,
2972,
18,
3624,
63,
20,
65,
480,
446,
13,
6862,
202,
2972,
273,
783,
18,
3624,
63,
20,
15533,
9506,
202,
2463,
783,
31,
1082,
202,
97,
1082,
202,
759,
657,
3134,
4471,
16,
783,
18,
2938,
2780,
506,
1082,
202,
759,
446,
2724,
3134,
2151,
711,
279,
9609,
1365,
756,
31,
1082,
202,
759,
3455,
333,
1842,
13466,
16,
333,
2026,
2549,
5137,
18,
2
] |
return getAtomColor(a, DEEP_PINK); | return getAtomColor(atom, DEEP_PINK); | public Color getAtomColor(IAtom a) { return getAtomColor(a, DEEP_PINK); } | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/e2c153323504e5d03ec329ddfdb2418b71bfcc2e/CPKAtomColors.java/clean/src/org/openscience/cdk/renderer/color/CPKAtomColors.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5563,
12358,
2957,
12,
45,
3641,
279,
13,
565,
288,
3639,
327,
12358,
2957,
12,
7466,
16,
2030,
10541,
67,
52,
8476,
1769,
565,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5563,
12358,
2957,
12,
45,
3641,
279,
13,
565,
288,
3639,
327,
12358,
2957,
12,
7466,
16,
2030,
10541,
67,
52,
8476,
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
] |
return width > 0 && height > 0 && r.width > 0 && r.height > 0 && r.x >= x && r.x + r.width <= x + width && r.y >= y && r.y + r.height <= y + height; | return contains (p.x, p.y); | public boolean contains(Rectangle r) { return width > 0 && height > 0 && r.width > 0 && r.height > 0 && r.x >= x && r.x + r.width <= x + width && r.y >= y && r.y + r.height <= y + height; } | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/3fe1c14284ce32b79d0e66441aec6a45a77ff684/Rectangle.java/buggy/libjava/java/awt/Rectangle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1914,
12,
19463,
436,
13,
225,
288,
565,
327,
1835,
405,
374,
597,
2072,
405,
374,
597,
436,
18,
2819,
405,
374,
597,
436,
18,
4210,
405,
374,
1377,
597,
436,
18,
92,
1545,
619,
597,
436,
18,
92,
397,
436,
18,
2819,
1648,
619,
397,
1835,
1377,
597,
436,
18,
93,
1545,
677,
597,
436,
18,
93,
397,
436,
18,
4210,
1648,
677,
397,
2072,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
1250,
1914,
12,
19463,
436,
13,
225,
288,
565,
327,
1835,
405,
374,
597,
2072,
405,
374,
597,
436,
18,
2819,
405,
374,
597,
436,
18,
4210,
405,
374,
1377,
597,
436,
18,
92,
1545,
619,
597,
436,
18,
92,
397,
436,
18,
2819,
1648,
619,
397,
1835,
1377,
597,
436,
18,
93,
1545,
677,
597,
436,
18,
93,
397,
436,
18,
4210,
1648,
677,
397,
2072,
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
] |
window.getFastViewBar().update(true); | window.updateFastViewBar(); | public void addFastView(IViewReference ref) { Perspective persp = getActivePerspective(); if (persp == null) return; // If view is zoomed unzoom. if (isZoomed() && partChangeAffectsZoom(ref)) zoomOut(); // Do real work. persp.addFastView(ref); // The view is now invisible. // If it is active then deactivate it. if (ref.getPart(false) == activePart) { activate(activationList.getActive()); } // Notify listeners. window.getFastViewBar().update(true); window.firePerspectiveChanged( this, getPerspective(), CHANGE_FAST_VIEW_ADD); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7cb20e653b9445ef510b197ad64e7dccb0a3e8b2/WorkbenchPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
12305,
1767,
12,
45,
1767,
2404,
1278,
13,
288,
202,
202,
14781,
16772,
13508,
84,
273,
11960,
14781,
16772,
5621,
202,
202,
430,
261,
10422,
84,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
759,
971,
1476,
353,
7182,
329,
640,
14932,
18,
202,
202,
430,
261,
291,
11497,
329,
1435,
597,
1087,
3043,
37,
3736,
87,
11497,
12,
1734,
3719,
1082,
202,
14932,
1182,
5621,
202,
202,
759,
2256,
2863,
1440,
18,
202,
202,
10422,
84,
18,
1289,
12305,
1767,
12,
1734,
1769,
202,
202,
759,
1021,
1476,
353,
2037,
24697,
18,
202,
202,
759,
971,
518,
353,
2695,
1508,
18790,
518,
18,
202,
202,
430,
261,
1734,
18,
588,
1988,
12,
5743,
13,
422,
2695,
1988,
13,
288,
1082,
202,
10014,
12,
16908,
682,
18,
588,
3896,
10663,
202,
202,
97,
202,
202,
759,
10918,
4679,
18,
202,
202,
5668,
18,
588,
12305,
1767,
5190,
7675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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,
527,
12305,
1767,
12,
45,
1767,
2404,
1278,
13,
288,
202,
202,
14781,
16772,
13508,
84,
273,
11960,
14781,
16772,
5621,
202,
202,
430,
261,
10422,
84,
422,
446,
13,
1082,
202,
2463,
31,
202,
202,
759,
971,
1476,
353,
7182,
329,
640,
14932,
18,
202,
202,
430,
261,
291,
11497,
329,
1435,
597,
1087,
3043,
37,
3736,
87,
11497,
12,
1734,
3719,
1082,
202,
14932,
1182,
5621,
202,
202,
759,
2256,
2863,
1440,
18,
202,
202,
10422,
84,
18,
1289,
12305,
1767,
12,
1734,
1769,
202,
202,
759,
1021,
1476,
353,
2037,
24697,
18,
202,
202,
759,
971,
518,
353,
2695,
1508,
18790,
518,
18,
202,
202,
430,
261,
1734,
18,
588,
1988,
12,
2
] |
restartIntervalLabel = new JLabel(I18n.getMessage("thaw.plugin.restarter.interval")); restartIntervalField = new JTextField(Integer.toString(interval)); | this.restartIntervalLabel = new JLabel(I18n.getMessage("thaw.plugin.restarter.interval")); this.restartIntervalField = new JTextField(Integer.toString(this.interval)); | public boolean run(Core core) { this.core = core; /* Reloading value from the configuration */ try { if(core.getConfig().getValue("restartInterval") != null && core.getConfig().getValue("restartFatals") != null) { interval = Integer.parseInt(core.getConfig().getValue("restartInterval")); restartFatals = Boolean.valueOf(core.getConfig().getValue("restartFatals")).booleanValue(); } } catch(Exception e) { /* probably conversion errors */ /* Yes I know, it's dirty */ Logger.notice(this, "Unable to read / understand value from the config. Using default values"); } /* Adding restart config tab to the config window */ configPanel = new JPanel(); configPanel.setLayout(new GridLayout(15, 1)); restartIntervalLabel = new JLabel(I18n.getMessage("thaw.plugin.restarter.interval")); restartIntervalField = new JTextField(Integer.toString(interval)); restartFatalsBox = new JCheckBox(I18n.getMessage("thaw.plugin.restarter.restartFatals"), restartFatals); configPanel.add(restartIntervalLabel); configPanel.add(restartIntervalField); configPanel.add(restartFatalsBox); core.getConfigWindow().addTab(I18n.getMessage("thaw.plugin.restarter.configTabName"), configPanel); core.getConfigWindow().addObserver(this); running = true; restarter = new Thread(this); restarter.start(); return true; } | 47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/Restarter.java/buggy/src/thaw/plugins/Restarter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1086,
12,
4670,
2922,
13,
288,
202,
202,
2211,
18,
3644,
273,
2922,
31,
202,
202,
20308,
23086,
310,
460,
628,
326,
1664,
1195,
202,
202,
698,
288,
1082,
202,
430,
12,
3644,
18,
588,
809,
7675,
24805,
2932,
19164,
4006,
7923,
480,
446,
9506,
282,
597,
2922,
18,
588,
809,
7675,
24805,
2932,
19164,
42,
270,
1031,
7923,
480,
446,
13,
288,
9506,
202,
6624,
273,
2144,
18,
2670,
1702,
12,
3644,
18,
588,
809,
7675,
24805,
2932,
19164,
4006,
7923,
1769,
9506,
202,
19164,
42,
270,
1031,
273,
3411,
18,
1132,
951,
12,
3644,
18,
588,
809,
7675,
24805,
2932,
19164,
42,
270,
1031,
7923,
2934,
6494,
620,
5621,
1082,
202,
97,
202,
202,
97,
1044,
12,
503,
425,
13,
288,
1748,
8656,
4105,
1334,
1195,
1748,
19925,
467,
5055,
16,
518,
1807,
9603,
1195,
1082,
202,
3328,
18,
20392,
12,
2211,
16,
315,
3370,
358,
855,
342,
22413,
460,
628,
326,
642,
18,
11637,
805,
924,
8863,
202,
202,
97,
9506,
202,
20308,
21240,
7870,
642,
3246,
358,
326,
642,
2742,
1195,
202,
202,
1425,
5537,
273,
394,
24048,
5621,
202,
202,
1425,
5537,
18,
542,
3744,
12,
2704,
7145,
3744,
12,
3600,
16,
404,
10019,
202,
202,
19164,
4006,
2224,
273,
394,
21403,
12,
45,
2643,
82,
18,
24906,
2932,
451,
2219,
18,
4094,
18,
8792,
14153,
18,
6624,
7923,
1769,
202,
202,
19164,
4006,
974,
273,
394,
804,
16157,
12,
4522,
18,
10492,
12,
6624,
10019,
9506,
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,
1250,
1086,
12,
4670,
2922,
13,
288,
202,
202,
2211,
18,
3644,
273,
2922,
31,
202,
202,
20308,
23086,
310,
460,
628,
326,
1664,
1195,
202,
202,
698,
288,
1082,
202,
430,
12,
3644,
18,
588,
809,
7675,
24805,
2932,
19164,
4006,
7923,
480,
446,
9506,
282,
597,
2922,
18,
588,
809,
7675,
24805,
2932,
19164,
42,
270,
1031,
7923,
480,
446,
13,
288,
9506,
202,
6624,
273,
2144,
18,
2670,
1702,
12,
3644,
18,
588,
809,
7675,
24805,
2932,
19164,
4006,
7923,
1769,
9506,
202,
19164,
42,
270,
1031,
273,
3411,
18,
1132,
951,
12,
3644,
18,
588,
809,
7675,
24805,
2932,
19164,
42,
270,
1031,
7923,
2934,
6494,
620,
5621,
1082,
202,
97,
202,
2
] |
if (_log.shouldLog(Log.INFO)) _log.info(getJobId() + ": No peers left, but some are pending! Pending: " + _state.getPending().size() + " attempted: " + _state.getAttempted().size() + " failed: " + _state.getFailed().size()); requeuePending(); return; } } else { _state.addPending(closestHashes); int sent = 0; for (Iterator iter = closestHashes.iterator(); iter.hasNext(); ) { Hash peer = (Hash)iter.next(); DataStructure ds = _facade.getDataStore().get(peer); if ( (ds == null) || !(ds instanceof RouterInfo) ) { if (_log.shouldLog(Log.WARN)) _log.warn(getJobId() + ": Error selecting closest hash that wasnt a router! " + peer + " : " + (ds == null ? "null" : ds.getClass().getName())); _state.replyTimeout(peer); } else { if (getContext().shitlist().isShitlisted(peer)) { | attempted.addAll(closestHashes); for (Iterator iter = closestHashes.iterator(); iter.hasNext(); ) { Hash peer = (Hash)iter.next(); DataStructure ds = _facade.getDataStore().get(peer); if (ds == null) { if (_log.shouldLog(Log.INFO)) _log.info("Next closest peer " + peer + " was only recently referred to us, sending a search for them"); getContext().netDb().lookupRouterInfo(peer, null, null, _timeoutMs); } else if (!(ds instanceof RouterInfo)) { if (_log.shouldLog(Log.WARN)) _log.warn(getJobId() + ": Error selecting closest hash that wasnt a router! " + peer + " : " + (ds == null ? "null" : ds.getClass().getName())); _state.replyTimeout(peer); | protected void continueSearch() { if (_state.completed()) { if (_log.shouldLog(Log.DEBUG)) _log.debug(getJobId() + ": Search already completed", new Exception("already completed")); return; } int toCheck = getBredth() - _state.getPending().size(); if (toCheck <= 0) { // too many already pending if (_log.shouldLog(Log.INFO)) _log.info(getJobId() + ": Too many searches already pending (pending: " + _state.getPending().size() + " max: " + getBredth() + ")"); requeuePending(); return; } List closestHashes = getClosestRouters(_state.getTarget(), toCheck, _state.getAttempted()); if ( (closestHashes == null) || (closestHashes.size() <= 0) ) { if (_state.getPending().size() <= 0) { // we tried to find some peers, but there weren't any and no one else is going to answer if (_log.shouldLog(Log.INFO)) _log.info(getJobId() + ": No peers left, and none pending! Already searched: " + _state.getAttempted().size() + " failed: " + _state.getFailed().size()); fail(); } else { // no more to try, but we might get data or close peers from some outstanding requests if (_log.shouldLog(Log.INFO)) _log.info(getJobId() + ": No peers left, but some are pending! Pending: " + _state.getPending().size() + " attempted: " + _state.getAttempted().size() + " failed: " + _state.getFailed().size()); requeuePending(); return; } } else { _state.addPending(closestHashes); int sent = 0; for (Iterator iter = closestHashes.iterator(); iter.hasNext(); ) { Hash peer = (Hash)iter.next(); DataStructure ds = _facade.getDataStore().get(peer); if ( (ds == null) || !(ds instanceof RouterInfo) ) { if (_log.shouldLog(Log.WARN)) _log.warn(getJobId() + ": Error selecting closest hash that wasnt a router! " + peer + " : " + (ds == null ? "null" : ds.getClass().getName())); _state.replyTimeout(peer); } else { if (getContext().shitlist().isShitlisted(peer)) { // dont bother } else { sendSearch((RouterInfo)ds); sent++; } } } if (sent <= 0) { // the (potentially) last peers being searched for could not be, // er, searched for, so lets retry ASAP (causing either another // peer to be selected, or the whole search to fail) if (_log.shouldLog(Log.WARN)) _log.warn(getJobId() + ": No new peer queued up, so we are going to requeue " + "ourselves in our search for " + _state.getTarget().toBase64()); requeuePending(0); } } } | 27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/4de302101d04a59011b067fbb46e2aee7885335f/SearchJob.java/clean/router/java/src/net/i2p/router/networkdb/kademlia/SearchJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1324,
2979,
1435,
288,
540,
309,
261,
67,
2019,
18,
13615,
10756,
288,
5411,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
7734,
389,
1330,
18,
4148,
12,
588,
23378,
1435,
397,
6398,
5167,
1818,
5951,
3113,
394,
1185,
2932,
17583,
5951,
7923,
1769,
5411,
327,
31,
3639,
289,
3639,
509,
358,
1564,
273,
2882,
1118,
451,
1435,
300,
389,
2019,
18,
588,
8579,
7675,
1467,
5621,
3639,
309,
261,
869,
1564,
1648,
374,
13,
288,
5411,
368,
4885,
4906,
1818,
4634,
5411,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
5923,
3719,
7734,
389,
1330,
18,
1376,
12,
588,
23378,
1435,
397,
6398,
15869,
4906,
16662,
1818,
4634,
261,
9561,
30,
315,
21821,
397,
389,
2019,
18,
588,
8579,
7675,
1467,
1435,
397,
315,
943,
30,
315,
397,
2882,
1118,
451,
1435,
397,
7310,
1769,
5411,
1111,
1455,
8579,
5621,
5411,
327,
31,
3639,
289,
540,
987,
9219,
14455,
273,
1927,
383,
7781,
4583,
414,
24899,
2019,
18,
588,
2326,
9334,
358,
1564,
16,
389,
2019,
18,
588,
28788,
10663,
3639,
309,
261,
261,
7550,
7781,
14455,
422,
446,
13,
747,
261,
7550,
7781,
14455,
18,
1467,
1435,
1648,
374,
13,
262,
288,
5411,
309,
261,
67,
2019,
18,
588,
8579,
7675,
1467,
1435,
1648,
374,
13,
288,
7734,
368,
732,
12928,
358,
1104,
2690,
10082,
16,
1496,
1915,
22646,
275,
1404,
1281,
471,
1158,
1245,
469,
353,
8554,
358,
5803,
7734,
309,
261,
67,
1330,
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,
4750,
918,
1324,
2979,
1435,
288,
540,
309,
261,
67,
2019,
18,
13615,
10756,
288,
5411,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
7734,
389,
1330,
18,
4148,
12,
588,
23378,
1435,
397,
6398,
5167,
1818,
5951,
3113,
394,
1185,
2932,
17583,
5951,
7923,
1769,
5411,
327,
31,
3639,
289,
3639,
509,
358,
1564,
273,
2882,
1118,
451,
1435,
300,
389,
2019,
18,
588,
8579,
7675,
1467,
5621,
3639,
309,
261,
869,
1564,
1648,
374,
13,
288,
5411,
368,
4885,
4906,
1818,
4634,
5411,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
5923,
3719,
7734,
389,
1330,
18,
1376,
12,
588,
23378,
1435,
397,
6398,
15869,
4906,
16662,
1818,
4634,
261,
2
] |
Logger.debug(this, "" + (System.currentTimeMillis() % 60000) + " " + _sock.getPort() + " -> " + destination | Logger.debug(this, "" + (System.currentTimeMillis() % 60000) + ' ' + _sock.getPort() + " -> " + destination | public void send(PeerContext destination, Message m, ByteCounter ctr) throws NotConnectedException { if(m.getSpec().isInternalOnly()) { Logger.error(this, "Trying to send internal-only message "+m+" of spec "+m.getSpec(), new Exception("debug")); return; } if ((m.getSpec().equals(DMT.ping) || m.getSpec().equals(DMT.pong)) && logMINOR) { if(Logger.shouldLog(Logger.DEBUG, this)) Logger.debug(this, "" + (System.currentTimeMillis() % 60000) + " " + _sock.getPort() + " -> " + destination + " : " + m); } else { if(logMINOR) Logger.minor(this, "" + (System.currentTimeMillis() % 60000) + " " + _sock.getPort() + " -> " + destination + " : " + m); }// byte[] blockToSend = m.encodeToPacket(lowLevelFilter, destination);// if(lowLevelFilter != null) {// try {// lowLevelFilter.processOutgoing(blockToSend, 0, blockToSend.length, destination);// return;// } catch (LowLevelFilterException t) {// Logger.error(this, "Caught "+t+" sending "+m+" to "+destination, t);// destination.forceDisconnect();// throw new NotConnectedException("Error "+t.toString()+" forced disconnect");// }// } else {// sendPacket(blockToSend, destination.getPeer());// } ((PeerNode)destination).sendAsync(m, null, 0, ctr); } | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/62fd59041864b4ed1f43adc676de6bfb5ea977f3/UdpSocketManager.java/buggy/src/freenet/io/comm/UdpSocketManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1366,
12,
6813,
1042,
2929,
16,
2350,
312,
16,
3506,
4789,
14629,
13,
1216,
31541,
503,
288,
202,
565,
309,
12,
81,
18,
588,
1990,
7675,
291,
3061,
3386,
10756,
288,
202,
3639,
4242,
18,
1636,
12,
2211,
16,
315,
18038,
358,
1366,
2713,
17,
3700,
883,
13773,
81,
9078,
434,
857,
13773,
81,
18,
588,
1990,
9334,
394,
1185,
2932,
4148,
7923,
1769,
202,
3639,
327,
31,
202,
565,
289,
202,
202,
430,
14015,
81,
18,
588,
1990,
7675,
14963,
12,
40,
6152,
18,
1382,
13,
747,
312,
18,
588,
1990,
7675,
14963,
12,
40,
6152,
18,
500,
75,
3719,
597,
613,
6236,
916,
13,
288,
1082,
202,
430,
12,
3328,
18,
13139,
1343,
12,
3328,
18,
9394,
16,
333,
3719,
9506,
202,
3328,
18,
4148,
12,
2211,
16,
1408,
397,
261,
3163,
18,
2972,
28512,
1435,
738,
1666,
2787,
13,
397,
315,
315,
397,
389,
15031,
18,
588,
2617,
1435,
397,
315,
317,
315,
397,
2929,
25083,
202,
15,
315,
294,
315,
397,
312,
1769,
202,
202,
97,
469,
288,
1082,
202,
430,
12,
1330,
6236,
916,
13,
4242,
18,
17364,
12,
2211,
16,
1408,
397,
261,
3163,
18,
2972,
28512,
1435,
738,
1666,
2787,
13,
397,
315,
315,
397,
389,
15031,
18,
588,
2617,
1435,
397,
315,
317,
315,
397,
2929,
6862,
202,
15,
315,
294,
315,
397,
312,
1769,
202,
202,
97,
759,
202,
202,
7229,
8526,
1203,
28878,
273,
312,
18,
3015,
774,
6667,
12,
821,
2355,
1586,
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,
1366,
12,
6813,
1042,
2929,
16,
2350,
312,
16,
3506,
4789,
14629,
13,
1216,
31541,
503,
288,
202,
565,
309,
12,
81,
18,
588,
1990,
7675,
291,
3061,
3386,
10756,
288,
202,
3639,
4242,
18,
1636,
12,
2211,
16,
315,
18038,
358,
1366,
2713,
17,
3700,
883,
13773,
81,
9078,
434,
857,
13773,
81,
18,
588,
1990,
9334,
394,
1185,
2932,
4148,
7923,
1769,
202,
3639,
327,
31,
202,
565,
289,
202,
202,
430,
14015,
81,
18,
588,
1990,
7675,
14963,
12,
40,
6152,
18,
1382,
13,
747,
312,
18,
588,
1990,
7675,
14963,
12,
40,
6152,
18,
500,
75,
3719,
597,
613,
6236,
916,
13,
288,
1082,
202,
430,
12,
3328,
18,
13139,
1343,
2
] |
e.consume(); | ke.consume(); | FindFunction(Main db, Hashtable functionMap, String title, String labelText) { super(db, title, true); this.functionMap = functionMap; this.db = db; cancelButton = new JButton("Cancel"); setButton = new JButton("Select"); cancelButton.addActionListener(this); setButton.addActionListener(this); getRootPane().setDefaultButton(setButton); list = new JList(new DefaultListModel()); DefaultListModel model = (DefaultListModel)list.getModel(); model.clear(); Enumeration e = functionMap.keys(); String[] a = new String[functionMap.size()]; int i = 0; while(e.hasMoreElements()) { a[i++] = e.nextElement().toString(); } java.util.Arrays.sort(a); for(i = 0; i < a.length; i++) { model.addElement(a[i]); } list.setSelectedIndex(0); setButton.setEnabled(a.length > 0); list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION); list.addMouseListener(new MouseHandler()); JScrollPane listScroller = new JScrollPane(list); listScroller.setPreferredSize(new Dimension(320, 240)); listScroller.setMinimumSize(new Dimension(250, 80)); listScroller.setAlignmentX(LEFT_ALIGNMENT); //Create a container so that we can add a title around //the scroll pane. Can't add a title directly to the //scroll pane because its background would be white. //Lay out the label and scroll pane from top to button. JPanel listPane = new JPanel(); listPane.setLayout(new BoxLayout(listPane, BoxLayout.Y_AXIS)); JLabel label = new JLabel(labelText); label.setLabelFor(list); listPane.add(label); listPane.add(Box.createRigidArea(new Dimension(0,5))); listPane.add(listScroller); listPane.setBorder(BorderFactory.createEmptyBorder(10,10,10,10)); //Lay out the buttons from left to right. JPanel buttonPane = new JPanel(); buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.X_AXIS)); buttonPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10)); buttonPane.add(Box.createHorizontalGlue()); buttonPane.add(cancelButton); buttonPane.add(Box.createRigidArea(new Dimension(10, 0))); buttonPane.add(setButton); //Put everything together, using the content pane's BorderLayout. Container contentPane = getContentPane(); contentPane.add(listPane, BorderLayout.CENTER); contentPane.add(buttonPane, BorderLayout.SOUTH); pack(); addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent e) { int code = e.getKeyCode(); if(code == KeyEvent.VK_ESCAPE) { e.consume(); value = null; setVisible(false); } } }); } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/fee3ba80bb16aec6fb9bfc21ed977d42cc7df7d1/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4163,
2083,
12,
6376,
1319,
16,
18559,
445,
863,
16,
1082,
514,
2077,
16,
1082,
514,
1433,
1528,
13,
288,
202,
9565,
12,
1966,
16,
2077,
16,
638,
1769,
202,
2211,
18,
915,
863,
273,
445,
863,
31,
202,
2211,
18,
1966,
273,
1319,
31,
202,
10996,
3616,
273,
394,
28804,
2932,
6691,
8863,
202,
542,
3616,
273,
394,
28804,
2932,
3391,
8863,
202,
10996,
3616,
18,
1289,
1803,
2223,
12,
2211,
1769,
202,
542,
3616,
18,
1289,
1803,
2223,
12,
2211,
1769,
202,
588,
2375,
8485,
7675,
542,
1868,
3616,
12,
542,
3616,
1769,
202,
1098,
273,
394,
804,
682,
12,
2704,
2989,
682,
1488,
10663,
202,
1868,
682,
1488,
938,
273,
261,
1868,
682,
1488,
13,
1098,
18,
588,
1488,
5621,
202,
2284,
18,
8507,
5621,
202,
21847,
425,
273,
445,
863,
18,
2452,
5621,
202,
780,
8526,
279,
273,
394,
514,
63,
915,
863,
18,
1467,
1435,
15533,
202,
474,
277,
273,
374,
31,
202,
17523,
12,
73,
18,
5332,
7417,
3471,
10756,
288,
202,
565,
279,
63,
77,
9904,
65,
273,
425,
18,
4285,
1046,
7675,
10492,
5621,
202,
97,
202,
6290,
18,
1367,
18,
12726,
18,
3804,
12,
69,
1769,
202,
1884,
12,
77,
273,
374,
31,
277,
411,
279,
18,
2469,
31,
277,
27245,
288,
202,
565,
938,
18,
1289,
1046,
12,
69,
63,
77,
19226,
202,
97,
202,
1098,
18,
542,
7416,
1016,
12,
20,
1769,
202,
542,
3616,
18,
542,
1526,
12,
69,
18,
2469,
405,
374,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4163,
2083,
12,
6376,
1319,
16,
18559,
445,
863,
16,
1082,
514,
2077,
16,
1082,
514,
1433,
1528,
13,
288,
202,
9565,
12,
1966,
16,
2077,
16,
638,
1769,
202,
2211,
18,
915,
863,
273,
445,
863,
31,
202,
2211,
18,
1966,
273,
1319,
31,
202,
10996,
3616,
273,
394,
28804,
2932,
6691,
8863,
202,
542,
3616,
273,
394,
28804,
2932,
3391,
8863,
202,
10996,
3616,
18,
1289,
1803,
2223,
12,
2211,
1769,
202,
542,
3616,
18,
1289,
1803,
2223,
12,
2211,
1769,
202,
588,
2375,
8485,
7675,
542,
1868,
3616,
12,
542,
3616,
1769,
202,
1098,
273,
394,
804,
682,
12,
2704,
2989,
682,
1488,
10663,
202,
1868,
682,
1488,
938,
273,
261,
1868,
682,
1488,
13,
2
] |
buf.append(" </tr>\n"); | buf.append(" </td>\n"); | public String toString() { StringBuffer buf = new StringBuffer(); buf.append("<table>\n"); buf.append(" <tr>\n"); for (Cell cell : getColumnHeaders()) { buf.append(" <th style=\"" + cell.getStyleClass() + "\">\n"); if (cell.getLink() != null) { buf.append(" <a href=\"" + Util.htmlify(cell.getLink()) + "\">" + cell.getContent() + "</a>\n"); } else { buf.append(" " + cell.getContent() + "\n"); } buf.append(" </th>\n"); } buf.append(" </tr>\n"); for (List<Cell> cells : getRows()) { buf.append(" <tr>\n"); for (Cell cell : cells) { buf.append(" <tr style=\"" + cell.getStyleClass() + "\">\n"); if (cell.getLink() != null) { buf.append(" <a href=\"" + Util.htmlify(cell.getLink()) + "\">" + cell.getContent() + "</a>\n"); } else { buf.append(" " + cell.getContent() + "\n"); } buf.append(" </tr>\n"); } buf.append(" </tr>\n"); } buf.append("</table>\n"); return buf.toString(); } | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/d347fd55e8d2deeb00e47c573e4547df1b03f81e/SimpleWebTable.java/buggy/opennms-webapp/src/main/java/org/opennms/web/svclayer/SimpleWebTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
7734,
1681,
18,
6923,
2932,
32,
2121,
5333,
82,
8863,
3639,
1681,
18,
6923,
2932,
225,
411,
313,
5333,
82,
8863,
3639,
364,
261,
4020,
2484,
294,
6716,
3121,
10756,
288,
5411,
1681,
18,
6923,
2932,
565,
411,
451,
2154,
13186,
397,
2484,
18,
588,
2885,
797,
1435,
10792,
397,
7023,
5333,
82,
8863,
5411,
309,
261,
3855,
18,
588,
2098,
1435,
480,
446,
13,
288,
7734,
1681,
18,
6923,
2932,
1377,
411,
69,
3897,
13186,
13491,
397,
3564,
18,
2620,
1164,
12,
3855,
18,
588,
2098,
10756,
397,
7023,
2984,
13491,
397,
2484,
18,
588,
1350,
1435,
397,
6823,
69,
5333,
82,
8863,
5411,
289,
469,
288,
7734,
1681,
18,
6923,
2932,
1377,
315,
397,
2484,
18,
588,
1350,
1435,
397,
1548,
82,
8863,
5411,
289,
5411,
1681,
18,
6923,
2932,
565,
7765,
451,
5333,
82,
8863,
3639,
289,
3639,
1681,
18,
6923,
2932,
225,
7765,
313,
5333,
82,
8863,
3639,
364,
261,
682,
32,
4020,
34,
5983,
294,
22594,
10756,
288,
5411,
1681,
18,
6923,
2932,
225,
411,
313,
5333,
82,
8863,
5411,
364,
261,
4020,
2484,
294,
5983,
13,
288,
7734,
1681,
18,
6923,
2932,
565,
411,
313,
2154,
13186,
397,
2484,
18,
588,
2885,
797,
1435,
13491,
397,
7023,
5333,
82,
8863,
7734,
309,
261,
3855,
18,
588,
2098,
1435,
480,
446,
13,
288,
10792,
1681,
18,
6923,
2932,
1377,
411,
69,
3897,
13186,
18701,
397,
3564,
18,
2620,
1164,
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,
514,
1762,
1435,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
7734,
1681,
18,
6923,
2932,
32,
2121,
5333,
82,
8863,
3639,
1681,
18,
6923,
2932,
225,
411,
313,
5333,
82,
8863,
3639,
364,
261,
4020,
2484,
294,
6716,
3121,
10756,
288,
5411,
1681,
18,
6923,
2932,
565,
411,
451,
2154,
13186,
397,
2484,
18,
588,
2885,
797,
1435,
10792,
397,
7023,
5333,
82,
8863,
5411,
309,
261,
3855,
18,
588,
2098,
1435,
480,
446,
13,
288,
7734,
1681,
18,
6923,
2932,
1377,
411,
69,
3897,
13186,
13491,
397,
3564,
18,
2620,
1164,
12,
3855,
18,
588,
2098,
10756,
397,
7023,
2984,
13491,
397,
2484,
18,
588,
1350,
1435,
397,
6823,
69,
5333,
82,
8863,
5411,
289,
2
] |
_win.stop(); | _win.stop(); | public void tearDown() { _win.stop(); } | 51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/d87286058cfcbdd88699897608edd017b16ae389/AckMcastSenderWindowTest.java/clean/tests/junit/org/jgroups/tests/AckMcastSenderWindowTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
268,
2091,
4164,
1435,
288,
202,
67,
8082,
18,
5681,
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,
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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,
377,
1071,
918,
268,
2091,
4164,
1435,
288,
202,
67,
8082,
18,
5681,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 (File.separatorChar == '\\') { return fileName != null && fileName.indexOf( ':' ) <= 0; } else if (File.separatorChar == '/') { return fileName != null && !fileName.startsWith("/"); } return false; | return !new File( fileName ).isAbsolute( ); | public static boolean isRelativePath( String fileName ) { if (File.separatorChar == '\\') { // Win32 return fileName != null && fileName.indexOf( ':' ) <= 0; } else if (File.separatorChar == '/') { // Unix return fileName != null && !fileName.startsWith("/"); //$NON-NLS-1$ } return false; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/4f8d9ec70a9a4bdebe627870db17ed54ddb4e8ef/ParameterAccessor.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
353,
16519,
12,
514,
3968,
262,
202,
95,
202,
202,
430,
261,
812,
18,
11287,
2156,
422,
5282,
13,
202,
202,
95,
1082,
202,
759,
21628,
1578,
1082,
202,
2463,
3968,
480,
446,
597,
3968,
18,
31806,
12,
3921,
262,
1648,
374,
31,
6862,
202,
97,
202,
202,
12107,
309,
261,
812,
18,
11287,
2156,
422,
2023,
13,
202,
202,
95,
1082,
202,
759,
9480,
1082,
202,
2463,
3968,
480,
446,
597,
401,
17812,
18,
17514,
1190,
2932,
4898,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
9506,
202,
2463,
629,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
353,
16519,
12,
514,
3968,
262,
202,
95,
202,
202,
430,
261,
812,
18,
11287,
2156,
422,
5282,
13,
202,
202,
95,
1082,
202,
759,
21628,
1578,
1082,
202,
2463,
3968,
480,
446,
597,
3968,
18,
31806,
12,
3921,
262,
1648,
374,
31,
6862,
202,
97,
202,
202,
12107,
309,
261,
812,
18,
11287,
2156,
422,
2023,
13,
202,
202,
95,
1082,
202,
759,
9480,
1082,
202,
2463,
3968,
480,
446,
597,
401,
17812,
18,
17514,
1190,
2932,
4898,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
9506,
202,
2463,
629,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
final Level level = levelCalc.evaluateLevel(evaluator); return level.getCaption(); | final Hierarchy hierarchy = hierarchyCalc.evaluateHierarchy(evaluator); return hierarchy.getCaption(); | public Calc compileCall(FunCall call, ExpCompiler compiler) { final LevelCalc levelCalc = compiler.compileLevel(call.getArg(0)); return new AbstractStringCalc(call, new Calc[] {levelCalc}) { public String evaluateString(Evaluator evaluator) { final Level level = levelCalc.evaluateLevel(evaluator); return level.getCaption(); } }; } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/5aca340e1cdbb6179077d96383341db48f0997be/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
29128,
4074,
1477,
12,
22783,
1477,
745,
16,
7784,
9213,
5274,
13,
288,
7734,
727,
4557,
25779,
1801,
25779,
273,
13491,
5274,
18,
11100,
2355,
12,
1991,
18,
588,
4117,
12,
20,
10019,
7734,
327,
394,
4115,
780,
25779,
12,
1991,
16,
394,
29128,
8526,
288,
2815,
25779,
6792,
288,
10792,
1071,
514,
5956,
780,
12,
15876,
18256,
13,
288,
13491,
727,
4557,
1801,
273,
1801,
25779,
18,
21024,
2355,
12,
14168,
639,
1769,
13491,
327,
1801,
18,
588,
21158,
5621,
10792,
289,
7734,
289,
31,
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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
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
29128,
4074,
1477,
12,
22783,
1477,
745,
16,
7784,
9213,
5274,
13,
288,
7734,
727,
4557,
25779,
1801,
25779,
273,
13491,
5274,
18,
11100,
2355,
12,
1991,
18,
588,
4117,
12,
20,
10019,
7734,
327,
394,
4115,
780,
25779,
12,
1991,
16,
394,
29128,
8526,
288,
2815,
25779,
6792,
288,
10792,
1071,
514,
5956,
780,
12,
15876,
18256,
13,
288,
13491,
727,
4557,
1801,
273,
1801,
25779,
18,
21024,
2355,
12,
14168,
639,
1769,
13491,
327,
1801,
18,
588,
21158,
5621,
10792,
289,
7734,
289,
31,
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
] |
public BugzillaQueryCategory(String label, String url, String maxHits) { | public BugzillaQueryCategory(String repositoryUrl, String queryUrl, String label, String maxHits) { | public BugzillaQueryCategory(String label, String url, String maxHits) { this.description = label; this.queryString = url; try { this.maxHits = Integer.parseInt(maxHits); } catch (Exception e) { this.maxHits = -1; } } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/832f772c9bfbe1db8eeb7662bd96232584598cee/BugzillaQueryCategory.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaQueryCategory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16907,
15990,
1138,
4457,
12,
780,
1433,
16,
514,
880,
16,
514,
943,
20950,
13,
288,
202,
202,
2211,
18,
3384,
273,
1433,
31,
202,
202,
2211,
18,
2271,
780,
273,
880,
31,
202,
202,
698,
288,
1082,
202,
2211,
18,
1896,
20950,
273,
2144,
18,
2670,
1702,
12,
1896,
20950,
1769,
202,
202,
97,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16907,
15990,
1138,
4457,
12,
780,
1433,
16,
514,
880,
16,
514,
943,
20950,
13,
288,
202,
202,
2211,
18,
3384,
273,
1433,
31,
202,
202,
2211,
18,
2271,
780,
273,
880,
31,
202,
202,
698,
288,
1082,
202,
2211,
18,
1896,
20950,
273,
2144,
18,
2670,
1702,
12,
1896,
20950,
1769,
202,
202,
97,
1044,
261,
503,
425,
13,
288,
1082,
202,
2211,
18,
1896,
20950,
273,
300,
21,
31,
202,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public void testR2BaseEchoHexBinary() throws AxisFault { | public void testR2BaseEchoHexBinary() throws AxisFault { | public void testR2BaseEchoHexBinary() throws AxisFault { url = "http://www.whitemesa.net/interop/std"; soapAction = "http://soapinterop.org/"; util = new Round2EchoHexBinaryClientUtil(); retEnv = SunRound2Client.sendMsg(util, url, soapAction); tempPath = resFilePath + "WMBaseHexBinaryRes.xml"; results = compare(retEnv, tempPath); assertTrue(results); } | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/6295a3864398ed319578fb0b345f1adafef73782/WMRound2InteropTest.java/clean/modules/integration/itest/test/interop/whitemesa/round2/WMRound2InteropTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
54,
22,
2171,
19704,
7037,
5905,
1435,
1216,
15509,
7083,
288,
3639,
880,
273,
315,
2505,
2207,
5591,
18,
3350,
1726,
281,
69,
18,
2758,
19,
30376,
19,
5084,
14432,
3639,
9930,
1803,
273,
315,
2505,
2207,
19215,
30376,
18,
3341,
4898,
31,
3639,
1709,
273,
394,
11370,
22,
19704,
7037,
5905,
1227,
1304,
5621,
3639,
325,
3491,
273,
31608,
11066,
22,
1227,
18,
4661,
3332,
12,
1367,
16,
880,
16,
9930,
1803,
1769,
3639,
1906,
743,
273,
400,
5598,
397,
315,
25173,
2171,
7037,
5905,
607,
18,
2902,
14432,
3639,
1686,
273,
3400,
12,
1349,
3491,
16,
1906,
743,
1769,
3639,
1815,
5510,
12,
4717,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
54,
22,
2171,
19704,
7037,
5905,
1435,
1216,
15509,
7083,
288,
3639,
880,
273,
315,
2505,
2207,
5591,
18,
3350,
1726,
281,
69,
18,
2758,
19,
30376,
19,
5084,
14432,
3639,
9930,
1803,
273,
315,
2505,
2207,
19215,
30376,
18,
3341,
4898,
31,
3639,
1709,
273,
394,
11370,
22,
19704,
7037,
5905,
1227,
1304,
5621,
3639,
325,
3491,
273,
31608,
11066,
22,
1227,
18,
4661,
3332,
12,
1367,
16,
880,
16,
9930,
1803,
1769,
3639,
1906,
743,
273,
400,
5598,
397,
315,
25173,
2171,
7037,
5905,
607,
18,
2902,
14432,
3639,
1686,
273,
3400,
12,
1349,
3491,
16,
1906,
743,
1769,
3639,
1815,
5510,
12,
4717,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100
] |
logicalHandle3 = workingMemory.assertObject( logicalString3, false, true, rule1, tuple1.getActivation() ); | assertNotNull( logicalHandle3 ); } else { assertNull( logicalHandle3 ); } | public void testMultipleAssert() throws Exception { // create a RuleBase with a single ObjectTypeNode we attach a // MockObjectSink so we can detect assertions and retractions final Rule rule1 = new Rule( "test-rule1" ); Rete rete = new Rete(); ObjectTypeNode objectTypeNode = new ObjectTypeNode( 0, new ClassObjectType( String.class ), rete ); objectTypeNode.attach(); MockObjectSink sink = new MockObjectSink(); objectTypeNode.addObjectSink( sink ); final TerminalNode node = new TerminalNode( 2, new MockTupleSource( 2 ), rule1 ); RuleBase ruleBase = new RuleBaseImpl(); WorkingMemoryImpl workingMemory = (WorkingMemoryImpl) ruleBase.newWorkingMemory(); final Agenda agenda = workingMemory.getAgenda(); Consequence consequence = new Consequence() { public void evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory) { // do nothing } }; rule1.setConsequence( consequence ); FactHandleImpl handle1 = new FactHandleImpl( 1 ); ReteTuple tuple1 = new ReteTuple( handle1 ); final PropagationContext context1 = new PropagationContextImpl( 0, PropagationContext.ASSERTION, null, null ); // Assert multiple stated objects node.assertTuple( tuple1, context1, workingMemory ); String statedString1 = new String( "logical" ); FactHandle statedHandle1 = workingMemory.assertObject( statedString1 ); String statedString2 = new String( "logical" ); FactHandle statedHandle2 = workingMemory.assertObject( statedString2 ); // This assertion is logical should fail as there is previous stated objects String logicalString3 = new String( "logical" ); FactHandle logicalHandle3 = workingMemory.assertObject( logicalString3, false, true, rule1, tuple1.getActivation() ); // Checks that previous LogicalAssert failed assertNull( logicalHandle3 ); workingMemory.retractObject( statedHandle2 ); logicalHandle3 = workingMemory.assertObject( logicalString3, false, true, rule1, tuple1.getActivation() ); // Checks that previous LogicalAssert failed as there is still one // stated string in the working memory assertNull( logicalHandle3 ); workingMemory.retractObject( statedHandle1 ); logicalHandle3 = workingMemory.assertObject( logicalString3, false, true, rule1, tuple1.getActivation() ); // Checks that previous LogicalAssert succeeded as there are no more // stated strings in the working memory assertNotNull( logicalHandle3 ); } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/9731e11a9bc76b8b96781bd155c555ec49d6c960/LogicalAssertionTest.java/clean/drools-core/src/test/java/org/drools/reteoo/LogicalAssertionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
8438,
8213,
1435,
1216,
1185,
288,
3639,
368,
752,
279,
6781,
2171,
598,
279,
2202,
21338,
907,
732,
3306,
279,
3639,
368,
7867,
921,
11326,
1427,
732,
848,
5966,
7820,
471,
17343,
4905,
3639,
727,
6781,
1720,
21,
273,
394,
6781,
12,
315,
3813,
17,
5345,
21,
6,
11272,
3639,
534,
12865,
325,
73,
273,
394,
534,
12865,
5621,
3639,
21338,
907,
16400,
907,
273,
394,
21338,
907,
12,
374,
16,
4766,
18701,
394,
1659,
17610,
12,
514,
18,
1106,
262,
16,
4766,
18701,
325,
73,
11272,
3639,
16400,
907,
18,
7331,
5621,
3639,
7867,
921,
11326,
9049,
273,
394,
7867,
921,
11326,
5621,
3639,
16400,
907,
18,
1289,
921,
11326,
12,
9049,
11272,
3639,
727,
18778,
907,
756,
273,
394,
18778,
907,
12,
576,
16,
4766,
10792,
394,
7867,
9038,
1830,
12,
576,
262,
16,
4766,
10792,
1720,
21,
11272,
3639,
6781,
2171,
1720,
2171,
273,
394,
6781,
2171,
2828,
5621,
3639,
22732,
6031,
2828,
5960,
6031,
273,
261,
14836,
6031,
2828,
13,
1720,
2171,
18,
2704,
14836,
6031,
5621,
3639,
727,
5495,
18883,
28809,
273,
5960,
6031,
18,
588,
2577,
18883,
5621,
3639,
735,
6178,
356,
6178,
273,
394,
735,
6178,
1435,
288,
5411,
1071,
918,
5956,
12,
47,
14390,
2276,
20272,
2276,
16,
4766,
22732,
6031,
5960,
6031,
13,
288,
7734,
368,
741,
5083,
5411,
289,
3639,
289,
31,
3639,
1720,
21,
18,
542,
442,
6178,
12,
356,
6178,
11272,
3639,
29057,
3259,
2828,
1640,
21,
273,
394,
29057,
3259,
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,
8438,
8213,
1435,
1216,
1185,
288,
3639,
368,
752,
279,
6781,
2171,
598,
279,
2202,
21338,
907,
732,
3306,
279,
3639,
368,
7867,
921,
11326,
1427,
732,
848,
5966,
7820,
471,
17343,
4905,
3639,
727,
6781,
1720,
21,
273,
394,
6781,
12,
315,
3813,
17,
5345,
21,
6,
11272,
3639,
534,
12865,
325,
73,
273,
394,
534,
12865,
5621,
3639,
21338,
907,
16400,
907,
273,
394,
21338,
907,
12,
374,
16,
4766,
18701,
394,
1659,
17610,
12,
514,
18,
1106,
262,
16,
4766,
18701,
325,
73,
11272,
3639,
16400,
907,
18,
7331,
5621,
3639,
7867,
921,
11326,
9049,
273,
394,
7867,
921,
11326,
5621,
3639,
16400,
907,
18,
1289,
921,
11326,
12,
9049,
11272,
3639,
2
] |
sExtension = sOutputFormat; | if ( isOutputRendererSupported( outputFormat ) ) { sExtension = outputFormat; } else { sExtension = getFirstSupportedFormat( sSupportedFormats ); } | public void setOutputFormat( String sOutputFormat ) { if ( sOutputFormat.equalsIgnoreCase( "HTML" ) ) //$NON-NLS-1$ { if ( isOutputRendererSupported( outputFormat ) ) { sExtension = outputFormat; } else if ( isOutputRendererSupported( "SVG" ) ) //$NON-NLS-1$ { // SVG is the preferred output for HTML sExtension = "SVG"; //$NON-NLS-1$ } else { sExtension = getFirstSupportedFormat( sSupportedFormats ); } } else if ( sOutputFormat.equalsIgnoreCase( "PDF" ) ) //$NON-NLS-1$ { if ( isOutputRendererSupported( outputFormat ) ) { sExtension = outputFormat; } else if ( isOutputRendererSupported( "PNG" ) ) //$NON-NLS-1$ { // PNG is the preferred output for PDF sExtension = "PNG"; //$NON-NLS-1$ } else { sExtension = getFirstSupportedFormat( sSupportedFormats ); } } else { sExtension = sOutputFormat; } } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/6527daa4abd71203047f538f423adcacce733516/ChartReportItemPresentationImpl.java/buggy/chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemPresentationImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
18113,
1630,
12,
514,
272,
1447,
1630,
262,
202,
95,
202,
202,
430,
261,
272,
1447,
1630,
18,
14963,
5556,
12,
315,
4870,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
430,
261,
353,
1447,
6747,
7223,
12,
27205,
262,
262,
1082,
202,
95,
9506,
202,
87,
3625,
273,
27205,
31,
1082,
202,
97,
1082,
202,
12107,
309,
261,
353,
1447,
6747,
7223,
12,
315,
26531,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
95,
9506,
202,
759,
11281,
353,
326,
9119,
876,
364,
3982,
9506,
202,
87,
3625,
273,
315,
26531,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
202,
12107,
1082,
202,
95,
9506,
202,
87,
3625,
273,
7521,
7223,
1630,
12,
272,
7223,
8976,
11272,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
309,
261,
272,
1447,
1630,
18,
14963,
5556,
12,
315,
17508,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
430,
261,
353,
1447,
6747,
7223,
12,
27205,
262,
262,
1082,
202,
95,
9506,
202,
87,
3625,
273,
27205,
31,
1082,
202,
97,
1082,
202,
12107,
309,
261,
353,
1447,
6747,
7223,
12,
315,
23092,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
95,
9506,
202,
759,
22476,
353,
326,
9119,
876,
364,
12667,
9506,
202,
87,
3625,
273,
315,
23092,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
18113,
1630,
12,
514,
272,
1447,
1630,
262,
202,
95,
202,
202,
430,
261,
272,
1447,
1630,
18,
14963,
5556,
12,
315,
4870,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
95,
1082,
202,
430,
261,
353,
1447,
6747,
7223,
12,
27205,
262,
262,
1082,
202,
95,
9506,
202,
87,
3625,
273,
27205,
31,
1082,
202,
97,
1082,
202,
12107,
309,
261,
353,
1447,
6747,
7223,
12,
315,
26531,
6,
262,
262,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
95,
9506,
202,
759,
11281,
353,
326,
9119,
876,
364,
3982,
9506,
202,
87,
3625,
273,
315,
26531,
14432,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
97,
1082,
2
] |
protected AbstractLayout createInitialLayout(){ return new XYLayoutManagerImpl(); | protected AbstractLayout createInitialLayout() { if (GuiDesignerConfiguration.getInstance(getModule().getProject()).IRIDA_LAYOUT_MODE) { return new XYLayoutManagerImpl(); } return new GridLayoutManager(1, 1); | protected AbstractLayout createInitialLayout(){ return new XYLayoutManagerImpl(); } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/09eaa9816ccf576d29ac4134228f6944b9470a21/RadContainer.java/buggy/ui-designer/impl/com/intellij/uiDesigner/RadContainer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
4115,
3744,
752,
4435,
3744,
1435,
95,
565,
327,
394,
18774,
3744,
1318,
2828,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4115,
3744,
752,
4435,
3744,
1435,
95,
565,
327,
394,
18774,
3744,
1318,
2828,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
if (fEditor == null) | if (fTextEditor == null) | public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) { if (!fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED)) return null; IHyperlinkDetector[] inheritedDetectors= super.getHyperlinkDetectors(sourceViewer); if (fEditor == null) return inheritedDetectors; int inheritedDetectorsLength= inheritedDetectors != null ? inheritedDetectors.length : 0; IHyperlinkDetector[] detectors= new IHyperlinkDetector[inheritedDetectorsLength + 1]; detectors[0]= new CElementHyperlinkDetector(fEditor); for (int i= 0; i < inheritedDetectorsLength; i++) { detectors[i+1]= inheritedDetectors[i]; } return detectors; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0482b3954404fd528d629e737114a70d018a10db/CSourceViewerConfiguration.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CSourceViewerConfiguration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
15996,
1232,
12594,
8526,
7628,
8300,
1232,
12594,
87,
12,
45,
1830,
18415,
1084,
18415,
13,
288,
202,
202,
430,
16051,
74,
9624,
2257,
18,
588,
5507,
12,
7469,
7859,
690,
1528,
6946,
9624,
2918,
18,
13208,
67,
44,
61,
3194,
10554,
55,
67,
13560,
3719,
1082,
202,
2463,
446,
31,
9506,
202,
45,
15996,
1232,
12594,
8526,
12078,
12594,
87,
33,
2240,
18,
588,
15996,
1232,
12594,
87,
12,
3168,
18415,
1769,
9506,
202,
430,
261,
74,
6946,
422,
446,
13,
1082,
202,
2463,
12078,
12594,
87,
31,
9506,
202,
474,
12078,
12594,
87,
1782,
33,
12078,
12594,
87,
480,
446,
692,
12078,
12594,
87,
18,
2469,
294,
374,
31,
202,
202,
45,
15996,
1232,
12594,
8526,
13826,
87,
33,
394,
467,
15996,
1232,
12594,
63,
6018,
329,
12594,
87,
1782,
397,
404,
15533,
202,
202,
8238,
18886,
63,
20,
65,
33,
394,
385,
1046,
15996,
1232,
12594,
12,
74,
6946,
1769,
3196,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
12078,
12594,
87,
1782,
31,
277,
27245,
288,
1082,
202,
8238,
18886,
63,
77,
15,
21,
65,
33,
12078,
12594,
87,
63,
77,
15533,
202,
202,
97,
9506,
202,
2463,
13826,
87,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
15996,
1232,
12594,
8526,
7628,
8300,
1232,
12594,
87,
12,
45,
1830,
18415,
1084,
18415,
13,
288,
202,
202,
430,
16051,
74,
9624,
2257,
18,
588,
5507,
12,
7469,
7859,
690,
1528,
6946,
9624,
2918,
18,
13208,
67,
44,
61,
3194,
10554,
55,
67,
13560,
3719,
1082,
202,
2463,
446,
31,
9506,
202,
45,
15996,
1232,
12594,
8526,
12078,
12594,
87,
33,
2240,
18,
588,
15996,
1232,
12594,
87,
12,
3168,
18415,
1769,
9506,
202,
430,
261,
74,
6946,
422,
446,
13,
1082,
202,
2463,
12078,
12594,
87,
31,
9506,
202,
474,
12078,
12594,
87,
1782,
33,
12078,
12594,
87,
480,
446,
692,
12078,
12594,
87,
18,
2469,
294,
374,
31,
202,
202,
45,
15996,
2
] |
if (getContentProvider() instanceof ILazyTreeContentProvider) { | if (contentProviderIsLazy) { | protected void internalRefreshStruct(Widget widget, Object element, boolean updateLabels) { if (getContentProvider() instanceof ILazyTreeContentProvider) { // first phase: update child counts virtualRefreshChildCounts(widget, element); // second phase: update labels if (updateLabels) { if (widget instanceof Tree) { ((Tree) widget).clearAll(true); } else if (widget instanceof TreeItem) { ((TreeItem) widget).clearAll(true); } } return; } super.internalRefreshStruct(widget, element, updateLabels); } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/859901e463f16654ddbadbf132674c7de109fa2c/TreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2713,
8323,
3823,
12,
4609,
3604,
16,
1033,
930,
16,
1082,
202,
6494,
1089,
5888,
13,
288,
202,
202,
430,
261,
588,
1350,
2249,
1435,
1276,
467,
14443,
2471,
1350,
2249,
13,
288,
1082,
202,
759,
1122,
6855,
30,
1089,
1151,
6880,
1082,
202,
12384,
8323,
1763,
9211,
12,
6587,
16,
930,
1769,
1082,
202,
759,
2205,
6855,
30,
1089,
3249,
1082,
202,
430,
261,
2725,
5888,
13,
288,
9506,
202,
430,
261,
6587,
1276,
4902,
13,
288,
6862,
202,
12443,
2471,
13,
3604,
2934,
8507,
1595,
12,
3767,
1769,
9506,
202,
97,
469,
309,
261,
6587,
1276,
4902,
1180,
13,
288,
6862,
202,
12443,
2471,
1180,
13,
3604,
2934,
8507,
1595,
12,
3767,
1769,
9506,
202,
97,
1082,
202,
97,
1082,
202,
2463,
31,
202,
202,
97,
202,
202,
9565,
18,
7236,
8323,
3823,
12,
6587,
16,
930,
16,
1089,
5888,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
2713,
8323,
3823,
12,
4609,
3604,
16,
1033,
930,
16,
1082,
202,
6494,
1089,
5888,
13,
288,
202,
202,
430,
261,
588,
1350,
2249,
1435,
1276,
467,
14443,
2471,
1350,
2249,
13,
288,
1082,
202,
759,
1122,
6855,
30,
1089,
1151,
6880,
1082,
202,
12384,
8323,
1763,
9211,
12,
6587,
16,
930,
1769,
1082,
202,
759,
2205,
6855,
30,
1089,
3249,
1082,
202,
430,
261,
2725,
5888,
13,
288,
9506,
202,
430,
261,
6587,
1276,
4902,
13,
288,
6862,
202,
12443,
2471,
13,
3604,
2934,
8507,
1595,
12,
3767,
1769,
9506,
202,
97,
469,
309,
261,
6587,
1276,
4902,
1180,
13,
288,
6862,
202,
12443,
2471,
1180,
13,
3604,
2934,
8507,
1595,
12,
3767,
1769,
2
] |
Collection findMarkers(IProgressMonitor mon, boolean ignoreExceptions) | private List findMarkers(IResource[] resources, int depth, int limit, IProgressMonitor mon, boolean ignoreExceptions) | Collection findMarkers(IProgressMonitor mon, boolean ignoreExceptions) throws CoreException { List unfiltered = Collections.EMPTY_LIST; if (!isEnabled()) { unfiltered = findMarkers(new IResource[] { ResourcesPlugin .getWorkspace().getRoot() }, IResource.DEPTH_INFINITE, -1, mon, ignoreExceptions); } else { // int limit = getFilterOnMarkerLimit() ? getMarkerLimit() + 1 : -1; int limit = -1; switch (getOnResource()) { case ON_ANY: { unfiltered = findMarkers(new IResource[] { ResourcesPlugin .getWorkspace().getRoot() }, IResource.DEPTH_INFINITE, limit, mon, ignoreExceptions); break; } case ON_SELECTED_ONLY: { unfiltered = findMarkers(focusResource, IResource.DEPTH_ZERO, limit, mon, ignoreExceptions); break; } case ON_SELECTED_AND_CHILDREN: { unfiltered = findMarkers(focusResource, IResource.DEPTH_INFINITE, limit, mon, ignoreExceptions); break; } case ON_ANY_IN_SAME_CONTAINER: { unfiltered = findMarkers(getProjects(focusResource), IResource.DEPTH_INFINITE, limit, mon, ignoreExceptions); break; } case ON_WORKING_SET: { unfiltered = findMarkers(getResourcesInWorkingSet(), IResource.DEPTH_INFINITE, limit, mon, ignoreExceptions); } } } if (unfiltered == null) { unfiltered = Collections.EMPTY_LIST; } return unfiltered; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5abf6fabfddc9bb4eb33acac1f3b4c05f76ac7b1/MarkerFilter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
2532,
1104,
21644,
12,
45,
5491,
7187,
6921,
16,
1250,
2305,
11416,
13,
1082,
202,
15069,
30015,
288,
202,
202,
682,
640,
12071,
273,
5737,
18,
13625,
67,
7085,
31,
202,
202,
430,
16051,
291,
1526,
10756,
288,
1082,
202,
318,
12071,
273,
1104,
21644,
12,
2704,
467,
1420,
8526,
288,
8128,
3773,
6862,
202,
18,
588,
8241,
7675,
588,
2375,
1435,
19879,
467,
1420,
18,
27479,
67,
706,
7263,
5398,
16,
300,
21,
16,
6862,
202,
2586,
16,
2305,
11416,
1769,
202,
202,
97,
469,
288,
1082,
202,
759,
509,
1800,
273,
12267,
1398,
7078,
3039,
1435,
692,
23232,
264,
3039,
1435,
397,
404,
294,
300,
21,
31,
1082,
202,
474,
1800,
273,
300,
21,
31,
1082,
202,
9610,
261,
588,
1398,
1420,
10756,
288,
1082,
202,
3593,
6229,
67,
15409,
30,
288,
9506,
202,
318,
12071,
273,
1104,
21644,
12,
2704,
467,
1420,
8526,
288,
8128,
3773,
25083,
202,
18,
588,
8241,
7675,
588,
2375,
1435,
19879,
467,
1420,
18,
27479,
67,
706,
7263,
5398,
16,
25083,
202,
3595,
16,
6921,
16,
2305,
11416,
1769,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
6229,
67,
4803,
2056,
67,
10857,
30,
288,
9506,
202,
318,
12071,
273,
1104,
21644,
12,
13923,
1420,
16,
467,
1420,
18,
27479,
67,
24968,
16,
25083,
202,
3595,
16,
6921,
16,
2305,
11416,
1769,
9506,
202,
8820,
31,
1082,
202,
97,
1082,
202,
3593,
6229,
67,
4803,
2056,
67,
4307,
67,
27043,
24296,
30,
288,
9506,
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,
2532,
1104,
21644,
12,
45,
5491,
7187,
6921,
16,
1250,
2305,
11416,
13,
1082,
202,
15069,
30015,
288,
202,
202,
682,
640,
12071,
273,
5737,
18,
13625,
67,
7085,
31,
202,
202,
430,
16051,
291,
1526,
10756,
288,
1082,
202,
318,
12071,
273,
1104,
21644,
12,
2704,
467,
1420,
8526,
288,
8128,
3773,
6862,
202,
18,
588,
8241,
7675,
588,
2375,
1435,
19879,
467,
1420,
18,
27479,
67,
706,
7263,
5398,
16,
300,
21,
16,
6862,
202,
2586,
16,
2305,
11416,
1769,
202,
202,
97,
469,
288,
1082,
202,
759,
509,
1800,
273,
12267,
1398,
7078,
3039,
1435,
692,
23232,
264,
3039,
1435,
397,
404,
294,
300,
21,
31,
1082,
202,
474,
1800,
273,
300,
21,
31,
2
] |
final String[] strs = aEvent.getThrowableStrRep(); if (strs == null) { return null; } | final String[] strs = aEvent.getThrowableStrRep(); | private static String getThrowableStrRep(EventDetails aEvent) { final String[] strs = aEvent.getThrowableStrRep(); if (strs == null) { return null; } final StringBuffer sb = new StringBuffer(); for (int i = 0; i < strs.length; i++) { sb.append(strs[i]).append("\n"); } return sb.toString(); } | 47730 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47730/f78df64197845d2c3a2cb3fecb98416d2dbf5da2/DetailPanel.java/buggy/src/java/org/apache/log4j/chainsaw/DetailPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
336,
15155,
1585,
18933,
12,
28487,
279,
1133,
13,
288,
3639,
727,
514,
8526,
19954,
273,
279,
1133,
18,
588,
15155,
1585,
18933,
5621,
3639,
309,
261,
24432,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
727,
6674,
2393,
273,
394,
6674,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
19954,
18,
2469,
31,
277,
27245,
288,
5411,
2393,
18,
6923,
12,
24432,
63,
77,
65,
2934,
6923,
31458,
82,
8863,
3639,
289,
3639,
327,
2393,
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,
0,
0,
0,
0,
0,
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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
18,
588,
15155,
1585,
18933,
5621,
3639,
309,
261,
24432,
422,
446,
13,
288,
5411,
327,
446,
31,
3639,
289,
3639,
727,
6674,
2393,
273,
394,
6674,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
19954,
18,
2469,
31,
277,
27245,
288,
5411,
2393,
18,
6923,
12,
24432,
63,
77,
65,
2934,
6923,
31458,
82,
8863,
3639,
289,
3639,
327,
2393,
18,
10492,
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
] |
public TableViewer(Table table) { this.table = table; hookControl(table); tableEditor = new TableEditor(table); initTableViewerImpl(); initializeVirtualManager(table.getStyle()); | public TableViewer(Composite parent) { this(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); | public TableViewer(Table table) { this.table = table; hookControl(table); tableEditor = new TableEditor(table); initTableViewerImpl(); initializeVirtualManager(table.getStyle()); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/13aa83d640bf9beff979225ceb72337ee3ef8f6a/TableViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3555,
18415,
12,
1388,
1014,
13,
288,
202,
202,
2211,
18,
2121,
273,
1014,
31,
202,
202,
4476,
3367,
12,
2121,
1769,
202,
202,
2121,
6946,
273,
394,
3555,
6946,
12,
2121,
1769,
202,
202,
2738,
1388,
18415,
2828,
5621,
202,
202,
11160,
6466,
1318,
12,
2121,
18,
588,
2885,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0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
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3555,
18415,
12,
1388,
1014,
13,
288,
202,
202,
2211,
18,
2121,
273,
1014,
31,
202,
202,
4476,
3367,
12,
2121,
1769,
202,
202,
2121,
6946,
273,
394,
3555,
6946,
12,
2121,
1769,
202,
202,
2738,
1388,
18415,
2828,
5621,
202,
202,
11160,
6466,
1318,
12,
2121,
18,
588,
2885,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
public String getMessage() { | public String getMessage() { | public String getMessage() { return "WrappedException of " + exception.toString(); } | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/48b46eb3845fd6cf8fa13cd3def581f9a0ff4339/WrappedException.java/clean/src/org/mozilla/javascript/WrappedException.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2381,
1435,
288,
3639,
327,
315,
17665,
503,
434,
315,
397,
1520,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2381,
1435,
288,
3639,
327,
315,
17665,
503,
434,
315,
397,
1520,
18,
10492,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
transform.concatenate (tx); setTransform (transform); | transform.concatenate(tx); setTransform(transform); | public void transform (AffineTransform tx) { if (transform == null) transform = new AffineTransform (tx); else transform.concatenate (tx); setTransform (transform); if (clip != null) { // FIXME: this should actuall try to transform the shape // rather than degrade to bounds. Rectangle2D r = clip.getBounds2D(); double[] coords = new double[] { r.getX(), r.getY(), r.getX() + r.getWidth(), r.getY() + r.getHeight() }; try { tx.createInverse().transform(coords, 0, coords, 0, 2); r.setRect(coords[0], coords[1], coords[2] - coords[0], coords[3] - coords[1]); clip = r; } catch (java.awt.geom.NoninvertibleTransformException e) { } } } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/bef34bda2204726d6cecbf5422e100bc663abc3e/GdkGraphics2D.java/buggy/libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2510,
261,
13785,
558,
4059,
2229,
13,
225,
288,
565,
309,
261,
6547,
422,
446,
13,
1377,
2510,
273,
394,
23906,
558,
4059,
261,
978,
1769,
565,
469,
1377,
2510,
18,
16426,
275,
340,
261,
978,
1769,
565,
444,
4059,
261,
6547,
1769,
565,
309,
261,
14161,
480,
446,
13,
1377,
288,
3639,
368,
9852,
30,
333,
1410,
1328,
89,
454,
775,
358,
2510,
326,
2179,
3639,
368,
9178,
2353,
443,
3994,
358,
4972,
18,
3639,
13264,
22,
40,
436,
273,
6807,
18,
588,
5694,
22,
40,
5621,
3639,
1645,
8526,
6074,
273,
394,
1645,
8526,
288,
436,
18,
588,
60,
9334,
436,
18,
588,
61,
9334,
4766,
1850,
436,
18,
588,
60,
1435,
397,
436,
18,
588,
2384,
9334,
29159,
436,
18,
588,
61,
1435,
397,
436,
18,
588,
2686,
1435,
289,
31,
3639,
775,
6647,
288,
5411,
2229,
18,
2640,
16376,
7675,
6547,
12,
9076,
16,
374,
16,
6074,
16,
374,
16,
576,
1769,
5411,
436,
18,
542,
6120,
12,
9076,
63,
20,
6487,
6074,
63,
21,
6487,
8227,
6074,
63,
22,
65,
300,
6074,
63,
20,
6487,
15604,
6074,
63,
23,
65,
300,
6074,
63,
21,
19226,
5411,
6807,
273,
436,
31,
1850,
289,
3639,
1044,
261,
6290,
18,
2219,
88,
18,
10049,
18,
3989,
267,
1097,
1523,
4059,
503,
425,
13,
1850,
288,
1850,
289,
1377,
289,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2510,
261,
13785,
558,
4059,
2229,
13,
225,
288,
565,
309,
261,
6547,
422,
446,
13,
1377,
2510,
273,
394,
23906,
558,
4059,
261,
978,
1769,
565,
469,
1377,
2510,
18,
16426,
275,
340,
261,
978,
1769,
565,
444,
4059,
261,
6547,
1769,
565,
309,
261,
14161,
480,
446,
13,
1377,
288,
3639,
368,
9852,
30,
333,
1410,
1328,
89,
454,
775,
358,
2510,
326,
2179,
3639,
368,
9178,
2353,
443,
3994,
358,
4972,
18,
3639,
13264,
22,
40,
436,
273,
6807,
18,
588,
5694,
22,
40,
5621,
3639,
1645,
8526,
6074,
273,
394,
1645,
8526,
288,
436,
18,
588,
60,
9334,
436,
18,
588,
61,
9334,
4766,
1850,
436,
18,
588,
60,
1435,
397,
436,
2
] |
public void doTag(final XMLOutput output) throws JellyTagException { String name = getName(); if ( name == null ) { name = toString(); } // #### we need to redirect the output to a TestListener // or something? TestCase testCase = new TestCase(name) { protected void runTest() throws Throwable { // create a new child context so that each test case // will have its own variable scopes JellyContext newContext = new JellyContext( context ); // disable inheritence of variables and tag libraries newContext.setExportLibraries(false); newContext.setExport(false); // invoke the test case getBody().run(newContext, output); } }; // lets find the test suite TestSuite suite = getSuite(); if ( suite == null ) { throw new JellyTagException( "Could not find a TestSuite to add this test to. This tag should be inside a <test:suite> tag" ); } suite.addTest(testCase); } | 51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/cbaa8d2430c2bf467e589a423fee7c83e3f0eb2f/CaseTag.java/clean/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/CaseTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1805,
12,
6385,
3167,
1447,
876,
13,
1216,
804,
292,
715,
1805,
503,
288,
3639,
514,
508,
273,
1723,
5621,
3639,
309,
261,
508,
422,
446,
262,
288,
5411,
508,
273,
1762,
5621,
3639,
289,
7734,
368,
11849,
7,
732,
1608,
358,
3136,
326,
876,
358,
279,
7766,
2223,
3639,
368,
578,
5943,
35,
3639,
7766,
2449,
1842,
2449,
273,
394,
7766,
2449,
12,
529,
13,
288,
5411,
4750,
918,
1086,
4709,
1435,
1216,
4206,
288,
7734,
368,
752,
279,
394,
1151,
819,
1427,
716,
1517,
1842,
648,
7734,
368,
903,
1240,
2097,
4953,
2190,
8124,
7734,
804,
292,
715,
1042,
28210,
273,
394,
804,
292,
715,
1042,
12,
819,
11272,
27573,
368,
4056,
6811,
802,
434,
3152,
471,
1047,
14732,
7734,
28210,
18,
542,
6144,
31909,
12,
5743,
1769,
7734,
28210,
18,
542,
6144,
12,
5743,
1769,
27573,
368,
4356,
326,
1842,
648,
7734,
7587,
7675,
2681,
12,
2704,
1042,
16,
876,
1769,
5411,
289,
3639,
289,
31,
7734,
368,
14557,
1104,
326,
1842,
11371,
3639,
7766,
13587,
11371,
273,
1322,
9519,
5621,
3639,
309,
261,
11371,
422,
446,
262,
288,
5411,
604,
394,
804,
292,
715,
1805,
503,
12,
315,
4445,
486,
1104,
279,
7766,
13587,
358,
527,
333,
1842,
358,
18,
1220,
1047,
1410,
506,
4832,
279,
411,
3813,
30,
30676,
34,
1047,
6,
11272,
3639,
289,
3639,
11371,
18,
1289,
4709,
12,
3813,
2449,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
1805,
12,
6385,
3167,
1447,
876,
13,
1216,
804,
292,
715,
1805,
503,
288,
3639,
514,
508,
273,
1723,
5621,
3639,
309,
261,
508,
422,
446,
262,
288,
5411,
508,
273,
1762,
5621,
3639,
289,
7734,
368,
11849,
7,
732,
1608,
358,
3136,
326,
876,
358,
279,
7766,
2223,
3639,
368,
578,
5943,
35,
3639,
7766,
2449,
1842,
2449,
273,
394,
7766,
2449,
12,
529,
13,
288,
5411,
4750,
918,
1086,
4709,
1435,
1216,
4206,
288,
7734,
368,
752,
279,
394,
1151,
819,
1427,
716,
1517,
1842,
648,
7734,
368,
903,
1240,
2097,
4953,
2190,
8124,
7734,
804,
292,
715,
1042,
28210,
273,
394,
804,
292,
715,
1042,
12,
819,
11272,
27573,
368,
4056,
6811,
2
] | ||
if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (editingComponent != null && realEditor.isCellEditable(event)) | boolean ret = false; boolean ed = false; if (event != null) | public boolean isCellEditable(EventObject event) { if (editingComponent == null) configureEditingComponent(tree, renderer, realEditor); if (editingComponent != null && realEditor.isCellEditable(event)) { prepareForEditing(); return true; } return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/DefaultTreeCellEditor.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
4020,
15470,
12,
1133,
921,
871,
13,
225,
288,
377,
309,
261,
4619,
310,
1841,
422,
446,
13,
3639,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
3639,
309,
261,
4619,
310,
1841,
480,
446,
597,
2863,
6946,
18,
291,
4020,
15470,
12,
2575,
3719,
1377,
288,
3639,
2911,
1290,
28029,
5621,
3639,
327,
638,
31,
1377,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
4020,
15470,
12,
1133,
921,
871,
13,
225,
288,
377,
309,
261,
4619,
310,
1841,
422,
446,
13,
3639,
5068,
28029,
1841,
12,
3413,
16,
5690,
16,
2863,
6946,
1769,
3639,
309,
261,
4619,
310,
1841,
480,
446,
597,
2863,
6946,
18,
291,
4020,
15470,
12,
2575,
3719,
1377,
288,
3639,
2911,
1290,
28029,
5621,
3639,
327,
638,
31,
1377,
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
] |
{ | { offset = e.getX(); | protected DragController(MouseEvent e) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/BasicSplitPaneDivider.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
28425,
2933,
12,
9186,
1133,
425,
13,
565,
288,
1384,
273,
425,
18,
588,
60,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
28425,
2933,
12,
9186,
1133,
425,
13,
565,
288,
1384,
273,
425,
18,
588,
60,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
ifd.put(new Integer(LITTLE_ENDIAN), new Boolean(littleEndian)); | ifd.put(new Integer(LITTLE_ENDIAN), new Boolean(in.isLittleEndian())); | public static Hashtable getIFD(RandomAccessStream in, long ifdNum, long globalOffset, long offset, boolean littleEndian) throws IOException { Hashtable ifd = new Hashtable(); // save little-endian flag to internal LITTLE_ENDIAN tag ifd.put(new Integer(LITTLE_ENDIAN), new Boolean(littleEndian)); // read in directory entries for this IFD if (DEBUG) { debug("getIFDs: seeking IFD #" + ifdNum + " at " + (globalOffset != 0 ? (globalOffset + "+" + offset) : ("" + offset))); } in.seek((int) (globalOffset + offset)); int numEntries = in.readShort(); if (numEntries < 0) numEntries += 65536; if (DEBUG) debug("getIFDs: " + numEntries + " directory entries to read"); if (numEntries == 0 || numEntries == 1) return ifd; for (int i=0; i<numEntries; i++) { in.seek((int) (globalOffset + offset + 2 + 12 * i)); int tag = in.readShort(); if (tag < 0) tag += 65536; int type = in.readShort(); if (type < 0) type += 65536; int count = in.readInt(); if (DEBUG) { debug("getIFDs: read " + getIFDTagName(tag) + " (type=" + getIFDTypeName(type) + "; count=" + count + ")"); } if (count < 0) return null; // invalid data Object value = null; if (type == BYTE) { // 8-bit unsigned integer short[] bytes = new short[count]; if (count > 4) { long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } for (int j=0; j<count; j++) { bytes[j] = (byte) in.read(); if (bytes[j] < 0) bytes[j] += 255; } if (bytes.length == 1) value = new Short(bytes[0]); else value = bytes; } else if (type == ASCII) { // 8-bit byte that contain a 7-bit ASCII code; // the last byte must be NUL (binary zero) byte[] ascii = new byte[count]; if (count > 4) { long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } in.read(ascii); // count number of null terminators int nullCount = 0; for (int j=0; j<count; j++) { if (ascii[j] == 0 || j == count - 1) nullCount++; } // convert character array to array of strings String[] strings = new String[nullCount]; int c = 0, ndx = -1; for (int j=0; j<count; j++) { if (ascii[j] == 0) { strings[c++] = new String(ascii, ndx + 1, j - ndx - 1); ndx = j; } else if (j == count - 1) { // handle non-null-terminated strings strings[c++] = new String(ascii, ndx + 1, j - ndx); } } if (strings.length == 1) value = strings[0]; else value = strings; } else if (type == SHORT) { // 16-bit (2-byte) unsigned integer int[] shorts = new int[count]; if (count > 2) { long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } for (int j=0; j<count; j++) { shorts[j] = in.readShort(); if (shorts[j] < 0) shorts[j] += 65536; } if (shorts.length == 1) value = new Integer(shorts[0]); else value = shorts; } else if (type == LONG) { // 32-bit (4-byte) unsigned integer long[] longs = new long[count]; if (count > 1) { long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } for (int j=0; j<count; j++) { longs[j] = in.readInt(); } if (longs.length == 1) value = new Long(longs[0]); else value = longs; } else if (type == RATIONAL) { // Two LONGs: the first represents the numerator of a fraction; // the second, the denominator TiffRational[] rationals = new TiffRational[count]; long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); for (int j=0; j<count; j++) { long numer = in.readInt(); long denom = in.readInt(); rationals[j] = new TiffRational(numer, denom); } if (rationals.length == 1) value = rationals[0]; else value = rationals; } else if (type == SBYTE || type == UNDEFINED) { // SBYTE: An 8-bit signed (twos-complement) integer // UNDEFINED: An 8-bit byte that may contain anything, // depending on the definition of the field byte[] sbytes = new byte[count]; if (count > 4) { long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } in.read(sbytes); if (sbytes.length == 1) value = new Byte(sbytes[0]); else value = sbytes; } else if (type == SSHORT) { // A 16-bit (2-byte) signed (twos-complement) integer short[] sshorts = new short[count]; if (count > 2) { long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } for (int j=0; j<count; j++) { sshorts[j] = in.readShort(); } if (sshorts.length == 1) value = new Short(sshorts[0]); else value = sshorts; } else if (type == SLONG) { // A 32-bit (4-byte) signed (twos-complement) integer int[] slongs = new int[count]; if (count > 1) { long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } for (int j=0; j<count; j++) { slongs[j] = in.readInt(); } if (slongs.length == 1) value = new Integer(slongs[0]); else value = slongs; } else if (type == SRATIONAL) { // Two SLONG's: the first represents the numerator of a fraction, // the second the denominator TiffRational[] srationals = new TiffRational[count]; long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); for (int j=0; j<count; j++) { int numer = in.readInt(); int denom = in.readInt(); srationals[j] = new TiffRational(numer, denom); } if (srationals.length == 1) value = srationals[0]; else value = srationals; } else if (type == FLOAT) { // Single precision (4-byte) IEEE format float[] floats = new float[count]; if (count > 1) { long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); } for (int j=0; j<count; j++) { floats[j] = in.readFloat(); } if (floats.length == 1) value = new Float(floats[0]); else value = floats; } else if (type == DOUBLE) { // Double precision (8-byte) IEEE format double[] doubles = new double[count]; long pointer = in.readInt(); in.seek((int) (globalOffset + pointer)); for (int j=0; j<count; j++) { doubles[j] = in.readDouble(); } if (doubles.length == 1) value = new Double(doubles[0]); else value = doubles; } if (value != null) ifd.put(new Integer(tag), value); } in.seek((int) (globalOffset + offset + 2 + 12 * numEntries)); return ifd; } | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/633cdee0f10a4ab62a193ee7318d35e90e645db1/TiffTools.java/clean/loci/formats/TiffTools.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
18559,
336,
5501,
40,
12,
8529,
1862,
1228,
316,
16,
565,
1525,
309,
72,
2578,
16,
1525,
2552,
2335,
16,
1525,
1384,
16,
1250,
328,
10609,
13,
565,
1216,
1860,
225,
288,
565,
18559,
309,
72,
273,
394,
18559,
5621,
565,
368,
1923,
12720,
17,
22910,
2982,
358,
2713,
511,
30972,
900,
67,
30597,
1047,
565,
309,
72,
18,
458,
12,
2704,
2144,
12,
15716,
56,
900,
67,
30597,
3631,
394,
3411,
12,
267,
18,
291,
48,
10609,
1435,
10019,
565,
368,
855,
316,
1867,
3222,
364,
333,
11083,
40,
565,
309,
261,
9394,
13,
288,
1377,
1198,
2932,
588,
5501,
22831,
30,
6520,
310,
11083,
40,
31526,
397,
309,
72,
2578,
397,
315,
622,
315,
397,
3639,
261,
6347,
2335,
480,
374,
692,
261,
6347,
2335,
397,
17487,
397,
1384,
13,
294,
261,
3660,
397,
1384,
3719,
1769,
565,
289,
565,
316,
18,
16508,
12443,
474,
13,
261,
6347,
2335,
397,
1384,
10019,
565,
509,
818,
5400,
273,
316,
18,
896,
4897,
5621,
565,
309,
261,
2107,
5400,
411,
374,
13,
818,
5400,
1011,
28652,
31,
565,
309,
261,
9394,
13,
1198,
2932,
588,
5501,
22831,
30,
315,
397,
818,
5400,
397,
315,
1867,
3222,
358,
855,
8863,
565,
309,
261,
2107,
5400,
422,
374,
747,
818,
5400,
422,
404,
13,
327,
309,
72,
31,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
2107,
5400,
31,
277,
27245,
288,
1377,
316,
18,
16508,
12443,
474,
13,
261,
6347,
2335,
397,
1384,
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,
760,
18559,
336,
5501,
40,
12,
8529,
1862,
1228,
316,
16,
565,
1525,
309,
72,
2578,
16,
1525,
2552,
2335,
16,
1525,
1384,
16,
1250,
328,
10609,
13,
565,
1216,
1860,
225,
288,
565,
18559,
309,
72,
273,
394,
18559,
5621,
565,
368,
1923,
12720,
17,
22910,
2982,
358,
2713,
511,
30972,
900,
67,
30597,
1047,
565,
309,
72,
18,
458,
12,
2704,
2144,
12,
15716,
56,
900,
67,
30597,
3631,
394,
3411,
12,
267,
18,
291,
48,
10609,
1435,
10019,
565,
368,
855,
316,
1867,
3222,
364,
333,
11083,
40,
565,
309,
261,
9394,
13,
288,
1377,
1198,
2932,
588,
5501,
22831,
30,
6520,
310,
11083,
40,
31526,
397,
309,
72,
2578,
397,
315,
622,
315,
2
] |
if (Flags.isPublic(otherflags) || Flags.isProtected(otherflags) || (declaringType != null && declaringType.isInterface())) { | if (Flags.isPublic(otherflags) || Flags.isProtected(otherflags) || (declaringType != null && isInterfaceOrAnnotation(declaringType))) { | public static boolean isVisibleInHierarchy(IMember member, IPackageFragment pack) throws JavaModelException { int type= member.getElementType(); if (type == IJavaElement.INITIALIZER || (type == IJavaElement.METHOD && member.getElementName().startsWith("<"))) { //$NON-NLS-1$ return false; } int otherflags= member.getFlags(); IType declaringType= member.getDeclaringType(); if (Flags.isPublic(otherflags) || Flags.isProtected(otherflags) || (declaringType != null && declaringType.isInterface())) { return true; } else if (Flags.isPrivate(otherflags)) { return false; } IPackageFragment otherpack= (IPackageFragment) findParentOfKind(member, IJavaElement.PACKAGE_FRAGMENT); return (pack != null && pack.equals(otherpack)); } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/9f331be3dd63cb8d122e9433074bb4a41130c667/JavaModelUtil.java/buggy/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
20453,
382,
12074,
12,
3445,
2558,
3140,
16,
467,
2261,
7456,
2298,
13,
1216,
5110,
1488,
503,
288,
202,
202,
474,
618,
33,
3140,
18,
588,
17481,
5621,
202,
202,
430,
225,
261,
723,
422,
467,
5852,
1046,
18,
12919,
15154,
654,
747,
225,
261,
723,
422,
467,
5852,
1046,
18,
5327,
597,
3140,
18,
21336,
461,
7675,
17514,
1190,
2932,
32,
6,
20349,
288,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
474,
1308,
7133,
33,
3140,
18,
588,
5094,
5621,
9506,
202,
45,
559,
20845,
559,
33,
3140,
18,
588,
3456,
5968,
559,
5621,
202,
202,
430,
261,
5094,
18,
291,
4782,
12,
3011,
7133,
13,
747,
10104,
18,
291,
15933,
12,
3011,
7133,
13,
747,
261,
8840,
5968,
559,
480,
446,
597,
20845,
559,
18,
291,
1358,
1435,
3719,
288,
1082,
202,
2463,
638,
31,
202,
202,
97,
469,
309,
261,
5094,
18,
291,
6014,
12,
3011,
7133,
3719,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
25083,
202,
45,
2261,
7456,
1308,
2920,
33,
261,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1250,
20453,
382,
12074,
12,
3445,
2558,
3140,
16,
467,
2261,
7456,
2298,
13,
1216,
5110,
1488,
503,
288,
202,
202,
474,
618,
33,
3140,
18,
588,
17481,
5621,
202,
202,
430,
225,
261,
723,
422,
467,
5852,
1046,
18,
12919,
15154,
654,
747,
225,
261,
723,
422,
467,
5852,
1046,
18,
5327,
597,
3140,
18,
21336,
461,
7675,
17514,
1190,
2932,
32,
6,
20349,
288,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
2463,
629,
31,
202,
202,
97,
9506,
202,
474,
1308,
7133,
33,
3140,
18,
588,
5094,
5621,
9506,
202,
45,
559,
20845,
559,
33,
3140,
18,
588,
3456,
5968,
559,
5621,
202,
202,
430,
261,
5094,
18,
291,
4782,
12,
2
] |
String name, | char[] name, | public IASTEnumerationSpecifier createEnumerationSpecifier( IASTScope scope, String name, int startingOffset, int startingLine, int nameOffset, int nameEndOffset, int nameLine, char[] fn) throws ASTSemanticException; | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/18d9318d4df0c5bcdcd8b34cf92c3445bcb408e6/IASTFactory.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/IASTFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
9053,
21847,
21416,
752,
21847,
21416,
12,
3639,
467,
9053,
3876,
2146,
16,
3639,
1149,
8526,
508,
16,
3639,
509,
5023,
2335,
16,
509,
5023,
1670,
16,
509,
508,
2335,
16,
509,
508,
1638,
2335,
16,
509,
508,
1670,
16,
1149,
8526,
2295,
13,
1216,
9183,
13185,
9941,
503,
31,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
9053,
21847,
21416,
752,
21847,
21416,
12,
3639,
467,
9053,
3876,
2146,
16,
3639,
1149,
8526,
508,
16,
3639,
509,
5023,
2335,
16,
509,
5023,
1670,
16,
509,
508,
2335,
16,
509,
508,
1638,
2335,
16,
509,
508,
1670,
16,
1149,
8526,
2295,
13,
1216,
9183,
13185,
9941,
503,
31,
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
] |
return new TreeSet(subcollections.keySet()).iterator(); | return subcollections.stableIterator(); | synchronized public Iterator collectionIterator() { return new TreeSet(subcollections.keySet()).iterator(); } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/649108f09570f07d4650714aa49b28d6cb826707/Collection.java/buggy/src/org/exist/collections/Collection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
22043,
1071,
4498,
1849,
3198,
1435,
288,
202,
202,
2463,
394,
19461,
12,
1717,
19246,
18,
856,
694,
1435,
2934,
9838,
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,
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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,
22043,
1071,
4498,
1849,
3198,
1435,
288,
202,
202,
2463,
394,
19461,
12,
1717,
19246,
18,
856,
694,
1435,
2934,
9838,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return _type = Type.NodeSetDTM; | return _type = Type.NodeSet; | public Type typeCheck(SymbolTable stable) throws TypeCheckError { Type texp = _exp.typeCheck(stable); if (texp instanceof ReferenceType) { // TODO: print a warning indicating that no expansion is // possible in this case due to lack of type info throw new TypeCheckError(this); } if (texp instanceof NumberType) { if (texp instanceof IntType == false) { _exp = new CastExpr(_exp, Type.Int); } // Expand [last()] into [position() = last()] if ((_exp instanceof LastCall) || (getParent() instanceof Pattern) || (getParent() instanceof FilterExpr)) { final QName position = getParser().getQName("position"); final PositionCall positionCall; positionCall = new PositionCall(position, -1); positionCall.setParser(getParser()); positionCall.setParent(this); _exp = new EqualityExpr(EqualityExpr.EQ, positionCall, _exp); if (_exp.typeCheck(stable) != Type.Boolean) { _exp = new CastExpr(_exp, Type.Boolean); } _nthPositionFilter = false; return _type = Type.Boolean; } // Use NthPositionIterator to handle [position()] or [a] else { SyntaxTreeNode parent = getParent(); if ((parent != null) && (parent instanceof Step)) { parent = parent.getParent(); if ((parent != null) && (parent instanceof AbsoluteLocationPath)) { // TODO: Special case for "//*[n]" pattern.... _nthDescendant = true; return _type = Type.NodeSetDTM; } } _nthPositionFilter = true; return _type = Type.NodeSetDTM; } } else if (texp instanceof BooleanType == false) { _exp = new CastExpr(_exp, Type.Boolean); } _nthPositionFilter = false; return _type = Type.Boolean; } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/f0eadbdddedfdd79ebf4f6c6de8e4fc82241e61f/Predicate.java/buggy/src/org/apache/xalan/xsltc/compiler/Predicate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1412,
618,
1564,
12,
5335,
1388,
14114,
13,
1216,
1412,
1564,
668,
288,
202,
559,
268,
2749,
273,
389,
2749,
18,
723,
1564,
12,
15021,
1769,
202,
430,
261,
88,
2749,
1276,
6268,
559,
13,
288,
202,
565,
368,
2660,
30,
1172,
279,
3436,
11193,
716,
1158,
17965,
353,
202,
565,
368,
3323,
316,
333,
648,
6541,
358,
30679,
434,
618,
1123,
202,
565,
604,
394,
1412,
1564,
668,
12,
2211,
1769,
202,
97,
202,
430,
261,
88,
2749,
1276,
3588,
559,
13,
288,
202,
565,
309,
261,
88,
2749,
1276,
3094,
559,
422,
629,
13,
288,
202,
202,
67,
2749,
273,
394,
19782,
4742,
24899,
2749,
16,
1412,
18,
1702,
1769,
202,
565,
289,
202,
565,
368,
16429,
306,
2722,
1435,
65,
1368,
306,
3276,
1435,
273,
1142,
1435,
65,
202,
565,
309,
14015,
67,
2749,
1276,
6825,
1477,
13,
747,
202,
202,
12,
588,
3054,
1435,
1276,
6830,
13,
747,
202,
202,
12,
588,
3054,
1435,
1276,
4008,
4742,
3719,
288,
202,
202,
6385,
16723,
1754,
273,
20804,
7675,
588,
13688,
2932,
3276,
8863,
202,
202,
6385,
11010,
1477,
1754,
1477,
31,
202,
202,
3276,
1477,
273,
394,
11010,
1477,
12,
3276,
16,
300,
21,
1769,
202,
202,
3276,
1477,
18,
542,
2678,
12,
588,
2678,
10663,
202,
202,
3276,
1477,
18,
542,
3054,
12,
2211,
1769,
202,
202,
67,
2749,
273,
394,
9057,
560,
4742,
12,
20273,
4742,
18,
27247,
16,
1754,
1477,
16,
389,
2749,
1769,
202,
202,
430,
261,
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,
377,
1071,
1412,
618,
1564,
12,
5335,
1388,
14114,
13,
1216,
1412,
1564,
668,
288,
202,
559,
268,
2749,
273,
389,
2749,
18,
723,
1564,
12,
15021,
1769,
202,
430,
261,
88,
2749,
1276,
6268,
559,
13,
288,
202,
565,
368,
2660,
30,
1172,
279,
3436,
11193,
716,
1158,
17965,
353,
202,
565,
368,
3323,
316,
333,
648,
6541,
358,
30679,
434,
618,
1123,
202,
565,
604,
394,
1412,
1564,
668,
12,
2211,
1769,
202,
97,
202,
430,
261,
88,
2749,
1276,
3588,
559,
13,
288,
202,
565,
309,
261,
88,
2749,
1276,
3094,
559,
422,
629,
13,
288,
202,
202,
67,
2749,
273,
394,
19782,
4742,
24899,
2749,
16,
1412,
18,
1702,
1769,
202,
565,
289,
202,
565,
2
] |
private MouseListener createMouseListenerForTreeViewer() { | private MouseListener createMouseListenerForTreeViewer(final Tree tree) { | private MouseListener createMouseListenerForTreeViewer() { final MouseListener mouseListener = new MouseAdapter() { public void mouseUp(MouseEvent e) { final Tree tree = fTreeViewer.getTree(); if (tree.getSelectionCount() < 1) { return; } if (e.button != 1) { return; } if (tree.equals(e.getSource())) { Object o = tree.getItem(new Point(e.x, e.y)); final TreeItem selection = tree.getSelection()[0]; if (selection.equals(o)) { CElement selectedElement = (CElement) selection .getData(); fEditor.setSelection(selectedElement); dispose(); } if (fComposite != null && !fComposite.isDisposed()) { fBounds = fComposite.getBounds(); } } } }; return mouseListener; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0482b3954404fd528d629e737114a70d018a10db/COutlineInformationControl.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/COutlineInformationControl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
17013,
2223,
752,
9186,
2223,
1290,
2471,
18415,
12,
6385,
4902,
2151,
13,
288,
3639,
727,
17013,
2223,
7644,
2223,
273,
394,
17013,
4216,
1435,
288,
5411,
1071,
918,
7644,
1211,
12,
9186,
1133,
425,
13,
288,
7734,
727,
4902,
2151,
273,
284,
2471,
18415,
18,
588,
2471,
5621,
7734,
309,
261,
3413,
18,
588,
6233,
1380,
1435,
411,
404,
13,
288,
10792,
327,
31,
7734,
289,
7734,
309,
261,
73,
18,
5391,
480,
404,
13,
288,
10792,
327,
31,
7734,
289,
7734,
309,
261,
3413,
18,
14963,
12,
73,
18,
588,
1830,
1435,
3719,
288,
10792,
1033,
320,
273,
2151,
18,
588,
1180,
12,
2704,
4686,
12,
73,
18,
92,
16,
425,
18,
93,
10019,
10792,
727,
4902,
1180,
4421,
273,
2151,
18,
588,
6233,
1435,
63,
20,
15533,
10792,
309,
261,
10705,
18,
14963,
12,
83,
3719,
288,
13491,
385,
1046,
3170,
1046,
273,
261,
39,
1046,
13,
4421,
27573,
263,
588,
751,
5621,
13491,
284,
6946,
18,
542,
6233,
12,
8109,
1046,
1769,
13491,
15825,
5621,
10792,
289,
10792,
309,
261,
74,
9400,
480,
446,
597,
401,
74,
9400,
18,
291,
1669,
7423,
10756,
10792,
288,
13491,
284,
5694,
273,
284,
9400,
18,
588,
5694,
5621,
10792,
289,
7734,
289,
5411,
289,
3639,
289,
31,
3639,
327,
7644,
2223,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
17013,
2223,
752,
9186,
2223,
1290,
2471,
18415,
12,
6385,
4902,
2151,
13,
288,
3639,
727,
17013,
2223,
7644,
2223,
273,
394,
17013,
4216,
1435,
288,
5411,
1071,
918,
7644,
1211,
12,
9186,
1133,
425,
13,
288,
7734,
727,
4902,
2151,
273,
284,
2471,
18415,
18,
588,
2471,
5621,
7734,
309,
261,
3413,
18,
588,
6233,
1380,
1435,
411,
404,
13,
288,
10792,
327,
31,
7734,
289,
7734,
309,
261,
73,
18,
5391,
480,
404,
13,
288,
10792,
327,
31,
7734,
289,
7734,
309,
261,
3413,
18,
14963,
12,
73,
18,
588,
1830,
1435,
3719,
288,
10792,
1033,
320,
273,
2151,
18,
588,
1180,
12,
2704,
4686,
12,
73,
18,
92,
16,
425,
18,
93,
10019,
10792,
2
] |
o = new String(tempOrder).toUpperCase(); | o = new String(tempOrder).toUpperCase().trim(); | protected void initFile(String id) throws FormatException, IOException { super.initFile(id); String icsId = id, idsId = id; int dot = id.lastIndexOf("."); String ext = dot < 0 ? "" : id.substring(dot + 1).toLowerCase(); if(ext.equals("ics")) { // convert C to D regardless of case char[] c = idsId.toCharArray(); c[c.length - 2]++; idsId = new String(c); } else if(ext.equals("ids")) { // convert D to C regardless of case char[] c = icsId.toCharArray(); c[c.length - 2]--; id = icsId = new String(c); } if (icsId == null) throw new FormatException("No ICS file found."); File icsFile = new File(getMappedId(icsId)); if (!icsFile.exists()) throw new FormatException("ICS file not found."); // check if we have a v2 ICS file RandomAccessFile f = new RandomAccessFile(getMappedId(icsId), "r"); byte[] b = new byte[17]; f.read(b); f.close(); if (new String(b).trim().equals("ics_version\t2.0")) { idsIn = new RandomAccessStream(getMappedId(icsId)); versionTwo = true; } else { if (idsId == null) throw new FormatException("No IDS file found."); File idsFile = new File(getMappedId(idsId)); if (!idsFile.exists()) throw new FormatException("IDS file not found."); currentIdsId = idsId; idsIn = new RandomAccessStream(getMappedId(idsId)); } currentIcsId = icsId; icsIn = icsFile; BufferedReader reader = new BufferedReader(new FileReader(icsIn)); String line = reader.readLine(); line = reader.readLine(); StringTokenizer t; String token; while (line != null && !line.trim().equals("end")) { t = new StringTokenizer(line); while(t.hasMoreTokens()) { token = t.nextToken(); if (!token.equals("layout") && !token.equals("representation") && !token.equals("parameter") && !token.equals("history") && !token.equals("sensor")) { if (t.countTokens() < 3) { try { metadata.put(token, t.nextToken()); } catch (NoSuchElementException e) { } } else { String meta = t.nextToken(); while (t.hasMoreTokens()) { meta = meta + " " + t.nextToken(); } metadata.put(token, meta); } } } line = reader.readLine(); } String images = (String) metadata.get("sizes"); String ord = (String) metadata.get("order"); // bpp, width, height, z, channels StringTokenizer t1 = new StringTokenizer(images); StringTokenizer t2 = new StringTokenizer(ord); for(int i=0; i<dimensions.length; i++) { dimensions[i] = 1; } String imageToken; String orderToken; while (t1.hasMoreTokens() && t2.hasMoreTokens()) { imageToken = t1.nextToken(); orderToken = t2.nextToken(); if (orderToken.equals("bits")) { dimensions[0] = Integer.parseInt(imageToken); } else if(orderToken.equals("x")) { dimensions[1] = Integer.parseInt(imageToken); } else if(orderToken.equals("y")) { dimensions[2] = Integer.parseInt(imageToken); } else if(orderToken.equals("z")) { dimensions[3] = Integer.parseInt(imageToken); } else if(orderToken.equals("ch")) { dimensions[4] = Integer.parseInt(imageToken); } else { dimensions[5] = Integer.parseInt(imageToken); } } int width = dimensions[1]; int height = dimensions[2]; numImages = dimensions[3] * dimensions[4] * dimensions[5]; String endian = (String) metadata.get("byte_order"); littleEndian = true; if (endian != null) { StringTokenizer endianness = new StringTokenizer(endian); int firstByte = 0; int lastByte = 0; for(int i=0; i<endianness.countTokens(); i++) { if (i == 0) firstByte = Integer.parseInt(endianness.nextToken()); else lastByte = Integer.parseInt(endianness.nextToken()); } if (lastByte < firstByte) littleEndian = false; } String test = (String) metadata.get("compression"); boolean gzip = (test == null) ? false : test.equals("gzip"); if (versionTwo) { String s = idsIn.readLine(); while(!s.trim().equals("end")) s = idsIn.readLine(); } data = new byte[(int) (idsIn.length() - idsIn.getFilePointer())]; // extra check is because some of our datasets are labeled as 'gzip', and // have a valid GZIP header, but are actually uncompressed if (gzip && ((data.length / (numImages) < (width * height * dimensions[0]/8)))) { idsIn.read(data); byte[] buf = new byte[8192]; ByteVector v = new ByteVector(); try { GZIPInputStream decompressor = new GZIPInputStream(new ByteArrayInputStream(data)); int r = decompressor.read(buf, 0, buf.length); while (r > 0) { v.add(buf, 0, r); r = decompressor.read(buf, 0, buf.length); } data = v.toByteArray(); } catch (Exception dfe) { dfe.printStackTrace(); throw new FormatException("Error uncompressing gzip'ed data."); } } else idsIn.readFully(data); // Populate metadata store // The metadata store we're working with. MetadataStore store = getMetadataStore(id); store.setImage((String) metadata.get("filename"), null, null, null); // populate Pixels element String o = (String) metadata.get("order"); o = o.substring(o.indexOf("x")); char[] tempOrder = new char[(o.length() / 2) + 1]; int pt = 0; for (int i=0; i<o.length(); i+=2) { tempOrder[pt] = o.charAt(i); pt++; } o = new String(tempOrder).toUpperCase(); if (o.indexOf("Z") == -1) o = o + "Z"; if (o.indexOf("T") == -1) o = o + "T"; if (o.indexOf("C") == -1) o = o + "C"; int bitsPerPixel = Integer.parseInt((String) metadata.get("significant_bits")); String fmt = (String) metadata.get("format"); String sign = (String) metadata.get("sign"); if (fmt.equals("real")) pixelType[0] = FormatReader.INT16; else if (fmt.equals("integer")) { while (bitsPerPixel % 8 != 0) bitsPerPixel++; if (bitsPerPixel == 24 || bitsPerPixel == 48) bitsPerPixel /= 3; if (sign.equals("unsigned")) { switch (bitsPerPixel) { case 8: pixelType[0] = FormatReader.UINT8; break; case 16: pixelType[0] = FormatReader.UINT16; break; case 32: pixelType[0] = FormatReader.UINT32; break; } } else { switch (bitsPerPixel) { case 8: pixelType[0] = FormatReader.INT8; break; case 16: pixelType[0] = FormatReader.INT16; break; case 32: pixelType[0] = FormatReader.INT32; break; } } } else { throw new RuntimeException("Unknown pixel format: " + format); } order = o; sizeX[0] = dimensions[1]; sizeY[0] = dimensions[2]; sizeZ[0] = dimensions[3]; sizeC[0] = dimensions[4]; sizeT[0] = dimensions[5]; currentOrder[0] = order; store.setPixels( new Integer(dimensions[1]), // SizeX new Integer(dimensions[2]), // SizeY new Integer(dimensions[3]), // SizeZ new Integer(dimensions[4]), // SizeC new Integer(dimensions[5]), // SizeT new Integer(pixelType[0]), // PixelType new Boolean(!littleEndian), // BigEndian ord, // DimensionOrder null); // Use index 0 } | 55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/33caf22f667f1dd36155bc8165cdfa59809d83b7/ICSReader.java/buggy/loci/formats/in/ICSReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
514,
277,
2143,
548,
273,
612,
16,
3258,
548,
273,
612,
31,
565,
509,
3928,
273,
612,
18,
2722,
31985,
2932,
1199,
1769,
565,
514,
1110,
273,
3928,
411,
374,
692,
1408,
294,
612,
18,
28023,
12,
9811,
397,
404,
2934,
869,
5630,
5621,
565,
309,
12,
408,
18,
14963,
2932,
2102,
6,
3719,
288,
1377,
368,
1765,
385,
358,
463,
15255,
434,
648,
1377,
1149,
8526,
276,
273,
3258,
548,
18,
869,
15936,
5621,
1377,
276,
63,
71,
18,
2469,
300,
576,
3737,
15,
31,
1377,
3258,
548,
273,
394,
514,
12,
71,
1769,
565,
289,
565,
469,
309,
12,
408,
18,
14963,
2932,
2232,
6,
3719,
288,
1377,
368,
1765,
463,
358,
385,
15255,
434,
648,
1377,
1149,
8526,
276,
273,
277,
2143,
548,
18,
869,
15936,
5621,
1377,
276,
63,
71,
18,
2469,
300,
576,
65,
413,
31,
1377,
612,
273,
277,
2143,
548,
273,
394,
514,
12,
71,
1769,
565,
289,
565,
309,
261,
2102,
548,
422,
446,
13,
604,
394,
4077,
503,
2932,
2279,
467,
4596,
585,
1392,
1199,
1769,
565,
1387,
277,
2143,
812,
273,
394,
1387,
12,
588,
12868,
548,
12,
2102,
548,
10019,
565,
309,
16051,
2102,
812,
18,
1808,
10756,
604,
394,
4077,
503,
2932,
28919,
585,
486,
1392,
1199,
1769,
565,
368,
866,
309,
732,
1240,
279,
331,
22,
467,
4596,
585,
565,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
514,
277,
2143,
548,
273,
612,
16,
3258,
548,
273,
612,
31,
565,
509,
3928,
273,
612,
18,
2722,
31985,
2932,
1199,
1769,
565,
514,
1110,
273,
3928,
411,
374,
692,
1408,
294,
612,
18,
28023,
12,
9811,
397,
404,
2934,
869,
5630,
5621,
565,
309,
12,
408,
18,
14963,
2932,
2102,
6,
3719,
288,
1377,
368,
1765,
385,
358,
463,
15255,
434,
648,
1377,
1149,
8526,
276,
273,
3258,
548,
18,
869,
15936,
5621,
1377,
276,
63,
71,
18,
2469,
300,
576,
3737,
15,
31,
1377,
3258,
548,
273,
394,
514,
12,
71,
1769,
2
] |
bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_FLOAT), | bootImage.setFullWord(arrayImageOffset.add(i << LOG_BYTES_IN_FLOAT), | private static int copyToBootImage(Object jdkObject, boolean allocOnly, int overwriteOffset, Object parentObject) throws IllegalAccessException { // // Return object if it is already copied and not being overwritten // BootImageMap.Entry mapEntry = BootImageMap.findOrCreateEntry(jdkObject); if (mapEntry.imageOffset != OBJECT_NOT_ALLOCATED && overwriteOffset == -1) return mapEntry.imageOffset; if (verbose >= 2) depth++; // // fetch object's type information // Class jdkType = jdkObject.getClass(); VM_Type rvmType = getRvmType(jdkType); if (rvmType == null) { if (verbose >= 2) traverseObject(jdkObject); if (verbose >= 2) depth--; return OBJECT_NOT_PRESENT; // object not part of bootimage } // // copy object to image // if (jdkType.isArray()) { VM_Array rvmArrayType = rvmType.asArray(); // // allocate space in image // int arrayCount = Array.getLength(jdkObject); int arrayImageOffset = (overwriteOffset == -1) ? bootImage.allocateArray(rvmArrayType, arrayCount) : overwriteOffset; mapEntry.imageOffset = arrayImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + ": "; int arraySize = rvmArrayType.getInstanceSize(arrayCount); say(tab, "Copying array ", jdkType.getName(), " length=", String.valueOf(arrayCount), (arraySize >= LARGE_ARRAY_SIZE) ? " large object!!!" : ""); } } VM_Type rvmElementType = rvmArrayType.getElementType(); // Show info on reachability of int arrays // if (false && rvmElementType.equals(VM_Type.IntType)) { if (parentObject != null) { Class parentObjectType = parentObject.getClass(); VM.sysWrite("Copying int array (", 4 * ((int []) jdkObject).length); VM.sysWriteln(" bytes) from parent object of type ", parentObjectType.toString()); } else { VM.sysWriteln("Copying int array from no parent object"); } } // // copy array elements from host jdk address space into image // recurse on values that are references // if (rvmElementType.isPrimitiveType()) { // array element is logical or numeric type if (rvmElementType.equals(VM_Type.BooleanType)) { boolean values[] = (boolean[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i] ? 1 : 0); } else if (rvmElementType.equals(VM_Type.ByteType)) { byte values[] = (byte[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setByte(arrayImageOffset + i, values[i]); } else if (rvmElementType.equals(VM_Type.CharType)) { char values[] = (char[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setHalfWord(arrayImageOffset + (i << LOG_BYTES_IN_CHAR), values[i]); } else if (rvmElementType.equals(VM_Type.ShortType)) { short values[] = (short[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setHalfWord(arrayImageOffset + (i << LOG_BYTES_IN_SHORT), values[i]); } else if (rvmElementType.equals(VM_Type.IntType)) { int values[] = (int[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_INT), values[i]); } else if (rvmElementType.equals(VM_Type.LongType)) { long values[] = (long[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_LONG), values[i]); } else if (rvmElementType.equals(VM_Type.FloatType)) { float values[] = (float[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setFullWord(arrayImageOffset + (i << LOG_BYTES_IN_FLOAT), Float.floatToIntBits(values[i])); } else if (rvmElementType.equals(VM_Type.DoubleType)) { double values[] = (double[]) jdkObject; for (int i = 0; i < arrayCount; ++i) bootImage.setDoubleWord(arrayImageOffset + (i << LOG_BYTES_IN_DOUBLE), Double.doubleToLongBits(values[i])); } else fail("unexpected primitive array type: " + rvmArrayType); } else { // array element is reference type Object values[] = (Object []) jdkObject; Class jdkClass = jdkObject.getClass(); if (!allocOnly) { for (int i = 0; i<arrayCount; ++i) { if (values[i] != null) { if (verbose >= 2) traceContext.push(values[i].getClass().getName(), jdkClass.getName(), i); int imageOffset = copyToBootImage(values[i], allocOnly, -1, jdkObject); if (imageOffset == OBJECT_NOT_PRESENT) { // object not part of bootimage: install null reference if (verbose >= 2) traceContext.traceObjectNotInBootImage(); bootImage.setNullAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS)); } else { bootImage.setAddressWord(arrayImageOffset + (i << LOG_BYTES_IN_ADDRESS), bootImageAddress.add(imageOffset).toWord()); } if (verbose >= 2) traceContext.pop(); } } } } } else { if (rvmType == VM_Type.AddressArrayType) { if (verbose >= 2) depth--; AddressArray addrArray = (AddressArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.ObjectReferenceArrayType) { if (verbose >= 2) depth--; ObjectReferenceArray orArray = (ObjectReferenceArray) jdkObject; Object backing = orArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.OffsetArrayType) { if (verbose >= 2) depth--; OffsetArray addrArray = (OffsetArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.WordArrayType) { if (verbose >= 2) depth--; WordArray addrArray = (WordArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.ExtentArrayType) { if (verbose >= 2) depth--; ExtentArray addrArray = (ExtentArray) jdkObject; Object backing = addrArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType == VM_Type.CodeArrayType) { if (verbose >= 2) depth--; VM_CodeArray codeArray = (VM_CodeArray) jdkObject; Object backing = codeArray.getBacking(); return copyMagicArrayToBootImage(backing, rvmType.asArray(), allocOnly, overwriteOffset, parentObject); } if (rvmType.isMagicType()) { VM.sysWriteln("Unhandled copying of magic type: " + rvmType.getDescriptor().toString()); VM.sysFail("incomplete boot image support"); } // // allocate space in image // VM_Class rvmScalarType = rvmType.asClass(); int scalarImageOffset = (overwriteOffset == -1) ? bootImage.allocateScalar(rvmScalarType) : overwriteOffset; mapEntry.imageOffset = scalarImageOffset; if (verbose >= 2) { if (depth == depthCutoff) say(SPACES.substring(0,depth+1), "TOO DEEP: cutting off"); else if (depth < depthCutoff) { String tab = SPACES.substring(0,depth+1); if (depth == 0 && jtocCount >= 0) tab = tab + "jtoc #" + String.valueOf(jtocCount) + " "; int scalarSize = rvmScalarType.getInstanceSize(); say(tab, "Copying object ", jdkType.getName(), " size=", String.valueOf(scalarSize), (scalarSize >= LARGE_SCALAR_SIZE) ? " large object!!!" : ""); } } // // copy object fields from host jdk address space into image // recurse on values that are references // VM_Field[] rvmFields = rvmScalarType.getInstanceFields(); for (int i = 0, n = rvmFields.length; i < n; ++i) { VM_Field rvmField = rvmFields[i]; VM_TypeReference rvmFieldType = rvmField.getType(); int rvmFieldOffset = scalarImageOffset + rvmField.getOffsetAsInt(); String rvmFieldName = rvmField.getName().toString(); Field jdkFieldAcc = getJdkFieldAccessor(jdkType, i, INSTANCE_FIELD); if (jdkFieldAcc == null) { if (verbose >= 2) traceContext.push(rvmFieldType.toString(), jdkType.getName(), rvmFieldName); if (verbose >= 2) traceContext.traceFieldNotInHostJdk(); if (verbose >= 2) traceContext.pop(); if (rvmFieldType.isPrimitiveType()) switch (rvmField.getType().getSize()) { case 4: bootImage.setFullWord(rvmFieldOffset, 0); break; case 8: bootImage.setDoubleWord(rvmFieldOffset, 0L); break; default:fail("unexpected field type: " + rvmFieldType); break; } else bootImage.setNullAddressWord(rvmFieldOffset); continue; } if (rvmFieldType.isPrimitiveType()) { // field is logical or numeric type if (rvmFieldType.isBooleanType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getBoolean(jdkObject) ? 1 : 0); } else if (rvmFieldType.isByteType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getByte(jdkObject)); } else if (rvmFieldType.isCharType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getChar(jdkObject)); } else if (rvmFieldType.isShortType()) { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getShort(jdkObject)); } else if (rvmFieldType.isIntType()) { try { bootImage.setFullWord(rvmFieldOffset, jdkFieldAcc.getInt(jdkObject)); } catch (IllegalArgumentException ex) { System.err.println( "type " + rvmScalarType + ", field " + rvmField); throw ex; } } else if (rvmFieldType.isLongType()) { bootImage.setDoubleWord(rvmFieldOffset, jdkFieldAcc.getLong(jdkObject)); } else if (rvmFieldType.isFloatType()) { float f = jdkFieldAcc.getFloat(jdkObject); bootImage.setFullWord(rvmFieldOffset, Float.floatToIntBits(f)); } else if (rvmFieldType.isDoubleType()) { double d = jdkFieldAcc.getDouble(jdkObject); bootImage.setDoubleWord(rvmFieldOffset, Double.doubleToLongBits(d)); } else if (rvmFieldType.equals(VM_TypeReference.Address) || rvmFieldType.equals(VM_TypeReference.Word) || rvmFieldType.equals(VM_TypeReference.Extent) || rvmFieldType.equals(VM_TypeReference.Offset)) { Object o = jdkFieldAcc.get(jdkObject); String msg = " instance field " + rvmField.toString(); boolean warn = rvmFieldType.equals(VM_TypeReference.Address); bootImage.setAddressWord(rvmFieldOffset, getWordValue(o, msg, warn)); } else { fail("unexpected primitive field type: " + rvmFieldType); } } else { // field is reference type Object value = jdkFieldAcc.get(jdkObject); if (!allocOnly && value != null) { Class jdkClass = jdkFieldAcc.getDeclaringClass(); if (verbose >= 2) traceContext.push(value.getClass().getName(), jdkClass.getName(), jdkFieldAcc.getName()); int imageOffset = copyToBootImage(value, allocOnly, -1, jdkObject); if (imageOffset == OBJECT_NOT_PRESENT) { // object not part of bootimage: install null reference if (verbose >= 2) traceContext.traceObjectNotInBootImage(); bootImage.setNullAddressWord(rvmFieldOffset); } else bootImage.setAddressWord(rvmFieldOffset, bootImageAddress.add(imageOffset).toWord()); if (verbose >= 2) traceContext.pop(); } } } } // // copy object's type information block into image, if it's not there // already // if (!allocOnly) { if (verbose >= 2) traceContext.push("", jdkObject.getClass().getName(), "tib"); int tibImageOffset = copyToBootImage(rvmType.getTypeInformationBlock(), allocOnly, -1, jdkObject); if (verbose >= 2) traceContext.pop(); if (tibImageOffset == OBJECT_NOT_ALLOCATED) fail("can't copy tib for " + jdkObject); Address tibAddress = bootImageAddress.add(tibImageOffset); VM_ObjectModel.setTIB(bootImage, mapEntry.imageOffset, tibAddress, rvmType); } if (verbose >= 2) depth--; return mapEntry.imageOffset; } | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/d1d1434574eb350f48cb1d82f04917a27eea9bdc/BootImageWriter.java/clean/rvm/src/tools/bootImageWriter/BootImageWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
29817,
15817,
2040,
12,
921,
525,
2883,
921,
16,
4766,
1377,
1250,
4767,
3386,
16,
509,
6156,
2335,
16,
4766,
1377,
1033,
982,
921,
13,
565,
1216,
11900,
565,
288,
1377,
368,
1377,
368,
2000,
733,
309,
518,
353,
1818,
9268,
471,
486,
3832,
15345,
1377,
368,
1377,
26254,
2040,
863,
18,
1622,
852,
1622,
273,
26254,
2040,
863,
18,
4720,
17717,
1622,
12,
78,
2883,
921,
1769,
1377,
309,
261,
1458,
1622,
18,
2730,
2335,
480,
12166,
67,
4400,
67,
1013,
1502,
13890,
597,
6156,
2335,
422,
300,
21,
13,
3639,
327,
852,
1622,
18,
2730,
2335,
31,
1377,
309,
261,
11369,
1545,
576,
13,
3598,
9904,
31,
1377,
368,
1377,
368,
2158,
733,
1807,
618,
1779,
1377,
368,
1377,
1659,
282,
525,
2883,
559,
273,
525,
2883,
921,
18,
588,
797,
5621,
1377,
8251,
67,
559,
436,
3489,
559,
273,
4170,
3489,
559,
12,
78,
2883,
559,
1769,
1377,
309,
261,
86,
3489,
559,
422,
446,
13,
288,
3639,
309,
261,
11369,
1545,
576,
13,
10080,
921,
12,
78,
2883,
921,
1769,
3639,
309,
261,
11369,
1545,
576,
13,
3598,
413,
31,
3639,
327,
12166,
67,
4400,
67,
3670,
17418,
31,
368,
733,
486,
1087,
434,
4835,
2730,
1377,
289,
1377,
368,
1377,
368,
1610,
733,
358,
1316,
1377,
368,
1377,
309,
261,
78,
2883,
559,
18,
291,
1076,
10756,
288,
3639,
8251,
67,
1076,
436,
3489,
27182,
273,
436,
3489,
559,
18,
345,
1076,
5621,
3639,
368,
3639,
368,
10101,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
509,
29817,
15817,
2040,
12,
921,
525,
2883,
921,
16,
4766,
1377,
1250,
4767,
3386,
16,
509,
6156,
2335,
16,
4766,
1377,
1033,
982,
921,
13,
565,
1216,
11900,
565,
288,
1377,
368,
1377,
368,
2000,
733,
309,
518,
353,
1818,
9268,
471,
486,
3832,
15345,
1377,
368,
1377,
26254,
2040,
863,
18,
1622,
852,
1622,
273,
26254,
2040,
863,
18,
4720,
17717,
1622,
12,
78,
2883,
921,
1769,
1377,
309,
261,
1458,
1622,
18,
2730,
2335,
480,
12166,
67,
4400,
67,
1013,
1502,
13890,
597,
6156,
2335,
422,
300,
21,
13,
3639,
327,
852,
1622,
18,
2730,
2335,
31,
1377,
309,
261,
11369,
1545,
576,
13,
3598,
9904,
31,
1377,
368,
1377,
368,
2158,
733,
2
] |
me.linkClicked(cycle); | me.linkClicked(); | public void linkClicked(final RequestCycle cycle) { // call SortableTableHeaders implementation me.linkClicked(cycle); // Redirect back to result to avoid refresh updating the link count cycle.setRedirect(true); } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c115d7a37cdcba89f06d37acc5a9f346d51786cf/SortableTableHeader.java/buggy/wicket/src/java/wicket/markup/html/table/SortableTableHeader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1692,
27633,
12,
6385,
1567,
13279,
8589,
13,
5411,
288,
7734,
368,
745,
5928,
429,
1388,
3121,
4471,
7734,
1791,
18,
1232,
27633,
5621,
7734,
368,
9942,
1473,
358,
563,
358,
4543,
4460,
9702,
326,
1692,
1056,
7734,
8589,
18,
542,
5961,
12,
3767,
1769,
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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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
1692,
27633,
12,
6385,
1567,
13279,
8589,
13,
5411,
288,
7734,
368,
745,
5928,
429,
1388,
3121,
4471,
7734,
1791,
18,
1232,
27633,
5621,
7734,
368,
9942,
1473,
358,
563,
358,
4543,
4460,
9702,
326,
1692,
1056,
7734,
8589,
18,
542,
5961,
12,
3767,
1769,
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
] |
LOG.debug("generated AST: " + ast.toStringTree()); | protected void processXInclude(Attributes atts) throws SAXException { // save some settings DocumentImpl prevDoc = document; boolean createContainerElements = serializer.createContainerElements; serializer.createContainerElements = false; // parse the href attribute String href = atts.getValue("href"); if (href != null) { LOG.debug("found href=\"" + href + "\""); String xpointer = null; String docName = href; // try to find xpointer part int p = href.indexOf('#'); if (-1 < p) { docName = href.substring(0, p); xpointer = XMLUtil.decodeAttrMarkup(href.substring(p + 1)); LOG.debug("found xpointer: " + xpointer); } // if docName has no collection specified, assume // current collection p = docName.lastIndexOf('/'); if (p < 0) docName = document.getCollection().getName() + '/' + docName; // retrieve the document LOG.debug("loading " + docName); DocumentImpl doc = null; try { doc = (DocumentImpl) serializer.broker.getDocument(docName); } catch (PermissionDeniedException e) { LOG.warn("permission denied", e); throw new SAXException(e); } /* if document has not been found and xpointer is * null, throw an exception. If xpointer != null * we retry below and interpret docName as * a collection. */ if (doc == null && xpointer == null) throw new SAXException("document " + docName + " not found"); if (xpointer == null) // no xpointer found - just serialize the doc serializer.serializeToSAX(doc, false); else { // process the xpointer try { // build input document set DocumentSet docs = new DocumentSet(); if (doc == null) { // try to read documents from the collection // specified by docName docs = serializer.broker.getDocumentsByCollection(docName, docs); // give up if (docs == null) throw new SAXException( "no document or collection " + "called " + docName); } else { docs.add(doc); } StaticContext context = new StaticContext(serializer.broker); context.setStaticallyKnownDocuments(docs); xpointer = checkNamespaces(context, xpointer); Map.Entry entry; for(Iterator i = namespaces.entrySet().iterator(); i.hasNext(); ) { entry = (Map.Entry)i.next(); context.declareNamespace((String)entry.getKey(), (String)entry.getValue()); } XPathLexer2 lexer = new XPathLexer2(new StringReader(xpointer)); XPathParser2 parser = new XPathParser2(lexer); XPathTreeParser2 treeParser = new XPathTreeParser2(context); parser.xpointer(); if (parser.foundErrors()) { throw new SAXException(parser.getErrorMessage()); } AST ast = parser.getAST(); LOG.debug("generated AST: " + ast.toStringTree()); PathExpr expr = new PathExpr(context); treeParser.xpointer(ast, expr); if (treeParser.foundErrors()) { throw new SAXException(treeParser.getErrorMessage()); } LOG.info("xpointer query: " + expr.pprint()); long start = System.currentTimeMillis(); Sequence seq = expr.eval(null, null); switch (seq.getItemType()) { case Type.NODE : NodeSet set = (NodeSet) seq; LOG.info("xpointer found: " + set.getLength()); NodeProxy proxy; for (Iterator i = set.iterator(); i.hasNext();) { proxy = (NodeProxy) i.next(); serializer.serializeToSAX(proxy, false); } break; default : String val; for (int i = 0; i < seq.getLength(); i++) { val = seq.itemAt(i).getStringValue(); characters(val.toCharArray(), 0, val.length()); } break; } } catch (RecognitionException e) { LOG.warn("xpointer error", e); throw new SAXException(e); } catch (TokenStreamException e) { LOG.warn("xpointer error", e); throw new SAXException(e); } catch (PermissionDeniedException e) { LOG.warn("xpointer error", e); throw new SAXException(e); } catch (XPathException e) { throw new SAXException(e); } } } // restore settings document = prevDoc; serializer.createContainerElements = createContainerElements; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/0d02dbc1d0f616dab3f8e359783b411587927ee5/XIncludeFilter.java/clean/src/org/exist/storage/serializers/XIncludeFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
60,
8752,
12,
2498,
15687,
13,
1216,
14366,
288,
202,
202,
759,
1923,
2690,
1947,
202,
202,
2519,
2828,
2807,
1759,
273,
1668,
31,
202,
202,
6494,
752,
2170,
3471,
273,
6340,
18,
2640,
2170,
3471,
31,
202,
202,
15663,
18,
2640,
2170,
3471,
273,
629,
31,
202,
202,
759,
1109,
326,
3897,
1566,
202,
202,
780,
3897,
273,
15687,
18,
24805,
2932,
7547,
8863,
202,
202,
430,
261,
7547,
480,
446,
13,
288,
1082,
202,
4842,
18,
4148,
2932,
7015,
3897,
13186,
397,
3897,
397,
11143,
1769,
1082,
202,
780,
619,
10437,
273,
446,
31,
1082,
202,
780,
997,
461,
273,
3897,
31,
1082,
202,
759,
775,
358,
1104,
619,
10437,
1087,
1082,
202,
474,
293,
273,
3897,
18,
31806,
2668,
7,
8284,
1082,
202,
430,
24927,
21,
411,
293,
13,
288,
9506,
202,
2434,
461,
273,
3897,
18,
28023,
12,
20,
16,
293,
1769,
9506,
202,
92,
10437,
273,
3167,
1304,
18,
3922,
3843,
13111,
12,
7547,
18,
28023,
12,
84,
397,
404,
10019,
9506,
202,
4842,
18,
4148,
2932,
7015,
619,
10437,
30,
315,
397,
619,
10437,
1769,
1082,
202,
97,
1082,
202,
759,
309,
997,
461,
711,
1158,
1849,
1269,
16,
6750,
1082,
202,
759,
783,
1849,
1875,
202,
84,
273,
997,
461,
18,
2722,
31985,
2668,
2473,
1769,
1082,
202,
430,
261,
84,
411,
374,
13,
9506,
202,
2434,
461,
273,
1668,
18,
588,
2532,
7675,
17994,
1435,
397,
2023,
397,
997,
461,
31,
1082,
202,
759,
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,
1207,
60,
8752,
12,
2498,
15687,
13,
1216,
14366,
288,
202,
202,
759,
1923,
2690,
1947,
202,
202,
2519,
2828,
2807,
1759,
273,
1668,
31,
202,
202,
6494,
752,
2170,
3471,
273,
6340,
18,
2640,
2170,
3471,
31,
202,
202,
15663,
18,
2640,
2170,
3471,
273,
629,
31,
202,
202,
759,
1109,
326,
3897,
1566,
202,
202,
780,
3897,
273,
15687,
18,
24805,
2932,
7547,
8863,
202,
202,
430,
261,
7547,
480,
446,
13,
288,
1082,
202,
4842,
18,
4148,
2932,
7015,
3897,
13186,
397,
3897,
397,
11143,
1769,
1082,
202,
780,
619,
10437,
273,
446,
31,
1082,
202,
780,
997,
461,
273,
3897,
31,
1082,
202,
759,
775,
358,
1104,
619,
10437,
1087,
1082,
2
] | |
private String[] getProgramArguments(ILaunchConfiguration configuration) throws CoreException { ArrayList programArgs = new ArrayList(); // If a product is specified, then add it to the program args if (configuration.getAttribute(USE_PRODUCT, false)) { programArgs.add("-product"); //$NON-NLS-1$ programArgs.add(configuration.getAttribute(PRODUCT, "")); //$NON-NLS-1$ } else { // specify the application to launch programArgs.add("-application"); //$NON-NLS-1$ programArgs.add(configuration.getAttribute(APPLICATION, LauncherUtils.getDefaultApplicationName())); } // specify the workspace location for the runtime workbench String targetWorkspace = configuration.getAttribute(LOCATION + "0", LauncherUtils.getDefaultPath().append("runtime-workbench-workspace").toOSString()); //$NON-NLS-1$ //$NON-NLS-2$ programArgs.add("-data"); //$NON-NLS-1$ programArgs.add(targetWorkspace); boolean isOSGI = PDECore.getDefault().getModelManager().isOSGiRuntime(); if (configuration.getAttribute(USEFEATURES, false)) { validateFeatures(); IPath installPath = PDEPlugin.getWorkspace().getRoot().getLocation(); programArgs.add("-install"); //$NON-NLS-1$ programArgs.add("file:" + installPath.removeLastSegments(1).addTrailingSeparator().toString()); //$NON-NLS-1$ programArgs.add("-update"); //$NON-NLS-1$ } else { TreeMap pluginMap = LauncherUtils.getPluginsToRun(configuration); if (pluginMap == null) return null; String primaryFeatureId = LauncherUtils.getPrimaryFeatureId(); TargetPlatform.createPlatformConfigurationArea( pluginMap, getConfigDir(configuration), primaryFeatureId, ReportLauncherUtils.getAutoStartPlugins(configuration)); programArgs.add("-configuration"); //$NON-NLS-1$ if (isOSGI) programArgs.add("file:" + new Path(getConfigDir(configuration).getPath()).addTrailingSeparator().toString()); //$NON-NLS-1$ else programArgs.add("file:" + new Path(getConfigDir(configuration).getPath()).append("platform.cfg").toString()); //$NON-NLS-1$ //$NON-NLS-2$ if (!isOSGI) { if (primaryFeatureId != null) { programArgs.add("-feature"); //$NON-NLS-1$ programArgs.add(primaryFeatureId); } IPluginModelBase bootModel = (IPluginModelBase)pluginMap.get("org.eclipse.core.boot"); //$NON-NLS-1$ String bootPath = LauncherUtils.getBootPath(bootModel); if (bootPath != null && !bootPath.endsWith(".jar")) { //$NON-NLS-1$ programArgs.add("-boot"); //$NON-NLS-1$ programArgs.add("file:" + bootPath); //$NON-NLS-1$ } } } // add the output folder names programArgs.add("-dev"); //$NON-NLS-1$ if (PDECore.getDefault().getModelManager().isOSGiRuntime()) programArgs.add(ClasspathHelper.getDevEntriesProperties(getConfigDir(configuration).toString() + "/dev.properties", true)); //$NON-NLS-1$ else programArgs.add(ClasspathHelper.getDevEntries(true)); // necessary for PDE to know how to load plugins when target platform = host platform // see PluginPathFinder.getPluginPaths() programArgs.add("-pdelaunch"); //$NON-NLS-1$ // add tracing, if turned on if (configuration.getAttribute(TRACING, false) && !TRACING_NONE.equals(configuration.getAttribute(TRACING_CHECKED, (String) null))) { programArgs.add("-debug"); //$NON-NLS-1$ programArgs.add( LauncherUtils.getTracingFileArgument( configuration, getConfigDir(configuration).toString() + Path.SEPARATOR + ".options")); //$NON-NLS-1$ } // add the program args specified by the user StringTokenizer tokenizer = new StringTokenizer(configuration.getAttribute(PROGARGS, "")); //$NON-NLS-1$ while (tokenizer.hasMoreTokens()) { programArgs.add(tokenizer.nextToken()); } // show splash only if we are launching the default application boolean showSplash = true; int index = programArgs.indexOf("-application"); //$NON-NLS-1$ if (index != -1 && index <= programArgs.size() - 2) { if (!programArgs.get(index + 1).equals(LauncherUtils.getDefaultApplicationName())) { showSplash = false; } } if (showSplash && !programArgs.contains("-nosplash")) { //$NON-NLS-1$ programArgs.add(0, "-showsplash"); //$NON-NLS-1$ programArgs.add(1, computeShowsplashArgument()); } return (String[])programArgs.toArray(new String[programArgs.size()]); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/84984bdff51060b92abfead47bb784698b54f38d/ReportLaunchConfigurationDelegate.java/buggy/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
8526,
3570,
3295,
4628,
12,
2627,
4760,
1750,
1664,
13,
1216,
30015,
288,
202,
202,
19558,
5402,
2615,
273,
394,
2407,
5621,
9506,
202,
759,
971,
279,
3017,
353,
1269,
16,
1508,
527,
518,
358,
326,
5402,
833,
202,
202,
430,
261,
7025,
18,
588,
1499,
12,
8001,
67,
25883,
16,
629,
3719,
288,
1082,
202,
12890,
2615,
18,
1289,
2932,
17,
5896,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
12890,
2615,
18,
1289,
12,
7025,
18,
588,
1499,
12,
25883,
16,
1408,
10019,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
469,
288,
1082,
202,
759,
4800,
326,
2521,
358,
8037,
1082,
202,
12890,
2615,
18,
1289,
2932,
17,
3685,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
12890,
2615,
18,
1289,
12,
7025,
18,
588,
1499,
12,
25039,
16,
14643,
264,
1989,
18,
588,
1868,
3208,
461,
1435,
10019,
202,
202,
97,
9506,
202,
759,
4800,
326,
6003,
2117,
364,
326,
3099,
1440,
22144,
202,
202,
780,
1018,
8241,
273,
1082,
202,
7025,
18,
588,
1499,
12,
15277,
397,
315,
20,
3113,
14643,
264,
1989,
18,
588,
1868,
743,
7675,
6923,
2932,
9448,
17,
1252,
22144,
17,
14915,
20387,
869,
4618,
780,
10663,
4329,
3993,
17,
5106,
17,
21,
8,
4329,
3993,
17,
5106,
17,
22,
8,
202,
202,
12890,
2615,
18,
1289,
2932,
17,
892,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
12890,
2615,
18,
1289,
12,
3299,
8241,
1769,
9506,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
8526,
3570,
3295,
4628,
12,
2627,
4760,
1750,
1664,
13,
1216,
30015,
288,
202,
202,
19558,
5402,
2615,
273,
394,
2407,
5621,
9506,
202,
759,
971,
279,
3017,
353,
1269,
16,
1508,
527,
518,
358,
326,
5402,
833,
202,
202,
430,
261,
7025,
18,
588,
1499,
12,
8001,
67,
25883,
16,
629,
3719,
288,
1082,
202,
12890,
2615,
18,
1289,
2932,
17,
5896,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
12890,
2615,
18,
1289,
12,
7025,
18,
588,
1499,
12,
25883,
16,
1408,
10019,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
469,
288,
1082,
202,
759,
4800,
326,
2521,
358,
8037,
1082,
202,
12890,
2615,
18,
1289,
2932,
17,
3685,
2
] | ||
dispatch(session, message, (UMOEndpoint) endpoint); | dispatch(session, message, endpoint); | public UMOMessage route(UMOMessage message, UMOSession session, boolean synchronous) throws RoutingException { UMOMessage result = null; if (endpoints == null || endpoints.size() == 0) { throw new RoutePathNotFoundException(new Message(Messages.NO_ENDPOINTS_FOR_ROUTER), message, null); } if (enableCorrelation != ENABLE_CORRELATION_NEVER) { boolean correlationSet = message.getCorrelationId() != null; if (correlationSet && (enableCorrelation == ENABLE_CORRELATION_IF_NOT_SET)) { logger.debug("CorrelationId is already set, not setting Correlation group size"); } else { // the correlationId will be set by the AbstractOutboundRouter message.setCorrelationGroupSize(endpoints.size()); } } try { UMOEndpoint endpoint; synchronized (endpoints) { for (int i = 0; i < endpoints.size(); i++) { endpoint = (UMOEndpoint) endpoints.get(i); if (synchronous) { // Were we have multiple outbound endpoints if (result == null) { result = send(session, message, (UMOEndpoint) endpoint); } else { String def = (String) endpoint.getProperties().get("default"); if (def != null) { result = send(session, message, (UMOEndpoint) endpoint); } else { send(session, message, (UMOEndpoint) endpoint); } } } else { dispatch(session, message, (UMOEndpoint) endpoint); } } } } catch (UMOException e) { throw new CouldNotRouteOutboundMessageException(message, (UMOEndpoint) endpoints.get(0), e); } return result; } | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/880b5fb3cb5124858c7368c29c07941df9496e68/MulticastingRouter.java/buggy/mule/src/java/org/mule/routing/outbound/MulticastingRouter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
587,
5980,
1079,
1946,
12,
2799,
51,
1079,
883,
16,
587,
5980,
2157,
1339,
16,
1250,
12209,
13,
1216,
19349,
503,
565,
288,
3639,
587,
5980,
1079,
563,
273,
446,
31,
3639,
309,
261,
20502,
422,
446,
747,
7902,
18,
1467,
1435,
422,
374,
13,
288,
5411,
604,
394,
5179,
743,
3990,
12,
2704,
2350,
12,
5058,
18,
3417,
67,
18506,
55,
67,
7473,
67,
1457,
1693,
654,
3631,
883,
16,
446,
1769,
3639,
289,
3639,
309,
261,
7589,
31685,
480,
6693,
2782,
67,
9428,
27822,
67,
5407,
2204,
13,
288,
5411,
1250,
12603,
694,
273,
883,
18,
588,
31685,
548,
1435,
480,
446,
31,
5411,
309,
261,
27325,
694,
597,
261,
7589,
31685,
422,
6693,
2782,
67,
9428,
27822,
67,
5501,
67,
4400,
67,
4043,
3719,
288,
7734,
1194,
18,
4148,
2932,
31685,
548,
353,
1818,
444,
16,
486,
3637,
9557,
5488,
1041,
963,
8863,
5411,
289,
469,
288,
7734,
368,
326,
31022,
903,
506,
444,
635,
326,
4115,
17873,
8259,
7734,
883,
18,
542,
31685,
1114,
1225,
12,
20502,
18,
1467,
10663,
5411,
289,
3639,
289,
3639,
775,
288,
5411,
587,
5980,
3293,
2494,
31,
5411,
3852,
261,
20502,
13,
288,
7734,
364,
261,
474,
277,
273,
374,
31,
277,
411,
7902,
18,
1467,
5621,
277,
27245,
288,
10792,
2494,
273,
261,
2799,
51,
3293,
13,
7902,
18,
588,
12,
77,
1769,
10792,
309,
261,
87,
7121,
13,
288,
13491,
368,
678,
822,
732,
1240,
3229,
11663,
7902,
13491,
309,
261,
2088,
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,
587,
5980,
1079,
1946,
12,
2799,
51,
1079,
883,
16,
587,
5980,
2157,
1339,
16,
1250,
12209,
13,
1216,
19349,
503,
565,
288,
3639,
587,
5980,
1079,
563,
273,
446,
31,
3639,
309,
261,
20502,
422,
446,
747,
7902,
18,
1467,
1435,
422,
374,
13,
288,
5411,
604,
394,
5179,
743,
3990,
12,
2704,
2350,
12,
5058,
18,
3417,
67,
18506,
55,
67,
7473,
67,
1457,
1693,
654,
3631,
883,
16,
446,
1769,
3639,
289,
3639,
309,
261,
7589,
31685,
480,
6693,
2782,
67,
9428,
27822,
67,
5407,
2204,
13,
288,
5411,
1250,
12603,
694,
273,
883,
18,
588,
31685,
548,
1435,
480,
446,
31,
5411,
309,
261,
27325,
694,
597,
261,
7589,
31685,
422,
6693,
2782,
2
] |
NormalizedFile file = new NormalizedFile(name); if (file.isAbsolute() && file.exists() && file.isFile()) { return new LoadServiceResource(file.toURL(), name); } | private LoadServiceResource findFile(String name) { try { if (name.startsWith("jar:")) { return new LoadServiceResource(new URL(name), name); } ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); // Absolute path names if (name.startsWith("/") || name.startsWith("\\")) { // Load from local filesystem NormalizedFile current = new NormalizedFile(name); if (current.exists() && current.isFile()) { return new LoadServiceResource(current.toURL(), name); } // otherwise, try to load from classpath (Note: Jar resources always uses '/') URL loc = classLoader.getResource(name.replace('\\', '/')); // Make sure this is not a directory or unavailable in some way if (isRequireable(loc)) { return new LoadServiceResource(loc, loc.getPath()); } } for (Iterator pathIter = loadPath.iterator(); pathIter.hasNext();) { String entry = pathIter.next().toString(); if (entry.startsWith("jar:")) { try { JarFile current = new JarFile(entry.substring(4)); if (current.getJarEntry(name) != null) { return new LoadServiceResource(new URL(entry + name), entry + name); } } catch (FileNotFoundException ignored) { } catch (IOException e) { throw runtime.newIOErrorFromException(e); } } // Load from local filesystem NormalizedFile current = (NormalizedFile)new NormalizedFile(entry, name).getAbsoluteFile(); if (current.exists() && current.isFile()) { return new LoadServiceResource(current.toURL(), new NormalizedFile(entry, name).getPath()); } // otherwise, try to load from classpath (Note: Jar resources always uses '/') URL loc = classLoader.getResource(entry.replace('\\', '/') + "/" + name.replace('\\', '/')); // Make sure this is not a directory or unavailable in some way if (isRequireable(loc)) { return new LoadServiceResource(loc, loc.getPath()); } } // Try to load from classpath without prefix. "A/b.rb" will not load as // "./A/b.rb" in a jar file. (Note: Jar resources always uses '/') URL loc = classLoader.getResource(name.replace('\\', '/')); return isRequireable(loc) ? new LoadServiceResource(loc, loc.getPath()) : null; } catch (MalformedURLException e) { throw runtime.newIOErrorFromException(e); } } | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/066d6dc273bc73d5592600f3d0df28373a150758/LoadService.java/buggy/src/org/jruby/runtime/load/LoadService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
8769,
1235,
812,
585,
273,
394,
8769,
1235,
812,
12,
529,
1769,
225,
309,
261,
768,
18,
291,
10368,
1435,
597,
585,
18,
1808,
1435,
597,
585,
18,
291,
812,
10756,
288,
327,
394,
4444,
1179,
1420,
12,
768,
18,
869,
1785,
9334,
508,
1769,
289,
565,
8769,
1235,
812,
585,
273,
394,
8769,
1235,
812,
12,
529,
1769,
225,
309,
261,
768,
18,
291,
10368,
1435,
597,
585,
18,
1808,
1435,
597,
585,
18,
291,
812,
10756,
288,
327,
394,
4444,
1179,
1420,
12,
768,
18,
869,
1785,
9334,
508,
1769,
289,
565,
8769,
1235,
812,
585,
273,
394,
8769,
1235,
812,
12,
529,
1769,
225,
309,
261,
768,
18,
291,
10368,
1435,
597,
585,
18,
1808,
1435,
597,
585,
18,
291,
812,
10756,
288,
327,
394,
4444,
1179,
1420,
12,
768,
18,
869,
1785,
9334,
508,
1769,
289,
565,
8769,
1235,
812,
585,
273,
394,
8769,
1235,
812,
12,
529,
1769,
225,
309,
261,
768,
18,
291,
10368,
1435,
597,
585,
18,
1808,
1435,
597,
585,
18,
291,
812,
10756,
288,
327,
394,
4444,
1179,
1420,
12,
768,
18,
869,
1785,
9334,
508,
1769,
289,
565,
3238,
15577,
812,
585,
273,
394,
8769,
1235,
812,
12,
529,
1769,
225,
309,
261,
768,
18,
291,
10368,
1435,
597,
585,
18,
1808,
1435,
597,
585,
18,
291,
812,
10756,
288,
327,
394,
4444,
1179,
1420,
12,
768,
18,
869,
1785,
9334,
508,
1769,
289,
565,
4444,
1179,
1420,
15577,
812,
585,
273,
394,
8769,
1235,
812,
12,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
8769,
1235,
812,
585,
273,
394,
8769,
1235,
812,
12,
529,
1769,
225,
309,
261,
768,
18,
291,
10368,
1435,
597,
585,
18,
1808,
1435,
597,
585,
18,
291,
812,
10756,
288,
327,
394,
4444,
1179,
1420,
12,
768,
18,
869,
1785,
9334,
508,
1769,
289,
565,
8769,
1235,
812,
585,
273,
394,
8769,
1235,
812,
12,
529,
1769,
225,
309,
261,
768,
18,
291,
10368,
1435,
597,
585,
18,
1808,
1435,
597,
585,
18,
291,
812,
10756,
288,
327,
394,
4444,
1179,
1420,
12,
768,
18,
869,
1785,
9334,
508,
1769,
289,
565,
8769,
1235,
812,
585,
273,
394,
8769,
1235,
812,
12,
529,
1769,
225,
309,
261,
768,
18,
291,
10368,
1435,
597,
585,
18,
1808,
1435,
2
] | |
stack[i] = new VmStackFrame(f, this, ip); ip = stack[i].getReturnAddress().add(-1); f = getPrevious(f); | stack[i] = new VmStackFrame(sfEnum.getMethod(), sfEnum.getProgramCounter()); sfEnum.next(); | final VmStackFrame[] getVmStackTrace(Address argFrame, Address ip, int limit) { final Address frame = argFrame; Address f = frame; int count = 0; while (isValid(f) && (count < limit)) { count++; f = getPrevious(f); } if ((f != null) && !isStackBottom(f) && (count < limit)) { Unsafe.debug("Corrupted stack!, st.length="); Unsafe.debug(count); Unsafe.debug(" f.magic="); //Unsafe.die(); } final VmStackFrame[] stack = new VmStackFrame[count]; f = frame; for (int i = 0; i < count; i++) { stack[i] = new VmStackFrame(f, this, ip); // Subtract 1, because the return address is directly after // the location where the previous frame was executing. ip = stack[i].getReturnAddress().add(-1); f = getPrevious(f); } return stack; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f674dc620388d2013aaf9ed54e97f8ee02b418d/VmStackReader.java/clean/core/src/core/org/jnode/vm/VmStackReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6385,
776,
81,
2624,
3219,
8526,
11031,
81,
6332,
12,
1887,
1501,
3219,
16,
5267,
2359,
16,
509,
1800,
13,
288,
202,
202,
6385,
5267,
2623,
273,
1501,
3219,
31,
202,
202,
1887,
284,
273,
2623,
31,
202,
202,
474,
1056,
273,
374,
31,
202,
202,
17523,
261,
26810,
12,
74,
13,
597,
261,
1883,
411,
1800,
3719,
288,
1082,
202,
1883,
9904,
31,
1082,
202,
74,
273,
17225,
12,
74,
1769,
202,
202,
97,
202,
202,
430,
14015,
74,
480,
446,
13,
597,
401,
291,
2624,
10393,
12,
74,
13,
597,
261,
1883,
411,
1800,
3719,
288,
1082,
202,
23912,
18,
4148,
2932,
22701,
329,
2110,
5,
16,
384,
18,
2469,
1546,
1769,
1082,
202,
23912,
18,
4148,
12,
1883,
1769,
1082,
202,
23912,
18,
4148,
2932,
284,
18,
11179,
1546,
1769,
1082,
202,
759,
23912,
18,
72,
1385,
5621,
202,
202,
97,
202,
202,
6385,
776,
81,
2624,
3219,
8526,
2110,
273,
394,
776,
81,
2624,
3219,
63,
1883,
15533,
202,
202,
74,
273,
2623,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
1056,
31,
277,
27245,
288,
1082,
202,
3772,
63,
77,
65,
273,
394,
776,
81,
2624,
3219,
12,
74,
16,
333,
16,
2359,
1769,
1082,
202,
759,
2592,
1575,
404,
16,
2724,
326,
327,
1758,
353,
5122,
1839,
1082,
202,
759,
326,
2117,
1625,
326,
2416,
2623,
1703,
11274,
18,
1082,
202,
625,
273,
2110,
63,
77,
8009,
588,
990,
1887,
7675,
1289,
19236,
21,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6385,
776,
81,
2624,
3219,
8526,
11031,
81,
6332,
12,
1887,
1501,
3219,
16,
5267,
2359,
16,
509,
1800,
13,
288,
202,
202,
6385,
5267,
2623,
273,
1501,
3219,
31,
202,
202,
1887,
284,
273,
2623,
31,
202,
202,
474,
1056,
273,
374,
31,
202,
202,
17523,
261,
26810,
12,
74,
13,
597,
261,
1883,
411,
1800,
3719,
288,
1082,
202,
1883,
9904,
31,
1082,
202,
74,
273,
17225,
12,
74,
1769,
202,
202,
97,
202,
202,
430,
14015,
74,
480,
446,
13,
597,
401,
291,
2624,
10393,
12,
74,
13,
597,
261,
1883,
411,
1800,
3719,
288,
1082,
202,
23912,
18,
4148,
2932,
22701,
329,
2110,
5,
16,
384,
18,
2469,
1546,
1769,
1082,
202,
23912,
2
] |
public void testParseWithInnerClass(){ builder.addSource(new StringReader(createOuter())); JavaSource[] sources = builder.getSources(); assertEquals(1, sources.length); JavaClass outer = sources[0].getClasses()[0]; assertEquals("Outer", outer.getName()); assertEquals("foo.bar.Outer", outer.getFullyQualifiedName()); assertEquals(1, outer.getFields().length); assertEquals("int", outer.getFields()[0].getType().getValue()); assertEquals(1, outer.getMethods().length); assertEquals("outerMethod", outer.getMethods()[0].getName()); assertEquals(1, outer.getClasses().length); JavaClass inner = outer.getClasses()[0]; assertEquals("Inner", inner.getName()); assertEquals("foo.bar.Outer.Inner", inner.getFullyQualifiedName()); assertEquals(1, inner.getMethods().length); assertEquals("innerMethod", inner.getMethods()[0].getName()); } | 2045 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2045/30b4036c5a4fc6a178db8b16829920d80431958f/JavaDocBuilderTest.java/buggy/qdox/src/test/com/thoughtworks/qdox/JavaDocBuilderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3201,
1190,
2857,
797,
1435,
95,
202,
202,
9574,
18,
1289,
1830,
12,
2704,
26227,
12,
2640,
15040,
1435,
10019,
202,
202,
5852,
1830,
8526,
5550,
273,
2089,
18,
588,
8628,
5621,
202,
202,
11231,
8867,
12,
21,
16,
5550,
18,
2469,
1769,
202,
202,
5852,
797,
6390,
273,
5550,
63,
20,
8009,
588,
4818,
1435,
63,
20,
15533,
202,
202,
11231,
8867,
2932,
15040,
3113,
6390,
18,
17994,
10663,
202,
202,
11231,
8867,
2932,
11351,
18,
3215,
18,
15040,
3113,
6390,
18,
588,
16999,
12345,
10663,
202,
202,
11231,
8867,
12,
21,
16,
6390,
18,
588,
2314,
7675,
2469,
1769,
202,
202,
11231,
8867,
2932,
474,
3113,
6390,
18,
588,
2314,
1435,
63,
20,
8009,
588,
559,
7675,
24805,
10663,
202,
202,
11231,
8867,
12,
21,
16,
6390,
18,
588,
4712,
7675,
2469,
1769,
202,
202,
11231,
8867,
2932,
14068,
1305,
3113,
6390,
18,
588,
4712,
1435,
63,
20,
8009,
17994,
10663,
202,
202,
11231,
8867,
12,
21,
16,
6390,
18,
588,
4818,
7675,
2469,
1769,
202,
202,
5852,
797,
3443,
273,
6390,
18,
588,
4818,
1435,
63,
20,
15533,
202,
202,
11231,
8867,
2932,
2857,
3113,
3443,
18,
17994,
10663,
202,
202,
11231,
8867,
2932,
11351,
18,
3215,
18,
15040,
18,
2857,
3113,
3443,
18,
588,
16999,
12345,
10663,
9506,
202,
11231,
8867,
12,
21,
16,
3443,
18,
588,
4712,
7675,
2469,
1769,
202,
202,
11231,
8867,
2932,
7872,
1305,
3113,
3443,
18,
588,
4712,
1435,
63,
20,
8009,
17994,
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,
1842,
3201,
1190,
2857,
797,
1435,
95,
202,
202,
9574,
18,
1289,
1830,
12,
2704,
26227,
12,
2640,
15040,
1435,
10019,
202,
202,
5852,
1830,
8526,
5550,
273,
2089,
18,
588,
8628,
5621,
202,
202,
11231,
8867,
12,
21,
16,
5550,
18,
2469,
1769,
202,
202,
5852,
797,
6390,
273,
5550,
63,
20,
8009,
588,
4818,
1435,
63,
20,
15533,
202,
202,
11231,
8867,
2932,
15040,
3113,
6390,
18,
17994,
10663,
202,
202,
11231,
8867,
2932,
11351,
18,
3215,
18,
15040,
3113,
6390,
18,
588,
16999,
12345,
10663,
202,
202,
11231,
8867,
12,
21,
16,
6390,
18,
588,
2314,
7675,
2469,
1769,
202,
202,
11231,
8867,
2932,
474,
3113,
6390,
18,
588,
2314,
1435,
63,
2
] | ||
public org.quickfix.field.UnderlyingRepoCollateralSecurityType getUnderlyingRepoCollateralSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingRepoCollateralSecurityType value = new org.quickfix.field.UnderlyingRepoCollateralSecurityType(); | public quickfix.field.UnderlyingRepoCollateralSecurityType getUnderlyingRepoCollateralSecurityType() throws FieldNotFound { quickfix.field.UnderlyingRepoCollateralSecurityType value = new quickfix.field.UnderlyingRepoCollateralSecurityType(); | public org.quickfix.field.UnderlyingRepoCollateralSecurityType getUnderlyingRepoCollateralSecurityType() throws FieldNotFound { org.quickfix.field.UnderlyingRepoCollateralSecurityType value = new org.quickfix.field.UnderlyingRepoCollateralSecurityType(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelRequest.java/clean/src/java/src/quickfix/fix44/OrderMassCancelRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
10833,
765,
6291,
8791,
13535,
2045,
287,
4368,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
10833,
765,
6291,
8791,
13535,
2045,
287,
4368,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
8791,
13535,
2045,
287,
4368,
559,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
System.out.println( toString() + " cur tx: "+tx+" writeLock "+_writeLock); | synchronized void acquireLoadLock( TransactionContext tx, boolean write, int timeout ) throws LockNotGrantedException, ObjectDeletedWaitingForLockException { while ( true ) { try { // cases to consider: // 3/ waitingForConfirmation exist // then, we wait // 4/ need a read, and objectLock has something // then, we return and wait for confirmation // 5/ need a read, and objectLock has nothing // then, we return and wait for confirmation // 6/ need a write // then, we return and wait for confirmation // 7/ we're in some kind of lock, or waiting, exception // 1/ write exist // then, put it tx into read/write waiting // 2/ read exist // then, put it read, or write waiting if ( _confirmWaiting != null ) { // other thread is loading or creating object and haven't finished try { wait(); } catch ( InterruptedException e ) { throw new LockNotGrantedException("Thread interrupted acquiring lock!"); } } else if ( _readLock == null && _writeLock == null && write ) { // no transaction hold any lock, _confirmWaiting = tx; _confirmWaitingAction = ACTION_WRITE; return; } else if ( _readLock == null && _writeLock == null && !write ) { // no transaction hold any lock, if ( _object == null ) { _confirmWaiting = tx; _confirmWaitingAction = ACTION_READ; return; } else { _readLock = new LinkedTx( tx, null ); return; } } else if ( _readLock != null && !write ) { LinkedTx linked = _readLock; while ( linked != null ) { if ( linked.tx == tx ) return; else linked = linked.next; } // if not already in readLock _readLock = new LinkedTx( tx, _readLock ); return; } else { if ( timeout == 0 ) { if ( TRACE ) System.out.println( "Timeout on " + this.toString() + " by " + tx ); throw new LockNotGrantedException( (write ? "persist.writeLockTimeout" : "persist.readLockTimeout") + _oid + "/" + _id + " by " + tx ); } if ( TRACE ) System.out.println( "Waiting on " + this.toString() + " by " + tx ); // Detect possibility of dead-lock. Must remain in wait-on-lock // position until lock is granted or exception thrown. tx.setWaitOnLock( this ); detectDeadlock( tx, 10 ); // Must wait for lock and then attempt to reacquire if ( write ) _writeWaiting = new LinkedTx( tx, _writeWaiting ); else _readWaiting = new LinkedTx( tx, _readWaiting ); // Wait until notified or timeout elapses. Must detect // when notified but object deleted (i.e. locks released) // All waiting transactions are notified at once, but once // notified a race condition starts to acquire new lock long clock = System.currentTimeMillis(); try { wait( timeout * 1000 ); } catch ( InterruptedException except ) { // If the thread is interrupted, come out with the proper message System.out.println( toString() + " cur tx: "+tx+" writeLock "+_writeLock); throw new LockNotGrantedException( write ? "persist.writeLockTimeout" : "persist.readLockTimeout" + _oid + "/" + _id + " by " + tx ); } if ( _deleted ) // If object has been deleted while waiting for lock, report deletion. throw new ObjectDeletedWaitingForLockException("object deleted" + _oid + "/" + _id + " by " + tx); // Try to re-acquire lock, this time less timeout, // eventually timeout of zero will either succeed or fail // without blocking. timeout -= ( System.currentTimeMillis() - clock ); if ( timeout < 0 ) timeout = 0; removeWaiting( tx ); tx.setWaitOnLock( null ); } } finally { removeWaiting( tx ); tx.setWaitOnLock( null ); } } } | 3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/7f798d4f77f10e605063498d51ac041f6c08993d/ObjectLock.java/buggy/branches/castorone/castor-2002/castor/src/main/org/exolab/castor/persist/ObjectLock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
10533,
2563,
2531,
12,
5947,
1042,
2229,
16,
1250,
1045,
16,
509,
2021,
262,
2398,
1216,
3488,
1248,
14570,
503,
16,
1033,
7977,
15946,
1290,
2531,
503,
288,
3639,
1323,
261,
638,
262,
288,
5411,
775,
288,
7734,
368,
6088,
358,
5260,
30,
7734,
368,
890,
19,
7336,
1290,
17597,
1005,
7734,
368,
1377,
1508,
16,
732,
2529,
7734,
368,
1059,
19,
1608,
279,
855,
16,
471,
733,
2531,
711,
5943,
7734,
368,
1377,
1508,
16,
732,
327,
471,
2529,
364,
14296,
7734,
368,
1381,
19,
1608,
279,
855,
16,
471,
733,
2531,
711,
5083,
7734,
368,
1377,
1508,
16,
732,
327,
471,
2529,
364,
14296,
7734,
368,
1666,
19,
1608,
279,
1045,
7734,
368,
1377,
1508,
16,
732,
327,
471,
2529,
364,
14296,
7734,
368,
2371,
19,
732,
4565,
316,
2690,
3846,
434,
2176,
16,
578,
7336,
16,
1520,
7734,
368,
404,
19,
1045,
1005,
1171,
368,
1377,
1508,
16,
1378,
518,
2229,
1368,
855,
19,
2626,
7336,
7734,
368,
576,
19,
855,
1005,
7734,
368,
1377,
1508,
16,
1378,
518,
855,
16,
578,
1045,
7336,
7734,
309,
261,
389,
10927,
15946,
480,
446,
262,
288,
10792,
368,
1308,
2650,
353,
7153,
578,
4979,
733,
471,
15032,
1404,
6708,
10792,
775,
288,
13491,
2529,
5621,
10792,
289,
1044,
261,
7558,
425,
262,
288,
13491,
604,
394,
3488,
1248,
14570,
503,
2932,
3830,
15711,
1721,
372,
11256,
2176,
4442,
1769,
10792,
289,
7734,
289,
469,
309,
261,
389,
896,
2531,
422,
446,
597,
389,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
10533,
2563,
2531,
12,
5947,
1042,
2229,
16,
1250,
1045,
16,
509,
2021,
262,
2398,
1216,
3488,
1248,
14570,
503,
16,
1033,
7977,
15946,
1290,
2531,
503,
288,
3639,
1323,
261,
638,
262,
288,
5411,
775,
288,
7734,
368,
6088,
358,
5260,
30,
7734,
368,
890,
19,
7336,
1290,
17597,
1005,
7734,
368,
1377,
1508,
16,
732,
2529,
7734,
368,
1059,
19,
1608,
279,
855,
16,
471,
733,
2531,
711,
5943,
7734,
368,
1377,
1508,
16,
732,
327,
471,
2529,
364,
14296,
7734,
368,
1381,
19,
1608,
279,
855,
16,
471,
733,
2531,
711,
5083,
7734,
368,
1377,
1508,
16,
732,
327,
471,
2529,
364,
14296,
7734,
368,
1666,
19,
1608,
279,
1045,
7734,
368,
1377,
2
] | |
Number num = (Number) node.getDatum(); | Number num = node.getNumber(); | private void visitLiteral(Node node) { if (node.getType() == TokenStream.STRING) { // just load the string constant push(node.getString()); } else { Number num = (Number) node.getDatum(); if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) { push(num.doubleValue()); } else { /* * Generate code to create the new numeric constant * * new java/lang/<WrapperType> * dup * push <number> * invokestatic java/lang/<WrapperType>/<init>(D)V */ String wrapperType = ""; String signature = ""; boolean isInteger = false; if (num instanceof Float) num = new Double(num.floatValue()); // OPT: cache getClass() and compare == Type.class if (num instanceof Integer) { wrapperType = "Integer"; signature = "I"; isInteger = true; /* } else if (num instanceof Float) { wrapperType = "Float"; signature = "F"; */ } else if (num instanceof Double) { wrapperType = "Double"; signature = "D"; } else if (num instanceof Byte) { wrapperType = "Byte"; signature = "B"; isInteger = true; } else if (num instanceof Short) { wrapperType = "Short"; signature = "S"; isInteger = true; } else { throw Context.reportRuntimeError( "NumberNode contains unsupported Number type: " + num.getClass().getName()); } /* There appears to be a limit in the JVM on either the number of static fields in a class or the size of the class initializer. Either way, we can't have any more than 2000 statically init'd constants. */ if (itsConstantList.itsTop >= 2000) { addByteCode(ByteCode.NEW, "java/lang/" + wrapperType); addByteCode(ByteCode.DUP); if (isInteger) push(num.longValue()); else push(num.doubleValue()); addSpecialInvoke("java/lang/" + wrapperType, "<init>", "(" + signature + ")", "V"); } else { classFile.add(ByteCode.GETSTATIC, classFile.fullyQualifiedForm(this.name), "jsK_" + itsConstantList.addConstant(wrapperType, signature, num, isInteger), "Ljava/lang/" + wrapperType + ";"); } } } } | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/dfdc492a06d12db18bbb6e0ac0de6e19784f642d/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
6177,
12,
907,
756,
13,
288,
3639,
309,
261,
2159,
18,
588,
559,
1435,
422,
3155,
1228,
18,
5804,
13,
288,
5411,
368,
2537,
1262,
326,
533,
5381,
5411,
1817,
12,
2159,
18,
588,
780,
10663,
3639,
289,
469,
288,
3639,
202,
565,
3588,
818,
273,
756,
18,
588,
1854,
5621,
5411,
309,
261,
2159,
18,
588,
1702,
4658,
12,
907,
18,
5127,
9931,
67,
15811,
16,
300,
21,
13,
480,
300,
21,
13,
288,
7734,
1817,
12,
2107,
18,
9056,
620,
10663,
5411,
289,
5411,
469,
288,
10792,
1748,
5397,
380,
6654,
981,
358,
752,
326,
394,
6389,
5381,
5397,
380,
5397,
380,
394,
2252,
19,
4936,
28177,
3611,
559,
34,
5397,
380,
9417,
5397,
380,
1817,
411,
2696,
34,
5397,
380,
5770,
395,
2126,
2252,
19,
4936,
28177,
3611,
559,
16893,
32,
2738,
34,
12,
40,
13,
58,
5397,
1195,
540,
202,
565,
514,
4053,
559,
273,
1408,
31,
540,
202,
565,
514,
3372,
273,
1408,
31,
540,
202,
565,
1250,
353,
4522,
273,
629,
31,
540,
202,
565,
309,
261,
2107,
1276,
5450,
13,
540,
202,
1377,
818,
273,
394,
3698,
12,
2107,
18,
5659,
620,
10663,
540,
202,
565,
368,
16456,
30,
1247,
2900,
1435,
471,
3400,
422,
1412,
18,
1106,
540,
202,
565,
309,
261,
2107,
1276,
2144,
13,
288,
2398,
202,
202,
8376,
559,
273,
315,
4522,
14432,
2398,
202,
202,
8195,
273,
315,
45,
14432,
2398,
202,
202,
291,
4522,
273,
638,
31,
2398,
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,
377,
3238,
918,
3757,
6177,
12,
907,
756,
13,
288,
3639,
309,
261,
2159,
18,
588,
559,
1435,
422,
3155,
1228,
18,
5804,
13,
288,
5411,
368,
2537,
1262,
326,
533,
5381,
5411,
1817,
12,
2159,
18,
588,
780,
10663,
3639,
289,
469,
288,
3639,
202,
565,
3588,
818,
273,
756,
18,
588,
1854,
5621,
5411,
309,
261,
2159,
18,
588,
1702,
4658,
12,
907,
18,
5127,
9931,
67,
15811,
16,
300,
21,
13,
480,
300,
21,
13,
288,
7734,
1817,
12,
2107,
18,
9056,
620,
10663,
5411,
289,
5411,
469,
288,
10792,
1748,
5397,
380,
6654,
981,
358,
752,
326,
394,
6389,
5381,
5397,
380,
5397,
380,
394,
2252,
19,
4936,
28177,
3611,
559,
34,
5397,
380,
9417,
2
] |
Vector retval=new Vector(); retval.addElement(new Integer(Event.GET_MSGS_RECEIVED)); return retval; | Vector retval=new Vector(); retval.addElement(new Integer(Event.GET_MSGS_RECEIVED)); return retval; | public Vector providedDownServices() { Vector retval=new Vector(); retval.addElement(new Integer(Event.GET_MSGS_RECEIVED)); return retval; } | 3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/75359f4186603c5a949e15ffab51fb811f04ed8e/NAKACK.java/buggy/src/org/jgroups/protocols/NAKACK.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5589,
2112,
4164,
5676,
1435,
288,
202,
5018,
5221,
33,
2704,
5589,
5621,
202,
18341,
18,
1289,
1046,
12,
2704,
2144,
12,
1133,
18,
3264,
67,
11210,
55,
67,
27086,
20764,
10019,
202,
2463,
5221,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,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,
377,
1071,
5589,
2112,
4164,
5676,
1435,
288,
202,
5018,
5221,
33,
2704,
5589,
5621,
202,
18341,
18,
1289,
1046,
12,
2704,
2144,
12,
1133,
18,
3264,
67,
11210,
55,
67,
27086,
20764,
10019,
202,
2463,
5221,
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
] |
public synchronized void block(Behaviour b) { if (removeFromReady(b)) { blockedBehaviours.add(b); //__CLDC_UNSUPPORTED__BEGIN owner.notifyChangeBehaviourState(b, Behaviour.STATE_READY, Behaviour.STATE_BLOCKED); //__CLDC_UNSUPPORTED__END } } | 5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/11d5bae223e87ca285905974fadcb8bb51a8e307/Scheduler.java/buggy/src/jade/core/Scheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
1203,
12,
19376,
477,
324,
13,
288,
565,
309,
261,
4479,
1265,
8367,
12,
70,
3719,
288,
202,
565,
14547,
19376,
4390,
18,
1289,
12,
70,
1769,
377,
202,
759,
972,
5017,
5528,
67,
2124,
21134,
972,
16061,
377,
202,
8443,
18,
12336,
3043,
19376,
477,
1119,
12,
70,
16,
4823,
3962,
477,
18,
7998,
67,
20305,
16,
4823,
3962,
477,
18,
7998,
67,
11403,
2056,
1769,
377,
202,
759,
972,
5017,
5528,
67,
2124,
21134,
972,
4415,
565,
289,
225,
289,
2,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
1203,
12,
19376,
477,
324,
13,
288,
565,
309,
261,
4479,
1265,
8367,
12,
70,
3719,
288,
202,
565,
14547,
19376,
4390,
18,
1289,
12,
70,
1769,
377,
202,
759,
972,
5017,
5528,
67,
2124,
21134,
972,
16061,
377,
202,
8443,
18,
12336,
3043,
19376,
477,
1119,
12,
70,
16,
4823,
3962,
477,
18,
7998,
67,
20305,
16,
4823,
3962,
477,
18,
7998,
67,
11403,
2056,
1769,
377,
202,
759,
972,
5017,
5528,
67,
2124,
21134,
972,
4415,
565,
289,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] | ||
public SAXDriver () { reset (); } | public SAXDriver() { reset(); } | public SAXDriver () { reset (); } | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/7fb7568e63c3fe14af521de4699cb37898923ca7/SAXDriver.java/buggy/libjava/gnu/xml/aelfred2/SAXDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10168,
4668,
1832,
565,
288,
1377,
2715,
261,
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,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10168,
4668,
1832,
565,
288,
1377,
2715,
261,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
); GrouperLog.debug( LOG, this.getSession(), msg + " total membership to delete: " + deletes.size() | public void delete() throws GroupDeleteException, InsufficientPrivilegeException { // TODO Refactor into smaller components StopWatch sw = new StopWatch(); sw.start(); GrouperSession.validate(this.getSession()); String msg = "delete"; GrouperLog.debug(LOG, this.getSession(), msg); try { PrivilegeResolver.getInstance().canADMIN(this.getSession(), this, this.getSession().getSubject()); GrouperLog.debug(LOG, this.getSession(), msg + " canADMIN"); } catch (InsufficientPrivilegeException eIP) { String err = msg + " cannot ADMIN: " + eIP.getMessage(); GrouperLog.debug(LOG, this.getSession(), err); throw new InsufficientPrivilegeException(err, eIP); } try { Set deletes = new LinkedHashSet(); msg += " '" + this.getName() + "'"; GrouperLog.debug(LOG, this.getSession(), msg); // And revoke all access privileges GrouperLog.debug(LOG, this.getSession(), msg + " revoking access privs"); this._revokeAllAccessPrivs(msg); GrouperLog.debug(LOG, this.getSession(), msg + " access privs revoked"); // And delete all memberships - as root GrouperLog.debug( LOG, this.getSession(), msg + " finding memberships to delete" ); deletes.addAll( Membership.deleteAllFieldType( GrouperSessionFinder.getRootSession(), this, FieldType.LIST ) ); GrouperLog.debug( LOG, this.getSession(), msg + " total membership to delete: " + deletes.size() ); // Add the group last for good luck deletes.add(this); // Preserve name for logging String name = this.getName(); // And then commit changes to registry HibernateHelper.delete(deletes); // TODO info sw.stop(); EL.groupDelete(this.getSession(), name, sw); } catch (InsufficientPrivilegeException eIP) { LOG.debug(ERR_DG + eIP.getMessage()); throw new InsufficientPrivilegeException(eIP.getMessage(), eIP); } catch (Exception e) { LOG.debug(ERR_DG + e.getMessage()); throw new GroupDeleteException(e.getMessage(), e); } } // public void delete() | 5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/11170f2a782492e4c1e43aa1adabfc484a62c9f3/Group.java/buggy/grouper/src/grouper/edu/internet2/middleware/grouper/Group.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1430,
1435,
377,
1216,
225,
3756,
2613,
503,
16,
5411,
22085,
11339,
24308,
503,
225,
288,
565,
368,
2660,
868,
6812,
1368,
10648,
4085,
565,
5131,
5234,
1352,
273,
394,
5131,
5234,
5621,
565,
1352,
18,
1937,
5621,
565,
3756,
264,
2157,
18,
5662,
12,
2211,
18,
588,
2157,
10663,
565,
514,
1234,
273,
315,
3733,
14432,
565,
3756,
264,
1343,
18,
4148,
12,
4842,
16,
333,
18,
588,
2157,
9334,
1234,
1769,
565,
775,
288,
1377,
2301,
8203,
908,
4301,
18,
588,
1442,
7675,
4169,
15468,
12,
2211,
18,
588,
2157,
9334,
333,
16,
333,
18,
588,
2157,
7675,
588,
6638,
10663,
1377,
3756,
264,
1343,
18,
4148,
12,
4842,
16,
333,
18,
588,
2157,
9334,
1234,
397,
315,
848,
15468,
8863,
565,
289,
565,
1044,
261,
5048,
11339,
24308,
503,
425,
2579,
13,
288,
1377,
514,
393,
273,
1234,
397,
315,
2780,
25969,
30,
315,
397,
425,
2579,
18,
24906,
5621,
1377,
3756,
264,
1343,
18,
4148,
12,
4842,
16,
333,
18,
588,
2157,
9334,
393,
1769,
1377,
604,
394,
22085,
11339,
24308,
503,
12,
370,
16,
425,
2579,
1769,
565,
289,
377,
775,
288,
1377,
1000,
9792,
273,
394,
19523,
5621,
1377,
1234,
1011,
315,
2119,
397,
333,
18,
17994,
1435,
397,
5862,
31,
1377,
3756,
264,
1343,
18,
4148,
12,
4842,
16,
333,
18,
588,
2157,
9334,
1234,
1769,
1377,
368,
7835,
18007,
777,
2006,
19583,
1377,
3756,
264,
1343,
18,
4148,
12,
4842,
16,
333,
18,
588,
2157,
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,
282,
1071,
918,
1430,
1435,
377,
1216,
225,
3756,
2613,
503,
16,
5411,
22085,
11339,
24308,
503,
225,
288,
565,
368,
2660,
868,
6812,
1368,
10648,
4085,
565,
5131,
5234,
1352,
273,
394,
5131,
5234,
5621,
565,
1352,
18,
1937,
5621,
565,
3756,
264,
2157,
18,
5662,
12,
2211,
18,
588,
2157,
10663,
565,
514,
1234,
273,
315,
3733,
14432,
565,
3756,
264,
1343,
18,
4148,
12,
4842,
16,
333,
18,
588,
2157,
9334,
1234,
1769,
565,
775,
288,
1377,
2301,
8203,
908,
4301,
18,
588,
1442,
7675,
4169,
15468,
12,
2211,
18,
588,
2157,
9334,
333,
16,
333,
18,
588,
2157,
7675,
588,
6638,
10663,
1377,
3756,
264,
1343,
18,
4148,
12,
4842,
16,
333,
18,
588,
2157,
2
] | |
FunctionNode fn = (FunctionNode) node.getProp(Node.FUNCTION_PROP); | private void visitFunction(Node node) { aload(variableObjectLocal); FunctionNode fn = (FunctionNode) node.getProp(Node.FUNCTION_PROP); Short index = (Short) fn.getProp(Node.FUNCTION_PROP); aload(funObjLocal); classFile.add(ByteCode.GETFIELD, "org/mozilla/javascript/NativeFunction", "nestedFunctions", "[Lorg/mozilla/javascript/NativeFunction;"); push(index.shortValue()); addByteCode(ByteCode.AALOAD); addVirtualInvoke("java/lang/Object", "getClass", "()", "Ljava/lang/Class;"); aload(contextLocal); byte z = fn.getFunctionType() == FunctionNode.FUNCTION_EXPRESSION_STATEMENT ? (byte)1 : (byte)0; addByteCode(ByteCode.BIPUSH, z); addScriptRuntimeInvoke("createFunctionObject", "(Lorg/mozilla/javascript/Scriptable;"+ "Ljava/lang/Class;" + "Lorg/mozilla/javascript/Context;Z)", "Lorg/mozilla/javascript/NativeFunction;"); } | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/884167f7227d4fbe414ac3fc088c783f7c853723/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
2083,
12,
907,
756,
13,
288,
3639,
279,
945,
12,
6105,
921,
2042,
1769,
9079,
7925,
770,
273,
261,
4897,
13,
2295,
18,
588,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
3639,
279,
945,
12,
12125,
2675,
2042,
1769,
3639,
29728,
18,
1289,
12,
3216,
1085,
18,
3264,
6776,
16,
315,
3341,
19,
8683,
15990,
19,
11242,
19,
9220,
2083,
3113,
7734,
315,
12985,
7503,
3113,
5158,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
9220,
2083,
4868,
1769,
3639,
1817,
12,
1615,
18,
6620,
620,
10663,
3639,
527,
3216,
1085,
12,
3216,
1085,
18,
37,
1013,
51,
1880,
1769,
3639,
527,
6466,
10969,
2932,
6290,
19,
4936,
19,
921,
3113,
315,
588,
797,
3113,
25605,
3113,
315,
21159,
19,
4936,
19,
797,
4868,
1769,
3639,
279,
945,
12,
2472,
2042,
1769,
3639,
1160,
998,
273,
2295,
18,
588,
2083,
559,
1435,
422,
4284,
907,
18,
7788,
67,
19111,
67,
28411,
1171,
692,
261,
7229,
13,
21,
294,
261,
7229,
13,
20,
31,
3639,
527,
3216,
1085,
12,
3216,
1085,
18,
38,
2579,
57,
2664,
16,
998,
1769,
7734,
527,
3651,
5576,
10969,
2932,
2640,
2083,
921,
3113,
19694,
7751,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
3651,
429,
4868,
15,
4766,
565,
315,
21159,
19,
4936,
19,
797,
4868,
397,
4766,
565,
315,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
1042,
31,
62,
2225,
16,
19694,
315,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
9220,
2083,
4868,
1769,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
2083,
12,
907,
756,
13,
288,
3639,
279,
945,
12,
6105,
921,
2042,
1769,
9079,
7925,
770,
273,
261,
4897,
13,
2295,
18,
588,
4658,
12,
907,
18,
7788,
67,
15811,
1769,
3639,
279,
945,
12,
12125,
2675,
2042,
1769,
3639,
29728,
18,
1289,
12,
3216,
1085,
18,
3264,
6776,
16,
315,
3341,
19,
8683,
15990,
19,
11242,
19,
9220,
2083,
3113,
7734,
315,
12985,
7503,
3113,
5158,
48,
3341,
19,
8683,
15990,
19,
11242,
19,
9220,
2083,
4868,
1769,
3639,
1817,
12,
1615,
18,
6620,
620,
10663,
3639,
527,
3216,
1085,
12,
3216,
1085,
18,
37,
1013,
51,
1880,
1769,
3639,
527,
6466,
10969,
2932,
6290,
19,
4936,
19,
921,
3113,
315,
588,
797,
2
] | |
public ObjectGroup(Map map, int origx, int origy) { super(map); | public ObjectGroup() { | public ObjectGroup(Map map, int origx, int origy) { super(map); boundObjects = new LinkedList(); setBounds(new Rectangle(origx, origy, 0, 0)); } | 6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/4afb68c74b874177fde726bfb61895f785c37432/ObjectGroup.java/buggy/src/tiled/core/ObjectGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1114,
12,
863,
852,
16,
509,
1647,
92,
16,
509,
1647,
93,
13,
288,
3639,
2240,
12,
1458,
1769,
3639,
2489,
4710,
273,
394,
10688,
5621,
3639,
444,
5694,
12,
2704,
13264,
12,
4949,
92,
16,
1647,
93,
16,
374,
16,
374,
10019,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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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
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1114,
12,
863,
852,
16,
509,
1647,
92,
16,
509,
1647,
93,
13,
288,
3639,
2240,
12,
1458,
1769,
3639,
2489,
4710,
273,
394,
10688,
5621,
3639,
444,
5694,
12,
2704,
13264,
12,
4949,
92,
16,
1647,
93,
16,
374,
16,
374,
10019,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
return getImageHeight(null); } | return getImageHeight(null); } | public final int getImageHeight() { return getImageHeight(null); } | 6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/ImageCheckButtonComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/ImageCheckButtonComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
10567,
2686,
1435,
288,
3639,
327,
10567,
2686,
12,
2011,
1769,
565,
289,
2,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
10567,
2686,
1435,
288,
3639,
327,
10567,
2686,
12,
2011,
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,
-100,
-100,
-100,
-100,
-100
] |
this.clearResourceCache( resourceName, currentProject ); | this.clearResourceCache( resourceName, currentProject, currentUser ); | public void touch(CmsUser currentUser, CmsProject currentProject, String resourceName, long timestamp ) throws CmsException { CmsResource resource = null; boolean isFolder = false; // read the resource to check the access if (resourceName.endsWith("/")) { resource = (CmsFolder)readFolder( currentUser, currentProject, resourceName ); isFolder = true; } else { resource = (CmsFile)readFileHeader( currentUser, currentProject, resourceName ); } // check the access rights if (accessWrite(currentUser, currentProject, resource)) { if (isFolder) { if (resource.getState()==C_STATE_UNCHANGED) { resource.setState(C_STATE_CHANGED); } m_dbAccess.writeFolder( currentProject, (CmsFolder)resource, true, currentUser.getId() ); this.clearResourceCache( resourceName, currentProject ); } else { m_dbAccess.writeFileHeader (currentProject, (CmsFile)resource, true, currentUser.getId() ); if (resource.getState()==C_STATE_UNCHANGED) { resource.setState(C_STATE_CHANGED); } this.clearResourceCache( resourceName, currentProject ); } m_accessCache.clear(); fileSystemChanged( isFolder ); } else { throw new CmsException("[" + this.getClass().getName() + "] " + resourceName, CmsException.C_NO_ACCESS); } } | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/c4663733ddc9261232a4709c149b0f4d3207696e/CmsResourceBroker.java/clean/src/com/opencms/file/genericSql/CmsResourceBroker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
6920,
12,
4747,
1299,
13970,
16,
2149,
4109,
783,
4109,
16,
514,
9546,
16,
1525,
2858,
262,
1216,
11228,
288,
3639,
7630,
1058,
273,
446,
31,
3639,
1250,
31137,
273,
629,
31,
7734,
368,
855,
326,
1058,
358,
866,
326,
2006,
3639,
309,
261,
3146,
461,
18,
5839,
1190,
2932,
4898,
3719,
288,
5411,
1058,
273,
261,
4747,
3899,
13,
896,
3899,
12,
13970,
16,
783,
4109,
16,
9546,
11272,
5411,
31137,
273,
638,
31,
3639,
289,
540,
469,
288,
5411,
1058,
273,
261,
4747,
812,
13,
896,
812,
1864,
12,
13970,
16,
783,
4109,
16,
9546,
11272,
3639,
289,
7734,
368,
866,
326,
2006,
14989,
3639,
309,
261,
3860,
3067,
12,
2972,
1299,
16,
783,
4109,
16,
1058,
3719,
288,
5411,
309,
261,
291,
3899,
13,
288,
7734,
309,
261,
3146,
18,
588,
1119,
1435,
631,
39,
67,
7998,
67,
2124,
24435,
13,
288,
10792,
1058,
18,
542,
1119,
12,
39,
67,
7998,
67,
24435,
1769,
7734,
289,
27573,
312,
67,
1966,
1862,
18,
2626,
3899,
12,
783,
4109,
16,
261,
4747,
3899,
13,
3146,
16,
638,
16,
13970,
18,
26321,
1435,
11272,
7734,
333,
18,
8507,
1420,
1649,
12,
9546,
16,
783,
4109,
16,
13970,
11272,
5411,
289,
2398,
469,
288,
7734,
312,
67,
1966,
1862,
18,
2626,
812,
1864,
261,
2972,
4109,
16,
261,
4747,
812,
13,
3146,
16,
638,
16,
13970,
18,
26321,
1435,
11272,
7734,
309,
261,
3146,
18,
588,
1119,
1435,
631,
39,
67,
7998,
67,
2124,
24435,
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,
6920,
12,
4747,
1299,
13970,
16,
2149,
4109,
783,
4109,
16,
514,
9546,
16,
1525,
2858,
262,
1216,
11228,
288,
3639,
7630,
1058,
273,
446,
31,
3639,
1250,
31137,
273,
629,
31,
7734,
368,
855,
326,
1058,
358,
866,
326,
2006,
3639,
309,
261,
3146,
461,
18,
5839,
1190,
2932,
4898,
3719,
288,
5411,
1058,
273,
261,
4747,
3899,
13,
896,
3899,
12,
13970,
16,
783,
4109,
16,
9546,
11272,
5411,
31137,
273,
638,
31,
3639,
289,
540,
469,
288,
5411,
1058,
273,
261,
4747,
812,
13,
896,
812,
1864,
12,
13970,
16,
783,
4109,
16,
9546,
11272,
3639,
289,
7734,
368,
866,
326,
2006,
14989,
3639,
309,
261,
3860,
3067,
12,
2972,
1299,
16,
783,
2
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.