rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
public void testSetUsersNotifiedIdOnUpgrade() throws Exception { if (!isDBTestEnabled()) { return; } m_installer.createSequences(); addTableFromSQL("distpoller"); addTableFromSQL("node"); addTableFromSQL("snmpinterface"); addTableFromSQL("ipinterface"); addTableFromSQL("service"); addTableFromSQL("ifservices"); addTableFromSQL("events"); addTableFromSQL("notifications"); addTableFromSQLWithReplacements("usersnotified", new String[][] { new String[] { "id\\s+integer not null, ", "" }, new String[] { "constraint pk_userNotificationID primary key \\(id\\),", "" } }); executeSQL("INSERT INTO usersNotified (userID) " + "VALUES ('DJ... it is always his fault')"); m_installer.createTables(); Statement st = m_installer.m_dbconnection.createStatement(); ResultSet rs = st.executeQuery("SELECT id from usersnotified"); int count = 0; for (int expected = 1; rs.next(); expected++) { assertEquals("expected usersNotified id", expected, rs.getInt(1)); count++; } assertEquals("expected column count", 1, count); }
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/9c0a59382d378a750edf84524762ab71e335b4b3/InstallerDBTest.java/clean/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 694, 6588, 1248, 939, 548, 1398, 10784, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 527, 1388, 1265, 3997, 2932, 4413, 3915, 749, 8863, 3639, 527, 1388, 1265, 3997, 2932, 2159, 8863, 3639, 527, 1388, 1265, 3997, 2932, 26527, 5831, 8863, 3639, 527, 1388, 1265, 3997, 2932, 625, 5831, 8863, 3639, 527, 1388, 1265, 3997, 2932, 3278, 8863, 3639, 527, 1388, 1265, 3997, 2932, 430, 8387, 8863, 3639, 527, 1388, 1265, 3997, 2932, 5989, 8863, 3639, 527, 1388, 1265, 3997, 2932, 15286, 8863, 3639, 527, 1388, 1265, 3997, 1190, 28440, 2932, 5577, 902, 939, 3113, 394, 514, 63, 6362, 65, 288, 7734, 394, 514, 8526, 288, 315, 350, 1695, 87, 15, 7745, 486, 446, 16, 3104, 1408, 19879, 7734, 394, 514, 8526, 288, 315, 13364, 2365, 67, 1355, 4386, 734, 3354, 498, 1736, 12, 350, 1695, 3631, 3113, 1408, 289, 5411, 15549, 7734, 1836, 3997, 2932, 11356, 12421, 3677, 1248, 939, 261, 1355, 734, 13, 315, 10402, 397, 315, 16386, 7707, 40, 46, 2777, 518, 353, 3712, 18423, 12530, 23291, 1769, 3639, 312, 67, 20163, 18, 2640, 6905, 5621, 7734, 8056, 384, 273, 312, 67, 20163, 18, 81, 67, 1966, 4071, 18, 2640, 3406, 5621, 3639, 10842, 3597, 273, 384, 18, 8837, 1138, 2932, 4803, 612, 628, 3677, 902, 939, 8863, 3639, 509, 1056, 273, 374, 31, 3639, 364, 261, 474, 2665, 273, 404, 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, 694, 6588, 1248, 939, 548, 1398, 10784, 1435, 1216, 1185, 288, 3639, 309, 16051, 291, 2290, 4709, 1526, 10756, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 20163, 18, 2640, 21710, 5621, 3639, 527, 1388, 1265, 3997, 2932, 4413, 3915, 749, 8863, 3639, 527, 1388, 1265, 3997, 2932, 2159, 8863, 3639, 527, 1388, 1265, 3997, 2932, 26527, 5831, 8863, 3639, 527, 1388, 1265, 3997, 2932, 625, 5831, 8863, 3639, 527, 1388, 1265, 3997, 2932, 3278, 8863, 3639, 527, 1388, 1265, 3997, 2932, 430, 8387, 8863, 3639, 527, 1388, 1265, 3997, 2932, 5989, 8863, 3639, 527, 1388, 1265, 3997, 2932, 15286, 8863, 3639, 527, 1388, 1265, 3997, 1190, 28440, 2932, 5577, 902, 939, 3113, 394, 2 ]
t.select(nextWord, Utilities.getNextWord(t, nextWord));
{ setDot(nextWord); moveDot(Utilities.getNextWord(t, nextWord)); }
public void mouseClicked(MouseEvent event) { int count = event.getClickCount(); if (count >= 2) { int newDot = getComponent().viewToModel(event.getPoint()); JTextComponent t = getComponent(); try { if (count == 3) t.select(Utilities.getRowStart(t, newDot), Utilities.getRowEnd(t, newDot)); else { int nextWord = Utilities.getNextWord(t, newDot); // When the mouse points at the offset of the first character // in a word Utilities().getPreviousWord will not return that // word but we want to select that. We have to use // Utilities.nextWord() to get it. if (newDot == nextWord) t.select(nextWord, Utilities.getNextWord(t, nextWord)); else { int previousWord = Utilities.getPreviousWord(t, newDot); int previousWordEnd = Utilities.getWordEnd(t, previousWord); // If the user clicked in the space between two words, // then select the space. if (newDot >= previousWordEnd && newDot <= nextWord) t.select(previousWordEnd, nextWord); // Otherwise select the word under the mouse pointer. else t.select(previousWord, previousWordEnd); } } } catch(BadLocationException ble) { // TODO: Swallowing ok here? } dot = newDot; } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultCaret.java/clean/core/src/classpath/javax/javax/swing/text/DefaultCaret.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7644, 27633, 12, 9186, 1133, 871, 13, 225, 288, 565, 509, 1056, 273, 871, 18, 588, 6563, 1380, 5621, 3639, 309, 261, 1883, 1545, 576, 13, 1377, 288, 3639, 509, 394, 10412, 273, 10322, 7675, 1945, 774, 1488, 12, 2575, 18, 588, 2148, 10663, 3639, 804, 1528, 1841, 268, 273, 10322, 5621, 3639, 775, 1850, 288, 5411, 309, 261, 1883, 422, 890, 13, 2868, 268, 18, 4025, 12, 11864, 18, 588, 1999, 1685, 12, 88, 16, 394, 10412, 3631, 26703, 18, 588, 1999, 1638, 12, 88, 16, 394, 10412, 10019, 5411, 469, 2868, 288, 7734, 509, 1024, 3944, 273, 26703, 18, 588, 2134, 3944, 12, 88, 16, 394, 10412, 1769, 27573, 368, 5203, 326, 7644, 3143, 622, 326, 1384, 434, 326, 1122, 3351, 7734, 368, 316, 279, 2076, 26703, 7675, 588, 8351, 3944, 903, 486, 327, 716, 7734, 368, 2076, 1496, 732, 2545, 358, 2027, 716, 18, 1660, 1240, 358, 999, 7734, 368, 26703, 18, 4285, 3944, 1435, 358, 336, 518, 18, 7734, 309, 261, 2704, 10412, 422, 1024, 3944, 13, 5375, 288, 444, 10412, 12, 4285, 3944, 1769, 3635, 10412, 12, 11864, 18, 588, 2134, 3944, 12, 88, 16, 1024, 3944, 10019, 289, 7734, 469, 5375, 288, 10792, 509, 2416, 3944, 273, 26703, 18, 588, 8351, 3944, 12, 88, 16, 394, 10412, 1769, 10792, 509, 2416, 3944, 1638, 273, 26703, 18, 588, 3944, 1638, 12, 88, 16, 2416, 3944, 1769, 4766, 3639, 368, 971, 326, 729, 17688, 316, 326, 3476, 3086, 2795, 4511, 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, 7644, 27633, 12, 9186, 1133, 871, 13, 225, 288, 565, 509, 1056, 273, 871, 18, 588, 6563, 1380, 5621, 3639, 309, 261, 1883, 1545, 576, 13, 1377, 288, 3639, 509, 394, 10412, 273, 10322, 7675, 1945, 774, 1488, 12, 2575, 18, 588, 2148, 10663, 3639, 804, 1528, 1841, 268, 273, 10322, 5621, 3639, 775, 1850, 288, 5411, 309, 261, 1883, 422, 890, 13, 2868, 268, 18, 4025, 12, 11864, 18, 588, 1999, 1685, 12, 88, 16, 394, 10412, 3631, 26703, 18, 588, 1999, 1638, 12, 88, 16, 394, 10412, 10019, 5411, 469, 2868, 288, 7734, 509, 1024, 3944, 273, 26703, 18, 588, 2134, 3944, 12, 88, 16, 394, 10412, 1769, 27573, 368, 5203, 326, 7644, 3143, 2 ]
return xsltCache; }
return xsltCache; }
public boolean isXsltCache() { return xsltCache; }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/TransformTag.java/clean/src/main/mondrian/web/taglib/TransformTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 60, 14414, 1649, 1435, 288, 202, 202, 2463, 31399, 1649, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 60, 14414, 1649, 1435, 288, 202, 202, 2463, 31399, 1649, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try { return ctx.compileReader(globalObject, new StringReader(scriptstr), SOURCE_NAME_SVG, 1, rhinoClassLoader); } catch (IOException io) { throw new Error(); } }
try { return ctx.compileReader (globalObject, new StringReader(scriptstr), SOURCE_NAME_SVG, 1, rhinoClassLoader); } catch (IOException io) { throw new Error(); } }
public Object run() { try { return ctx.compileReader(globalObject, new StringReader(scriptstr), SOURCE_NAME_SVG, 1, rhinoClassLoader); } catch (IOException io) { // Should never happen: we are using a string throw new Error(); } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/04c9a280b9f9a57d79c55b3b429b296f82e4d92a/RhinoInterpreter.java/clean/sources/org/apache/batik/script/rhino/RhinoInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 1033, 1086, 1435, 288, 13491, 775, 288, 18701, 327, 1103, 18, 11100, 2514, 12, 6347, 921, 16, 4766, 5397, 394, 26227, 12, 4263, 701, 3631, 4766, 5397, 16088, 67, 1985, 67, 26531, 16, 4766, 5397, 404, 16, 6259, 15020, 7805, 1769, 13491, 289, 1044, 261, 14106, 2527, 13, 288, 18701, 368, 9363, 5903, 5865, 30, 732, 854, 1450, 279, 533, 18701, 604, 394, 1068, 5621, 13491, 289, 10792, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5397, 1071, 1033, 1086, 1435, 288, 13491, 775, 288, 18701, 327, 1103, 18, 11100, 2514, 12, 6347, 921, 16, 4766, 5397, 394, 26227, 12, 4263, 701, 3631, 4766, 5397, 16088, 67, 1985, 67, 26531, 16, 4766, 5397, 404, 16, 6259, 15020, 7805, 1769, 13491, 289, 1044, 261, 14106, 2527, 13, 288, 18701, 368, 9363, 5903, 5865, 30, 732, 854, 1450, 279, 533, 18701, 604, 394, 1068, 5621, 13491, 289, 10792, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertNull(qp.getPersistenceStrategy());
assertFalse(qp.isPersistent());
public void testQueueProfileConfig() { //test config QueueProfile qp = MuleManager.getConfiguration().getQueueProfile(); assertEquals(100, qp.getMaxOutstandingMessages()); assertNotNull(qp.getPersistenceStrategy()); assertTrue(qp.getPersistenceStrategy() instanceof SerialisationPersistence); //test inherit MuleDescriptor descriptor = (MuleDescriptor) MuleManager.getInstance().getModel().getDescriptor("orangeComponent"); qp = descriptor.getQueueProfile(); assertEquals(100, qp.getMaxOutstandingMessages()); assertNotNull(qp.getPersistenceStrategy()); assertTrue(qp.getPersistenceStrategy() instanceof SerialisationPersistence); //test override descriptor = (MuleDescriptor) MuleManager.getInstance().getModel().getDescriptor("appleComponent2"); qp = descriptor.getQueueProfile(); assertEquals(102, qp.getMaxOutstandingMessages()); assertNull(qp.getPersistenceStrategy()); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/32dac4374b54f403806feb475981c11d1c1a9d25/AbstractConfigBuilderTestCase.java/buggy/src/java/org/mule/tck/AbstractConfigBuilderTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3183, 4029, 809, 1435, 288, 3639, 368, 3813, 642, 3639, 7530, 4029, 22859, 273, 490, 725, 1318, 18, 588, 1750, 7675, 588, 3183, 4029, 5621, 3639, 1815, 8867, 12, 6625, 16, 22859, 18, 588, 2747, 1182, 15167, 5058, 10663, 3639, 25395, 12, 14166, 18, 588, 13182, 4525, 10663, 3639, 1815, 5510, 12, 14166, 18, 588, 13182, 4525, 1435, 1276, 7366, 10742, 13182, 1769, 3639, 368, 3813, 6811, 3639, 490, 725, 3187, 4950, 273, 261, 49, 725, 3187, 13, 490, 725, 1318, 18, 588, 1442, 7675, 588, 1488, 7675, 588, 3187, 2932, 280, 726, 1841, 8863, 3639, 22859, 273, 4950, 18, 588, 3183, 4029, 5621, 3639, 1815, 8867, 12, 6625, 16, 22859, 18, 588, 2747, 1182, 15167, 5058, 10663, 3639, 25395, 12, 14166, 18, 588, 13182, 4525, 10663, 3639, 1815, 5510, 12, 14166, 18, 588, 13182, 4525, 1435, 1276, 7366, 10742, 13182, 1769, 3639, 368, 3813, 3849, 3639, 4950, 273, 261, 49, 725, 3187, 13, 490, 725, 1318, 18, 588, 1442, 7675, 588, 1488, 7675, 588, 3187, 2932, 438, 1802, 1841, 22, 8863, 3639, 22859, 273, 4950, 18, 588, 3183, 4029, 5621, 3639, 1815, 8867, 12, 20481, 16, 22859, 18, 588, 2747, 1182, 15167, 5058, 10663, 3639, 1815, 8381, 12, 14166, 18, 291, 11906, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3183, 4029, 809, 1435, 288, 3639, 368, 3813, 642, 3639, 7530, 4029, 22859, 273, 490, 725, 1318, 18, 588, 1750, 7675, 588, 3183, 4029, 5621, 3639, 1815, 8867, 12, 6625, 16, 22859, 18, 588, 2747, 1182, 15167, 5058, 10663, 3639, 25395, 12, 14166, 18, 588, 13182, 4525, 10663, 3639, 1815, 5510, 12, 14166, 18, 588, 13182, 4525, 1435, 1276, 7366, 10742, 13182, 1769, 3639, 368, 3813, 6811, 3639, 490, 725, 3187, 4950, 273, 261, 49, 725, 3187, 13, 490, 725, 1318, 18, 588, 1442, 7675, 588, 1488, 7675, 588, 3187, 2932, 280, 726, 1841, 8863, 3639, 22859, 273, 4950, 18, 588, 3183, 4029, 5621, 3639, 1815, 8867, 12, 6625, 16, 22859, 18, 588, 2747, 1182, 2 ]
CUP$result = new Definition(/*export*/14);
CUP$result = new Definition(/*export*/13);
public final java_cup.runtime.symbol CUP$do_action( int CUP$act_num, java_cup.runtime.lr_parser CUP$parser, java.util.Stack CUP$stack, int CUP$top) throws java.lang.Exception { /* object for return from actions */ java_cup.runtime.symbol CUP$result; /* select the action based on the action number */ switch (CUP$act_num) { /*. . . . . . . . . . . . . . . . . . . .*/ case 226: // empty ::= { CUP$result = new java_cup.runtime.symbol(/*empty*/4); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 225: // param_type_spec ::= scopename { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 224: // param_type_spec ::= string_type { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 223: // param_type_spec ::= base_type_spec { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 222: // string_literal_list ::= string_literal COMMA string_literal_list { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 221: // string_literal_list ::= string_literal { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 220: // context_expr ::= empty { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 219: // context_expr ::= CONTEXT LPAREN string_literal_list RPAREN { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 218: // raises_expr ::= empty { CUP$result = new RaisesExpr(/*raises_expr*/84); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 217: // raises_expr ::= RAISES LPAREN scopename_list RPAREN { CUP$result = new RaisesExpr(/*raises_expr*/84); ((RaisesExpr)CUP$result).nameList = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 216: // param_attribute ::= INOUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_INOUT; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 215: // param_attribute ::= OUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_OUT; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 214: // param_attribute ::= IN { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_IN; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 213: // param_dcl ::= param_attribute param_type_spec simple_declarator { CUP$result = new ParamDecl(/*param_dcl*/83); ((ParamDecl)CUP$result).paramAttribute = (/*pa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-2)).int_val; ((ParamDecl)CUP$result).paramTypeSpec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 212: // param_dcls ::= param_dcl { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 211: // param_dcls ::= param_dcl COMMA param_dcls { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 210: // parameter_dcls ::= LPAREN RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 209: // parameter_dcls ::= LPAREN param_dcls RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 208: // void_type_spec ::= VOID { CUP$result = new VoidTypeSpec(/*void_type_spec*/71); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 207: // op_type_spec ::= void_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(VoidTypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 206: // op_type_spec ::= param_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 205: // op_attribute ::= empty { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = OpDecl.NO_ATTRIBUTE; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 204: // op_attribute ::= ONEWAY { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = OpDecl.ONEWAY; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 203: // op_dcl ::= op_attribute op_type_spec ID parameter_dcls raises_expr context_expr { CUP$result = new OpDecl(/*op_dcl*/85); ((OpDecl)CUP$result).opAttribute = (/*oa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-5)).int_val; ((OpDecl)CUP$result).opTypeSpec = (/*ots*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)); ((OpDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((OpDecl)CUP$result).paramDecls = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((OpDecl)CUP$result).raisesExpr = (/*re*/(RaisesExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 202: // except_dcl ::= EXCEPTION ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 201: // except_dcl ::= EXCEPTION ID LCBRACE RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 200: // simple_declarator_list ::= simple_declarator COMMA simple_declarator_list { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v = (Vector)(/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 199: // simple_declarator_list ::= simple_declarator { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 198: // attr_dcl ::= ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = false; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 197: // attr_dcl ::= READONLY ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = true; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 196: // fixed_array_size ::= LSBRACE positive_int_const RSBRACE { CUP$result = new FixedArraySize(/*fixed_array_size*/82); ((FixedArraySize)CUP$result).pos_int_const = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 195: // fixed_array_size_list ::= fixed_array_size fixed_array_size_list { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v = (Vector)(/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 194: // fixed_array_size_list ::= fixed_array_size { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 193: // array_declarator ::= ID fixed_array_size_list { CUP$result = new ArrayDeclarator(/*array_declarator*/81); ((ArrayDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1))); ((ArrayDeclarator)CUP$result).fixed_array_size_list = (/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 192: // fixed_point_type ::= FIXED LESSTHAN positive_int_const COMMA positive_int_const GREATERTHAN { CUP$result = new FixedPointType(/*fixed_point_type*/74); ((FixedPointType)CUP$result).digit_expr = (/*digits*/(PosIntConst)CUP$stack.elementAt(CUP$top-3)).const_expr; ((FixedPointType)CUP$result).scale_expr = (/*scale*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 191: // string_type ::= WSTRING { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 190: // string_type ::= STRING { CUP$result = new StringType(/*string_type*/72); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 189: // string_type ::= WSTRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 188: // string_type ::= STRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 187: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 186: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec COMMA positive_int_const GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-3)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 185: // native_type ::= NATIVE simple_declarator { CUP$result = new NativeType(/*native_type*/54); ((NativeType)CUP$result).declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 184: // enumerator_list ::= ID COMMA enumerator_list { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v = (Vector)(/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 183: // enumerator_list ::= ID { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 182: // enum_type ::= ENUM ID LCBRACE enumerator_list RCBRACE { CUP$result = new EnumType(/*enum_type*/50); ((EnumType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((EnumType)CUP$result).enumlist = (/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); ((EnumType)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 181: // element_spec ::= type_spec declarator { CUP$result = new ElementSpec(/*element_spec*/57); ((ElementSpec)CUP$result).t.type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ElementSpec)CUP$result).d = (/*dc*/(Declarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 180: // case_label_list ::= DEFAULT COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement(null); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 179: // case_label_list ::= CASE const_expr COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 178: // case_label_list ::= DEFAULT COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement( null ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 177: // case_label_list ::= CASE const_expr COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 176: // case ::= case_label_list element_spec SEMI { CUP$result = new Case(/*case*/56); ((Case)CUP$result).element_spec = (/*es*/(ElementSpec)CUP$stack.elementAt(CUP$top-1)); ((Case)CUP$result).case_label_list = (/*c*/(SymbolList)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 175: // switch_body ::= case switch_body { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector = (Vector)(/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-0)).caseListVector.clone(); ((SwitchBody)CUP$result).caseListVector.addElement( (/*c*/(Case)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 174: // switch_body ::= case { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector.addElement((/*c*/(Case)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 173: // switch_type_spec ::= scopename { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 172: // switch_type_spec ::= enum_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).set_constr((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 171: // switch_type_spec ::= bool_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*b*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 170: // switch_type_spec ::= char_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*c*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 169: // switch_type_spec ::= int_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*i*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 168: // union_type ::= UNION ID { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 167: // union_type ::= UNION ID SWITCH LPAREN switch_type_spec RPAREN LCBRACE switch_body RCBRACE { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).setSwitchType( (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)) ); ((UnionType)CUP$result).setSwitchBody( (/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-1)) ); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-7))); ((UnionType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 166: // member ::= type_spec declarators SEMI { CUP$result = new Member(/*member*/78); ((Member)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((Member)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 165: // member_list ::= member member_list { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v = (Vector)(/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 164: // member_list ::= member { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 163: // struct_type ::= STRUCT ID { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 162: // struct_type ::= STRUCT ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = false; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 161: // any_type ::= ANY { CUP$result = new AnyType(/*any_type*/70); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 160: // octet_type ::= OCTET { CUP$result = new OctetType(/*octet_type*/69); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 159: // bool_type ::= BOOLEAN { CUP$result = new BooleanType(/*bool_type*/68); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 158: // char_type ::= WCHAR { CUP$result = new CharType(/*char_type*/67); ((CharType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 157: // char_type ::= CHAR { CUP$result = new CharType(/*char_type*/67); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 156: // long_long_type ::= LONG LONG { CUP$result = new LongLongType(/*long_long_type*/66); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 155: // long_type ::= LONG { CUP$result = new LongType(/*long_type*/65); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 154: // short_type ::= SHORT { CUP$result = new ShortType(/*short_type*/64); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 153: // int_type ::= UNSIGNED short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 152: // int_type ::= short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 151: // int_type ::= UNSIGNED long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 150: // int_type ::= UNSIGNED long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 149: // int_type ::= long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*ll*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 148: // int_type ::= long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 147: // double_type ::= DOUBLE { CUP$result = new DoubleType(/*double_type*/63); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 146: // fixed_pt_const_type ::= FIXED { CUP$result = new FixedPointConstType(/*fixed_pt_const_type*/62); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 145: // float_type ::= FLOAT { CUP$result = new FloatType(/*float_type*/61); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 144: // float_pt_type ::= double_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*d*/(DoubleType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 143: // float_pt_type ::= float_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*f*/(FloatType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 142: // simple_declarator ::= ID { CUP$result = new SimpleDeclarator(/*simple_declarator*/80); ((SimpleDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 141: // declarator ::= array_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(ArrayDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 140: // declarator ::= simple_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 139: // declarators ::= declarator { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 138: // declarators ::= declarator COMMA declarators { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v = (Vector)(/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 137: // constr_type_spec ::= enum_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 136: // constr_type_spec ::= union_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 135: // constr_type_spec ::= struct_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 134: // template_type_spec ::= fixed_point_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 133: // template_type_spec ::= string_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 132: // template_type_spec ::= sequence_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 131: // base_type_spec ::= VALUEBASE { CUP$result = new BaseType(/*base_type_spec*/58); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 130: // base_type_spec ::= any_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(AnyType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 129: // base_type_spec ::= octet_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 128: // base_type_spec ::= bool_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 127: // base_type_spec ::= char_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 126: // base_type_spec ::= int_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 125: // base_type_spec ::= float_pt_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 124: // simple_type_spec ::= scopename { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 123: // simple_type_spec ::= template_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 122: // simple_type_spec ::= base_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 121: // type_spec ::= constr_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 120: // type_spec ::= simple_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 119: // type_declarator ::= type_spec declarators { CUP$result = new TypeDeclarator(/*type_declarator*/41); ((TypeDeclarator)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((TypeDeclarator)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 118: // type_def ::= TYPEDEF type_declarator { CUP$result = new TypeDef(/*type_def*/46); ((TypeDef)CUP$result).type_declarator = (/*t*/(TypeDeclarator)CUP$stack.elementAt(CUP$top-0)); ((TypeDef)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 117: // type_dcl ::= native_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*n*/(NativeType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 116: // type_dcl ::= enum_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 115: // type_dcl ::= union_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 114: // type_dcl ::= struct_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 113: // type_dcl ::= type_def { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*t*/(TypeDef)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 112: // positive_int_const ::= const_expr { CUP$result = new PosIntConst(/*positive_int_const*/31); ((PosIntConst)CUP$result).const_expr = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 111: // string_literal ::= LDBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 110: // string_literal ::= LDBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 109: // string_literal ::= DBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 108: // string_literal ::= DBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 107: // literal ::= FALSE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "false"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 106: // literal ::= TRUE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "true"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 105: // literal ::= FLOAT_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)).float_val ; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 104: // literal ::= FIXED_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)).fixed_val; ((Literal)CUP$result).token = (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 103: // literal ::= string_literal { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).string; ((Literal)CUP$result).wide = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).wide; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 102: // literal ::= QUOTE CH QUOTE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "\'" + (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)).char_val + "\'"; ((Literal)CUP$result).token = (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 101: // literal ::= LONG_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)).long_val; ((Literal)CUP$result).token = (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 100: // literal ::= NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)).int_val; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 99: // primary_expr ::= LPAREN const_expr RPAREN { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 98: // primary_expr ::= literal { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*l*/(Literal)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 97: // primary_expr ::= scopename { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 96: // unary_op ::= TILDE { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "~"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 95: // unary_op ::= PLUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 94: // unary_op ::= MINUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 93: // unary_expr ::= primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 92: // unary_expr ::= unary_op primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); ((UnaryExpr)CUP$result).unary_op = (/*u*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 91: // mult_expr ::= mult_expr PERCENT unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "%"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 90: // mult_expr ::= mult_expr SLASH unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "/"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 89: // mult_expr ::= mult_expr STAR unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "*"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 88: // mult_expr ::= unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 87: // add_expr ::= add_expr MINUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 86: // add_expr ::= add_expr PLUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 85: // add_expr ::= mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 84: // shift_expr ::= shift_expr RSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = ">>"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 83: // shift_expr ::= shift_expr LSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = "<<"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 82: // shift_expr ::= add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 81: // and_expr ::= and_expr AMPERSAND shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-2)); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 80: // and_expr ::= shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 79: // xor_expr ::= xor_expr CIRCUM and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); ((XorExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 78: // xor_expr ::= and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 77: // or_expr ::= or_expr BAR xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-2)); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 76: // or_expr ::= xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 75: // const_expr ::= or_expr { CUP$result = new ConstExpr(/*const_expr*/30); ((ConstExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 74: // const_type ::= scopename { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((ConstType)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 73: // const_type ::= octet_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 72: // const_type ::= string_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 71: // const_type ::= fixed_pt_const_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FixedPointConstType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 70: // const_type ::= float_pt_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 69: // const_type ::= bool_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 68: // const_type ::= char_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 67: // const_type ::= int_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 66: // const_dcl ::= CONST const_type ID EQUALS const_expr { CUP$result = new ConstDecl(/*const_dcl*/28); ((ConstDecl)CUP$result).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val); ((ConstDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((ConstDecl)CUP$result).const_expr = (/*ce*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); ((ConstDecl)CUP$result).const_type = (ConstType)(/*ct*/(ConstType)CUP$stack.elementAt(CUP$top-3)); ((ConstDecl)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 65: // init_param_decl ::= IN param_type_spec simple_declarator { CUP$result = new InitParamDecl(/*init_param_decl*/27); ((InitParamDecl)CUP$result).paramTypeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((InitParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 64: // init_param_decls ::= init_param_decl COMMA init_param_decls { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v = (Vector)(/*ipdcls*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-2)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 63: // init_param_decls ::= init_param_decl { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-0)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 62: // init_dcl ::= FACTORY ID LPAREN RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 61: // init_dcl ::= FACTORY ID LPAREN init_param_decls RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((InitDecl)CUP$result).paramDecls = (Vector)(/*ipd*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 60: // state_member ::= PRIVATE type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = false; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 59: // state_member ::= PUBLIC type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = true; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 58: // value_element ::= init_dcl { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*id*/(InitDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 57: // value_element ::= state_member { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*sm*/(StateMember)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 56: // value_element ::= export { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*e*/(Definition)CUP$stack.elementAt(CUP$top-0)).get_declaration()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 55: // value_elements ::= empty { CUP$result = new Definitions(/*value_elements*/23); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 54: // value_elements ::= value_element value_elements { CUP$result = new Definitions(/*value_elements*/23); ((Definitions)CUP$result).v = (Vector)(/*es*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 53: // truncatable ::= TRUNCATABLE { CUP$result = new Truncatable(/*truncatable*/16); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 52: // value_inheritance_spec ::= empty { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 51: // value_inheritance_spec ::= COLON scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 50: // value_inheritance_spec ::= COLON truncatable scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-3)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 49: // value_inheritance_spec ::= SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 48: // value_inheritance_spec ::= COLON scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 47: // value_inheritance_spec ::= COLON truncatable scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-1)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 46: // value_dcl ::= VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 45: // value_dcl ::= VALUETYPE ID { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 44: // value_dcl ::= CUSTOM VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (true); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 43: // value_body ::= empty { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 42: // value_body ::= export value_body { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).v = (Vector)(/*vb*/(ValueBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((ValueBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 41: // value_abs_dcl ::= ABSTRACT VALUETYPE ID { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 40: // value_abs_dcl ::= ABSTRACT VALUETYPE ID value_inheritance_spec LCBRACE value_body RCBRACE { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueAbsDecl)CUP$result).setInheritanceSpec( (/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3)) ); ((ValueAbsDecl)CUP$result).body = (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).myAbsValue = ((ValueAbsDecl)CUP$result); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((ValueAbsDecl)CUP$result)); ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 39: // value_box_dcl ::= VALUETYPE ID type_spec { CUP$result = new ValueBoxDecl(/*value_box_dcl*/18); ((ValueBoxDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; ((ValueBoxDecl)CUP$result).typeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 38: // value ::= value_box_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vbx*/(ValueBoxDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 37: // value ::= value_abs_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vad*/(ValueAbsDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 36: // value ::= value_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vd*/(ValueDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 35: // scopename ::= OBJECT { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).typeName = "org.omg.CORBA.Object"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 34: // scopename ::= scopename DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)).typeName+ "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 33: // scopename ::= DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 32: // scopename ::= ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 31: // scopename_list ::= scopename { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 30: // scopename_list ::= scopename COMMA scopename_list { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 29: // inheritance_spec ::= empty { CUP$result = new SymbolList(/*inheritance_spec*/95); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 28: // inheritance_spec ::= COLON scopename_list { CUP$result = new SymbolList(/*inheritance_spec*/95); ((SymbolList)CUP$result).v = (Vector)(/*sl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 27: // export ::= op_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*o*/(OpDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 26: // export ::= attr_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*a*/(AttrDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 25: // export ::= except_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 24: // export ::= const_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 23: // export ::= type_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 22: // interface_body ::= empty { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 21: // interface_body ::= export interface_body { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).v = (Vector)(/*i*/(InterfaceBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((InterfaceBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 20: // interface ::= PSEUDO INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 19: // interface ::= LOCAL INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 18: // interface ::= ABSTRACT INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 17: // interface ::= INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 16: // interface ::= PSEUDO INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_pseudo(); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val);// (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 15: // interface ::= LOCAL INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 14: // interface ::= ABSTRACT INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 13: // interface ::= INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 12: // module ::= MODULE ID LCBRACE definitions RCBRACE { CUP$result = new Module(/*module*/11); ((Module)CUP$result).spec = (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)); ((Module)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((Module)CUP$result).setPackage((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val ); ((Module)CUP$result).set_included( parser.include_state ); (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Module)CUP$result)); parser.closeScope( (Scope)((Module)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 11: // definition ::= value SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Value)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 10: // definition ::= module SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Module)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 9: // definition ::= interface SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*p*/(Interface)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 8: // definition ::= except_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 7: // definition ::= const_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 6: // definition ::= type_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 5: // definitions ::= definition { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 4: // definitions ::= definition definitions { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 3: // specification ::= empty { CUP$result = new Spec(/*specification*/8); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 2: // specification ::= NT$0 definitions { CUP$result = new Spec(/*specification*/8); /* parsing */ // open the global scope parser.openScope(); ((Spec)CUP$result).definitions = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); if( ((org.jacorb.idl.parser)CUP$parser).package_prefix != null ) ((Spec)CUP$result).setPackage( ((org.jacorb.idl.parser)CUP$parser).package_prefix ); ((Spec)CUP$result).parse(); if ( lexer.error_count != 0 ) { System.err.println(lexer.error_count + " error(s)."); System.exit(1); } // if there are still interfaces to be parsed, wait until the // threads performing this have finished. The last one // will call notify() :) if( parser.pending_interfaces.size() > 0 ) { // give other threads a chance to start and signal // that they're active Thread.yield(); boolean runnableFound = false; // still no one seems to be active, but we'll call // round to be sure if( parser.activeParseThreads() == 0 ) { for( int t = 0; t < InterfaceBody.parseThreads.size() && !runnableFound; t++ ) { runnableFound = ((InterfaceBody.ParseThread)InterfaceBody.parseThreads.elementAt(t)).isRunnable(); } } // only block waiting if we know that there are active or // runnable threads and that there are still pending tasks if( ( parser.activeParseThreads() > 1 || runnableFound ) && parser.pending_interfaces.size() > 0 ) { synchronized( parser.pending_interfaces ) { parser.pending_interfaces.wait(); } } } if( parser.pending_interfaces.size() > 0 && !parser.sloppy ) { parser.fatal_error("Undefined interface: " + (String)(parser.pending_interfaces.keys().nextElement()), null ); } /* okay, parsing is done */ parser.done_parsing = true; /* code generation phase */ if (! ((org.jacorb.idl.parser)CUP$parser).parse_only ) { ((Spec)CUP$result).print( new java.io.PrintWriter( java.lang.System.out ) ); } } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 1: // NT$0 ::= { CUP$result = new java_cup.runtime.token(/*NT$0*/98); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 0: // $START ::= specification EOF { CUP$result = new java_cup.runtime.token(/*$START*/0); } /* ACCEPT */ CUP$parser.done_parsing(); return CUP$result; /* . . . . . .*/ default: throw new Exception( "Invalid action number found in internal parse table"); } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/459917427e43784c811fea8081796b8a67dfaa54/parser.java/clean/src/org/jacorb/idl/parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 621, 67, 2107, 13, 3639, 288, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 576, 5558, 30, 368, 1008, 493, 33, 2398, 288, 2868, 385, 3079, 8, 2088, 273, 394, 2252, 67, 71, 416, 18, 9448, 18, 7175, 12, 20308, 5531, 5549, 24, 1769, 12900, 289, 1850, 327, 385, 3079, 8, 2088, 31, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 28298, 30, 368, 579, 67, 723, 67, 2793, 493, 33, 888, 556, 1069, 2398, 288, 2868, 385, 3079, 8, 2088, 273, 394, 1412, 1990, 12, 20308, 891, 67, 723, 67, 2793, 5549, 6334, 1769, 9079, 14015, 559, 1990, 13, 39, 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, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 621, 67, 2107, 13, 3639, 288, 1850, 2 ]
assert(SwingUtilities.isEventDispatchThread());
public void receivedResponse(boolean error, String response) { if (m_fastUpdate) { assert(SwingUtilities.isEventDispatchThread()); appendResponse(error, response); return; } Runnable r = new UpdateResponse(this, error, response); SwingUtilities.invokeLater(r); }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/244dea79395ce64edcb9f803af5e0993085decce/GtpShell.java/clean/src/gui/GtpShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5079, 1064, 12, 6494, 555, 16, 514, 766, 13, 565, 288, 3639, 309, 261, 81, 67, 8076, 1891, 13, 3639, 288, 15604, 714, 1064, 12, 1636, 16, 766, 1769, 5411, 327, 31, 3639, 289, 3639, 10254, 436, 273, 394, 2315, 1064, 12, 2211, 16, 555, 16, 766, 1769, 3639, 26145, 11864, 18, 14407, 20607, 12, 86, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5079, 1064, 12, 6494, 555, 16, 514, 766, 13, 565, 288, 3639, 309, 261, 81, 67, 8076, 1891, 13, 3639, 288, 15604, 714, 1064, 12, 1636, 16, 766, 1769, 5411, 327, 31, 3639, 289, 3639, 10254, 436, 273, 394, 2315, 1064, 12, 2211, 16, 555, 16, 766, 1769, 3639, 26145, 11864, 18, 14407, 20607, 12, 86, 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 ]
addItem( c, mycollection, sourceDir, dircontents[ i ], mapOut );
addItem( c, mycollection, sourceDir, dircontents[ i ], null, mapOut );
private void addItems( Context c, Collection mycollection, String sourceDir, String mapFile ) throws Exception { System.out.println( "Adding items from directory: " + sourceDir ); System.out.println( "Generating mapfile: " + mapFile ); // create the mapfile File outFile = new File( mapFile ); PrintWriter mapOut = new PrintWriter( new FileWriter( outFile ) ); // now process the source directory String [] dircontents = new java.io.File( sourceDir ).list(); for( int i = 0; i < dircontents.length; i++ ) { addItem( c, mycollection, sourceDir, dircontents[ i ], mapOut ); System.out.println( i + " " + dircontents[ i ] ); } mapOut.close(); }
49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/689211c5ca31a1a5e1467e73dffdc5ac4b6f729f/ItemImport.java/buggy/dspace/src/org/dspace/app/itemimport/ItemImport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 3126, 12, 1772, 276, 16, 2200, 3399, 5548, 16, 514, 26844, 16, 514, 852, 812, 262, 3639, 1216, 1185, 565, 288, 3639, 2332, 18, 659, 18, 8222, 12, 315, 13962, 1516, 628, 1867, 30, 315, 397, 26844, 11272, 3639, 2332, 18, 659, 18, 8222, 12, 315, 21755, 852, 768, 30, 315, 1850, 397, 852, 812, 282, 11272, 7734, 368, 752, 326, 852, 768, 3639, 1387, 21651, 273, 394, 1387, 12, 852, 812, 11272, 3639, 14071, 852, 1182, 273, 394, 14071, 12, 394, 24639, 12, 21651, 262, 11272, 7734, 368, 2037, 1207, 326, 1084, 1867, 3639, 514, 5378, 1577, 3980, 273, 394, 2252, 18, 1594, 18, 812, 12, 26844, 262, 18, 1098, 5621, 3639, 364, 12, 509, 277, 273, 374, 31, 277, 411, 1577, 3980, 18, 2469, 31, 277, 9904, 262, 3639, 288, 5411, 15009, 12, 276, 16, 3399, 5548, 16, 26844, 16, 1577, 3980, 63, 277, 308, 16, 446, 16, 852, 1182, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 277, 397, 315, 315, 397, 1577, 3980, 63, 277, 308, 11272, 3639, 289, 7734, 852, 1182, 18, 4412, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 3126, 12, 1772, 276, 16, 2200, 3399, 5548, 16, 514, 26844, 16, 514, 852, 812, 262, 3639, 1216, 1185, 565, 288, 3639, 2332, 18, 659, 18, 8222, 12, 315, 13962, 1516, 628, 1867, 30, 315, 397, 26844, 11272, 3639, 2332, 18, 659, 18, 8222, 12, 315, 21755, 852, 768, 30, 315, 1850, 397, 852, 812, 282, 11272, 7734, 368, 752, 326, 852, 768, 3639, 1387, 21651, 273, 394, 1387, 12, 852, 812, 11272, 3639, 14071, 852, 1182, 273, 394, 14071, 12, 394, 24639, 12, 21651, 262, 11272, 7734, 368, 2037, 1207, 326, 1084, 1867, 3639, 514, 5378, 1577, 3980, 273, 394, 2252, 18, 1594, 18, 812, 12, 26844, 262, 18, 1098, 5621, 3639, 364, 12, 2 ]
public boolean isSet(org.quickfix.field.MiscFeeAmt field)
public boolean isSet(quickfix.field.MiscFeeAmt field)
public boolean isSet(org.quickfix.field.MiscFeeAmt field) { return isSetField(field); }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/AllocationReport.java/clean/src/java/src/quickfix/fix44/AllocationReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 11729, 71, 14667, 31787, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13532, 12, 19525, 904, 18, 1518, 18, 11729, 71, 14667, 31787, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 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 ]
String id = format( v3Model.getId() );
String id = v3Model.getId();
public Model translate( org.apache.maven.model.v3_0_0.Model v3Model, Reporter reporter ) throws ReportWriteException { try { String groupId = format( v3Model.getGroupId() ); String artifactId = format( v3Model.getArtifactId() ); String id = format( v3Model.getId() ); if ( StringUtils.isNotEmpty( id ) ) { if ( StringUtils.isEmpty( groupId ) ) { groupId = id; } if ( StringUtils.isEmpty( artifactId ) ) { artifactId = id; } } String version = format( v3Model.getCurrentVersion() ); if ( version == null ) { version = format( v3Model.getVersion() ); } PomKey pomKey = new PomKey( groupId, artifactId, version ); warnOfUnsupportedMainModelElements( v3Model, reporter ); Model model = null; try { model = new Model(); model.setArtifactId( artifactId ); // moved this above the translation of the build, to allow // additional plugins to be defined in v3 poms via // <dependency><type>plugin</type></dependency> model.setDependencies( translateDependencies( v3Model.getDependencies() ) ); model.setBuild( translateBuild( v3Model.getBuild(), reporter ) ); model.setCiManagement( translateCiManagementInfo( v3Model.getBuild() ) ); model.setContributors( translateContributors( v3Model.getContributors() ) ); model.setDescription( v3Model.getDescription() ); model.setDevelopers( translateDevelopers( v3Model.getDevelopers() ) ); model.setDistributionManagement( translateDistributionManagement( pomKey, v3Model ) ); model.setGroupId( groupId ); model.setInceptionYear( v3Model.getInceptionYear() ); model.setIssueManagement( translateIssueManagement( v3Model ) ); model.setLicenses( translateLicenses( v3Model.getLicenses() ) ); model.setMailingLists( translateMailingLists( v3Model.getMailingLists() ) ); model.setModelVersion( "4.0.0" ); model.setName( v3Model.getName() ); model.setOrganization( translateOrganization( v3Model.getOrganization(), reporter ) ); model.setPackaging( "jar" ); model.setReports( translateReports( v3Model.getReports(), reporter ) ); model.setScm( translateScm( v3Model ) ); model.setUrl( v3Model.getUrl() ); model.setVersion( version ); } catch ( PomTranslationException e ) { reporter.error( "Invalid POM detected. Cannot translate.", e ); } return model; } finally { this.discoveredPlugins.clear(); } }
48791 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48791/6dbf18fceb188634f66fc3aeb41d4ac288fe35d2/PomV3ToV4Translator.java/clean/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3164, 4204, 12, 2358, 18, 19211, 18, 81, 7638, 18, 2284, 18, 90, 23, 67, 20, 67, 20, 18, 1488, 331, 23, 1488, 16, 25585, 11528, 262, 3639, 1216, 8706, 3067, 503, 565, 288, 3639, 775, 3639, 288, 5411, 514, 6612, 273, 740, 12, 331, 23, 1488, 18, 588, 8722, 1435, 11272, 5411, 514, 25496, 273, 740, 12, 331, 23, 1488, 18, 588, 7581, 548, 1435, 11272, 5411, 514, 612, 273, 331, 23, 1488, 18, 26321, 5621, 2398, 309, 261, 5778, 18, 291, 18431, 12, 612, 262, 262, 5411, 288, 7734, 309, 261, 5778, 18, 291, 1921, 12, 6612, 262, 262, 7734, 288, 10792, 6612, 273, 612, 31, 7734, 289, 7734, 309, 261, 5778, 18, 291, 1921, 12, 25496, 262, 262, 7734, 288, 10792, 25496, 273, 612, 31, 7734, 289, 5411, 289, 5411, 514, 1177, 273, 740, 12, 331, 23, 1488, 18, 588, 3935, 1444, 1435, 11272, 5411, 309, 261, 1177, 422, 446, 262, 5411, 288, 7734, 1177, 273, 740, 12, 331, 23, 1488, 18, 588, 1444, 1435, 11272, 5411, 289, 5411, 453, 362, 653, 21400, 653, 273, 394, 453, 362, 653, 12, 6612, 16, 25496, 16, 1177, 11272, 5411, 1894, 951, 8544, 6376, 1488, 3471, 12, 331, 23, 1488, 16, 11528, 11272, 5411, 3164, 938, 273, 446, 31, 5411, 775, 5411, 288, 7734, 938, 273, 394, 3164, 5621, 7734, 938, 18, 542, 7581, 548, 12, 25496, 11272, 7734, 368, 10456, 333, 5721, 326, 4794, 434, 326, 1361, 16, 358, 1699, 7734, 368, 3312, 4799, 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, 3164, 4204, 12, 2358, 18, 19211, 18, 81, 7638, 18, 2284, 18, 90, 23, 67, 20, 67, 20, 18, 1488, 331, 23, 1488, 16, 25585, 11528, 262, 3639, 1216, 8706, 3067, 503, 565, 288, 3639, 775, 3639, 288, 5411, 514, 6612, 273, 740, 12, 331, 23, 1488, 18, 588, 8722, 1435, 11272, 5411, 514, 25496, 273, 740, 12, 331, 23, 1488, 18, 588, 7581, 548, 1435, 11272, 5411, 514, 612, 273, 331, 23, 1488, 18, 26321, 5621, 2398, 309, 261, 5778, 18, 291, 18431, 12, 612, 262, 262, 5411, 288, 7734, 309, 261, 5778, 18, 291, 1921, 12, 6612, 262, 262, 7734, 288, 10792, 6612, 273, 612, 31, 7734, 289, 7734, 309, 261, 5778, 18, 291, 1921, 2 ]
public org.quickfix.field.NoRelatedSym getNoRelatedSym() throws FieldNotFound { org.quickfix.field.NoRelatedSym value = new org.quickfix.field.NoRelatedSym();
public quickfix.field.NoRelatedSym getNoRelatedSym() throws FieldNotFound { quickfix.field.NoRelatedSym value = new quickfix.field.NoRelatedSym();
public org.quickfix.field.NoRelatedSym getNoRelatedSym() throws FieldNotFound { org.quickfix.field.NoRelatedSym value = new org.quickfix.field.NoRelatedSym(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/clean/src/java/src/quickfix/fix42/Email.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 8017, 11901, 336, 2279, 8017, 11901, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 8017, 11901, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 8017, 11901, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 8017, 11901, 336, 2279, 8017, 11901, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 8017, 11901, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 8017, 11901, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
searchClass = searchClass.getSuperclass(); }
private Object searchForAdaptor(Class subjectClass) { LinkedList queue = null; Class[] interfaces; Class searchClass; Object result; int length; if (registrations == null) throw new IllegalArgumentException( "No adaptors have been registered."); synchronized (registrations) { // Step one: work up through the class inheritance. searchClass = subjectClass; while (searchClass != Object.class) { result = registrations.get(searchClass); if (result != null) return result; // Not an exact match. If the search class // implements any interfaces, add them to the queue. interfaces = searchClass.getInterfaces(); length = interfaces.length; if (queue == null && length > 0) queue = new LinkedList(); for (int i = 0; i < length; i++) queue.addLast(interfaces[i]); // Advance up to the next superclass searchClass = searchClass.getSuperclass(); } // Ok, the easy part failed, lets start searching // interfaces. if (queue != null) { while (!queue.isEmpty()) { searchClass = (Class)queue.removeFirst(); result = registrations.get(searchClass); if (result != null) return result; // Interfaces can extend other interfaces; add them // to the queue. interfaces = searchClass.getInterfaces(); length = interfaces.length; for (int i = 0; i < length; i++) queue.addLast(interfaces[i]); } } // Not a match on interface; our last gasp is to check // for a registration for java.lang.Object result = registrations.get(Object.class); if (result != null) return result; } // No match? That's rare ... and an error. throw new IllegalArgumentException( "Could not find an adaptor for class " + subjectClass.getName() + "."); }
4433 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4433/c51d8d4dd8d476478f92119536b3819c3e9980a1/Decorator.java/buggy/framework/src/com/primix/tapestry/util/Decorator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 3238, 1033, 1623, 1290, 29888, 12, 797, 3221, 797, 13, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 288, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 10688, 2389, 273, 446, 31, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1659, 8526, 7349, 31, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1659, 1623, 797, 31, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1033, 563, 31, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 3238, 1033, 1623, 1290, 29888, 12, 797, 3221, 797, 13, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 288, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 10688, 2389, 273, 446, 31, 3072, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 1623, 797, 18, 588, 28471, 5621, 289, 1623, 797, 273, 2 ]
fatalError("The character '"+(char)ch+"' is an invalid XML character");
fatalError("The character '"+ch+"' is an invalid XML character");
protected void printText( String text, boolean preserveSpace, boolean unescaped ) throws IOException { int index; char ch; int length = text.length(); if ( preserveSpace ) { // Preserving spaces: the text must print exactly as it is, // without breaking when spaces appear in the text and without // consolidating spaces. If a line terminator is used, a line // break will occur. for ( index = 0 ; index < length ; ++index ) { ch = text.charAt( index ); if (!XMLChar.isValid(ch)) { // check if it is surrogate if (++index <length) { surrogates(ch, text.charAt(index), true); } else { fatalError("The character '"+(char)ch+"' is an invalid XML character"); } continue; } if ( unescaped ) { _printer.printText( ch ); } else printXMLChar( ch ); } } else { // Not preserving spaces: print one part at a time, and // use spaces between parts to break them into different // lines. Spaces at beginning of line will be stripped // by printing mechanism. Line terminator is treated // no different than other text part. for ( index = 0 ; index < length ; ++index ) { ch = text.charAt( index ); if (!XMLChar.isValid(ch)) { // check if it is surrogate if (++index <length) { surrogates(ch, text.charAt(index), true); } else { fatalError("The character '"+(char)ch+"' is an invalid XML character"); } continue; } if ( unescaped ) _printer.printText( ch ); else printXMLChar( ch); } } }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/c3a4eb4927577396ea5dda8c1cd944a3ee382d8c/XMLSerializer.java/buggy/src/org/apache/xml/serialize/XMLSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1172, 1528, 12, 514, 977, 16, 1250, 9420, 3819, 16, 1250, 27869, 262, 565, 1216, 1860, 288, 3639, 509, 770, 31, 3639, 1149, 462, 31, 3639, 509, 769, 273, 977, 18, 2469, 5621, 3639, 309, 261, 9420, 3819, 262, 288, 5411, 368, 18346, 264, 6282, 7292, 30, 326, 977, 1297, 1172, 8950, 487, 518, 353, 16, 5411, 368, 2887, 24412, 1347, 7292, 9788, 316, 326, 977, 471, 2887, 5411, 368, 21785, 1776, 7292, 18, 971, 279, 980, 24965, 353, 1399, 16, 279, 980, 5411, 368, 898, 903, 3334, 18, 5411, 364, 261, 770, 273, 374, 274, 770, 411, 769, 274, 965, 1615, 262, 288, 7734, 462, 273, 977, 18, 3001, 861, 12, 770, 11272, 7734, 309, 16051, 4201, 2156, 18, 26810, 12, 343, 3719, 288, 10792, 368, 866, 309, 518, 353, 24054, 10792, 309, 261, 9904, 1615, 411, 2469, 13, 288, 13491, 5056, 303, 28139, 12, 343, 16, 977, 18, 3001, 861, 12, 1615, 3631, 638, 1769, 10792, 289, 469, 288, 13491, 10081, 668, 2932, 1986, 3351, 2119, 15, 343, 15, 5187, 353, 392, 2057, 3167, 3351, 8863, 5397, 289, 10792, 1324, 31, 7734, 289, 7734, 309, 261, 27869, 262, 288, 10792, 389, 30439, 18, 1188, 1528, 12, 462, 11272, 7734, 289, 469, 10792, 1172, 4201, 2156, 12, 462, 11272, 5411, 289, 3639, 289, 469, 288, 5411, 368, 2288, 27995, 7292, 30, 1172, 1245, 1087, 622, 279, 813, 16, 471, 5411, 368, 999, 7292, 3086, 2140, 358, 898, 2182, 1368, 3775, 5411, 368, 2362, 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, 1172, 1528, 12, 514, 977, 16, 1250, 9420, 3819, 16, 1250, 27869, 262, 565, 1216, 1860, 288, 3639, 509, 770, 31, 3639, 1149, 462, 31, 3639, 509, 769, 273, 977, 18, 2469, 5621, 3639, 309, 261, 9420, 3819, 262, 288, 5411, 368, 18346, 264, 6282, 7292, 30, 326, 977, 1297, 1172, 8950, 487, 518, 353, 16, 5411, 368, 2887, 24412, 1347, 7292, 9788, 316, 326, 977, 471, 2887, 5411, 368, 21785, 1776, 7292, 18, 971, 279, 980, 24965, 353, 1399, 16, 279, 980, 5411, 368, 898, 903, 3334, 18, 5411, 364, 261, 770, 273, 374, 274, 770, 411, 769, 274, 965, 1615, 262, 288, 7734, 462, 273, 977, 18, 3001, 861, 12, 770, 11272, 7734, 309, 2 ]
OptLocalVariable lVar = (OptLocalVariable) vars.get(i);
OptLocalVariable lVar = (OptLocalVariable) vars.getVariable(i);
public String generateCode(Node tree, Vector names, Vector classFiles, ClassNameHelper nameHelper) { this.itsNameHelper = (OptClassNameHelper) nameHelper; this.namesVector = names; this.classFilesVector = classFiles; Context cx = Context.getCurrentContext(); itsSourceFile = null; if (cx.isGeneratingDebug()) itsSourceFile = (String) tree.getProp(Node.SOURCENAME_PROP); version = cx.getLanguageVersion(); optLevel = cx.getOptimizationLevel(); inFunction = tree.getType() == TokenStream.FUNCTION; superClassName = inFunction ? normalFunctionSuperClassName : normalScriptSuperClassName; superClassSlashName = superClassName.replace('.', '/'); Node codegenBase; if (inFunction) { OptFunctionNode fnNode = (OptFunctionNode) tree; inDirectCallFunction = fnNode.isTargetOfDirectCall(); vars = (OptVariableTable) fnNode.getVariableTable(); this.name = fnNode.getClassName(); classFile = new ClassFileWriter(name, superClassName, itsSourceFile); Node args = tree.getFirstChild(); String name = fnNode.getFunctionName(); generateInit(cx, "<init>", tree, name, args); if (fnNode.isTargetOfDirectCall()) { classFile.startMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", (short)(ClassFileWriter.ACC_PUBLIC + ClassFileWriter.ACC_FINAL)); addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); addByteCode(ByteCode.ALOAD_2); addByteCode(ByteCode.ALOAD_3); for (int i = 0; i < vars.getParameterCount(); i++) { push(i); addByteCode(ByteCode.ALOAD, 4); addByteCode(ByteCode.ARRAYLENGTH); int undefArg = acquireLabel(); int beyond = acquireLabel(); addByteCode(ByteCode.IF_ICMPGE, undefArg); addByteCode(ByteCode.ALOAD, 4); push(i); addByteCode(ByteCode.AALOAD); push(0.0); addByteCode(ByteCode.GOTO, beyond); markLabel(undefArg); pushUndefined(); push(0.0); markLabel(beyond); } addByteCode(ByteCode.ALOAD, 4); addVirtualInvoke(this.name, "callDirect", fnNode.getDirectCallParameterSignature(), "Ljava/lang/Object;"); addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)5, null); // 1 for this, 1 for js this, 1 for args[] emitDirectConstructor(fnNode); startNewMethod("callDirect", fnNode.getDirectCallParameterSignature() + "Ljava/lang/Object;", 1, false, true); vars.assignParameterJRegs(); if (!fnNode.getParameterNumberContext()) { // make sure that all parameters are objects itsForcedObjectParameters = true; for (int i = 0; i < vars.getParameterCount(); i++) { OptLocalVariable lVar = (OptLocalVariable) vars.get(i); aload(lVar.getJRegister()); classFile.add(ByteCode.GETSTATIC, "java/lang/Void", "TYPE", "Ljava/lang/Class;"); int isObjectLabel = acquireLabel(); addByteCode(ByteCode.IF_ACMPNE, isObjectLabel); addByteCode(ByteCode.NEW,"java/lang/Double"); addByteCode(ByteCode.DUP); dload((short)(lVar.getJRegister() + 1)); addDoubleConstructor(); astore(lVar.getJRegister()); markLabel(isObjectLabel); } } generatePrologue(cx, tree, true, vars.getParameterCount()); } else { startNewMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", 1, false, true); generatePrologue(cx, tree, true, -1); } codegenBase = tree.getLastChild(); } else { // better be a script if (tree.getType() != TokenStream.SCRIPT) badTree(); vars = (OptVariableTable) tree.getProp(Node.VARS_PROP); boolean isPrimary = itsNameHelper.getTargetExtends() == null && itsNameHelper.getTargetImplements() == null; this.name = itsNameHelper.getJavaScriptClassName(null, isPrimary); classFile = new ClassFileWriter(name, superClassName, itsSourceFile); classFile.addInterface("org/mozilla/javascript/Script"); generateScriptCtor(cx, tree); generateMain(cx); generateInit(cx, "initScript", tree, "", null); generateExecute(cx); startNewMethod("call", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)Ljava/lang/Object;", 1, false, true); generatePrologue(cx, tree, false, -1); tree.addChildToBack(new Node(TokenStream.RETURN)); codegenBase = tree; } generateCodeFromNode(codegenBase, null, -1, -1); generateEpilogue(); finishMethod(cx, debugVars); emitConstantDudeInitializers(); ByteArrayOutputStream out = new ByteArrayOutputStream(512); try { classFile.write(out); } catch (IOException ioe) { throw new RuntimeException("unexpected IOException"); } byte[] bytes = out.toByteArray(); namesVector.addElement(name); classFilesVector.addElement(bytes); classFile = null; namesVector = null; classFilesVector = null; return name; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/0470e048abb345f567d5fda1e9564715a9f4d5d7/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2103, 1085, 12, 907, 2151, 16, 5589, 1257, 16, 5589, 667, 2697, 16, 1171, 9079, 19811, 2276, 508, 2276, 13, 377, 288, 3639, 333, 18, 1282, 461, 2276, 273, 261, 6179, 3834, 2276, 13, 508, 2276, 31, 3639, 333, 18, 1973, 5018, 273, 1257, 31, 3639, 333, 18, 1106, 2697, 5018, 273, 667, 2697, 31, 3639, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 3639, 2097, 31150, 273, 446, 31, 3639, 309, 261, 71, 92, 18, 291, 21755, 2829, 10756, 5411, 2097, 31150, 273, 261, 780, 13, 2151, 18, 588, 4658, 12, 907, 18, 3584, 1099, 39, 21150, 67, 15811, 1769, 3639, 1177, 273, 9494, 18, 588, 3779, 1444, 5621, 3639, 2153, 2355, 273, 9494, 18, 588, 13930, 1588, 2355, 5621, 3639, 316, 2083, 273, 2151, 18, 588, 559, 1435, 422, 3155, 1228, 18, 7788, 31, 3639, 2240, 3834, 273, 316, 2083, 7682, 692, 2212, 2083, 8051, 3834, 7682, 294, 2212, 3651, 8051, 3834, 31, 3639, 18846, 11033, 461, 273, 2240, 3834, 18, 2079, 2668, 1093, 16, 2023, 1769, 3639, 2029, 23198, 2171, 31, 3639, 309, 261, 267, 2083, 13, 288, 5411, 12056, 2083, 907, 2295, 907, 273, 261, 6179, 2083, 907, 13, 2151, 31, 5411, 316, 5368, 1477, 2083, 273, 2295, 907, 18, 291, 2326, 951, 5368, 1477, 5621, 5411, 4153, 273, 261, 6179, 3092, 1388, 13, 2295, 907, 18, 588, 3092, 1388, 5621, 5411, 333, 18, 529, 273, 2295, 907, 18, 588, 3834, 5621, 5411, 29728, 273, 394, 30614, 2289, 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, 1071, 514, 2103, 1085, 12, 907, 2151, 16, 5589, 1257, 16, 5589, 667, 2697, 16, 1171, 9079, 19811, 2276, 508, 2276, 13, 377, 288, 3639, 333, 18, 1282, 461, 2276, 273, 261, 6179, 3834, 2276, 13, 508, 2276, 31, 3639, 333, 18, 1973, 5018, 273, 1257, 31, 3639, 333, 18, 1106, 2697, 5018, 273, 667, 2697, 31, 3639, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 3639, 2097, 31150, 273, 446, 31, 3639, 309, 261, 71, 92, 18, 291, 21755, 2829, 10756, 5411, 2097, 31150, 273, 261, 780, 13, 2151, 18, 588, 4658, 12, 907, 18, 3584, 1099, 39, 21150, 67, 15811, 1769, 3639, 1177, 273, 9494, 18, 588, 3779, 1444, 5621, 3639, 2153, 2355, 273, 9494, 2 ]
addDefaultDevEntries(result, bundledata);
addDefaultDevEntries(result, bundledata, domain);
protected BundleFile[] buildClasspath(String[] classpath, DefaultBundleData bundledata) { ArrayList result = new ArrayList(10); // If not in dev mode then just add the regular classpath entries and return if (System.getProperty("osgi.dev") == null) { for (int i = 0; i < classpath.length; i++) addClassPathEntry(result, classpath[i],bundledata); return (BundleFile[])result.toArray(new BundleFile[result.size()]); } // Otherwise, add the legacy entries for backwards compatibility and // then for each classpath entry add the dev entries as spec'd in the // corresponding properties file. If none are spec'd, add the // classpath entry itself addDefaultDevEntries(result, bundledata); for (int i = 0; i < classpath.length; i++) { String[] devEntries = getDevEntries(classpath[i], bundledata); if (devEntries != null && devEntries.length > 0) { for (int j = 0; j < devEntries.length; j++) addClassPathEntry(result, devEntries[j], bundledata); } else addClassPathEntry(result, classpath[i], bundledata); } return (BundleFile[])result.toArray(new BundleFile[result.size()]); }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/92b09e4f7216370b1a84ce3b53bfcca0eeeb506a/DefaultClassLoader.java/buggy/bundles/org.eclipse.osgi/defaultAdaptor/src/org/eclipse/osgi/framework/internal/defaultadaptor/DefaultClassLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8539, 812, 8526, 1361, 17461, 12, 780, 8526, 10006, 16, 2989, 3405, 751, 3440, 892, 13, 288, 202, 202, 19558, 563, 273, 394, 2407, 12, 2163, 1769, 202, 202, 759, 971, 486, 316, 4461, 1965, 1508, 2537, 527, 326, 6736, 10006, 3222, 471, 327, 202, 202, 430, 261, 3163, 18, 588, 1396, 2932, 538, 10052, 18, 5206, 7923, 422, 446, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 10006, 18, 2469, 31, 277, 27245, 4697, 202, 1289, 22158, 1622, 12, 2088, 16, 10006, 63, 77, 6487, 9991, 892, 1769, 1082, 202, 2463, 261, 3405, 812, 63, 5717, 2088, 18, 31447, 12, 2704, 8539, 812, 63, 2088, 18, 1467, 1435, 19226, 202, 202, 97, 9506, 202, 759, 5272, 16, 527, 326, 8866, 3222, 364, 12727, 8926, 471, 202, 202, 759, 1508, 364, 1517, 10006, 1241, 527, 326, 4461, 3222, 487, 857, 14271, 316, 326, 3196, 202, 759, 4656, 1790, 585, 18, 225, 971, 6555, 854, 857, 14271, 16, 527, 326, 3196, 202, 759, 10006, 1241, 6174, 202, 202, 1289, 1868, 8870, 5400, 12, 2088, 16, 3440, 892, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 10006, 18, 2469, 31, 277, 27245, 288, 1082, 202, 780, 8526, 4461, 5400, 273, 336, 8870, 5400, 12, 26302, 63, 77, 6487, 3440, 892, 1769, 1082, 202, 430, 261, 5206, 5400, 480, 446, 597, 4461, 5400, 18, 2469, 405, 374, 13, 288, 9506, 202, 1884, 261, 474, 525, 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, 8539, 812, 8526, 1361, 17461, 12, 780, 8526, 10006, 16, 2989, 3405, 751, 3440, 892, 13, 288, 202, 202, 19558, 563, 273, 394, 2407, 12, 2163, 1769, 202, 202, 759, 971, 486, 316, 4461, 1965, 1508, 2537, 527, 326, 6736, 10006, 3222, 471, 327, 202, 202, 430, 261, 3163, 18, 588, 1396, 2932, 538, 10052, 18, 5206, 7923, 422, 446, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 10006, 18, 2469, 31, 277, 27245, 4697, 202, 1289, 22158, 1622, 12, 2088, 16, 10006, 63, 77, 6487, 9991, 892, 1769, 1082, 202, 2463, 261, 3405, 812, 63, 5717, 2088, 18, 31447, 12, 2704, 8539, 812, 63, 2088, 18, 1467, 1435, 19226, 202, 2 ]
List hints = new ArrayList();
List<String> hints = new ArrayList<String>();
protected List getHints() { List hints = new ArrayList(); // Stage 1 hints.add( "You can put HTML tags in form input fields." ); hints.add( "Bury a SCRIPT tag in the field to attack anyone who reads it." ); hints.add( "Enter this: &lt;script language=\"javascript\" type=\"text/javascript\"&gt;alert(\"Ha Ha Ha\");&lt;/script&gt; in message fields." ); hints.add( "Enter this: &lt;script&gtalert(\"document.cookie\");&lt;/script&gt; in message fields." ); // Stage 2 hints.add( "Many scripts rely on the use of special characters such as: &lt;" ); hints.add( "Allowing only a certain set of characters (positive filtering) is preferred to blocking a set of characters (negative filtering)." ); hints.add( "The java.util.regex package is useful for filtering string values." ); // Stage 3 hints.add( "Browsers recognize and decode HTML entity encoded content after parsing and interpretting HTML tags." ); hints.add( "An HTML entity encoder is provided in the ParameterParser class." ); // Stage 4 hints.add( "Examine content served in response to form submissions looking for data taken from the form." ); // Stage 5 hints.add( "Validate early. Consider: out.println(\"Order for \" + request.getParameter(\"product\") + \" being processed...\");" ); return hints; }
47703 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47703/e5b3b00b0f724a9834bcadb34453e906f7c0d25b/CrossSiteScripting.java/buggy/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/CrossSiteScripting/CrossSiteScripting.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 987, 336, 13368, 1435, 202, 95, 202, 202, 682, 13442, 273, 394, 2407, 5621, 9506, 202, 759, 16531, 404, 202, 202, 24598, 18, 1289, 12, 315, 6225, 848, 1378, 3982, 2342, 316, 646, 810, 1466, 1199, 11272, 202, 202, 24598, 18, 1289, 12, 315, 38, 22498, 279, 22812, 1047, 316, 326, 652, 358, 13843, 1281, 476, 10354, 6838, 518, 1199, 11272, 202, 202, 24598, 18, 1289, 12, 315, 10237, 333, 30, 473, 5618, 31, 4263, 2653, 5189, 11242, 2412, 618, 5189, 955, 19, 11242, 2412, 10, 4521, 31, 11798, 23031, 44, 69, 670, 69, 670, 69, 2412, 1769, 10, 5618, 31, 19, 4263, 10, 4521, 31, 316, 883, 1466, 1199, 11272, 202, 202, 24598, 18, 1289, 12, 315, 10237, 333, 30, 473, 5618, 31, 4263, 10, 4521, 11798, 23031, 5457, 18, 8417, 2412, 1769, 10, 5618, 31, 19, 4263, 10, 4521, 31, 316, 883, 1466, 1199, 11272, 9506, 202, 759, 16531, 576, 202, 202, 24598, 18, 1289, 12, 315, 5594, 8873, 21187, 603, 326, 999, 434, 4582, 3949, 4123, 487, 30, 473, 5618, 4868, 11272, 202, 202, 24598, 18, 1289, 12, 315, 7009, 310, 1338, 279, 8626, 444, 434, 3949, 261, 21094, 11346, 13, 353, 9119, 358, 9445, 279, 444, 434, 3949, 261, 13258, 11346, 14944, 11272, 202, 202, 24598, 18, 1289, 12, 315, 1986, 2252, 18, 1367, 18, 7584, 2181, 353, 5301, 364, 11346, 533, 924, 1199, 11272, 202, 202, 759, 16531, 890, 202, 202, 24598, 18, 1289, 12, 315, 38, 13221, 21431, 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, 987, 336, 13368, 1435, 202, 95, 202, 202, 682, 13442, 273, 394, 2407, 5621, 9506, 202, 759, 16531, 404, 202, 202, 24598, 18, 1289, 12, 315, 6225, 848, 1378, 3982, 2342, 316, 646, 810, 1466, 1199, 11272, 202, 202, 24598, 18, 1289, 12, 315, 38, 22498, 279, 22812, 1047, 316, 326, 652, 358, 13843, 1281, 476, 10354, 6838, 518, 1199, 11272, 202, 202, 24598, 18, 1289, 12, 315, 10237, 333, 30, 473, 5618, 31, 4263, 2653, 5189, 11242, 2412, 618, 5189, 955, 19, 11242, 2412, 10, 4521, 31, 11798, 23031, 44, 69, 670, 69, 670, 69, 2412, 1769, 10, 5618, 31, 19, 4263, 10, 4521, 31, 316, 883, 1466, 1199, 11272, 202, 202, 24598, 18, 1289, 2 ]
oPolymer.addAtom(oAtom2, oMono1, oStrand1); oPolymer.addAtom(oAtom3, oMono2, oStrand2);
oPolymer.addAtom(oAtom2, oMono1); oPolymer.addAtom(oAtom3, oMono2);
public void testGetMonomerNames() { Polymer oPolymer = new Polymer(); assertEquals(1, oPolymer.getMonomerNames().size()); // there is a default monomer Strand oStrand1 = new Strand(); oStrand1.setStrandName("A"); Strand oStrand2 = new Strand(); oStrand2.setStrandName("B"); Monomer oMono1 = new Monomer(); oMono1.setMonomerName(new String("TRP279")); Monomer oMono2 = new Monomer(); oMono2.setMonomerName(new String("HOH")); Atom oAtom1 = new Atom("C1"); Atom oAtom2 = new Atom("C2"); Atom oAtom3 = new Atom("C3"); oPolymer.addAtom(oAtom1); oPolymer.addAtom(oAtom2, oMono1, oStrand1); oPolymer.addAtom(oAtom3, oMono2, oStrand2); assertNotNull(oPolymer.getAtomAt(0)); assertNotNull(oPolymer.getAtomAt(1)); assertNotNull(oPolymer.getAtomAt(2)); assertEquals(oAtom1, oPolymer.getAtomAt(0)); assertEquals(oAtom2, oPolymer.getAtomAt(1)); assertEquals(oAtom3, oPolymer.getAtomAt(2)); assertEquals(3, oPolymer.getMonomerNames().size()); assertTrue(oPolymer.getMonomerNames().contains(oMono1.getMonomerName())); assertTrue(oPolymer.getMonomerNames().contains(oMono2.getMonomerName())); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/09c4675a3b928bfeb112d88678a625899a89e34b/PolymerTest.java/buggy/src/org/openscience/cdk/test/PolymerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 967, 49, 14536, 1557, 1435, 288, 202, 202, 5850, 17878, 320, 5850, 17878, 273, 394, 6730, 17878, 5621, 202, 202, 11231, 8867, 12, 21, 16, 320, 5850, 17878, 18, 588, 49, 14536, 1557, 7675, 1467, 10663, 368, 1915, 353, 279, 805, 26431, 9506, 202, 1585, 464, 320, 1585, 464, 21, 273, 394, 3978, 464, 5621, 202, 202, 83, 1585, 464, 21, 18, 542, 1585, 464, 461, 2932, 37, 8863, 202, 202, 1585, 464, 320, 1585, 464, 22, 273, 394, 3978, 464, 5621, 202, 202, 83, 1585, 464, 22, 18, 542, 1585, 464, 461, 2932, 38, 8863, 202, 202, 49, 14536, 320, 11415, 83, 21, 273, 394, 27082, 5621, 202, 202, 83, 11415, 83, 21, 18, 542, 49, 14536, 461, 12, 2704, 514, 2932, 4349, 52, 5324, 29, 7923, 1769, 202, 202, 49, 14536, 320, 11415, 83, 22, 273, 394, 27082, 5621, 202, 202, 83, 11415, 83, 22, 18, 542, 49, 14536, 461, 12, 2704, 514, 2932, 7995, 44, 7923, 1769, 202, 202, 3641, 320, 3641, 21, 273, 394, 7149, 2932, 39, 21, 8863, 202, 202, 3641, 320, 3641, 22, 273, 394, 7149, 2932, 39, 22, 8863, 202, 202, 3641, 320, 3641, 23, 273, 394, 7149, 2932, 39, 23, 8863, 202, 202, 83, 5850, 17878, 18, 1289, 3641, 12, 83, 3641, 21, 1769, 202, 202, 83, 5850, 17878, 18, 1289, 3641, 12, 83, 3641, 22, 16, 320, 11415, 83, 21, 16, 320, 1585, 464, 21, 1769, 202, 202, 83, 5850, 17878, 18, 1289, 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, 967, 49, 14536, 1557, 1435, 288, 202, 202, 5850, 17878, 320, 5850, 17878, 273, 394, 6730, 17878, 5621, 202, 202, 11231, 8867, 12, 21, 16, 320, 5850, 17878, 18, 588, 49, 14536, 1557, 7675, 1467, 10663, 368, 1915, 353, 279, 805, 26431, 9506, 202, 1585, 464, 320, 1585, 464, 21, 273, 394, 3978, 464, 5621, 202, 202, 83, 1585, 464, 21, 18, 542, 1585, 464, 461, 2932, 37, 8863, 202, 202, 1585, 464, 320, 1585, 464, 22, 273, 394, 3978, 464, 5621, 202, 202, 83, 1585, 464, 22, 18, 542, 1585, 464, 461, 2932, 38, 8863, 202, 202, 49, 14536, 320, 11415, 83, 21, 273, 394, 27082, 5621, 202, 202, 83, 11415, 83, 21, 2 ]
catch (MalformedURLException e) { } return sampler;
sampler.setPath(path.getText()); sampler.setMethod(HTTPSamplerBase.POST); sampler.setSoapAction(soapAction.getText()); sampler.setXmlData(soapXml.getText()); sampler.setXmlFile(soapXmlFile.getFilename()); sampler.setXmlPathLoc(randomXmlFile.getText()); sampler.setMemoryCache(memCache.isSelected()); sampler.setReadResponse(readResponse.isSelected()); sampler.setUseProxy(useProxy.isSelected()); sampler.setProxyHost(proxyHost.getText()); sampler.setProxyPort(proxyPort.getText()); return sampler;
public TestElement createTestElement() { WebServiceSampler sampler = new WebServiceSampler(); this.configureTestElement(sampler); try { URL url = new URL(urlField.getText()); sampler.setDomain(url.getHost()); if (url.getPort() != -1) { sampler.setPort(url.getPort()); } else { sampler.setPort(80); } sampler.setProtocol(url.getProtocol()); sampler.setMethod(HTTPSamplerBase.POST); sampler.setPath(url.getPath()); sampler.setSoapAction(soapAction.getText()); sampler.setXmlData(soapXml.getText()); sampler.setXmlFile(soapXmlFile.getFilename()); sampler.setXmlPathLoc(randomXmlFile.getText()); sampler.setMemoryCache(memCache.isSelected()); sampler.setReadResponse(readResponse.isSelected()); sampler.setUseProxy(useProxy.isSelected()); sampler.setProxyHost(proxyHost.getText()); sampler.setProxyPort(proxyPort.getText()); } catch (MalformedURLException e) { } return sampler; }
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/fe4bdf4b8cf45cc95305613be86b9244d6f75915/WebServiceSamplerGui.java/clean/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7766, 1046, 752, 4709, 1046, 1435, 565, 288, 3639, 2999, 1179, 26243, 15349, 273, 394, 2999, 1179, 26243, 5621, 3639, 333, 18, 14895, 4709, 1046, 12, 87, 10463, 1769, 3639, 775, 3639, 288, 5411, 1976, 880, 273, 394, 1976, 12, 718, 974, 18, 588, 1528, 10663, 5411, 15349, 18, 542, 3748, 12, 718, 18, 588, 2594, 10663, 5411, 309, 261, 718, 18, 588, 2617, 1435, 480, 300, 21, 13, 5411, 288, 7734, 15349, 18, 542, 2617, 12, 718, 18, 588, 2617, 10663, 5411, 289, 5411, 469, 5411, 288, 7734, 15349, 18, 542, 2617, 12, 3672, 1769, 5411, 289, 5411, 15349, 18, 542, 5752, 12, 718, 18, 588, 5752, 10663, 5411, 15349, 18, 542, 1305, 12, 18657, 10463, 2171, 18, 3798, 1769, 5411, 15349, 18, 542, 743, 12, 718, 18, 588, 743, 10663, 5411, 15349, 18, 542, 20601, 1803, 12, 19215, 1803, 18, 588, 1528, 10663, 5411, 15349, 18, 542, 4432, 751, 12, 19215, 4432, 18, 588, 1528, 10663, 5411, 15349, 18, 542, 4432, 812, 12, 19215, 4432, 812, 18, 588, 5359, 10663, 5411, 15349, 18, 542, 4432, 743, 1333, 12, 9188, 4432, 812, 18, 588, 1528, 10663, 5411, 15349, 18, 542, 6031, 1649, 12, 3917, 1649, 18, 291, 7416, 10663, 5411, 15349, 18, 542, 1994, 1064, 12, 896, 1064, 18, 291, 7416, 10663, 5411, 15349, 18, 542, 3727, 3886, 12, 1202, 3886, 18, 291, 7416, 10663, 5411, 15349, 18, 542, 3886, 2594, 12, 5656, 2594, 18, 588, 1528, 10663, 5411, 15349, 18, 542, 3886, 2617, 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, 7766, 1046, 752, 4709, 1046, 1435, 565, 288, 3639, 2999, 1179, 26243, 15349, 273, 394, 2999, 1179, 26243, 5621, 3639, 333, 18, 14895, 4709, 1046, 12, 87, 10463, 1769, 3639, 775, 3639, 288, 5411, 1976, 880, 273, 394, 1976, 12, 718, 974, 18, 588, 1528, 10663, 5411, 15349, 18, 542, 3748, 12, 718, 18, 588, 2594, 10663, 5411, 309, 261, 718, 18, 588, 2617, 1435, 480, 300, 21, 13, 5411, 288, 7734, 15349, 18, 542, 2617, 12, 718, 18, 588, 2617, 10663, 5411, 289, 5411, 469, 5411, 288, 7734, 15349, 18, 542, 2617, 12, 3672, 1769, 5411, 289, 5411, 15349, 18, 542, 5752, 12, 718, 18, 588, 5752, 10663, 5411, 15349, 18, 542, 1305, 12, 18657, 10463, 2 ]
_loop125:
_loop127:
public final void predicates() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST predicates_AST = null; { _loop125: do { if ((LA(1)==LPPAREN)) { predicate(); astFactory.addASTChild(currentAST, returnAST); } else { break _loop125; } } while (true); } predicates_AST = (AST)currentAST.root; returnAST = predicates_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/be23536931f66ed6f552941df1c272ed48eeb933/XPathParser2.java/buggy/src/org/exist/parser/XPathParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 16403, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 16403, 67, 9053, 273, 446, 31, 9506, 202, 95, 202, 202, 67, 6498, 18473, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 2534, 12, 21, 13, 631, 14461, 15111, 3719, 288, 9506, 202, 18344, 5621, 9506, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 8820, 389, 6498, 18473, 31, 1082, 202, 97, 6862, 202, 97, 1323, 261, 3767, 1769, 202, 202, 97, 202, 202, 6510, 8242, 67, 9053, 273, 261, 9053, 13, 2972, 9053, 18, 3085, 31, 202, 202, 2463, 9053, 273, 16403, 67, 9053, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 16403, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 16403, 67, 9053, 273, 446, 31, 9506, 202, 95, 202, 202, 67, 6498, 18473, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 2534, 12, 21, 13, 631, 14461, 15111, 3719, 288, 9506, 202, 18344, 5621, 9506, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 8820, 389, 6498, 18473, 31, 1082, 202, 97, 6862, 202, 97, 1323, 261, 3767, 1769, 202, 202, 97, 202, 202, 6510, 8242, 67, 9053, 2 ]
Platform.getPlugin(PlatformUI.PLUGIN_ID).getLog().log(StatusUtil.newStatus(IStatus.ERROR, MessageFormat.format("Exception in {0}.performCopy(): {1}", new Object[] { getClass().getName(), e.getTargetException()}), null)); displayError(WorkbenchMessages.format("CopyFilesAndFoldersOperation.internalError", new Object[] { e.getTargetException().getMessage()}));
Platform.getPlugin(PlatformUI.PLUGIN_ID).getLog().log(StatusUtil.newStatus( IStatus.ERROR, MessageFormat.format( "Exception in {0}.performCopy(): {1}", new Object[] {getClass().getName(), e.getTargetException()}), null)); displayError(WorkbenchMessages.format( "CopyFilesAndFoldersOperation.internalError", new Object[] { e.getTargetException().getMessage()}));
public void copyResources(final IResource[] resources, IContainer destination) { final IPath destinationPath = destination.getFullPath(); String errorMsg = validateDestination(destination, resources); if (errorMsg != null) { displayError(errorMsg); return; } WorkspaceModifyOperation op = new WorkspaceModifyOperation() { public void execute(IProgressMonitor monitor) { // Checks only required if this is an exisiting container path. monitor.beginTask(WorkbenchMessages.getString("CopyFilesAndFoldersOperation.operationTitle"), 100); //$NON-NLS-1$ monitor.worked(10); // show some initial progress boolean copyWithAutoRename = false; IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); if (root.exists(destinationPath)) { IContainer container = (IContainer) root.findMember(destinationPath); // If we're copying to the source container then perform // auto-renames on all resources to avoid name collisions. if (isDestinationSameAsSource(container, resources)) { copyWithAutoRename = true; } else { // If no auto-renaming will be happening, check for // potential name collisions at the target resource if (!validateNoNameCollisions(container, resources, monitor)) { if (canceled) return; displayError(WorkbenchMessages.getString("CopyFilesAndFoldersOperation.nameCollision")); //$NON-NLS-1$ return; } } } errorStatus = null; boolean opSuccess; if (copyWithAutoRename) opSuccess = performCopyWithAutoRename(resources, destinationPath, monitor); else opSuccess = performCopy(resources, destinationPath, monitor); } }; try { new ProgressMonitorDialog(parentShell).run(true, true, op); } catch (InterruptedException e) { return; } catch (InvocationTargetException e) { // CoreExceptions are collected above, but unexpected runtime exceptions and errors may still occur. Platform.getPlugin(PlatformUI.PLUGIN_ID).getLog().log(StatusUtil.newStatus(IStatus.ERROR, MessageFormat.format("Exception in {0}.performCopy(): {1}", new Object[] { getClass().getName(), e.getTargetException()}), //$NON-NLS-1$ null)); displayError(WorkbenchMessages.format("CopyFilesAndFoldersOperation.internalError", new Object[] { e.getTargetException().getMessage()})); //$NON-NLS-1$ } // If errors occurred, open an Error dialog if (errorStatus != null) { ErrorDialog.openError(parentShell, WorkbenchMessages.getString("CopyFilesAndFoldersOperation.copyFailedTitle"), //$NON-NLS-1$ null, // no special message errorStatus); errorStatus = null; } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/55a0765998ffb552f84192bb2b3b6177a5c39ba5/CopyFilesAndFoldersOperation.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1610, 3805, 12, 6385, 467, 1420, 8526, 2703, 16, 467, 2170, 2929, 13, 288, 202, 202, 6385, 467, 743, 30617, 273, 2929, 18, 588, 24173, 5621, 202, 202, 780, 16949, 273, 1954, 5683, 12, 10590, 16, 2703, 1769, 202, 202, 430, 261, 1636, 3332, 480, 446, 13, 288, 1082, 202, 5417, 668, 12, 1636, 3332, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 8241, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 1082, 202, 482, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 6862, 202, 759, 13074, 1338, 1931, 309, 333, 353, 392, 431, 291, 305, 310, 1478, 589, 18, 202, 10259, 18, 10086, 2174, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 2951, 2697, 1876, 14885, 2988, 18, 7624, 4247, 6, 3631, 2130, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 10259, 18, 1252, 329, 12, 2163, 1769, 368, 2405, 2690, 2172, 4007, 9506, 202, 6494, 1610, 1190, 4965, 16019, 273, 629, 31, 9506, 202, 45, 8241, 2375, 1365, 273, 8128, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 9506, 202, 430, 261, 3085, 18, 1808, 12, 10590, 743, 3719, 288, 6862, 202, 45, 2170, 1478, 273, 261, 45, 2170, 13, 1365, 18, 4720, 4419, 12, 10590, 743, 1769, 6862, 202, 759, 971, 732, 4565, 8933, 358, 326, 1084, 1478, 1508, 3073, 6862, 202, 759, 3656, 17, 1187, 753, 603, 777, 2703, 358, 4543, 508, 27953, 18, 6862, 202, 430, 261, 291, 5683, 8650, 1463, 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, 1610, 3805, 12, 6385, 467, 1420, 8526, 2703, 16, 467, 2170, 2929, 13, 288, 202, 202, 6385, 467, 743, 30617, 273, 2929, 18, 588, 24173, 5621, 202, 202, 780, 16949, 273, 1954, 5683, 12, 10590, 16, 2703, 1769, 202, 202, 430, 261, 1636, 3332, 480, 446, 13, 288, 1082, 202, 5417, 668, 12, 1636, 3332, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 8241, 11047, 2988, 1061, 273, 394, 14396, 11047, 2988, 1435, 288, 1082, 202, 482, 918, 1836, 12, 45, 5491, 7187, 6438, 13, 288, 6862, 202, 759, 13074, 1338, 1931, 309, 333, 353, 392, 431, 291, 305, 310, 1478, 589, 18, 202, 10259, 18, 10086, 2174, 12, 2421, 22144, 5058, 18, 2 ]
assertEquals(expected.toString(), task.processTemplate(template).toString());
PrecomputeTask.QueryAndIndexes qai = task.processTemplate(template); System.out.println("generate: " + qai.getQuery()); assertEquals(expected.toString(), qai.toString()); ObjectStore os = ObjectStoreFactory.getObjectStore("os.unittest"); System.out.println("generate: " + qai.getQuery()); task.precompute(os, qai.getQuery(), qai.getIndexes());
public void testPrecomputeTemplate() throws Exception { PrecomputeTask task = new PrecomputeTask(); Map templates = task.getPrecomputeTemplateQueries(); TemplateQuery template = (TemplateQuery) templates.get("employeesOverACertainAgeFromDepartmentA"); System.out.println(MainHelper.makeQuery(template.getQuery(), new HashMap(), new HashMap())); Query q = new Query(); q.setDistinct(true); ConstraintSet cs = new ConstraintSet(ConstraintOp.AND); QueryClass qcEmp = new QueryClass(Employee.class); QueryField qfAge = new QueryField(qcEmp, "age"); q.addFrom(qcEmp); QueryClass qcDept = new QueryClass(Department.class); q.addFrom(qcDept); QueryObjectReference deptRef = new QueryObjectReference(qcEmp, "department"); ContainsConstraint cc = new ContainsConstraint(deptRef, ConstraintOp.CONTAINS, qcDept); cs.addConstraint(cc); QueryField qfName = new QueryField(qcDept, "name"); SimpleConstraint sc = new SimpleConstraint(qfName, ConstraintOp.EQUALS, new QueryValue("DepartmentA")); cs.addConstraint(sc); q.addToSelect(qcEmp); q.addToSelect(qfAge); q.setConstraint(cs); PrecomputeTask.QueryAndIndexes expected = task.new QueryAndIndexes(); expected.setQuery(q); expected.addIndex(qfAge); assertEquals(expected.toString(), task.processTemplate(template).toString()); }
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/cc1ad4c5c29dfa2394420102dc32b218b1073e41/PrecomputeTaskTest.java/clean/intermine/src/test/org/intermine/task/PrecomputeTaskTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1386, 9200, 2283, 1435, 1216, 1185, 288, 3639, 2962, 9200, 2174, 1562, 273, 394, 2962, 9200, 2174, 5621, 3639, 1635, 5539, 273, 1562, 18, 588, 1386, 9200, 2283, 9592, 5621, 3639, 5035, 1138, 1542, 273, 261, 2283, 1138, 13, 5539, 18, 588, 2932, 351, 2817, 25521, 4851, 2226, 1051, 530, 9692, 1265, 30358, 37, 8863, 3639, 2332, 18, 659, 18, 8222, 12, 6376, 2276, 18, 6540, 1138, 12, 3202, 18, 588, 1138, 9334, 394, 4317, 9334, 394, 4317, 1435, 10019, 3639, 2770, 1043, 273, 394, 2770, 5621, 3639, 1043, 18, 542, 23402, 12, 3767, 1769, 3639, 10770, 694, 2873, 273, 394, 10770, 694, 12, 5806, 3817, 18, 4307, 1769, 3639, 2770, 797, 29032, 41, 1291, 273, 394, 2770, 797, 12, 41, 27520, 18, 1106, 1769, 3639, 2770, 974, 1043, 74, 9692, 273, 394, 2770, 974, 12, 30675, 41, 1291, 16, 315, 410, 8863, 3639, 1043, 18, 1289, 1265, 12, 30675, 41, 1291, 1769, 3639, 2770, 797, 29032, 758, 337, 273, 394, 2770, 797, 12, 30358, 18, 1106, 1769, 3639, 1043, 18, 1289, 1265, 12, 30675, 758, 337, 1769, 3639, 2770, 22101, 443, 337, 1957, 273, 394, 2770, 22101, 12, 30675, 41, 1291, 16, 315, 323, 15750, 8863, 3639, 8398, 5806, 4946, 273, 394, 8398, 5806, 12, 323, 337, 1957, 16, 10770, 3817, 18, 6067, 25838, 16, 29032, 758, 337, 1769, 3639, 2873, 18, 1289, 5806, 12, 952, 1769, 3639, 2770, 974, 1043, 74, 461, 273, 394, 2770, 974, 12, 30675, 758, 337, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1386, 9200, 2283, 1435, 1216, 1185, 288, 3639, 2962, 9200, 2174, 1562, 273, 394, 2962, 9200, 2174, 5621, 3639, 1635, 5539, 273, 1562, 18, 588, 1386, 9200, 2283, 9592, 5621, 3639, 5035, 1138, 1542, 273, 261, 2283, 1138, 13, 5539, 18, 588, 2932, 351, 2817, 25521, 4851, 2226, 1051, 530, 9692, 1265, 30358, 37, 8863, 3639, 2332, 18, 659, 18, 8222, 12, 6376, 2276, 18, 6540, 1138, 12, 3202, 18, 588, 1138, 9334, 394, 4317, 9334, 394, 4317, 1435, 10019, 3639, 2770, 1043, 273, 394, 2770, 5621, 3639, 1043, 18, 542, 23402, 12, 3767, 1769, 3639, 10770, 694, 2873, 273, 394, 10770, 694, 12, 5806, 3817, 18, 4307, 1769, 3639, 2770, 797, 29032, 41, 1291, 2 ]
public ISubtaskSheet getSheet();
public ISubtaskSheet getSheet( );
public ISubtaskSheet getSheet();
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/eef9946fb80818064375125db752512ee55f2f3f/IRegisteredSubtaskEntry.java/buggy/chart/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/swt/interfaces/IRegisteredSubtaskEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 1676, 4146, 8229, 30035, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1676, 4146, 8229, 30035, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (usingVBO) GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, 0);
if (usingVBO) GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, 0);
private void predrawMesh(TriMesh t) { // set world matrix Quaternion rotation = t.getWorldRotation(); Vector3f translation = t.getWorldTranslation(); Vector3f scale = t.getWorldScale(); float rot = rotation.toAngleAxis(vRot); GL11.glMatrixMode(GL11.GL_MODELVIEW); GL11.glPushMatrix(); GL11.glTranslatef(translation.x, translation.y, translation.z); GL11.glRotatef(rot, vRot.x, vRot.y, vRot.z); GL11.glScalef(scale.x, scale.y, scale.z); if (!(scale.x == 1 && scale.y == 1 && scale.z == 1)) GL11.glEnable(GL11.GL_NORMALIZE); // since we are using // glScalef, we should enable // this to keep normals // working. prepVBO(t); // render the object FloatBuffer verticies = t.getVerticeAsFloatBuffer(); if (prevVerts != verticies) { GL11.glEnableClientState(GL11.GL_VERTEX_ARRAY); if (t.isVBOVertexEnabled() && GLContext.getCapabilities().OpenGL15) { usingVBO = true; GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, t.getVBOVertexID()); GL11.glVertexPointer(3, GL11.GL_FLOAT, 0, 0); } else { if (usingVBO) GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, 0); GL11.glVertexPointer(3, 0, t.getVerticeAsFloatBuffer()); } } prevVerts = verticies; FloatBuffer normals = t.getNormalAsFloatBuffer(); if (prevNorms != normals) { if (normals != null || t.getVBONormalID() > 0) { GL11.glEnableClientState(GL11.GL_NORMAL_ARRAY); if (t.isVBONormalEnabled() && GLContext.getCapabilities().OpenGL15) { usingVBO = true; GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, t.getVBONormalID()); GL11.glNormalPointer(GL11.GL_FLOAT, 0, 0); } else { if (usingVBO) GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, 0); GL11.glNormalPointer(0, normals); } } else { GL11.glDisableClientState(GL11.GL_NORMAL_ARRAY); } } prevNorms = normals; FloatBuffer colors = t.getColorAsFloatBuffer(); if (colors == null || prevColor != colors) { if (colors != null || t.getVBOColorID() > 0) { GL11.glEnableClientState(GL11.GL_COLOR_ARRAY); if (t.isVBOColorEnabled() && GLContext.getCapabilities().OpenGL15) { usingVBO = true; GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, t.getVBOColorID()); GL11.glColorPointer(4, GL11.GL_FLOAT, 0, 0); } else { if (usingVBO) GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, 0); GL11.glColorPointer(4, 0, colors); } prevColor = colors; } else { GL11.glDisableClientState(GL11.GL_COLOR_ARRAY); } } for (int i = 0; i < t.getNumberOfUnits(); i++) { FloatBuffer textures = t.getTextureAsFloatBuffer(i); if (prevTex[i] != textures && textures != null) { if (GLContext.getCapabilities().GL_ARB_multitexture && GLContext.getCapabilities().OpenGL13) { GL13.glClientActiveTexture(GL13.GL_TEXTURE0 + i); } if (textures != null || t.getVBOTextureID(i) > 0) { GL11.glEnableClientState(GL11.GL_TEXTURE_COORD_ARRAY); if (t.isVBOTextureEnabled() && GLContext.getCapabilities().OpenGL15) { usingVBO = true; GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, t .getVBOTextureID(i)); GL11.glTexCoordPointer(2, GL11.GL_FLOAT, 0, 0); } else { if (usingVBO) GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, 0); GL11.glTexCoordPointer(2, 0, textures); } } else { GL11.glDisableClientState(GL11.GL_TEXTURE_COORD_ARRAY); } } prevTex[i] = textures; } }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/6aaba14bb39fd6af9aea6f599180d9ac7dbd923d/LWJGLRenderer.java/clean/src/com/jme/renderer/lwjgl/LWJGLRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3479, 1899, 16748, 12, 6251, 16748, 268, 13, 288, 3639, 368, 444, 9117, 3148, 3639, 4783, 17848, 6752, 273, 268, 18, 588, 18071, 14032, 5621, 3639, 5589, 23, 74, 4794, 273, 268, 18, 588, 18071, 6717, 5621, 3639, 5589, 23, 74, 3159, 273, 268, 18, 588, 18071, 5587, 5621, 3639, 1431, 4168, 273, 6752, 18, 869, 8467, 6558, 12, 90, 8570, 1769, 3639, 10252, 2499, 18, 7043, 4635, 2309, 12, 11261, 2499, 18, 11261, 67, 17391, 12145, 1769, 3639, 10252, 2499, 18, 7043, 7621, 4635, 5621, 3639, 10252, 2499, 18, 7043, 12818, 74, 12, 10173, 18, 92, 16, 4794, 18, 93, 16, 4794, 18, 94, 1769, 3639, 10252, 2499, 18, 7043, 16357, 74, 12, 8342, 16, 331, 8570, 18, 92, 16, 331, 8570, 18, 93, 16, 331, 8570, 18, 94, 1769, 3639, 10252, 2499, 18, 7043, 5587, 74, 12, 5864, 18, 92, 16, 3159, 18, 93, 16, 3159, 18, 94, 1769, 3639, 309, 16051, 12, 5864, 18, 92, 422, 404, 597, 3159, 18, 93, 422, 404, 597, 3159, 18, 94, 422, 404, 3719, 7734, 10252, 2499, 18, 7043, 8317, 12, 11261, 2499, 18, 11261, 67, 15480, 15641, 1769, 368, 3241, 732, 854, 1450, 3639, 368, 5118, 5587, 74, 16, 732, 1410, 4237, 3639, 368, 333, 358, 3455, 19487, 3639, 368, 5960, 18, 3639, 13237, 58, 5315, 12, 88, 1769, 3639, 368, 1743, 326, 733, 3639, 5450, 1892, 3173, 335, 606, 273, 268, 18, 588, 4828, 1812, 1463, 4723, 1892, 5621, 3639, 309, 261, 10001, 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, 3479, 1899, 16748, 12, 6251, 16748, 268, 13, 288, 3639, 368, 444, 9117, 3148, 3639, 4783, 17848, 6752, 273, 268, 18, 588, 18071, 14032, 5621, 3639, 5589, 23, 74, 4794, 273, 268, 18, 588, 18071, 6717, 5621, 3639, 5589, 23, 74, 3159, 273, 268, 18, 588, 18071, 5587, 5621, 3639, 1431, 4168, 273, 6752, 18, 869, 8467, 6558, 12, 90, 8570, 1769, 3639, 10252, 2499, 18, 7043, 4635, 2309, 12, 11261, 2499, 18, 11261, 67, 17391, 12145, 1769, 3639, 10252, 2499, 18, 7043, 7621, 4635, 5621, 3639, 10252, 2499, 18, 7043, 12818, 74, 12, 10173, 18, 92, 16, 4794, 18, 93, 16, 4794, 18, 94, 1769, 3639, 10252, 2499, 18, 7043, 16357, 74, 12, 8342, 16, 2 ]
setSeriesParameterName((String)newValue);
setSeriesParameterName((String) newValue);
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case AttributePackage.URL_VALUE__BASE_URL: setBaseUrl((String)newValue); return; case AttributePackage.URL_VALUE__TARGET: setTarget((String)newValue); return; case AttributePackage.URL_VALUE__BASE_PARAMETER_NAME: setBaseParameterName((String)newValue); return; case AttributePackage.URL_VALUE__VALUE_PARAMETER_NAME: setValueParameterName((String)newValue); return; case AttributePackage.URL_VALUE__SERIES_PARAMETER_NAME: setSeriesParameterName((String)newValue); return; } eDynamicSet(eFeature, newValue); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/URLValueImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/URLValueImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 8369, 67, 1785, 30, 7734, 444, 14074, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 16374, 30, 7734, 18367, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 8369, 67, 9819, 67, 1985, 30, 7734, 26435, 24586, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 4051, 67, 9819, 67, 1985, 30, 7734, 5524, 24586, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 2123, 8805, 67, 9819, 67, 1985, 30, 7734, 444, 6485, 24586, 12443, 780, 13, 6129, 1769, 7734, 327, 31, 3639, 289, 3639, 425, 9791, 694, 12, 73, 4595, 16, 6129, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 8369, 67, 1785, 30, 7734, 444, 14074, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 16374, 30, 7734, 18367, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 8369, 67, 9819, 67, 1985, 30, 7734, 26435, 24586, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 1785, 67, 4051, 972, 4051, 67, 9819, 67, 1985, 30, 2 ]
public void actionNew() throws JspException { // get the collector used to create the new content int pos = m_paramNewLink.indexOf('|'); String collectorName = m_paramNewLink.substring(0, pos); String param = m_paramNewLink.substring(pos + 1); // get the collector used for calculating the next file name I_CmsResourceCollector collector = OpenCms.getResourceManager().getContentCollector(collectorName); try { // one resource serves as a "template" for the new resource CmsFile templateFile = getCms().readFile(getParamResource(), CmsResourceFilter.IGNORE_EXPIRATION); CmsXmlContent template = CmsXmlContentFactory.unmarshal(getCms(), templateFile); Locale locale = (Locale)OpenCms.getLocaleManager().getDefaultLocales(getCms(), getParamResource()).get(0); // now create a new XML content based on the templates content definition CmsXmlContent newContent = CmsXmlContentFactory.createDocument( getCms(), locale, template.getEncoding(), template.getContentDefinition()); // IMPORTANT: calculation of the name MUST be done here so the file name is ensured to be valid String newFileName = collector.getCreateLink(getCms(), collectorName, param); // now create the resource, fill it with the marshalled XML and write it back to the VFS getCms().createResource(newFileName, templateFile.getTypeId()); // re-read the created resource CmsFile newFile = getCms().readFile(newFileName, CmsResourceFilter.ALL); newFile.setContents(newContent.marshal()); // write the file with the updated content getCms().writeFile(newFile); // wipe out parameters for the editor to ensure proper operation setParamNewLink(null); setParamAction(null); setParamResource(newFileName); setAction(ACTION_DEFAULT); // create the temporary file to work with setParamTempfile(createTempFile()); // set the member variables for the content m_file = newFile; m_content = newContent; } catch (CmsException e) { if (LOG.isErrorEnabled()) { LOG.error(Messages.get().key(Messages.LOG_CREATE_XML_CONTENT_ITEM_1, m_paramNewLink) , e); } throw new JspException(e); } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/2fa0efcae8f9aa5971c7763269a3b033e9256d4b/CmsXmlContentEditor.java/buggy/src/org/opencms/workplace/editors/CmsXmlContentEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1301, 1908, 1435, 1216, 27485, 288, 7734, 368, 336, 326, 8543, 1399, 358, 752, 326, 394, 913, 3639, 509, 949, 273, 312, 67, 891, 1908, 2098, 18, 31806, 2668, 96, 8284, 3639, 514, 8543, 461, 273, 312, 67, 891, 1908, 2098, 18, 28023, 12, 20, 16, 949, 1769, 3639, 514, 579, 273, 312, 67, 891, 1908, 2098, 18, 28023, 12, 917, 397, 404, 1769, 7734, 368, 336, 326, 8543, 1399, 364, 21046, 326, 1024, 585, 508, 3639, 467, 67, 4747, 1420, 7134, 8543, 273, 10319, 18, 588, 1420, 1318, 7675, 588, 1350, 7134, 12, 21356, 461, 1769, 10792, 775, 288, 13491, 368, 1245, 1058, 26255, 487, 279, 315, 3202, 6, 364, 326, 394, 1058, 5411, 28118, 28215, 273, 14413, 7675, 896, 812, 12, 588, 786, 1420, 9334, 21082, 18, 20118, 67, 18433, 24284, 1769, 5411, 25169, 1542, 273, 25169, 1733, 18, 318, 3108, 12, 588, 4747, 9334, 28215, 1769, 5411, 6458, 2573, 273, 261, 3916, 13, 3678, 4747, 18, 588, 3916, 1318, 7675, 588, 1868, 13310, 12, 588, 4747, 9334, 9027, 1420, 1435, 2934, 588, 12, 20, 1769, 5411, 368, 2037, 752, 279, 394, 3167, 913, 2511, 603, 326, 5539, 913, 2379, 13491, 25169, 24358, 273, 25169, 1733, 18, 2640, 2519, 12, 7734, 14413, 9334, 7734, 2573, 16, 7734, 1542, 18, 588, 4705, 9334, 7734, 1542, 18, 588, 1350, 1852, 10663, 5411, 368, 21840, 6856, 30, 11096, 434, 326, 508, 10685, 506, 2731, 2674, 1427, 326, 585, 508, 353, 3387, 72, 358, 506, 923, 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, 1301, 1908, 1435, 1216, 27485, 288, 7734, 368, 336, 326, 8543, 1399, 358, 752, 326, 394, 913, 3639, 509, 949, 273, 312, 67, 891, 1908, 2098, 18, 31806, 2668, 96, 8284, 3639, 514, 8543, 461, 273, 312, 67, 891, 1908, 2098, 18, 28023, 12, 20, 16, 949, 1769, 3639, 514, 579, 273, 312, 67, 891, 1908, 2098, 18, 28023, 12, 917, 397, 404, 1769, 7734, 368, 336, 326, 8543, 1399, 364, 21046, 326, 1024, 585, 508, 3639, 467, 67, 4747, 1420, 7134, 8543, 273, 10319, 18, 588, 1420, 1318, 7675, 588, 1350, 7134, 12, 21356, 461, 1769, 10792, 775, 288, 13491, 368, 1245, 1058, 26255, 487, 279, 315, 3202, 6, 364, 326, 394, 1058, 5411, 28118, 2 ]
this.resource = resource;
if (resource instanceof IFile) this.resource = (IFile) resource;
public UpdateDependency(IResource resource, SourceIndexer indexer) { this.resource = resource; this.indexer = indexer; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/672f24a4d40805eb7cc76cc4b55bf5faec21973d/UpdateDependency.java/buggy/core/org.eclipse.cdt.core/dependency/org/eclipse/cdt/internal/core/sourcedependency/UpdateDependency.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2315, 7787, 12, 45, 1420, 1058, 16, 4998, 20877, 12635, 13, 288, 202, 202, 2211, 18, 3146, 273, 1058, 31, 202, 202, 2211, 18, 24541, 273, 12635, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2315, 7787, 12, 45, 1420, 1058, 16, 4998, 20877, 12635, 13, 288, 202, 202, 2211, 18, 3146, 273, 1058, 31, 202, 202, 2211, 18, 24541, 273, 12635, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.DatedDate getDatedDate() throws FieldNotFound { org.quickfix.field.DatedDate value = new org.quickfix.field.DatedDate();
public quickfix.field.DatedDate getDatedDate() throws FieldNotFound { quickfix.field.DatedDate value = new quickfix.field.DatedDate();
public org.quickfix.field.DatedDate getDatedDate() throws FieldNotFound { org.quickfix.field.DatedDate value = new org.quickfix.field.DatedDate(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralResponse.java/clean/src/java/src/quickfix/fix44/CollateralResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 40, 690, 1626, 2343, 690, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 40, 690, 1626, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 40, 690, 1626, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 40, 690, 1626, 2343, 690, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 40, 690, 1626, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 40, 690, 1626, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new BuildException("Couldn't execute " + request );
throw new BuildException("Couldn't execute " + request);
private void sendRequest(String request) { boolean requestFailed = false; try { log("Request: " + request, MSG_DEBUG); //must be HTTP connection URL requestUrl = new URL( request ); HttpURLConnection connection = (HttpURLConnection) requestUrl.openConnection(); InputStream is = null; // retry three times for (int i = 0; i < 3; i++) { try { is = connection.getInputStream(); break; } catch (IOException ex) { } } if (is == null) { log("Can't get " + request, MSG_ERR); throw new BuildException("Couldn't execute " + request ); } // log the response BufferedReader br = new BufferedReader( new InputStreamReader( is ) ); String line = br.readLine(); while ( line != null ) { int level = MSG_ERR; try { // the first char of each line contains the log level level = Integer.parseInt( line.substring(0,1) ); if ( level == MSG_ERR ) { requestFailed = true; } } catch ( Exception e ) { log( "Response line doesn't contain log level!", MSG_ERR ); } log( line.substring(2), level ); line = br.readLine(); } } catch (IOException ex) { log("Error sending tool request to VAJ" + ex, MSG_ERR); throw new BuildException("Couldn't execute " + request ); } if ( requestFailed ) { throw new BuildException( "VAJ tool request failed" ); } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/VAJRemoteUtil.java/clean/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJRemoteUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 12413, 12, 780, 590, 13, 288, 3639, 1250, 590, 2925, 273, 629, 31, 3639, 775, 288, 5411, 613, 2932, 691, 30, 315, 397, 590, 16, 13771, 67, 9394, 1769, 5411, 368, 11926, 506, 2239, 1459, 5411, 1976, 21584, 273, 394, 1976, 12, 590, 11272, 5411, 19084, 1459, 273, 7734, 261, 2940, 14790, 13, 21584, 18, 3190, 1952, 5621, 5411, 5037, 353, 273, 446, 31, 5411, 368, 3300, 8925, 4124, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 890, 31, 277, 27245, 288, 7734, 775, 288, 10792, 353, 273, 1459, 18, 588, 4348, 5621, 10792, 898, 31, 7734, 289, 1044, 261, 14106, 431, 13, 288, 7734, 289, 5411, 289, 5411, 309, 261, 291, 422, 446, 13, 288, 7734, 613, 2932, 2568, 1404, 336, 315, 397, 590, 16, 13771, 67, 9712, 1769, 7734, 604, 394, 18463, 2932, 16342, 1404, 1836, 315, 397, 590, 1769, 5411, 289, 5411, 368, 613, 326, 766, 5411, 10633, 5186, 273, 394, 10633, 12, 394, 15322, 12, 353, 262, 11272, 5411, 514, 980, 273, 5186, 18, 896, 1670, 5621, 5411, 1323, 261, 980, 480, 446, 262, 288, 7734, 509, 1801, 273, 13771, 67, 9712, 31, 7734, 775, 288, 10792, 368, 326, 1122, 1149, 434, 1517, 980, 1914, 326, 613, 1801, 10792, 1801, 273, 2144, 18, 2670, 1702, 12, 980, 18, 28023, 12, 20, 16, 21, 13, 11272, 10792, 309, 261, 1801, 422, 13771, 67, 9712, 262, 288, 13491, 590, 2925, 273, 638, 31, 10792, 289, 7734, 289, 1044, 261, 1185, 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, 12413, 12, 780, 590, 13, 288, 3639, 1250, 590, 2925, 273, 629, 31, 3639, 775, 288, 5411, 613, 2932, 691, 30, 315, 397, 590, 16, 13771, 67, 9394, 1769, 5411, 368, 11926, 506, 2239, 1459, 5411, 1976, 21584, 273, 394, 1976, 12, 590, 11272, 5411, 19084, 1459, 273, 7734, 261, 2940, 14790, 13, 21584, 18, 3190, 1952, 5621, 5411, 5037, 353, 273, 446, 31, 5411, 368, 3300, 8925, 4124, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 890, 31, 277, 27245, 288, 7734, 775, 288, 10792, 353, 273, 1459, 18, 588, 4348, 5621, 10792, 898, 31, 7734, 289, 1044, 261, 14106, 431, 13, 288, 7734, 289, 5411, 289, 5411, 309, 261, 291, 422, 446, 2 ]
ListConsistencyListener counter = ListConsistencyListener.install(thresholdList);
ListConsistencyListener.install(thresholdList);
public void testDecreasingSlidingWindow() { // count events ListConsistencyListener counter = ListConsistencyListener.install(thresholdList); thresholdList.setUpperThreshold(20063); thresholdList.setLowerThreshold(7063); source.add(new Integer(7000)); thresholdList.setUpperThreshold(6000); thresholdList.setLowerThreshold(0); }
10062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10062/2fd9445b9adf59900b5fcd613fe3ea2879a95450/ThresholdListTest.java/clean/test/ca/odell/glazedlists/ThresholdListTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 23326, 11730, 3738, 10415, 3829, 1435, 288, 3639, 368, 1056, 2641, 3639, 987, 22124, 2223, 18, 5425, 12, 8699, 682, 1769, 3639, 5573, 682, 18, 542, 5988, 7614, 12, 6976, 4449, 1769, 3639, 5573, 682, 18, 542, 4070, 7614, 12, 7301, 4449, 1769, 3639, 1084, 18, 1289, 12, 2704, 2144, 12, 27, 3784, 10019, 3639, 5573, 682, 18, 542, 5988, 7614, 12, 26, 3784, 1769, 3639, 5573, 682, 18, 542, 4070, 7614, 12, 20, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 23326, 11730, 3738, 10415, 3829, 1435, 288, 3639, 368, 1056, 2641, 3639, 987, 22124, 2223, 18, 5425, 12, 8699, 682, 1769, 3639, 5573, 682, 18, 542, 5988, 7614, 12, 6976, 4449, 1769, 3639, 5573, 682, 18, 542, 4070, 7614, 12, 7301, 4449, 1769, 3639, 1084, 18, 1289, 12, 2704, 2144, 12, 27, 3784, 10019, 3639, 5573, 682, 18, 542, 5988, 7614, 12, 26, 3784, 1769, 3639, 5573, 682, 18, 542, 4070, 7614, 12, 20, 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 ]
writeShort (sum); write(buf, 0, sum);
if (! lengthWritten) { if (i == len) writeShort(pos); else writeShort(getUTFlength(value, i, pos)); lengthWritten = true; } write(buf, 0, pos); pos = 0; } while (i < len);
public final synchronized void writeUTF(String value) throws IOException { int len = value.length(); int sum = 0; for (int i = 0; i < len && sum <= 65535; ++i) { char c = value.charAt(i); if (c >= '\u0001' && c <= '\u007f') sum += 1; else if (c == '\u0000' || (c >= '\u0080' && c <= '\u07ff')) sum += 2; else sum += 3; } if (sum > 65535) throw new UTFDataFormatException (); int pos = 0; byte[] buf = new byte[sum]; for (int i = 0; i < len; ++i) { char c = value.charAt(i); if (c >= '\u0001' && c <= '\u007f') buf[pos++] = (byte) c; else if (c == '\u0000' || (c >= '\u0080' && c <= '\u07ff')) { buf[pos++] = (byte) (0xc0 | (0x1f & (c >> 6))); buf[pos++] = (byte) (0x80 | (0x3f & c)); } else { // JSL says the first byte should be or'd with 0xc0, but // that is a typo. Unicode says 0xe0, and that is what is // consistent with DataInputStream. buf[pos++] = (byte) (0xe0 | (0x0f & (c >> 12))); buf[pos++] = (byte) (0x80 | (0x3f & (c >> 6))); buf[pos++] = (byte) (0x80 | (0x3f & c)); } } writeShort (sum); write(buf, 0, sum); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b10fa909426425230c585bcb0b5cdbe927382d3b/DataOutputStream.java/buggy/core/src/classpath/5.0/java/io/DataOutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 3852, 918, 1045, 5159, 12, 780, 460, 13, 1216, 1860, 225, 288, 565, 509, 562, 273, 460, 18, 2469, 5621, 565, 509, 2142, 273, 374, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 597, 2142, 1648, 10147, 31, 965, 77, 13, 1377, 288, 202, 3001, 276, 273, 460, 18, 3001, 861, 12, 77, 1769, 202, 430, 261, 71, 1545, 2337, 89, 13304, 11, 597, 276, 1648, 2337, 89, 713, 27, 74, 6134, 202, 225, 2142, 1011, 404, 31, 202, 12107, 309, 261, 71, 422, 2337, 89, 2787, 11, 747, 261, 71, 1545, 2337, 89, 713, 3672, 11, 597, 276, 1648, 2337, 89, 8642, 1403, 26112, 202, 225, 2142, 1011, 576, 31, 202, 12107, 202, 225, 2142, 1011, 890, 31, 1377, 289, 565, 309, 261, 1364, 405, 10147, 13, 1377, 604, 394, 6380, 751, 9291, 261, 1769, 565, 509, 949, 273, 374, 31, 565, 1160, 8526, 1681, 273, 394, 1160, 63, 1364, 15533, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 31, 965, 77, 13, 1377, 288, 202, 3001, 276, 273, 460, 18, 3001, 861, 12, 77, 1769, 202, 430, 261, 71, 1545, 2337, 89, 13304, 11, 597, 276, 1648, 2337, 89, 713, 27, 74, 6134, 1850, 1681, 63, 917, 9904, 65, 273, 261, 7229, 13, 276, 31, 202, 12107, 309, 261, 71, 422, 2337, 89, 2787, 11, 747, 261, 71, 1545, 2337, 89, 713, 3672, 11, 597, 276, 1648, 2337, 89, 8642, 1403, 26112, 202, 225, 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, 282, 1071, 727, 3852, 918, 1045, 5159, 12, 780, 460, 13, 1216, 1860, 225, 288, 565, 509, 562, 273, 460, 18, 2469, 5621, 565, 509, 2142, 273, 374, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 597, 2142, 1648, 10147, 31, 965, 77, 13, 1377, 288, 202, 3001, 276, 273, 460, 18, 3001, 861, 12, 77, 1769, 202, 430, 261, 71, 1545, 2337, 89, 13304, 11, 597, 276, 1648, 2337, 89, 713, 27, 74, 6134, 202, 225, 2142, 1011, 404, 31, 202, 12107, 309, 261, 71, 422, 2337, 89, 2787, 11, 747, 261, 71, 1545, 2337, 89, 713, 3672, 11, 597, 276, 1648, 2337, 89, 8642, 1403, 26112, 202, 225, 2142, 1011, 576, 31, 202, 2 ]
removeExpiredRestarts(); synchronized (restartsInProcess) { if ((!restartQueue.isEmpty()) && (restartsInProcess.size() <= MAX_CONCURRENT_RESTARTS)) { logger.debug("RestartNext: " + " RestartQueue=" + restartQueue.size() + " restartsInProcess=" + restartsInProcess.size()); MessageAddress agentToRestart = SimpleMessageAddress.getSimpleMessageAddress((String) restartQueue.remove(0)); Long restartExpiration = new Long(now() + RESTART_TIMEOUT); restartsInProcess.put(agentToRestart, restartExpiration); try { Object ticketId = mobilityFactory.createTicketIdentifier(); AddTicket addTicket = new AddTicket(ticketId, agentToRestart, agentId); UID acUID = uidService.nextUID(); myUIDs.add(acUID); AgentControl ac = mobilityFactory.createAgentControl(acUID, agentId, addTicket); restartInitiated(agentToRestart, agentId); blackboard.publishAdd(ac); if (logger.isInfoEnabled()) { StringBuffer sb = new StringBuffer("Publishing AgentControl:" + " myUid=" + myUIDs.contains(ac.getOwnerUID()) + " status=" + ac.getStatusCodeAsString()); if (ac.getAbstractTicket()instanceof AddTicket) { AddTicket at = (AddTicket)ac.getAbstractTicket(); sb.append(" agent=" + at.getMobileAgent() + " destNode=" + at.getDestinationNode()); } logger.debug(sb.toString());
if ((!restartQueue.isEmpty()) && (restartsInProcess.size() <= MAX_CONCURRENT_RESTARTS)) { logger.debug("RestartNext: " + " RestartQueue=" + restartQueue.size() + " restartsInProcess=" + restartsInProcess.size()); MessageAddress agentToRestart = SimpleMessageAddress.getSimpleMessageAddress((String) restartQueue.remove(0)); Long restartExpiration = new Long(now() + RESTART_TIMEOUT); restartsInProcess.put(agentToRestart, restartExpiration); try { Object ticketId = mobilityFactory.createTicketIdentifier(); AddTicket addTicket = new AddTicket(ticketId, agentToRestart, agentId); UID acUID = uidService.nextUID(); myUIDs.add(acUID); AgentControl ac = mobilityFactory.createAgentControl(acUID, agentId, addTicket); restartInitiated(agentToRestart, agentId); blackboard.publishAdd(ac); if (logger.isInfoEnabled()) { StringBuffer sb = new StringBuffer("Publishing AgentControl:" + " myUid=" + myUIDs.contains(ac.getOwnerUID()) + " status=" + ac.getStatusCodeAsString()); if (ac.getAbstractTicket()instanceof AddTicket) { AddTicket at = (AddTicket)ac.getAbstractTicket(); sb.append(" agent=" + at.getMobileAgent() + " destNode=" + at.getDestinationNode());
private void restartNext() { removeExpiredRestarts(); synchronized (restartsInProcess) { if ((!restartQueue.isEmpty()) && (restartsInProcess.size() <= MAX_CONCURRENT_RESTARTS)) { logger.debug("RestartNext: " + " RestartQueue=" + restartQueue.size() + " restartsInProcess=" + restartsInProcess.size()); MessageAddress agentToRestart = SimpleMessageAddress.getSimpleMessageAddress((String) restartQueue.remove(0)); Long restartExpiration = new Long(now() + RESTART_TIMEOUT); restartsInProcess.put(agentToRestart, restartExpiration); try { Object ticketId = mobilityFactory.createTicketIdentifier(); AddTicket addTicket = new AddTicket(ticketId, agentToRestart, agentId); UID acUID = uidService.nextUID(); myUIDs.add(acUID); AgentControl ac = mobilityFactory.createAgentControl(acUID, agentId, addTicket); restartInitiated(agentToRestart, agentId); //event("Restarting agent: agent=" + agentToRestart + " dest=" + agentId); blackboard.publishAdd(ac); if (logger.isInfoEnabled()) { StringBuffer sb = new StringBuffer("Publishing AgentControl:" + " myUid=" + myUIDs.contains(ac.getOwnerUID()) + " status=" + ac.getStatusCodeAsString()); if (ac.getAbstractTicket()instanceof AddTicket) { AddTicket at = (AddTicket)ac.getAbstractTicket(); sb.append(" agent=" + at.getMobileAgent() + " destNode=" + at.getDestinationNode()); } logger.debug(sb.toString()); } } catch (Exception ex) { logger.error("Exception in agent restart", ex); } } } }
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/f2638d4ecbc4f7946f0e56ae5fff6a9d072a7c75/RestartHelper.java/buggy/mgmt_agent/src/org/cougaar/tools/robustness/ma/util/RestartHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 7870, 2134, 1435, 288, 565, 1206, 10556, 15057, 87, 5621, 565, 3852, 261, 266, 17514, 382, 2227, 13, 288, 1377, 309, 14015, 5, 19164, 3183, 18, 291, 1921, 10756, 597, 1850, 261, 266, 17514, 382, 2227, 18, 1467, 1435, 1648, 4552, 67, 2248, 15487, 67, 862, 7570, 55, 3719, 288, 3639, 1194, 18, 4148, 2932, 15057, 2134, 30, 315, 397, 5397, 315, 20709, 3183, 1546, 397, 7870, 3183, 18, 1467, 1435, 397, 5397, 315, 7870, 87, 382, 2227, 1546, 397, 7870, 87, 382, 2227, 18, 1467, 10663, 3639, 2350, 1887, 4040, 774, 15057, 273, 5411, 4477, 1079, 1887, 18, 588, 5784, 1079, 1887, 12443, 780, 13, 5411, 7870, 3183, 18, 4479, 12, 20, 10019, 3639, 3407, 7870, 12028, 273, 394, 3407, 12, 3338, 1435, 397, 2438, 7570, 67, 9503, 1769, 3639, 7870, 87, 382, 2227, 18, 458, 12, 5629, 774, 15057, 16, 7870, 12028, 1769, 3639, 775, 288, 1850, 1033, 9322, 548, 273, 312, 947, 1889, 1733, 18, 2640, 13614, 3004, 5621, 1850, 1436, 13614, 527, 13614, 273, 394, 1436, 13614, 12, 16282, 548, 16, 4040, 774, 15057, 16, 4040, 548, 1769, 1850, 10034, 1721, 3060, 273, 4555, 1179, 18, 4285, 3060, 5621, 1850, 3399, 3060, 87, 18, 1289, 12, 1077, 3060, 1769, 1850, 8669, 3367, 1721, 273, 2868, 312, 947, 1889, 1733, 18, 2640, 3630, 3367, 12, 1077, 3060, 16, 4040, 548, 16, 527, 13614, 1769, 1850, 7870, 2570, 10206, 12, 5629, 774, 15057, 16, 4040, 548, 1769, 1850, 368, 2575, 2932, 15057, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 7870, 2134, 1435, 288, 565, 1206, 10556, 15057, 87, 5621, 565, 3852, 261, 266, 17514, 382, 2227, 13, 288, 1377, 309, 14015, 5, 19164, 3183, 18, 291, 1921, 10756, 597, 1850, 261, 266, 17514, 382, 2227, 18, 1467, 1435, 1648, 4552, 67, 2248, 15487, 67, 862, 7570, 55, 3719, 288, 3639, 1194, 18, 4148, 2932, 15057, 2134, 30, 315, 397, 5397, 315, 20709, 3183, 1546, 397, 7870, 3183, 18, 1467, 1435, 397, 5397, 315, 7870, 87, 382, 2227, 1546, 397, 7870, 87, 382, 2227, 18, 1467, 10663, 3639, 2350, 1887, 4040, 774, 15057, 273, 5411, 4477, 1079, 1887, 18, 588, 5784, 1079, 1887, 12443, 780, 13, 5411, 7870, 3183, 18, 4479, 12, 20, 10019, 3639, 3407, 2 ]
return voidType;
return this;
public Node typeCheck(TypeChecker tc) throws SemanticException { TypeSystem ts = tc.typeSystem(); Context c = tc.context(); Node voidType = tc.nodeFactory().CanonicalTypeNode(position(),ts.Void()); if (pat instanceof TPEUniversal) return voidType; if (! (((Typed)pat).type() instanceof ReferenceType)) throw new SemanticException("Argument of \"this\" must be of reference type",pat.position()); return voidType; }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/e000330cc657c670633c13a1d604822ea771e690/PCThis_c.java/clean/aop/abc/src/abc/aspectj/ast/PCThis_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 618, 1564, 12, 559, 8847, 1715, 13, 1216, 24747, 503, 288, 202, 282, 1412, 3163, 3742, 273, 1715, 18, 723, 3163, 5621, 202, 282, 1772, 276, 273, 1715, 18, 2472, 5621, 202, 282, 2029, 918, 559, 273, 1715, 18, 2159, 1733, 7675, 15512, 559, 907, 12, 3276, 9334, 3428, 18, 19038, 10663, 202, 202, 430, 261, 16330, 1276, 399, 1423, 984, 14651, 13, 1082, 202, 2463, 918, 559, 31, 9506, 202, 430, 16051, 261, 12443, 11985, 13, 16330, 2934, 723, 1435, 1276, 6268, 559, 3719, 1082, 282, 604, 394, 24747, 503, 2932, 1379, 434, 1239, 2211, 2412, 1297, 506, 434, 2114, 618, 3113, 16330, 18, 3276, 10663, 1082, 565, 202, 202, 2463, 918, 559, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 618, 1564, 12, 559, 8847, 1715, 13, 1216, 24747, 503, 288, 202, 282, 1412, 3163, 3742, 273, 1715, 18, 723, 3163, 5621, 202, 282, 1772, 276, 273, 1715, 18, 2472, 5621, 202, 282, 2029, 918, 559, 273, 1715, 18, 2159, 1733, 7675, 15512, 559, 907, 12, 3276, 9334, 3428, 18, 19038, 10663, 202, 202, 430, 261, 16330, 1276, 399, 1423, 984, 14651, 13, 1082, 202, 2463, 918, 559, 31, 9506, 202, 430, 16051, 261, 12443, 11985, 13, 16330, 2934, 723, 1435, 1276, 6268, 559, 3719, 1082, 282, 604, 394, 24747, 503, 2932, 1379, 434, 1239, 2211, 2412, 1297, 506, 434, 2114, 618, 3113, 16330, 18, 3276, 10663, 1082, 565, 202, 202, 2463, 918, 559, 31, 2 ]
mLog.info("indexContact("+contact+")"); try { StringBuffer contentText = new StringBuffer(); Map m = contact.getFields(); for (Iterator it = m.values().iterator(); it.hasNext(); ) { String cur = (String)it.next();
synchronized(getLock()) {
synchronized public void indexContact(Mailbox mbox, IndexItem redo, boolean deleteFirst, int mailItemId, Contact contact) throws ServiceException { initAnalyzer(mbox); mLog.info("indexContact("+contact+")"); try { StringBuffer contentText = new StringBuffer(); Map m = contact.getFields(); for (Iterator it = m.values().iterator(); it.hasNext(); ) { String cur = (String)it.next(); contentText.append(cur); contentText.append(' '); } if (deleteFirst) { try { deleteDocuments(new int[] { mailItemId }); } catch (IOException e) { mLog.debug("indexContact ignored IOException deleting documents (index does not exist yet?)", e); } } Document doc = new Document(); String subj = contact.getFileAsString().toLowerCase(); String name = (subj.length() > DbMailItem.MAX_SENDER_LENGTH ? subj.substring(0, DbMailItem.MAX_SENDER_LENGTH) : subj); StringBuffer emailStrBuf = new StringBuffer(); List emailList = contact.getEmailAddresses(); for (Iterator iter = emailList.iterator(); iter.hasNext();) { String cur = (String)(iter.next()); emailStrBuf.append(cur); emailStrBuf.append(' '); } String emailStr = emailStrBuf.toString(); contentText.append(ZimbraAnalyzer.getAllTokensConcatenated(LuceneFields.L_H_TO, emailStr)); /* put the email addresses in the "To" field so they can be more easily searched */ doc.add(Field.UnStored(LuceneFields.L_H_TO, emailStr)); /* put the name in the "From" field */ doc.add(new Field(LuceneFields.L_H_FROM, name, false/*store*/, true/*index*/, false/*token*/ )); doc.add(Field.UnStored(LuceneFields.L_CONTENT, contentText.toString())); doc.add(Field.UnStored(LuceneFields.L_H_SUBJECT, subj)); doc.add(Field.Keyword(LuceneFields.L_MAILBOX_BLOB_ID, Integer.toString(mailItemId))); doc.add(Field.Text(LuceneFields.L_PARTNAME, LuceneFields.L_PARTNAME_CONTACT)); doc.add(new Field(LuceneFields.L_SORT_SUBJECT, subj.toUpperCase(), true/*store*/, true/*index*/, false /*token*/)); doc.add(new Field(LuceneFields.L_SORT_NAME, name.toUpperCase(), false/*store*/, true/*index*/, false /*token*/)); addDocument(redo, doc, mailItemId, contact.getDate(), false); } catch (IOException ioe) { throw ServiceException.FAILURE("indexContact caught IOException", ioe); } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/9f6861227b0f9808a28547edf4255cb279354a1d/MailboxIndex.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/MailboxIndex.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 1071, 918, 770, 6567, 12, 30239, 312, 2147, 16, 3340, 1180, 24524, 16, 1250, 1430, 3759, 16, 509, 4791, 17673, 16, 13329, 5388, 13, 565, 1216, 16489, 288, 3639, 1208, 12803, 12, 81, 2147, 1769, 3639, 312, 1343, 18, 1376, 2932, 1615, 6567, 2932, 15, 8994, 9078, 2225, 1769, 3639, 775, 288, 5411, 6674, 913, 1528, 273, 394, 6674, 5621, 5411, 1635, 312, 273, 5388, 18, 588, 2314, 5621, 5411, 364, 261, 3198, 518, 273, 312, 18, 2372, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 514, 662, 273, 261, 780, 13, 305, 18, 4285, 5621, 7734, 913, 1528, 18, 6923, 12, 1397, 1769, 7734, 913, 1528, 18, 6923, 2668, 28005, 5411, 289, 13491, 309, 261, 3733, 3759, 13, 288, 7734, 775, 288, 10792, 1430, 12922, 12, 2704, 509, 8526, 288, 4791, 17673, 15549, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 312, 1343, 18, 4148, 2932, 1615, 6567, 5455, 1860, 12993, 7429, 261, 1615, 1552, 486, 1005, 4671, 35, 2225, 16, 425, 1769, 7734, 289, 5411, 289, 5411, 4319, 997, 273, 394, 4319, 5621, 5411, 514, 15333, 273, 5388, 18, 29925, 8092, 7675, 869, 5630, 5621, 5411, 514, 508, 273, 261, 1717, 78, 18, 2469, 1435, 405, 8408, 6759, 1180, 18, 6694, 67, 1090, 18556, 67, 7096, 692, 15333, 18, 28023, 12, 20, 16, 8408, 6759, 1180, 18, 6694, 67, 1090, 18556, 67, 7096, 13, 294, 15333, 1769, 5411, 6674, 2699, 1585, 5503, 273, 394, 6674, 5621, 5411, 987, 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, 1071, 918, 770, 6567, 12, 30239, 312, 2147, 16, 3340, 1180, 24524, 16, 1250, 1430, 3759, 16, 509, 4791, 17673, 16, 13329, 5388, 13, 565, 1216, 16489, 288, 3639, 1208, 12803, 12, 81, 2147, 1769, 3639, 312, 1343, 18, 1376, 2932, 1615, 6567, 2932, 15, 8994, 9078, 2225, 1769, 3639, 775, 288, 5411, 6674, 913, 1528, 273, 394, 6674, 5621, 5411, 1635, 312, 273, 5388, 18, 588, 2314, 5621, 5411, 364, 261, 3198, 518, 273, 312, 18, 2372, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 514, 662, 273, 261, 780, 13, 305, 18, 4285, 5621, 7734, 913, 1528, 18, 6923, 12, 1397, 1769, 7734, 913, 1528, 18, 6923, 2668, 28005, 5411, 289, 2 ]
XFormsServer.logger.debug("XForms - getting document from resolver for: " + resolvedURL); instanceDocument = TransformerURIResolver.readURLAsDocument(containingDocument.getURIResolver(), resolvedURL);
XFormsServer.logger.debug("XForms - getting document from resolver for: " + urlString); instanceDocument = TransformerURIResolver.readURLAsDocument(containingDocument.getURIResolver(), urlString);
public void performDefaultAction(final PipelineContext pipelineContext, XFormsEvent event) { final String eventName = event.getEventName(); if (XFormsEvents.XXFORMS_INITIALIZE_STATE.equals(eventName)) { // Internal event to restore state loadSchemasIfNeeded(pipelineContext); applyComputedExpressionBinds(pipelineContext); containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(this, false)); clearInstanceDataEventState(); } else if (XFormsEvents.XFORMS_MODEL_CONSTRUCT.equals(eventName)) { // 4.2.1 The xforms-model-construct Event // Bubbles: Yes / Cancelable: No / Context Info: None final Element modelElement = modelDocument.getRootElement(); // 1. All XML Schemas loaded (throws xforms-link-exception) // TODO: support multiple schemas // Get schema URI loadSchemasIfNeeded(pipelineContext); // TODO: throw exception event // 2. Create XPath data model from instance (inline or external) (throws xforms-link-exception) // Instance may not be specified. if (instances == null) { // Build initial instance document final List instanceContainers = modelElement.elements(new QName("instance", XFormsConstants.XFORMS_NAMESPACE)); if (instanceContainers.size() > 0) { // Iterate through all instances int instancePosition = 0; for (Iterator i = instanceContainers.iterator(); i.hasNext(); instancePosition++) { final Element instanceContainerElement = (Element) i.next(); final String srcAttribute = instanceContainerElement.attributeValue("src"); final Document instanceDocument; final String instanceSourceURI; final boolean hasUsername; if (srcAttribute == null) { // Inline instance final List children = instanceContainerElement.elements(); if (children == null || children.size() == 0) throw new OXFException("xforms:instance element must contain exactly one child element");// TODO: Throw XForms event? instanceDocument = Dom4jUtils.createDocumentCopyParentNamespaces((Element) children.get(0)); instanceSourceURI = null; hasUsername = false; } else { // External instance final ExternalContext externalContext = (ExternalContext) pipelineContext.getAttribute(PipelineContext.EXTERNAL_CONTEXT); // NOTE: Optimizing with include() for servlets doesn't allow detecting errors caused by // the included resource, so we don't allow this for now. Furthermore, we are forced to // "optimize" for portlet access.// final boolean optimize = !NetUtils.urlHasProtocol(srcAttribute)// && (externalContext.getRequest().getContainerType().equals("portlet")// || (externalContext.getRequest().getContainerType().equals("servlet")// && XFormsUtils.isOptimizeLocalInstanceLoads())); final boolean optimizeForPortlets = !NetUtils.urlHasProtocol(srcAttribute) && externalContext.getRequest().getContainerType().equals("portlet"); final XFormsModelSubmission.ConnectionResult connectionResult; if (optimizeForPortlets) { // Use optimized local mode final URI resolvedURI = XFormsUtils.resolveURI(instanceContainerElement, srcAttribute); connectionResult = XFormsSubmissionUtils.doOptimized(pipelineContext, externalContext, null, "get", resolvedURI.toString(), null, false, null, null); instanceSourceURI = resolvedURI.toString(); hasUsername = false; try { // Handle connection errors if (connectionResult.resultCode != 200) throw new OXFException("Got invalid return code while loading instance: " + srcAttribute + ", " + connectionResult.resultCode); // Read result as XML instanceDocument = Dom4jUtils.read(connectionResult.resultInputStream, connectionResult.resourceURI); } catch (Exception e) { throw new OXFException(e); } finally { // Clean-up if (connectionResult != null) connectionResult.close(); } } else { // Connect using external protocol // Extension: username and password // NOTE: Those don't use AVTs for now, because XPath expressions in those could access // instances that haven't been loaded yet. final String xxformsUsername = instanceContainerElement.attributeValue(XFormsConstants.XXFORMS_USERNAME_QNAME); final String xxformsPassword = instanceContainerElement.attributeValue(XFormsConstants.XXFORMS_PASSWORD_QNAME); final String resolvedURL = XFormsUtils.resolveURL(containingDocument, pipelineContext, instanceContainerElement, false, srcAttribute); instanceSourceURI = resolvedURL; if (containingDocument.getURIResolver() == null || xxformsUsername != null) { // We connect directly // TODO: We should be able to use the username/password as part of the cache key, // and therefore to use the resolver (or an extension of it supporting // username/password) when provided. connectionResult = XFormsSubmissionUtils.doRegular(pipelineContext, externalContext, "get", resolvedURL, xxformsUsername, xxformsPassword, null, false, null, null); try { // Handle connection errors if (connectionResult.resultCode != 200) throw new OXFException("Got invalid return code while loading instance: " + srcAttribute + ", " + connectionResult.resultCode); // Read result as XML instanceDocument = Dom4jUtils.read(connectionResult.resultInputStream, connectionResult.resourceURI); } catch (Exception e) { throw new OXFException(e); } finally { // Clean-up if (connectionResult != null) connectionResult.close(); } hasUsername = true; } else { // Optimized case that uses the provided resolver if (XFormsServer.logger.isDebugEnabled()) XFormsServer.logger.debug("XForms - getting document from resolver for: " + resolvedURL); instanceDocument = TransformerURIResolver.readURLAsDocument(containingDocument.getURIResolver(), resolvedURL); hasUsername = false; } } } // Set instance and associated information setInstanceDocument(pipelineContext, instancePosition, instanceDocument, instanceSourceURI, hasUsername); } } } // TODO: throw exception event // Call special listener to update instance if (instanceConstructListener != null) { for (Iterator i = getInstances().iterator(); i.hasNext();) { instanceConstructListener.updateInstance((XFormsInstance) i.next()); } } // 3. P3P (N/A) // 4. Instance data is constructed. Evaluate binds: // a. Evaluate nodeset // b. Apply model item properties on nodes // c. Throws xforms-binding-exception if the node has already model item property with same name // TODO: a, b, c xxx // 5. xforms-rebuild, xforms-recalculate, xforms-revalidate containingDocument.dispatchEvent(pipelineContext, new XFormsRebuildEvent(this)); containingDocument.dispatchEvent(pipelineContext, new XFormsRecalculateEvent(this, false)); containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(this, false));// clearInstanceDataEventState(); } else if (XFormsEvents.XFORMS_MODEL_CONSTRUCT_DONE.equals(eventName)) { // 4.2.2 The xforms-model-construct-done Event // Bubbles: Yes / Cancelable: No / Context Info: None // TODO: if instance exists (for now it does!), check that controls can bind, otherwise control must be "irrelevant" // TODO: implicit lazy instance construction } else if (XFormsEvents.XFORMS_REBUILD.equals(eventName)) { // 4.3.7 The xforms-rebuild Event // Bubbles: Yes / Cancelable: Yes / Context Info: None doRebuild(pipelineContext); } else if (XFormsEvents.XFORMS_RECALCULATE.equals(eventName)) { // 4.3.6 The xforms-recalculate Event // Bubbles: Yes / Cancelable: Yes / Context Info: None doRecalculate(pipelineContext); } else if (XFormsEvents.XFORMS_REVALIDATE.equals(eventName)) { // 4.3.5 The xforms-revalidate Event // Bubbles: Yes / Cancelable: Yes / Context Info: None doRevalidate(pipelineContext); } else if (XFormsEvents.XFORMS_REFRESH.equals(eventName)) { // 4.3.4 The xforms-refresh Event // Bubbles: Yes / Cancelable: Yes / Context Info: None doRefresh(pipelineContext); } else if (XFormsEvents.XFORMS_RESET.equals(eventName)) { // 4.3.8 The xforms-reset Event // Bubbles: Yes / Cancelable: Yes / Context Info: None // TODO // "The instance data is reset to the tree structure and values it had immediately // after having processed the xforms-ready event." // "Then, the events xforms-rebuild, xforms-recalculate, xforms-revalidate and // xforms-refresh are dispatched to the model element in sequence." containingDocument.dispatchEvent(pipelineContext, new XFormsRebuildEvent(XFormsModel.this)); containingDocument.dispatchEvent(pipelineContext, new XFormsRecalculateEvent(XFormsModel.this, true)); containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(XFormsModel.this, true)); containingDocument.dispatchEvent(pipelineContext, new XFormsRefreshEvent(XFormsModel.this)); } else if (XFormsEvents.XFORMS_COMPUTE_EXCEPTION.equals(eventName)) { // 4.5.4 The xforms-compute-exception Event // Bubbles: Yes / Cancelable: No / Context Info: Implementation-specific error string. // The default action for this event results in the following: Fatal error. // TODO } }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/ae072f83f3995e298171844cf4f6d7a4e21fdf97/XFormsModel.java/buggy/src/java/org/orbeon/oxf/xforms/XFormsModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3073, 1868, 1803, 12, 6385, 13671, 1042, 5873, 1042, 16, 1139, 18529, 1133, 871, 13, 288, 3639, 727, 514, 7933, 273, 871, 18, 588, 24320, 5621, 3639, 309, 261, 60, 18529, 3783, 18, 5619, 4983, 55, 67, 28497, 15641, 67, 7998, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 3186, 871, 358, 5217, 919, 5411, 1262, 16749, 18299, 12, 14511, 1042, 1769, 5411, 2230, 17934, 2300, 17856, 12, 14511, 1042, 1769, 5411, 4191, 2519, 18, 10739, 1133, 12, 14511, 1042, 16, 394, 1139, 18529, 426, 5662, 1133, 12, 2211, 16, 629, 10019, 5411, 2424, 1442, 751, 1133, 1119, 5621, 3639, 289, 469, 309, 261, 60, 18529, 3783, 18, 60, 4983, 55, 67, 17391, 67, 26935, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 1059, 18, 22, 18, 21, 1021, 619, 9741, 17, 2284, 17, 10062, 2587, 5411, 368, 605, 22298, 1040, 30, 19925, 342, 10347, 429, 30, 2631, 342, 1772, 3807, 30, 599, 5411, 727, 3010, 938, 1046, 273, 938, 2519, 18, 588, 2375, 1046, 5621, 5411, 368, 404, 18, 4826, 3167, 348, 7753, 4203, 261, 15069, 619, 9741, 17, 1232, 17, 4064, 13, 5411, 368, 2660, 30, 2865, 3229, 12783, 5411, 368, 968, 1963, 3699, 5411, 1262, 16749, 18299, 12, 14511, 1042, 1769, 5411, 368, 2660, 30, 604, 1520, 871, 5411, 368, 576, 18, 1788, 10172, 501, 938, 628, 791, 261, 10047, 578, 3903, 13, 261, 15069, 619, 9741, 17, 1232, 17, 4064, 13, 5411, 368, 565, 5180, 2026, 486, 506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3073, 1868, 1803, 12, 6385, 13671, 1042, 5873, 1042, 16, 1139, 18529, 1133, 871, 13, 288, 3639, 727, 514, 7933, 273, 871, 18, 588, 24320, 5621, 3639, 309, 261, 60, 18529, 3783, 18, 5619, 4983, 55, 67, 28497, 15641, 67, 7998, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 3186, 871, 358, 5217, 919, 5411, 1262, 16749, 18299, 12, 14511, 1042, 1769, 5411, 2230, 17934, 2300, 17856, 12, 14511, 1042, 1769, 5411, 4191, 2519, 18, 10739, 1133, 12, 14511, 1042, 16, 394, 1139, 18529, 426, 5662, 1133, 12, 2211, 16, 629, 10019, 5411, 2424, 1442, 751, 1133, 1119, 5621, 3639, 289, 469, 309, 261, 60, 18529, 3783, 18, 60, 4983, 55, 67, 17391, 67, 26935, 2 ]
markState = MarkSweepHeader.MARK_BIT_MASK - markState;
markState = MarkSweepHeader.MARK_BIT_MASK.sub(markState);
public void prepare(VMResource vm, MemoryResource mr) { markState = MarkSweepHeader.MARK_BIT_MASK - markState; inMSCollection = true; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/3c0756abda37636c945aa641fbe8139169e9ad16/MarkSweepSpace.java/buggy/rvm/src/vm/memoryManagers/JMTk/policy/MarkSweepSpace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2911, 12, 7397, 1420, 4268, 16, 9251, 1420, 9752, 13, 288, 377, 2267, 1119, 273, 6622, 55, 25236, 1864, 18, 12693, 67, 15650, 67, 11704, 18, 1717, 12, 3355, 1119, 1769, 565, 316, 3537, 2532, 273, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2911, 12, 7397, 1420, 4268, 16, 9251, 1420, 9752, 13, 288, 377, 2267, 1119, 273, 6622, 55, 25236, 1864, 18, 12693, 67, 15650, 67, 11704, 18, 1717, 12, 3355, 1119, 1769, 565, 316, 3537, 2532, 273, 638, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if (((_tokenSet_19.member(LA(1))) && (true) && (true))&&( inElementContent )) {
else if (((_tokenSet_21.member(LA(1))) && (true) && (true) && (true))&&( inElementContent )) {
public final void mNEXT_TOKEN(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NEXT_TOKEN; int _saveIndex; Token attr=null; Token ncname=null; switch ( LA(1)) { case '{': { mLCURLY(false); if ( inputState.guessing==0 ) { inElementContent= false; _ttype = LCURLY; } break; } case '}': { mRCURLY(false); if ( inputState.guessing==0 ) { _ttype = RCURLY; } break; } default: if ((LA(1)=='(') && (LA(2)==':') && (_tokenSet_7.member(LA(3)))) { mEXPR_COMMENT(false); if ( inputState.guessing==0 ) { _ttype = Token.SKIP; } } else { boolean synPredMatched590 = false; if (((_tokenSet_15.member(LA(1))) && (_tokenSet_16.member(LA(2))) && (_tokenSet_17.member(LA(3))))) { int _m590 = mark(); synPredMatched590 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); { switch ( LA(1)) { case '.': { match('.'); { if ((_tokenSet_3.member(LA(1)))) { mINTEGER_LITERAL(false); } else if ((LA(1)=='E'||LA(1)=='e')) { } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } break; } case 'E': case 'e': { break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched590 = false; } rewind(_m590); inputState.guessing--; } if ( synPredMatched590 ) { mDOUBLE_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DOUBLE_LITERAL; } } else if ((LA(1)=='-') && (LA(2)=='-') && (LA(3)=='>')) { mXML_COMMENT_END(false); if ( inputState.guessing==0 ) { _ttype = XML_COMMENT_END; } } else if ((LA(1)=='<') && (LA(2)=='!')) { mXML_COMMENT(false); if ( inputState.guessing==0 ) { _ttype = XML_COMMENT; } } else { boolean synPredMatched576 = false; if (((LA(1)=='<') && (LA(2)=='?'))) { int _m576 = mark(); synPredMatched576 = true; inputState.guessing++; try { { mXML_PI_START(false); } } catch (RecognitionException pe) { synPredMatched576 = false; } rewind(_m576); inputState.guessing--; } if ( synPredMatched576 ) { mXML_PI(false); if ( inputState.guessing==0 ) { _ttype = XML_PI; } } else if ((LA(1)=='<') && (LA(2)=='/')) { mEND_TAG_START(false); if ( inputState.guessing==0 ) { inElementContent= false; wsExplicit= false; _ttype = END_TAG_START; } } else if ((LA(1)=='<') && (LA(2)=='=')) { mLTEQ(false); if ( inputState.guessing==0 ) { _ttype = LTEQ; } } else if (((LA(1)=='"'||LA(1)=='\'') && ((LA(2) >= '\u0003' && LA(2) <= '\uffff')) && (true))&&( parseStringLiterals )) { mSTRING_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = STRING_LITERAL; } } else { boolean synPredMatched578 = false; if (((LA(1)=='.') && (LA(2)=='.') && (true))) { int _m578 = mark(); synPredMatched578 = true; inputState.guessing++; try { { match('.'); match('.'); } } catch (RecognitionException pe) { synPredMatched578 = false; } rewind(_m578); inputState.guessing--; } if ( synPredMatched578 ) { mPARENT(false); if ( inputState.guessing==0 ) { _ttype = PARENT; } } else if ((LA(1)=='/') && (LA(2)=='/') && (true)) { mDSLASH(false); if ( inputState.guessing==0 ) { _ttype = DSLASH; } } else if ((LA(1)=='|') && (LA(2)=='=') && (true)) { mOREQ(false); if ( inputState.guessing==0 ) { _ttype = OREQ; } } else if ((LA(1)=='&') && (LA(2)=='=') && (true)) { mANDEQ(false); if ( inputState.guessing==0 ) { _ttype = ANDEQ; } } else if ((LA(1)=='!') && (LA(2)=='=') && (true)) { mNEQ(false); if ( inputState.guessing==0 ) { _ttype = NEQ; } } else if ((LA(1)=='>') && (LA(2)=='=') && (true)) { mGTEQ(false); if ( inputState.guessing==0 ) { _ttype = GTEQ; } } else if ((LA(1)=='?') && (LA(2)=='>') && (true)) { mXML_PI_END(false); if ( inputState.guessing==0 ) { _ttype = XML_PI_END; } } else if ((LA(1)=='<') && (true)) { mLT(false); if ( inputState.guessing==0 ) { inElementContent= false; _ttype = LT; } } else if (((_tokenSet_18.member(LA(1))) && (true) && (true))&&( inAttributeContent )) { mATTRIBUTE_CONTENT(true); attr=_returnToken; if ( inputState.guessing==0 ) { _ttype = ATTRIBUTE_CONTENT; } } else if (((LA(1)=='"') && (true) && (true))&&( !(parseStringLiterals || inElementContent) )) { mQUOT(false); if ( inputState.guessing==0 ) { _ttype = QUOT; } } else if (((_tokenSet_19.member(LA(1))) && (true) && (true))&&( inElementContent )) { mELEMENT_CONTENT(false); if ( inputState.guessing==0 ) { _ttype = ELEMENT_CONTENT; } } else if ((LA(1)=='\t'||LA(1)=='\n'||LA(1)=='\r'||LA(1)==' ') && (true) && (true)) { mWS(false); if ( inputState.guessing==0 ) { if (wsExplicit) { _ttype = WS; text.setLength(_begin); text.append("WS"); } else _ttype = Token.SKIP; } } else if ((_tokenSet_20.member(LA(1))) && (true) && (true)) { mNCNAME(true); ncname=_returnToken; if ( inputState.guessing==0 ) { _ttype = ncname.getType(); } } else { boolean synPredMatched581 = false; if (((_tokenSet_15.member(LA(1))) && (true) && (true))) { int _m581 = mark(); synPredMatched581 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); { switch ( LA(1)) { case 'e': { match('e'); break; } case 'E': { match('E'); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } } } } catch (RecognitionException pe) { synPredMatched581 = false; } rewind(_m581); inputState.guessing--; } if ( synPredMatched581 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else { boolean synPredMatched583 = false; if (((_tokenSet_15.member(LA(1))) && (true) && (true))) { int _m583 = mark(); synPredMatched583 = true; inputState.guessing++; try { { match('.'); mINTEGER_LITERAL(false); } } catch (RecognitionException pe) { synPredMatched583 = false; } rewind(_m583); inputState.guessing--; } if ( synPredMatched583 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else { boolean synPredMatched585 = false; if (((LA(1)=='.') && (true) && (true))) { int _m585 = mark(); synPredMatched585 = true; inputState.guessing++; try { { match('.'); } } catch (RecognitionException pe) { synPredMatched585 = false; } rewind(_m585); inputState.guessing--; } if ( synPredMatched585 ) { mSELF(false); if ( inputState.guessing==0 ) { _ttype = SELF; } } else { boolean synPredMatched592 = false; if (((_tokenSet_15.member(LA(1))) && (true) && (true))) { int _m592 = mark(); synPredMatched592 = true; inputState.guessing++; try { { mINTEGER_LITERAL(false); match('.'); } } catch (RecognitionException pe) { synPredMatched592 = false; } rewind(_m592); inputState.guessing--; } if ( synPredMatched592 ) { mDECIMAL_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = DECIMAL_LITERAL; } } else if ((_tokenSet_3.member(LA(1))) && (true) && (true)) { mINTEGER_LITERAL(false); if ( inputState.guessing==0 ) { _ttype = INTEGER_LITERAL; } } else if ((LA(1)=='/') && (true) && (true)) { mSLASH(false); if ( inputState.guessing==0 ) { _ttype = SLASH; } } else if ((LA(1)==':') && (true) && (true)) { mCOLON(false); if ( inputState.guessing==0 ) { _ttype = COLON; } } else if ((LA(1)==',') && (true) && (true)) { mCOMMA(false); if ( inputState.guessing==0 ) { _ttype = COMMA; } } else if ((LA(1)==';') && (true) && (true)) { mSEMICOLON(false); if ( inputState.guessing==0 ) { _ttype = SEMICOLON; } } else if ((LA(1)=='*') && (true) && (true)) { mSTAR(false); if ( inputState.guessing==0 ) { _ttype = STAR; } } else if ((LA(1)=='?') && (true) && (true)) { mQUESTION(false); if ( inputState.guessing==0 ) { _ttype = QUESTION; } } else if ((LA(1)=='+') && (true) && (true)) { mPLUS(false); if ( inputState.guessing==0 ) { _ttype = PLUS; } } else if ((LA(1)=='-') && (true) && (true)) { mMINUS(false); if ( inputState.guessing==0 ) { _ttype = MINUS; } } else if ((LA(1)=='[') && (true) && (true)) { mLPPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPPAREN; } } else if ((LA(1)==']') && (true) && (true)) { mRPPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPPAREN; } } else if ((LA(1)=='(') && (true) && (true)) { mLPAREN(false); if ( inputState.guessing==0 ) { _ttype = LPAREN; } } else if ((LA(1)==')') && (true) && (true)) { mRPAREN(false); if ( inputState.guessing==0 ) { _ttype = RPAREN; } } else if ((LA(1)=='|') && (true) && (true)) { mUNION(false); if ( inputState.guessing==0 ) { _ttype = UNION; } } else if ((LA(1)=='@') && (true) && (true)) { mAT(false); if ( inputState.guessing==0 ) { _ttype = AT; } } else if ((LA(1)=='$') && (true) && (true)) { mDOLLAR(false); if ( inputState.guessing==0 ) { _ttype = DOLLAR; } } else if ((LA(1)=='=') && (true) && (true)) { mEQ(false); if ( inputState.guessing==0 ) { _ttype = EQ; } } else if ((LA(1)=='>') && (true) && (true)) { mGT(false); if ( inputState.guessing==0 ) { _ttype = GT; } } else { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } }}}}}}}} if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/bb9e62961cd54f3562f2a8e34ebe8f272b7123b5/XQueryLexer.java/buggy/src/org/exist/xquery/parser/XQueryLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 25539, 67, 8412, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 19252, 67, 8412, 31, 202, 202, 474, 389, 5688, 1016, 31, 202, 202, 1345, 1604, 33, 2011, 31, 202, 202, 1345, 8194, 529, 33, 2011, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2292, 4278, 202, 202, 95, 1082, 202, 81, 13394, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 6862, 25083, 202, 267, 1046, 1350, 33, 629, 31, 25083, 202, 67, 88, 723, 273, 511, 26314, 31, 6862, 9506, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 9571, 30, 202, 202, 95, 1082, 202, 81, 11529, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 67, 88, 723, 273, 534, 26314, 31, 1082, 202, 97, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 1082, 202, 430, 14015, 2534, 12, 21, 13, 18920, 2668, 13, 597, 261, 2534, 12, 22, 13, 18920, 2497, 13, 597, 261, 67, 2316, 694, 67, 27, 18, 5990, 12, 2534, 12, 23, 3719, 3719, 288, 9506, 202, 81, 2294, 8025, 67, 12200, 12, 5743, 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, 225, 202, 482, 727, 918, 312, 25539, 67, 8412, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 19252, 67, 8412, 31, 202, 202, 474, 389, 5688, 1016, 31, 202, 202, 1345, 1604, 33, 2011, 31, 202, 202, 1345, 8194, 529, 33, 2011, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2292, 4278, 202, 202, 95, 1082, 202, 81, 13394, 1785, 61, 12, 5743, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 6862, 2 ]
handler.endElement(XML_URI, "", "arguments"); handler.startElement(XML_URI, "", "return", attr);
handler.endElement(XML_URI, "", "arguments"); handler.startElement(XML_URI, "", "return", attr);
protected void addMethodNodes(String desc) throws SAXException { Type[] args = Type.getArgumentTypes(desc); Type ret = Type.getReturnType(desc); handler.startElement(XML_URI, "", "arguments", attr); for (int i = 0; i < args.length; i++) addTypeNode(args[i]); handler.endElement(XML_URI, "", "arguments"); handler.startElement(XML_URI, "", "return", attr); addTypeNode(ret); handler.endElement(XML_URI, "", "return"); }
651 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/651/1a5297521ebe3c635c8dbbaf2fac90a1fcc78523/SAXDiffHandler.java/clean/jardiff/src/java/org/osjava/scripts4java/SAXDiffHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 18223, 3205, 12, 780, 3044, 13, 1216, 14366, 288, 3639, 1412, 8526, 833, 273, 1412, 18, 588, 1379, 2016, 12, 5569, 1769, 3639, 1412, 325, 273, 1412, 18, 588, 9102, 12, 5569, 1769, 3639, 1838, 18, 1937, 1046, 12, 4201, 67, 3098, 16, 23453, 11794, 315, 7099, 3113, 1604, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 5411, 29337, 907, 12, 1968, 63, 77, 19226, 3639, 1838, 18, 409, 1046, 12, 4201, 67, 3098, 16, 23453, 21821, 315, 7099, 8863, 3639, 1838, 18, 1937, 1046, 12, 4201, 67, 3098, 16, 23453, 315, 2463, 3113, 11794, 1604, 1769, 3639, 29337, 907, 12, 1349, 1769, 3639, 1838, 18, 409, 1046, 12, 4201, 67, 3098, 16, 23453, 315, 2463, 8863, 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, 377, 4750, 918, 18223, 3205, 12, 780, 3044, 13, 1216, 14366, 288, 3639, 1412, 8526, 833, 273, 1412, 18, 588, 1379, 2016, 12, 5569, 1769, 3639, 1412, 325, 273, 1412, 18, 588, 9102, 12, 5569, 1769, 3639, 1838, 18, 1937, 1046, 12, 4201, 67, 3098, 16, 23453, 11794, 315, 7099, 3113, 1604, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 5411, 29337, 907, 12, 1968, 63, 77, 19226, 3639, 1838, 18, 409, 1046, 12, 4201, 67, 3098, 16, 23453, 21821, 315, 7099, 8863, 3639, 1838, 18, 1937, 1046, 12, 4201, 67, 3098, 16, 23453, 315, 2463, 3113, 11794, 1604, 1769, 3639, 29337, 907, 12, 1349, 1769, 3639, 1838, 18, 409, 2 ]
final ASTNode nextElement = findElementAfter(last == null ? parent : last, false);
ASTNode nextElement = findElementAfter(last == null ? parent : last, false);
private static void removeChildrenAndAdjustWhiteSpaces(final ASTNode first, final ASTNode last, final CompositeElement parent) { ASTNode lastChild = findLastChild(last); final ASTNode prevElement = TreeUtil.prevLeaf(first); final ASTNode nextElement = findElementAfter(last == null ? parent : last, false); final ArrayList<PsiElement> dirtyElements = new ArrayList<PsiElement>(); if (nextElement != null) { saveIndents(nextElement, dirtyElements); } try { boolean adjustWSBefore = containLineBreaks(first, lastChild); if (!mustKeepFirstIndent(prevElement, parent)) { adjustWSBefore = true; } parent.removeRange(first, lastChild); if (!adjustWSBefore && parent.getTextLength() == 0 && prevElement != null && isWS(prevElement) && !prevElement.textContains('\n')) { adjustWSBefore = true; } final PsiFile file = parent.getPsi().getContainingFile(); final CodeStyleSettings.IndentOptions options = CodeStyleSettingsManager.getSettings(file.getProject()) .getIndentOptions(file.getFileType()); if (nextElement != null) { adjustSpacePositions(nextElement, prevElement, options); if (prevElement != null) { FormatterUtil.join(prevElement, TreeUtil.nextLeaf(prevElement)); } if (adjustWSBefore) { adjustWhiteSpaceBefore(nextElement, true, true, true, false); } } else { final ASTNode fileNode = SourceTreeToPsiMap.psiElementToTree(parent.getPsi().getContainingFile()); ASTNode lastLeaf = TreeUtil.findLastLeaf(fileNode); if (isWS(lastLeaf)) { delete(lastLeaf); } } } finally { clearIndentInfo(dirtyElements); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/f2a2339ac63e1736cde3f7b6f84763f4063c8d88/CodeEditUtil.java/clean/source/com/intellij/psi/impl/source/codeStyle/CodeEditUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 1206, 4212, 1876, 10952, 13407, 12077, 12, 6385, 9183, 907, 1122, 16, 727, 9183, 907, 1142, 16, 727, 14728, 1046, 982, 13, 288, 565, 9183, 907, 30006, 273, 1104, 3024, 1763, 12, 2722, 1769, 565, 727, 9183, 907, 2807, 1046, 273, 4902, 1304, 18, 10001, 9858, 12, 3645, 1769, 565, 9183, 907, 14512, 273, 1104, 1046, 4436, 12, 2722, 422, 446, 692, 982, 294, 1142, 16, 629, 1769, 565, 727, 2407, 32, 52, 7722, 1046, 34, 9603, 3471, 273, 394, 2407, 32, 52, 7722, 1046, 34, 5621, 565, 309, 261, 4285, 1046, 480, 446, 13, 288, 1377, 1923, 3866, 4877, 12, 4285, 1046, 16, 9603, 3471, 1769, 565, 289, 565, 775, 288, 1377, 1250, 5765, 2651, 4649, 273, 912, 1670, 26806, 12, 3645, 16, 30006, 1769, 1377, 309, 16051, 11926, 11523, 3759, 7790, 12, 10001, 1046, 16, 982, 3719, 288, 3639, 5765, 2651, 4649, 273, 638, 31, 1377, 289, 1377, 982, 18, 4479, 2655, 12, 3645, 16, 30006, 1769, 1377, 309, 16051, 13362, 2651, 4649, 597, 982, 18, 588, 1528, 1782, 1435, 422, 374, 597, 2807, 1046, 480, 446, 597, 353, 2651, 12, 10001, 1046, 13, 597, 401, 10001, 1046, 18, 955, 10846, 2668, 64, 82, 26112, 288, 3639, 5765, 2651, 4649, 273, 638, 31, 1377, 289, 1377, 727, 453, 7722, 812, 585, 273, 982, 18, 588, 52, 7722, 7675, 588, 24344, 812, 5621, 1377, 727, 3356, 2885, 2628, 18, 7790, 1320, 702, 273, 3356, 2885, 2628, 1318, 18, 588, 2628, 12, 768, 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, 918, 1206, 4212, 1876, 10952, 13407, 12077, 12, 6385, 9183, 907, 1122, 16, 727, 9183, 907, 1142, 16, 727, 14728, 1046, 982, 13, 288, 565, 9183, 907, 30006, 273, 1104, 3024, 1763, 12, 2722, 1769, 565, 727, 9183, 907, 2807, 1046, 273, 4902, 1304, 18, 10001, 9858, 12, 3645, 1769, 565, 9183, 907, 14512, 273, 1104, 1046, 4436, 12, 2722, 422, 446, 692, 982, 294, 1142, 16, 629, 1769, 565, 727, 2407, 32, 52, 7722, 1046, 34, 9603, 3471, 273, 394, 2407, 32, 52, 7722, 1046, 34, 5621, 565, 309, 261, 4285, 1046, 480, 446, 13, 288, 1377, 1923, 3866, 4877, 12, 4285, 1046, 16, 9603, 3471, 1769, 565, 289, 565, 775, 288, 1377, 1250, 5765, 2 ]
public synchronized void targetAdded(ObjectName target) {
protected synchronized void targetAdded(ObjectName target) {
public synchronized void targetAdded(ObjectName target) { ProxyCollection proxy = (ProxyCollection) getProxy(); if (proxy != null) { proxy.addTarget(target); } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/fdb31f0ed391724e584b6529964c8418bd55bf61/GBeanCollectionReference.java/buggy/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanCollectionReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 3852, 918, 1018, 8602, 12, 16707, 1018, 13, 288, 3639, 7659, 2532, 2889, 273, 261, 3886, 2532, 13, 18992, 5621, 3639, 309, 261, 5656, 480, 446, 13, 288, 5411, 2889, 18, 1289, 2326, 12, 3299, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3852, 918, 1018, 8602, 12, 16707, 1018, 13, 288, 3639, 7659, 2532, 2889, 273, 261, 3886, 2532, 13, 18992, 5621, 3639, 309, 261, 5656, 480, 446, 13, 288, 5411, 2889, 18, 1289, 2326, 12, 3299, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String mgrId = uri.getScheme() + ":" + uri.getHost();
String mgrId = uri.getScheme() + ":" + uri.getPath();
public ContributionManager getManagerForURI(URI uri) { if (uri == null) return null; String mgrId = uri.getScheme() + ":" + uri.getHost(); //$NON-NLS-1$ ContributionManager mgr = (ContributionManager) uriToManager.get(mgrId); if (mgr == null) { mgr = createContributionManager(uri); uriToManager.put(mgrId, mgr); } return mgr; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/8e837b055e61b454bbc6327d5101235d5b605c7f/WorkbenchMenuService.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/WorkbenchMenuService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 735, 4027, 1318, 14154, 1290, 3098, 12, 3098, 2003, 13, 288, 202, 202, 430, 261, 1650, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 780, 13333, 548, 273, 2003, 18, 588, 9321, 1435, 397, 6153, 397, 2003, 18, 588, 743, 5621, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 442, 4027, 1318, 13333, 273, 261, 442, 4027, 1318, 13, 2003, 774, 1318, 18, 588, 12, 13552, 548, 1769, 202, 202, 430, 261, 13552, 422, 446, 13, 288, 1082, 202, 13552, 273, 752, 442, 4027, 1318, 12, 1650, 1769, 1082, 202, 1650, 774, 1318, 18, 458, 12, 13552, 548, 16, 13333, 1769, 202, 202, 97, 202, 202, 2463, 13333, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 735, 4027, 1318, 14154, 1290, 3098, 12, 3098, 2003, 13, 288, 202, 202, 430, 261, 1650, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 780, 13333, 548, 273, 2003, 18, 588, 9321, 1435, 397, 6153, 397, 2003, 18, 588, 743, 5621, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 442, 4027, 1318, 13333, 273, 261, 442, 4027, 1318, 13, 2003, 774, 1318, 18, 588, 12, 13552, 548, 1769, 202, 202, 430, 261, 13552, 422, 446, 13, 288, 1082, 202, 13552, 273, 752, 442, 4027, 1318, 12, 1650, 1769, 1082, 202, 1650, 774, 1318, 18, 458, 12, 13552, 548, 16, 13333, 1769, 202, 202, 97, 202, 202, 2463, 13333, 31, 202, 97, 2, -100, -100 ]
protected String getExceptedArgsString(RubyObject[] methodArgs) { StringBuffer sb = new StringBuffer(); sb.append("Wrong arguments:"); if (methodArgs.length == 0) { sb.append(" No args"); } else { sb.append(" ("); for (int i = 0; i < methodArgs.length; i++) { if (i > 0) { sb.append(", "); } String className = methodArgs[i].getClass().getName(); className = className.substring(className.lastIndexOf(".Ruby") + 5); sb.append("a"); if (className.charAt(0) == 'A' || className.charAt(0) == 'E' || className.charAt(0) == 'I' || className.charAt(0) == 'O' || className.charAt(0) == 'U') { sb.append("n"); } sb.append(className); } sb.append(")"); } sb.append(" given, "); if (args.length == 0) { sb.append("no arguments excepted."); } else { sb.append("("); for (int i = 0; i < args.length; i++) { if (i > 0) { sb.append(","); } String className = args[i].getName(); sb.append("a").append(className.substring(className.lastIndexOf(".Ruby") + 5)); } if (restArgs) { sb.append(", ..."); } sb.append(") excepted."); } return sb.toString(); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/7f0711e7cbb2b441d095c8d8c0838be2b630638c/ReflectionCallbackMethod.java/clean/org/jruby/runtime/ReflectionCallbackMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 26246, 956, 329, 2615, 780, 12, 54, 10340, 921, 8526, 707, 2615, 13, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 2393, 18, 6923, 2932, 13634, 1775, 2773, 1769, 7734, 309, 261, 2039, 2615, 18, 2469, 422, 374, 13, 288, 5411, 2393, 18, 6923, 2932, 2631, 833, 8863, 3639, 289, 469, 288, 5411, 2393, 18, 6923, 2932, 7566, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 707, 2615, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 77, 405, 374, 13, 288, 10792, 2393, 18, 6923, 2932, 16, 315, 1769, 7734, 289, 7734, 514, 2658, 273, 707, 2615, 63, 77, 8009, 588, 797, 7675, 17994, 5621, 7734, 2658, 273, 2658, 18, 28023, 12, 12434, 18, 2722, 31985, 2932, 18, 54, 10340, 7923, 397, 1381, 1769, 7734, 2393, 18, 6923, 2932, 69, 8863, 7734, 309, 261, 12434, 18, 3001, 861, 12, 20, 13, 422, 296, 37, 11, 747, 2658, 18, 3001, 861, 12, 20, 13, 422, 296, 41, 11, 747, 5397, 2658, 18, 3001, 861, 12, 20, 13, 422, 296, 45, 11, 747, 2658, 18, 3001, 861, 12, 20, 13, 422, 296, 51, 11, 747, 5397, 2658, 18, 3001, 861, 12, 20, 13, 422, 296, 57, 6134, 288, 10792, 2393, 18, 6923, 2932, 82, 8863, 7734, 289, 7734, 2393, 18, 6923, 12, 12434, 1769, 5411, 289, 5411, 2393, 18, 6923, 2932, 2225, 1769, 3639, 289, 3639, 2393, 18, 6923, 2932, 864, 16, 315, 1769, 7734, 309, 261, 1968, 18, 2469, 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, 4750, 514, 26246, 956, 329, 2615, 780, 12, 54, 10340, 921, 8526, 707, 2615, 13, 288, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 2393, 18, 6923, 2932, 13634, 1775, 2773, 1769, 7734, 309, 261, 2039, 2615, 18, 2469, 422, 374, 13, 288, 5411, 2393, 18, 6923, 2932, 2631, 833, 8863, 3639, 289, 469, 288, 5411, 2393, 18, 6923, 2932, 7566, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 707, 2615, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 77, 405, 374, 13, 288, 10792, 2393, 18, 6923, 2932, 16, 315, 1769, 7734, 289, 7734, 514, 2658, 273, 707, 2615, 63, 77, 8009, 588, 797, 7675, 17994, 5621, 7734, 2658, 273, 2658, 18, 28023, 2 ]
public Object getAny(int index) {
public final Object getAny(int index) {
public Object getAny(int index) { return get(index); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/10b9028253f5fe6331eb3ee3c17eb137e07633c9/VmCP.java/buggy/core/src/core/org/jnode/vm/classmgr/VmCP.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 1033, 336, 2961, 12, 474, 770, 13, 288, 3639, 327, 336, 12, 1615, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 727, 1033, 336, 2961, 12, 474, 770, 13, 288, 3639, 327, 336, 12, 1615, 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 ]
if (userIndex != -1) annotatedByList.setSelectedIndex(userIndex);
void showAnnotations() { ExperimenterData userDetails = model.getUserDetails(); if (userDetails == null) return; Map annotations = model.getAnnotations(); if (annotations == null) return; String[] owners = new String[annotations.size()]; Iterator i = annotations.keySet().iterator(); Long id; int index = 0; ownersMap = new HashMap(); List list; ExperimenterData data; while (i.hasNext()) { id = (Long) i.next(); list = (List) annotations.get(id); if (list != null || list.size() > 0) { data = ((AnnotationData) list.get(0)).getOwner(); if (userDetails.getId() == id.intValue()) userIndex = index; String n = "Name not available"; //tmp fix try { n = data.getLastName(); } catch (Exception e) {} owners[index] = n; ownersMap.put(new Integer(index), id); index++; } } //No annotation for the current user, so allow creation. if (userIndex != -1) annotatedByList.setSelectedIndex(userIndex); setComponentsEnabled(true); formatUsersList(owners); annotatedByList.clearSelection(); annotatedByList.setSelectedIndex(userIndex); showSingleAnnotation(); }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/adfc1c6109de30a5fa2f263c29c3f0359c5d4601/DOAnnotation.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/editors/DOAnnotation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2405, 5655, 1435, 565, 288, 3639, 1312, 457, 381, 2328, 751, 729, 3790, 273, 938, 18, 588, 1299, 3790, 5621, 3639, 309, 261, 1355, 3790, 422, 446, 13, 327, 31, 3639, 1635, 5617, 273, 938, 18, 588, 5655, 5621, 3639, 309, 261, 14670, 422, 446, 13, 327, 31, 3639, 514, 8526, 25937, 273, 394, 514, 63, 14670, 18, 1467, 1435, 15533, 3639, 4498, 277, 273, 5617, 18, 856, 694, 7675, 9838, 5621, 3639, 3407, 612, 31, 3639, 509, 770, 273, 374, 31, 3639, 25937, 863, 273, 394, 4317, 5621, 3639, 987, 666, 31, 3639, 1312, 457, 381, 2328, 751, 501, 31, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 612, 273, 261, 3708, 13, 277, 18, 4285, 5621, 5411, 666, 273, 261, 682, 13, 5617, 18, 588, 12, 350, 1769, 5411, 309, 261, 1098, 480, 446, 747, 666, 18, 1467, 1435, 405, 374, 13, 288, 7734, 501, 273, 14015, 3257, 751, 13, 666, 18, 588, 12, 20, 13, 2934, 588, 5541, 5621, 7734, 309, 261, 1355, 3790, 18, 26321, 1435, 422, 612, 18, 474, 620, 10756, 729, 1016, 273, 770, 31, 7734, 514, 290, 273, 315, 461, 486, 2319, 14432, 368, 5645, 2917, 7734, 775, 288, 10792, 290, 273, 501, 18, 588, 3024, 461, 5621, 7734, 289, 1044, 261, 503, 425, 13, 2618, 1171, 25937, 63, 1615, 65, 273, 290, 31, 7734, 25937, 863, 18, 458, 12, 2704, 2144, 12, 1615, 3631, 612, 1769, 7734, 770, 9904, 31, 5411, 289, 540, 289, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2405, 5655, 1435, 565, 288, 3639, 1312, 457, 381, 2328, 751, 729, 3790, 273, 938, 18, 588, 1299, 3790, 5621, 3639, 309, 261, 1355, 3790, 422, 446, 13, 327, 31, 3639, 1635, 5617, 273, 938, 18, 588, 5655, 5621, 3639, 309, 261, 14670, 422, 446, 13, 327, 31, 3639, 514, 8526, 25937, 273, 394, 514, 63, 14670, 18, 1467, 1435, 15533, 3639, 4498, 277, 273, 5617, 18, 856, 694, 7675, 9838, 5621, 3639, 3407, 612, 31, 3639, 509, 770, 273, 374, 31, 3639, 25937, 863, 273, 394, 4317, 5621, 3639, 987, 666, 31, 3639, 1312, 457, 381, 2328, 751, 501, 31, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 612, 273, 261, 3708, 13, 277, 2 ]
leftArea.setFont(parent.getFont());
protected Control createTreeAreaContents(Composite parent) { Composite leftArea = new Composite(parent, SWT.NONE); leftArea.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND)); GridLayout leftLayout = new GridLayout(); leftLayout.numColumns = 1; leftLayout.marginHeight = 0; leftLayout.marginTop = IDialogConstants.VERTICAL_MARGIN; leftLayout.marginWidth = 0; leftLayout.marginLeft = IDialogConstants.HORIZONTAL_MARGIN; leftLayout.horizontalSpacing = 0; leftLayout.verticalSpacing = 0; leftArea.setLayout(leftLayout); // Build the tree an put it into the composite. TreeViewer viewer = createTreeViewer(leftArea); setTreeViewer(viewer); updateTreeFont(JFaceResources.getDialogFont()); GridData viewerData = new GridData(GridData.FILL_BOTH | GridData.GRAB_VERTICAL); viewer.getControl().getParent().setLayoutData(viewerData); layoutTreeAreaControl(leftArea); return leftArea; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/bd9e4beb8985958c45f603d1d85d8b5bd7f350c4/FilteredPreferenceDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FilteredPreferenceDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 8888, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 752, 2471, 5484, 6323, 12, 799, 1724, 6516, 1222, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 982, 13, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 288, 202, 202, 799, 1724, 6516, 1222, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 2002, 4704, 5349, 1222, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 273, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 394, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 14728, 12, 2938, 16, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 348, 8588, 18, 9826, 1769, 202, 202, 4482, 5484, 18, 542, 8199, 12, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 7085, 67, 8720, 20166, 10019, 202, 202, 6313, 3744, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 2002, 3744, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 273, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 394, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 7145, 3744, 5621, 202, 202, 4482, 3744, 18, 2107, 3380, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 273, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 404, 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, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 8888, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 752, 2471, 5484, 6323, 12, 799, 1724, 6516, 1222, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 982, 13, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 288, 202, 202, 799, 1724, 6516, 1222, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 2002, 4704, 5349, 1222, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 273, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 394, 4482, 5484, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 14728, 12, 2938, 16, 4482, 5484, 2 ]
singletonClass = runtime.getClasses().getNilClass();
singletonClass = runtime.getClass("NilClass");
public void visitSClassNode(SClassNode iVisited) { IRubyObject receiver = eval(iVisited.getReceiverNode()); RubyClass singletonClass; if (receiver.isNil()) { singletonClass = runtime.getClasses().getNilClass(); } else if (receiver == runtime.getTrue()) { singletonClass = runtime.getClasses().getTrueClass(); } else if (receiver == runtime.getFalse()) { singletonClass = runtime.getClasses().getFalseClass(); } else { if (runtime.getSafeLevel() >= 4 && !receiver.isTaint()) { throw new SecurityError(runtime, "Insecure: can't extend object."); } singletonClass = receiver.getSingletonClass(); } if (threadContext.getWrapper() != null) { singletonClass.extendObject(threadContext.getWrapper()); singletonClass.includeModule(threadContext.getWrapper()); } evalClassDefinitionBody(iVisited.getBodyNode(), singletonClass); }
45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/ca6b16e996ea9af83ce593594b9c69b9364a9924/EvaluateVisitor.java/buggy/src/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 55, 797, 907, 12, 55, 797, 907, 277, 30019, 13, 288, 3639, 15908, 10340, 921, 5971, 273, 5302, 12, 77, 30019, 18, 588, 12952, 907, 10663, 3639, 19817, 797, 6396, 797, 31, 3639, 309, 261, 24454, 18, 291, 12616, 10756, 288, 5411, 6396, 797, 273, 3099, 18, 588, 797, 2932, 12616, 797, 8863, 3639, 289, 469, 309, 261, 24454, 422, 3099, 18, 588, 5510, 10756, 288, 5411, 6396, 797, 273, 3099, 18, 588, 4818, 7675, 588, 5510, 797, 5621, 3639, 289, 469, 309, 261, 24454, 422, 3099, 18, 588, 8381, 10756, 288, 5411, 6396, 797, 273, 3099, 18, 588, 4818, 7675, 588, 8381, 797, 5621, 3639, 289, 469, 288, 5411, 309, 261, 9448, 18, 588, 9890, 2355, 1435, 1545, 1059, 597, 401, 24454, 18, 291, 29048, 10756, 288, 7734, 604, 394, 6036, 668, 12, 9448, 16, 315, 382, 8869, 30, 848, 1404, 2133, 733, 1199, 1769, 5411, 289, 5411, 6396, 797, 273, 5971, 18, 588, 19571, 797, 5621, 3639, 289, 3639, 309, 261, 5930, 1042, 18, 588, 3611, 1435, 480, 446, 13, 288, 5411, 6396, 797, 18, 14313, 921, 12, 5930, 1042, 18, 588, 3611, 10663, 5411, 6396, 797, 18, 6702, 3120, 12, 5930, 1042, 18, 588, 3611, 10663, 3639, 289, 3639, 5302, 797, 1852, 2250, 12, 77, 30019, 18, 588, 2250, 907, 9334, 6396, 797, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 55, 797, 907, 12, 55, 797, 907, 277, 30019, 13, 288, 3639, 15908, 10340, 921, 5971, 273, 5302, 12, 77, 30019, 18, 588, 12952, 907, 10663, 3639, 19817, 797, 6396, 797, 31, 3639, 309, 261, 24454, 18, 291, 12616, 10756, 288, 5411, 6396, 797, 273, 3099, 18, 588, 797, 2932, 12616, 797, 8863, 3639, 289, 469, 309, 261, 24454, 422, 3099, 18, 588, 5510, 10756, 288, 5411, 6396, 797, 273, 3099, 18, 588, 4818, 7675, 588, 5510, 797, 5621, 3639, 289, 469, 309, 261, 24454, 422, 3099, 18, 588, 8381, 10756, 288, 5411, 6396, 797, 273, 3099, 18, 588, 4818, 7675, 588, 8381, 797, 5621, 3639, 289, 469, 288, 5411, 309, 261, 9448, 18, 588, 2 ]
following.push(FOLLOW_opt_eol_in_agenda_group1171);
following.push(FOLLOW_opt_eol_in_agenda_group1175);
public AttributeDescr agenda_group() throws RecognitionException { AttributeDescr d; Token loc=null; Token name=null; d = null; try { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:523:17: (loc= 'agenda-group' opt_eol name= STRING ( ';' )? opt_eol ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:523:17: loc= 'agenda-group' opt_eol name= STRING ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,37,FOLLOW_37_in_agenda_group1160); following.push(FOLLOW_opt_eol_in_agenda_group1162); opt_eol(); following.pop(); name=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_agenda_group1166); // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:523:56: ( ';' )? int alt38=2; int LA38_0 = input.LA(1); if ( LA38_0==15 ) { alt38=1; } else if ( LA38_0==EOL||LA38_0==22||LA38_0==27||LA38_0==29||LA38_0==31||(LA38_0>=33 && LA38_0<=38) ) { alt38=2; } else { NoViableAltException nvae = new NoViableAltException("523:56: ( \';\' )?", 38, 0, input); throw nvae; } switch (alt38) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:523:56: ';' { match(input,15,FOLLOW_15_in_agenda_group1168); } break; } following.push(FOLLOW_opt_eol_in_agenda_group1171); opt_eol(); following.pop(); d = new AttributeDescr( "agenda-group", getString( name ) ); d.setLocation( offset(loc.getLine()), loc.getCharPositionInLine() ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/7f81b86a0f548bd02b09afc74b46454cdf158154/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 28809, 67, 1655, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 508, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 25, 4366, 30, 4033, 30, 261, 1829, 33, 296, 346, 18883, 17, 1655, 11, 2153, 67, 30951, 508, 33, 9469, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 25, 4366, 30, 4033, 30, 1515, 33, 296, 346, 18883, 17, 1655, 11, 2153, 67, 30951, 508, 33, 9469, 261, 7554, 7851, 2153, 67, 30951, 5411, 288, 5411, 1515, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 6418, 16, 29890, 67, 6418, 67, 267, 67, 346, 18883, 67, 1655, 21, 16874, 1769, 2398, 3751, 18, 6206, 12, 29890, 67, 3838, 67, 30951, 67, 267, 67, 346, 18883, 67, 1655, 20562, 22, 1769, 5411, 2153, 67, 30951, 5621, 5411, 3751, 18, 5120, 5621, 5411, 508, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 5804, 16, 29890, 67, 5804, 67, 267, 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, 3601, 16198, 28809, 67, 1655, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 508, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 25, 4366, 30, 4033, 30, 261, 1829, 33, 296, 346, 18883, 17, 1655, 11, 2153, 67, 30951, 508, 33, 9469, 261, 7554, 7851, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 2 ]
public ServerSecurityEditorSection() { super(); // TODO Auto-generated constructor stub }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/13683415a9b445170156d9e8dd7899a581eb5cd7/ServerSecurityEditorSection.java/buggy/sandbox/eclipse-plugin/org.apache.geronimo.ui/src/org/apache/geronimo/ui/sections/ServerSecurityEditorSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2081, 4368, 6946, 5285, 1435, 95, 9565, 5621, 759, 6241, 4965, 17, 11168, 12316, 12847, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2081, 4368, 6946, 5285, 1435, 95, 9565, 5621, 759, 6241, 4965, 17, 11168, 12316, 12847, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
VM_Array arrayType = java.lang.JikesRVMSupport.getTypeForClass(componentType).getArrayTypeForElementType(); if (!arrayType.isInitialized()) { arrayType.resolve(); arrayType.instantiate(); arrayType.initialize();
VM_Method constructor = java.lang.reflect.JikesRVMSupport.getMethodOf(c); VM_Class cls = constructor.getDeclaringClass(); if (!cls.isInitialized()) { try { VM_Runtime.initializeClassForDynamicLink(cls); } catch (Throwable e) { throw new InstantiationException(); } } int size = cls.getInstanceSize(); Object[] tib = cls.getTypeInformationBlock(); boolean hasFinalizer = cls.hasFinalizer(); int allocator = VM_Interface.pickAllocator(cls); Object obj = VM_Runtime.resolvedNewScalar(size, tib, hasFinalizer, allocator); Method m = java.lang.reflect.JikesRVMSupport.createMethod(constructor); m.invoke(obj, args); return obj;
public static Object newInstance(Class componentType, int size) throws NegativeArraySizeException { if(componentType == null) throw new NullPointerException(); if(size < 0) throw new NegativeArraySizeException(); VM_Array arrayType = java.lang.JikesRVMSupport.getTypeForClass(componentType).getArrayTypeForElementType(); if (!arrayType.isInitialized()) { arrayType.resolve(); arrayType.instantiate(); arrayType.initialize(); } Object[] tib = arrayType.getTypeInformationBlock(); int allocator = VM_Interface.pickAllocator(arrayType); Object obj = VM_Runtime.resolvedNewArray(size, arrayType.getInstanceSize(size), tib, allocator); return obj; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3ff73708271efdbc2a3fe313929a5cb97f5bda9b/ReflectionSupport.java/buggy/rvm/src/vm/libSupport/ReflectionSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 5984, 12, 797, 20065, 16, 509, 963, 13, 1216, 30716, 1076, 1225, 503, 288, 565, 309, 12, 4652, 559, 422, 446, 13, 1377, 604, 394, 10108, 5621, 565, 309, 12, 1467, 411, 374, 13, 1377, 604, 394, 30716, 1076, 1225, 503, 5621, 565, 8251, 67, 1076, 526, 559, 273, 2252, 18, 4936, 18, 46, 25235, 54, 7397, 6289, 18, 588, 559, 22581, 12, 4652, 559, 2934, 588, 27182, 1290, 17481, 5621, 565, 309, 16051, 1126, 559, 18, 291, 11459, 10756, 288, 1377, 526, 559, 18, 10828, 5621, 1377, 526, 559, 18, 24628, 3840, 5621, 1377, 526, 559, 18, 11160, 5621, 565, 289, 565, 1033, 8526, 268, 495, 273, 526, 559, 18, 588, 559, 5369, 1768, 5621, 565, 509, 26673, 273, 8251, 67, 1358, 18, 11503, 21156, 12, 1126, 559, 1769, 565, 1033, 282, 1081, 273, 8251, 67, 5576, 18, 11792, 1908, 1076, 12, 1467, 16, 526, 559, 18, 588, 1442, 1225, 12, 1467, 3631, 268, 495, 16, 26673, 1769, 565, 327, 1081, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 5984, 12, 797, 20065, 16, 509, 963, 13, 1216, 30716, 1076, 1225, 503, 288, 565, 309, 12, 4652, 559, 422, 446, 13, 1377, 604, 394, 10108, 5621, 565, 309, 12, 1467, 411, 374, 13, 1377, 604, 394, 30716, 1076, 1225, 503, 5621, 565, 8251, 67, 1076, 526, 559, 273, 2252, 18, 4936, 18, 46, 25235, 54, 7397, 6289, 18, 588, 559, 22581, 12, 4652, 559, 2934, 588, 27182, 1290, 17481, 5621, 565, 309, 16051, 1126, 559, 18, 291, 11459, 10756, 288, 1377, 526, 559, 18, 10828, 5621, 1377, 526, 559, 18, 24628, 3840, 5621, 1377, 526, 559, 18, 11160, 5621, 565, 289, 565, 1033, 8526, 268, 495, 273, 526, 559, 18, 588, 559, 5369, 1768, 2 ]
addModifyButtons(composite);
listViewer.addCheckStateListener(new ICheckStateListener() { public void checkStateChanged(CheckStateChangedEvent event) { buttonWindowSet.setSelection(false); buttonNoSet.setSelection(false); buttonSelectedSets.setSelection(true); } }); addModifyButtons(composite);
protected Control createDialogArea(Composite parent) { Composite composite = (Composite) super.createDialogArea(parent); createMessageArea(composite); modeCombo = new Combo(composite, SWT.READ_ONLY | SWT.DROP_DOWN); modeCombo.setItems(new String[] { WorkbenchMessages.WindowWorkingSets, WorkbenchMessages.NoWorkingSet, WorkbenchMessages.SelectedWorkingSets }); modeCombo.select(getInitialComboSelection()); modeCombo.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { switch (modeCombo.getSelectionIndex()) { case 0: case 1: updateButtonAvailability(); listViewer.getTable().setVisible(false); break; case 2: listViewer.getTable().setVisible(true); break; } } }); GridData data = new GridData(GridData.FILL_HORIZONTAL); modeCombo.setLayoutData(data); listViewer = CheckboxTableViewer.newCheckList(composite, SWT.BORDER | SWT.MULTI); data = new GridData(GridData.FILL_BOTH); data.heightHint = SIZING_SELECTION_WIDGET_HEIGHT; data.widthHint = SIZING_SELECTION_WIDGET_WIDTH; listViewer.getTable().setVisible(getInitialComboSelection() == 2); listViewer.getTable().setLayoutData(data); listViewer.getTable().setFont(parent.getFont()); listViewer.setLabelProvider(labelProvider); listViewer.setContentProvider(contentProvider); listViewer.setSorter(new WorkbenchViewerSorter()); listViewer.addFilter(new WorkingSetFilter(getSupportedWorkingSetIds())); listViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { handleSelectionChanged(); } }); listViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { okPressed(); } }); addModifyButtons(composite); listViewer.setInput(Arrays.asList(WorkbenchPlugin.getDefault() .getWorkingSetManager().getWorkingSets())); List initialElementSelections = getInitialElementSelections(); if (multiSelect) { listViewer.setCheckedElements(initialElementSelections.toArray()); } else if (!initialElementSelections.isEmpty()) { IWorkingSet set = (IWorkingSet) initialElementSelections.get(0); if (set instanceof AggregateWorkingSet) { AggregateWorkingSet aggregate = (AggregateWorkingSet) set; listViewer.setCheckedElements(aggregate.getComponents()); } else { listViewer.setCheckedElements(initialElementSelections.toArray()); } } return composite; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c57195ee1ed40b48c2b45edc520702fb1b1e39fd/WorkingSetSelectionDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkingSetSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8888, 752, 6353, 5484, 12, 9400, 982, 13, 288, 3639, 14728, 9635, 273, 261, 9400, 13, 2240, 18, 2640, 6353, 5484, 12, 2938, 1769, 3639, 23836, 5484, 12, 27676, 1769, 7734, 1965, 16156, 273, 394, 1286, 1075, 12, 27676, 16, 348, 8588, 18, 6949, 67, 10857, 571, 348, 8588, 18, 18768, 67, 12711, 1769, 202, 202, 3188, 16156, 18, 542, 3126, 12, 2704, 514, 8526, 288, 4147, 22144, 5058, 18, 3829, 14836, 2785, 16, 9506, 202, 2421, 22144, 5058, 18, 2279, 14836, 694, 16, 9506, 202, 2421, 22144, 5058, 18, 7416, 14836, 2785, 15549, 202, 202, 3188, 16156, 18, 4025, 12, 588, 4435, 16156, 6233, 10663, 202, 202, 3188, 16156, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 9610, 261, 3188, 16156, 18, 588, 6233, 1016, 10756, 288, 9506, 202, 3593, 374, 30, 9506, 202, 3593, 404, 30, 6862, 202, 2725, 3616, 10427, 5621, 6862, 202, 1098, 18415, 18, 588, 1388, 7675, 542, 6207, 12, 5743, 1769, 6862, 202, 8820, 31, 9506, 202, 3593, 576, 30, 6862, 202, 1098, 18415, 18, 588, 1388, 7675, 542, 6207, 12, 3767, 1769, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 22938, 3639, 7145, 751, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 3639, 1965, 16156, 18, 542, 3744, 751, 12, 892, 1769, 7734, 666, 18415, 273, 29213, 1388, 18415, 18, 2704, 1564, 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, 8888, 752, 6353, 5484, 12, 9400, 982, 13, 288, 3639, 14728, 9635, 273, 261, 9400, 13, 2240, 18, 2640, 6353, 5484, 12, 2938, 1769, 3639, 23836, 5484, 12, 27676, 1769, 7734, 1965, 16156, 273, 394, 1286, 1075, 12, 27676, 16, 348, 8588, 18, 6949, 67, 10857, 571, 348, 8588, 18, 18768, 67, 12711, 1769, 202, 202, 3188, 16156, 18, 542, 3126, 12, 2704, 514, 8526, 288, 4147, 22144, 5058, 18, 3829, 14836, 2785, 16, 9506, 202, 2421, 22144, 5058, 18, 2279, 14836, 694, 16, 9506, 202, 2421, 22144, 5058, 18, 7416, 14836, 2785, 15549, 202, 202, 3188, 16156, 18, 4025, 12, 588, 4435, 16156, 6233, 10663, 202, 202, 3188, 16156, 18, 1289, 6233, 2223, 12, 2704, 12977, 2 ]
angleData = pc.getAngleData(atomConnected[j].getID(), molecule.getAtomAt(i).getID(), atomConnected[k].getID());
angleData = pc.getAngleData(atomConnected[j].getAtomTypeName(), molecule.getAtomAt(i).getAtomTypeName(), atomConnected[k].getAtomTypeName());
public void setMMFF94AngleBendingParameters(AtomContainer molecule, Hashtable parameterSet, boolean angleBendingFlag ) throws Exception { org.openscience.cdk.interfaces.Atom[] atomConnected = null; angleBending=angleBendingFlag; for (int i = 0; i < molecule.getAtomCount(); i++) { atomConnected = molecule.getConnectedAtoms(molecule.getAtomAt(i)); if (atomConnected.length > 1) { for (int j = 0; j < atomConnected.length; j++) { for (int k = j+1; k < atomConnected.length; k++) { angleNumber += 1; } } } } //logger.debug("angleNumber = " + angleNumber); Vector angleData = null; MMFF94ParametersCall pc = new MMFF94ParametersCall(); pc.initilize(parameterSet); v0 = new double[angleNumber]; k2 = new double[angleNumber]; k3 = new double[angleNumber]; k4 = new double[angleNumber]; angleAtomPosition = new int[angleNumber][]; int l = -1; for (int i = 0; i < molecule.getAtomCount(); i++) { atomConnected = molecule.getConnectedAtoms(molecule.getAtomAt(i)); if (atomConnected.length > 1) { for (int j = 0; j < atomConnected.length; j++) { for (int k = j+1; k < atomConnected.length; k++) { angleData = pc.getAngleData(atomConnected[j].getID(), molecule.getAtomAt(i).getID(), atomConnected[k].getID()); //logger.debug("angleData : " + angleData); l += 1; v0[l] = ((Double) angleData.get(0)).doubleValue(); k2[l] = ((Double) angleData.get(1)).doubleValue(); k3[l] = ((Double) angleData.get(2)).doubleValue(); //k4[l] = ((Double) angleData.get(3)).doubleValue(); //logger.debug("v0[" + l + "] = " + v0[l]); //logger.debug("k2[" + l + "] = " + k2[l]); //logger.debug("k3[" + l + "] = " + k3[l]); //logger.debug("k4[" + l + "] = " + k4[l]); angleAtomPosition[l] = new int[3]; angleAtomPosition[l][0] = molecule.getAtomNumber(atomConnected[j]); angleAtomPosition[l][1] = i; angleAtomPosition[l][2] = molecule.getAtomNumber(atomConnected[k]); } } } } v = new double[angleNumber]; deltav = new double[angleNumber]; }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/660e7fff9f6498248ec7df3d4da91b5f9020328f/AngleBending.java/clean/src/org/openscience/cdk/modeling/forcefield/AngleBending.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 8206, 2246, 11290, 8467, 38, 2846, 2402, 12, 3641, 2170, 13661, 16, 18559, 1569, 694, 16, 1250, 5291, 38, 2846, 4678, 262, 1216, 1185, 288, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 3179, 8932, 273, 446, 31, 202, 202, 4341, 38, 2846, 33, 4341, 38, 2846, 4678, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 13661, 18, 588, 3641, 1380, 5621, 277, 27245, 288, 1082, 202, 7466, 8932, 273, 13661, 18, 588, 8932, 14280, 12, 81, 10545, 18, 588, 3641, 861, 12, 77, 10019, 1082, 202, 430, 261, 7466, 8932, 18, 2469, 405, 404, 13, 288, 9506, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 3179, 8932, 18, 2469, 31, 525, 27245, 288, 6862, 202, 1884, 261, 474, 417, 273, 525, 15, 21, 31, 417, 411, 3179, 8932, 18, 2469, 31, 417, 27245, 288, 25083, 202, 4341, 1854, 1011, 404, 31, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 4901, 18, 4148, 2932, 4341, 1854, 273, 315, 397, 5291, 1854, 1769, 202, 202, 5018, 5291, 751, 273, 446, 31, 202, 202, 8206, 2246, 11290, 2402, 1477, 6125, 273, 394, 18295, 2246, 11290, 2402, 1477, 5621, 202, 202, 2436, 18, 2738, 330, 554, 12, 6775, 694, 1769, 9506, 202, 90, 20, 273, 394, 1645, 63, 4341, 1854, 15533, 202, 202, 79, 22, 273, 394, 1645, 63, 4341, 1854, 15533, 202, 202, 79, 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, 444, 8206, 2246, 11290, 8467, 38, 2846, 2402, 12, 3641, 2170, 13661, 16, 18559, 1569, 694, 16, 1250, 5291, 38, 2846, 4678, 262, 1216, 1185, 288, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 3179, 8932, 273, 446, 31, 202, 202, 4341, 38, 2846, 33, 4341, 38, 2846, 4678, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 13661, 18, 588, 3641, 1380, 5621, 277, 27245, 288, 1082, 202, 7466, 8932, 273, 13661, 18, 588, 8932, 14280, 12, 81, 10545, 18, 588, 3641, 861, 12, 77, 10019, 1082, 202, 430, 261, 7466, 8932, 18, 2469, 405, 404, 13, 288, 9506, 202, 1884, 261, 474, 525, 2 ]
if(security != null){ security.checkPackageAccess(className);
if (security != null) { final int lastDot = className.lastIndexOf("."); String packageName = className; if (lastDot != -1) packageName = className.substring(0, lastDot); security.checkPackageAccess(packageName);
static Class findProviderClass(String className, ClassLoader cl, boolean doFallback) throws ClassNotFoundException, ConfigurationError { //throw security exception if the calling thread is not allowed to access the package //restrict the access to package as speicified in java.security policy SecurityManager security = System.getSecurityManager(); try{ if(security != null){ security.checkPackageAccess(className); } }catch(SecurityException e){ throw e ; } Class providerClass; if (cl == null) { // XXX Use the bootstrap ClassLoader. There is no way to // load a class using the bootstrap ClassLoader that works // in both JDK 1.1 and Java 2. However, this should still // work b/c the following should be true: // // (cl == null) iff current ClassLoader == null // // Thus Class.forName(String) will use the current // ClassLoader which will be the bootstrap ClassLoader. providerClass = Class.forName(className); } else { try { providerClass = cl.loadClass(className); } catch (ClassNotFoundException x) { if (doFallback) { // Fall back to current classloader ClassLoader current = ObjectFactory.class.getClassLoader(); if (current == null) { providerClass = Class.forName(className); } else if (cl != current) { cl = current; providerClass = cl.loadClass(className); } else { throw x; } } else { throw x; } } } return providerClass; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/8a2ca9ce0c387fe03d18a3cca9f1346f4e40962f/ObjectFactory.java/clean/src/org/apache/html/dom/ObjectFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1659, 1104, 2249, 797, 12, 780, 2658, 16, 9403, 927, 16, 4766, 1377, 1250, 741, 12355, 13, 3639, 1216, 10403, 16, 27507, 565, 288, 3639, 368, 12849, 4373, 1520, 309, 326, 4440, 2650, 353, 486, 2935, 358, 2006, 326, 2181, 3639, 368, 30604, 326, 2006, 358, 2181, 487, 17785, 335, 939, 316, 2252, 18, 7462, 3329, 3639, 6036, 1318, 4373, 273, 2332, 18, 588, 4368, 1318, 5621, 3639, 775, 95, 5411, 309, 12, 7462, 480, 446, 15329, 7734, 4373, 18, 1893, 2261, 1862, 12, 12434, 1769, 5411, 289, 3639, 289, 14683, 12, 24918, 425, 15329, 5411, 604, 425, 274, 3639, 289, 3639, 1659, 2893, 797, 31, 3639, 309, 261, 830, 422, 446, 13, 288, 5411, 368, 11329, 2672, 326, 7065, 9403, 18, 225, 6149, 353, 1158, 4031, 358, 5411, 368, 1262, 279, 667, 1450, 326, 7065, 9403, 716, 6330, 5411, 368, 316, 3937, 24387, 404, 18, 21, 471, 5110, 576, 18, 225, 10724, 16, 333, 1410, 4859, 5411, 368, 1440, 324, 19, 71, 326, 3751, 1410, 506, 638, 30, 5411, 368, 5411, 368, 261, 830, 422, 446, 13, 21437, 783, 9403, 422, 446, 5411, 368, 5411, 368, 22073, 1659, 18, 1884, 461, 12, 780, 13, 903, 999, 326, 783, 5411, 368, 9403, 1492, 903, 506, 326, 7065, 9403, 18, 5411, 2893, 797, 273, 1659, 18, 1884, 461, 12, 12434, 1769, 3639, 289, 469, 288, 5411, 775, 288, 7734, 2893, 797, 273, 927, 18, 945, 797, 12, 12434, 1769, 5411, 289, 1044, 261, 797, 3990, 619, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1659, 1104, 2249, 797, 12, 780, 2658, 16, 9403, 927, 16, 4766, 1377, 1250, 741, 12355, 13, 3639, 1216, 10403, 16, 27507, 565, 288, 3639, 368, 12849, 4373, 1520, 309, 326, 4440, 2650, 353, 486, 2935, 358, 2006, 326, 2181, 3639, 368, 30604, 326, 2006, 358, 2181, 487, 17785, 335, 939, 316, 2252, 18, 7462, 3329, 3639, 6036, 1318, 4373, 273, 2332, 18, 588, 4368, 1318, 5621, 3639, 775, 95, 5411, 309, 12, 7462, 480, 446, 15329, 7734, 4373, 18, 1893, 2261, 1862, 12, 12434, 1769, 5411, 289, 3639, 289, 14683, 12, 24918, 425, 15329, 5411, 604, 425, 274, 3639, 289, 3639, 1659, 2893, 797, 31, 3639, 309, 261, 830, 422, 446, 13, 288, 5411, 368, 11329, 2 ]
iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte) index, iCodeTop); iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop);
iCodeTop = addByte(TokenStream.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); iCodeTop = addByte(TokenStream.TYPEOF, iCodeTop);
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case TokenStream.FUNCTION : { iCodeTop = addByte((byte) TokenStream.CLOSURE, iCodeTop); Node fn = (Node) node.getProp(Node.FUNCTION_PROP); Short index = (Short) fn.getProp(Node.FUNCTION_PROP); iCodeTop = addByte((byte)(index.shortValue() >> 8), iCodeTop); iCodeTop = addByte((byte)(index.shortValue() & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != TokenStream.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNextSibling(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.LABEL : case TokenStream.WITH : case TokenStream.LOOP : case TokenStream.DEFAULT : case TokenStream.BLOCK : case TokenStream.VOID : case TokenStream.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); } break; case TokenStream.COMMA : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); break; case TokenStream.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; /* reminder - below we construct new GOTO nodes that aren't linked into the tree just for the purpose of having a node to pass to the addGoto routine. (Parallels codegen here). Seems unnecessary. */ Vector cases = (Vector) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.elementAt(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.SHEQ, iCodeTop); Node target = new Node(TokenStream.TARGET); thisCase.addChildAfter(target, first); Node branch = new Node(TokenStream.IFEQ); branch.putProp(Node.TARGET_PROP, target); iCodeTop = addGoto(branch, TokenStream.IFEQ, iCodeTop); itsStackDepth--; } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(TokenStream.TARGET); defaultNode.getFirstChild().addChildToFront(defaultTarget); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, defaultTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); Node branch = new Node(TokenStream.GOTO); branch.putProp(Node.TARGET_PROP, breakTarget); iCodeTop = addGoto(branch, TokenStream.GOTO, iCodeTop); } break; case TokenStream.TARGET : { Object lblObect = node.getProp(Node.LABEL_PROP); if (lblObect == null) { int label = markLabel(acquireLabel(), iCodeTop); node.putProp(Node.LABEL_PROP, new Integer(label)); } else { int label = ((Integer)lblObect).intValue(); markLabel(label, iCodeTop); } // if this target has a FINALLY_PROP, it is a JSR target // and so has a PC value on the top of the stack if (node.getProp(Node.FINALLY_PROP) != null) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.EQOP : case TokenStream.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int op = node.getInt(); if (version == Context.VERSION_1_2) { if (op == TokenStream.EQ) op = TokenStream.SHEQ; else if (op == TokenStream.NE) op = TokenStream.SHNE; } iCodeTop = addByte((byte) op, iCodeTop); itsStackDepth--; } break; case TokenStream.NEW : case TokenStream.CALL : { if (itsSourceFile != null && (itsData.itsSourceFile == null || ! itsSourceFile.equals(itsData.itsSourceFile))) itsData.itsSourceFile = itsSourceFile; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); int childCount = 0; short nameIndex = -1; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (nameIndex == -1) { if (child.getType() == TokenStream.NAME) nameIndex = (short)(itsData.itsStringTableIndex - 1); else if (child.getType() == TokenStream.GETPROP) nameIndex = (short)(itsData.itsStringTableIndex - 1); } child = child.getNextSibling(); childCount++; } if (node.getProp(Node.SPECIALCALL_PROP) != null) { // embed line number and source filename iCodeTop = addByte((byte) TokenStream.CALLSPECIAL, iCodeTop); iCodeTop = addByte((byte)(itsLineNumber >> 8), iCodeTop); iCodeTop = addByte((byte)(itsLineNumber & 0xff), iCodeTop); iCodeTop = addString(itsSourceFile, iCodeTop); } else { iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addByte((byte)(nameIndex >> 8), iCodeTop); iCodeTop = addByte((byte)(nameIndex & 0xFF), iCodeTop); } itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == TokenStream.NEW) childCount -= 1; else childCount -= 2; iCodeTop = addByte((byte)(childCount >> 8), iCodeTop); iCodeTop = addByte((byte)(childCount & 0xff), iCodeTop); if (childCount > itsData.itsMaxArgs) itsData.itsMaxArgs = childCount; iCodeTop = addByte((byte)TokenStream.SOURCEFILE, iCodeTop); } break; case TokenStream.NEWLOCAL : case TokenStream.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); } break; case TokenStream.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) iCodeTop = addByte((byte) TokenStream.RETSUB, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); } break; case TokenStream.USETEMP : { iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.IFEQ : case TokenStream.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case TokenStream.GOTO : iCodeTop = addGoto(node, (byte) type, iCodeTop); break; case TokenStream.JSR : { /* mark the target with a FINALLY_PROP to indicate that it will have an incoming PC value on the top of the stack. !!! This only works if the target follows the JSR in the tree. !!! */ Node target = (Node)(node.getProp(Node.TARGET_PROP)); target.putProp(Node.FINALLY_PROP, node); iCodeTop = addGoto(node, TokenStream.GOSUB, iCodeTop); } break; case TokenStream.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseTarget = acquireLabel(); iCodeTop = addGoto(falseTarget, TokenStream.IFNE, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(falseTarget, iCodeTop); } break; case TokenStream.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueTarget = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); itsStackDepth--; child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); markLabel(trueTarget, iCodeTop); } break; case TokenStream.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.GETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.GETSCOPEPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } } break; case TokenStream.DELPROP : case TokenStream.BITAND : case TokenStream.BITOR : case TokenStream.BITXOR : case TokenStream.LSH : case TokenStream.RSH : case TokenStream.URSH : case TokenStream.ADD : case TokenStream.SUB : case TokenStream.MOD : case TokenStream.DIV : case TokenStream.MUL : case TokenStream.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.CONVERT : { iCodeTop = generateICode(child, iCodeTop); Object toType = node.getProp(Node.TYPE_PROP); if (toType == ScriptRuntime.NumberClass) iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); else badTree(node); } break; case TokenStream.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getInt()) { case TokenStream.VOID : iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); break; case TokenStream.NOT : { int trueTarget = acquireLabel(); int beyond = acquireLabel(); iCodeTop = addGoto(trueTarget, TokenStream.IFEQ, iCodeTop); iCodeTop = addByte((byte) TokenStream.TRUE, iCodeTop); iCodeTop = addGoto(beyond, TokenStream.GOTO, iCodeTop); markLabel(trueTarget, iCodeTop); iCodeTop = addByte((byte) TokenStream.FALSE, iCodeTop); markLabel(beyond, iCodeTop); } break; case TokenStream.BITNOT : iCodeTop = addByte((byte) TokenStream.BITNOT, iCodeTop); break; case TokenStream.TYPEOF : iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); break; case TokenStream.SUB : iCodeTop = addByte((byte) TokenStream.NEG, iCodeTop); break; case TokenStream.ADD : iCodeTop = addByte((byte) TokenStream.POS, iCodeTop); break; default: badTree(node); break; } break; case TokenStream.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) iCodeTop = addByte((byte) TokenStream.SETPROTO, iCodeTop); else if (s.equals("__parent__")) iCodeTop = addByte((byte) TokenStream.SETPARENT, iCodeTop); else badTree(node); } else { child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETPROP, iCodeTop); itsStackDepth -= 2; } } break; case TokenStream.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth -= 2; break; case TokenStream.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case TokenStream.TYPEOF : { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = itsVariableTable.getOrdinal(name); if (index == -1) { iCodeTop = addByte((byte) TokenStream.TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte) index, iCodeTop); iCodeTop = addByte((byte) TokenStream.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.GETPARENT, iCodeTop); break; case TokenStream.GETBASE : case TokenStream.BINDNAME : case TokenStream.NAME : case TokenStream.STRING : iCodeTop = addByte((byte) type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.INC : case TokenStream.DEC : { int childType = child.getType(); switch (childType) { case TokenStream.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); itsStackDepth--; } else { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.VARINC : TokenStream.VARDEC), iCodeTop); int i = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte)i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.GETPROP : case TokenStream.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNextSibling(); iCodeTop = generateICode(getPropChild, iCodeTop); if (childType == TokenStream.GETPROP) iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.PROPINC : TokenStream.PROPDEC), iCodeTop); else iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.ELEMINC : TokenStream.ELEMDEC), iCodeTop); itsStackDepth--; } break; default : { iCodeTop = addByte((byte) (type == TokenStream.INC ? TokenStream.NAMEINC : TokenStream.NAMEDEC), iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } } break; case TokenStream.NUMBER : { double num = node.getDouble(); if (num == 0.0) { iCodeTop = addByte((byte) TokenStream.ZERO, iCodeTop); } else if (num == 1.0) { iCodeTop = addByte((byte) TokenStream.ONE, iCodeTop); } else { iCodeTop = addByte((byte) TokenStream.NUMBER, iCodeTop); iCodeTop = addNumber(num, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case TokenStream.POP : case TokenStream.POPV : iCodeTop = updateLineNumber(node, iCodeTop); case TokenStream.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth--; break; case TokenStream.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.NEWSCOPE : iCodeTop = addByte((byte) type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.LEAVEWITH : iCodeTop = addByte((byte) type, iCodeTop); break; case TokenStream.TRY : { itsTryDepth++; if (itsTryDepth > itsData.itsMaxTryDepth) itsData.itsMaxTryDepth = itsTryDepth; Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); if (catchTarget == null) { iCodeTop = addByte((byte) TokenStream.TRY, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); } else iCodeTop = addGoto(node, TokenStream.TRY, iCodeTop); int finallyHandler = 0; if (finallyTarget != null) { finallyHandler = acquireLabel(); int theLabel = finallyHandler & 0x7FFFFFFF; itsLabelTable[theLabel].addFixup(iCodeTop); } iCodeTop = addByte((byte)0, iCodeTop); iCodeTop = addByte((byte)0, iCodeTop); Node lastChild = null; /* when we encounter the child of the catchTarget, we set the stackDepth to 1 to account for the incoming exception object. */ boolean insertedEndTry = false; while (child != null) { if (catchTarget != null && lastChild == catchTarget) { itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } /* When the following child is the catchTarget (or the finallyTarget if there are no catches), the current child is the goto at the end of the try statemets, we need to emit the endtry before that goto. */ Node nextSibling = child.getNextSibling(); if (!insertedEndTry && nextSibling != null && (nextSibling == catchTarget || nextSibling == finallyTarget)) { iCodeTop = addByte((byte) TokenStream.ENDTRY, iCodeTop); insertedEndTry = true; } iCodeTop = generateICode(child, iCodeTop); lastChild = child; child = child.getNextSibling(); } itsStackDepth = 0; if (finallyTarget != null) { // normal flow goes around the finally handler stublet int skippy = acquireLabel(); iCodeTop = addGoto(skippy, TokenStream.GOTO, iCodeTop); // on entry the stack will have the exception object markLabel(finallyHandler, iCodeTop); itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addByte((byte) TokenStream.NEWTEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.POP, iCodeTop); Integer finallyLabel = (Integer)(finallyTarget.getProp(Node.LABEL_PROP)); iCodeTop = addGoto(finallyLabel.intValue(), TokenStream.GOSUB, iCodeTop); iCodeTop = addByte((byte) TokenStream.USETEMP, iCodeTop); iCodeTop = addByte((byte)theLocalSlot, iCodeTop); iCodeTop = addByte((byte) TokenStream.JTHROW, iCodeTop); itsStackDepth = 0; markLabel(skippy, iCodeTop); } itsTryDepth--; } break; case TokenStream.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.THROW, iCodeTop); itsStackDepth--; break; case TokenStream.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) iCodeTop = generateICode(child, iCodeTop); else { iCodeTop = addByte((byte) TokenStream.UNDEFINED, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } iCodeTop = addGoto(node, TokenStream.RETURN, iCodeTop); itsStackDepth--; break; case TokenStream.GETVAR : { String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addByte((byte) TokenStream.SCOPE, iCodeTop); iCodeTop = addByte((byte) TokenStream.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addByte((byte) TokenStream.GETPROP, iCodeTop); itsStackDepth--; } else { int index = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.GETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } } break; case TokenStream.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(TokenStream.BINDNAME); node.setType(TokenStream.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNextSibling(); iCodeTop = generateICode(child, iCodeTop); int index = itsVariableTable.getOrdinal(name); iCodeTop = addByte((byte) TokenStream.SETVAR, iCodeTop); iCodeTop = addByte((byte)index, iCodeTop); } } break; case TokenStream.PRIMARY: iCodeTop = addByte((byte) node.getInt(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case TokenStream.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addByte((byte) TokenStream.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case TokenStream.ENUMNEXT : { iCodeTop = addByte((byte) TokenStream.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; case TokenStream.ENUMDONE : // could release the local here?? break; case TokenStream.OBJECT : { Node regexp = (Node) node.getProp(Node.REGEXP_PROP); int index = ((Integer)(regexp.getProp( Node.REGEXP_PROP))).intValue(); iCodeTop = addByte((byte) TokenStream.OBJECT, iCodeTop); iCodeTop = addByte((byte)(index >> 8), iCodeTop); iCodeTop = addByte((byte)(index & 0xff), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; default : badTree(node); break; } return iCodeTop; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/f6c346cc7699c007b0b9b27d9c3cdb5446052c64/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 13491, 648, 3155, 1228, 18, 7788, 294, 288, 4766, 18701, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 13, 3155, 1228, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 2029, 2295, 273, 261, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 7925, 770, 273, 261, 4897, 13, 2295, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 21433, 1615, 18, 6620, 620, 1435, 1671, 1725, 3631, 277, 1085, 3401, 1769, 10792, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 21433, 1615, 18, 6620, 620, 1435, 473, 374, 5297, 3631, 277, 1085, 3401, 1769, 4766, 3639, 2097, 2624, 6148, 9904, 31, 10792, 309, 261, 1282, 2624, 6148, 405, 2097, 751, 18, 1282, 2747, 2624, 13, 13491, 2097, 751, 18, 1282, 2747, 2624, 273, 2097, 2624, 6148, 31, 7734, 289, 7734, 898, 31, 5411, 648, 3155, 1228, 18, 10885, 294, 7734, 277, 1085, 3401, 273, 1089, 31063, 12, 2159, 16, 277, 1085, 3401, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 309, 261, 3624, 18, 588, 559, 1435, 480, 3155, 1228, 18, 7788, 13, 7682, 277, 1085, 3401, 273, 2103, 45, 1085, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 13491, 648, 3155, 1228, 18, 7788, 294, 288, 4766, 18701, 277, 1085, 3401, 273, 527, 3216, 12443, 7229, 13, 3155, 1228, 18, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 2029, 2295, 273, 261, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 7925, 770, 273, 261, 4897, 13, 2295, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 277, 1085, 3401, 273, 527, 2 ]
previewLabel.setForeground( ColorManager.getColor( color .getRGB( ) ) );
previewLabel.setForeground( ColorManager.getColor( color.getRGB( ) ) );
protected Control createContents( Composite parent ) { GridData gdata; GridLayout glayout; createTitleArea( parent ); Composite composite = new Composite( parent, 0 ); glayout = new GridLayout( ); glayout.marginHeight = 0; glayout.marginWidth = 0; glayout.verticalSpacing = 0; composite.setLayout( glayout ); composite.setLayoutData( new GridData( GridData.FILL_BOTH ) ); applyDialogFont( composite ); initializeDialogUnits( composite ); Composite innerParent = (Composite) createDialogArea( composite ); createButtonBar( composite ); Label lb = new Label( innerParent, SWT.NONE ); lb.setText( Messages .getString( "HighlightRuleBuilderDialog.text.Condition" ) ); //$NON-NLS-1$ Composite condition = new Composite( innerParent, SWT.NONE ); condition.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); glayout = new GridLayout( 5, false ); condition.setLayout( glayout ); expression = new Combo( condition, SWT.NONE ); gdata = new GridData( ); gdata.widthHint = 100; expression.setLayoutData( gdata ); fillExpression( expression ); expression.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { if ( expression.getText( ).equals( VALUE_OF_THIS_DATA_ITEM ) && designHandle instanceof DataItemHandle ) { expression.setText( DEUtil .resolveNull( ( (DataItemHandle) designHandle ) .getValueExpr( ) ) ); } updateButtons( ); } } ); expression.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { updateButtons( ); } } ); Button expBuilder = new Button( condition, SWT.PUSH ); expBuilder.setText( "..." ); //$NON-NLS-1$ gdata = new GridData( ); gdata.heightHint = 20; gdata.widthHint = 20; expBuilder.setLayoutData( gdata ); expBuilder.setToolTipText( Messages .getString( "HighlightRuleBuilderDialog.tooltip.ExpBuilder" ) ); //$NON-NLS-1$ expBuilder.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { editValue( expression ); } } ); operator = new Combo( condition, SWT.READ_ONLY ); for ( int i = 0; i < OPERATOR.length; i++ ) { operator.add( OPERATOR[i][0] ); } operator.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { String value = getValueForOperator( operator.getText( ) ); int vv = determineValueVisible( value ); if ( vv == 0 ) { value1.setVisible( false ); value2.setVisible( false ); valBuilder1.setVisible( false ); valBuilder2.setVisible( false ); andLable.setVisible( false ); } else if ( vv == 1 ) { value1.setVisible( true ); valBuilder1.setVisible( true ); value2.setVisible( false ); valBuilder2.setVisible( false ); andLable.setVisible( false ); } else if ( vv == 2 ) { value1.setVisible( true ); value2.setVisible( true ); valBuilder1.setVisible( true ); valBuilder2.setVisible( true ); andLable.setVisible( true ); } updateButtons( ); } } ); value1 = createText( condition ); value1.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { updateButtons( ); } } ); valBuilder1 = new Button( condition, SWT.PUSH ); valBuilder1.setText( "..." ); //$NON-NLS-1$ gdata = new GridData( ); gdata.heightHint = 20; gdata.widthHint = 20; valBuilder1.setLayoutData( gdata ); valBuilder1.setToolTipText( Messages .getString( "HighlightRuleBuilderDialog.tooltip.ExpBuilder" ) ); //$NON-NLS-1$ valBuilder1.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { editValue( value1 ); } } ); createDummy( condition, 3 ); andLable = new Label( condition, SWT.NONE ); andLable.setText( Messages .getString( "HighlightRuleBuilderDialog.text.AND" ) ); //$NON-NLS-1$ andLable.setVisible( false ); createDummy( condition, 1 ); createDummy( condition, 3 ); value2 = createText( condition ); value2.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { updateButtons( ); } } ); value2.setVisible( false ); valBuilder2 = new Button( condition, SWT.PUSH ); valBuilder2.setText( "..." ); //$NON-NLS-1$ gdata = new GridData( ); gdata.heightHint = 20; gdata.widthHint = 20; valBuilder2.setLayoutData( gdata ); valBuilder2.setToolTipText( Messages .getString( "HighlightRuleBuilderDialog.tooltip.ExpBuilder" ) ); //$NON-NLS-1$ valBuilder2.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { editValue( value2 ); } } ); valBuilder2.setVisible( false ); if ( operator.getItemCount( ) > 0 ) { operator.select( 0 ); } lb = new Label( innerParent, SWT.NONE ); lb.setText( Messages .getString( "HighlightRuleBuilderDialog.text.Format" ) ); //$NON-NLS-1$ Composite format = new Composite( innerParent, SWT.NONE ); format.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); glayout = new GridLayout( 7, false ); format.setLayout( glayout ); lb = new Label( format, 0 ); lb .setText( Messages .getString( "HighlightRuleBuilderDialog.text.Font" ) ); //$NON-NLS-1$ lb = new Label( format, 0 ); lb .setText( Messages .getString( "HighlightRuleBuilderDialog.text.Size" ) ); //$NON-NLS-1$ lb = new Label( format, 0 ); lb.setText( Messages .getString( "HighlightRuleBuilderDialog.text.Color" ) ); //$NON-NLS-1$ createDummy( format, 4 ); font = new Combo( format, SWT.READ_ONLY ); gdata = new GridData( ); gdata.widthHint = 100; font.setLayoutData( gdata ); IChoiceSet fontSet = ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, StyleHandle.FONT_FAMILY_PROP ); font.setData( fontSet ); font.setItems( ChoiceSetFactory.getDisplayNamefromChoiceSet( fontSet, new AlphabeticallyComparator( ) ) ); if ( SYSTEM_FONT_LIST != null && SYSTEM_FONT_LIST.length > 0 ) { for ( int i = 0; i < SYSTEM_FONT_LIST.length; i++ ) { font.add( SYSTEM_FONT_LIST[i] ); } } font.add( DEFAULT_CHOICE, 0 ); font.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { updatePreview( ); } } ); if ( font.getItemCount( ) > 0 ) { font.select( 0 ); } size = new FontSizeBuilder( format, SWT.None ); if ( designHandle != null ) { size.setDefaultUnit( designHandle.getPropertyHandle( StyleHandle.FONT_SIZE_PROP ).getDefaultUnit( ) ); } gdata = new GridData( ); gdata.widthHint = 120; size.setLayoutData( gdata ); size.setFontSizeValue( null ); size.addListener( SWT.Modify, new Listener( ) { public void handleEvent( Event event ) { updatePreview( ); } } ); color = new ColorBuilder( format, 0 ); gdata = new GridData( ); gdata.widthHint = 50; color.setLayoutData( gdata ); color.setChoiceSet( ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, StyleHandle.COLOR_PROP ) ); color.setRGB( null ); color.addListener( SWT.Modify, new Listener( ) { public void handleEvent( Event event ) { previewLabel.setForeground( ColorManager.getColor( color .getRGB( ) ) ); previewLabel.redraw( ); } } ); Composite fstyle = new Composite( format, 0 ); gdata = new GridData( ); gdata.horizontalSpan = 4; fstyle.setLayoutData( gdata ); fstyle.setLayout( new GridLayout( 4, false ) ); bold = createToggleButton( fstyle ); bold.setImage( ReportPlatformUIImages .getImage( AttributeConstant.FONT_WIDTH ) ); bold.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { isBoldChanged = true; updatePreview( ); } } ); italic = createToggleButton( fstyle ); italic.setImage( ReportPlatformUIImages .getImage( AttributeConstant.FONT_STYLE ) ); italic.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { isItalicChanged = true; updatePreview( ); } } ); underline = createToggleButton( fstyle ); underline.setImage( ReportPlatformUIImages .getImage( AttributeConstant.TEXT_UNDERLINE ) ); underline.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { isUnderlineChanged = true; previewLabel.setUnderline( underline.getSelection( ) ); previewLabel.redraw( ); } } ); linethrough = createToggleButton( fstyle ); linethrough.setImage( ReportPlatformUIImages .getImage( AttributeConstant.TEXT_LINE_THROUGH ) ); linethrough.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { isLinethroughChanged = true; previewLabel.setLinethrough( linethrough.getSelection( ) ); previewLabel.redraw( ); } } ); Composite back = new Composite( innerParent, SWT.NONE ); back.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); glayout = new GridLayout( 1, false ); back.setLayout( glayout ); lb = new Label( back, 0 ); lb .setText( Messages .getString( "HighlightRuleBuilderDialog.text.BackgroundColor" ) ); //$NON-NLS-1$ backColor = new ColorBuilder( back, 0 ); gdata = new GridData( ); gdata.widthHint = 50; backColor.setLayoutData( gdata ); backColor.setChoiceSet( ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, StyleHandle.BACKGROUND_COLOR_PROP ) ); backColor.setRGB( null ); backColor.addListener( SWT.Modify, new Listener( ) { public void handleEvent( Event event ) { previewLabel.setBackground( ColorManager.getColor( backColor .getRGB( ) ) ); previewLabel.redraw( ); } } ); Composite preview = new Composite( innerParent, SWT.NONE ); glayout = new GridLayout( ); preview.setLayout( glayout ); gdata = new GridData( GridData.FILL_BOTH ); preview.setLayoutData( gdata ); lb = new Label( preview, SWT.NONE ); lb.setText( Messages .getString( "HighlightRuleBuilderDialog.text.Preview" ) ); //$NON-NLS-1$ Composite previewPane = new Composite( preview, SWT.BORDER ); glayout = new GridLayout( ); glayout.marginWidth = 0; glayout.marginHeight = 0; previewPane.setLayout( glayout ); gdata = new GridData( GridData.FILL_BOTH ); gdata.heightHint = 60; previewPane.setLayoutData( gdata ); previewLabel = new PreviewLabel( previewPane, 0 ); previewLabel.setText( Messages .getString( "HighlightRuleBuilderDialog.text.PreviewContent" ) ); //$NON-NLS-1$ gdata = new GridData( GridData.FILL_BOTH ); previewLabel.setLayoutData( gdata ); updatePreview( ); lb = new Label( innerParent, SWT.SEPARATOR | SWT.HORIZONTAL ); lb.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); syncViewProperties( ); updatePreview( ); updateButtons( ); return composite; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/79315b368296e47fc6aa276a9db24d8570b2b6c9/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6323, 12, 14728, 982, 262, 202, 95, 202, 202, 6313, 751, 314, 892, 31, 202, 202, 6313, 3744, 5118, 2012, 31, 202, 202, 2640, 4247, 5484, 12, 982, 11272, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 374, 11272, 202, 202, 75, 6741, 273, 394, 7145, 3744, 12, 11272, 202, 202, 75, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 75, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 75, 6741, 18, 17824, 18006, 273, 374, 31, 202, 202, 27676, 18, 542, 3744, 12, 5118, 2012, 11272, 202, 202, 27676, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 9010, 6353, 5711, 12, 9635, 11272, 202, 202, 11160, 6353, 7537, 12, 9635, 11272, 202, 202, 9400, 3443, 3054, 273, 261, 9400, 13, 752, 6353, 5484, 12, 9635, 11272, 202, 202, 2640, 3616, 5190, 12, 9635, 11272, 202, 202, 2224, 7831, 273, 394, 5287, 12, 3443, 3054, 16, 348, 8588, 18, 9826, 11272, 202, 202, 20404, 18, 542, 1528, 12, 4838, 9506, 202, 18, 588, 780, 12, 315, 16205, 2175, 1263, 6353, 18, 955, 18, 3418, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 9400, 2269, 273, 394, 14728, 12, 3443, 3054, 16, 348, 8588, 18, 9826, 11272, 202, 202, 4175, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 75, 6741, 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, 225, 202, 1117, 8888, 752, 6323, 12, 14728, 982, 262, 202, 95, 202, 202, 6313, 751, 314, 892, 31, 202, 202, 6313, 3744, 5118, 2012, 31, 202, 202, 2640, 4247, 5484, 12, 982, 11272, 202, 202, 9400, 9635, 273, 394, 14728, 12, 982, 16, 374, 11272, 202, 202, 75, 6741, 273, 394, 7145, 3744, 12, 11272, 202, 202, 75, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 75, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 75, 6741, 18, 17824, 18006, 273, 374, 31, 202, 202, 27676, 18, 542, 3744, 12, 5118, 2012, 11272, 202, 202, 27676, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 2 ]
double avgProgress = totalProgress / maps.length;
public Task obtainNewMapTask(String taskTracker, TaskTrackerStatus tts) { if (! tasksInited) { try { initTasks(); } catch (IOException ie) { ie.printStackTrace(); LOG.info("Cannot create task split for " + profile.getJobId()); } } Task t = null; int cacheTarget = -1; int stdTarget = -1; int specTarget = -1; double totalProgress = 0; // // We end up creating two tasks for the same bucket, because // we call obtainNewMapTask() really fast, twice in a row. // There's not enough time for the "recentTasks" // for (int i = 0; i < maps.length; i++) { if (maps[i].hasTaskWithCacheHit(taskTracker, tts)) { if (cacheTarget < 0) { cacheTarget = i; break; } } else if (maps[i].hasTask()) { if (stdTarget < 0) { stdTarget = i; break; } } totalProgress += maps[i].getProgress(); } double avgProgress = totalProgress / maps.length; for (int i = 0; i < maps.length; i++) { if (maps[i].hasSpeculativeTask(avgProgress)) { if (specTarget < 0) { specTarget = i; } } } if (cacheTarget >= 0) { t = maps[cacheTarget].getTaskToRun(taskTracker, tts, avgProgress); } else if (stdTarget >= 0) { t = maps[stdTarget].getTaskToRun(taskTracker, tts, avgProgress); } else if (specTarget >= 0) { t = maps[specTarget].getTaskToRun(taskTracker, tts, avgProgress); } return t; }
55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/b6fb13699445bb8fc24b8351b5603c045fb2c6d4/JobInProgress.java/buggy/src/java/org/apache/hadoop/mapred/JobInProgress.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3837, 7161, 1908, 863, 2174, 12, 780, 1562, 8135, 16, 3837, 8135, 1482, 268, 3428, 13, 288, 3639, 309, 16051, 4592, 2570, 329, 13, 288, 5411, 775, 288, 7734, 1208, 6685, 5621, 5411, 289, 1044, 261, 14106, 9228, 13, 288, 7734, 9228, 18, 1188, 6332, 5621, 7734, 2018, 18, 1376, 2932, 4515, 752, 1562, 1416, 364, 315, 397, 3042, 18, 588, 23378, 10663, 5411, 289, 3639, 289, 3639, 3837, 268, 273, 446, 31, 3639, 509, 1247, 2326, 273, 300, 21, 31, 3639, 509, 2044, 2326, 273, 300, 21, 31, 3639, 509, 857, 2326, 273, 300, 21, 31, 3639, 1645, 2078, 5491, 273, 374, 31, 3639, 368, 3639, 368, 1660, 679, 731, 4979, 2795, 4592, 364, 326, 1967, 2783, 16, 2724, 3639, 368, 732, 745, 7161, 1908, 863, 2174, 1435, 8654, 4797, 16, 13605, 316, 279, 1027, 18, 3639, 368, 6149, 1807, 486, 7304, 813, 364, 326, 315, 20872, 6685, 6, 3639, 368, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7565, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 10711, 63, 77, 8009, 5332, 2174, 1190, 1649, 13616, 12, 4146, 8135, 16, 268, 3428, 3719, 288, 7734, 309, 261, 2493, 2326, 411, 374, 13, 288, 10792, 1247, 2326, 273, 277, 31, 10792, 898, 31, 7734, 289, 5411, 289, 469, 309, 261, 10711, 63, 77, 8009, 5332, 2174, 10756, 288, 7734, 309, 261, 5084, 2326, 411, 374, 13, 288, 10792, 2044, 2326, 273, 277, 31, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 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, 3837, 7161, 1908, 863, 2174, 12, 780, 1562, 8135, 16, 3837, 8135, 1482, 268, 3428, 13, 288, 3639, 309, 16051, 4592, 2570, 329, 13, 288, 5411, 775, 288, 7734, 1208, 6685, 5621, 5411, 289, 1044, 261, 14106, 9228, 13, 288, 7734, 9228, 18, 1188, 6332, 5621, 7734, 2018, 18, 1376, 2932, 4515, 752, 1562, 1416, 364, 315, 397, 3042, 18, 588, 23378, 10663, 5411, 289, 3639, 289, 3639, 3837, 268, 273, 446, 31, 3639, 509, 1247, 2326, 273, 300, 21, 31, 3639, 509, 2044, 2326, 273, 300, 21, 31, 3639, 509, 857, 2326, 273, 300, 21, 31, 3639, 1645, 2078, 5491, 273, 374, 31, 3639, 368, 3639, 368, 1660, 679, 731, 4979, 2795, 4592, 364, 326, 1967, 2 ]
if (Configuration.SAMPLING_FREQUENCY_MS >= 0) Sampling.shutdown(); if (Configuration.DUMP_STATS_ON_EXIT) System.out.println(Sampling.SINGLETON.toString());
protected void run(String[] args) throws Exception { // setup the main activity from the client... String[] appArgs = Configuration.parseCommandLine(args); // first: load libraries! if (null != Configuration.LOAD) { String[] libs = Configuration.LOAD.split(":"); for (int i=libs.length-1;i>=0;i--) System.loadLibrary(libs[i]); } java.lang.Object[] tmp = { args }; Activity atmp = null; try { atmp = (Activity) Class.forName(Configuration.MAIN_CLASS_NAME+"$Main") .getDeclaredConstructor(new Class[] { String[].class }) .newInstance(tmp); } catch (Exception e) { System.err.println("Could not find default constructor of main class '" + Configuration.MAIN_CLASS_NAME+ "$Main" + "'!"); throw e; } final Activity appMain = atmp; // ok, some magic with the boot-thread here... Place p0 = (Place) place.FIRST_PLACE; bootThread = Thread.currentThread(); registerThread(bootThread, p0); final Signal signal = new Signal(); Activity.Expr boot = new Activity.Expr() { public void run() { // initialize X10 runtime system if (Configuration.SAMPLING_FREQUENCY_MS >= 0) Sampling.boot(); synchronized(signal) { signal.value = true; signal.notifyAll(); } // now run the actual client app (wrapped in this // Activity.Expr since we want to use a Clock to // wait for the main app to exit, but we can't use // a clock directly without being a proper activity). Clock c = (Clock) factory.getClockFactory().clock(); c.doNow(appMain); c.doNext(); } public Object getResult() { return null; } }; // run the main app Future f = p0.runFuture(boot); // make sure we don't accidentially initialize Sampling by // being too fast with 'force'. while (signal.value == false) { try { synchronized(signal) { signal.wait(); } } catch (InterruptedException ie) { } } f.force(); // use force to wait for termination! // and now the shutdown sequence! for (int i=places_.length-1;i>=0;i--) places_[i].shutdown(); if (Configuration.SAMPLING_FREQUENCY_MS >= 0) Sampling.shutdown(); if (Configuration.DUMP_STATS_ON_EXIT) System.out.println(Sampling.SINGLETON.toString()); }
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/d1b74c40f95f6d93eee81964a20eb9b00aba46be/DefaultRuntime_c.java/clean/x10.runtime/src/x10/runtime/DefaultRuntime_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1086, 12, 780, 8526, 833, 13, 1216, 1185, 288, 3639, 368, 3875, 326, 2774, 5728, 628, 326, 1004, 2777, 3639, 514, 8526, 595, 2615, 273, 4659, 18, 2670, 21391, 12, 1968, 1769, 7734, 368, 1122, 30, 1262, 14732, 5, 3639, 309, 261, 2011, 480, 4659, 18, 7783, 13, 288, 5411, 514, 8526, 15042, 273, 4659, 18, 7783, 18, 4939, 2932, 2773, 1769, 5411, 364, 261, 474, 277, 33, 21571, 18, 2469, 17, 21, 31, 77, 34, 33, 20, 31, 77, 413, 13, 7734, 2332, 18, 945, 9313, 12, 21571, 63, 77, 19226, 3639, 289, 7734, 2252, 18, 4936, 18, 921, 8526, 1853, 273, 288, 833, 289, 31, 3639, 9621, 622, 1291, 273, 446, 31, 3639, 775, 288, 202, 5411, 622, 1291, 273, 261, 6193, 13, 1659, 18, 1884, 461, 12, 1750, 18, 19803, 67, 5237, 67, 1985, 9078, 8, 6376, 7923, 7734, 263, 588, 18888, 6293, 12, 2704, 1659, 8526, 288, 514, 63, 8009, 1106, 289, 13, 7734, 263, 2704, 1442, 12, 5645, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 4445, 486, 1104, 805, 3885, 434, 2774, 667, 2119, 397, 4659, 18, 19803, 67, 5237, 67, 1985, 15, 4662, 6376, 6, 397, 2491, 4442, 1769, 5411, 604, 425, 31, 3639, 289, 3639, 727, 9621, 595, 6376, 273, 622, 1291, 31, 3639, 368, 1529, 16, 2690, 8146, 598, 326, 4835, 17, 5930, 2674, 2777, 3639, 13022, 293, 20, 273, 261, 6029, 13, 3166, 18, 15354, 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, 4750, 918, 1086, 12, 780, 8526, 833, 13, 1216, 1185, 288, 3639, 368, 3875, 326, 2774, 5728, 628, 326, 1004, 2777, 3639, 514, 8526, 595, 2615, 273, 4659, 18, 2670, 21391, 12, 1968, 1769, 7734, 368, 1122, 30, 1262, 14732, 5, 3639, 309, 261, 2011, 480, 4659, 18, 7783, 13, 288, 5411, 514, 8526, 15042, 273, 4659, 18, 7783, 18, 4939, 2932, 2773, 1769, 5411, 364, 261, 474, 277, 33, 21571, 18, 2469, 17, 21, 31, 77, 34, 33, 20, 31, 77, 413, 13, 7734, 2332, 18, 945, 9313, 12, 21571, 63, 77, 19226, 3639, 289, 7734, 2252, 18, 4936, 18, 921, 8526, 1853, 273, 288, 833, 289, 31, 3639, 9621, 622, 1291, 273, 446, 31, 3639, 775, 2 ]
while(e.hasMoreElements()) {
while (e.hasMoreElements()) {
public void dispose() { Enumeration e = breakpoints.keys(); while(e.hasMoreElements()) { Integer line = (Integer)breakpoints.get(e.nextElement()); db.clearBreakPoint(url, line.intValue()); } db.removeWindow(this); super.dispose(); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b9766e81693411fa600b26b9a0763dcf621b2770/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 13864, 425, 273, 23416, 18, 2452, 5621, 3639, 1323, 261, 73, 18, 5332, 7417, 3471, 10756, 288, 5411, 2144, 980, 273, 261, 4522, 13, 8820, 4139, 18, 588, 12, 73, 18, 4285, 1046, 10663, 5411, 1319, 18, 8507, 7634, 2148, 12, 718, 16, 980, 18, 474, 620, 10663, 3639, 289, 3639, 1319, 18, 4479, 3829, 12, 2211, 1769, 3639, 2240, 18, 2251, 4150, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 13864, 425, 273, 23416, 18, 2452, 5621, 3639, 1323, 261, 73, 18, 5332, 7417, 3471, 10756, 288, 5411, 2144, 980, 273, 261, 4522, 13, 8820, 4139, 18, 588, 12, 73, 18, 4285, 1046, 10663, 5411, 1319, 18, 8507, 7634, 2148, 12, 718, 16, 980, 18, 474, 620, 10663, 3639, 289, 3639, 1319, 18, 4479, 3829, 12, 2211, 1769, 3639, 2240, 18, 2251, 4150, 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 ]
oDatabaseId = poLine.substring(i + 1).trim();
oDatabaseId = poLine.substring(i + 1); while(true){ try{ poLine = oContents.readLine(); if(poLine.startsWith("Searching")){ break; }else{ oDatabaseId = oDatabaseId.concat(poLine); } }catch(java.io.IOException x){ System.err.println(x.getMessage()); System.err.println("File read interrupted"); } }
private void interpret(String poLine) throws SAXException { if (iState == IN_HEADER) { //accumulate header information //things that can end header section //start of summmary section //start of detail section //start of trailer when there are no hits if (poLine.startsWith("Query=")) { StringTokenizer st = new StringTokenizer(poLine); // Skip the first token st.nextToken(); if (st.hasMoreTokens()) oQueryId = st.nextToken(); } if (poLine.startsWith("Database:")) { int i = poLine.indexOf(":"); oDatabaseId = poLine.substring(i + 1).trim(); } if ((poLine.startsWith("Sequences producing significant alignments")) || (poLine.startsWith("Sequences producing High-scoring Segment Pairs")) || (poLine.startsWith(" ***** No hits found ******")) || (poLine.startsWith("-------- "))) { this.emitRawOutput(oBuffer); this.emitHeaderIds(); oAtts.clear(); this.endElement(new QName(this,this.prefix("Header"))); if (poLine.startsWith(" ***** No hits found ******")) { oAtts.clear(); this.startElement(new QName(this,this.prefix("Trailer")), (Attributes) oAtts); this.changeState(IN_TRAILER); oBuffer.clear(); return; } //change state this.changeState(IN_SUMMARY); oAtts.clear(); this.startElement(new QName(this,this.prefix("Summary")), (Attributes)oAtts); //eat a blank line if there is one... // this.interpret(oLine); //read next line try { poLine = oContents.readLine(); } catch (java.io.IOException x) { System.err.println(x.getMessage()); System.err.println("File read interrupted"); } // end try/catch if (poLine.trim().equals("")) { //System.out.println("BLANK LINE"); } else { //recursively interpret it... this.interpret(poLine); } return; } //end check start of summary //Currently doesn't handle output that starts //with a detail section i.e. no summary. //This is a BUG/FEATURE. oBuffer.add(poLine); } //end if inHeader state //Deal with summary state if (iState == IN_SUMMARY) { //check to see if end of summary //has been reached... //(signal is a blank line for NCBIBlast and Wu-Blast, //(signal is either a blank line or //Signal is \\End of List for GCG // HMMR has a longer summary section to include the // domain summary and the check for a blank line // will prematurely end the summary section so // skip this check for HMMR int iProgram = oVersion.getProgram(); if (iProgram == BlastLikeVersionSupport.HMMER) { if (poLine.trim().equals("")) { return; // skip } //HMMER-specific if (poLine.startsWith("Parsed for domains:")) { //signifies domain summary info String oAfterHmmr = this.hmmerDomainSummaryReached(poLine); // System.err.println( "Last-->" + oAfterHmmr + "<--" ); return; } } else if ((poLine.trim().equals("")) || (poLine.trim().startsWith("[no more scores")) || (poLine.trim().startsWith("\\")) ) { //Can't change state, because we still want to //check for start of detail... //Forgive non-standard white-space //between end of summary and start of detail if (!tDoneSummary) { tDoneSummary = true; this.endElement(new QName(this,this.prefix("Summary"))); } return; //return before attempting to parse Summary Line } if (poLine.startsWith(">")) { //signifies start of detail section this.hitsSectionReached(poLine); return; } //need to check that we've end of summary //'cos could be spurious data between end of //summary and start of detail e.g. multi-line WARNINGs //at end of Summary section in Wu-Blast. if (!tDoneSummary) { this.parseSummaryLine(poLine); } return; } //State set to this when parsing of Hits finished if (iState == FINISHED_HITS) { //check end of detail section this.endElement(new QName(this,this.prefix("Detail"))); oAtts.clear(); this.startElement(new QName(this,this.prefix("Trailer")), (Attributes)oAtts); //change state to Trailer and initialse Buffer this.changeState(IN_TRAILER); oBuffer.clear(); return; } //end if finishedHists if (iState == IN_TRAILER) { oBuffer.add(poLine); } }
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/1b49e06e724a430780736f59708d6be2efca43ab/BlastSAXParser.java/buggy/src/org/biojava/bio/program/sax/BlastSAXParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 10634, 12, 780, 8275, 1670, 13, 1216, 14366, 288, 3639, 309, 261, 77, 1119, 422, 2120, 67, 7557, 13, 288, 5411, 368, 8981, 31284, 1446, 1779, 5411, 368, 451, 899, 716, 848, 679, 1446, 2442, 5411, 368, 1937, 434, 2142, 81, 2676, 2442, 5411, 368, 1937, 434, 7664, 2442, 5411, 368, 1937, 434, 25899, 1347, 1915, 854, 1158, 11076, 5411, 309, 261, 1631, 1670, 18, 17514, 1190, 2932, 1138, 1546, 3719, 288, 7734, 16370, 384, 273, 394, 16370, 12, 1631, 1670, 1769, 7734, 368, 6611, 326, 1122, 1147, 7734, 384, 18, 4285, 1345, 5621, 7734, 309, 261, 334, 18, 5332, 7417, 5157, 10756, 10792, 320, 1138, 548, 273, 384, 18, 4285, 1345, 5621, 5411, 289, 5411, 309, 261, 1631, 1670, 18, 17514, 1190, 2932, 4254, 2773, 3719, 288, 7734, 509, 277, 273, 8275, 1670, 18, 31806, 2932, 2773, 1769, 7734, 320, 4254, 548, 273, 8275, 1670, 18, 28023, 12, 77, 397, 404, 1769, 1323, 12, 3767, 15329, 775, 95, 8275, 1670, 273, 320, 6323, 18, 896, 1670, 5621, 309, 12, 1631, 1670, 18, 17514, 1190, 2932, 2979, 310, 6, 3719, 95, 898, 31, 289, 12107, 95, 320, 4254, 548, 273, 320, 4254, 548, 18, 16426, 12, 1631, 1670, 1769, 289, 289, 14683, 12, 6290, 18, 1594, 18, 14106, 619, 15329, 2332, 18, 370, 18, 8222, 12, 92, 18, 24906, 10663, 2332, 18, 370, 18, 8222, 2932, 812, 855, 15711, 8863, 289, 289, 5411, 289, 5411, 309, 14015, 1631, 1670, 18, 17514, 1190, 2932, 21710, 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, 10634, 12, 780, 8275, 1670, 13, 1216, 14366, 288, 3639, 309, 261, 77, 1119, 422, 2120, 67, 7557, 13, 288, 5411, 368, 8981, 31284, 1446, 1779, 5411, 368, 451, 899, 716, 848, 679, 1446, 2442, 5411, 368, 1937, 434, 2142, 81, 2676, 2442, 5411, 368, 1937, 434, 7664, 2442, 5411, 368, 1937, 434, 25899, 1347, 1915, 854, 1158, 11076, 5411, 309, 261, 1631, 1670, 18, 17514, 1190, 2932, 1138, 1546, 3719, 288, 7734, 16370, 384, 273, 394, 16370, 12, 1631, 1670, 1769, 7734, 368, 6611, 326, 1122, 1147, 7734, 384, 18, 4285, 1345, 5621, 7734, 309, 261, 334, 18, 5332, 7417, 5157, 10756, 10792, 320, 1138, 548, 273, 384, 18, 4285, 1345, 5621, 5411, 289, 5411, 2 ]
if (extFactory != null) { n = (Branch)n.ext(extFactory.extBranch()); }
n = (Branch)n.ext(extFactory.extBranch());
public Branch Branch(Position pos, Branch.Kind kind, String label) { Branch n = new Branch_c(pos, kind, label); if (extFactory != null) { n = (Branch)n.ext(extFactory.extBranch()); } return n; }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/27cff504b65da534a6e4e4ad3ce65fac3c7dbb26/NodeFactory_c.java/clean/src/polyglot/ast/NodeFactory_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15449, 15449, 12, 2555, 949, 16, 15449, 18, 5677, 3846, 16, 514, 1433, 13, 288, 3639, 15449, 290, 273, 394, 15449, 67, 71, 12, 917, 16, 3846, 16, 1433, 1769, 3639, 309, 261, 408, 1733, 480, 446, 13, 288, 5411, 290, 273, 261, 7108, 13, 82, 18, 408, 12, 408, 1733, 18, 408, 7108, 10663, 3639, 289, 3639, 327, 290, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15449, 15449, 12, 2555, 949, 16, 15449, 18, 5677, 3846, 16, 514, 1433, 13, 288, 3639, 15449, 290, 273, 394, 15449, 67, 71, 12, 917, 16, 3846, 16, 1433, 1769, 3639, 309, 261, 408, 1733, 480, 446, 13, 288, 5411, 290, 273, 261, 7108, 13, 82, 18, 408, 12, 408, 1733, 18, 408, 7108, 10663, 3639, 289, 3639, 327, 290, 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 ]
if (trimSizes[TOP] == 0) trimSizes[TOP] = marginHeight; if (trimSizes[BOTTOM] == 0) trimSizes[BOTTOM] = marginHeight; if (trimSizes[LEFT] == 0) trimSizes[LEFT] = marginWidth; if (trimSizes[RIGHT] == 0) trimSizes[RIGHT] = marginWidth;
if (trim_top == 0) trim_top = marginHeight; if (trim_bottom == 0) trim_bottom = marginHeight; if (trim_left == 0) trim_left = marginWidth; if (trim_right == 0) trim_right = marginWidth;
public Rectangle getTrimRect(Composite window, int side) { Rectangle bb = window.getBounds(); Rectangle cr = window.getClientArea(); Rectangle tr = window.computeTrim(cr.x, cr.y, cr.width, cr.height); // Place the Client Area 'within' its window Geometry.moveRectangle(cr, new Point(bb.x - tr.x, bb.y - tr.y)); int[] trimSizes = getTrimSizes(cr.width, cr.height); // Adjust the trim sizes to incorporate the margins for sides that // don't currently have trim if (trimSizes[TOP] == 0) trimSizes[TOP] = marginHeight; if (trimSizes[BOTTOM] == 0) trimSizes[BOTTOM] = marginHeight; if (trimSizes[LEFT] == 0) trimSizes[LEFT] = marginWidth; if (trimSizes[RIGHT] == 0) trimSizes[RIGHT] = marginWidth; Rectangle trimRect = new Rectangle(0, 0, 0, 0); int layoutSide = convertSwtConstantToAreaId(side); switch (layoutSide) { case TOP: trimRect.x = cr.x; trimRect.width = cr.width; trimRect.y = cr.y; trimRect.height = trimSizes[TOP]; break; case BOTTOM: trimRect.x = cr.x; trimRect.width = cr.width; trimRect.y = (cr.y + cr.height) - trimSizes[BOTTOM]; trimRect.height = trimSizes[BOTTOM]; break; case LEFT: trimRect.x = cr.x; trimRect.width = trimSizes[LEFT]; trimRect.y = cr.y + trimSizes[TOP]; trimRect.height = cr.height - (trimSizes[TOP] + trimSizes[BOTTOM]); break; case RIGHT: trimRect.x = (cr.x + cr.width) - trimSizes[RIGHT]; trimRect.width = trimSizes[RIGHT]; trimRect.y = cr.y + trimSizes[TOP]; trimRect.height = cr.height - (trimSizes[TOP] + trimSizes[BOTTOM]); break; } return trimRect; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c02ce808ddcd3a887071a5c31104b81c396819e2/TrimLayout.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/layout/TrimLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 13264, 336, 14795, 6120, 12, 9400, 2742, 16, 509, 4889, 13, 288, 202, 202, 19463, 7129, 273, 2742, 18, 588, 5694, 5621, 202, 202, 19463, 4422, 273, 2742, 18, 588, 1227, 5484, 5621, 202, 202, 19463, 433, 273, 2742, 18, 9200, 14795, 12, 3353, 18, 92, 16, 4422, 18, 93, 16, 4422, 18, 2819, 16, 4422, 18, 4210, 1769, 202, 202, 759, 13022, 326, 2445, 16668, 296, 25850, 11, 2097, 2742, 202, 202, 9823, 18, 8501, 19463, 12, 3353, 16, 394, 4686, 12, 9897, 18, 92, 300, 433, 18, 92, 16, 7129, 18, 93, 300, 433, 18, 93, 10019, 202, 202, 474, 8526, 2209, 11923, 273, 336, 14795, 11923, 12, 3353, 18, 2819, 16, 4422, 18, 4210, 1769, 202, 202, 759, 17720, 326, 2209, 8453, 358, 316, 3850, 3831, 340, 326, 24889, 364, 22423, 716, 202, 202, 759, 2727, 1404, 4551, 1240, 2209, 202, 202, 430, 261, 5290, 11923, 63, 10462, 65, 422, 374, 13, 1082, 202, 5290, 11923, 63, 10462, 65, 273, 7333, 2686, 31, 202, 202, 430, 261, 5290, 11923, 63, 28891, 65, 422, 374, 13, 1082, 202, 5290, 11923, 63, 28891, 65, 273, 7333, 2686, 31, 202, 202, 430, 261, 5290, 11923, 63, 10066, 65, 422, 374, 13, 1082, 202, 5290, 11923, 63, 10066, 65, 273, 7333, 2384, 31, 202, 202, 430, 261, 5290, 11923, 63, 11847, 65, 422, 374, 13, 1082, 202, 5290, 11923, 63, 11847, 65, 273, 7333, 2384, 31, 202, 202, 19463, 2209, 6120, 273, 394, 13264, 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, 225, 202, 482, 13264, 336, 14795, 6120, 12, 9400, 2742, 16, 509, 4889, 13, 288, 202, 202, 19463, 7129, 273, 2742, 18, 588, 5694, 5621, 202, 202, 19463, 4422, 273, 2742, 18, 588, 1227, 5484, 5621, 202, 202, 19463, 433, 273, 2742, 18, 9200, 14795, 12, 3353, 18, 92, 16, 4422, 18, 93, 16, 4422, 18, 2819, 16, 4422, 18, 4210, 1769, 202, 202, 759, 13022, 326, 2445, 16668, 296, 25850, 11, 2097, 2742, 202, 202, 9823, 18, 8501, 19463, 12, 3353, 16, 394, 4686, 12, 9897, 18, 92, 300, 433, 18, 92, 16, 7129, 18, 93, 300, 433, 18, 93, 10019, 202, 202, 474, 8526, 2209, 11923, 273, 336, 14795, 11923, 12, 3353, 18, 2819, 16, 4422, 18, 2 ]
this.setLayout(new VerticalLayout(1, VerticalLayout.LEFT));
setLayout(new BorderLayout(0, 5));
private void init() { this.setLayout(new VerticalLayout(1, VerticalLayout.LEFT)); if(displayName) { this.setLayout(new VerticalLayout(5, VerticalLayout.LEFT, VerticalLayout.TOP)); // MAIN PANEL JPanel mainPanel = new JPanel(); Border margin = new EmptyBorder(10, 10, 5, 10); mainPanel.setBorder(margin); mainPanel.setLayout(new VerticalLayout(5, VerticalLayout.LEFT)); // NAME mainPanel.add(makeTitlePanel()); // LOOP mainPanel.add(createServerPanel()); mainPanel.add(createFilenamePanel()); this.add(mainPanel); } else { this.add(createServerPanel()); this.add(createFilenamePanel()); } }
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/75f6ac96f13db9aff4293602c82dd78b69c24f77/FtpConfigGui.java/clean/src/protocol/ftp/org/apache/jmeter/protocol/ftp/config/gui/FtpConfigGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 1435, 202, 95, 202, 202, 2211, 18, 542, 3744, 12, 2704, 27394, 3744, 12, 21, 16, 27394, 3744, 18, 10066, 10019, 202, 202, 430, 12, 5417, 461, 13, 202, 202, 95, 1082, 202, 2211, 18, 542, 3744, 12, 2704, 27394, 3744, 12, 25, 16, 27394, 3744, 18, 10066, 16, 27394, 3744, 18, 10462, 10019, 1082, 202, 759, 22299, 453, 1258, 2247, 1082, 202, 46, 5537, 2774, 5537, 273, 394, 24048, 5621, 1082, 202, 8107, 7333, 273, 394, 8953, 8107, 12, 2163, 16, 1728, 16, 1381, 16, 1728, 1769, 1082, 202, 5254, 5537, 18, 542, 8107, 12, 10107, 1769, 1082, 202, 5254, 5537, 18, 542, 3744, 12, 2704, 27394, 3744, 12, 25, 16, 27394, 3744, 18, 10066, 10019, 1082, 202, 759, 6048, 1082, 202, 5254, 5537, 18, 1289, 12, 6540, 4247, 5537, 10663, 1082, 202, 759, 1806, 3665, 1082, 202, 5254, 5537, 18, 1289, 12, 2640, 2081, 5537, 10663, 1082, 202, 5254, 5537, 18, 1289, 12, 2640, 5359, 5537, 10663, 1082, 202, 2211, 18, 1289, 12, 5254, 5537, 1769, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2211, 18, 1289, 12, 2640, 2081, 5537, 10663, 1082, 202, 2211, 18, 1289, 12, 2640, 5359, 5537, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 1435, 202, 95, 202, 202, 2211, 18, 542, 3744, 12, 2704, 27394, 3744, 12, 21, 16, 27394, 3744, 18, 10066, 10019, 202, 202, 430, 12, 5417, 461, 13, 202, 202, 95, 1082, 202, 2211, 18, 542, 3744, 12, 2704, 27394, 3744, 12, 25, 16, 27394, 3744, 18, 10066, 16, 27394, 3744, 18, 10462, 10019, 1082, 202, 759, 22299, 453, 1258, 2247, 1082, 202, 46, 5537, 2774, 5537, 273, 394, 24048, 5621, 1082, 202, 8107, 7333, 273, 394, 8953, 8107, 12, 2163, 16, 1728, 16, 1381, 16, 1728, 1769, 1082, 202, 5254, 5537, 18, 542, 8107, 12, 10107, 1769, 1082, 202, 5254, 5537, 18, 542, 3744, 12, 2704, 27394, 3744, 12, 25, 16, 27394, 3744, 2 ]
public IDOQuery appendOrderBy(String columnName) { this.append(ORDER_BY); this.append(columnName); return this;
public IDOQuery appendOrderBy() { return this.append(ORDER_BY);
public IDOQuery appendOrderBy(String columnName) { this.append(ORDER_BY); this.append(columnName); return this; }
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/3a42c4072c00e37d52425f02310d47a6b9c7aae1/IDOQuery.java/buggy/src/java/com/idega/data/IDOQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1599, 51, 1138, 714, 15658, 12, 780, 7578, 13, 288, 202, 202, 2211, 18, 6923, 12, 7954, 67, 6486, 1769, 202, 202, 2211, 18, 6923, 12, 2827, 461, 1769, 202, 202, 2463, 333, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1599, 51, 1138, 714, 15658, 12, 780, 7578, 13, 288, 202, 202, 2211, 18, 6923, 12, 7954, 67, 6486, 1769, 202, 202, 2211, 18, 6923, 12, 2827, 461, 1769, 202, 202, 2463, 333, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (isInAttic(file)) { String path = file.getDirectory().getPath(); filename = "/" + path + "Attic/" + file.getFilename(); } else {
private String getFileUrl(VersionedFile file, String parameter) { String filename; if (isInAttic(file)) { String path = file.getDirectory().getPath(); filename = "/" + path + "Attic/" + file.getFilename(); } else { filename = "/" + file.getFilenameWithPath(); } String append = parameter; if (this.postfix != null) { append += (append.length() > 0) ? "&" + this.postfix : "?" + this.postfix; } return this.baseURL + filename + append; }
49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/a3f07bf5d8fd17d043ffff7b21ddf61027abc533/ViewCvsIntegration.java/clean/src/net/sf/statcvs/output/ViewCvsIntegration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 6034, 1489, 12, 23676, 812, 585, 16, 514, 1569, 13, 288, 202, 202, 780, 1544, 31, 202, 202, 430, 261, 291, 382, 3075, 335, 12, 768, 3719, 288, 1082, 202, 780, 589, 273, 585, 18, 588, 2853, 7675, 588, 743, 5621, 1082, 202, 3459, 273, 4016, 397, 589, 397, 315, 3075, 335, 4898, 397, 585, 18, 588, 5359, 5621, 202, 202, 97, 469, 288, 1082, 202, 3459, 273, 4016, 397, 585, 18, 588, 5359, 1190, 743, 5621, 202, 202, 97, 9506, 202, 780, 714, 273, 1569, 31, 202, 202, 430, 261, 2211, 18, 2767, 904, 480, 446, 13, 288, 1082, 202, 6923, 1011, 261, 6923, 18, 2469, 1435, 405, 374, 13, 692, 16347, 397, 333, 18, 2767, 904, 294, 13574, 397, 333, 18, 2767, 904, 31, 202, 202, 97, 202, 202, 2463, 333, 18, 1969, 1785, 397, 1544, 397, 714, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 6034, 1489, 12, 23676, 812, 585, 16, 514, 1569, 13, 288, 202, 202, 780, 1544, 31, 202, 202, 430, 261, 291, 382, 3075, 335, 12, 768, 3719, 288, 1082, 202, 780, 589, 273, 585, 18, 588, 2853, 7675, 588, 743, 5621, 1082, 202, 3459, 273, 4016, 397, 589, 397, 315, 3075, 335, 4898, 397, 585, 18, 588, 5359, 5621, 202, 202, 97, 469, 288, 1082, 202, 3459, 273, 4016, 397, 585, 18, 588, 5359, 1190, 743, 5621, 202, 202, 97, 9506, 202, 780, 714, 273, 1569, 31, 202, 202, 430, 261, 2211, 18, 2767, 904, 480, 446, 13, 288, 1082, 202, 6923, 1011, 261, 6923, 18, 2469, 1435, 405, 374, 13, 692, 16347, 397, 333, 2 ]
List<InstallProgress> l = new LinkedList<InstallProgress>();
List<InstallProgress> l;
List<InstallProgress> getEvents() { logger.debug("getting events"); List<InstallProgress> l = new LinkedList<InstallProgress>(); synchronized (events) { l.addAll(events); } logger.debug("returning events: " + l); return l; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/2ee4d2e75fef54483ad3cef5f181cf4dbf11d03b/AptLogTail.java/buggy/mvvm/main/com/metavize/mvvm/engine/AptLogTail.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 987, 32, 6410, 5491, 34, 31215, 1435, 565, 288, 3639, 1194, 18, 4148, 2932, 588, 1787, 2641, 8863, 3639, 987, 32, 6410, 5491, 34, 328, 31, 3639, 3852, 261, 5989, 13, 288, 5411, 328, 18, 1289, 1595, 12, 5989, 1769, 3639, 289, 3639, 1194, 18, 4148, 2932, 2463, 310, 2641, 30, 315, 397, 328, 1769, 3639, 327, 328, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 987, 32, 6410, 5491, 34, 31215, 1435, 565, 288, 3639, 1194, 18, 4148, 2932, 588, 1787, 2641, 8863, 3639, 987, 32, 6410, 5491, 34, 328, 31, 3639, 3852, 261, 5989, 13, 288, 5411, 328, 18, 1289, 1595, 12, 5989, 1769, 3639, 289, 3639, 1194, 18, 4148, 2932, 2463, 310, 2641, 30, 315, 397, 328, 1769, 3639, 327, 328, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (String)u3; }
return (String) u3; }
public String getAId() { return (String)u3; }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/d31a76ee29d5978a9bec41e3ac9134cee024bcab/Node.java/buggy/org/jruby/nodes/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 4506, 548, 1435, 288, 202, 202, 2463, 261, 780, 13, 89, 23, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 514, 4506, 548, 1435, 288, 202, 202, 2463, 261, 780, 13, 89, 23, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} catch (Exception e1) { e1.printStackTrace(); GenePattern .showErrorDialog("An error occurred while loading the pipeline"); return;
} catch (Exception e1) { e1.printStackTrace(); GenePattern .showErrorDialog("An error occurred while loading the pipeline"); }
public void display(AnalysisService svc) { TaskInfo info = svc.getTaskInfo(); try { PipelineModel pipelineModel = PipelineModel .toPipelineModel((String) info.getTaskInfoAttributes().get( GPConstants.SERIALIZED_MODEL)); setPipeline(svc, pipelineModel); } catch (Exception e1) { e1.printStackTrace(); GenePattern .showErrorDialog("An error occurred while loading the pipeline"); return; } }
57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/65929880dfe7c025061a91f9f3f95535035b96a2/PipelineComponent.java/buggy/clients/JavaGE/src/org/genepattern/gpge/ui/tasks/pipeline/PipelineComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2562, 12, 9418, 1179, 7538, 13, 288, 202, 202, 2174, 966, 1123, 273, 7538, 18, 588, 2174, 966, 5621, 202, 202, 698, 288, 1082, 202, 8798, 1488, 5873, 1488, 273, 13671, 1488, 6862, 202, 18, 869, 8798, 1488, 12443, 780, 13, 1123, 18, 588, 2174, 966, 2498, 7675, 588, 12, 6862, 1082, 202, 9681, 2918, 18, 2123, 25991, 67, 17391, 10019, 1082, 202, 542, 8798, 12, 30992, 16, 5873, 1488, 1769, 202, 202, 97, 1044, 261, 503, 425, 21, 13, 288, 1082, 202, 73, 21, 18, 1188, 6332, 5621, 1082, 202, 24442, 3234, 6862, 202, 18, 4500, 668, 6353, 2932, 979, 555, 7841, 1323, 7153, 326, 5873, 8863, 1082, 202, 2463, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2562, 12, 9418, 1179, 7538, 13, 288, 202, 202, 2174, 966, 1123, 273, 7538, 18, 588, 2174, 966, 5621, 202, 202, 698, 288, 1082, 202, 8798, 1488, 5873, 1488, 273, 13671, 1488, 6862, 202, 18, 869, 8798, 1488, 12443, 780, 13, 1123, 18, 588, 2174, 966, 2498, 7675, 588, 12, 6862, 1082, 202, 9681, 2918, 18, 2123, 25991, 67, 17391, 10019, 1082, 202, 542, 8798, 12, 30992, 16, 5873, 1488, 1769, 202, 202, 97, 1044, 261, 503, 425, 21, 13, 288, 1082, 202, 73, 21, 18, 1188, 6332, 5621, 1082, 202, 24442, 3234, 6862, 202, 18, 4500, 668, 6353, 2932, 979, 555, 7841, 1323, 7153, 326, 5873, 8863, 1082, 202, 2463, 31, 202, 202, 97, 2 ]
jj_la1[26] = jj_gen;
jj_la1[28] = jj_gen;
final public void VariableDeclaratorId() throws ParseException { /*@bgen(jjtree) VariableDeclaratorId */ ASTVariableDeclaratorId jjtn000 = new ASTVariableDeclaratorId(this, JJTVARIABLEDECLARATORID); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);String s = null; Token t = null; try { t = jj_consume_token(IDENTIFIER); s = t.image; label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: ; break; default: jj_la1[26] = jj_gen; break label_12; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.setImage( s ); } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/6b2ea5d38e0b6b4adb468f80aa5e82b2d9884c6d/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 7110, 31419, 548, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 7110, 31419, 548, 1195, 225, 9183, 3092, 31419, 548, 10684, 5088, 3784, 273, 394, 9183, 3092, 31419, 548, 12, 2211, 16, 804, 46, 56, 16444, 23956, 985, 3575, 734, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 780, 272, 273, 446, 31, 225, 3155, 268, 273, 446, 31, 565, 775, 288, 1377, 268, 273, 10684, 67, 21224, 67, 2316, 12, 16606, 1769, 565, 272, 273, 268, 18, 2730, 31, 1377, 1433, 67, 2138, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 511, 21217, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 6030, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 2138, 31, 3639, 289, 3639, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 3639, 10684, 67, 21224, 67, 2316, 12, 54, 21217, 1769, 1377, 289, 565, 10684, 3413, 18, 4412, 907, 3876, 12, 78, 78, 5088, 3784, 16, 638, 1769, 565, 10684, 5111, 3784, 273, 629, 31, 565, 10684, 5088, 3784, 18, 542, 2040, 12, 272, 11272, 565, 289, 3095, 288, 565, 309, 261, 78, 78, 5111, 3784, 13, 288, 1377, 10684, 3413, 18, 4412, 907, 3876, 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, 727, 1071, 918, 7110, 31419, 548, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 7110, 31419, 548, 1195, 225, 9183, 3092, 31419, 548, 10684, 5088, 3784, 273, 394, 9183, 3092, 31419, 548, 12, 2211, 16, 804, 46, 56, 16444, 23956, 985, 3575, 734, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 780, 272, 273, 446, 31, 225, 3155, 268, 273, 446, 31, 565, 775, 288, 1377, 268, 273, 10684, 67, 21224, 67, 2316, 12, 16606, 1769, 565, 272, 273, 268, 18, 2730, 31, 1377, 1433, 67, 2138, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 2 ]
vcs.createDirectory(p("dir")); vcs.createFile(p("file"), null);
vcs.createDirectory(p("/dir")); vcs.createFile(p("/file"), null);
public void testIncrementingIdOnEntryCreation() { vcs.createDirectory(p("dir")); vcs.createFile(p("file"), null); vcs.apply(); Integer id1 = vcs.getEntry(p("dir")).getId(); Integer id2 = vcs.getEntry(p("file")).getId(); assertFalse(id1.equals(id2)); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsBasicsTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsBasicsTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 10798, 310, 548, 1398, 1622, 9906, 1435, 288, 565, 20255, 18, 2640, 2853, 12, 84, 2932, 1214, 7923, 1769, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 6, 3631, 446, 1769, 565, 20255, 18, 9010, 5621, 565, 2144, 612, 21, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 26321, 5621, 565, 2144, 612, 22, 273, 20255, 18, 588, 1622, 12, 84, 2932, 768, 7923, 2934, 26321, 5621, 565, 1815, 8381, 12, 350, 21, 18, 14963, 12, 350, 22, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 10798, 310, 548, 1398, 1622, 9906, 1435, 288, 565, 20255, 18, 2640, 2853, 12, 84, 2932, 1214, 7923, 1769, 565, 20255, 18, 2640, 812, 12, 84, 2932, 768, 6, 3631, 446, 1769, 565, 20255, 18, 9010, 5621, 565, 2144, 612, 21, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 26321, 5621, 565, 2144, 612, 22, 273, 20255, 18, 588, 1622, 12, 84, 2932, 768, 7923, 2934, 26321, 5621, 565, 1815, 8381, 12, 350, 21, 18, 14963, 12, 350, 22, 10019, 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 ]
logger.debug("doSend"); initialise(event);
public UMOMessage doSend(UMOEvent event) throws IllegalAccessException, InvocationTargetException, Exception { logger.debug("doSend"); initialise(event); Object[] arguments = getArgs(event); Object result = invokedMethod.invoke(remoteObject, arguments); return (null == result ? null : new MuleMessage(connector.getMessageAdapter(result).getPayload())); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/589f59b15144184ea22999b384d5ea92ddec8bb9/EjbMessageDispatcher.java/clean/providers/ejb/src/java/org/mule/providers/ejb/EjbMessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 5980, 1079, 741, 3826, 12, 2799, 51, 1133, 871, 13, 1216, 11900, 16, 15342, 16, 1185, 565, 288, 3639, 1194, 18, 4148, 2932, 2896, 3826, 8863, 3639, 21301, 12, 2575, 1769, 3639, 1033, 8526, 1775, 273, 30169, 12, 2575, 1769, 3639, 1033, 563, 273, 8187, 1305, 18, 14407, 12, 7222, 921, 16, 1775, 1769, 3639, 327, 261, 2011, 422, 563, 10792, 692, 446, 10792, 294, 394, 490, 725, 1079, 12, 23159, 18, 24906, 4216, 12, 2088, 2934, 588, 6110, 1435, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 5980, 1079, 741, 3826, 12, 2799, 51, 1133, 871, 13, 1216, 11900, 16, 15342, 16, 1185, 565, 288, 3639, 1194, 18, 4148, 2932, 2896, 3826, 8863, 3639, 21301, 12, 2575, 1769, 3639, 1033, 8526, 1775, 273, 30169, 12, 2575, 1769, 3639, 1033, 563, 273, 8187, 1305, 18, 14407, 12, 7222, 921, 16, 1775, 1769, 3639, 327, 261, 2011, 422, 563, 10792, 692, 446, 10792, 294, 394, 490, 725, 1079, 12, 23159, 18, 24906, 4216, 12, 2088, 2934, 588, 6110, 1435, 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 ]
byte[] residual = nextFrame.getResidualData();
byte[] residual = nextFrame.getResiduals();
public AudioInputStream getAudio(List units){ logger.debug("Getting audio for "+units.size()+" units"); List audioStreams = new ArrayList(units.size()); FrameSet sts = database.getAudioFrames(); // Information for LPC resynthesis: FrameSetInfo frameSetInfo = sts.getFrameSetInfo(); if (frameSetInfo == null) { throw new IllegalStateException("UnitConcatenator: FrameSetInfo does not exist"); } int lpcOrder = frameSetInfo.getNumberOfChannels(); FloatList globalLPCHistory = FloatList.createList(lpcOrder + 1); double lpcRangeFactor = (double) frameSetInfo.getCoeffRange() / 65535.0; float lpcMinimum = frameSetInfo.getCoeffMin(); // First loop through all units: collect information and build up preparatory structures for (Iterator it = units.iterator();it.hasNext();) { SelectedUnit unit = (SelectedUnit) it.next(); UnitLPCData lpcData = new UnitLPCData(); unit.setConcatenationData(lpcData); int pitchmarksInUnit = unit.getNumberOfFrames(); assert pitchmarksInUnit > 0; int nSamples = 0; // First of all: Set target pitchmarks, // either by copying from units (data-driven) // or by computing from target (model-driven) int[] pitchmarks; if (unit.getTarget().isSilence()) { int targetLength = unit.targetDurationInSamples(); int unitLength = unit.unitDurationInSamples(); int avgPeriodLength = unitLength / pitchmarksInUnit; // there will be rounding errors here int nTargetPitchmarks = Math.round((float)targetLength / avgPeriodLength); // round to the nearest integer pitchmarks = new int[nTargetPitchmarks]; lpcData.setPitchmarks(pitchmarks); for (int i=0; i<nTargetPitchmarks-1; i++) { nSamples += avgPeriodLength; pitchmarks[i] = nSamples; } // last pitchmark compensates for rounding errors nSamples += targetLength - (nTargetPitchmarks-1)*avgPeriodLength; pitchmarks[nTargetPitchmarks-1] = nSamples; assert pitchmarks[nTargetPitchmarks-1] == unit.targetDurationInSamples(); } else { pitchmarks = new int[pitchmarksInUnit]; lpcData.setPitchmarks(pitchmarks); for (int i = 0; i < pitchmarks.length; i++) { nSamples += unit.getAudioFrameSize(i); pitchmarks[i] = nSamples; } // the following can be assumed only if there is no start or end shift: // assert pitchmarks[pitchmarks.length-1] == unit.unitDurationInSamples(); } int nPitchmarks = pitchmarks.length; short[][] frames = new short[nPitchmarks][]; lpcData.setFrameCoefficients(frames); byte[] residuals = new byte[nSamples]; lpcData.setResiduals(residuals); int unitSize = unit.unitDurationInSamples(); float m = (float)unitSize/(float)(nSamples); // if m==1, copy unit as it is; if != 1, skip or duplicate frames int targetResidualPosition = 0; float uIndex = 0; // counter of imaginary sample position in the unit // for each pitchmark, get frame coefficients and residual for (int i=0; i < nPitchmarks && pitchmarks[i] <= nSamples; i++) { Frame nextFrame = unit.getNearestAudioFrame(uIndex); frames[i] = nextFrame.getCoefficients(); // Get residual by copying, adapting residual length if necessary byte[] residual = nextFrame.getResidualData(); int targetResidualSize = lpcData.getPeriodLength(i); if (residual.length < targetResidualSize) { int targetResidualStart = (targetResidualSize - residual.length) / 2; System.arraycopy(residual, 0, residuals, targetResidualPosition + targetResidualStart, residual.length); } else { int sourcePosition = (residual.length - targetResidualSize) / 2; System.arraycopy(residual, sourcePosition, residuals, targetResidualPosition, targetResidualSize); } targetResidualPosition += targetResidualSize; assert targetResidualPosition == pitchmarks[i]; uIndex += ((float) targetResidualSize * m); } assert targetResidualPosition == nSamples; } // Second loop through all units: Generate audio for (Iterator it = units.iterator();it.hasNext();) { // TODO: verify if this should be inserted into the above loop SelectedUnit unit = (SelectedUnit) it.next(); UnitLPCData lpcData = (UnitLPCData) unit.getConcatenationData(); int nPitchmarks = lpcData.getPitchmarks().length; int nSamples = lpcData.getResiduals().length; byte[] residuals = lpcData.getResiduals(); FloatList outBuffer = globalLPCHistory; byte[] samples = new byte[2*nSamples]; float[] lpcCoefficients = new float[lpcOrder]; int s = 0; // For each frame: for (int r = 0, i = 0; i < nPitchmarks; i++) { // unpack the LPC coefficients short[] frame = lpcData.getFrameCoefficients(i); for (int k = 0; k < lpcOrder; k++) { lpcCoefficients[k] = (float) ((frame[k] + 32768.0) * lpcRangeFactor) + lpcMinimum; } int nSamplesInFrame = lpcData.getPeriodLength(i); // For each sample: for (int j = 0; j < nSamplesInFrame; j++, r++) { FloatList backBuffer = outBuffer.prev; float ob = residualToFloatMap[residuals[r] + 128]; for (int k=0; k<lpcOrder; k++) { ob += lpcCoefficients[k] * backBuffer.value; backBuffer = backBuffer.prev; } int sample = (int) ob; samples[s++] = (byte) hibyte(sample); samples[s++] = (byte) lobyte(sample); outBuffer.value = ob; outBuffer = outBuffer.next; } } ByteArrayInputStream bais = new ByteArrayInputStream(samples); int samplesize = audioformat.getSampleSizeInBits(); if (samplesize == AudioSystem.NOT_SPECIFIED) samplesize = 16; // usually 16 bit data long lengthInSamples = samples.length / (samplesize/8); AudioInputStream ais = new AudioInputStream(bais, audioformat, lengthInSamples); unit.setAudio(ais); audioStreams.add(ais); } return new SequenceAudioInputStream(audioformat, audioStreams); }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/7873d2d8762d997ab7ec8918af0ef1b743f5925d/ClusterUnitConcatenator.java/buggy/java/de/dfki/lt/mary/unitselection/clunits/ClusterUnitConcatenator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15045, 4348, 4506, 4484, 12, 682, 4971, 15329, 3639, 1194, 18, 4148, 2932, 19213, 7447, 364, 13773, 7705, 18, 1467, 1435, 9078, 4971, 8863, 3639, 987, 7447, 10301, 273, 394, 2407, 12, 7705, 18, 1467, 10663, 3639, 8058, 694, 27099, 273, 2063, 18, 588, 12719, 15162, 5621, 3639, 368, 15353, 364, 511, 3513, 400, 878, 20432, 30, 3639, 8058, 694, 966, 2623, 694, 966, 273, 27099, 18, 588, 3219, 694, 966, 5621, 3639, 309, 261, 3789, 694, 966, 422, 446, 13, 288, 5411, 604, 394, 5477, 2932, 2802, 21432, 639, 30, 8058, 694, 966, 1552, 486, 1005, 8863, 3639, 289, 3639, 509, 328, 2436, 2448, 273, 2623, 694, 966, 18, 588, 9226, 10585, 5621, 3639, 5450, 682, 2552, 14461, 1792, 2877, 273, 5450, 682, 18, 2640, 682, 12, 80, 2436, 2448, 397, 404, 1769, 3639, 1645, 328, 2436, 2655, 6837, 273, 261, 9056, 13, 2623, 694, 966, 18, 588, 4249, 17098, 2655, 1435, 342, 10147, 18, 20, 31, 3639, 1431, 328, 2436, 13042, 273, 2623, 694, 966, 18, 588, 4249, 17098, 2930, 5621, 7734, 368, 5783, 2798, 3059, 777, 4971, 30, 3274, 1779, 471, 1361, 731, 675, 1065, 8452, 12597, 377, 202, 1884, 261, 3198, 518, 273, 4971, 18, 9838, 5621, 305, 18, 5332, 2134, 5621, 13, 288, 377, 202, 565, 4352, 828, 2802, 2836, 273, 261, 7416, 2802, 13, 518, 18, 4285, 5621, 5411, 8380, 48, 3513, 751, 328, 2436, 751, 273, 394, 8380, 48, 3513, 751, 5621, 5411, 2836, 18, 542, 21432, 367, 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, 15045, 4348, 4506, 4484, 12, 682, 4971, 15329, 3639, 1194, 18, 4148, 2932, 19213, 7447, 364, 13773, 7705, 18, 1467, 1435, 9078, 4971, 8863, 3639, 987, 7447, 10301, 273, 394, 2407, 12, 7705, 18, 1467, 10663, 3639, 8058, 694, 27099, 273, 2063, 18, 588, 12719, 15162, 5621, 3639, 368, 15353, 364, 511, 3513, 400, 878, 20432, 30, 3639, 8058, 694, 966, 2623, 694, 966, 273, 27099, 18, 588, 3219, 694, 966, 5621, 3639, 309, 261, 3789, 694, 966, 422, 446, 13, 288, 5411, 604, 394, 5477, 2932, 2802, 21432, 639, 30, 8058, 694, 966, 1552, 486, 1005, 8863, 3639, 289, 3639, 509, 328, 2436, 2448, 273, 2623, 694, 966, 18, 588, 9226, 10585, 5621, 3639, 5450, 682, 2 ]
Thread.currentThread().setContextClassLoader(original);
if (! initialized) proxyContext.destroyContextAttributes(httpContext);
public void init(ServletConfig servletConfig) throws ServletException { ClassLoader original = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(registeredContextClassLoader); servlet.init(servletConfig); } finally { Thread.currentThread().setContextClassLoader(original); } servlets.add(servlet); }
13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/a7831b67683b066eba7554ba3b9cef59f8cddb36/ServletRegistration.java/buggy/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ServletRegistration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 4745, 809, 8100, 809, 13, 1216, 16517, 288, 202, 202, 7805, 2282, 273, 4884, 18, 2972, 3830, 7675, 29120, 7805, 5621, 202, 202, 698, 288, 1082, 202, 3830, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 14327, 1042, 7805, 1769, 1082, 202, 23231, 18, 2738, 12, 23231, 809, 1769, 202, 202, 97, 3095, 288, 1082, 202, 3830, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 8830, 1769, 202, 202, 97, 202, 202, 23231, 87, 18, 1289, 12, 23231, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 4745, 809, 8100, 809, 13, 1216, 16517, 288, 202, 202, 7805, 2282, 273, 4884, 18, 2972, 3830, 7675, 29120, 7805, 5621, 202, 202, 698, 288, 1082, 202, 3830, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 14327, 1042, 7805, 1769, 1082, 202, 23231, 18, 2738, 12, 23231, 809, 1769, 202, 202, 97, 3095, 288, 1082, 202, 3830, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 8830, 1769, 202, 202, 97, 202, 202, 23231, 87, 18, 1289, 12, 23231, 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 ]
if ( e.widget instanceof Button && ( ( (Button) e.widget ).getStyle( ) & SWT.TOGGLE ) == SWT.TOGGLE && ( (Button) e.widget ).getSelection( ) )
if ( isRegistered( e.widget ) )
public void widgetSelected( SelectionEvent e ) { // detach popup dialogue if ( detachPopup( e.widget ) ) { return; } if ( e.widget instanceof Button && ( ( (Button) e.widget ).getStyle( ) & SWT.TOGGLE ) == SWT.TOGGLE && ( (Button) e.widget ).getSelection( ) ) { selectAllButtons( false ); ( (Button) e.widget ).setSelection( true ); } if ( e.widget.equals( btnTitleVisible ) ) { getChart( ).getLegend( ) .getTitle( ) .setVisible( ( (Button) e.widget ).getSelection( ) ); txtTitle.setEnabled( getChart( ).getLegend( ) .getTitle( ) .isVisible( ) ); refreshPopupSheet( ); } else if ( e.widget.equals( btnShowValue ) ) { getChart( ).getLegend( ) .setShowValue( ( (Button) e.widget ).getSelection( ) ); } else if ( e.widget.equals( btnAreaProp ) ) { popupShell = createPopupShell( ); popupSheet = new LegendLayoutSheet( popupShell, getContext( ) ); getWizard( ).attachPopup( Messages.getString( "ChartLegendSheetImpl.Title.LayoutLegend" ), -1, -1 ); //$NON-NLS-1$ } else if ( e.widget.equals( btnLegendText ) ) { popupShell = createPopupShell( ); popupSheet = new LegendTextSheet( popupShell, getContext( ) ); getWizard( ).attachPopup( Messages.getString( "ChartLegendSheetImpl.Title.FormatLegendText" ), -1, -1 ); //$NON-NLS-1$ } else if ( e.widget.equals( btnInteractivity ) ) { popupShell = createPopupShell( ); popupSheet = new InteractivitySheet( popupShell, getContext( ), getChart( ).getLegend( ).getTriggers( ), false, true ); getWizard( ).attachPopup( btnInteractivity.getText( ), -1, -1 ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e89bee61a969154f0d074fedf34da17dd208f822/ChartLegendSheetImpl.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/chart/ChartLegendSheetImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 202, 95, 202, 202, 759, 10199, 10431, 6176, 344, 202, 202, 430, 261, 10199, 13770, 12, 425, 18, 6587, 262, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 425, 18, 6587, 1276, 12569, 9506, 202, 10, 10, 261, 261, 261, 3616, 13, 425, 18, 6587, 262, 18, 588, 2885, 12, 262, 473, 348, 8588, 18, 4296, 19491, 900, 262, 422, 348, 8588, 18, 4296, 19491, 900, 9506, 202, 10, 10, 261, 261, 3616, 13, 425, 18, 6587, 262, 18, 588, 6233, 12, 262, 262, 202, 202, 95, 1082, 202, 4025, 1595, 14388, 12, 629, 11272, 1082, 202, 12, 261, 3616, 13, 425, 18, 6587, 262, 18, 542, 6233, 12, 638, 11272, 202, 202, 97, 202, 202, 430, 261, 425, 18, 6587, 18, 14963, 12, 10638, 4247, 6207, 262, 262, 202, 202, 95, 1082, 202, 588, 7984, 12, 262, 18, 588, 16812, 12, 262, 6862, 202, 18, 588, 4247, 12, 262, 6862, 202, 18, 542, 6207, 12, 261, 261, 3616, 13, 425, 18, 6587, 262, 18, 588, 6233, 12, 262, 11272, 1082, 202, 5830, 4247, 18, 542, 1526, 12, 336, 7984, 12, 262, 18, 588, 16812, 12, 262, 6862, 202, 18, 588, 4247, 12, 262, 6862, 202, 18, 291, 6207, 12, 262, 11272, 1082, 202, 9144, 13770, 8229, 12, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 425, 18, 6587, 18, 14963, 12, 10638, 5706, 620, 262, 262, 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, 3604, 7416, 12, 12977, 1133, 425, 262, 202, 95, 202, 202, 759, 10199, 10431, 6176, 344, 202, 202, 430, 261, 10199, 13770, 12, 425, 18, 6587, 262, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 425, 18, 6587, 1276, 12569, 9506, 202, 10, 10, 261, 261, 261, 3616, 13, 425, 18, 6587, 262, 18, 588, 2885, 12, 262, 473, 348, 8588, 18, 4296, 19491, 900, 262, 422, 348, 8588, 18, 4296, 19491, 900, 9506, 202, 10, 10, 261, 261, 3616, 13, 425, 18, 6587, 262, 18, 588, 6233, 12, 262, 262, 202, 202, 95, 1082, 202, 4025, 1595, 14388, 12, 629, 11272, 1082, 202, 12, 261, 3616, 13, 2 ]
outputWriter.writeln("result: " + result);
fOutputWriter.writeln("result: " + result);
public void testModel() { XMLModel model = createHTMLModel(); try { Document document = model.getDocument(); Text t = document.createTextNode("t"); document.appendChild(t); SourceValidator validator = new SourceValidator(t); String source = null; String result = null; source = "aaa<bbb>ccc"; outputWriter.writeln("source: " + source); try { validator.validateSource(source); } catch (InvalidCharacterException ex) { outputWriter.writeln(ex.getMessage()); } result = validator.convertSource(source); outputWriter.writeln("result: " + result); source = "aaa&amp;\"'bbb&gt;&lt;ccc&quot;&#64;"; outputWriter.writeln("source: " + source); try { validator.validateSource(source); } catch (InvalidCharacterException ex) { outputWriter.writeln(ex.getMessage()); } result = validator.convertSource(source); outputWriter.writeln("result: " + result); source = "&amp;&&"; outputWriter.writeln("source: " + source); try { validator.validateSource(source); } catch (InvalidCharacterException ex) { outputWriter.writeln(ex.getMessage()); } result = validator.convertSource(source); outputWriter.writeln("result: " + result); source = "&bbb&<>ccc"; outputWriter.writeln("source: " + source); try { validator.validateSource(source); } catch (InvalidCharacterException ex) { outputWriter.writeln(ex.getMessage()); } result = validator.convertSource(source); outputWriter.writeln("result: " + result); source = "&unk;&unk"; outputWriter.writeln("source: " + source); try { validator.validateSource(source); } catch (InvalidCharacterException ex) { outputWriter.writeln(ex.getMessage()); } result = validator.convertSource(source); outputWriter.writeln("result: " + result); saveAndCompareTestResults(); } finally { model.releaseFromEdit(); } }
58500 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58500/d94b335243f9713c9076c11c64897c6eabe51396/SourceTest.java/buggy/tests/org.eclipse.wst.html.core.tests/src/org/eclipse/wst/html/core/tests/parser/SourceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1488, 1435, 288, 202, 202, 4201, 1488, 938, 273, 752, 4870, 1488, 5621, 202, 202, 698, 288, 1082, 202, 2519, 1668, 273, 938, 18, 588, 2519, 5621, 1082, 202, 1528, 268, 273, 1668, 18, 2640, 17299, 2932, 88, 8863, 1082, 202, 5457, 18, 6923, 1763, 12, 88, 1769, 1082, 202, 1830, 5126, 4213, 273, 394, 4998, 5126, 12, 88, 1769, 1082, 202, 780, 1084, 273, 446, 31, 1082, 202, 780, 563, 273, 446, 31, 1082, 202, 3168, 273, 315, 26676, 32, 9897, 70, 34, 952, 71, 14432, 1082, 202, 2844, 2289, 18, 5363, 292, 82, 2932, 3168, 30, 315, 397, 1084, 1769, 1082, 202, 698, 288, 9506, 202, 7357, 18, 5662, 1830, 12, 3168, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 1941, 7069, 503, 431, 13, 288, 9506, 202, 2844, 2289, 18, 5363, 292, 82, 12, 338, 18, 24906, 10663, 1082, 202, 97, 1082, 202, 2088, 273, 4213, 18, 6283, 1830, 12, 3168, 1769, 1082, 202, 2844, 2289, 18, 5363, 292, 82, 2932, 2088, 30, 315, 397, 563, 1769, 1082, 202, 3168, 273, 315, 26676, 10, 931, 31, 2412, 11, 9897, 70, 10, 4521, 23480, 5618, 31, 952, 71, 10, 9270, 31, 18642, 1105, 4868, 31, 1082, 202, 2844, 2289, 18, 5363, 292, 82, 2932, 3168, 30, 315, 397, 1084, 1769, 1082, 202, 698, 288, 9506, 202, 7357, 18, 5662, 1830, 12, 3168, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 1941, 7069, 503, 431, 13, 288, 9506, 202, 2844, 2289, 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, 1488, 1435, 288, 202, 202, 4201, 1488, 938, 273, 752, 4870, 1488, 5621, 202, 202, 698, 288, 1082, 202, 2519, 1668, 273, 938, 18, 588, 2519, 5621, 1082, 202, 1528, 268, 273, 1668, 18, 2640, 17299, 2932, 88, 8863, 1082, 202, 5457, 18, 6923, 1763, 12, 88, 1769, 1082, 202, 1830, 5126, 4213, 273, 394, 4998, 5126, 12, 88, 1769, 1082, 202, 780, 1084, 273, 446, 31, 1082, 202, 780, 563, 273, 446, 31, 1082, 202, 3168, 273, 315, 26676, 32, 9897, 70, 34, 952, 71, 14432, 1082, 202, 2844, 2289, 18, 5363, 292, 82, 2932, 3168, 30, 315, 397, 1084, 1769, 1082, 202, 698, 288, 9506, 202, 7357, 18, 5662, 1830, 12, 3168, 2 ]
for (int i = 0; i < 2; i++) { if (monthFormat[i] == null) { SimpleDateFormat f = (SimpleDateFormat) IBMCalendar.getDateTimeFormat( calendars[i], DateFormat.MEDIUM, -1, locales[displayMenu.getSelectedIndex()]); f.applyPattern("MMMM, yyyy G"); f.setTimeZone(new SimpleTimeZone(0, "UTC")); monthFormat[i] = f;
for (int i = 0; i < 2; i++) { try { if (monthFormat[i] == null) { DateFormat f = IBMCalendar.getDateTimeFormat( calendars[i], DateFormat.MEDIUM, -1, locales[displayMenu.getSelectedIndex()]); if (f instanceof com.ibm.text.SimpleDateFormat) { com.ibm.text.SimpleDateFormat f1 = (com.ibm.text.SimpleDateFormat) f; f1.applyPattern("MMMM, yyyy G"); f1.setTimeZone(new SimpleTimeZone(0, "UTC")); } else if (f instanceof java.text.SimpleDateFormat) { java.text.SimpleDateFormat f1 = (java.text.SimpleDateFormat) f; f1.applyPattern("MMMM, yyyy G"); f1.setTimeZone(new SimpleTimeZone(0, "UTC")); } monthFormat[i] = f; } } catch (ClassCastException e) { System.out.println(e); } monthLabel[i].setText( monthFormat[i].format( calendarPanel.firstOfMonth() ));
private void updateMonthName() { for (int i = 0; i < 2; i++) { if (monthFormat[i] == null) { // TODO: optimize SimpleDateFormat f = (SimpleDateFormat) IBMCalendar.getDateTimeFormat( calendars[i], DateFormat.MEDIUM, -1, locales[displayMenu.getSelectedIndex()]); f.applyPattern("MMMM, yyyy G"); f.setTimeZone(new SimpleTimeZone(0, "UTC")); monthFormat[i] = f; } monthLabel[i].setText( monthFormat[i].format( calendarPanel.firstOfMonth() )); } }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/95cf4d48cbeae61dad5a29698137cd326306ef50/CalendarFrame.java/buggy/icu4j/src/com/ibm/demo/calendar/CalendarFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 5445, 461, 1435, 565, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 576, 31, 277, 27245, 288, 5411, 309, 261, 7496, 1630, 63, 77, 65, 422, 446, 13, 288, 377, 368, 2660, 30, 10979, 7734, 17005, 284, 273, 261, 5784, 11878, 13, 23450, 49, 7335, 18, 588, 5096, 1630, 12, 4766, 3639, 5686, 87, 63, 77, 6487, 18371, 18, 15971, 2799, 16, 300, 21, 16, 4766, 3639, 6922, 63, 5417, 4599, 18, 588, 7416, 1016, 1435, 19226, 7734, 284, 18, 9010, 3234, 2932, 8206, 8206, 16, 24025, 611, 8863, 7734, 284, 18, 542, 16760, 12, 2704, 4477, 16760, 12, 20, 16, 315, 11471, 7923, 1769, 7734, 3138, 1630, 63, 77, 65, 273, 284, 31, 5411, 289, 5411, 3138, 2224, 63, 77, 8009, 542, 1528, 12, 3138, 1630, 63, 77, 8009, 2139, 12, 5686, 5537, 18, 3645, 14941, 1435, 262, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 5445, 461, 1435, 565, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 576, 31, 277, 27245, 288, 5411, 309, 261, 7496, 1630, 63, 77, 65, 422, 446, 13, 288, 377, 368, 2660, 30, 10979, 7734, 17005, 284, 273, 261, 5784, 11878, 13, 23450, 49, 7335, 18, 588, 5096, 1630, 12, 4766, 3639, 5686, 87, 63, 77, 6487, 18371, 18, 15971, 2799, 16, 300, 21, 16, 4766, 3639, 6922, 63, 5417, 4599, 18, 588, 7416, 1016, 1435, 19226, 7734, 284, 18, 9010, 3234, 2932, 8206, 8206, 16, 24025, 611, 8863, 7734, 284, 18, 542, 16760, 12, 2704, 4477, 16760, 12, 20, 16, 315, 11471, 7923, 1769, 7734, 3138, 1630, 63, 77, 65, 273, 2 ]
if ((contentType != null) && contentType.startsWith("multipart/form-data")) {
if ((contentType != null) && contentType.startsWith("multipart/form-data")) {
protected HttpServletRequest processMultipart(HttpServletRequest request) { if (!"POST".equalsIgnoreCase(request.getMethod())) { return (request); } String contentType = request.getContentType(); if ((contentType != null) && contentType.startsWith("multipart/form-data")) { return (new MultipartRequestWrapper(request)); } else { return (request); } }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/22fccc36154c6b13c98c040efe9504d75e1cb7a1/RequestProcessor.java/buggy/src/share/org/apache/struts/action/RequestProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 9984, 1207, 12024, 12, 2940, 18572, 590, 13, 288, 3639, 309, 261, 4442, 3798, 9654, 14963, 5556, 12, 2293, 18, 588, 1305, 1435, 3719, 288, 5411, 327, 261, 2293, 1769, 3639, 289, 3639, 514, 5064, 273, 590, 18, 588, 8046, 5621, 3639, 309, 14015, 22194, 480, 446, 13, 597, 5411, 5064, 18, 17514, 1190, 2932, 16404, 19, 687, 17, 892, 6, 3719, 288, 5411, 327, 261, 2704, 19919, 691, 3611, 12, 2293, 10019, 3639, 289, 469, 288, 5411, 327, 261, 2293, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9984, 1207, 12024, 12, 2940, 18572, 590, 13, 288, 3639, 309, 261, 4442, 3798, 9654, 14963, 5556, 12, 2293, 18, 588, 1305, 1435, 3719, 288, 5411, 327, 261, 2293, 1769, 3639, 289, 3639, 514, 5064, 273, 590, 18, 588, 8046, 5621, 3639, 309, 14015, 22194, 480, 446, 13, 597, 5411, 5064, 18, 17514, 1190, 2932, 16404, 19, 687, 17, 892, 6, 3719, 288, 5411, 327, 261, 2704, 19919, 691, 3611, 12, 2293, 10019, 3639, 289, 469, 288, 5411, 327, 261, 2293, 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 ]
scanner.addDefinition( "THAT", "1" );
addDefinition( "THAT", "1" );
public void testConditionalWithBraces() throws Exception { for( int i = 0; i < 4; ++i ) { initializeScanner( "int foobar(int a) { if(a == 0) {\n#ifdef THIS\n} else {}\n#elif THAT\n} else {}\n#endif\nreturn 0;}" ); //$NON-NLS-1$ switch( i ) { case 0: scanner.addDefinition( "THIS", "1"); //$NON-NLS-1$ //$NON-NLS-2$ scanner.addDefinition( "THAT", "1" ); //$NON-NLS-1$ //$NON-NLS-2$ break; case 1: scanner.addDefinition( "THIS", "1"); //$NON-NLS-1$ //$NON-NLS-2$ scanner.addDefinition( "THAT", "0" ); //$NON-NLS-1$ //$NON-NLS-2$ break; case 2: scanner.addDefinition( "THAT", "1" ); //$NON-NLS-1$ //$NON-NLS-2$ break; case 3: scanner.addDefinition( "THAT", "0" ); //$NON-NLS-1$ //$NON-NLS-2$ break; } validateToken( IToken.t_int ); validateIdentifier( "foobar"); //$NON-NLS-1$ validateToken( IToken.tLPAREN ); validateToken( IToken.t_int ); validateIdentifier( "a" ); //$NON-NLS-1$ validateToken( IToken.tRPAREN ); validateToken( IToken.tLBRACE ); validateToken( IToken.t_if ); validateToken( IToken.tLPAREN ); validateIdentifier( "a" ); //$NON-NLS-1$ validateToken( IToken.tEQUAL ); validateInteger( "0" ); //$NON-NLS-1$ validateToken( IToken.tRPAREN ); validateToken( IToken.tLBRACE ); if( i <= 1 ) { validateToken( IToken.tRBRACE ); validateToken( IToken.t_else ); validateToken( IToken.tLBRACE ); validateToken( IToken.tRBRACE ); } if( i == 2 ) { validateToken( IToken.tRBRACE ); validateToken( IToken.t_else ); validateToken( IToken.tLBRACE ); validateToken( IToken.tRBRACE ); } validateToken( IToken.t_return ); validateInteger( "0"); //$NON-NLS-1$ validateToken( IToken.tSEMI ); validateToken( IToken.tRBRACE ); validateEOF(); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/9a9ffd59c2ace5ba7e382136e5bf15a8c1305996/Scanner2Test.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner2/Scanner2Test.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 14132, 1190, 38, 354, 764, 1435, 1216, 1185, 202, 95, 1082, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 1059, 31, 965, 77, 262, 1082, 202, 95, 9506, 202, 11160, 11338, 12, 315, 474, 18261, 947, 297, 12, 474, 279, 13, 288, 309, 12, 69, 422, 374, 13, 18890, 82, 7, 430, 536, 20676, 64, 82, 97, 469, 21164, 82, 7, 292, 430, 7662, 789, 64, 82, 97, 469, 21164, 82, 7, 409, 430, 64, 82, 2463, 374, 31, 1532, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 9610, 12, 277, 262, 9506, 202, 95, 6862, 202, 3593, 374, 30, 25083, 202, 26842, 18, 1289, 1852, 12, 315, 2455, 5127, 3113, 315, 21, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 25083, 202, 1289, 1852, 12, 315, 2455, 789, 3113, 315, 21, 6, 11272, 282, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 25083, 202, 8820, 31, 4405, 202, 3593, 404, 30, 25083, 202, 26842, 18, 1289, 1852, 12, 315, 2455, 5127, 3113, 315, 21, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 25083, 202, 26842, 18, 1289, 1852, 12, 315, 2455, 789, 3113, 315, 20, 6, 11272, 282, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 25083, 202, 8820, 31, 17322, 1082, 202, 3593, 576, 30, 25083, 202, 1289, 1852, 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, 225, 202, 482, 918, 1842, 14132, 1190, 38, 354, 764, 1435, 1216, 1185, 202, 95, 1082, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 1059, 31, 965, 77, 262, 1082, 202, 95, 9506, 202, 11160, 11338, 12, 315, 474, 18261, 947, 297, 12, 474, 279, 13, 288, 309, 12, 69, 422, 374, 13, 18890, 82, 7, 430, 536, 20676, 64, 82, 97, 469, 21164, 82, 7, 292, 430, 7662, 789, 64, 82, 97, 469, 21164, 82, 7, 409, 430, 64, 82, 2463, 374, 31, 1532, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 9610, 12, 277, 262, 9506, 202, 95, 6862, 202, 3593, 374, 30, 25083, 202, 26842, 18, 1289, 1852, 12, 315, 2455, 5127, 2 ]
this.status.jobid = id; this.status.runState = JobStatus.RUNNING;
status = new JobStatus(id, 0.0f, 0.0f, JobStatus.RUNNING);
public Job(String file, Configuration conf) throws IOException { this.file = file; this.id = "job_" + newId(); this.mapoutputFile = new MapOutputFile(); this.mapoutputFile.setConf(conf); this.localFile = new JobConf(conf).getLocalPath("localRunner/"+id+".xml"); this.localFs = FileSystem.getNamed("local", conf); fs.copyToLocalFile(new Path(file), localFile); this.job = new JobConf(localFile); profile = new JobProfile(job.getUser(), id, file, "http://localhost:8080/", job.getJobName()); this.status.jobid = id; this.status.runState = JobStatus.RUNNING; jobs.put(id, this); this.start(); }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/38326245188b0de6dc75d1c182b4f1b706107d10/LocalJobRunner.java/buggy/src/java/org/apache/hadoop/mapred/LocalJobRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3956, 12, 780, 585, 16, 4659, 2195, 13, 1216, 1860, 288, 1377, 333, 18, 768, 273, 585, 31, 1377, 333, 18, 350, 273, 315, 4688, 9548, 397, 27598, 5621, 1377, 333, 18, 1458, 2844, 812, 273, 394, 1635, 1447, 812, 5621, 1377, 333, 18, 1458, 2844, 812, 18, 542, 3976, 12, 3923, 1769, 1377, 333, 18, 3729, 812, 273, 394, 3956, 3976, 12, 3923, 2934, 588, 2042, 743, 2932, 3729, 9709, 4898, 15, 350, 9078, 18, 2902, 8863, 1377, 333, 18, 3729, 12432, 273, 10931, 18, 588, 7604, 2932, 3729, 3113, 2195, 1769, 1377, 2662, 18, 3530, 774, 2042, 812, 12, 2704, 2666, 12, 768, 3631, 30649, 1769, 1377, 333, 18, 4688, 273, 394, 3956, 3976, 12, 3729, 812, 1769, 1377, 3042, 273, 394, 3956, 4029, 12, 4688, 18, 588, 1299, 9334, 612, 16, 585, 16, 27573, 315, 2505, 2207, 13014, 30, 3672, 3672, 19, 3113, 1719, 18, 588, 29425, 10663, 1377, 333, 18, 2327, 18, 4688, 350, 273, 612, 31, 1377, 333, 18, 2327, 18, 2681, 1119, 273, 25852, 18, 29358, 31, 1377, 6550, 18, 458, 12, 350, 16, 333, 1769, 1377, 333, 18, 1937, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3956, 12, 780, 585, 16, 4659, 2195, 13, 1216, 1860, 288, 1377, 333, 18, 768, 273, 585, 31, 1377, 333, 18, 350, 273, 315, 4688, 9548, 397, 27598, 5621, 1377, 333, 18, 1458, 2844, 812, 273, 394, 1635, 1447, 812, 5621, 1377, 333, 18, 1458, 2844, 812, 18, 542, 3976, 12, 3923, 1769, 1377, 333, 18, 3729, 812, 273, 394, 3956, 3976, 12, 3923, 2934, 588, 2042, 743, 2932, 3729, 9709, 4898, 15, 350, 9078, 18, 2902, 8863, 1377, 333, 18, 3729, 12432, 273, 10931, 18, 588, 7604, 2932, 3729, 3113, 2195, 1769, 1377, 2662, 18, 3530, 774, 2042, 812, 12, 2704, 2666, 12, 768, 3631, 30649, 1769, 1377, 333, 18, 4688, 273, 394, 3956, 3976, 12, 2 ]
Message[] m = new Message[msgs.length]; for (int i = 0; i < msgs.length; i++) { m[i] = msgs[i].getRealMessage(); } getFolder().setFlags(m, flag, value);
Message[] m = new Message[msgs.length]; for (int i = 0; i < msgs.length; i++) { m[i] = msgs[i].getRealMessage();
public void setFlags(MessageInfo[] msgs, Flags flag, boolean value) throws MessagingException { Message[] m = new Message[msgs.length]; for (int i = 0; i < msgs.length; i++) { m[i] = msgs[i].getRealMessage(); } getFolder().setFlags(m, flag, value); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/c0fec32b0c58ba8f73e2de3965254c2a53abbdf0/FolderInfo.java/buggy/net/suberic/pooka/FolderInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5094, 12, 1079, 966, 8526, 8733, 16, 10104, 2982, 16, 1250, 460, 13, 1216, 23794, 503, 288, 202, 1079, 8526, 312, 273, 394, 2350, 63, 27439, 18, 2469, 15533, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8733, 18, 2469, 31, 277, 27245, 288, 202, 565, 312, 63, 77, 65, 273, 8733, 63, 77, 8009, 588, 6955, 1079, 5621, 202, 97, 202, 588, 3899, 7675, 542, 5094, 12, 81, 16, 2982, 16, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 5094, 12, 1079, 966, 8526, 8733, 16, 10104, 2982, 16, 1250, 460, 13, 1216, 23794, 503, 288, 202, 1079, 8526, 312, 273, 394, 2350, 63, 27439, 18, 2469, 15533, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8733, 18, 2469, 31, 277, 27245, 288, 202, 565, 312, 63, 77, 65, 273, 8733, 63, 77, 8009, 588, 6955, 1079, 5621, 202, 97, 202, 588, 3899, 7675, 542, 5094, 12, 81, 16, 2982, 16, 460, 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 ]
while (child != null && child.getLocalName().equals(SchemaSymbols.ELT_ANNOTATION))
if(child != null && child.getLocalName().equals(SchemaSymbols.ELT_ANNOTATION)) { traverseAnnotationDecl(child);
private QName traverseElementDecl(Element elementDecl) throws Exception { int contentSpecType = -1; int contentSpecNodeIndex = -1; int typeNameIndex = -1; int scopeDefined = -2; //signal a error if -2 gets gets through //cause scope can never be -2. DatatypeValidator dv = null; String name = elementDecl.getAttribute(SchemaSymbols.ATT_NAME); if ( DEBUGGING ) System.out.println("traversing element decl : " + name ); String ref = elementDecl.getAttribute(SchemaSymbols.ATT_REF); String type = elementDecl.getAttribute(SchemaSymbols.ATT_TYPE); String minOccurs = elementDecl.getAttribute(SchemaSymbols.ATT_MINOCCURS); String maxOccurs = elementDecl.getAttribute(SchemaSymbols.ATT_MAXOCCURS); String dflt = elementDecl.getAttribute(SchemaSymbols.ATT_DEFAULT); String fixed = elementDecl.getAttribute(SchemaSymbols.ATT_FIXED); String substitutionGroup = elementDecl.getAttribute(SchemaSymbols.ATT_SUBSTITUTIONGROUP); // form attribute String isQName = elementDecl.getAttribute(SchemaSymbols.ATT_FORM); String fromAnotherSchema = null; if (isTopLevel(elementDecl)) { int nameIndex = fStringPool.addSymbol(name); int eltKey = fSchemaGrammar.getElementDeclIndex(fTargetNSURI, nameIndex,TOP_LEVEL_SCOPE); if (eltKey > -1 ) { return new QName(-1,nameIndex,nameIndex,fTargetNSURI); } } // parse out 'block', 'final', 'nullable', 'abstract' int blockSet = parseBlockSet(elementDecl.getAttribute(SchemaSymbols.ATT_BLOCK)); int finalSet = parseFinalSet(elementDecl.getAttribute(SchemaSymbols.ATT_FINAL)); boolean isNullable = elementDecl.getAttribute (SchemaSymbols.ATT_NULLABLE).equals(SchemaSymbols.ATTVAL_TRUE)? true:false; boolean isAbstract = elementDecl.getAttribute (SchemaSymbols.ATT_ABSTRACT).equals(SchemaSymbols.ATTVAL_TRUE)? true:false; int elementMiscFlags = 0; if (isNullable) { elementMiscFlags += SchemaSymbols.NULLABLE; } if (isAbstract) { elementMiscFlags += SchemaSymbols.ABSTRACT; } //if this is a reference to a global element int attrCount = 0; if (!ref.equals("")) attrCount++; if (!type.equals("")) attrCount++; //REVISIT top level check for ref & archref if (attrCount > 1) reportSchemaError(SchemaMessageProvider.OneOfTypeRefArchRef, null); if (!ref.equals("")) { if (XUtil.getFirstChildElement(elementDecl) != null) reportSchemaError(SchemaMessageProvider.NoContentForRef, null); String prefix = ""; String localpart = ref; int colonptr = ref.indexOf(":"); if ( colonptr > 0) { prefix = ref.substring(0,colonptr); localpart = ref.substring(colonptr+1); } int localpartIndex = fStringPool.addSymbol(localpart); String uriString = resolvePrefixToURI(prefix); QName eltName = new QName(prefix != null ? fStringPool.addSymbol(prefix) : -1, localpartIndex, fStringPool.addSymbol(ref), uriString != null ? fStringPool.addSymbol(uriString) : -1); //if from another schema, just return the element QName if (! uriString.equals(fTargetNSURIString) ) { return eltName; } int elementIndex = fSchemaGrammar.getElementDeclIndex(eltName, TOP_LEVEL_SCOPE); //if not found, traverse the top level element that if referenced if (elementIndex == -1 ) { Element targetElement = getTopLevelComponentByName(SchemaSymbols.ELT_ELEMENT,localpart); if (targetElement == null ) { // REVISIT: Localize reportGenericSchemaError("Element " + localpart + " not found in the Schema"); //REVISIT, for now, the QName anyway return eltName; //return new QName(-1,fStringPool.addSymbol(localpart), -1, fStringPool.addSymbol(uriString)); } else { // do nothing here, other wise would cause infinite loop for // <element name="recur"><complexType><element ref="recur"> ... //eltName= traverseElementDecl(targetElement); } } return eltName; } // Handle the substitutionGroup Element substitutionGroupElementDecl = null; int substitutionGroupElementDeclIndex = -1; boolean noErrorSoFar = true; String substitutionGroupUri = null; String substitutionGroupLocalpart = null; String substitutionGroupFullName = null; ComplexTypeInfo substitutionGroupEltTypeInfo = null; DatatypeValidator substitutionGroupEltDV = null; if ( substitutionGroup.length() > 0 ) { substitutionGroupUri = resolvePrefixToURI(getPrefix(substitutionGroup)); substitutionGroupLocalpart = getLocalPart(substitutionGroup); substitutionGroupFullName = substitutionGroupUri+","+substitutionGroupLocalpart; if ( !substitutionGroupUri.equals(fTargetNSURIString) ) { substitutionGroupEltTypeInfo = getElementDeclTypeInfoFromNS(substitutionGroupUri, substitutionGroupLocalpart); if (substitutionGroupEltTypeInfo == null) { substitutionGroupEltDV = getElementDeclTypeValidatorFromNS(substitutionGroupUri, substitutionGroupLocalpart); if (substitutionGroupEltDV == null) { //TO DO: report error here; noErrorSoFar = false; reportGenericSchemaError("Could not find type for element '" +substitutionGroupLocalpart + "' in schema '" + substitutionGroupUri+"'"); } } } else { substitutionGroupElementDecl = getTopLevelComponentByName(SchemaSymbols.ELT_ELEMENT, substitutionGroupLocalpart); if (substitutionGroupElementDecl == null) { substitutionGroupElementDeclIndex = fSchemaGrammar.getElementDeclIndex(fTargetNSURI, getLocalPartIndex(substitutionGroup),TOP_LEVEL_SCOPE); if ( substitutionGroupElementDeclIndex == -1) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("substitutionGroup affiliation element " +substitutionGroup +" in element declaration " +name); } } else { substitutionGroupElementDeclIndex = fSchemaGrammar.getElementDeclIndex(fTargetNSURI, getLocalPartIndex(substitutionGroup),TOP_LEVEL_SCOPE); if ( substitutionGroupElementDeclIndex == -1) { traverseElementDecl(substitutionGroupElementDecl); substitutionGroupElementDeclIndex = fSchemaGrammar.getElementDeclIndex(fTargetNSURI, getLocalPartIndex(substitutionGroup),TOP_LEVEL_SCOPE); } } if (substitutionGroupElementDeclIndex != -1) { substitutionGroupEltTypeInfo = fSchemaGrammar.getElementComplexTypeInfo( substitutionGroupElementDeclIndex ); if (substitutionGroupEltTypeInfo == null) { fSchemaGrammar.getElementDecl(substitutionGroupElementDeclIndex, fTempElementDecl); substitutionGroupEltDV = fTempElementDecl.datatypeValidator; if (substitutionGroupEltDV == null) { //TO DO: report error here; noErrorSoFar = false; reportGenericSchemaError("Could not find type for element '" +substitutionGroupLocalpart + "' in schema '" + substitutionGroupUri+"'"); } } } } } // // resolving the type for this element right here // ComplexTypeInfo typeInfo = null; // element has a single child element, either a datatype or a type, null if primitive Element child = XUtil.getFirstChildElement(elementDecl); while (child != null && child.getLocalName().equals(SchemaSymbols.ELT_ANNOTATION)) child = XUtil.getNextSiblingElement(child); boolean haveAnonType = false; // Handle Anonymous type if there is one if (child != null) { String childName = child.getLocalName(); if (childName.equals(SchemaSymbols.ELT_COMPLEXTYPE)) { if (child.getAttribute(SchemaSymbols.ATT_NAME).length() > 0) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("anonymous complexType in element '" + name +"' has a name attribute"); } else typeNameIndex = traverseComplexTypeDecl(child); if (typeNameIndex != -1 ) { typeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(fStringPool.toString(typeNameIndex)); } else { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("traverse complexType error in element '" + name +"'"); } haveAnonType = true; } else if (childName.equals(SchemaSymbols.ELT_SIMPLETYPE)) { // TO DO: the Default and fixed attribute handling should be here. if (child.getAttribute(SchemaSymbols.ATT_NAME).length() > 0) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("anonymous simpleType in element '" + name +"' has a name attribute"); } else typeNameIndex = traverseSimpleTypeDecl(child); if (typeNameIndex != -1) { dv = fDatatypeRegistry.getDatatypeValidator(fStringPool.toString(typeNameIndex)); } else { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("traverse simpleType error in element '" + name +"'"); } contentSpecType = XMLElementDecl.TYPE_SIMPLE; haveAnonType = true; } else if (type.equals("")) { // "ur-typed" leaf contentSpecType = XMLElementDecl.TYPE_ANY; //REVISIT: is this right? //contentSpecType = fStringPool.addSymbol("UR_TYPE"); // set occurrence count contentSpecNodeIndex = -1; } else { System.out.println("unhandled case in TraverseElementDecl"); } } // handle type="" here if (haveAnonType && (type.length()>0)) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError( "Element '"+ name + "' have both a type attribute and a annoymous type child" ); } // type specified as an attribute and no child is type decl. else if (!type.equals("")) { if (substitutionGroupElementDecl != null) { checkSubstitutionGroupOK(elementDecl, substitutionGroupElementDecl); } String prefix = ""; String localpart = type; int colonptr = type.indexOf(":"); if ( colonptr > 0) { prefix = type.substring(0,colonptr); localpart = type.substring(colonptr+1); } String typeURI = resolvePrefixToURI(prefix); // check if the type is from the same Schema if ( !typeURI.equals(fTargetNSURIString) && !typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) && typeURI.length() != 0) { // REVISIT, only needed because of resolvePrifixToURI. fromAnotherSchema = typeURI; typeInfo = getTypeInfoFromNS(typeURI, localpart); if (typeInfo == null) { dv = getTypeValidatorFromNS(typeURI, localpart); if (dv == null) { //TO DO: report error here; noErrorSoFar = false; reportGenericSchemaError("Could not find type " +localpart + " in schema " + typeURI); } } } else { typeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(typeURI+","+localpart); if (typeInfo == null) { dv = getDatatypeValidator(typeURI, localpart); if (dv == null ) if (typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) && !fTargetNSURIString.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA)) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("type not found : " + typeURI+":"+localpart); } else { Element topleveltype = getTopLevelComponentByName(SchemaSymbols.ELT_COMPLEXTYPE,localpart); if (topleveltype != null) { if (fCurrentTypeNameStack.search((Object)localpart) > - 1) { //then we found a recursive element using complexType. // REVISIT: this will be broken when recursing happens between 2 schemas int uriInd = -1; if ( isQName.equals(SchemaSymbols.ATTVAL_QUALIFIED)|| fElementDefaultQualified) { uriInd = fTargetNSURI; } int nameIndex = fStringPool.addSymbol(name); QName tempQName = new QName(fCurrentScope, nameIndex, nameIndex, uriInd); fElementRecurseComplex.put(tempQName, localpart); return new QName(-1, nameIndex, nameIndex, uriInd); } else { typeNameIndex = traverseComplexTypeDecl( topleveltype ); typeInfo = (ComplexTypeInfo) fComplexTypeRegistry.get(fStringPool.toString(typeNameIndex)); } } else { topleveltype = getTopLevelComponentByName(SchemaSymbols.ELT_SIMPLETYPE, localpart); if (topleveltype != null) { typeNameIndex = traverseSimpleTypeDecl( topleveltype ); dv = getDatatypeValidator(typeURI, localpart); // TO DO: the Default and fixed attribute handling should be here. } else { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("type not found : " + typeURI+":"+localpart); } } } } } } else if (haveAnonType){ if (substitutionGroupElementDecl != null ) { checkSubstitutionGroupOK(elementDecl, substitutionGroupElementDecl); } } // this element is ur-type, check its substitutionGroup afficliation. else { // if there is substitutionGroup affiliation and not type defition found for this element, // then grab substitutionGroup affiliation's type and give it to this element if ( typeInfo == null && dv == null ) typeInfo = substitutionGroupEltTypeInfo; if ( typeInfo == null && dv == null ) dv = substitutionGroupEltDV; } if (typeInfo == null && dv==null) { if (noErrorSoFar) { // Actually this Element's type definition is ur-type; contentSpecType = XMLElementDecl.TYPE_ANY; // REVISIT, need to wait till we have wildcards implementation. // ADD attribute wildcards here } else { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError ("untyped element : " + name ); } } // if element belongs to a compelx type if (typeInfo!=null) { contentSpecNodeIndex = typeInfo.contentSpecHandle; contentSpecType = typeInfo.contentType; scopeDefined = typeInfo.scopeDefined; dv = typeInfo.datatypeValidator; } // if element belongs to a simple type if (dv!=null) { contentSpecType = XMLElementDecl.TYPE_SIMPLE; if (typeInfo == null) { fromAnotherSchema = null; // not to switch schema in this case } } // // Create element decl // int elementNameIndex = fStringPool.addSymbol(name); int localpartIndex = elementNameIndex; int uriIndex = -1; int enclosingScope = fCurrentScope; //refer to 4.3.2 in "XML Schema Part 1: Structures" if ( isTopLevel(elementDecl)) { uriIndex = fTargetNSURI; enclosingScope = TOP_LEVEL_SCOPE; } else if ( !isQName.equals(SchemaSymbols.ATTVAL_UNQUALIFIED)){ if ( isQName.equals(SchemaSymbols.ATTVAL_QUALIFIED)|| fElementDefaultQualified ) { uriIndex = fTargetNSURI; } } //There can never be two elements with the same name and different type in the same scope. int existSuchElementIndex = fSchemaGrammar.getElementDeclIndex(uriIndex, localpartIndex, enclosingScope); if ( existSuchElementIndex > -1) { fSchemaGrammar.getElementDecl(existSuchElementIndex, fTempElementDecl); DatatypeValidator edv = fTempElementDecl.datatypeValidator; ComplexTypeInfo eTypeInfo = fSchemaGrammar.getElementComplexTypeInfo(existSuchElementIndex); if ( ((eTypeInfo != null)&&(eTypeInfo!=typeInfo)) || ((edv != null)&&(edv != dv)) ) { noErrorSoFar = false; // REVISIT: Localize reportGenericSchemaError("duplicate element decl in the same scope : " + fStringPool.toString(localpartIndex)); } } QName eltQName = new QName(-1,localpartIndex,elementNameIndex,uriIndex); // add element decl to pool int attrListHead = -1 ; // copy up attribute decls from type object if (typeInfo != null) { attrListHead = typeInfo.attlistHead; } int elementIndex = fSchemaGrammar.addElementDecl(eltQName, enclosingScope, scopeDefined, contentSpecType, contentSpecNodeIndex, attrListHead, dv); if ( DEBUGGING ) { /***/ System.out.println("########elementIndex:"+elementIndex+" ("+fStringPool.toString(eltQName.uri)+"," + fStringPool.toString(eltQName.localpart) + ")"+ " eltType:"+type+" contentSpecType:"+contentSpecType+ " SpecNodeIndex:"+ contentSpecNodeIndex +" enclosingScope: " +enclosingScope + " scopeDefined: " +scopeDefined+"\n"); /***/ } if (typeInfo != null) { fSchemaGrammar.setElementComplexTypeInfo(elementIndex, typeInfo); } else { fSchemaGrammar.setElementComplexTypeInfo(elementIndex, typeInfo); // REVISIT: should we report error from here? } // mark element if its type belongs to different Schema. fSchemaGrammar.setElementFromAnotherSchemaURI(elementIndex, fromAnotherSchema); // set BlockSet, FinalSet, Nullable and Abstract for this element decl fSchemaGrammar.setElementDeclBlockSet(elementIndex, blockSet); fSchemaGrammar.setElementDeclFinalSet(elementIndex, finalSet); fSchemaGrammar.setElementDeclMiscFlags(elementIndex, elementMiscFlags); // setSubstitutionGroupElementFullName fSchemaGrammar.setElementDeclSubstitutionGroupElementFullName(elementIndex, substitutionGroupFullName); // // key/keyref/unique processing\ // Element ic = XUtil.getFirstChildElement(elementDecl, IDENTITY_CONSTRAINTS); Vector idConstraints = null; if (ic != null) { // REVISIT: Use cached copy. -Ac XMLElementDecl edecl = new XMLElementDecl(); fSchemaGrammar.getElementDecl(elementIndex, edecl); while (ic != null){ String icName = ic.getLocalName(); if ( icName.equals(SchemaSymbols.ELT_KEY) ) { traverseKey(ic, edecl); } else if ( icName.equals(SchemaSymbols.ELT_KEYREF) ) { traverseKeyRef(ic, edecl); } else if ( icName.equals(SchemaSymbols.ELT_UNIQUE) ) { traverseUnique(ic, edecl); } else { // should never get here throw new RuntimeException("identity constraint must be one of "+ "\""+SchemaSymbols.ELT_UNIQUE+"\", "+ "\""+SchemaSymbols.ELT_KEY+"\", or "+ "\""+SchemaSymbols.ELT_KEYREF+'"'); } fSchemaGrammar.setElementDecl(elementIndex, edecl); ic = XUtil.getNextSiblingElement(ic, IDENTITY_CONSTRAINTS); } } return eltQName; }// end of method traverseElementDecl(Element)
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/ce7c78f422def7e570294f5f71e68284d18f2748/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 16723, 10080, 1046, 3456, 12, 1046, 930, 3456, 13, 1216, 1185, 288, 3639, 509, 29617, 559, 1377, 273, 300, 21, 31, 3639, 509, 29617, 907, 1016, 273, 300, 21, 31, 3639, 509, 8173, 1016, 273, 300, 21, 31, 3639, 509, 2146, 8116, 273, 300, 22, 31, 368, 10420, 279, 555, 309, 300, 22, 5571, 5571, 3059, 4766, 368, 2700, 2146, 848, 5903, 506, 300, 22, 18, 3639, 21168, 5126, 12494, 273, 446, 31, 3639, 514, 508, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 309, 261, 6369, 19066, 262, 5411, 2332, 18, 659, 18, 8222, 2932, 31750, 310, 930, 3496, 294, 315, 397, 508, 11272, 3639, 514, 1278, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 10771, 1769, 3639, 514, 618, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 2399, 1769, 3639, 514, 1131, 31084, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 6236, 51, 6743, 1099, 55, 1769, 3639, 514, 943, 31084, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 6694, 51, 6743, 1099, 55, 1769, 3639, 514, 302, 31864, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 5280, 1769, 3639, 514, 5499, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 30406, 1769, 3639, 514, 12785, 1114, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 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, 16723, 10080, 1046, 3456, 12, 1046, 930, 3456, 13, 1216, 1185, 288, 3639, 509, 29617, 559, 1377, 273, 300, 21, 31, 3639, 509, 29617, 907, 1016, 273, 300, 21, 31, 3639, 509, 8173, 1016, 273, 300, 21, 31, 3639, 509, 2146, 8116, 273, 300, 22, 31, 368, 10420, 279, 555, 309, 300, 22, 5571, 5571, 3059, 4766, 368, 2700, 2146, 848, 5903, 506, 300, 22, 18, 3639, 21168, 5126, 12494, 273, 446, 31, 3639, 514, 508, 273, 930, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 309, 261, 6369, 19066, 262, 5411, 2332, 18, 659, 18, 8222, 2932, 31750, 310, 930, 3496, 294, 315, 397, 508, 11272, 3639, 514, 1278, 273, 2 ]
null);
null);
public void saveUserCookie(UserCookie cookie) { if (cookie.getId() == null) { Long pk = (Long) getSqlMapClientTemplate().queryForObject("getUserCookieId", null); if (pk == null) { pk = new Long(0); } cookie.setId(new Long(pk.longValue() + 1)); getSqlMapClientTemplate().update("addUserCookie", cookie); } else { getSqlMapClientTemplate().update("updateUserCookie", cookie); } }
3521 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3521/5a85c7a969483c66e89f40fc75bcdfc10887d96f/UserDAOiBatis.java/buggy/extras/ibatis/src/dao/org/appfuse/dao/ibatis/UserDAOiBatis.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1923, 1299, 6151, 12, 1299, 6151, 3878, 13, 288, 3639, 309, 261, 8417, 18, 26321, 1435, 422, 446, 13, 288, 5411, 3407, 2365, 273, 7734, 261, 3708, 13, 17789, 863, 1227, 2283, 7675, 2271, 1290, 921, 2932, 588, 1299, 6151, 548, 3113, 28524, 446, 1769, 5411, 309, 261, 5465, 422, 446, 13, 288, 7734, 2365, 273, 394, 3407, 12, 20, 1769, 5411, 289, 5411, 3878, 18, 542, 548, 12, 2704, 3407, 12, 5465, 18, 5748, 620, 1435, 397, 404, 10019, 5411, 17789, 863, 1227, 2283, 7675, 2725, 2932, 1289, 1299, 6151, 3113, 3878, 1769, 3639, 289, 469, 288, 5411, 17789, 863, 1227, 2283, 7675, 2725, 2932, 2725, 1299, 6151, 3113, 3878, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1923, 1299, 6151, 12, 1299, 6151, 3878, 13, 288, 3639, 309, 261, 8417, 18, 26321, 1435, 422, 446, 13, 288, 5411, 3407, 2365, 273, 7734, 261, 3708, 13, 17789, 863, 1227, 2283, 7675, 2271, 1290, 921, 2932, 588, 1299, 6151, 548, 3113, 28524, 446, 1769, 5411, 309, 261, 5465, 422, 446, 13, 288, 7734, 2365, 273, 394, 3407, 12, 20, 1769, 5411, 289, 5411, 3878, 18, 542, 548, 12, 2704, 3407, 12, 5465, 18, 5748, 620, 1435, 397, 404, 10019, 5411, 17789, 863, 1227, 2283, 7675, 2725, 2932, 1289, 1299, 6151, 3113, 3878, 1769, 3639, 289, 469, 288, 5411, 17789, 863, 1227, 2283, 7675, 2725, 2932, 2725, 1299, 6151, 3113, 3878, 1769, 3639, 289, 565, 289, 2 ]
setMetaClass(metaClass);
setMetaClass(newMetaClass);
public MetaClass makeMetaClass(RubyClass type, RubyModule parentModule) { MetaClass metaClass = type.newSingletonClass(parentModule); if (!isNil()) { setMetaClass(metaClass); } metaClass.attachToObject(this); return metaClass; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyObject.java/buggy/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6565, 797, 1221, 2781, 797, 12, 54, 10340, 797, 618, 16, 19817, 3120, 982, 3120, 13, 288, 3639, 6565, 797, 2191, 797, 273, 618, 18, 2704, 19571, 797, 12, 2938, 3120, 1769, 9506, 202, 430, 16051, 291, 12616, 10756, 288, 1082, 202, 542, 2781, 797, 12, 3901, 797, 1769, 202, 202, 97, 3639, 2191, 797, 18, 7331, 19121, 12, 2211, 1769, 3639, 327, 2191, 797, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6565, 797, 1221, 2781, 797, 12, 54, 10340, 797, 618, 16, 19817, 3120, 982, 3120, 13, 288, 3639, 6565, 797, 2191, 797, 273, 618, 18, 2704, 19571, 797, 12, 2938, 3120, 1769, 9506, 202, 430, 16051, 291, 12616, 10756, 288, 1082, 202, 542, 2781, 797, 12, 3901, 797, 1769, 202, 202, 97, 3639, 2191, 797, 18, 7331, 19121, 12, 2211, 1769, 3639, 327, 2191, 797, 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 ]
public void addListener(Listener listener) { vListeners.add(listener); }
public void addListener( Listener listener ) { vListeners.add( listener ); }
public void addListener(Listener listener) { vListeners.add(listener); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/bdb7b6c5463f7273d9f1038e97552808a8df1f58/LabelAttributesComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LabelAttributesComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12087, 12, 2223, 2991, 13, 565, 288, 3639, 331, 5583, 18, 1289, 12, 12757, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 918, 12087, 12, 2223, 2991, 13, 565, 288, 3639, 331, 5583, 18, 1289, 12, 12757, 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 ]
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject arg) { return callMethod(context, name, new IRubyObject[] { arg });
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args) { return callMethod(context, getMetaClass(), name, args, CallType.FUNCTIONAL);
public IRubyObject callMethod(ThreadContext context, String name, IRubyObject arg) { return callMethod(context, name, new IRubyObject[] { arg }); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/1278c5bb3507a052d150d814f15453542ae41aed/RubyObject.java/buggy/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 745, 1305, 12, 3830, 1042, 819, 16, 514, 508, 16, 15908, 10340, 921, 1501, 13, 288, 3639, 327, 745, 1305, 12, 2472, 16, 508, 16, 394, 15908, 10340, 921, 8526, 288, 1501, 15549, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 745, 1305, 12, 3830, 1042, 819, 16, 514, 508, 16, 15908, 10340, 921, 1501, 13, 288, 3639, 327, 745, 1305, 12, 2472, 16, 508, 16, 394, 15908, 10340, 921, 8526, 288, 1501, 15549, 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 ]
org.omg.CORBA.portable.OutputStream os; org.omg.CORBA.portable.InputStream is; org.omg.PortableServer.Servant servant; org.omg.CORBA.portable.ServantObject so; boolean isLocal = is_really_local (self);
public boolean non_existent (org.omg.CORBA.Object self) { org.omg.CORBA.portable.OutputStream os; org.omg.CORBA.portable.InputStream is; org.omg.PortableServer.Servant servant; org.omg.CORBA.portable.ServantObject so; boolean isLocal = is_really_local (self); while (true) { // If local object call _non_existent directly if (is_really_local (self)) { so = servant_preinvoke (self, "_non_existent", java.lang.Object.class); try { servant = (org.omg.PortableServer.Servant) so.servant; return (servant._non_existent ()); } catch (SystemException se) { isLocal = false; continue; } finally { servant_postinvoke (self, so); } } else { try { os = request (self, "_non_existent", true); is = invoke (self, os); return is.read_boolean (); } catch (RemarshalException r) { } catch (Exception n) { return true; } } } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/e70ba17102fb7cb0d3bb0d7583ca3a759cbdd2fd/Delegate.java/clean/src/org/jacorb/orb/Delegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1661, 67, 19041, 261, 3341, 18, 362, 75, 18, 9428, 12536, 18, 921, 365, 13, 565, 288, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 4632, 1140, 31, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 4348, 353, 31, 3639, 2358, 18, 362, 75, 18, 2617, 429, 2081, 18, 827, 7445, 703, 7445, 31, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 827, 7445, 921, 1427, 31, 3639, 1250, 22873, 273, 353, 67, 266, 1230, 67, 3729, 261, 2890, 1769, 3639, 1323, 261, 3767, 13, 3639, 288, 5411, 368, 971, 1191, 733, 745, 389, 5836, 67, 19041, 5122, 5411, 309, 261, 291, 67, 266, 1230, 67, 3729, 261, 2890, 3719, 5411, 288, 7734, 1427, 273, 703, 7445, 67, 1484, 14407, 261, 2890, 16, 4192, 5836, 67, 19041, 3113, 2252, 18, 4936, 18, 921, 18, 1106, 1769, 7734, 775, 7734, 288, 10792, 703, 7445, 273, 261, 3341, 18, 362, 75, 18, 2617, 429, 2081, 18, 827, 7445, 13, 1427, 18, 550, 7445, 31, 10792, 327, 261, 550, 7445, 6315, 5836, 67, 19041, 1832, 1769, 7734, 289, 7734, 1044, 261, 3163, 503, 695, 13, 7734, 288, 10792, 22873, 273, 629, 31, 10792, 1324, 31, 7734, 289, 7734, 3095, 7734, 288, 10792, 703, 7445, 67, 2767, 14407, 261, 2890, 16, 1427, 1769, 7734, 289, 5411, 289, 5411, 469, 5411, 288, 7734, 775, 7734, 288, 10792, 1140, 273, 590, 261, 2890, 16, 4192, 5836, 67, 19041, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1661, 67, 19041, 261, 3341, 18, 362, 75, 18, 9428, 12536, 18, 921, 365, 13, 565, 288, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 4632, 1140, 31, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 4348, 353, 31, 3639, 2358, 18, 362, 75, 18, 2617, 429, 2081, 18, 827, 7445, 703, 7445, 31, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 827, 7445, 921, 1427, 31, 3639, 1250, 22873, 273, 353, 67, 266, 1230, 67, 3729, 261, 2890, 1769, 3639, 1323, 261, 3767, 13, 3639, 288, 5411, 368, 971, 1191, 733, 745, 389, 5836, 67, 19041, 5122, 5411, 309, 261, 291, 67, 266, 2 ]
new int[AttributeVisualizationPanel.this.getWidth()-4] : new int[(int)(as.totalCount*0.1)];
new int[tempVal] : new int[(int)(as.totalCount*0.1)];
public void run() { if(m_data.attribute(classIndex).isNominal()) { int histClassCounts[][] = (AttributeVisualizationPanel.this.getWidth()<(int)(as.totalCount*0.1)) ? new int[AttributeVisualizationPanel.this.getWidth()-4][m_data.attribute(classIndex).numValues()+1] : new int[(int)(as.totalCount*0.1)][m_data.attribute(classIndex).numValues()+1]; double barRange = (as.numericStats.max - as.numericStats.min)/(double)histClassCounts.length; double currentBar = as.numericStats.min; // + barRange; maxValue = 0; if(m_colorList.size()==0) m_colorList.addElement(Color.black); for(int i=m_colorList.size(); i<m_data.attribute(classIndex).numValues()+1; i++) { Color pc = m_defaultColors[(i-1) % 10]; int ija = (i-1) / 10; ija *= 2; for (int j=0;j<ija;j++) { pc = pc.darker(); } m_colorList.addElement(pc); } for(int k=0; k<m_data.numInstances(); k++) { int t=0; try { if(!m_data.instance(k).isMissing(attribIndex)) { t = (int) Math.ceil((float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)); if(t==0) { if(m_data.instance(k).isMissing(classIndex)) histClassCounts[t][0]++; else histClassCounts[t][(int)m_data.instance(k).value(classIndex)+1]++; //if(histCounts[t]>maxValue) // maxValue = histCounts[t]; } else { if(m_data.instance(k).isMissing(classIndex)) histClassCounts[t-1][0]++; else histClassCounts[t-1][(int)m_data.instance(k).value(classIndex)+1]++; //if(histCounts[t-1]>maxValue) // maxValue = histCounts[t-1]; } } } catch(ArrayIndexOutOfBoundsException ae) { System.out.println("t:"+(t)+ " barRange:"+barRange+ " histLength:"+histClassCounts.length+ " value:"+m_data.instance(k).value(attribIndex)+ " min:"+as.numericStats.min+ " sumResult:"+(m_data.instance(k).value(attribIndex)-as.numericStats.min)+ " divideResult:"+(float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)+ " finalResult:"+ Math.ceil((float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)) ); } } for(int i=0; i<histClassCounts.length; i++) { int sum=0; for(int j=0; j<histClassCounts[i].length; j++) sum = sum+histClassCounts[i][j]; if(maxValue<sum) maxValue = sum; } histBarClassCounts = histClassCounts; m_barRange = barRange; } else { //else if the class attribute is numeric int histCounts[] = (AttributeVisualizationPanel.this.getWidth()<(int)(as.totalCount*0.1)) ? new int[AttributeVisualizationPanel.this.getWidth()-4] : new int[(int)(as.totalCount*0.1)]; double barRange = (as.numericStats.max - as.numericStats.min)/(double)histCounts.length; double currentBar = as.numericStats.min; // + barRange; maxValue = 0; for(int k=0; k<m_data.numInstances(); k++) { int t=0; try { t = (int) Math.ceil((float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)); if(t==0) { histCounts[t]++; if(histCounts[t]>maxValue) maxValue = histCounts[t]; } else { histCounts[t-1]++; if(histCounts[t-1]>maxValue) maxValue = histCounts[t-1]; } } catch(ArrayIndexOutOfBoundsException ae) { ae.printStackTrace(); System.out.println("t:"+(t)+ " barRange:"+barRange+ " histLength:"+histCounts.length+ " value:"+m_data.instance(k).value(attribIndex)+ " min:"+as.numericStats.min+ " sumResult:"+(m_data.instance(k).value(attribIndex)-as.numericStats.min)+ " divideResult:"+(float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)+ " finalResult:"+ Math.ceil((float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)) ); } } histBarCounts = histCounts; m_barRange = barRange; } threadRun=false; AttributeVisualizationPanel.this.repaint(); }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/4caf8696726f265437ff3ae894330f1a121d808c/AttributeVisualizationPanel.java/buggy/weka/gui/AttributeVisualizationPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 1377, 309, 12, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 291, 26685, 1490, 10756, 288, 202, 474, 5356, 797, 9211, 63, 6362, 65, 225, 273, 261, 1499, 25780, 1588, 5537, 18, 2211, 18, 588, 2384, 1435, 32, 12, 474, 21433, 345, 18, 4963, 1380, 14, 20, 18, 21, 3719, 692, 202, 225, 394, 509, 63, 1499, 25780, 1588, 5537, 18, 2211, 18, 588, 2384, 1435, 17, 24, 6362, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 2107, 1972, 1435, 15, 21, 65, 294, 3196, 225, 394, 509, 63, 12, 474, 21433, 345, 18, 4963, 1380, 14, 20, 18, 21, 13, 6362, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 2107, 1972, 1435, 15, 21, 15533, 202, 9056, 4653, 2655, 282, 273, 261, 345, 18, 5246, 4195, 18, 1896, 300, 487, 18, 5246, 4195, 18, 1154, 13176, 12, 9056, 13, 11488, 797, 9211, 18, 2469, 31, 202, 9056, 783, 5190, 273, 487, 18, 5246, 4195, 18, 1154, 31, 368, 397, 4653, 2655, 31, 202, 1896, 620, 273, 374, 31, 202, 282, 202, 430, 12, 81, 67, 3266, 682, 18, 1467, 1435, 631, 20, 13, 202, 225, 312, 67, 3266, 682, 18, 1289, 1046, 12, 2957, 18, 11223, 1769, 202, 1884, 12, 474, 277, 33, 81, 67, 3266, 682, 18, 1467, 5621, 277, 32, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 2107, 1972, 1435, 15, 21, 31, 277, 27245, 288, 202, 225, 5563, 6125, 273, 312, 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, 918, 1086, 1435, 288, 1377, 309, 12, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 291, 26685, 1490, 10756, 288, 202, 474, 5356, 797, 9211, 63, 6362, 65, 225, 273, 261, 1499, 25780, 1588, 5537, 18, 2211, 18, 588, 2384, 1435, 32, 12, 474, 21433, 345, 18, 4963, 1380, 14, 20, 18, 21, 3719, 692, 202, 225, 394, 509, 63, 1499, 25780, 1588, 5537, 18, 2211, 18, 588, 2384, 1435, 17, 24, 6362, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 2107, 1972, 1435, 15, 21, 65, 294, 3196, 225, 394, 509, 63, 12, 474, 21433, 345, 18, 4963, 1380, 14, 20, 18, 21, 13, 6362, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 2 ]
doTestBooleanQueryWithSpanQueries(0.73500174f);
doTestBooleanQueryWithSpanQueries(searcher2, 0.73500174f);
public void testBooleanQueryWithSpanQueries() throws IOException { doTestBooleanQueryWithSpanQueries(0.73500174f); }
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/040e9c6c9a43ca1d69cf0db21ab1a1a459e1da69/TestSpansAdvanced2.java/clean/src/test/org/apache/lucene/search/spans/TestSpansAdvanced2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5507, 1138, 1190, 6952, 9592, 1435, 1216, 1860, 288, 3639, 741, 4709, 5507, 1138, 1190, 6952, 9592, 12, 3072, 264, 22, 16, 374, 18, 27, 4763, 713, 28686, 74, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5507, 1138, 1190, 6952, 9592, 1435, 1216, 1860, 288, 3639, 741, 4709, 5507, 1138, 1190, 6952, 9592, 12, 3072, 264, 22, 16, 374, 18, 27, 4763, 713, 28686, 74, 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 ]
if( statement instanceof IASTLabelStatement ) return ((IASTLabelStatement) statement).getName().toString(); return ((IASTGotoStatement) statement).getName().toString();
return statement.toString();
public String getName() { if( statement instanceof IASTLabelStatement ) return ((IASTLabelStatement) statement).getName().toString(); return ((IASTGotoStatement) statement).getName().toString(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/67cc9c5ad7dabe6aaa913778302f9bef3b7460cc/CPPLabel.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPLabel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 288, 3639, 309, 12, 3021, 1276, 467, 9053, 2224, 3406, 262, 5411, 327, 14015, 45, 9053, 2224, 3406, 13, 3021, 2934, 17994, 7675, 10492, 5621, 3639, 327, 14015, 45, 9053, 43, 6302, 3406, 13, 3021, 2934, 17994, 7675, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1723, 1435, 288, 3639, 309, 12, 3021, 1276, 467, 9053, 2224, 3406, 262, 5411, 327, 14015, 45, 9053, 2224, 3406, 13, 3021, 2934, 17994, 7675, 10492, 5621, 3639, 327, 14015, 45, 9053, 43, 6302, 3406, 13, 3021, 2934, 17994, 7675, 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 ]
public void addIncludesTo(IIndexFragmentFile[] files, IASTPreprocessorIncludeStatement[] includes) throws CoreException { assert files.length == includes.length; assert getFirstInclude() == null; PDOMInclude lastInclude= null; for (int i = 0; i < includes.length; i++) { IASTPreprocessorIncludeStatement statement = includes[i]; PDOMFile file= (PDOMFile) files[i]; assert file.getIndexFragment() instanceof IWritableIndexFragment; PDOMInclude pdomInclude = new PDOMInclude(pdom, statement); pdomInclude.setIncludedBy(this); pdomInclude.setIncludes(file); file.addIncludedBy(pdomInclude); if (lastInclude == null) { setFirstInclude(pdomInclude); } else { lastInclude.setNextInIncludes(pdomInclude); } lastInclude= pdomInclude; } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/d6d9ed6df05fa9a4d5efa12e7ef50e6fa2caec66/PDOMFile.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 16815, 774, 12, 45, 1016, 7456, 812, 8526, 1390, 16, 467, 9053, 1386, 8700, 8752, 3406, 8526, 6104, 13, 1216, 30015, 288, 202, 202, 11231, 1390, 18, 2469, 422, 6104, 18, 2469, 31, 202, 202, 11231, 7521, 8752, 1435, 422, 446, 31, 9506, 202, 52, 8168, 8752, 1142, 8752, 33, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 6104, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 9053, 1386, 8700, 8752, 3406, 3021, 273, 6104, 63, 77, 15533, 1082, 202, 52, 8168, 812, 585, 33, 261, 52, 8168, 812, 13, 1390, 63, 77, 15533, 1082, 202, 11231, 585, 18, 588, 1016, 7456, 1435, 1276, 467, 12061, 1016, 7456, 31, 25083, 202, 52, 8168, 8752, 4863, 362, 8752, 273, 394, 453, 8168, 8752, 12, 84, 9859, 16, 3021, 1769, 1082, 202, 84, 9859, 8752, 18, 542, 19323, 858, 12, 2211, 1769, 1082, 202, 84, 9859, 8752, 18, 542, 16815, 12, 768, 1769, 25083, 202, 768, 18, 1289, 19323, 858, 12, 84, 9859, 8752, 1769, 1082, 202, 430, 261, 2722, 8752, 422, 446, 13, 288, 9506, 202, 542, 3759, 8752, 12, 84, 9859, 8752, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 2722, 8752, 18, 542, 2134, 382, 16815, 12, 84, 9859, 8752, 1769, 1082, 202, 97, 1082, 202, 2722, 8752, 33, 4863, 362, 8752, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 16815, 774, 12, 45, 1016, 7456, 812, 8526, 1390, 16, 467, 9053, 1386, 8700, 8752, 3406, 8526, 6104, 13, 1216, 30015, 288, 202, 202, 11231, 1390, 18, 2469, 422, 6104, 18, 2469, 31, 202, 202, 11231, 7521, 8752, 1435, 422, 446, 31, 9506, 202, 52, 8168, 8752, 1142, 8752, 33, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 6104, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 9053, 1386, 8700, 8752, 3406, 3021, 273, 6104, 63, 77, 15533, 1082, 202, 52, 8168, 812, 585, 33, 261, 52, 8168, 812, 13, 1390, 63, 77, 15533, 1082, 202, 11231, 585, 18, 588, 1016, 7456, 1435, 1276, 467, 12061, 1016, 7456, 2 ]
if(path.indexOf(HELP_PATH+CONTENTS_PAGE) >= 0) {
if (path.indexOf(HELP_PATH+CONTENTS_PAGE) >= 0) {
public void hyperlinkUpdate(HyperlinkEvent event){ if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { // Only follow links within the documentation URL url = event.getURL(); String protocol = url.getProtocol(); if (!"file".equals(protocol) && !"jar".equals(protocol)) { // try to open in the platform's web browser, since we can't // view it effectively here if it isn't in the jar // (we only handle file/jar protocols) PlatformFactory.ONLY.openURL(url); return; } // perform path testing String path = url.getPath(); if(path.indexOf(HELP_PATH+CONTENTS_PAGE) >= 0) { try { url = new URL(url,HOME_PAGE); } // redirect to home, not content catch(MalformedURLException murle) { /* do nothing */ } } else if(path.indexOf(HELP_PATH) < 0) return; // not anywhere in the help section if (url.sameFile(_history.contents)) return; // we're already here! jumpTo(url); } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/35da9b77b7d75aca3d6277e27e3ba3dc86f3eaa9/HelpFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/HelpFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9512, 1232, 1891, 12, 15996, 1232, 1133, 871, 15329, 1377, 309, 261, 2575, 18, 588, 16346, 1435, 422, 18274, 1232, 1133, 18, 16346, 18, 22271, 6344, 13, 288, 3639, 368, 5098, 2805, 4716, 3470, 326, 7323, 3639, 1976, 880, 273, 871, 18, 588, 1785, 5621, 3639, 514, 1771, 273, 880, 18, 588, 5752, 5621, 3639, 309, 261, 4442, 768, 9654, 14963, 12, 8373, 13, 597, 29054, 11930, 9654, 14963, 12, 8373, 3719, 288, 1850, 368, 775, 358, 1696, 316, 326, 4072, 1807, 3311, 4748, 16, 3241, 732, 848, 1404, 1850, 368, 225, 1476, 518, 23500, 2674, 309, 518, 5177, 1404, 316, 326, 7334, 1850, 368, 261, 1814, 1338, 1640, 585, 19, 11930, 16534, 13, 1850, 11810, 1733, 18, 10857, 18, 3190, 1785, 12, 718, 1769, 1850, 327, 31, 540, 289, 3639, 368, 3073, 589, 7769, 3639, 514, 589, 273, 880, 18, 588, 743, 5621, 3639, 309, 261, 803, 18, 31806, 12, 27396, 67, 4211, 15, 9689, 55, 67, 11219, 13, 1545, 374, 13, 288, 1850, 775, 288, 880, 273, 394, 1976, 12, 718, 16, 14209, 67, 11219, 1769, 289, 368, 3136, 358, 6382, 16, 486, 913, 1850, 1044, 12, 18695, 20160, 312, 295, 298, 13, 288, 5411, 1748, 741, 5083, 1195, 1850, 289, 3639, 289, 3639, 469, 309, 12, 803, 18, 31806, 12, 27396, 67, 4211, 13, 411, 374, 13, 327, 31, 368, 486, 25651, 316, 326, 2809, 2442, 5375, 309, 261, 718, 18, 14307, 812, 24899, 8189, 18, 3980, 3719, 327, 31, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9512, 1232, 1891, 12, 15996, 1232, 1133, 871, 15329, 1377, 309, 261, 2575, 18, 588, 16346, 1435, 422, 18274, 1232, 1133, 18, 16346, 18, 22271, 6344, 13, 288, 3639, 368, 5098, 2805, 4716, 3470, 326, 7323, 3639, 1976, 880, 273, 871, 18, 588, 1785, 5621, 3639, 514, 1771, 273, 880, 18, 588, 5752, 5621, 3639, 309, 261, 4442, 768, 9654, 14963, 12, 8373, 13, 597, 29054, 11930, 9654, 14963, 12, 8373, 3719, 288, 1850, 368, 775, 358, 1696, 316, 326, 4072, 1807, 3311, 4748, 16, 3241, 732, 848, 1404, 1850, 368, 225, 1476, 518, 23500, 2674, 309, 518, 5177, 1404, 316, 326, 7334, 1850, 368, 261, 1814, 1338, 1640, 585, 19, 11930, 16534, 13, 1850, 11810, 2 ]
try { MessageDigest md = MessageDigest.getInstance("MD5"); StringBuffer sb = new StringBuffer(); byte buf[] = message.getBytes(); byte[] md5 = md.digest(buf); for (int i = 0; i < md5.length; i++) { String tmpStr = "0" + Integer.toHexString((0xff & md5[i])); sb.append(tmpStr.substring(tmpStr.length() - 2)); } return sb.toString(); } catch (NoSuchAlgorithmException e) { return null; } }
try { MessageDigest md = MessageDigest.getInstance("MD5"); StringBuffer sb = new StringBuffer(); byte buf[] = message.getBytes(); byte[] md5 = md.digest(buf); for (int i = 0; i < md5.length; i++) { String tmpStr = "0" + Integer.toHexString((0xff & md5[i])); sb.append(tmpStr.substring(tmpStr.length() - 2)); } return sb.toString(); } catch (NoSuchAlgorithmException e) { return null; } }
public static String md5(java.lang.String message) { try { MessageDigest md = MessageDigest.getInstance("MD5"); StringBuffer sb = new StringBuffer(); byte buf[] = message.getBytes(); byte[] md5 = md.digest(buf); //System.out.println(message); for (int i = 0; i < md5.length; i++) { String tmpStr = "0" + Integer.toHexString((0xff & md5[i])); sb.append(tmpStr.substring(tmpStr.length() - 2)); } return sb.toString(); } catch (NoSuchAlgorithmException e) { return null; } }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/ba37857b1181bceef527ce8c220b1ab1adb59841/StringUtils.java/buggy/src/java/org/apache/james/util/mailet/StringUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 3481, 25, 12, 6290, 18, 4936, 18, 780, 883, 13, 288, 202, 202, 698, 288, 1082, 202, 1079, 9568, 3481, 273, 22485, 18, 588, 1442, 2932, 6188, 25, 8863, 1082, 202, 780, 1892, 2393, 273, 394, 6674, 5621, 1082, 202, 7229, 1681, 8526, 273, 883, 18, 588, 2160, 5621, 1082, 202, 7229, 8526, 3481, 25, 273, 3481, 18, 10171, 12, 4385, 1769, 1082, 202, 759, 3163, 18, 659, 18, 8222, 12, 2150, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3481, 25, 18, 2469, 31, 277, 27245, 288, 9506, 202, 780, 1853, 1585, 273, 315, 20, 6, 397, 2144, 18, 869, 14866, 12443, 20, 5297, 473, 3481, 25, 63, 77, 5717, 1769, 9506, 202, 18366, 18, 6923, 12, 5645, 1585, 18, 28023, 12, 5645, 1585, 18, 2469, 1435, 300, 576, 10019, 1082, 202, 97, 1082, 202, 2463, 2393, 18, 10492, 5621, 6862, 202, 97, 1044, 261, 28341, 17293, 425, 13, 288, 1082, 202, 2463, 446, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 760, 514, 3481, 25, 12, 6290, 18, 4936, 18, 780, 883, 13, 288, 202, 202, 698, 288, 1082, 202, 1079, 9568, 3481, 273, 22485, 18, 588, 1442, 2932, 6188, 25, 8863, 1082, 202, 780, 1892, 2393, 273, 394, 6674, 5621, 1082, 202, 7229, 1681, 8526, 273, 883, 18, 588, 2160, 5621, 1082, 202, 7229, 8526, 3481, 25, 273, 3481, 18, 10171, 12, 4385, 1769, 1082, 202, 759, 3163, 18, 659, 18, 8222, 12, 2150, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3481, 25, 18, 2469, 31, 277, 27245, 288, 9506, 202, 780, 1853, 1585, 273, 315, 20, 6, 397, 2144, 18, 869, 14866, 12443, 20, 5297, 473, 3481, 25, 63, 77, 2 ]
Object result = nextObject; nextObject = getNextObject(); return result; }
Object result = nextObject; nextObject = getNextObject(); return result; }
public Object next() { Object result = nextObject; nextObject = getNextObject(); return result; }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/c171c3550f70b496c1228bbed45f5f8feea45a9c/AbstractEventProducer.java/clean/src/org/objectweb/proactive/core/event/AbstractEventProducer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1024, 1435, 288, 1377, 1033, 563, 273, 1024, 921, 31, 1377, 1024, 921, 273, 6927, 921, 5621, 1377, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1024, 1435, 288, 1377, 1033, 563, 273, 1024, 921, 31, 1377, 1024, 921, 273, 6927, 921, 5621, 1377, 327, 563, 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 ]
} catch (Exception x) { fXalanProperties = null; fLastModified = -1; }
} catch (Exception x) { fXalanProperties = null; fLastModified = -1; } finally { if (fis != null) { try { fis.close(); } catch (IOException exc) {} } }
static String lookUpFactoryClassName(String factoryId, String propertiesFilename, String fallbackClassName) { SecuritySupport ss = SecuritySupport.getInstance(); // Use the system property first try { String systemProp = ss.getSystemProperty(factoryId); if (systemProp != null) { debugPrintln("found system property, value=" + systemProp); return systemProp; } } catch (SecurityException se) { // Ignore and continue w/ next location } // Try to read from propertiesFilename, or // $java.home/lib/xalan.properties String factoryClassName = null; // no properties file name specified; use // $JAVA_HOME/lib/xalan.properties: if (propertiesFilename == null) { File propertiesFile = null; boolean propertiesFileExists = false; try { String javah = ss.getSystemProperty("java.home"); propertiesFilename = javah + File.separator + "lib" + File.separator + DEFAULT_PROPERTIES_FILENAME; propertiesFile = new File(propertiesFilename); propertiesFileExists = ss.getFileExists(propertiesFile); } catch (SecurityException e) { // try again... fLastModified = -1; fXalanProperties = null; } synchronized (ObjectFactory.class) { boolean loadProperties = false; try { // file existed last time if(fLastModified >= 0) { if(propertiesFileExists && (fLastModified < (fLastModified = ss.getLastModified(propertiesFile)))) { loadProperties = true; } else { // file has stopped existing... if(!propertiesFileExists) { fLastModified = -1; fXalanProperties = null; } // else, file wasn't modified! } } else { // file has started to exist: if(propertiesFileExists) { loadProperties = true; fLastModified = ss.getLastModified(propertiesFile); } // else, nothing's changed } if(loadProperties) { // must never have attempted to read xalan.properties // before (or it's outdeated) fXalanProperties = new Properties(); FileInputStream fis = ss.getFileInputStream(propertiesFile); fXalanProperties.load(fis); fis.close(); } } catch (Exception x) { fXalanProperties = null; fLastModified = -1; // assert(x instanceof FileNotFoundException // || x instanceof SecurityException) // In both cases, ignore and continue w/ next location } } if(fXalanProperties != null) { factoryClassName = fXalanProperties.getProperty(factoryId); } } else { try { FileInputStream fis = ss.getFileInputStream(new File(propertiesFilename)); Properties props = new Properties(); props.load(fis); fis.close(); factoryClassName = props.getProperty(factoryId); } catch (Exception x) { // assert(x instanceof FileNotFoundException // || x instanceof SecurityException) // In both cases, ignore and continue w/ next location } } if (factoryClassName != null) { debugPrintln("found in " + propertiesFilename + ", value=" + factoryClassName); return factoryClassName; } // Try Jar Service Provider Mechanism return findJarServiceProviderName(factoryId); } // lookUpFactoryClass(String,String):String
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/8715306de914fc3a40ff4ab45e0b32a46907ce9a/ObjectFactory.java/buggy/src/org/apache/xalan/lib/sql/ObjectFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 514, 2324, 1211, 1733, 3834, 12, 780, 3272, 548, 16, 4766, 7734, 514, 1790, 5359, 16, 4766, 7734, 514, 5922, 3834, 13, 565, 288, 3639, 6036, 6289, 5202, 273, 6036, 6289, 18, 588, 1442, 5621, 3639, 368, 2672, 326, 2619, 1272, 1122, 3639, 775, 288, 5411, 514, 2619, 4658, 273, 5202, 18, 588, 3163, 1396, 12, 6848, 548, 1769, 5411, 309, 261, 4299, 4658, 480, 446, 13, 288, 7734, 1198, 5108, 2370, 2932, 7015, 2619, 1272, 16, 460, 1546, 397, 2619, 4658, 1769, 7734, 327, 2619, 4658, 31, 5411, 289, 3639, 289, 1044, 261, 24918, 695, 13, 288, 5411, 368, 8049, 471, 1324, 341, 19, 1024, 2117, 3639, 289, 3639, 368, 6161, 358, 855, 628, 1790, 5359, 16, 578, 3639, 368, 271, 6290, 18, 8712, 19, 2941, 19, 92, 4316, 18, 4738, 3639, 514, 3272, 3834, 273, 446, 31, 3639, 368, 1158, 1790, 585, 508, 1269, 31, 999, 3639, 368, 271, 27264, 67, 14209, 19, 2941, 19, 92, 4316, 18, 4738, 30, 3639, 309, 261, 4738, 5359, 422, 446, 13, 288, 5411, 1387, 1790, 812, 273, 446, 31, 5411, 1250, 1790, 812, 4002, 273, 629, 31, 5411, 775, 288, 7734, 514, 2252, 76, 273, 5202, 18, 588, 3163, 1396, 2932, 6290, 18, 8712, 8863, 7734, 1790, 5359, 273, 2252, 76, 397, 1387, 18, 11287, 397, 10792, 315, 2941, 6, 397, 1387, 18, 11287, 397, 3331, 67, 17421, 67, 16080, 31, 7734, 1790, 812, 273, 394, 1387, 12, 4738, 5359, 1769, 7734, 1790, 812, 4002, 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, 760, 514, 2324, 1211, 1733, 3834, 12, 780, 3272, 548, 16, 4766, 7734, 514, 1790, 5359, 16, 4766, 7734, 514, 5922, 3834, 13, 565, 288, 3639, 6036, 6289, 5202, 273, 6036, 6289, 18, 588, 1442, 5621, 3639, 368, 2672, 326, 2619, 1272, 1122, 3639, 775, 288, 5411, 514, 2619, 4658, 273, 5202, 18, 588, 3163, 1396, 12, 6848, 548, 1769, 5411, 309, 261, 4299, 4658, 480, 446, 13, 288, 7734, 1198, 5108, 2370, 2932, 7015, 2619, 1272, 16, 460, 1546, 397, 2619, 4658, 1769, 7734, 327, 2619, 4658, 31, 5411, 289, 3639, 289, 1044, 261, 24918, 695, 13, 288, 5411, 368, 8049, 471, 1324, 341, 19, 1024, 2117, 3639, 289, 3639, 368, 6161, 358, 855, 628, 1790, 5359, 2 ]
if (_bytecodeMap[i] == 0)
Offset bcMi = Offset.fromIntSignExtend(_bytecodeMap[i]); if (bcMi.isZero())
public final void getDynamicLink (VM_DynamicLink dynamicLink, int instructionOffset) throws UninterruptiblePragma { int bytecodeIndex = -1; int instructionIndex = instructionOffset >>> LG_INSTRUCTION_WIDTH; for (int i = 0, n = _bytecodeMap.length; i < n; ++i) { if (_bytecodeMap[i] == 0) continue; // middle of a bytecode if (_bytecodeMap[i] >= instructionIndex) break; // next bytecode bytecodeIndex = i; } ((VM_NormalMethod)method).getDynamicLink(dynamicLink, bytecodeIndex); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/511bde1d92a455acafb864be1f3383b0a2d5c0e0/VM_QuickCompiledMethod.java/buggy/rvm/src/vm/compilers/quick/VM_QuickCompiledMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 2343, 3920, 2098, 261, 7397, 67, 9791, 2098, 5976, 2098, 16, 509, 7592, 2335, 13, 1216, 1351, 31847, 1523, 2050, 9454, 288, 565, 509, 22801, 1016, 273, 300, 21, 31, 565, 509, 7592, 1016, 273, 7592, 2335, 4080, 511, 43, 67, 706, 3902, 27035, 67, 10023, 31, 565, 364, 261, 474, 277, 273, 374, 16, 290, 273, 389, 1637, 16651, 863, 18, 2469, 31, 277, 411, 290, 31, 965, 77, 13, 288, 1377, 9874, 6533, 49, 77, 273, 9874, 18, 2080, 1702, 2766, 16675, 24899, 1637, 16651, 863, 63, 77, 19226, 309, 261, 13459, 49, 77, 18, 291, 7170, 10756, 3639, 1324, 31, 9079, 368, 7689, 434, 279, 22801, 1377, 309, 261, 67, 1637, 16651, 863, 63, 77, 65, 1545, 7592, 1016, 13, 3639, 898, 31, 5375, 368, 1024, 22801, 1377, 22801, 1016, 273, 277, 31, 565, 289, 565, 14015, 7397, 67, 5506, 1305, 13, 2039, 2934, 588, 9791, 2098, 12, 14507, 2098, 16, 22801, 1016, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 2343, 3920, 2098, 261, 7397, 67, 9791, 2098, 5976, 2098, 16, 509, 7592, 2335, 13, 1216, 1351, 31847, 1523, 2050, 9454, 288, 565, 509, 22801, 1016, 273, 300, 21, 31, 565, 509, 7592, 1016, 273, 7592, 2335, 4080, 511, 43, 67, 706, 3902, 27035, 67, 10023, 31, 565, 364, 261, 474, 277, 273, 374, 16, 290, 273, 389, 1637, 16651, 863, 18, 2469, 31, 277, 411, 290, 31, 965, 77, 13, 288, 1377, 9874, 6533, 49, 77, 273, 9874, 18, 2080, 1702, 2766, 16675, 24899, 1637, 16651, 863, 63, 77, 19226, 309, 261, 13459, 49, 77, 18, 291, 7170, 10756, 3639, 1324, 31, 9079, 368, 7689, 434, 279, 22801, 1377, 309, 261, 67, 1637, 16651, 2 ]
checkLastElement(PATHS); if (attributes != null && attributes.getValue("action") != null) pathAction = attributes.getValue("action"); else fatalError("Invalid SVN log file."); }
checkLastElement(PATHS); if (attributes != null && attributes.getValue("action") != null) pathAction = attributes.getValue("action"); else fatalError("Invalid SVN log file."); }
private void startPath(Attributes attributes) throws SAXException { checkLastElement(PATHS); if (attributes != null && attributes.getValue("action") != null) pathAction = attributes.getValue("action"); else fatalError("Invalid SVN log file."); }
48585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48585/ddeac1ec6fae5298792168c73875a184f2b6f997/SvnXmlLogFileHandler.java/buggy/statsvn/src/net/sf/statcvs/input/SvnXmlLogFileHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 787, 743, 12, 2498, 1677, 13, 1216, 14366, 288, 202, 202, 1893, 3024, 1046, 12, 4211, 55, 1769, 202, 202, 430, 261, 4350, 480, 446, 597, 1677, 18, 24805, 2932, 1128, 7923, 480, 446, 13, 1082, 202, 803, 1803, 273, 1677, 18, 24805, 2932, 1128, 8863, 202, 202, 12107, 1082, 202, 30709, 668, 2932, 1941, 29537, 50, 613, 585, 1199, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 787, 743, 12, 2498, 1677, 13, 1216, 14366, 288, 202, 202, 1893, 3024, 1046, 12, 4211, 55, 1769, 202, 202, 430, 261, 4350, 480, 446, 597, 1677, 18, 24805, 2932, 1128, 7923, 480, 446, 13, 1082, 202, 803, 1803, 273, 1677, 18, 24805, 2932, 1128, 8863, 202, 202, 12107, 1082, 202, 30709, 668, 2932, 1941, 29537, 50, 613, 585, 1199, 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 ]
protected abstract byte[] handleFault(Throwable t, String charEncoding);
protected abstract void handleFault( HttpServletResponse response, byte[][] responseSoapParts, int phase, Throwable t);
protected abstract byte[] handleFault(Throwable t, String charEncoding);
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/41e43f806f666da1ff483ebb20820e61433739e2/XmlaServlet.java/clean/src/main/mondrian/xmla/XmlaServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8770, 1160, 8526, 1640, 7083, 12, 15155, 268, 16, 514, 1149, 4705, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8770, 1160, 8526, 1640, 7083, 12, 15155, 268, 16, 514, 1149, 4705, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
!"java.lang.Boolean".equals(lhsType.getCanonicalText())){
!lhsType.equalsToText("java.lang.Boolean")){
public void visitBinaryExpression(PsiBinaryExpression expression){ super.visitBinaryExpression(expression); if(!WellFormednessUtils.isWellFormed(expression)){ return; } final PsiJavaToken sign = expression.getOperationSign(); final IElementType tokenType = sign.getTokenType(); if(!booleanTokens.contains(tokenType)) { return; } final PsiExpression rhs = expression.getROperand(); final PsiType rhsType = rhs.getType(); if(rhsType == null){ return; } if(!rhsType.equals(PsiType.BOOLEAN) && !"java.lang.Boolean".equals(rhsType.getCanonicalText())){ return; } final PsiExpression lhs = expression.getLOperand(); final PsiType lhsType = lhs.getType(); if(lhsType == null){ return; } if(!lhsType.equals(PsiType.BOOLEAN) && !"java.lang.Boolean".equals(lhsType.getCanonicalText())){ return; } final boolean isPointless; if(tokenType.equals(JavaTokenType.EQEQ) || tokenType.equals(JavaTokenType.NE)){ isPointless = equalityExpressionIsPointless(lhs, rhs); } else if(tokenType.equals(JavaTokenType.ANDAND) || tokenType.equals(JavaTokenType.AND)){ isPointless = andExpressionIsPointless(lhs, rhs); } else if(tokenType.equals(JavaTokenType.OROR) || tokenType.equals(JavaTokenType.OR)){ isPointless = orExpressionIsPointless(lhs, rhs); } else if(tokenType.equals(JavaTokenType.XOR)){ isPointless = xorExpressionIsPointless(lhs, rhs); } else{ isPointless = false; } if(!isPointless){ return; } registerError(expression); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/759e68fd5c7d25c7883aaff1724a10a4906fc874/PointlessBooleanExpressionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/PointlessBooleanExpressionInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 5905, 2300, 12, 52, 7722, 5905, 2300, 2652, 15329, 5411, 2240, 18, 11658, 5905, 2300, 12, 8692, 1769, 5411, 309, 12, 5, 59, 1165, 1204, 329, 4496, 1989, 18, 291, 59, 1165, 1204, 329, 12, 8692, 3719, 95, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 5852, 1345, 1573, 273, 2652, 18, 588, 2988, 2766, 5621, 5411, 727, 467, 17481, 22302, 273, 1573, 18, 588, 28675, 5621, 5411, 309, 12, 5, 6494, 5157, 18, 12298, 12, 2316, 559, 3719, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 2300, 7711, 273, 2652, 18, 588, 1457, 457, 464, 5621, 5411, 727, 453, 7722, 559, 7711, 559, 273, 7711, 18, 588, 559, 5621, 5411, 309, 12, 86, 4487, 559, 422, 446, 15329, 7734, 327, 31, 5411, 289, 5411, 309, 12, 5, 86, 4487, 559, 18, 14963, 12, 52, 7722, 559, 18, 17900, 13, 597, 15604, 29054, 6290, 18, 4936, 18, 5507, 9654, 14963, 12, 86, 4487, 559, 18, 588, 15512, 1528, 1435, 3719, 95, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 2300, 8499, 273, 2652, 18, 588, 1502, 457, 464, 5621, 5411, 727, 453, 7722, 559, 8499, 559, 273, 8499, 18, 588, 559, 5621, 5411, 309, 12, 80, 4487, 559, 422, 446, 15329, 7734, 327, 31, 5411, 289, 5411, 309, 12, 5, 80, 4487, 559, 18, 14963, 12, 52, 7722, 559, 18, 17900, 13, 597, 15604, 401, 80, 4487, 559, 18, 14963, 774, 1528, 2932, 6290, 18, 4936, 18, 5507, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 5905, 2300, 12, 52, 7722, 5905, 2300, 2652, 15329, 5411, 2240, 18, 11658, 5905, 2300, 12, 8692, 1769, 5411, 309, 12, 5, 59, 1165, 1204, 329, 4496, 1989, 18, 291, 59, 1165, 1204, 329, 12, 8692, 3719, 95, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 5852, 1345, 1573, 273, 2652, 18, 588, 2988, 2766, 5621, 5411, 727, 467, 17481, 22302, 273, 1573, 18, 588, 28675, 5621, 5411, 309, 12, 5, 6494, 5157, 18, 12298, 12, 2316, 559, 3719, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 2300, 7711, 273, 2652, 18, 588, 1457, 457, 464, 5621, 5411, 727, 453, 7722, 559, 7711, 559, 273, 7711, 18, 588, 559, 5621, 5411, 2 ]
p.moveTo(p2f.x, p2f.y);
p.moveTo(ix, iy);
public static Shape getShape(List points) { GeneralPath p = new GeneralPath(); for (int i = 0; i < points.size(); i++) { Point2D.Float p2f = ( Point2D.Float ) points.get(i); if (i == 0) { p.moveTo(p2f.x, p2f.y); } else { p.lineTo(p2f.x, p2f.y); } } p.closePath(); return p; }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/dc62a0a7cf481c21c3be647214959067a3b98f61/GlyphUtils.java/clean/src/org/biojava/bio/gui/glyph/GlyphUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 12383, 1322, 6560, 12, 682, 3143, 13, 288, 3639, 9544, 743, 293, 273, 394, 9544, 743, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3143, 18, 1467, 5621, 277, 27245, 288, 5411, 4686, 22, 40, 18, 4723, 293, 22, 74, 273, 261, 4686, 22, 40, 18, 4723, 262, 3143, 18, 588, 12, 77, 1769, 5411, 309, 261, 77, 422, 374, 13, 288, 7734, 293, 18, 8501, 774, 12, 697, 16, 23466, 1769, 5411, 289, 469, 288, 7734, 293, 18, 1369, 774, 12, 84, 22, 74, 18, 92, 16, 293, 22, 74, 18, 93, 1769, 5411, 289, 3639, 289, 3639, 293, 18, 4412, 743, 5621, 3639, 327, 293, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 12383, 1322, 6560, 12, 682, 3143, 13, 288, 3639, 9544, 743, 293, 273, 394, 9544, 743, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3143, 18, 1467, 5621, 277, 27245, 288, 5411, 4686, 22, 40, 18, 4723, 293, 22, 74, 273, 261, 4686, 22, 40, 18, 4723, 262, 3143, 18, 588, 12, 77, 1769, 5411, 309, 261, 77, 422, 374, 13, 288, 7734, 293, 18, 8501, 774, 12, 697, 16, 23466, 1769, 5411, 289, 469, 288, 7734, 293, 18, 1369, 774, 12, 84, 22, 74, 18, 92, 16, 293, 22, 74, 18, 93, 1769, 5411, 289, 3639, 289, 3639, 293, 18, 4412, 743, 5621, 3639, 327, 293, 31, 565, 289, 2, -100, -100, -100 ]
case 228 : if (DEBUG) { System.out.println("PushRealModifiers ::="); }
case 229 : if (DEBUG) { System.out.println("PushRealModifiers ::="); }
protected void consumeRule(int act) { switch ( act ) { case 26 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 40 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 44 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 45 : if (DEBUG) { System.out.println("ClassOrInterface ::= ClassOrInterface TypeArguments DOT"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 46 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= ClassOrInterface..."); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 47 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 48 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 49 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 50 : if (DEBUG) { System.out.println("ArrayType ::= ClassOrInterface TypeArguments Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 55 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 56 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 57 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 58 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 59 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 60 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 65 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 66 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 77 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 79 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 81 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 82 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 83 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 84 : if (DEBUG) { System.out.println("PackageDeclarationName ::= package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 89 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 90 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 91 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 92 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 95 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 99 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 112 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 113 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 114 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 116 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 117 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 118 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 120 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 121 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 124 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 128 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 129 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 130 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 136 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 139 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 141 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 144 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 145 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 146 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 147 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 148 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 153 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 154 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 155 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 156 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(); break; case 157 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(); break; case 158 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 159 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 160 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 161 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 162 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 163 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 165 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 166 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 167 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 169 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 170 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 171 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 172 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 173 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 174 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 175 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 176 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 177 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.This); break; case 178 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,ExplicitConstructorCall.This); break; case 179 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.Super); break; case 180 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,ExplicitConstructorCall.Super); break; case 181 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.Super); break; case 182 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, ExplicitConstructorCall.Super); break; case 183 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.Super); break; case 184 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, ExplicitConstructorCall.Super); break; case 185 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.This); break; case 186 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, ExplicitConstructorCall.This); break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.This); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, ExplicitConstructorCall.This); break; case 189 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 190 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 191 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 193 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 195 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 198 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 199 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 202 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 203 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 204 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 210 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 211 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 212 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 213 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 215 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 216 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 217 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 219 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 223 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 224 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 225 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 226 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 227 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 228 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 254 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 255 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 256 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 257 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 266 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 267 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 268 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 269 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 270 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 273 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 275 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 276 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 278 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 279 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 280 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 281 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 282 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 283 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 284 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 285 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 286 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 290 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 291 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 292 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 293 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 294 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 295 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 296 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 297 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 298 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 299 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 300 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 301 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 302 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 304 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 306 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 307 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 309 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 310 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 315 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 316 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 317 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 320 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 321 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 322 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 323 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 324 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 325 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 328 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 329 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 330 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 331 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 332 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 333 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 334 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 335 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 336 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 338 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 340 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 341 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 343 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 344 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 345 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 346 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 347 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 348 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 349 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 351 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 353 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 354 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 357 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 358 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 359 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 360 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 361 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 362 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 363 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 364 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 365 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 366 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 367 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 368 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 370 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 373 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 374 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 375 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 378 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 379 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 381 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 382 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 384 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 385 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 387 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 388 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 389 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 390 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 391 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 392 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 393 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 394 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 395 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 397 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 398 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 399 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 401 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 402 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 404 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 405 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 406 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 408 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 409 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 410 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 411 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 413 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 415 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 416 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 418 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 420 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 422 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 424 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 426 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 428 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 431 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 433 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 434 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 435 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 436 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 437 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 438 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 439 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 440 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 441 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 442 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 443 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 444 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 449 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 454 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 455 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 456 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 457 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 458 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 460 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 462 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 466 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 470 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 471 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 472 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 473 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 475 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 479 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 481 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 482 : if (DEBUG) { System.out.println("EnumHeader ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 483 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 484 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 485 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 486 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 488 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 489 : if (DEBUG) { System.out.println("EnumConstantHeader ::= Identifier Argumentsopt"); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 490 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ClassBody"); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 491 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 492 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 493 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 496 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 498 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 499 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 500 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 501 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 502 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 503 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 504 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 505 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 506 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 507 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 509 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 511 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 512 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 516 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 517 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 519 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 522 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 523 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 525 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 528 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 529 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 530 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 531 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 532 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 533 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 534 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 535 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 536 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 537 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 538 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 539 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 540 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 541 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 542 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 543 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 544 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 545 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 546 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 548 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 550 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 551 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 553 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 554 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 556 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 557 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 558 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 559 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 561 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 562 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 568 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 569 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 572 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 573 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 576 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 577 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 578 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 579 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 580 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 581 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 583 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 584 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 585 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 586 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 588 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 589 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 590 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 591 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 592 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 593 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 595 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 596 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 597 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 598 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 599 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 600 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 601 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 602 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 604 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 605 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 607 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 608 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 609 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 610 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 612 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 613 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 615 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 616 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 618 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 619 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 621 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 622 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 624 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 625 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 627 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 628 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 632 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 633 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= AT PushModifiers..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 634 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 636 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 639 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 640 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationHeader ::= Modifiersopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationHeader() ; break; case 641 : if (DEBUG) { System.out.println("AnnotationTypeMemberHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberHeaderExtendedDims() ; break; case 642 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 645 : if (DEBUG) { System.out.println("DefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyDefaultValue() ; break; case 651 : if (DEBUG) { System.out.println("NormalAnnotation ::= AT Name LPAREN MemberValuePairsopt"); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 652 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 655 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 656 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 660 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 661 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 662 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 663 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 665 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 666 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AT Name"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 667 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AT Name LPAREN MemberValue..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/dbf6159f53c99cb12512816667012e5ec1fdc250/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 10659, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 31, 377, 648, 8063, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 31, 377, 648, 13291, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 1770, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 797, 1162, 24730, 5621, 565, 1082, 202, 8820, 31, 377, 648, 12292, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 1659, 1162, 1358, 1412, 4628, 15772, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 797, 1162, 1358, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17077, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 27182, 1190, 23690, 461, 493, 33, 1659, 1162, 1358, 7070, 1769, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 27182, 1190, 23690, 461, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17495, 294, 309, 261, 9394, 13, 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, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 10659, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 31, 377, 648, 8063, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 31, 377, 648, 13291, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 2 ]
x = (d.width - new_w) / 2;
x = ins.left + (d.width - new_w) / 2 + hgap;
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation orient = parent.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); int y = ins.top + vgap; int i = 0; while (i < num) { // Find the components which go in the current row. int new_w = ins.left + hgap + ins.right; int new_h = 0; int j; boolean found_one = false; for (j = i; j < num; ++j) { // Skip invisible items. if (! comps[j].visible) continue; Dimension c = comps[j].getPreferredSize (); int next_w = new_w + hgap + c.width; if (next_w <= d.width || ! found_one) { new_w = next_w; new_h = Math.max (new_h, c.height); found_one = true; } else { // Must start a new row, and we already found an item break; } } // Set the location of each component for this row. int x; int myalign = align; if (align == LEADING) myalign = left_to_right ? LEFT : RIGHT; else if (align == TRAILING) myalign = left_to_right ? RIGHT : LEFT; if (myalign == LEFT) x = ins.left + hgap; else if (myalign == CENTER) x = (d.width - new_w) / 2; else x = d.width - new_w; for (int k = i; k < j; ++k) { if (comps[k].visible) { Dimension c = comps[k].getPreferredSize (); comps[k].setBounds (x, y, c.width, new_h); x += c.width + hgap; } } // Advance to next row. i = j; y += new_h + vgap; } } }
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/0cd84e952f8a13b85433af21b4ab7cc4ea197dc1/FlowLayout.java/clean/libjava/java/awt/FlowLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3511, 2170, 261, 2170, 982, 13, 225, 288, 565, 3852, 261, 2938, 18, 588, 2471, 2531, 1832, 13, 1377, 288, 202, 474, 818, 273, 982, 18, 588, 1841, 1380, 261, 1769, 202, 759, 1220, 353, 1898, 14382, 2353, 4440, 336, 7171, 7675, 202, 1841, 8526, 13979, 273, 982, 18, 4652, 31, 202, 8611, 302, 273, 982, 18, 588, 1225, 261, 1769, 202, 382, 4424, 2763, 273, 982, 18, 588, 382, 4424, 261, 1769, 202, 1841, 14097, 7891, 273, 982, 18, 588, 1841, 14097, 261, 1769, 202, 6494, 2002, 67, 869, 67, 4083, 273, 7891, 18, 291, 3910, 774, 4726, 261, 1769, 202, 474, 677, 273, 2763, 18, 3669, 397, 331, 14048, 31, 202, 474, 277, 273, 374, 31, 202, 17523, 261, 77, 411, 818, 13, 202, 225, 288, 202, 565, 368, 4163, 326, 4085, 1492, 1960, 316, 326, 783, 1027, 18, 202, 565, 509, 394, 67, 91, 273, 2763, 18, 4482, 397, 366, 14048, 397, 2763, 18, 4083, 31, 202, 565, 509, 394, 67, 76, 273, 374, 31, 202, 565, 509, 525, 31, 202, 565, 1250, 1392, 67, 476, 273, 629, 31, 202, 565, 364, 261, 78, 273, 277, 31, 525, 411, 818, 31, 965, 78, 13, 202, 1377, 288, 202, 202, 759, 6611, 24697, 1516, 18, 202, 202, 430, 16051, 13979, 63, 78, 8009, 8613, 13, 1082, 225, 1324, 31, 202, 202, 8611, 276, 273, 13979, 63, 78, 8009, 588, 16028, 1225, 261, 1769, 202, 202, 474, 1024, 67, 91, 273, 394, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3511, 2170, 261, 2170, 982, 13, 225, 288, 565, 3852, 261, 2938, 18, 588, 2471, 2531, 1832, 13, 1377, 288, 202, 474, 818, 273, 982, 18, 588, 1841, 1380, 261, 1769, 202, 759, 1220, 353, 1898, 14382, 2353, 4440, 336, 7171, 7675, 202, 1841, 8526, 13979, 273, 982, 18, 4652, 31, 202, 8611, 302, 273, 982, 18, 588, 1225, 261, 1769, 202, 382, 4424, 2763, 273, 982, 18, 588, 382, 4424, 261, 1769, 202, 1841, 14097, 7891, 273, 982, 18, 588, 1841, 14097, 261, 1769, 202, 6494, 2002, 67, 869, 67, 4083, 273, 7891, 18, 291, 3910, 774, 4726, 261, 1769, 202, 474, 677, 273, 2763, 18, 3669, 397, 331, 14048, 31, 202, 474, 277, 273, 2 ]
} catch (InterruptedException x) { } catch (InvocationTargetException x) { BugzillaPlugin.log(x); MessageDialog.openError(null, "Compare Failed", x.getTargetException().getMessage());
} catch (Exception e) { MessageDialog.openError(null, "failed to add of offline reort", e.getMessage());
public boolean add(IBugzillaBug entry, boolean saveChosen) { try{ BugzillaOfflineStaus status = BugzillaOfflineStaus.SAVED; // check for bug and do a compare int index = -1; if ((index = find(entry.getId())) >= 0) { IBugzillaBug oldBug = list.get(index); if(oldBug instanceof BugReport && entry instanceof BugReport && !saveChosen){ CompareConfiguration config = new CompareConfiguration(); config.setLeftEditable(false); config.setRightEditable(false); config.setLeftLabel("Local Bug Report"); config.setRightLabel("Remote Bug Report"); config.setLeftImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT)); config.setRightImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT)); final BugzillaCompareInput in = new BugzillaCompareInput(config); in.setLeft((BugReport)oldBug); in.setRight((BugReport)entry); in.setTitle("Bug #" + oldBug.getId()); PlatformUI.getWorkbench().getProgressService().run(true, true, in); if(in.getCompareResult() == null){ return true; } else if(oldBug.hasChanges()){ if(!MessageDialog.openQuestion(null, "Update Local Copy", "Local copy of Bug# " + entry.getId() + " Has Changes.\nWould you like to override local changes? Note: if you select No, your added comment will be saved with the updated bug, but all other changes will be lost.")){ ((BugReport)entry).setNewComment(((BugReport)oldBug).getNewComment()); ((BugReport)entry).setHasChanged(true); status = BugzillaOfflineStaus.CONFLICT; } else { ((BugReport)entry).setHasChanged(false); status = BugzillaOfflineStaus.SAVED; } } else { DiffNode node = (DiffNode)in.getCompareResult(); IDiffElement[] children = node.getChildren(); if(children.length != 0){ for (IDiffElement element : children) { if(((DiffNode)element).getKind() == Differencer.CHANGE){ status = BugzillaOfflineStaus.SAVED_WITH_INCOMMING_CHANGES; break; } } } else { return true; } } // Display.getDefault().asyncExec(new Runnable(){ // public void run() { // // CompareUI.openCompareDialog(in); // } // }); } list.remove(index); } if(entry.hasChanges() && status != BugzillaOfflineStaus.CONFLICT){ status = BugzillaOfflineStaus.SAVED_WITH_OUTGOING_CHANGES; } // add the entry to the list and write the file to disk list.add(entry); writeFile(); BugzillaPlugin.getDefault().fireOfflineStatusChanged(entry, status); return true; } catch (InterruptedException x) { // cancelled by user } catch (InvocationTargetException x) { BugzillaPlugin.log(x); MessageDialog.openError(null, "Compare Failed", x.getTargetException().getMessage()); } return false; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/c51245d12517c8deb703c8ce190ac47d12010283/OfflineReportsFile.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/offline/OfflineReportsFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 527, 12, 13450, 637, 15990, 19865, 1241, 16, 1250, 1923, 782, 8918, 13, 288, 202, 202, 698, 95, 1082, 202, 19865, 15990, 23106, 510, 69, 407, 1267, 273, 16907, 15990, 23106, 510, 69, 407, 18, 5233, 12135, 31, 1082, 202, 759, 866, 364, 7934, 471, 741, 279, 3400, 1082, 202, 474, 770, 273, 300, 21, 31, 1082, 202, 430, 14015, 1615, 273, 1104, 12, 4099, 18, 26321, 1435, 3719, 1545, 374, 13, 288, 9506, 202, 13450, 637, 15990, 19865, 1592, 19865, 273, 666, 18, 588, 12, 1615, 1769, 9506, 202, 430, 12, 1673, 19865, 1276, 16907, 4820, 597, 1241, 1276, 16907, 4820, 597, 401, 5688, 782, 8918, 15329, 6862, 202, 8583, 1750, 642, 273, 394, 11051, 1750, 5621, 6862, 202, 1425, 18, 542, 3910, 15470, 12, 5743, 1769, 6862, 202, 1425, 18, 542, 4726, 15470, 12, 5743, 1769, 6862, 202, 1425, 18, 542, 3910, 2224, 2932, 2042, 16907, 8706, 8863, 6862, 202, 1425, 18, 542, 4726, 2224, 2932, 5169, 16907, 8706, 8863, 6862, 202, 1425, 18, 542, 3910, 2040, 12, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 7887, 8946, 7675, 588, 2040, 12, 45, 7887, 8946, 18, 3445, 43, 67, 24547, 67, 10976, 10019, 6862, 202, 1425, 18, 542, 4726, 2040, 12, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 7887, 8946, 7675, 588, 2040, 12, 45, 7887, 8946, 18, 3445, 43, 67, 24547, 67, 10976, 10019, 6862, 202, 6385, 16907, 15990, 8583, 1210, 316, 273, 394, 16907, 15990, 8583, 1210, 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, 225, 202, 482, 1250, 527, 12, 13450, 637, 15990, 19865, 1241, 16, 1250, 1923, 782, 8918, 13, 288, 202, 202, 698, 95, 1082, 202, 19865, 15990, 23106, 510, 69, 407, 1267, 273, 16907, 15990, 23106, 510, 69, 407, 18, 5233, 12135, 31, 1082, 202, 759, 866, 364, 7934, 471, 741, 279, 3400, 1082, 202, 474, 770, 273, 300, 21, 31, 1082, 202, 430, 14015, 1615, 273, 1104, 12, 4099, 18, 26321, 1435, 3719, 1545, 374, 13, 288, 9506, 202, 13450, 637, 15990, 19865, 1592, 19865, 273, 666, 18, 588, 12, 1615, 1769, 9506, 202, 430, 12, 1673, 19865, 1276, 16907, 4820, 597, 1241, 1276, 16907, 4820, 597, 401, 5688, 782, 8918, 15329, 6862, 202, 8583, 1750, 642, 273, 394, 2 ]
sourceData, new ArrayBucketFactory(), MAX_COMPRESSED_DATA_LENGTH);
sourceData, new ArrayBucketFactory(), maxCompressedDataLength);
static Compressed compress(Bucket sourceData, boolean dontCompress, short alreadyCompressedCodec, long sourceLength, long MAX_LENGTH_BEFORE_COMPRESSION, long MAX_COMPRESSED_DATA_LENGTH, boolean shortLength) throws KeyEncodeException, IOException { byte[] finalData = null; short compressionAlgorithm = -1; if(sourceData.size() > MAX_LENGTH_BEFORE_COMPRESSION) throw new KeyEncodeException("Too big"); if((!dontCompress) || (alreadyCompressedCodec >= 0)) { byte[] cbuf = null; if(alreadyCompressedCodec >= 0) { if(sourceData.size() > MAX_COMPRESSED_DATA_LENGTH) throw new KeyEncodeException("Too big (precompressed)"); compressionAlgorithm = alreadyCompressedCodec; cbuf = BucketTools.toByteArray(sourceData); if(sourceLength > MAX_LENGTH_BEFORE_COMPRESSION) throw new CHKEncodeException("Too big"); } else { if (sourceData.size() > MAX_COMPRESSED_DATA_LENGTH) { // Determine the best algorithm for (int i = 0; i < Compressor.countCompressAlgorithms(); i++) { Compressor comp = Compressor .getCompressionAlgorithmByDifficulty(i); ArrayBucket compressedData; try { compressedData = (ArrayBucket) comp.compress( sourceData, new ArrayBucketFactory(), MAX_COMPRESSED_DATA_LENGTH); } catch (IOException e) { throw new Error(e); } catch (CompressionOutputSizeException e) { continue; } if (compressedData.size() <= MAX_COMPRESSED_DATA_LENGTH) { compressionAlgorithm = comp .codecNumberForMetadata(); sourceLength = sourceData.size(); try { cbuf = BucketTools.toByteArray(compressedData); // FIXME provide a method in ArrayBucket } catch (IOException e) { throw new Error(e); } break; } } } } if(cbuf != null) { // Use it int compressedLength = cbuf.length; finalData = new byte[compressedLength+(shortLength?2:4)]; System.arraycopy(cbuf, 0, finalData, shortLength?2:4, compressedLength); if(!shortLength) { finalData[0] = (byte) ((sourceLength >> 24) & 0xff); finalData[1] = (byte) ((sourceLength >> 16) & 0xff); finalData[2] = (byte) ((sourceLength >> 8) & 0xff); finalData[3] = (byte) ((sourceLength) & 0xff); } else { finalData[0] = (byte) ((sourceLength >> 8) & 0xff); finalData[1] = (byte) ((sourceLength) & 0xff); } } } if(finalData == null) { if(sourceData.size() > MAX_COMPRESSED_DATA_LENGTH) { throw new CHKEncodeException("Too big"); } finalData = BucketTools.toByteArray(sourceData); } return new Compressed(finalData, compressionAlgorithm); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/462cbb7297805a6141b502d1a7fb93e1bfd73ebb/Key.java/clean/src/freenet/keys/Key.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 5427, 4638, 8099, 12, 4103, 1084, 751, 16, 1250, 14046, 16552, 16, 3025, 1818, 16841, 11008, 16, 1525, 27406, 16, 1525, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 16, 1525, 4552, 67, 4208, 27388, 67, 4883, 67, 7096, 16, 1250, 3025, 1782, 13, 1216, 1929, 5509, 503, 16, 1860, 288, 377, 202, 7229, 8526, 727, 751, 273, 446, 31, 3639, 3025, 9154, 6801, 273, 300, 21, 31, 3639, 309, 12, 3168, 751, 18, 1467, 1435, 405, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 13, 5411, 604, 394, 1929, 5509, 503, 2932, 10703, 5446, 8863, 3639, 309, 12443, 5, 72, 1580, 16552, 13, 747, 261, 17583, 16841, 11008, 1545, 374, 3719, 288, 540, 202, 7229, 8526, 2875, 696, 273, 446, 31, 540, 202, 430, 12, 17583, 16841, 11008, 1545, 374, 13, 288, 5411, 202, 202, 430, 12, 3168, 751, 18, 1467, 1435, 405, 4552, 67, 4208, 27388, 67, 4883, 67, 7096, 13, 540, 1082, 202, 12849, 394, 1929, 5509, 503, 2932, 10703, 5446, 261, 1484, 15385, 2225, 1769, 540, 202, 202, 23766, 6801, 273, 1818, 16841, 11008, 31, 540, 202, 202, 71, 4385, 273, 7408, 10348, 18, 869, 8826, 12, 3168, 751, 1769, 540, 202, 202, 430, 12, 3168, 1782, 405, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 13, 540, 1082, 202, 12849, 394, 6469, 47, 5509, 503, 2932, 10703, 5446, 8863, 540, 202, 97, 469, 288, 540, 202, 202, 430, 261, 3168, 751, 18, 1467, 1435, 405, 4552, 67, 4208, 27388, 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, 760, 5427, 4638, 8099, 12, 4103, 1084, 751, 16, 1250, 14046, 16552, 16, 3025, 1818, 16841, 11008, 16, 1525, 27406, 16, 1525, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 16, 1525, 4552, 67, 4208, 27388, 67, 4883, 67, 7096, 16, 1250, 3025, 1782, 13, 1216, 1929, 5509, 503, 16, 1860, 288, 377, 202, 7229, 8526, 727, 751, 273, 446, 31, 3639, 3025, 9154, 6801, 273, 300, 21, 31, 3639, 309, 12, 3168, 751, 18, 1467, 1435, 405, 4552, 67, 7096, 67, 19152, 67, 4208, 14227, 13, 5411, 604, 394, 1929, 5509, 503, 2932, 10703, 5446, 8863, 3639, 309, 12443, 5, 72, 1580, 16552, 13, 747, 261, 17583, 16841, 11008, 1545, 374, 3719, 288, 540, 202, 7229, 8526, 2 ]