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
baseURI = new URI("http:
baseURI = new IRI("http:
protected void setUp() throws Exception { baseURI = new URI("http://feedvalidator.org/testcases/atom/"); super.setUp(); }
46425 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46425/a7724f57b1ed9f7e36f7b511e06e7dbc231182d4/FeedValidatorTest.java/clean/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 24292, 1435, 1216, 1185, 288, 565, 1026, 3098, 273, 394, 3699, 2932, 2505, 2207, 7848, 7357, 18, 3341, 19, 3813, 22186, 19, 7466, 4898, 1769, 565, 2240, 18, 542, 1211, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 4750, 918, 24292, 1435, 1216, 1185, 288, 565, 1026, 3098, 273, 394, 3699, 2932, 2505, 2207, 7848, 7357, 18, 3341, 19, 3813, 22186, 19, 7466, 4898, 1769, 565, 2240, 18, 542, 1211, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
newFile.create(contents, false, monitor);
newFile.create(contents, false, new SubProgressMonitor(monitor, 1));
private IFile createFile(IPath makefilePath) throws CoreException { // Create or get the handle for the makefile IWorkspaceRoot root = CCorePlugin.getWorkspace().getRoot(); IFile newFile = root.getFileForLocation(makefilePath); if (newFile == null) { newFile = root.getFile(makefilePath); } // Create the file if it does not exist ByteArrayInputStream contents = new ByteArrayInputStream(new byte[0]); try { newFile.create(contents, false, monitor); // Make sure the new file is marked as derived if (!newFile.isDerived()) { newFile.setDerived(true); } } catch (CoreException e) { // If the file already existed locally, just refresh to get contents if (e.getStatus().getCode() == IResourceStatus.PATH_OCCUPIED) newFile.refreshLocal(IResource.DEPTH_ZERO, null); else throw e; } return newFile; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/77a7513b82466bcfc73a61cc9f34581b758ec8f5/GnuMakefileGenerator.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 812, 21266, 12, 45, 743, 1221, 22787, 13, 1216, 30015, 288, 202, 202, 759, 1788, 578, 336, 326, 1640, 364, 326, 1221, 768, 202, 202, 45, 8241, 2375, 1365, 273, 385, 4670, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 202, 202, 45, 812, 20592, 273, 1365, 18, 29925, 1290, 2735, 12, 6540, 22787, 1769, 202, 202, 430, 261, 2704, 812, 422, 446, 13, 288, 1082, 202, 2704, 812, 273, 1365, 18, 29925, 12, 6540, 22787, 1769, 202, 202, 97, 202, 202, 759, 1788, 326, 585, 309, 518, 1552, 486, 1005, 202, 202, 8826, 4348, 2939, 273, 394, 16180, 12, 2704, 1160, 63, 20, 19226, 202, 202, 698, 288, 1082, 202, 2704, 812, 18, 2640, 12, 3980, 16, 629, 16, 6438, 1769, 1082, 202, 759, 4344, 3071, 326, 394, 585, 353, 9350, 487, 10379, 1082, 202, 430, 16051, 2704, 812, 18, 291, 21007, 10756, 288, 9506, 202, 2704, 812, 18, 542, 21007, 12, 3767, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 14683, 261, 25341, 425, 13, 288, 1082, 202, 759, 971, 326, 585, 1818, 20419, 13760, 16, 2537, 4460, 358, 336, 2939, 1082, 202, 430, 261, 73, 18, 588, 1482, 7675, 588, 1085, 1435, 422, 467, 1420, 1482, 18, 4211, 67, 51, 6743, 57, 1102, 2056, 13, 9506, 202, 2704, 812, 18, 9144, 2042, 12, 45, 1420, 18, 27479, 67, 24968, 16, 446, 1769, 1082, 202, 12107, 9506, 202, 12849, 425, 31, 202, 202, 97, 9506, 202, 2463, 20592, 31, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 812, 21266, 12, 45, 743, 1221, 22787, 13, 1216, 30015, 288, 202, 202, 759, 1788, 578, 336, 326, 1640, 364, 326, 1221, 768, 202, 202, 45, 8241, 2375, 1365, 273, 385, 4670, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 202, 202, 45, 812, 20592, 273, 1365, 18, 29925, 1290, 2735, 12, 6540, 22787, 1769, 202, 202, 430, 261, 2704, 812, 422, 446, 13, 288, 1082, 202, 2704, 812, 273, 1365, 18, 29925, 12, 6540, 22787, 1769, 202, 202, 97, 202, 202, 759, 1788, 326, 585, 309, 518, 1552, 486, 1005, 202, 202, 8826, 4348, 2939, 273, 394, 16180, 12, 2704, 1160, 63, 20, 19226, 202, 202, 698, 288, 1082, 202, 2704, 812, 18, 2640, 2 ]
&& (actualParams[i].type == java.sql.Types.CHAR ||
&& (actualParams[i].type == java.sql.Types.CHAR ||
public boolean compatibleParameters( ParameterListItem actualParams[]) throws SQLException { int i; boolean isOkay = true; isOkay = parameterList.length == actualParams.length; for(i=0; isOkay && i<actualParams.length; i++) { if ((parameterList[i].formalType.startsWith("char") || parameterList[i].formalType.startsWith("varchar") || parameterList[i].formalType.startsWith("text") || parameterList[i].formalType.startsWith("nchar") || parameterList[i].formalType.startsWith("nvarchar") || parameterList[i].formalType.startsWith("ntext")) && (actualParams[i].type == java.sql.Types.CHAR || actualParams[i].type == java.sql.Types.VARCHAR || actualParams[i].type == java.sql.Types.LONGVARCHAR)) { isOkay = parameterList[i].maxLength >= actualParams[i].maxLength; } else { isOkay = parameterList[i].formalType.equalsIgnoreCase(actualParams[i].formalType); } } return isOkay; }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/94e0726b04f349bc8a5ee29394cce902177ab087/Procedure.java/clean/src/main/net/sourceforge/jtds/jdbc/Procedure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 7318, 2402, 12, 1377, 5498, 13575, 3214, 1370, 63, 5717, 1377, 1216, 6483, 282, 288, 1377, 509, 377, 277, 31, 1377, 1250, 353, 8809, 528, 273, 638, 31, 1377, 353, 8809, 528, 273, 1569, 682, 18, 2469, 422, 3214, 1370, 18, 2469, 31, 1377, 364, 12, 77, 33, 20, 31, 353, 8809, 528, 597, 277, 32, 18672, 1370, 18, 2469, 31, 277, 27245, 1377, 288, 1850, 309, 14015, 6775, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 3001, 7923, 747, 9079, 1569, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 90, 22483, 7923, 747, 9079, 1569, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 955, 7923, 747, 9079, 1569, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 82, 3001, 7923, 747, 9079, 1569, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 16588, 22483, 7923, 747, 9079, 1569, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 496, 408, 6, 3719, 2868, 597, 261, 18672, 1370, 63, 77, 8009, 723, 422, 2252, 18, 4669, 18, 2016, 18, 7305, 747, 10402, 3214, 1370, 63, 77, 8009, 723, 422, 2252, 18, 4669, 18, 2016, 18, 7716, 7305, 747, 5375, 3214, 1370, 63, 77, 8009, 723, 422, 2252, 18, 4669, 18, 2016, 18, 14639, 7716, 7305, 3719, 1850, 288, 2398, 353, 8809, 528, 273, 1569, 682, 63, 77, 8009, 1896, 1782, 1545, 3214, 1370, 63, 77, 8009, 1896, 1782, 31, 1850, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1250, 7318, 2402, 12, 1377, 5498, 13575, 3214, 1370, 63, 5717, 1377, 1216, 6483, 282, 288, 1377, 509, 377, 277, 31, 1377, 1250, 353, 8809, 528, 273, 638, 31, 1377, 353, 8809, 528, 273, 1569, 682, 18, 2469, 422, 3214, 1370, 18, 2469, 31, 1377, 364, 12, 77, 33, 20, 31, 353, 8809, 528, 597, 277, 32, 18672, 1370, 18, 2469, 31, 277, 27245, 1377, 288, 1850, 309, 14015, 6775, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 3001, 7923, 747, 9079, 1569, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 90, 22483, 7923, 747, 9079, 1569, 682, 63, 77, 8009, 687, 287, 559, 18, 17514, 1190, 2932, 955, 7923, 747, 2 ]
public void testComponent() throws Exception { Instrument instrument = new Instrument(); instrument.set(new Symbol("DELL")); instrument.set(new CountryOfIssue("USA")); instrument.set(new SecurityType(SecurityType.COMMON_STOCK)); quickfix.fix44.NewOrderSingle newOrderSingle = new quickfix.fix44.NewOrderSingle(); newOrderSingle.set(instrument); newOrderSingle.set(new OrderQty(100)); newOrderSingle.set(new Price(45)); assertEquals(new Symbol("DELL"), newOrderSingle.getSymbol()); assertEquals(new CountryOfIssue("USA"), newOrderSingle.getCountryOfIssue()); assertEquals(new SecurityType(SecurityType.COMMON_STOCK), newOrderSingle.getSecurityType()); newOrderSingle.set(new ClOrdID("CLIENT_ORDER_ID")); Instrument instrument2 = newOrderSingle.getInstrument(); assertEquals(new Symbol("DELL"), instrument2.getSymbol()); assertEquals(new CountryOfIssue("USA"), instrument2.getCountryOfIssue()); assertEquals(new SecurityType(SecurityType.COMMON_STOCK), instrument2.getSecurityType()); try { instrument2.getField(new ClOrdID()); fail("should have thrown exception"); } catch (FieldNotFound e) { // expected } }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/687565539d84115c31e47580ebda99933142832e/MessageTest.java/buggy/core/src/test/java/quickfix/MessageTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1841, 1435, 1216, 1185, 288, 3639, 25565, 10353, 273, 394, 25565, 5621, 3639, 10353, 18, 542, 12, 2704, 8565, 2932, 1639, 4503, 7923, 1769, 3639, 10353, 18, 542, 12, 2704, 19394, 951, 12956, 2932, 3378, 37, 7923, 1769, 3639, 10353, 18, 542, 12, 2704, 6036, 559, 12, 4368, 559, 18, 4208, 17667, 67, 31487, 3507, 10019, 3639, 9549, 904, 18, 904, 6334, 18, 1908, 2448, 5281, 394, 2448, 5281, 273, 394, 9549, 904, 18, 904, 6334, 18, 1908, 2448, 5281, 5621, 3639, 394, 2448, 5281, 18, 542, 12, 22818, 1769, 3639, 394, 2448, 5281, 18, 542, 12, 2704, 4347, 53, 4098, 12, 6625, 10019, 3639, 394, 2448, 5281, 18, 542, 12, 2704, 20137, 12, 7950, 10019, 3639, 1815, 8867, 12, 2704, 8565, 2932, 1639, 4503, 6, 3631, 394, 2448, 5281, 18, 588, 5335, 10663, 3639, 1815, 8867, 12, 2704, 19394, 951, 12956, 2932, 3378, 37, 6, 3631, 394, 2448, 5281, 18, 588, 8142, 951, 12956, 10663, 3639, 1815, 8867, 12, 2704, 6036, 559, 12, 4368, 559, 18, 4208, 17667, 67, 31487, 3507, 3631, 394, 2448, 5281, 18, 588, 4368, 559, 10663, 3639, 394, 2448, 5281, 18, 542, 12, 2704, 3905, 15383, 734, 2932, 11935, 67, 7954, 67, 734, 7923, 1769, 3639, 25565, 10353, 22, 273, 394, 2448, 5281, 18, 588, 19228, 5621, 3639, 1815, 8867, 12, 2704, 8565, 2932, 1639, 4503, 6, 3631, 10353, 22, 18, 588, 5335, 10663, 3639, 1815, 8867, 12, 2704, 19394, 951, 12956, 2932, 3378, 37, 6, 3631, 10353, 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, 1841, 1435, 1216, 1185, 288, 3639, 25565, 10353, 273, 394, 25565, 5621, 3639, 10353, 18, 542, 12, 2704, 8565, 2932, 1639, 4503, 7923, 1769, 3639, 10353, 18, 542, 12, 2704, 19394, 951, 12956, 2932, 3378, 37, 7923, 1769, 3639, 10353, 18, 542, 12, 2704, 6036, 559, 12, 4368, 559, 18, 4208, 17667, 67, 31487, 3507, 10019, 3639, 9549, 904, 18, 904, 6334, 18, 1908, 2448, 5281, 394, 2448, 5281, 273, 394, 9549, 904, 18, 904, 6334, 18, 1908, 2448, 5281, 5621, 3639, 394, 2448, 5281, 18, 542, 12, 22818, 1769, 3639, 394, 2448, 5281, 18, 542, 12, 2704, 4347, 53, 4098, 12, 6625, 10019, 3639, 394, 2448, 5281, 18, 542, 12, 2704, 20137, 12, 7950, 2 ]
IWorkbenchPage wp = getWorkbench().getActiveWorkbenchWindow().getActivePage();
IWorkbenchPage wp = plugin.getWorkbench().getActiveWorkbenchWindow().getActivePage();
public IEditorPart doOpenEditor(IPath path, boolean activate) { if (path == null) return null; IWorkspace w = ResourcesPlugin.getWorkspace(); IFile file = w.getRoot().getFileForLocation(path); IWorkbenchPage wp = getWorkbench().getActiveWorkbenchWindow().getActivePage(); try { if (file != null && file.exists()) { // File is inside the workspace return wp.openEditor(file, null, activate); } else { IStorage storage = new FileStorage(path); IEditorRegistry registry = PlatformUI.getWorkbench().getEditorRegistry(); IEditorDescriptor desc = registry.getDefaultEditor(path.lastSegment()); if (desc == null) desc = registry.getDefaultEditor(); IEditorInput input = new ExternalEditorInput(storage); return wp.openEditor(input, desc.getId()); } } catch (PartInitException e) { log(IStatus.ERROR, "Unexpected error opening path " + path.toString(),e); return null; } }
1319 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1319/a71e14de37a8973cd3053470e0eb1c1ab82f1d7e/PydevPlugin.java/buggy/org.python.pydev/src/org/python/pydev/plugin/PydevPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 6946, 1988, 741, 3678, 6946, 12, 45, 743, 589, 16, 1250, 10235, 13, 288, 202, 202, 430, 261, 803, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 45, 8241, 341, 273, 8128, 3773, 18, 588, 8241, 5621, 202, 202, 45, 812, 585, 273, 341, 18, 588, 2375, 7675, 29925, 1290, 2735, 12, 803, 1769, 202, 202, 45, 2421, 22144, 1964, 6357, 273, 29026, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 202, 202, 698, 288, 1082, 202, 430, 261, 768, 480, 446, 597, 585, 18, 1808, 10756, 288, 9506, 202, 759, 1387, 353, 4832, 326, 6003, 9506, 202, 2463, 6357, 18, 3190, 6946, 12, 768, 16, 446, 16, 10235, 1769, 1082, 202, 97, 469, 288, 9506, 202, 45, 3245, 2502, 273, 394, 1387, 3245, 12, 803, 1769, 9506, 202, 45, 6946, 4243, 4023, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 6946, 4243, 5621, 9506, 202, 45, 6946, 3187, 3044, 273, 4023, 18, 588, 1868, 6946, 12, 803, 18, 2722, 4131, 10663, 9506, 202, 430, 261, 5569, 422, 446, 13, 6862, 202, 5569, 273, 4023, 18, 588, 1868, 6946, 5621, 9506, 202, 45, 6946, 1210, 810, 273, 394, 11352, 6946, 1210, 12, 5697, 1769, 9506, 202, 2463, 6357, 18, 3190, 6946, 12, 2630, 16, 3044, 18, 26321, 10663, 1082, 202, 97, 202, 202, 97, 1044, 261, 1988, 2570, 503, 425, 13, 288, 1082, 202, 1330, 12, 45, 1482, 18, 3589, 16, 315, 7762, 555, 10890, 589, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 6946, 1988, 741, 3678, 6946, 12, 45, 743, 589, 16, 1250, 10235, 13, 288, 202, 202, 430, 261, 803, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 45, 8241, 341, 273, 8128, 3773, 18, 588, 8241, 5621, 202, 202, 45, 812, 585, 273, 341, 18, 588, 2375, 7675, 29925, 1290, 2735, 12, 803, 1769, 202, 202, 45, 2421, 22144, 1964, 6357, 273, 29026, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 202, 202, 698, 288, 1082, 202, 430, 261, 768, 480, 446, 597, 585, 18, 1808, 10756, 288, 9506, 202, 759, 1387, 353, 4832, 326, 6003, 9506, 202, 2463, 6357, 18, 3190, 6946, 12, 768, 16, 446, 16, 10235, 2 ]
match(input,53,FOLLOW_53_in_lhs_eval3310);
match(input,53,FOLLOW_53_in_lhs_eval3319);
public PatternDescr lhs_eval() throws RecognitionException { PatternDescr d; Token loc=null; String c = null; d = null; String text = ""; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1182:17: ( 'eval' loc= '(' c= paren_chunk2 ')' ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1182:17: 'eval' loc= '(' c= paren_chunk2 ')' { match(input,53,FOLLOW_53_in_lhs_eval3310); loc=(Token)input.LT(1); match(input,23,FOLLOW_23_in_lhs_eval3314); following.push(FOLLOW_paren_chunk2_in_lhs_eval3322); c=paren_chunk2(); following.pop(); match(input,25,FOLLOW_25_in_lhs_eval3326); checkTrailingSemicolon( c, offset(loc.getLine()) ); d = new EvalDescr( c ); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/d7954b0ad5c135d35db2bb329a4a335275a5b5a2/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6830, 16198, 8499, 67, 8622, 1435, 1216, 9539, 288, 6647, 6830, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 514, 276, 273, 446, 31, 540, 202, 202, 72, 273, 446, 31, 540, 202, 202, 780, 977, 273, 1408, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 2499, 11149, 30, 4033, 30, 261, 296, 8622, 11, 1515, 33, 7321, 276, 33, 22146, 67, 6551, 22, 5777, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 2499, 11149, 30, 4033, 30, 296, 8622, 11, 1515, 33, 7321, 276, 33, 22146, 67, 6551, 22, 5777, 5411, 288, 5411, 845, 12, 2630, 16, 8643, 16, 29890, 67, 8643, 67, 267, 67, 80, 4487, 67, 8622, 3707, 3657, 1769, 2398, 1515, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 4366, 16, 29890, 67, 4366, 67, 267, 67, 80, 4487, 67, 8622, 3707, 3461, 1769, 2398, 3751, 18, 6206, 12, 29890, 67, 13012, 67, 6551, 22, 67, 267, 67, 80, 4487, 67, 8622, 23, 1578, 22, 1769, 5411, 276, 33, 13012, 67, 6551, 22, 5621, 5411, 3751, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6830, 16198, 8499, 67, 8622, 1435, 1216, 9539, 288, 6647, 6830, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 514, 276, 273, 446, 31, 540, 202, 202, 72, 273, 446, 31, 540, 202, 202, 780, 977, 273, 1408, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 2499, 11149, 30, 4033, 30, 261, 296, 8622, 11, 1515, 33, 7321, 276, 33, 22146, 67, 6551, 22, 5777, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 2 ]
String global, boolean flat);
String global, boolean flat);
public Object newRegExp(Context cx, Scriptable scope, String source, String global, boolean flat);
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/dbefc5595ba41854ec04751abfc8db52f70a5796/RegExpProxy.java/clean/src/org/mozilla/javascript/RegExpProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 394, 13673, 12, 1042, 9494, 16, 22780, 2146, 16, 514, 1084, 16, 4766, 2398, 514, 2552, 16, 1250, 3569, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 394, 13673, 12, 1042, 9494, 16, 22780, 2146, 16, 514, 1084, 16, 4766, 2398, 514, 2552, 16, 1250, 3569, 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 ]
new NoViableAltException("1004:1: STRING : ( ( \'\"\' ( options {greedy=false; } : . )* \'\"\' ) | ( \'\\\'\' ( options {greedy=false; } : . )* \'\\\'\' ) );", 10, 0, input);
new NoViableAltException("998:1: STRING : ( ( \'\"\' ( options {greedy=false; } : . )* \'\"\' ) | ( \'\\\'\' ( options {greedy=false; } : . )* \'\\\'\' ) );", 10, 0, input);
public void mSTRING() throws RecognitionException { int STRING_StartIndex = input.index(); try { int type = STRING; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 49) ) { return ; } // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:17: ( ( '"' ( options {greedy=false; } : . )* '"' ) | ( '\'' ( options {greedy=false; } : . )* '\'' ) ) int alt10=2; int LA10_0 = input.LA(1); if ( LA10_0=='"' ) { alt10=1; } else if ( LA10_0=='\'' ) { alt10=2; } else { if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("1004:1: STRING : ( ( \'\"\' ( options {greedy=false; } : . )* \'\"\' ) | ( \'\\\'\' ( options {greedy=false; } : . )* \'\\\'\' ) );", 10, 0, input); throw nvae; } switch (alt10) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:17: ( '"' ( options {greedy=false; } : . )* '"' ) { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:17: ( '"' ( options {greedy=false; } : . )* '"' ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:18: '"' ( options {greedy=false; } : . )* '"' { match('"'); if (failed) return ; // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:22: ( options {greedy=false; } : . )* loop8: do { int alt8=2; int LA8_0 = input.LA(1); if ( LA8_0=='"' ) { alt8=2; } else if ( (LA8_0>='\u0000' && LA8_0<='!')||(LA8_0>='#' && LA8_0<='\uFFFE') ) { alt8=1; } switch (alt8) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:49: . { matchAny(); if (failed) return ; } break; default : break loop8; } } while (true); match('"'); if (failed) return ; } } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:61: ( '\'' ( options {greedy=false; } : . )* '\'' ) { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:61: ( '\'' ( options {greedy=false; } : . )* '\'' ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:62: '\'' ( options {greedy=false; } : . )* '\'' { match('\''); if (failed) return ; // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:67: ( options {greedy=false; } : . )* loop9: do { int alt9=2; int LA9_0 = input.LA(1); if ( LA9_0=='\'' ) { alt9=2; } else if ( (LA9_0>='\u0000' && LA9_0<='&')||(LA9_0>='(' && LA9_0<='\uFFFE') ) { alt9=1; } switch (alt9) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1005:94: . { matchAny(); if (failed) return ; } break; default : break loop9; } } while (true); match('\''); if (failed) return ; } } break; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 49, STRING_StartIndex); } } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/cdf6cb875caeaced53629d36cdc1a31cdc22d9ca/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 5804, 1435, 1216, 9539, 288, 3639, 509, 9469, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 9469, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 17160, 13, 262, 288, 327, 274, 289, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 6625, 25, 30, 4033, 30, 261, 261, 4754, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 4754, 262, 571, 261, 15053, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 15053, 262, 262, 5411, 509, 3770, 2163, 33, 22, 31, 5411, 509, 2928, 2163, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 2163, 67, 20, 631, 4970, 11, 262, 288, 7734, 3770, 2163, 33, 21, 31, 5411, 289, 5411, 469, 309, 261, 2928, 2163, 67, 20, 18920, 11421, 262, 288, 7734, 3770, 2163, 33, 22, 31, 5411, 289, 5411, 469, 288, 7734, 309, 261, 823, 6440, 34, 20, 13, 288, 7307, 33, 3767, 31, 327, 274, 97, 7734, 17114, 15077, 273, 10792, 394, 17114, 2932, 2733, 28, 30, 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, 312, 5804, 1435, 1216, 9539, 288, 3639, 509, 9469, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 9469, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 17160, 13, 262, 288, 327, 274, 289, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 6625, 25, 2 ]
r = (Report)v.firstElement(); r.indent(3); vDesc.addElement(r);
if(v.size() > 0) { r = (Report)v.firstElement(); r.indent(3); vDesc.addElement(r); }
public Vector ejectEntity(Entity entity, boolean autoEject) { Vector vDesc = new Vector(); Report r; // An entity can only eject it's crew once. if (entity.getCrew().isEjected()) return vDesc; // Mek pilots may get hurt during ejection, // and run around the board afterwards. if (entity instanceof Mech) { PilotingRollData rollTarget = new PilotingRollData(entity.getId(), entity.getCrew().getPiloting(), "ejecting"); if (entity.isProne()) { rollTarget.addModifier(5, "Mech is prone"); } if (entity.getCrew().isUnconscious()) { rollTarget.addModifier(3, "pilot unconscious"); } if (autoEject) { rollTarget.addModifier(1, "automatic ejection"); } if (entity.getInternal(Mech.LOC_HEAD) < 3) { rollTarget.addModifier(Math.min(3 - entity.getInternal(Mech.LOC_HEAD),2), "Head Internal Structure Damage"); } int facing = entity.getFacing(); Coords targetCoords = entity.getPosition().translated((facing + 3)%6); IHex targetHex = game.getBoard().getHex(targetCoords); if (targetHex != null) { if (targetHex.terrainLevel(Terrains.WATER) > 0 && !(targetHex.containsTerrain(Terrains.ICE))) { rollTarget.addModifier(-1, "landing in water"); } else if (targetHex.containsTerrain(Terrains.ROUGH)) { rollTarget.addModifier(0, "landing in rough"); } else if (targetHex.containsTerrain(Terrains.RUBBLE)) { rollTarget.addModifier(0, "landing in rubble"); } else if (targetHex.terrainLevel(Terrains.WOODS) == 1) { rollTarget.addModifier(2, "landing in light woods"); } else if (targetHex.terrainLevel(Terrains.WOODS) == 2) { rollTarget.addModifier(3, "landing in heavy woods"); } else if (targetHex.terrainLevel(Terrains.WOODS) == 3) { rollTarget.addModifier(4, "landing in ultra heavy woods"); } else if (targetHex.terrainLevel(Terrains.JUNGLE) == 1) { rollTarget.addModifier(3, "landing in light jungle"); } else if (targetHex.terrainLevel(Terrains.JUNGLE) == 2) { rollTarget.addModifier(5, "landing in heavy jungle"); } else if (targetHex.terrainLevel(Terrains.JUNGLE) == 3) { rollTarget.addModifier(7, "landing in ultra heavy jungle"); } else if (targetHex.terrainLevel(Terrains.BLDG_ELEV) > 0) { rollTarget.addModifier(targetHex.terrainLevel(Terrains.BLDG_ELEV), "landing in a building"); } else rollTarget.addModifier(-2, "landing in clear terrain"); } else { rollTarget.addModifier(-2, "landing off the board"); } if (autoEject) { r = new Report(6395); r.subject = entity.getId(); r.addDesc(entity); r.indent(2); r.newlines = 0; vDesc.addElement(r); } // okay, print the info r = new Report(2180); r.subject = entity.getId(); r.addDesc(entity); r.add(rollTarget.getLastPlainDesc(), true); r.indent(3); vDesc.addElement(r); // roll final int diceRoll = Compute.d6(2); r = new Report(2190); r.subject = entity.getId(); r.add(rollTarget.getValueAsString()); r.add(rollTarget.getDesc()); r.add(diceRoll); r.indent(4); r.newlines = 0; // create the MechWarrior in any case, for campaign tracking MechWarrior pilot = new MechWarrior(entity); pilot.setDeployed(true); pilot.setId(getFreeEntityId()); game.addEntity(pilot.getId(), pilot); send(createAddEntityPacket(pilot.getId())); // make him not get a move this turn pilot.setDone(true); if (diceRoll < rollTarget.getValue()) { r.choose(false); vDesc.addElement(r); Report.addNewline(vDesc); Vector v = damageCrew(pilot, 1); r = (Report)v.firstElement(); r.indent(3); vDesc.addElement(r); } else { r.choose(true); vDesc.addElement(r); } if (entity.getCrew().isDoomed()) { vDesc.addAll( destroyEntity(pilot, "deadly ejection", false, false)); } else { // Add the pilot as an infantry unit on the battlefield. if (game.getBoard().contains(targetCoords)) { pilot.setPosition(targetCoords);/* Can pilots eject into water??? ASSUMPTION : They can (because they get a -1 mod to the PSR. // Did the pilot land in water? if ( game.getBoard().getHex( targetCoords).levelOf ( Terrain.WATER ) > 0 ) { //report missing desc.append("and the pilot ejects, but lands in water!!!\n"); //report missing desc.append(destroyEntity( pilot, "a watery grave", false )); } else { //report missing desc.append("and the pilot ejects safely!\n"); }*/ //report safe ejection r = new Report(6400); r.subject = entity.getId(); r.indent(5); vDesc.addElement(r); if (game.getOptions().booleanOption("vacuum")) { //ended up in a vacuum r = new Report(6405); r.subject = entity.getId(); r.indent(3); vDesc.addElement(r); vDesc.addAll( destroyEntity(pilot, "explosive decompression", false, false)); } // Update the entity this.entityUpdate(pilot.getId()); // check if the pilot lands in a minefield doEntityDisplacementMinefieldCheck( pilot, entity.getPosition(), targetCoords ); } else { //ejects safely r = new Report(6410); r.subject = entity.getId(); r.indent(3); vDesc.addElement(r); if (game.getOptions().booleanOption("vacuum")) { //landed in vacuum r = new Report(6405); r.subject = entity.getId(); r.indent(3); vDesc.addElement(r); vDesc.addAll( destroyEntity(pilot, "explosive decompression", false, false)); } else { game.removeEntity( pilot.getId(), IEntityRemovalConditions.REMOVE_IN_RETREAT ); send(createRemoveEntityPacket(pilot.getId(), IEntityRemovalConditions.REMOVE_IN_RETREAT) ); } } if (game.getOptions().booleanOption("ejected_pilots_flee")) { game.removeEntity(pilot.getId(), IEntityRemovalConditions.REMOVE_IN_RETREAT); send(createRemoveEntityPacket(pilot.getId(), IEntityRemovalConditions.REMOVE_IN_RETREAT)); } } // Pilot safely ejects. } // End entity-is-Mek // Mark the entity's crew as "ejected". entity.getCrew().setEjected( true ); vDesc.addAll( destroyEntity(entity, "ejection", true, true)); // only remove the unit that ejected in the movement phase if (game.getPhase() == IGame.PHASE_MOVEMENT) { game.removeEntity( entity.getId(), IEntityRemovalConditions.REMOVE_EJECTED ); send(createRemoveEntityPacket(entity.getId(), IEntityRemovalConditions.REMOVE_EJECTED)); } return vDesc; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/4497b901b4d736795ea83320920c33afc652fee6/Server.java/clean/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5589, 425, 937, 1943, 12, 1943, 1522, 16, 1250, 3656, 41, 937, 13, 288, 3639, 5589, 331, 4217, 273, 394, 5589, 5621, 3639, 8706, 436, 31, 3639, 368, 1922, 1522, 848, 1338, 425, 937, 518, 1807, 1519, 91, 3647, 18, 3639, 309, 261, 1096, 18, 588, 1996, 91, 7675, 291, 41, 6059, 10756, 5411, 327, 331, 4217, 31, 3639, 368, 490, 3839, 24970, 6968, 2026, 336, 366, 295, 88, 4982, 425, 3710, 16, 3639, 368, 471, 1086, 6740, 326, 11094, 23838, 18, 3639, 309, 261, 1096, 1276, 7499, 343, 13, 288, 5411, 453, 330, 17128, 24194, 751, 5824, 2326, 273, 394, 453, 330, 17128, 24194, 751, 12, 1096, 18, 26321, 9334, 1522, 18, 588, 1996, 91, 7675, 588, 52, 330, 17128, 9334, 315, 73, 937, 310, 8863, 5411, 309, 261, 1096, 18, 291, 2050, 476, 10756, 288, 7734, 5824, 2326, 18, 1289, 9829, 12, 25, 16, 315, 4667, 343, 353, 846, 476, 8863, 5411, 289, 5411, 309, 261, 1096, 18, 588, 1996, 91, 7675, 291, 984, 591, 1017, 22774, 10756, 288, 7734, 5824, 2326, 18, 1289, 9829, 12, 23, 16, 315, 84, 22797, 23980, 1017, 22774, 8863, 5411, 289, 5411, 309, 261, 6079, 41, 937, 13, 288, 7734, 5824, 2326, 18, 1289, 9829, 12, 21, 16, 315, 5854, 4941, 425, 3710, 8863, 5411, 289, 5411, 309, 261, 1096, 18, 588, 3061, 12, 4667, 343, 18, 29450, 67, 12458, 13, 411, 890, 13, 288, 7734, 5824, 2326, 18, 1289, 9829, 12, 10477, 18, 1154, 12, 23, 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, 5589, 425, 937, 1943, 12, 1943, 1522, 16, 1250, 3656, 41, 937, 13, 288, 3639, 5589, 331, 4217, 273, 394, 5589, 5621, 3639, 8706, 436, 31, 3639, 368, 1922, 1522, 848, 1338, 425, 937, 518, 1807, 1519, 91, 3647, 18, 3639, 309, 261, 1096, 18, 588, 1996, 91, 7675, 291, 41, 6059, 10756, 5411, 327, 331, 4217, 31, 3639, 368, 490, 3839, 24970, 6968, 2026, 336, 366, 295, 88, 4982, 425, 3710, 16, 3639, 368, 471, 1086, 6740, 326, 11094, 23838, 18, 3639, 309, 261, 1096, 1276, 7499, 343, 13, 288, 5411, 453, 330, 17128, 24194, 751, 5824, 2326, 273, 394, 453, 330, 17128, 24194, 751, 12, 1096, 18, 26321, 9334, 1522, 18, 588, 1996, 91, 7675, 2 ]
synchronized void startResultSet(final SQLWarningChain wChain) {
synchronized void startResultSet(final SQLWarningChain wChain, final TdsStatement stmt) {
synchronized void startResultSet(final SQLWarningChain wChain) { try { while (!isResultRow() && !isEndOfResults()) { final PacketResult res = processSubPacket(); if (res instanceof PacketMsgResult) { wChain.addOrReturn((PacketMsgResult) res); } } } catch (java.io.IOException e) { wChain.addException(new SQLException("Network problem. " + e.getMessage())); } catch (net.sourceforge.jtds.jdbc.TdsUnknownPacketSubType e) { wChain.addException(new SQLException("Unknown response. " + e.getMessage())); } catch (net.sourceforge.jtds.jdbc.TdsException e) { wChain.addException(new SQLException(e.toString())); } catch (SQLException e) { wChain.addException(e); } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/9db5c1e6691a6fe3d8b463f25975f411ab0e317c/Tds.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 787, 13198, 12, 6385, 3063, 6210, 3893, 341, 3893, 16, 727, 399, 2377, 3406, 3480, 13, 288, 3639, 775, 288, 5411, 1323, 16051, 291, 1253, 1999, 1435, 597, 401, 291, 23358, 3447, 10756, 288, 7734, 727, 11114, 1253, 400, 273, 1207, 1676, 6667, 5621, 7734, 309, 261, 455, 1276, 11114, 3332, 1253, 13, 288, 10792, 341, 3893, 18, 1289, 1162, 990, 12443, 6667, 3332, 1253, 13, 400, 1769, 7734, 289, 5411, 289, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 5411, 341, 3893, 18, 1289, 503, 12, 2704, 6483, 2932, 3906, 6199, 18, 315, 397, 425, 18, 24906, 1435, 10019, 3639, 289, 1044, 261, 2758, 18, 3168, 1884, 908, 18, 78, 88, 2377, 18, 24687, 18, 56, 2377, 4874, 6667, 30511, 425, 13, 288, 5411, 341, 3893, 18, 1289, 503, 12, 2704, 6483, 2932, 4874, 766, 18, 315, 397, 425, 18, 24906, 1435, 10019, 3639, 289, 1044, 261, 2758, 18, 3168, 1884, 908, 18, 78, 88, 2377, 18, 24687, 18, 56, 2377, 503, 425, 13, 288, 5411, 341, 3893, 18, 1289, 503, 12, 2704, 6483, 12, 73, 18, 10492, 1435, 10019, 3639, 289, 1044, 261, 23116, 425, 13, 288, 5411, 341, 3893, 18, 1289, 503, 12, 73, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 787, 13198, 12, 6385, 3063, 6210, 3893, 341, 3893, 16, 727, 399, 2377, 3406, 3480, 13, 288, 3639, 775, 288, 5411, 1323, 16051, 291, 1253, 1999, 1435, 597, 401, 291, 23358, 3447, 10756, 288, 7734, 727, 11114, 1253, 400, 273, 1207, 1676, 6667, 5621, 7734, 309, 261, 455, 1276, 11114, 3332, 1253, 13, 288, 10792, 341, 3893, 18, 1289, 1162, 990, 12443, 6667, 3332, 1253, 13, 400, 1769, 7734, 289, 5411, 289, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 5411, 341, 3893, 18, 1289, 503, 12, 2704, 6483, 2932, 3906, 6199, 18, 315, 397, 425, 18, 24906, 1435, 10019, 3639, 289, 1044, 261, 2758, 18, 3168, 1884, 908, 18, 78, 88, 2 ]
protected Destination createDestination(ActiveMQDestination destination) throws Throwable {
protected Destination createDestination(ConnectionContext context, ActiveMQDestination destination) throws Throwable {
protected Destination createDestination(ActiveMQDestination destination) throws Throwable { final ActiveMQTempDestination tempDest = (ActiveMQTempDestination) destination; return new Topic(destination, null, memoryManager, destinationStatistics, taskRunnerFactory) { public void addSubscription(ConnectionContext context,Subscription sub) throws Throwable { // Only consumers on the same connection can consume from // the temporary destination if( !tempDest.getConnectionId().equals( sub.getConsumerInfo().getConsumerId().getConnectionId() ) ) { throw new JMSException("Cannot subscribe to remote temporary destination: "+tempDest); } super.addSubscription(context, sub); }; }; }
11783 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11783/0f502fae3d40a2b7d928c950e77c183405c90f03/TempTopicRegion.java/clean/activemq-core/src/main/java/org/apache/activemq/broker/region/TempTopicRegion.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10691, 752, 5683, 12, 1952, 1042, 819, 16, 8857, 9682, 5683, 2929, 13, 1216, 4206, 288, 3639, 727, 8857, 9682, 7185, 5683, 1906, 9378, 273, 261, 3896, 9682, 7185, 5683, 13, 2929, 31, 3639, 327, 394, 11789, 12, 10590, 16, 446, 16, 3778, 1318, 16, 2929, 8569, 16, 1562, 9709, 1733, 13, 288, 13491, 1071, 918, 527, 6663, 12, 1952, 1042, 819, 16, 6663, 720, 13, 1216, 4206, 288, 7734, 368, 5098, 18350, 603, 326, 1967, 1459, 848, 7865, 628, 1171, 368, 326, 6269, 2929, 7734, 309, 12, 401, 5814, 9378, 18, 588, 1952, 548, 7675, 14963, 12, 720, 18, 588, 5869, 966, 7675, 588, 5869, 548, 7675, 588, 1952, 548, 1435, 262, 262, 288, 10792, 604, 394, 20343, 2932, 4515, 9129, 358, 2632, 6269, 2929, 30, 13773, 5814, 9378, 1769, 7734, 289, 7734, 2240, 18, 1289, 6663, 12, 2472, 16, 720, 1769, 5411, 289, 31, 10792, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10691, 752, 5683, 12, 1952, 1042, 819, 16, 8857, 9682, 5683, 2929, 13, 1216, 4206, 288, 3639, 727, 8857, 9682, 7185, 5683, 1906, 9378, 273, 261, 3896, 9682, 7185, 5683, 13, 2929, 31, 3639, 327, 394, 11789, 12, 10590, 16, 446, 16, 3778, 1318, 16, 2929, 8569, 16, 1562, 9709, 1733, 13, 288, 13491, 1071, 918, 527, 6663, 12, 1952, 1042, 819, 16, 6663, 720, 13, 1216, 4206, 288, 7734, 368, 5098, 18350, 603, 326, 1967, 1459, 848, 7865, 628, 1171, 368, 326, 6269, 2929, 7734, 309, 12, 401, 5814, 9378, 18, 588, 1952, 548, 7675, 14963, 12, 720, 18, 588, 5869, 966, 7675, 588, 5869, 548, 7675, 588, 1952, 548, 1435, 262, 262, 288, 10792, 604, 2 ]
if(!(obj instanceof Sequential)) return false; for(ISeq s = seq(), ms = ((IPersistentCollection)obj).seq();s!=null;s = s.rest(), ms = ms.rest()) { if(ms == null || !RT.equal(s.first(),ms.first()))
if(!(obj instanceof Sequential))
public boolean equals(Object obj) { if(!(obj instanceof Sequential)) return false; for(ISeq s = seq(), ms = ((IPersistentCollection)obj).seq();s!=null;s = s.rest(), ms = ms.rest()) { if(ms == null || !RT.equal(s.first(),ms.first())) return false; } return true;}
48838 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48838/be12a746746c53c1f00758df7daa1fa5edc03935/ASeq.java/buggy/src/jvm/clojure/lang/ASeq.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 1606, 12, 921, 1081, 13, 288, 565, 309, 12, 5, 12, 2603, 1276, 3265, 13628, 3719, 3639, 327, 629, 31, 565, 364, 12, 45, 6926, 272, 273, 3833, 9334, 4086, 273, 14015, 2579, 6572, 2532, 13, 2603, 2934, 5436, 5621, 87, 5, 33, 2011, 31, 87, 273, 272, 18, 8792, 9334, 4086, 273, 4086, 18, 8792, 10756, 3639, 288, 3639, 309, 12, 959, 422, 446, 747, 401, 12185, 18, 9729, 12, 87, 18, 3645, 9334, 959, 18, 3645, 1435, 3719, 5411, 327, 629, 31, 3639, 289, 565, 327, 638, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 1606, 12, 921, 1081, 13, 288, 565, 309, 12, 5, 12, 2603, 1276, 3265, 13628, 3719, 3639, 327, 629, 31, 565, 364, 12, 45, 6926, 272, 273, 3833, 9334, 4086, 273, 14015, 2579, 6572, 2532, 13, 2603, 2934, 5436, 5621, 87, 5, 33, 2011, 31, 87, 273, 272, 18, 8792, 9334, 4086, 273, 4086, 18, 8792, 10756, 3639, 288, 3639, 309, 12, 959, 422, 446, 747, 401, 12185, 18, 9729, 12, 87, 18, 3645, 9334, 959, 18, 3645, 1435, 3719, 5411, 327, 629, 31, 3639, 289, 565, 327, 638, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (int i = 0; i < messageListeners.size(); i++)
listeners = new ArrayList(messageListeners).iterator(); } while (listeners.hasNext()) { MessageListener listener = (MessageListener) listeners.next(); if (evt instanceof MessageDeliveredEvent)
private void fireMessageEvent(EventObject evt) { synchronized(messageListeners) { for (int i = 0; i < messageListeners.size(); i++) { MessageListener l = (MessageListener)messageListeners.get(i); if (evt instanceof MessageDeliveredEvent ) { l.messageDelivered((MessageDeliveredEvent)evt); } else if (evt instanceof MessageReceivedEvent) { l.messageReceived((MessageReceivedEvent) evt); } else if (evt instanceof MessageDeliveryFailedEvent) { l.messageDeliveryFailed((MessageDeliveryFailedEvent) evt); } } } }
27035 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27035/4b7af66795876f56cf66335081d9d374016ece8d/OperationSetBasicInstantMessagingJabberImpl.java/buggy/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4452, 1079, 1133, 12, 1133, 921, 6324, 13, 565, 288, 3639, 3852, 12, 2150, 5583, 13, 3639, 288, 5411, 4679, 273, 394, 2407, 12, 2150, 5583, 2934, 9838, 5621, 289, 225, 1323, 261, 16072, 18, 5332, 2134, 10756, 288, 2350, 2223, 2991, 273, 261, 1079, 2223, 13, 4679, 18, 4285, 5621, 225, 309, 261, 73, 11734, 1276, 2350, 20813, 329, 1133, 13, 5411, 288, 7734, 2350, 2223, 328, 273, 261, 1079, 2223, 13, 2150, 5583, 18, 588, 12, 77, 1769, 7734, 309, 261, 73, 11734, 1276, 2350, 20813, 329, 1133, 262, 7734, 288, 10792, 328, 18, 2150, 20813, 329, 12443, 1079, 20813, 329, 1133, 13, 73, 11734, 1769, 7734, 289, 7734, 469, 309, 261, 73, 11734, 1276, 2350, 8872, 1133, 13, 7734, 288, 10792, 328, 18, 2150, 8872, 12443, 1079, 8872, 1133, 13, 6324, 1769, 7734, 289, 7734, 469, 309, 261, 73, 11734, 1276, 2350, 8909, 2925, 1133, 13, 7734, 288, 10792, 328, 18, 2150, 8909, 2925, 12443, 1079, 8909, 2925, 1133, 13, 6324, 1769, 7734, 289, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4452, 1079, 1133, 12, 1133, 921, 6324, 13, 565, 288, 3639, 3852, 12, 2150, 5583, 13, 3639, 288, 5411, 4679, 273, 394, 2407, 12, 2150, 5583, 2934, 9838, 5621, 289, 225, 1323, 261, 16072, 18, 5332, 2134, 10756, 288, 2350, 2223, 2991, 273, 261, 1079, 2223, 13, 4679, 18, 4285, 5621, 225, 309, 261, 73, 11734, 1276, 2350, 20813, 329, 1133, 13, 5411, 288, 7734, 2350, 2223, 328, 273, 261, 1079, 2223, 13, 2150, 5583, 18, 588, 12, 77, 1769, 7734, 309, 261, 73, 11734, 1276, 2350, 20813, 329, 1133, 262, 7734, 288, 10792, 328, 18, 2150, 20813, 329, 12443, 1079, 20813, 329, 1133, 13, 73, 11734, 1769, 7734, 289, 7734, 469, 309, 261, 73, 11734, 2 ]
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); if (unscaledValue == null) { throw new StreamCorruptedException("null unscaled value"); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b9a5b853972008d1ab118808770a7ecdcbbe33cf/BigDecimal.java/buggy/modules/math/src/main/java/java/math/BigDecimal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 17362, 12, 921, 4348, 316, 13, 1216, 1860, 16, 5411, 10403, 288, 3639, 316, 18, 1886, 1994, 921, 5621, 3639, 309, 261, 318, 20665, 620, 422, 446, 13, 288, 5411, 604, 394, 3961, 22701, 329, 503, 2932, 2011, 16804, 12825, 460, 8863, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17362, 12, 921, 4348, 316, 13, 1216, 1860, 16, 5411, 10403, 288, 3639, 316, 18, 1886, 1994, 921, 5621, 3639, 309, 261, 318, 20665, 620, 422, 446, 13, 288, 5411, 604, 394, 3961, 22701, 329, 503, 2932, 2011, 16804, 12825, 460, 8863, 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 ]
j.pv.println(node);
j.println(node);
void processEquation(Node node) { if(node==null) return; try { System.out.print("fun:\t\t"); j.pv.println(node); MatrixNodeI matEqn = j.dec.preprocess(node,j); j.println(matEqn); Object res = j.evaluate(matEqn); System.out.println("Res: "+res); System.out.println("Variables"); j.getVarTab().print(j.pv); } catch(ParseException e1) { System.out.println("Parse Error: "+e1.getMessage()); } catch(IllegalArgumentException e2) { System.out.println(e2.getMessage()); } catch(Exception e3) { System.out.println("Exception "+e3.getMessage()); e3.printStackTrace(); } }
54194 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54194/4f303d30b1e9325b8e6560f423a82b2e3baee2a7/MatrixConsole.java/clean/src/org/lsmp/djepExamples/MatrixConsole.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1207, 13142, 367, 12, 907, 756, 13, 202, 95, 202, 202, 430, 12, 2159, 631, 2011, 13, 327, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 1188, 2932, 12125, 5581, 88, 64, 88, 8863, 1875, 202, 78, 18, 25224, 18, 8222, 12, 2159, 1769, 1082, 202, 4635, 907, 45, 4834, 41, 15785, 273, 525, 18, 4924, 18, 27545, 12, 2159, 16, 78, 1769, 1082, 202, 78, 18, 8222, 12, 7373, 41, 15785, 1769, 1082, 202, 921, 400, 273, 525, 18, 21024, 12, 7373, 41, 15785, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 607, 30, 13773, 455, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 6158, 8863, 1082, 202, 78, 18, 588, 1537, 5661, 7675, 1188, 12, 78, 18, 25224, 1769, 1082, 202, 97, 202, 202, 14683, 12, 13047, 425, 21, 13, 288, 2332, 18, 659, 18, 8222, 2932, 3201, 1068, 30, 13773, 73, 21, 18, 24906, 10663, 289, 202, 202, 14683, 12, 31237, 425, 22, 13, 288, 2332, 18, 659, 18, 8222, 12, 73, 22, 18, 24906, 10663, 289, 202, 202, 14683, 12, 503, 425, 23, 13, 288, 2332, 18, 659, 18, 8222, 2932, 503, 13773, 73, 23, 18, 24906, 10663, 425, 23, 18, 1188, 6332, 5621, 289, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1207, 13142, 367, 12, 907, 756, 13, 202, 95, 202, 202, 430, 12, 2159, 631, 2011, 13, 327, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 1188, 2932, 12125, 5581, 88, 64, 88, 8863, 1875, 202, 78, 18, 25224, 18, 8222, 12, 2159, 1769, 1082, 202, 4635, 907, 45, 4834, 41, 15785, 273, 525, 18, 4924, 18, 27545, 12, 2159, 16, 78, 1769, 1082, 202, 78, 18, 8222, 12, 7373, 41, 15785, 1769, 1082, 202, 921, 400, 273, 525, 18, 21024, 12, 7373, 41, 15785, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 607, 30, 13773, 455, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 6158, 8863, 1082, 202, 2 ]
ToHitData toHit = new ToHitData(0, "");
ToHitData toHit = new ToHitData();
public static ToHitData getAttackerTerrainModifier(Game game, int entityId) { final Hex hex = game.board.getHex(game.getEntity(entityId).getPosition()); ToHitData toHit = new ToHitData(0, ""); if (hex.getTerrainType() == Terrain.WATER) { toHit.addModifier(1, "attacker in water"); } return toHit; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/64222a6a404ed0e12732a5e18cf98bb7dfb4c12c/Compute.java/buggy/megamek/src/megamek/common/Compute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2974, 13616, 751, 336, 3075, 484, 264, 56, 264, 7596, 9829, 12, 12496, 7920, 16, 509, 15052, 13, 288, 3639, 727, 15734, 3827, 273, 7920, 18, 3752, 18, 588, 7037, 12, 13957, 18, 588, 1943, 12, 1096, 548, 2934, 588, 2555, 10663, 3639, 2974, 13616, 751, 358, 13616, 273, 394, 2974, 13616, 751, 5621, 3639, 309, 261, 7118, 18, 588, 56, 264, 7596, 559, 1435, 422, 28991, 7596, 18, 59, 13641, 13, 288, 5411, 358, 13616, 18, 1289, 9829, 12, 21, 16, 315, 4558, 484, 264, 316, 16313, 8863, 3639, 289, 7734, 327, 358, 13616, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2974, 13616, 751, 336, 3075, 484, 264, 56, 264, 7596, 9829, 12, 12496, 7920, 16, 509, 15052, 13, 288, 3639, 727, 15734, 3827, 273, 7920, 18, 3752, 18, 588, 7037, 12, 13957, 18, 588, 1943, 12, 1096, 548, 2934, 588, 2555, 10663, 3639, 2974, 13616, 751, 358, 13616, 273, 394, 2974, 13616, 751, 5621, 3639, 309, 261, 7118, 18, 588, 56, 264, 7596, 559, 1435, 422, 28991, 7596, 18, 59, 13641, 13, 288, 5411, 358, 13616, 18, 1289, 9829, 12, 21, 16, 315, 4558, 484, 264, 316, 16313, 8863, 3639, 289, 7734, 327, 358, 13616, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
initSystem();
initGL();
public void setDisplayMode(int width, int height, boolean fullscreen) throws SlickException { try { targetDisplayMode = null; if (fullscreen) { DisplayMode[] modes = Display.getAvailableDisplayModes(); for (int i=0;i<modes.length;i++) { DisplayMode current = modes[i]; if ((current.getWidth() == width) && (current.getHeight() == height)) { if ((targetDisplayMode == null) || (current.getFrequency() == originalDisplayMode.getFrequency())) { targetDisplayMode = current; } } } } else { targetDisplayMode = new DisplayMode(width,height); } if (targetDisplayMode == null) { throw new SlickException("Failed to find value mode: "+width+"x"+height+" fs="+fullscreen); } this.width = width; this.height = height; Display.setDisplayMode(targetDisplayMode); Display.setFullscreen(fullscreen); if (Display.isCreated()) { initSystem(); enterOrtho(); } } catch (LWJGLException e) { throw new SlickException("Unable to setup mode "+width+"x"+height+" fullscreen="+fullscreen, e); } }
47738 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47738/79f4f44c266d00b623979c94a87b253114b6f52a/AppGameContainer.java/clean/src/org/newdawn/slick/AppGameContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23512, 2309, 12, 474, 1835, 16, 509, 2072, 16, 1250, 1983, 9252, 13, 1216, 9708, 1200, 503, 288, 202, 202, 698, 288, 1082, 202, 3299, 4236, 2309, 273, 446, 31, 1082, 202, 430, 261, 2854, 9252, 13, 288, 9506, 202, 4236, 2309, 8526, 12382, 273, 9311, 18, 588, 5268, 4236, 18868, 5621, 9506, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 19282, 18, 2469, 31, 77, 27245, 288, 6862, 202, 4236, 2309, 783, 273, 12382, 63, 77, 15533, 6862, 25083, 202, 430, 14015, 2972, 18, 588, 2384, 1435, 422, 1835, 13, 597, 261, 2972, 18, 588, 2686, 1435, 422, 2072, 3719, 288, 25083, 202, 430, 14015, 3299, 4236, 2309, 422, 446, 13, 747, 261, 2972, 18, 588, 13865, 1435, 422, 2282, 4236, 2309, 18, 588, 13865, 1435, 3719, 288, 6862, 1082, 202, 3299, 4236, 2309, 273, 783, 31, 25083, 202, 97, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 469, 288, 9506, 202, 3299, 4236, 2309, 273, 394, 9311, 2309, 12, 2819, 16, 4210, 1769, 1082, 202, 97, 25083, 202, 430, 261, 3299, 4236, 2309, 422, 446, 13, 288, 9506, 202, 12849, 394, 9708, 1200, 503, 2932, 2925, 358, 1104, 460, 1965, 30, 13773, 2819, 9078, 92, 6, 15, 4210, 9078, 2662, 1546, 15, 2854, 9252, 1769, 1082, 202, 97, 25083, 202, 2211, 18, 2819, 273, 1835, 31, 1082, 202, 2211, 18, 4210, 273, 2072, 31, 1082, 202, 4236, 18, 542, 4236, 2309, 12, 3299, 4236, 2309, 1769, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23512, 2309, 12, 474, 1835, 16, 509, 2072, 16, 1250, 1983, 9252, 13, 1216, 9708, 1200, 503, 288, 202, 202, 698, 288, 1082, 202, 3299, 4236, 2309, 273, 446, 31, 1082, 202, 430, 261, 2854, 9252, 13, 288, 9506, 202, 4236, 2309, 8526, 12382, 273, 9311, 18, 588, 5268, 4236, 18868, 5621, 9506, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 19282, 18, 2469, 31, 77, 27245, 288, 6862, 202, 4236, 2309, 783, 273, 12382, 63, 77, 15533, 6862, 25083, 202, 430, 14015, 2972, 18, 588, 2384, 1435, 422, 1835, 13, 597, 261, 2972, 18, 588, 2686, 1435, 422, 2072, 3719, 288, 25083, 202, 430, 14015, 3299, 4236, 2309, 422, 446, 13, 747, 2 ]
WorkbenchHelpSystem.getInstance().setHelp(control, IBugzillaConstants.SEARCH_PAGE_CONTEXT);
WorkbenchHelpSystem.getInstance().setHelp(control, BugzillaUiPlugin.SEARCH_PAGE_CONTEXT);
public void createControl(Composite parent) { readConfiguration(); Composite control = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(2, false); layout.marginHeight = 0; layout.marginWidth = 0; control.setLayout(layout); GridData gd = new GridData(GridData.FILL_BOTH); control.setLayoutData(gd); if (scontainer == null) { // Not presenting in search pane so add parent's content super.createControl(control); } else { // if (repository == null) { // search pane so add repository selection createRepositoryGroup(control); } createSearchGroup(control); createOptionsGroup(control); createEmail(control); createLastDays(control); // createSaveQuery(control); // createMaxHits(control); input = new SavedQueryFile(BugzillaPlugin.getDefault().getStateLocation().toString(), "/queries"); // createUpdate(control);// if (originalQuery != null) {// try {// updateDefaults(originalQuery.getQueryUrl(), String.valueOf(originalQuery.getMaxHits()));// } catch (UnsupportedEncodingException e) {// // ignore// }// } setControl(control); WorkbenchHelpSystem.getInstance().setHelp(control, IBugzillaConstants.SEARCH_PAGE_CONTEXT); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/bd9ab3a29c773cac8e20028f6d24e407b568a2c2/BugzillaSearchPage.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 752, 3367, 12, 9400, 982, 13, 288, 202, 202, 896, 1750, 5621, 202, 202, 9400, 3325, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 12, 22, 16, 629, 1769, 202, 202, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 7098, 18, 542, 3744, 12, 6741, 1769, 202, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 202, 202, 7098, 18, 542, 3744, 751, 12, 19016, 1769, 202, 202, 430, 261, 87, 3782, 422, 446, 13, 288, 1082, 202, 759, 2288, 3430, 310, 316, 1623, 13618, 1427, 527, 982, 1807, 913, 1082, 202, 9565, 18, 2640, 3367, 12, 7098, 1769, 202, 202, 97, 469, 288, 1082, 202, 759, 309, 261, 9071, 422, 446, 13, 288, 1082, 202, 759, 1623, 13618, 1427, 527, 3352, 4421, 1082, 202, 2640, 3305, 1114, 12, 7098, 1769, 202, 202, 97, 202, 202, 2640, 2979, 1114, 12, 7098, 1769, 202, 202, 2640, 1320, 1114, 12, 7098, 1769, 202, 202, 2640, 4134, 12, 7098, 1769, 202, 202, 2640, 3024, 9384, 12, 7098, 1769, 202, 202, 759, 752, 4755, 1138, 12, 7098, 1769, 202, 202, 759, 752, 2747, 20950, 12, 7098, 1769, 202, 202, 2630, 273, 394, 348, 8158, 1138, 812, 12, 19865, 15990, 3773, 18, 588, 1868, 7675, 588, 1119, 2735, 7675, 10492, 9334, 2206, 13748, 8863, 202, 202, 759, 752, 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, 752, 3367, 12, 9400, 982, 13, 288, 202, 202, 896, 1750, 5621, 202, 202, 9400, 3325, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 12, 22, 16, 629, 1769, 202, 202, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 7098, 18, 542, 3744, 12, 6741, 1769, 202, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 202, 202, 7098, 18, 542, 3744, 751, 12, 19016, 1769, 202, 202, 430, 261, 87, 3782, 422, 446, 13, 288, 1082, 202, 759, 2288, 3430, 310, 316, 1623, 13618, 2 ]
super(name); }
super(name); }
public DeprecatedUIPreferences(String name) { super(name); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7946b6460d44217ceadf6c1b4e0462e195d53d80/DeprecatedUIPreferences.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dialogs/DeprecatedUIPreferences.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9336, 5370, 12377, 12, 780, 508, 13, 288, 3639, 2240, 12, 529, 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, 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, 377, 1071, 9336, 5370, 12377, 12, 780, 508, 13, 288, 3639, 2240, 12, 529, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
InterpreterData(Object securityDomain, int languageVersion)
InterpreterData(SecurityController securityController, Object securityDomain, int languageVersion, String sourceFile, String encodedSource)
InterpreterData(Object securityDomain, int languageVersion) { itsICodeTop = INITIAL_MAX_ICODE_LENGTH; itsICode = new byte[itsICodeTop]; itsStringTable = new String[INITIAL_STRINGTABLE_SIZE]; this.securityDomain = securityDomain; this.languageVersion = languageVersion; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/58db1d9fd563d817a093133d18a6d0d8ef61f07e/InterpreterData.java/buggy/js/rhino/src/org/mozilla/javascript/InterpreterData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 5294, 11599, 751, 12, 4368, 2933, 4373, 2933, 16, 1033, 4373, 3748, 16, 509, 2653, 1444, 16, 514, 16338, 16, 514, 3749, 1830, 13, 565, 288, 3639, 2097, 45, 1085, 3401, 273, 28226, 67, 6694, 67, 19334, 67, 7096, 31, 3639, 2097, 45, 1085, 273, 394, 1160, 63, 1282, 45, 1085, 3401, 15533, 3639, 2097, 780, 1388, 273, 394, 514, 63, 28497, 67, 5804, 7775, 67, 4574, 15533, 3639, 333, 18, 7462, 3748, 273, 4373, 3748, 31, 3639, 333, 18, 4923, 1444, 273, 2653, 1444, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 5294, 11599, 751, 12, 4368, 2933, 4373, 2933, 16, 1033, 4373, 3748, 16, 509, 2653, 1444, 16, 514, 16338, 16, 514, 3749, 1830, 13, 565, 288, 3639, 2097, 45, 1085, 3401, 273, 28226, 67, 6694, 67, 19334, 67, 7096, 31, 3639, 2097, 45, 1085, 273, 394, 1160, 63, 1282, 45, 1085, 3401, 15533, 3639, 2097, 780, 1388, 273, 394, 514, 63, 28497, 67, 5804, 7775, 67, 4574, 15533, 3639, 333, 18, 7462, 3748, 273, 4373, 3748, 31, 3639, 333, 18, 4923, 1444, 273, 2653, 1444, 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 ]
Closure body = null;
Object body = null;
public Object invokeMethod(final String methodName, Object args) { try { return super.invokeMethod(methodName, args); } catch(MissingMethodException mme) { if(LOG.isDebugEnabled()) { LOG.debug("No method ["+methodName+"] found invoking as tag"); } Map attrs = null; Closure body = null; // retrieve tag lib and writer from binding Binding binding = getBinding(); final Writer out = (Writer)binding.getVariable(GroovyPage.OUT); GroovyObject tagLib = (GroovyObject)binding.getVariable(GrailsApplicationAttributes.TAG_LIB); // get attributes and body closure if (args instanceof Object[]) { Object[] argArray = (Object[])args; if(argArray.length > 0 && argArray[0] instanceof Map) attrs = (Map)argArray[0]; if(argArray.length > 1) { Object closureArg = argArray[1]; if(closureArg instanceof Closure) { body = (Closure)closureArg; } } } else if(args instanceof Map) { attrs = (Map)args; } if(attrs == null) { attrs = new HashMap(); } // in a direct invocation the body is expected to return a string // invoke the body closure and create a new closure that outputs // to the response writer on each body invokation final Closure body1 = body; Closure actualBody = new Closure(this) { public Object doCall(Object obj) { return call(new Object[] {obj} ); } public Object doCall() { return call(new Object[0]); } public Object doCall(Object[] args) { return call(args); } public Object call(Object[] args) { if(body1 != null) { Object bodyResponse = body1.call(); if(bodyResponse instanceof String) { try { out.write((String)bodyResponse); } catch (IOException e) { throw new GrailsTagException("I/O error invoking tag library closure ["+methodName+"] as method"); } } } return null; } }; if(tagLib != null) { tagLib.setProperty( TagLibDynamicMethods.OUT_PROPERTY, out ); Object tagLibProp; try { tagLibProp = tagLib.getProperty(methodName); if(tagLibProp instanceof Closure) { Closure tag = (Closure)tagLibProp; if(tag.getParameterTypes().length == 1) { tag.call( new Object[]{ attrs }); if(actualBody != null) { actualBody.call(); } return null; } if(tag.getParameterTypes().length == 2) { tag.call( new Object[] { attrs, actualBody }); return null; } }else { throw new GrailsTagException("Tag ["+methodName+"] does not exist in tag library ["+tagLib.getClass().getName()+"]"); } } catch (MissingPropertyException mpe) { if(args instanceof Object[]) throw new MissingMethodException(methodName,GroovyPage.class, (Object[])args); else throw new MissingMethodException(methodName,GroovyPage.class, new Object[]{ args }); } } throw new MissingMethodException(methodName,GroovyPage.class, new Object[]{ args }); } }
51763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51763/03eb7c0b6e4194b14465191a5045e08915a4af07/GroovyPage.java/clean/src/web/org/codehaus/groovy/grails/web/pages/GroovyPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 27632, 12, 6385, 514, 4918, 16, 1033, 833, 13, 288, 3639, 775, 288, 5411, 327, 2240, 18, 14407, 1305, 12, 2039, 461, 16, 833, 1769, 3639, 289, 3639, 1044, 12, 4841, 14513, 312, 3501, 13, 288, 1850, 309, 12, 4842, 18, 291, 2829, 1526, 10756, 288, 2868, 2018, 18, 4148, 2932, 2279, 707, 8247, 15, 2039, 461, 9078, 65, 1392, 15387, 487, 1047, 8863, 1850, 289, 5411, 1635, 3422, 273, 446, 31, 5411, 1033, 1417, 273, 446, 31, 5411, 368, 4614, 1047, 2561, 471, 2633, 628, 5085, 5411, 15689, 5085, 273, 29471, 5621, 5411, 727, 5497, 596, 273, 261, 2289, 13, 7374, 18, 588, 3092, 12, 43, 12859, 1964, 18, 5069, 1769, 5411, 20841, 921, 1047, 5664, 273, 261, 43, 12859, 921, 13, 7374, 18, 588, 3092, 12, 14571, 14573, 3208, 2498, 18, 7927, 67, 14484, 1769, 5411, 368, 336, 1677, 471, 1417, 7213, 5411, 309, 261, 1968, 1276, 1033, 63, 5717, 288, 7734, 1033, 8526, 1501, 1076, 273, 261, 921, 63, 5717, 1968, 31, 7734, 309, 12, 3175, 1076, 18, 2469, 405, 374, 597, 1501, 1076, 63, 20, 65, 1276, 1635, 13, 10792, 3422, 273, 261, 863, 13, 3175, 1076, 63, 20, 15533, 7734, 309, 12, 3175, 1076, 18, 2469, 405, 404, 13, 288, 10792, 1033, 7213, 4117, 273, 1501, 1076, 63, 21, 15533, 10792, 309, 12, 20823, 4117, 1276, 7255, 13, 288, 13491, 1417, 273, 261, 10573, 13, 20823, 4117, 31, 10792, 289, 7734, 289, 5411, 289, 5411, 469, 309, 12, 1968, 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, 1033, 27632, 12, 6385, 514, 4918, 16, 1033, 833, 13, 288, 3639, 775, 288, 5411, 327, 2240, 18, 14407, 1305, 12, 2039, 461, 16, 833, 1769, 3639, 289, 3639, 1044, 12, 4841, 14513, 312, 3501, 13, 288, 1850, 309, 12, 4842, 18, 291, 2829, 1526, 10756, 288, 2868, 2018, 18, 4148, 2932, 2279, 707, 8247, 15, 2039, 461, 9078, 65, 1392, 15387, 487, 1047, 8863, 1850, 289, 5411, 1635, 3422, 273, 446, 31, 5411, 1033, 1417, 273, 446, 31, 5411, 368, 4614, 1047, 2561, 471, 2633, 628, 5085, 5411, 15689, 5085, 273, 29471, 5621, 5411, 727, 5497, 596, 273, 261, 2289, 13, 7374, 18, 588, 3092, 12, 43, 12859, 1964, 18, 5069, 1769, 5411, 20841, 921, 1047, 2 ]
IPath destinationLocation = destination.getLocation();
URI destinationLocation = destination.getLocationURI();
public String validateDestination(IContainer destination, IResource[] sourceResources) { if (!isAccessible(destination)) { return IDEWorkbenchMessages.CopyFilesAndFoldersOperation_destinationAccessError; } String destinationMessage = validateDestinationLocation(destination); if (destinationMessage != null) { return destinationMessage; } IContainer firstParent = null; IPath destinationLocation = destination.getLocation(); for (int i = 0; i < sourceResources.length; i++) { IResource sourceResource = sourceResources[i]; if (firstParent == null) { firstParent = sourceResource.getParent(); } else if (firstParent.equals(sourceResource.getParent()) == false) { // Resources must have common parent. Fixes bug 33398. return IDEWorkbenchMessages.CopyFilesAndFoldersOperation_parentNotEqual; } IPath sourceLocation = sourceResource.getLocation(); if (sourceLocation == null) { if (sourceResource.isLinked()) { // Don't allow copying linked resources with undefined path // variables. See bug 28754. return NLS .bind( IDEWorkbenchMessages.CopyFilesAndFoldersOperation_missingPathVariable, sourceResource.getName()); } return NLS .bind( IDEWorkbenchMessages.CopyFilesAndFoldersOperation_resourceDeleted, sourceResource.getName()); } if (sourceLocation.equals(destinationLocation)) { return NLS .bind( IDEWorkbenchMessages.CopyFilesAndFoldersOperation_sameSourceAndDest, sourceResource.getName()); } // is the source a parent of the destination? if (sourceLocation.isPrefixOf(destinationLocation)) { return IDEWorkbenchMessages.CopyFilesAndFoldersOperation_destinationDescendentError; } String linkedResourceMessage = validateLinkedResource(destination, sourceResource); if (linkedResourceMessage != null) { return linkedResourceMessage; } } return null; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c3030d76123b051b1a39f59363c9a1acc57e3d1c/CopyFilesAndFoldersOperation.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1954, 5683, 12, 45, 2170, 2929, 16, 1082, 202, 45, 1420, 8526, 1084, 3805, 13, 288, 202, 202, 430, 16051, 291, 10451, 12, 10590, 3719, 288, 1082, 202, 2463, 1599, 41, 2421, 22144, 5058, 18, 2951, 2697, 1876, 14885, 2988, 67, 10590, 1862, 668, 31, 202, 202, 97, 202, 202, 780, 2929, 1079, 273, 1954, 5683, 2735, 12, 10590, 1769, 202, 202, 430, 261, 10590, 1079, 480, 446, 13, 288, 1082, 202, 2463, 2929, 1079, 31, 202, 202, 97, 202, 202, 45, 2170, 1122, 3054, 273, 446, 31, 202, 202, 45, 743, 2929, 2735, 273, 2929, 18, 588, 2735, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1084, 3805, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 1420, 1084, 1420, 273, 1084, 3805, 63, 77, 15533, 1082, 202, 430, 261, 3645, 3054, 422, 446, 13, 288, 9506, 202, 3645, 3054, 273, 1084, 1420, 18, 588, 3054, 5621, 1082, 202, 97, 469, 309, 261, 3645, 3054, 18, 14963, 12, 3168, 1420, 18, 588, 3054, 10756, 422, 629, 13, 288, 9506, 202, 759, 8128, 1297, 1240, 2975, 982, 18, 12139, 281, 7934, 890, 3707, 10689, 18, 9506, 202, 2463, 1599, 41, 2421, 22144, 5058, 18, 2951, 2697, 1876, 14885, 2988, 67, 2938, 1248, 5812, 31, 1082, 202, 97, 1082, 202, 45, 743, 1084, 2735, 273, 1084, 1420, 18, 588, 2735, 5621, 1082, 202, 430, 261, 3168, 2735, 422, 446, 13, 288, 9506, 202, 430, 261, 3168, 1420, 18, 291, 13174, 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, 514, 1954, 5683, 12, 45, 2170, 2929, 16, 1082, 202, 45, 1420, 8526, 1084, 3805, 13, 288, 202, 202, 430, 16051, 291, 10451, 12, 10590, 3719, 288, 1082, 202, 2463, 1599, 41, 2421, 22144, 5058, 18, 2951, 2697, 1876, 14885, 2988, 67, 10590, 1862, 668, 31, 202, 202, 97, 202, 202, 780, 2929, 1079, 273, 1954, 5683, 2735, 12, 10590, 1769, 202, 202, 430, 261, 10590, 1079, 480, 446, 13, 288, 1082, 202, 2463, 2929, 1079, 31, 202, 202, 97, 202, 202, 45, 2170, 1122, 3054, 273, 446, 31, 202, 202, 45, 743, 2929, 2735, 273, 2929, 18, 588, 2735, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1084, 3805, 18, 2469, 2 ]
return (Detector) constructor.newInstance(new Object[] {bugReporter});
return (Detector) constructor.newInstance(new Object[]{bugReporter});
public Detector create(BugReporter bugReporter) { try { Constructor constructor = detectorClass.getConstructor(constructorArgTypes); return (Detector) constructor.newInstance(new Object[] {bugReporter}); } catch (Exception e) { throw new RuntimeException("Could not instantiate Detector", e); } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/DetectorFactory.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/DetectorFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 22198, 752, 12, 19865, 13289, 7934, 13289, 13, 288, 202, 202, 698, 288, 1082, 202, 6293, 3885, 273, 13826, 797, 18, 588, 6293, 12, 12316, 4117, 2016, 1769, 1082, 202, 2463, 261, 12594, 13, 3885, 18, 2704, 1442, 12, 2704, 1033, 8526, 288, 925, 13289, 22938, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 4445, 486, 10275, 22198, 3113, 425, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 22198, 752, 12, 19865, 13289, 7934, 13289, 13, 288, 202, 202, 698, 288, 1082, 202, 6293, 3885, 273, 13826, 797, 18, 588, 6293, 12, 12316, 4117, 2016, 1769, 1082, 202, 2463, 261, 12594, 13, 3885, 18, 2704, 1442, 12, 2704, 1033, 8526, 288, 925, 13289, 22938, 202, 202, 97, 1044, 261, 503, 425, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 4445, 486, 10275, 22198, 3113, 425, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
" ^^\n" +
" ^^^\n" +
public void test101() { this.runNegativeTest( new String[] { "X.java", "public class X {\n" + " Character c0 = \'a\';\n" + " public static void main(String argv[]) {\n" + " Character c1;\n" + " c1 = \'b\';\n" + "\n" + " Character c2 = \'c\';\n" + " Character[] c3 = { \'d\' };\n" + " \n" + " }\n" + "}\n" }, "----------\n" + "1. ERROR in X.java (at line 2)\n" + " Character c0 = \'a\';\n" + " ^^\n" + "Type mismatch: cannot convert from char to Character\n" + "----------\n" + "2. ERROR in X.java (at line 5)\n" + " c1 = \'b\';\n" + " ^^^\n" + "Type mismatch: cannot convert from char to Character\n" + "----------\n" + "3. ERROR in X.java (at line 7)\n" + " Character c2 = \'c\';\n" + " ^^\n" + "Type mismatch: cannot convert from char to Character\n" + "----------\n" + "4. ERROR in X.java (at line 8)\n" + " Character[] c3 = { \'d\' };\n" + " ^^^\n" + "Type mismatch: cannot convert from char to Character\n" + "----------\n" );}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/e60ca02f81acc7600a43413bd7fb7c0779ae6a52/Compliance_1_4.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/Compliance_1_4.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 15168, 1435, 288, 202, 2211, 18, 2681, 14959, 4709, 12, 202, 202, 2704, 514, 8526, 288, 1082, 202, 6, 60, 18, 6290, 3113, 1082, 202, 6, 482, 667, 1139, 18890, 82, 6, 397, 1875, 202, 6, 202, 7069, 276, 20, 273, 7164, 69, 3730, 9747, 82, 6, 397, 1082, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 5261, 63, 5717, 18890, 82, 6, 397, 1875, 202, 6, 202, 202, 7069, 276, 21, 9747, 82, 6, 397, 1875, 202, 6, 202, 202, 71, 21, 273, 7164, 70, 3730, 9747, 82, 6, 397, 1875, 202, 12691, 82, 6, 397, 1875, 202, 6, 202, 202, 7069, 276, 22, 273, 7164, 71, 3730, 9747, 82, 6, 397, 1875, 202, 6, 202, 202, 7069, 8526, 276, 23, 273, 288, 7164, 72, 3730, 289, 9747, 82, 6, 397, 1082, 202, 6, 202, 64, 82, 6, 397, 1875, 202, 6, 202, 6280, 82, 6, 397, 1875, 202, 6, 6280, 82, 6, 202, 202, 5779, 202, 202, 6, 15392, 64, 82, 6, 397, 3196, 202, 6, 21, 18, 5475, 316, 1139, 18, 6290, 261, 270, 980, 576, 5153, 82, 6, 397, 3196, 202, 6, 202, 7069, 276, 20, 273, 7164, 69, 3730, 9747, 82, 6, 397, 3196, 202, 6, 202, 9079, 3602, 12800, 64, 82, 6, 397, 3196, 202, 6, 559, 13484, 30, 2780, 1765, 628, 1149, 358, 6577, 64, 82, 6, 397, 3196, 202, 6, 15392, 64, 82, 6, 397, 3196, 202, 6, 22, 18, 5475, 316, 1139, 18, 6290, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1842, 15168, 1435, 288, 202, 2211, 18, 2681, 14959, 4709, 12, 202, 202, 2704, 514, 8526, 288, 1082, 202, 6, 60, 18, 6290, 3113, 1082, 202, 6, 482, 667, 1139, 18890, 82, 6, 397, 1875, 202, 6, 202, 7069, 276, 20, 273, 7164, 69, 3730, 9747, 82, 6, 397, 1082, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 5261, 63, 5717, 18890, 82, 6, 397, 1875, 202, 6, 202, 202, 7069, 276, 21, 9747, 82, 6, 397, 1875, 202, 6, 202, 202, 71, 21, 273, 7164, 70, 3730, 9747, 82, 6, 397, 1875, 202, 12691, 82, 6, 397, 1875, 202, 6, 202, 202, 7069, 276, 22, 273, 7164, 71, 3730, 9747, 82, 6, 397, 1875, 202, 2 ]
if (!(addedNoEmailInIdAccounts.size() == 0 && addedEmailInIdAccounts.size() == 0) && (notAddedNoEmailInIdAccounts != null || notAddedEmailInIdAccounts != null))
if (addedParticipantEIds.size() != 0 && (notAddedNoEmailInIdAccounts != null || notAddedEmailInIdAccounts != null))
public void doAdd_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); String siteTitle = getStateSite(state).getTitle(); Hashtable selectedRoles = (Hashtable) state.getAttribute(STATE_SELECTED_PARTICIPANT_ROLES); int i; //accept noEmailInIdAccounts and/or emailInIdAccount account names String emailInIdAccountName = ServerConfigurationService.getString("emailInIdAccountName", ""); String noEmailInIdAccounts = null; String emailInIdAccounts = null; if (state.getAttribute("noEmailInIdAccountValue") != null) { noEmailInIdAccounts = (String) state.getAttribute("noEmailInIdAccountValue"); } if (state.getAttribute("emailInIdAccountValue") != null) { emailInIdAccounts = (String) state.getAttribute("emailInIdAccountValue"); } boolean notify = false; if (state.getAttribute("form_selectedNotify") != null) { notify = ((Boolean) state.getAttribute("form_selectedNotify")).booleanValue(); } boolean same_role = ((Boolean) state.getAttribute("form_same_role")).booleanValue(); String pw = null; String notAddedNoEmailInIdAccounts = null; String notAddedEmailInIdAccounts = null; Vector addedNoEmailInIdAccounts = new Vector(); Hashtable eIdRoles = new Hashtable(); if (noEmailInIdAccounts != null) { // adding noEmailInIdAccounts String[] noEmailInIdAccountArray = noEmailInIdAccounts.replaceAll(",","\r\n").split("\r\n"); for (i = 0; i < noEmailInIdAccountArray.length; i++) { String noEmailInIdAccount = StringUtil.trimToNull(noEmailInIdAccountArray[i].replaceAll("[\t\r\n]","")); if(noEmailInIdAccount != null) { // get role String role = null; if (same_role) { // if all added participants have a same role role = (String) state.getAttribute("form_selectedRole"); } else { // if all added participants have different role role = (String) selectedRoles.get(noEmailInIdAccount); } // update the hashtable eIdRoles.put(noEmailInIdAccount, role); } } // batch add and updates the successful added list addedNoEmailInIdAccounts.addAll(addUsersRealm(state, eIdRoles, notify, false)); for (Iterator iEIds = eIdRoles.keySet().iterator(); iEIds.hasNext();) { String iEId = (String) iEIds.next(); if (!addedNoEmailInIdAccounts.contains(iEId)) { // not added eids notAddedNoEmailInIdAccounts.concat(iEId + "\n"); } } } // noEmailInIdAccounts // for those email in EId accounts eIdRoles.clear(); Vector addedEmailInIdAccounts = new Vector(); if (emailInIdAccounts != null) { String[] emailInIdAccountArray = emailInIdAccounts.split("\r\n"); for (i = 0; i < emailInIdAccountArray.length; i++) { String emailInIdAccount = StringUtil.trimToNull(emailInIdAccountArray[i].replaceAll("[ \t\r\n]","")); // remove the trailing dots and empty space while (emailInIdAccount.endsWith(".") || emailInIdAccount.endsWith(" ")) { emailInIdAccount = emailInIdAccount.substring(0, emailInIdAccount.length() -1); } if(emailInIdAccount != null) { try { UserDirectoryService.getUserByEid(emailInIdAccount); } catch (UserNotDefinedException e) { //if there is no such user yet, add the user try { UserEdit uEdit = UserDirectoryService.addUser(null, emailInIdAccount); //set email address uEdit.setEmail(emailInIdAccount); // set the guest user type uEdit.setType("guest"); // set password to a positive random number Random generator = new Random(System.currentTimeMillis()); Integer num = new Integer(generator.nextInt(Integer.MAX_VALUE)); if (num.intValue() < 0) num = new Integer(num.intValue() *-1); pw = num.toString(); uEdit.setPassword(pw); // and save UserDirectoryService.commitEdit(uEdit); boolean notifyNewUserEmail = (ServerConfigurationService.getString("notifyNewUserEmail", Boolean.TRUE.toString())).equalsIgnoreCase(Boolean.TRUE.toString()); if (notifyNewUserEmail) { notifyNewUserEmail(uEdit.getEid(), uEdit.getEmail(), pw, siteTitle); } } catch(UserIdInvalidException ee) { addAlert(state, emailInIdAccountName + " id " + emailInIdAccount + " "+rb.getString("java.isinval") ); M_log.warn("doAdd_participant: UserDirectoryService addUser exception " + e.getMessage()); } catch(UserAlreadyDefinedException ee) { addAlert(state, "The " + emailInIdAccountName + " " + emailInIdAccount + " " + rb.getString("java.beenused")); M_log.warn("doAdd_participant: UserDirectoryService addUser exception " + e.getMessage()); } catch(UserPermissionException ee) { addAlert(state, rb.getString("java.haveadd")+ " " + emailInIdAccount); M_log.warn("doAdd_participant: UserDirectoryService addUser exception " + e.getMessage()); } } // add role if user exists if (state.getAttribute(STATE_MESSAGE) == null) { // get role String role = null; if (same_role) { // if all added participants have a same role role = (String) state.getAttribute("form_selectedRole"); } else { // if all added participants have different role role = (String) selectedRoles.get(emailInIdAccount); } eIdRoles.put(emailInIdAccount, role); } // if } // if } // for addedEmailInIdAccounts.addAll(addUsersRealm(state, eIdRoles, notify, true)); // update the not added user list for (Iterator iEIds = eIdRoles.keySet().iterator(); iEIds.hasNext();) { String iEId = (String) iEIds.next(); if (!addedEmailInIdAccounts.contains(iEId)) { notAddedEmailInIdAccounts = notAddedEmailInIdAccounts.concat(iEId + "\n"); } } } // emailInIdAccounts if (!(addedNoEmailInIdAccounts.size() == 0 && addedEmailInIdAccounts.size() == 0) && (notAddedNoEmailInIdAccounts != null || notAddedEmailInIdAccounts != null)) { // at lease one noEmailInIdAccount account or a emailInIdAccount account added addAlert(state, rb.getString("java.allusers")); } if (notAddedNoEmailInIdAccounts == null && notAddedEmailInIdAccounts == null) { // all account has been added successfully removeAddParticipantContext(state); } else { state.setAttribute("noEmailInIdAccountValue", notAddedNoEmailInIdAccounts); state.setAttribute("emailInIdAccountValue", notAddedEmailInIdAccounts); } if (state.getAttribute(STATE_MESSAGE) != null) { state.setAttribute(STATE_TEMPLATE_INDEX, "22"); } else { state.setAttribute(STATE_TEMPLATE_INDEX, "12"); } return; } // doAdd_participant
54846 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54846/4515134a233ece10214afcde62b3bcd54654760e/SiteAction.java/clean/site-manage-tool/tool/src/java/org/sakaiproject/site/tool/SiteAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 986, 67, 2680, 14265, 12, 1997, 751, 501, 13, 202, 95, 202, 202, 2157, 1119, 919, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 892, 2934, 588, 18566, 2157, 1119, 261, 12443, 46, 2413, 5868, 1997, 751, 13, 892, 2934, 588, 8382, 67, 347, 350, 1832, 1769, 3196, 202, 780, 2834, 4247, 273, 8997, 4956, 12, 2019, 2934, 588, 4247, 5621, 25083, 202, 5582, 14544, 3170, 6898, 273, 261, 5582, 14544, 13, 919, 18, 588, 1499, 12, 7998, 67, 4803, 2056, 67, 15055, 2871, 2579, 6856, 67, 30797, 1769, 202, 202, 474, 277, 31, 9506, 202, 759, 9436, 1158, 4134, 382, 548, 13971, 471, 19, 280, 2699, 382, 548, 3032, 2236, 1257, 202, 202, 780, 2699, 382, 548, 14498, 273, 3224, 1750, 1179, 18, 588, 780, 2932, 3652, 382, 548, 14498, 3113, 1408, 1769, 202, 202, 780, 1158, 4134, 382, 548, 13971, 273, 446, 31, 202, 202, 780, 2699, 382, 548, 13971, 273, 446, 31, 9506, 202, 430, 261, 2019, 18, 588, 1499, 2932, 2135, 4134, 382, 548, 3032, 620, 7923, 480, 446, 13, 202, 202, 95, 1082, 202, 2135, 4134, 382, 548, 13971, 273, 261, 780, 13, 919, 18, 588, 1499, 2932, 2135, 4134, 382, 548, 3032, 620, 8863, 202, 202, 97, 202, 202, 430, 261, 2019, 18, 588, 1499, 2932, 3652, 382, 548, 3032, 620, 7923, 480, 446, 13, 202, 202, 95, 1082, 202, 3652, 382, 548, 13971, 273, 261, 780, 13, 919, 18, 588, 1499, 2932, 3652, 382, 548, 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, 741, 986, 67, 2680, 14265, 12, 1997, 751, 501, 13, 202, 95, 202, 202, 2157, 1119, 919, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 892, 2934, 588, 18566, 2157, 1119, 261, 12443, 46, 2413, 5868, 1997, 751, 13, 892, 2934, 588, 8382, 67, 347, 350, 1832, 1769, 3196, 202, 780, 2834, 4247, 273, 8997, 4956, 12, 2019, 2934, 588, 4247, 5621, 25083, 202, 5582, 14544, 3170, 6898, 273, 261, 5582, 14544, 13, 919, 18, 588, 1499, 12, 7998, 67, 4803, 2056, 67, 15055, 2871, 2579, 6856, 67, 30797, 1769, 202, 202, 474, 277, 31, 9506, 202, 759, 9436, 1158, 4134, 382, 548, 13971, 471, 19, 280, 2699, 382, 548, 3032, 2236, 1257, 202, 202, 2 ]
public void tearDown() {
public void tearDown() throws Exception {
public void tearDown() { if (testProject != null) { try { testProject.delete(true, null); } catch (CoreException e) { fail(e.toString()); } testProject = null; testFolder = null; testFile = null; } super.tearDown(); navigator = null; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/74dcdd59a7639efe020690d2407f78f16ab92af7/NavigatorTest.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/navigator/NavigatorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 268, 2091, 4164, 1435, 288, 202, 202, 430, 261, 3813, 4109, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 3813, 4109, 18, 3733, 12, 3767, 16, 446, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 25341, 425, 13, 288, 9506, 202, 6870, 12, 73, 18, 10492, 10663, 1082, 202, 97, 1082, 202, 3813, 4109, 273, 446, 31, 1082, 202, 3813, 3899, 273, 446, 31, 1082, 202, 3813, 812, 273, 446, 31, 202, 202, 97, 202, 202, 9565, 18, 736, 297, 4164, 5621, 202, 202, 82, 13061, 273, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 268, 2091, 4164, 1435, 288, 202, 202, 430, 261, 3813, 4109, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 3813, 4109, 18, 3733, 12, 3767, 16, 446, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 25341, 425, 13, 288, 9506, 202, 6870, 12, 73, 18, 10492, 10663, 1082, 202, 97, 1082, 202, 3813, 4109, 273, 446, 31, 1082, 202, 3813, 3899, 273, 446, 31, 1082, 202, 3813, 812, 273, 446, 31, 202, 202, 97, 202, 202, 9565, 18, 736, 297, 4164, 5621, 202, 202, 82, 13061, 273, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String localName = node.getLocalName(); String prefix = node.getPrefix();
String nodeName = node.getNodeName(); String prefix = ""; String localName = nodeName; int colon = nodeName.indexOf(':'); if (colon >= 0) { prefix = nodeName.substring(0, colon); localName = nodeName.substring(colon + 1); } Namespace ns = null;
private void buildTree(Node node, Document doc, Element current, boolean atRoot) { // Recurse through the tree switch (node.getNodeType()) { case Node.DOCUMENT_NODE: NodeList nodes = node.getChildNodes(); for (int i=0, size=nodes.getLength(); i<size; i++) { buildTree(nodes.item(i), doc, current, true); } break; case Node.ELEMENT_NODE: String localName = node.getLocalName(); String prefix = node.getPrefix(); String uri = node.getNamespaceURI(); Element element = null; Namespace ns = null; if (uri == null) { if (localName == null) { // Sometimes localName is null, if so try the tag name localName = ((org.w3c.dom.Element)node).getTagName(); } element = factory.element(localName); } else { ns = Namespace.getNamespace(prefix, uri); element = factory.element(localName, ns); } // Add attributes NamedNodeMap attributeList = node.getAttributes(); for (int i=0, size=attributeList.getLength(); i<size; i++) { Attr att = (Attr) attributeList.item(i); // Distinguish between namespace and attribute String attname = att.getName(); String attvalue = att.getValue(); // Don't add xmlns attributes, but do add them as // additional namespaces if they're different than this // element's namespace (perhaps we should also have logic // not to mark them as additional if it's been done // already, but it probably doesn't matter) if (attname.equals("xmlns")) { Namespace declaredNS = Namespace.getNamespace("", attvalue); if (!declaredNS.equals(ns)) { element.addNamespaceDeclaration(declaredNS); } } else if (attname.startsWith("xmlns:")) { String attsubname = attname.substring(6); Namespace declaredNS = Namespace.getNamespace(attsubname, attvalue); if (!declaredNS.equals(ns)) { element.addNamespaceDeclaration(declaredNS); } } else { prefix = att.getPrefix(); uri = att.getNamespaceURI(); String attLocalName = att.getLocalName(); if (attLocalName == null) { // Sometimes attLocalName is null, try attname attLocalName = attname; } Namespace attns = Namespace.getNamespace(prefix, uri); Attribute attribute = factory.attribute(attLocalName, attvalue, attns); element.setAttribute(attribute); } } if (atRoot) { // If at root, set as document root doc.setRootElement(element); } else { // else add to parent element current.addContent(element); } // Recurse on child nodes // The list should never be null nor should it ever contain // null nodes, but some DOM impls are broken NodeList children = node.getChildNodes(); if (children != null) { for (int i=0, size=children.getLength(); i<size; i++) { Node item = children.item(i); if (item != null) { buildTree(item, doc, element, false); } } } break; case Node.TEXT_NODE: String data = node.getNodeValue(); current.addContent(factory.text(data)); break; case Node.CDATA_SECTION_NODE: String cdata = node.getNodeValue(); current.addContent(factory.cdata(cdata)); break; case Node.PROCESSING_INSTRUCTION_NODE: if (atRoot) { doc.addContent( factory.processingInstruction(node.getNodeName(), node.getNodeValue())); } else { current.addContent( factory.processingInstruction(node.getNodeName(), node.getNodeValue())); } break; case Node.COMMENT_NODE: if (atRoot) { doc.addContent(factory.comment(node.getNodeValue())); } else { current.addContent(factory.comment(node.getNodeValue())); } break; case Node.ENTITY_REFERENCE_NODE: EntityRef entity = factory.entityRef(node.getNodeName()); current.addContent(entity); break; case Node.ENTITY_NODE: // ?? break; case Node.DOCUMENT_TYPE_NODE: DocumentType domDocType = (DocumentType)node; String publicID = domDocType.getPublicId(); String systemID = domDocType.getSystemId(); String internalDTD = domDocType.getInternalSubset(); DocType docType = factory.docType(domDocType.getName()); docType.setPublicID(publicID); docType.setSystemID(systemID); docType.setInternalSubset(internalDTD); doc.setDocType(docType); break; } }
49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/c6346ad73f3919c15f9968139a8bb6da97bf755b/DOMBuilder.java/clean/core/src/java/org/jdom/input/DOMBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 2471, 12, 907, 756, 16, 21821, 4319, 997, 16, 21821, 3010, 783, 16, 21821, 1250, 622, 2375, 13, 288, 3639, 368, 868, 17682, 3059, 326, 2151, 3639, 1620, 261, 2159, 18, 588, 15101, 10756, 288, 5411, 648, 2029, 18, 18450, 67, 8744, 30, 7734, 16781, 2199, 273, 756, 18, 588, 22460, 5621, 7734, 364, 261, 474, 277, 33, 20, 16, 963, 33, 4690, 18, 588, 1782, 5621, 277, 32, 1467, 31, 277, 27245, 288, 10792, 1361, 2471, 12, 4690, 18, 1726, 12, 77, 3631, 997, 16, 783, 16, 638, 1769, 7734, 289, 7734, 898, 31, 5411, 648, 2029, 18, 10976, 67, 8744, 30, 7734, 514, 11927, 273, 756, 18, 588, 29583, 5621, 7734, 514, 1633, 273, 756, 18, 588, 2244, 5621, 7734, 514, 2003, 273, 756, 18, 588, 3402, 3098, 5621, 7734, 3010, 930, 273, 446, 31, 7734, 6005, 3153, 273, 446, 31, 7734, 309, 261, 1650, 422, 446, 13, 288, 10792, 309, 261, 3729, 461, 422, 446, 13, 288, 13491, 368, 348, 25976, 11927, 353, 446, 16, 309, 1427, 775, 326, 1047, 508, 13491, 11927, 273, 14015, 3341, 18, 91, 23, 71, 18, 9859, 18, 1046, 13, 2159, 2934, 588, 8520, 5621, 10792, 289, 10792, 930, 273, 3272, 18, 2956, 12, 3729, 461, 1769, 7734, 289, 7734, 469, 288, 10792, 3153, 273, 6005, 18, 588, 3402, 12, 3239, 16, 2003, 1769, 10792, 930, 273, 3272, 18, 2956, 12, 3729, 461, 16, 3153, 1769, 7734, 289, 7734, 368, 1436, 1677, 7734, 9796, 907, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 2471, 12, 907, 756, 16, 21821, 4319, 997, 16, 21821, 3010, 783, 16, 21821, 1250, 622, 2375, 13, 288, 3639, 368, 868, 17682, 3059, 326, 2151, 3639, 1620, 261, 2159, 18, 588, 15101, 10756, 288, 5411, 648, 2029, 18, 18450, 67, 8744, 30, 7734, 16781, 2199, 273, 756, 18, 588, 22460, 5621, 7734, 364, 261, 474, 277, 33, 20, 16, 963, 33, 4690, 18, 588, 1782, 5621, 277, 32, 1467, 31, 277, 27245, 288, 10792, 1361, 2471, 12, 4690, 18, 1726, 12, 77, 3631, 997, 16, 783, 16, 638, 1769, 7734, 289, 7734, 898, 31, 5411, 648, 2029, 18, 10976, 67, 8744, 30, 7734, 514, 11927, 273, 756, 18, 588, 29583, 5621, 7734, 514, 1633, 2 ]
throw new PSQLException("postgresql.geo.circle", s);
throw new PSQLException("postgresql.geo.circle", PSQLState.DATA_TYPE_MISMATCH, s);
public void setValue(String s) throws SQLException { PGtokenizer t = new PGtokenizer(PGtokenizer.removeAngle(s), ','); if (t.getSize() != 2) throw new PSQLException("postgresql.geo.circle", s); try { center = new PGpoint(t.getToken(0)); radius = Double.valueOf(t.getToken(1)).doubleValue(); } catch (NumberFormatException e) { throw new PSQLException("postgresql.geo.circle", e); } }
46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/509a9cd3f922c38c19d35e81bb1427d663ba4aba/PGcircle.java/clean/src/interfaces/jdbc/org/postgresql/geometric/PGcircle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5524, 12, 780, 272, 13, 1216, 6483, 202, 95, 202, 202, 18679, 2316, 1824, 268, 273, 394, 22116, 2316, 1824, 12, 18679, 2316, 1824, 18, 4479, 8467, 12, 87, 3631, 3316, 1769, 202, 202, 430, 261, 88, 18, 588, 1225, 1435, 480, 576, 13, 1082, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 12376, 18, 18970, 3113, 272, 1769, 202, 202, 698, 202, 202, 95, 1082, 202, 5693, 273, 394, 22116, 1153, 12, 88, 18, 588, 1345, 12, 20, 10019, 1082, 202, 11282, 273, 3698, 18, 1132, 951, 12, 88, 18, 588, 1345, 12, 21, 13, 2934, 9056, 620, 5621, 202, 202, 97, 202, 202, 14683, 261, 1854, 9291, 425, 13, 202, 202, 95, 1082, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 12376, 18, 18970, 3113, 425, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5524, 12, 780, 272, 13, 1216, 6483, 202, 95, 202, 202, 18679, 2316, 1824, 268, 273, 394, 22116, 2316, 1824, 12, 18679, 2316, 1824, 18, 4479, 8467, 12, 87, 3631, 3316, 1769, 202, 202, 430, 261, 88, 18, 588, 1225, 1435, 480, 576, 13, 1082, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 12376, 18, 18970, 3113, 272, 1769, 202, 202, 698, 202, 202, 95, 1082, 202, 5693, 273, 394, 22116, 1153, 12, 88, 18, 588, 1345, 12, 20, 10019, 1082, 202, 11282, 273, 3698, 18, 1132, 951, 12, 88, 18, 588, 1345, 12, 21, 13, 2934, 9056, 620, 5621, 202, 202, 97, 202, 202, 14683, 261, 1854, 9291, 425, 13, 202, 202, 95, 2 ]
match(input,FLOAT,FOLLOW_FLOAT_in_literal_constraint2327); if (failed) return text;
match(input,FLOAT,FOLLOW_FLOAT_in_literal_constraint2309); if (failed) return text;
public String literal_constraint() throws RecognitionException { String text = null; Token t=null; text = null; try { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1051:4: ( ( ( STRING )=>t= STRING | ( INT )=>t= INT | ( FLOAT )=>t= FLOAT | ( BOOL )=>t= BOOL | t= 'null' ) ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1051:4: ( ( STRING )=>t= STRING | ( INT )=>t= INT | ( FLOAT )=>t= FLOAT | ( BOOL )=>t= BOOL | t= 'null' ) { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1051:4: ( ( STRING )=>t= STRING | ( INT )=>t= INT | ( FLOAT )=>t= FLOAT | ( BOOL )=>t= BOOL | t= 'null' ) int alt39=5; switch ( input.LA(1) ) { case STRING: alt39=1; break; case INT: alt39=2; break; case FLOAT: alt39=3; break; case BOOL: alt39=4; break; case 66: alt39=5; break; default: if (backtracking>0) {failed=true; return text;} NoViableAltException nvae = new NoViableAltException("1051:4: ( ( STRING )=>t= STRING | ( INT )=>t= INT | ( FLOAT )=>t= FLOAT | ( BOOL )=>t= BOOL | t= 'null' )", 39, 0, input); throw nvae; } switch (alt39) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1051:6: ( STRING )=>t= STRING { t=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_literal_constraint2303); if (failed) return text; if ( backtracking==0 ) { text = getString( t ); } } break; case 2 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1052:5: ( INT )=>t= INT { t=(Token)input.LT(1); match(input,INT,FOLLOW_INT_in_literal_constraint2314); if (failed) return text; if ( backtracking==0 ) { text = t.getText(); } } break; case 3 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1053:5: ( FLOAT )=>t= FLOAT { t=(Token)input.LT(1); match(input,FLOAT,FOLLOW_FLOAT_in_literal_constraint2327); if (failed) return text; if ( backtracking==0 ) { text = t.getText(); } } break; case 4 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1054:5: ( BOOL )=>t= BOOL { t=(Token)input.LT(1); match(input,BOOL,FOLLOW_BOOL_in_literal_constraint2338); if (failed) return text; if ( backtracking==0 ) { text = t.getText(); } } break; case 5 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1055:5: t= 'null' { t=(Token)input.LT(1); match(input,66,FOLLOW_66_in_literal_constraint2350); if (failed) return text; if ( backtracking==0 ) { text = null; } } break; } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return text; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/afea9f80e7c11e7b76df18f232d3b5ca5ad21e72/DRLParser.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 7158, 67, 13364, 1435, 1216, 9539, 288, 6647, 514, 977, 273, 446, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 955, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2163, 10593, 30, 24, 30, 261, 261, 261, 9469, 13216, 88, 33, 9469, 571, 261, 6137, 13216, 88, 33, 6137, 571, 261, 15483, 13216, 88, 33, 15483, 571, 261, 9784, 1741, 13216, 88, 33, 9784, 1741, 571, 268, 33, 296, 2011, 11, 262, 262, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2163, 10593, 30, 24, 30, 261, 261, 9469, 13216, 88, 33, 9469, 571, 261, 6137, 13216, 88, 33, 6137, 571, 261, 15483, 13216, 88, 33, 15483, 571, 261, 9784, 1741, 13216, 88, 33, 9784, 1741, 571, 268, 33, 296, 2011, 11, 262, 5411, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2163, 10593, 30, 24, 30, 261, 261, 9469, 13216, 88, 33, 9469, 571, 261, 6137, 13216, 88, 33, 6137, 571, 261, 15483, 13216, 88, 33, 15483, 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, 7158, 67, 13364, 1435, 1216, 9539, 288, 6647, 514, 977, 273, 446, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 955, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2163, 10593, 30, 24, 30, 261, 261, 261, 9469, 13216, 88, 33, 9469, 571, 261, 6137, 13216, 88, 33, 6137, 571, 261, 15483, 13216, 88, 33, 15483, 571, 261, 9784, 1741, 13216, 88, 33, 9784, 1741, 571, 268, 33, 296, 2011, 11, 262, 262, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 2 ]
assertTrue("Insert test failed", testBuffer.toString().equals( "This is a test truebuffer"));
assertEquals("Insert test failed", "This is a test truebuffer", testBuffer.toString());
public void test_insertIZ() { // Test for method java.lang.StringBuffer // java.lang.StringBuffer.insert(int, boolean) testBuffer.insert(15, true); assertTrue("Insert test failed", testBuffer.toString().equals( "This is a test truebuffer")); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/StringBufferTest.java/buggy/modules/luni/src/test/java/tests/api/java/lang/StringBufferTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 6387, 6867, 1435, 288, 202, 202, 759, 7766, 364, 707, 2252, 18, 4936, 18, 780, 1892, 202, 202, 759, 2252, 18, 4936, 18, 780, 1892, 18, 6387, 12, 474, 16, 1250, 13, 202, 202, 3813, 1892, 18, 6387, 12, 3600, 16, 638, 1769, 202, 202, 11231, 5510, 2932, 4600, 1842, 2535, 3113, 1842, 1892, 18, 10492, 7675, 14963, 12, 9506, 202, 6, 2503, 353, 279, 1842, 638, 4106, 7923, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 6387, 6867, 1435, 288, 202, 202, 759, 7766, 364, 707, 2252, 18, 4936, 18, 780, 1892, 202, 202, 759, 2252, 18, 4936, 18, 780, 1892, 18, 6387, 12, 474, 16, 1250, 13, 202, 202, 3813, 1892, 18, 6387, 12, 3600, 16, 638, 1769, 202, 202, 11231, 5510, 2932, 4600, 1842, 2535, 3113, 1842, 1892, 18, 10492, 7675, 14963, 12, 9506, 202, 6, 2503, 353, 279, 1842, 638, 4106, 7923, 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 ]
new ShowMasterHex(masterFrame, client.getCaretaker(), hex, lastPoint);
new ShowMasterHex(masterFrame, client, hex, lastPoint);
public void actionPerformed(ActionEvent e) { GUIMasterHex hex = getHexContainingPoint(lastPoint); if (hex != null) { // XXX Remove direct caretaker reference. new ShowMasterHex(masterFrame, client.getCaretaker(), hex, lastPoint); // Work around a Windows JDK 1.3 bug. hex.repaint(); } }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/1b12d0d0c2efe018ac127d8b2ee116f3bf208471/MasterBoard.java/clean/Colossus/MasterBoard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 5411, 288, 7734, 611, 57, 3445, 2440, 7037, 3827, 273, 336, 7037, 24344, 2148, 12, 2722, 2148, 1769, 7734, 309, 261, 7118, 480, 446, 13, 7734, 288, 10792, 368, 11329, 3581, 2657, 21683, 6388, 2114, 18, 10792, 394, 9674, 7786, 7037, 12, 7525, 3219, 16, 1004, 18, 588, 39, 20731, 6388, 9334, 7682, 3827, 16, 1142, 2148, 1769, 10792, 368, 4147, 6740, 279, 8202, 24387, 404, 18, 23, 7934, 18, 10792, 3827, 18, 14462, 1598, 5621, 7734, 289, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2398, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 5411, 288, 7734, 611, 57, 3445, 2440, 7037, 3827, 273, 336, 7037, 24344, 2148, 12, 2722, 2148, 1769, 7734, 309, 261, 7118, 480, 446, 13, 7734, 288, 10792, 368, 11329, 3581, 2657, 21683, 6388, 2114, 18, 10792, 394, 9674, 7786, 7037, 12, 7525, 3219, 16, 1004, 18, 588, 39, 20731, 6388, 9334, 7682, 3827, 16, 1142, 2148, 1769, 10792, 368, 4147, 6740, 279, 8202, 24387, 404, 18, 23, 7934, 18, 10792, 3827, 18, 14462, 1598, 5621, 7734, 289, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new File(ConfigManager.cacheConfigDir, cacheConfigFileName);
return new File(cacheConfigDir, cacheConfigFileName);
public File getCacheConfigFile(String cacheConfigFileName) { return new File(ConfigManager.cacheConfigDir, cacheConfigFileName); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/9f48fcd2029e6a653737050ed28a6016be4f5dcb/ConfigManager.java/buggy/src/org/lockss/config/ConfigManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1387, 8577, 13705, 12, 780, 1247, 809, 4771, 13, 288, 565, 327, 394, 1387, 12, 2493, 809, 1621, 16, 1247, 809, 4771, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1387, 8577, 13705, 12, 780, 1247, 809, 4771, 13, 288, 565, 327, 394, 1387, 12, 2493, 809, 1621, 16, 1247, 809, 4771, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (locals == null && code != null && code.co_varnames.length > 0) { f_fastlocals = new PyObject[code.co_varnames.length-code.xxx_npurecell];
if (locals == null && code != null) { if ((code.co_flags&PyTableCode.CO_OPTIMIZED)!=0) { if (code.co_nlocals>0) f_fastlocals = new PyObject[code.co_nlocals-code.xxx_npurecell]; } else f_locals = new PyStringMap();
public PyFrame(PyTableCode code, PyObject locals, PyObject globals, PyObject builtins) { super(__class__); f_code = code; f_locals = locals; f_globals = globals; f_builtins = builtins; // This needs work to be efficient with multiple interpreter states if (locals == null && code != null && code.co_varnames.length > 0) { f_fastlocals = new PyObject[code.co_varnames.length-code.xxx_npurecell]; // internal: may change } if (code != null) { // reserve space for env int env_sz = 0; if (code.co_freevars != null) env_sz += (f_nfreevars = code.co_freevars.length); if (code.co_cellvars != null) env_sz += (f_ncells = code.co_cellvars.length); if (env_sz > 0) f_env = new PyCell[env_sz]; } }
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/4f31c6df01a1124d5cbe66045d6ff73f0d0aa2b8/PyFrame.java/buggy/org/python/core/PyFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4707, 3219, 12, 9413, 1388, 1085, 981, 16, 4707, 921, 8985, 16, 4707, 921, 10941, 16, 10402, 4707, 921, 6650, 2679, 13, 565, 288, 3639, 2240, 12, 972, 1106, 972, 1769, 3639, 284, 67, 710, 273, 981, 31, 3639, 284, 67, 17977, 273, 8985, 31, 3639, 284, 67, 16227, 273, 10941, 31, 3639, 284, 67, 12406, 2679, 273, 6650, 2679, 31, 3639, 368, 1220, 4260, 1440, 358, 506, 14382, 598, 3229, 16048, 5493, 3639, 309, 261, 17977, 422, 446, 597, 981, 480, 446, 597, 981, 18, 2894, 67, 90, 1303, 753, 18, 2469, 405, 374, 13, 288, 5411, 284, 67, 8076, 17977, 273, 394, 4707, 921, 63, 710, 18, 2894, 67, 90, 1303, 753, 18, 2469, 17, 710, 18, 18310, 67, 6782, 594, 3855, 15533, 368, 2713, 30, 2026, 2549, 3639, 289, 3639, 309, 261, 710, 480, 446, 13, 288, 368, 20501, 3476, 364, 1550, 5411, 509, 1550, 67, 24575, 273, 374, 31, 5411, 309, 261, 710, 18, 2894, 67, 9156, 4699, 480, 446, 13, 1550, 67, 24575, 1011, 261, 74, 67, 82, 9156, 4699, 273, 981, 18, 2894, 67, 9156, 4699, 18, 2469, 1769, 5411, 309, 261, 710, 18, 2894, 67, 3855, 4699, 480, 446, 13, 1550, 67, 24575, 1011, 261, 74, 67, 82, 14741, 273, 981, 18, 2894, 67, 3855, 4699, 18, 2469, 1769, 5411, 309, 261, 3074, 67, 24575, 405, 374, 13, 284, 67, 3074, 273, 394, 4707, 4020, 63, 3074, 67, 24575, 15533, 3639, 289, 565, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4707, 3219, 12, 9413, 1388, 1085, 981, 16, 4707, 921, 8985, 16, 4707, 921, 10941, 16, 10402, 4707, 921, 6650, 2679, 13, 565, 288, 3639, 2240, 12, 972, 1106, 972, 1769, 3639, 284, 67, 710, 273, 981, 31, 3639, 284, 67, 17977, 273, 8985, 31, 3639, 284, 67, 16227, 273, 10941, 31, 3639, 284, 67, 12406, 2679, 273, 6650, 2679, 31, 3639, 368, 1220, 4260, 1440, 358, 506, 14382, 598, 3229, 16048, 5493, 3639, 309, 261, 17977, 422, 446, 597, 981, 480, 446, 597, 981, 18, 2894, 67, 90, 1303, 753, 18, 2469, 405, 374, 13, 288, 5411, 284, 67, 8076, 17977, 273, 394, 4707, 921, 63, 710, 18, 2894, 67, 90, 1303, 753, 18, 2469, 17, 2 ]
event.setStopFurtherProcessing(stopFurtherProcessing);
RequestContext.getEvent().setStopFurtherProcessing(stopFurtherProcessing);
public void setStopFurtherProcessing(boolean stopFurtherProcessing) { event.setStopFurtherProcessing(stopFurtherProcessing); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/2a078073c574457fa71082e7a1ec5ed077a93fa2/MuleEventContext.java/clean/src/java/org/mule/impl/MuleEventContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 4947, 42, 8753, 7798, 12, 6494, 2132, 42, 8753, 7798, 13, 565, 288, 3639, 20479, 18, 588, 1133, 7675, 542, 4947, 42, 8753, 7798, 12, 5681, 42, 8753, 7798, 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, 444, 4947, 42, 8753, 7798, 12, 6494, 2132, 42, 8753, 7798, 13, 565, 288, 3639, 20479, 18, 588, 1133, 7675, 542, 4947, 42, 8753, 7798, 12, 5681, 42, 8753, 7798, 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(i != 0) {
if(buffer.length() != 0) {
static String[] splitOnTokens(String text) { char[] array = text.toCharArray(); if(text.indexOf("?") == -1 && text.indexOf("*") == -1) { return new String[] { text }; } ArrayList list = new ArrayList(); StringBuffer buffer = new StringBuffer(); for(int i=0; i<array.length; i++) { if(array[i] == '?' || array[i] == '*') { if(i != 0) { list.add(buffer.toString()); buffer.setLength(0); } list.add(new String( new char[] { array[i] } )); } else { buffer.append(array[i]); } } if(buffer.length() != 0) { list.add(buffer.toString()); } return (String[]) list.toArray(new String[0]); }
651 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/651/031803c6e44cc820e37024007cbc086c51f02042/WildcardUtils.java/buggy/genjava/gj-core/src/java/com/generationjava/util/WildcardUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 514, 8526, 1416, 1398, 5157, 12, 780, 977, 13, 288, 3639, 1149, 8526, 526, 273, 977, 18, 869, 15936, 5621, 3639, 309, 12, 955, 18, 31806, 2932, 7225, 13, 422, 300, 21, 597, 977, 18, 31806, 2932, 7388, 13, 422, 300, 21, 13, 288, 5411, 327, 394, 514, 8526, 288, 977, 289, 31, 3639, 289, 3639, 2407, 666, 273, 394, 2407, 5621, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 32, 1126, 18, 2469, 31, 277, 27245, 288, 5411, 309, 12, 1126, 63, 77, 65, 422, 6787, 747, 526, 63, 77, 65, 422, 5306, 13, 288, 7734, 309, 12, 4106, 18, 2469, 1435, 480, 374, 13, 288, 10402, 666, 18, 1289, 12, 4106, 18, 10492, 10663, 10402, 1613, 18, 542, 1782, 12, 20, 1769, 7734, 289, 7734, 666, 18, 1289, 12, 2704, 514, 12, 394, 1149, 8526, 288, 526, 63, 77, 65, 289, 262, 1769, 5411, 289, 469, 288, 7734, 1613, 18, 6923, 12, 1126, 63, 77, 19226, 5411, 289, 3639, 289, 3639, 309, 12, 4106, 18, 2469, 1435, 480, 374, 13, 288, 5411, 666, 18, 1289, 12, 4106, 18, 10492, 10663, 3639, 289, 3639, 327, 261, 780, 63, 5717, 666, 18, 31447, 12, 2704, 514, 63, 20, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 514, 8526, 1416, 1398, 5157, 12, 780, 977, 13, 288, 3639, 1149, 8526, 526, 273, 977, 18, 869, 15936, 5621, 3639, 309, 12, 955, 18, 31806, 2932, 7225, 13, 422, 300, 21, 597, 977, 18, 31806, 2932, 7388, 13, 422, 300, 21, 13, 288, 5411, 327, 394, 514, 8526, 288, 977, 289, 31, 3639, 289, 3639, 2407, 666, 273, 394, 2407, 5621, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 32, 1126, 18, 2469, 31, 277, 27245, 288, 5411, 309, 12, 1126, 63, 77, 65, 422, 6787, 747, 526, 63, 77, 65, 422, 5306, 13, 288, 7734, 309, 12, 4106, 18, 2469, 1435, 480, 374, 13, 288, 10402, 666, 2 ]
+ "\tLocale: " + voices[i].getLocale().toString() + newline
public String toString() { String newline = System.getProperty("line.separator"); Voice[] voices = getVoices(); String s = "VoiceDirectory '" + this.getClass().getName() + "'" + newline; for (int i = 0; i < voices.length; i++) { s += voices[i].getName() + newline + "\tDescription: " + voices[i].getDescription() + newline + "\tGender: " + voices[i].getGender().toString() + newline + "\tAge: " + voices[i].getAge().toString() + newline + "\tLocale: " + voices[i].getLocale().toString() + newline + "\tPitch: " + voices[i].getPitch() + newline + "\tPitch Range: " + voices[i].getPitchRange() + newline + "\tPitch Shift: " + voices[i].getPitchShift() + newline + "\tRate: " + voices[i].getRate() + newline + "\tVolume: " + voices[i].getVolume() + newline + newline; } return s; }
5078 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5078/65ce49df4d2b219e3adcad637e6933317b987604/VoiceDirectory.java/buggy/com/sun/speech/freetts/VoiceDirectory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 514, 9472, 273, 2332, 18, 588, 1396, 2932, 1369, 18, 11287, 8863, 3639, 23582, 8526, 331, 17725, 273, 11031, 17725, 5621, 3639, 514, 272, 273, 315, 14572, 2853, 2119, 397, 333, 18, 588, 797, 7675, 17994, 1435, 397, 5862, 5411, 397, 9472, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 331, 17725, 18, 2469, 31, 277, 27245, 288, 5411, 272, 1011, 331, 17725, 63, 77, 8009, 17994, 1435, 397, 9472, 2398, 397, 1548, 88, 3291, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 3291, 1435, 397, 9472, 2398, 397, 1548, 88, 43, 2345, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 43, 2345, 7675, 10492, 1435, 397, 9472, 2398, 397, 1548, 88, 9692, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 9692, 7675, 10492, 1435, 397, 9472, 7682, 397, 1548, 88, 52, 1437, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 52, 1437, 1435, 397, 9472, 2398, 397, 1548, 88, 52, 1437, 8086, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 52, 1437, 2655, 1435, 397, 9472, 2398, 397, 1548, 88, 52, 1437, 21444, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 52, 1437, 10544, 1435, 397, 9472, 2398, 397, 1548, 88, 4727, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 4727, 1435, 397, 9472, 2398, 397, 1548, 88, 4545, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 4545, 1435, 397, 9472, 2398, 397, 9472, 31, 3639, 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, 1071, 514, 1762, 1435, 288, 3639, 514, 9472, 273, 2332, 18, 588, 1396, 2932, 1369, 18, 11287, 8863, 3639, 23582, 8526, 331, 17725, 273, 11031, 17725, 5621, 3639, 514, 272, 273, 315, 14572, 2853, 2119, 397, 333, 18, 588, 797, 7675, 17994, 1435, 397, 5862, 5411, 397, 9472, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 331, 17725, 18, 2469, 31, 277, 27245, 288, 5411, 272, 1011, 331, 17725, 63, 77, 8009, 17994, 1435, 397, 9472, 2398, 397, 1548, 88, 3291, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 3291, 1435, 397, 9472, 2398, 397, 1548, 88, 43, 2345, 30, 315, 397, 331, 17725, 63, 77, 8009, 588, 43, 2345, 7675, 10492, 1435, 397, 2 ]
NotePadMeta npi = new NotePadMeta(n, lastclick.x, lastclick.y, Const.NOTE_MIN_SIZE, Const.NOTE_MIN_SIZE); chef.jobMeta.addNote(npi); chef.addUndoNew(new NotePadMeta[] {npi}, new int[] { chef.jobMeta.indexOfNote(npi)} ); redraw();
chef.jobMeta.removeNote(idx); chef.addUndoDelete(new NotePadMeta[] {ni}, new int[] {idx} );
public void widgetSelected(SelectionEvent e) { selrect=null; String title = Messages.getString("ChefGraph.Dialog.EditNote.Title"); //$NON-NLS-1$ String message = Messages.getString("ChefGraph.Dialog.EditNote.Message"); //$NON-NLS-1$ EnterTextDialog dd = new EnterTextDialog(shell, title, message, ""); //$NON-NLS-1$ String n = dd.open(); if (n!=null) { NotePadMeta npi = new NotePadMeta(n, lastclick.x, lastclick.y, Const.NOTE_MIN_SIZE, Const.NOTE_MIN_SIZE); chef.jobMeta.addNote(npi); chef.addUndoNew(new NotePadMeta[] {npi}, new int[] { chef.jobMeta.indexOfNote(npi)} ); redraw(); } }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/444154823bb101b30df857a2f0a25a1948eb1bd9/ChefGraph.java/clean/src/be/ibridge/kettle/chef/ChefGraph.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 15106, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 15106, 202, 95, 20982, 202, 1786, 2607, 33, 2011, 31, 6862, 9506, 202, 780, 2077, 273, 4838, 18, 588, 780, 2932, 39, 580, 74, 4137, 18, 6353, 18, 4666, 8067, 18, 4247, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 780, 883, 273, 4838, 18, 588, 780, 2932, 39, 580, 74, 4137, 18, 6353, 18, 4666, 8067, 18, 1079, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 10237, 1528, 6353, 6957, 273, 394, 15439, 1528, 6353, 12, 10304, 16, 2077, 16, 883, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 780, 290, 273, 6957, 18, 3190, 5621, 6862, 9506, 202, 430, 261, 82, 5, 33, 2011, 13, 20982, 202, 95, 6862, 6862, 202, 8067, 14878, 2781, 1130, 77, 273, 394, 3609, 14878, 2781, 12, 82, 16, 1142, 7475, 18, 92, 16, 1142, 7475, 18, 93, 16, 9333, 18, 17857, 67, 6236, 67, 4574, 16, 9333, 18, 17857, 67, 6236, 67, 4574, 1769, 6862, 6862, 202, 343, 10241, 18, 4688, 2781, 18, 1289, 8067, 12, 6782, 77, 1769, 6862, 6862, 202, 343, 10241, 18, 1289, 31224, 1908, 12, 2704, 3609, 14878, 2781, 8526, 288, 6782, 77, 5779, 394, 509, 8526, 288, 462, 10241, 18, 4688, 2781, 18, 31806, 8067, 12, 6782, 77, 16869, 11272, 6862, 6862, 202, 1118, 1899, 5621, 6862, 9506, 202, 97, 15106, 202, 97, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 15106, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 15106, 202, 95, 20982, 202, 1786, 2607, 33, 2011, 31, 6862, 9506, 202, 780, 2077, 273, 4838, 18, 588, 780, 2932, 39, 580, 74, 4137, 18, 6353, 18, 4666, 8067, 18, 4247, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 780, 883, 273, 4838, 18, 588, 780, 2932, 39, 580, 74, 4137, 18, 6353, 18, 4666, 8067, 18, 1079, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 10237, 1528, 6353, 6957, 273, 394, 15439, 1528, 6353, 12, 10304, 16, 2077, 16, 883, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 9506, 202, 780, 290, 273, 6957, 18, 3190, 5621, 2 ]
updateDocumentSections( document.getId(), document.getSections() );
updateDocumentSections( document.getId(), document.getSections() );
public void saveDocument( DocumentDomainObject document, UserDomainObject user ) throws MaxCategoryDomainObjectsOfTypeExceededException { if ( !userHasMoreThanReadPermissionOnDocument( user, document ) ) { return; // TODO: More specific check needed. Throw exception ? } checkMaxDocumentCategoriesOfType( document ); sqlUpdateMeta( document ); updateDocumentSections( document.getId(), document.getSections() ); updateDocumentCategories( document ); updateDocumentRolePermissions( document ); updateDocumentKeywords( document.getId(), document.getKeywords() ); DocumentPermissionSetMapper documentPermissionSetMapper = new DocumentPermissionSetMapper( service ); documentPermissionSetMapper.saveRestrictedDocumentPermissionSets( document ); document.saveDocument( this, user ); touchDocument( document ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/78b8cf3c8e17332a572ee863855f4395ff68a51c/DocumentMapper.java/clean/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1923, 2519, 12, 4319, 3748, 921, 1668, 16, 2177, 3748, 921, 729, 262, 1216, 4238, 4457, 3748, 4710, 18859, 14083, 288, 3639, 309, 261, 401, 1355, 5582, 7417, 9516, 1994, 5041, 1398, 2519, 12, 729, 16, 1668, 262, 262, 288, 5411, 327, 31, 368, 2660, 30, 16053, 2923, 866, 3577, 18, 3743, 1520, 692, 3639, 289, 3639, 866, 2747, 2519, 10487, 18859, 12, 1668, 11272, 3639, 1847, 1891, 2781, 12, 1668, 11272, 3639, 1089, 2519, 15965, 12, 1668, 18, 26321, 9334, 1668, 18, 588, 15965, 1435, 11272, 3639, 1089, 2519, 10487, 12, 1668, 11272, 3639, 1089, 2519, 2996, 6521, 12, 1668, 11272, 3639, 1089, 2519, 14149, 12, 1668, 18, 26321, 9334, 1668, 18, 588, 14149, 1435, 11272, 3639, 4319, 5041, 694, 4597, 1668, 5041, 694, 4597, 273, 394, 4319, 5041, 694, 4597, 12, 1156, 11272, 3639, 1668, 5041, 694, 4597, 18, 5688, 18784, 2519, 5041, 2785, 12, 1668, 11272, 3639, 1668, 18, 5688, 2519, 12, 333, 16, 729, 11272, 3639, 6920, 2519, 12, 1668, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1923, 2519, 12, 4319, 3748, 921, 1668, 16, 2177, 3748, 921, 729, 262, 1216, 4238, 4457, 3748, 4710, 18859, 14083, 288, 3639, 309, 261, 401, 1355, 5582, 7417, 9516, 1994, 5041, 1398, 2519, 12, 729, 16, 1668, 262, 262, 288, 5411, 327, 31, 368, 2660, 30, 16053, 2923, 866, 3577, 18, 3743, 1520, 692, 3639, 289, 3639, 866, 2747, 2519, 10487, 18859, 12, 1668, 11272, 3639, 1847, 1891, 2781, 12, 1668, 11272, 3639, 1089, 2519, 15965, 12, 1668, 18, 26321, 9334, 1668, 18, 588, 15965, 1435, 11272, 3639, 1089, 2519, 10487, 12, 1668, 11272, 3639, 1089, 2519, 2996, 6521, 12, 1668, 11272, 3639, 1089, 2519, 14149, 12, 1668, 18, 26321, 9334, 1668, 18, 588, 14149, 1435, 2 ]
public static String[] getSelectedTargets(PermissionsSessionData session, String owner){ LogService.instance().log(LogService.DEBUG,"PermissionsXML.getSelectedTargets(): processing for "+owner);
public static String[] getSelectedTargets(PermissionsSessionData session, Element owner){ LogService.instance().log(LogService.DEBUG,"PermissionsXML.getSelectedTargets(): processing for "+owner.getAttribute("name"));
public static String[] getSelectedTargets(PermissionsSessionData session, String owner){ LogService.instance().log(LogService.DEBUG,"PermissionsXML.getSelectedTargets(): processing for "+owner); ArrayList targets = new ArrayList(); Element o = getOwner(session,owner); if (o != null){ NodeList tl = o.getElementsByTagName("target"); for (int i=0;i<tl.getLength();i++){ Element target = (Element)tl.item(i); if ((target.getAttribute("selected") != null) && (target.getAttribute("selected").equals("true"))){ targets.add(target.getAttribute("token")); LogService.instance().log(LogService.DEBUG,"PermissionsXML.getSelectedTargets(): adding "+target.getAttribute("token")); } } } return (String[])targets.toArray(new String[0]); }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/7dd3da13bce84a7bc06f53daab65383ca9a2f527/PermissionsXML.java/buggy/source/org/jasig/portal/channels/permissionsmanager/PermissionsXML.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 8526, 16625, 9432, 12, 6521, 2157, 751, 1339, 16, 514, 3410, 15329, 1377, 1827, 1179, 18, 1336, 7675, 1330, 12, 1343, 1179, 18, 9394, 10837, 6521, 4201, 18, 588, 7416, 9432, 13332, 4929, 364, 13773, 8443, 1769, 1377, 2407, 5774, 273, 394, 2407, 5621, 1377, 3010, 320, 273, 13782, 12, 3184, 16, 8443, 1769, 1377, 309, 261, 83, 480, 446, 15329, 3639, 16781, 8332, 273, 320, 18, 588, 3471, 10401, 2932, 3299, 8863, 540, 364, 261, 474, 277, 33, 20, 31, 77, 32, 6172, 18, 588, 1782, 5621, 77, 27245, 95, 1850, 3010, 1018, 273, 261, 1046, 13, 6172, 18, 1726, 12, 77, 1769, 1850, 309, 14015, 3299, 18, 588, 1499, 2932, 8109, 7923, 480, 446, 13, 597, 261, 3299, 18, 588, 1499, 2932, 8109, 20387, 14963, 2932, 3767, 6, 3719, 15329, 5411, 5774, 18, 1289, 12, 3299, 18, 588, 1499, 2932, 2316, 7923, 1769, 5411, 1827, 1179, 18, 1336, 7675, 1330, 12, 1343, 1179, 18, 9394, 10837, 6521, 4201, 18, 588, 7416, 9432, 13332, 6534, 13773, 3299, 18, 588, 1499, 2932, 2316, 7923, 1769, 1850, 289, 540, 289, 1377, 289, 1377, 327, 261, 780, 63, 5717, 11358, 18, 31447, 12, 2704, 514, 63, 20, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 8526, 16625, 9432, 12, 6521, 2157, 751, 1339, 16, 514, 3410, 15329, 1377, 1827, 1179, 18, 1336, 7675, 1330, 12, 1343, 1179, 18, 9394, 10837, 6521, 4201, 18, 588, 7416, 9432, 13332, 4929, 364, 13773, 8443, 1769, 1377, 2407, 5774, 273, 394, 2407, 5621, 1377, 3010, 320, 273, 13782, 12, 3184, 16, 8443, 1769, 1377, 309, 261, 83, 480, 446, 15329, 3639, 16781, 8332, 273, 320, 18, 588, 3471, 10401, 2932, 3299, 8863, 540, 364, 261, 474, 277, 33, 20, 31, 77, 32, 6172, 18, 588, 1782, 5621, 77, 27245, 95, 1850, 3010, 1018, 273, 261, 1046, 13, 6172, 18, 1726, 12, 77, 1769, 1850, 309, 14015, 3299, 18, 588, 1499, 2932, 8109, 7923, 480, 2 ]
if (isClosing || force) isClosing = windowManager.close(); }
XMLMemento mem = recordWorkbenchState(); saveMementoToFile(mem); }
public void run() { if (isClosing || force) isClosing = windowManager.close(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/2688254ae4cc014a21e20baa88abc90f0febd5d3/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 430, 261, 291, 15745, 747, 2944, 13, 6862, 202, 291, 15745, 273, 2742, 1318, 18, 4412, 5621, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 430, 261, 291, 15745, 747, 2944, 13, 6862, 202, 291, 15745, 273, 2742, 1318, 18, 4412, 5621, 1082, 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 ]
public region difference(region d) { assert d != null; assert d.rank == rank; return ArbitraryRegion.difference(this, d); }
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/a4bd134d01f58c164e6d6a8a0201e38e2196061c/MultiDimRegion.java/buggy/x10.runtime/src/x10/array/MultiDimRegion.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6858, 23444, 12, 6858, 72, 15329, 11231, 72, 5, 33, 2011, 31, 11231, 72, 18, 11500, 631, 11500, 31, 2463, 686, 3682, 3345, 5165, 18, 23444, 12, 2211, 16, 72, 1769, 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, 1071, 6858, 23444, 12, 6858, 72, 15329, 11231, 72, 5, 33, 2011, 31, 11231, 72, 18, 11500, 631, 11500, 31, 2463, 686, 3682, 3345, 5165, 18, 23444, 12, 2211, 16, 72, 1769, 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 double jsFunction_getUTCDate() {
private double jsFunction_getUTCDate() {
public double jsFunction_getUTCDate() { if (this.date != this.date) return this.date; return DateFromTime(this.date); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/5af1999afa2517f3fdd455bd42c304be785b5b59/NativeDate.java/clean/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3828, 2083, 67, 588, 11471, 1626, 1435, 288, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 5411, 327, 333, 18, 712, 31, 3639, 327, 2167, 1265, 950, 12, 2211, 18, 712, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 1645, 3828, 2083, 67, 588, 11471, 1626, 1435, 288, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 5411, 327, 333, 18, 712, 31, 3639, 327, 2167, 1265, 950, 12, 2211, 18, 712, 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 ]
switch (read())
switch(c = read())
private char parseBody(final boolean attribute, final TokenConsumer tokenConsumer) throws IOException, EndException, ParseException { //System.out.println(" body("+(attribute?"attribute":"method")+")"); int bracketdepth = (attribute ? 0 : 1); int curlyBracketDepth = bracketdepth; char c = read(); while (true) { switch (c) { case '/' : int i = readComment(); if (i >= 0) c = (char)i; else c = read(); break; case '{' : curlyBracketDepth++; // FALL THROUGH case '(' : bracketdepth++; //System.out.print("<("+bracketdepth+")>"); if(tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); c = read(); break; case '}' : curlyBracketDepth--; // FALL THROUGH case ')' : bracketdepth--; //System.out.print("<("+bracketdepth+")>"); if (bracketdepth == 0 && !attribute) return '}'; if (bracketdepth < 0) throw new ParseException("';' expected."); if (tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); c = read(); break; case ';' : // dont have to test for "attribute" here // since then the test in the '}' branch would have // already terminated the loop if (bracketdepth == 0) return ';'; c = read(); break; case ',' : if (bracketdepth == 0) return ','; if (tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); c = read(); break; // ignore brackets inside of literal String's case '"' : if (tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); il : while (true) { switch (c=read()) { case '"' : if (tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); break il; case '\\' : read(); break; // ignore escaped characters } if (tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); } c = read(); break; // ignore brackets inside of literal characters case '\'' : il : while (true) { switch (read()) { case '\'' : break il; case '\\' : read(); break; // ignore escaped characters } } c = read(); break; case '<' : if(bracketdepth>0) { if (tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); c = read(); } else { buf.append(c); while(true) { if (tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); c = read(); if(c=='>') break; } //System.out.println("gb||"+buf+"|| ("+positionLine+':'+positionColumn+')'); } break; default : if (tokenConsumer!=null && curlyBracketDepth==0) tokenConsumer.addToken(c); if(tokenConsumer!=null) tokenConsumer.addChar(c); c = read(); break; } } }
50290 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50290/4ad0d600872d08179b13c522685ded86339425bb/Injector.java/buggy/instrument/src/com/exedio/cope/instrument/Injector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1149, 1109, 2250, 12, 6385, 1250, 1566, 16, 727, 3155, 5869, 1147, 5869, 13, 202, 202, 15069, 1860, 16, 4403, 503, 16, 10616, 202, 95, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 565, 1417, 2932, 15, 12, 4589, 7225, 4589, 15563, 2039, 7923, 9078, 2225, 1769, 202, 202, 474, 9843, 5979, 273, 261, 4589, 692, 374, 294, 404, 1769, 202, 202, 474, 29270, 11450, 6148, 273, 9843, 5979, 31, 202, 202, 3001, 276, 273, 855, 5621, 202, 202, 17523, 261, 3767, 13, 202, 202, 95, 1082, 202, 9610, 261, 71, 13, 1082, 202, 95, 9506, 202, 3593, 2023, 294, 6862, 202, 474, 277, 273, 855, 4469, 5621, 6862, 202, 430, 261, 77, 1545, 374, 13, 25083, 202, 71, 273, 261, 3001, 13, 77, 31, 6862, 202, 12107, 25083, 202, 71, 273, 855, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 9790, 294, 6862, 202, 1397, 715, 11450, 6148, 9904, 31, 6862, 202, 759, 478, 4685, 7662, 1457, 57, 16715, 9506, 202, 3593, 7321, 294, 6862, 202, 21025, 5979, 9904, 31, 6862, 202, 759, 3163, 18, 659, 18, 1188, 2932, 32, 2932, 15, 21025, 5979, 15, 7923, 2984, 1769, 6862, 202, 430, 12, 2316, 5869, 5, 33, 2011, 597, 29270, 11450, 6148, 631, 20, 13, 25083, 202, 2316, 5869, 18, 1289, 1345, 12, 71, 1769, 6862, 202, 430, 12, 2316, 5869, 5, 33, 2011, 13, 25083, 202, 2316, 5869, 18, 1289, 2156, 12, 71, 1769, 6862, 202, 71, 273, 855, 5621, 6862, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1149, 1109, 2250, 12, 6385, 1250, 1566, 16, 727, 3155, 5869, 1147, 5869, 13, 202, 202, 15069, 1860, 16, 4403, 503, 16, 10616, 202, 95, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 565, 1417, 2932, 15, 12, 4589, 7225, 4589, 15563, 2039, 7923, 9078, 2225, 1769, 202, 202, 474, 9843, 5979, 273, 261, 4589, 692, 374, 294, 404, 1769, 202, 202, 474, 29270, 11450, 6148, 273, 9843, 5979, 31, 202, 202, 3001, 276, 273, 855, 5621, 202, 202, 17523, 261, 3767, 13, 202, 202, 95, 1082, 202, 9610, 261, 71, 13, 1082, 202, 95, 9506, 202, 3593, 2023, 294, 6862, 202, 474, 277, 273, 855, 4469, 5621, 6862, 202, 430, 261, 77, 1545, 374, 2 ]
reportingAsset + " not local to this cluster."
reportingAsset + " not local to this agent."
private void allocateLocal(Task task) { Asset reportingAsset = task.getDirectObject(); Asset reportee = (Asset) findIndirectObject(task, Constants.Preposition.FOR); Asset localReportingAsset = findLocalAsset(reportingAsset); if ((localReportingAsset == null) || (!((HasRelationships )localReportingAsset).isLocal())) { //(!localReportingAsset.getClusterPG().getMessageAddress().equals(getMessageAddress()))) { myLogger.error(getMessageAddress().toString()+ "/AssetReportPlugin: unable to process " + task.getVerb() + " task - " + reportingAsset + " reporting to " + reportee + ".\n" + reportingAsset + " not local to this cluster." ); return; } long startTime = (long) task.getPreferredValue(AspectType.START_TIME); long endTime = (long) task.getPreferredValue(AspectType.END_TIME); // Make RelationshipSchedule for the reporting asset Collection roles = (Collection) findIndirectObject(task, Constants.Preposition.AS); RelationshipSchedule schedule = myPlanningFactory.newRelationshipSchedule((HasRelationships) reportingAsset); for (Iterator iterator = roles.iterator(); iterator.hasNext();) { Relationship relationship = myPlanningFactory.newRelationship((Role) iterator.next(), (HasRelationships) reportingAsset, (HasRelationships) reportee, startTime, endTime); schedule.add(relationship); } ((HasRelationships) reportingAsset).setRelationshipSchedule(schedule); // create the transfer NewSchedule availSchedule = myPlanningFactory.newSimpleSchedule(startTime, endTime); AllocationResult newEstimatedResult = PluginHelper.createEstimatedAllocationResult(task, theLDMF, 1.0, true); AssetTransfer assetTransfer = myPlanningFactory.createAssetTransfer(task.getPlan(), task, reportingAsset, availSchedule, reportee, newEstimatedResult, Role.ASSIGNED); publishAdd(assetTransfer); }
10687 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10687/4ca02740bedf766baa9e7478b9ab2bec14e4058a/AssetReportPlugin.java/buggy/planning/src/org/cougaar/planning/plugin/asset/AssetReportPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 10101, 2042, 12, 2174, 1562, 13, 288, 565, 10494, 16096, 6672, 273, 1562, 18, 588, 5368, 921, 5621, 565, 10494, 2605, 1340, 273, 261, 6672, 13, 1104, 24943, 921, 12, 4146, 16, 5245, 18, 1386, 3276, 18, 7473, 1769, 565, 10494, 1191, 29285, 6672, 273, 1104, 2042, 6672, 12, 20904, 6672, 1769, 565, 309, 14015, 3729, 29285, 6672, 422, 446, 13, 747, 3639, 16051, 12443, 5582, 17185, 262, 3729, 29285, 6672, 2934, 291, 2042, 1435, 3719, 288, 3639, 368, 12, 5, 3729, 29285, 6672, 18, 588, 3629, 18679, 7675, 24906, 1887, 7675, 14963, 12, 24906, 1887, 1435, 20349, 288, 1377, 3399, 3328, 18, 1636, 12, 24906, 1887, 7675, 10492, 1435, 15, 5397, 2206, 6672, 4820, 3773, 30, 13496, 358, 1207, 315, 397, 8227, 1562, 18, 588, 16281, 1435, 397, 315, 1562, 300, 315, 397, 8227, 16096, 6672, 397, 315, 16096, 358, 315, 397, 2605, 1340, 397, 3552, 64, 82, 6, 397, 5397, 16096, 6672, 397, 315, 486, 1191, 358, 333, 4040, 1199, 5397, 11272, 1377, 327, 31, 565, 289, 3639, 1525, 8657, 273, 261, 5748, 13, 1562, 18, 588, 16028, 620, 12, 17468, 559, 18, 7570, 67, 4684, 1769, 565, 1525, 13859, 273, 261, 5748, 13, 1562, 18, 588, 16028, 620, 12, 17468, 559, 18, 4415, 67, 4684, 1769, 3639, 368, 4344, 15463, 6061, 364, 326, 16096, 3310, 565, 2200, 4900, 273, 4202, 261, 2532, 13, 1104, 24943, 921, 12, 4146, 16, 5245, 18, 1386, 3276, 18, 3033, 1769, 565, 15463, 6061, 4788, 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, 282, 3238, 918, 10101, 2042, 12, 2174, 1562, 13, 288, 565, 10494, 16096, 6672, 273, 1562, 18, 588, 5368, 921, 5621, 565, 10494, 2605, 1340, 273, 261, 6672, 13, 1104, 24943, 921, 12, 4146, 16, 5245, 18, 1386, 3276, 18, 7473, 1769, 565, 10494, 1191, 29285, 6672, 273, 1104, 2042, 6672, 12, 20904, 6672, 1769, 565, 309, 14015, 3729, 29285, 6672, 422, 446, 13, 747, 3639, 16051, 12443, 5582, 17185, 262, 3729, 29285, 6672, 2934, 291, 2042, 1435, 3719, 288, 3639, 368, 12, 5, 3729, 29285, 6672, 18, 588, 3629, 18679, 7675, 24906, 1887, 7675, 14963, 12, 24906, 1887, 1435, 20349, 288, 1377, 3399, 3328, 18, 1636, 12, 24906, 1887, 7675, 10492, 1435, 15, 5397, 2206, 6672, 4820, 3773, 2 ]
public Object getValue(ClassLoader classLoader, Class objectClass, Element propertyElement) throws InvalidPropertyException { try { Element layoutDataElement = DomUtil.getChildElementByTagName(propertyElement, "layout-data"); String type = layoutDataElement.getAttribute("type"); // Load properties from XML. PropertyLoader propertyLoader = PropertyLoader.forClassLoader(classLoader); Element propertiesElement = DomUtil.getChildElementByTagName(layoutDataElement, "properties"); Style propertyStyle = propertyLoader.getProperties(propertiesElement, type); // Instantiate object. Class propertyClass = Class.forName(type, true, classLoader); LayoutData layoutData = (LayoutData) propertyClass.newInstance(); ComponentIntrospector ci = ComponentIntrospector.forName(type, classLoader); //BUGBUG. probably want to move the real work here into something generic in the componentxml package. Iterator it = propertyStyle.getPropertyNames(); while (it.hasNext()) { String propertyName = (String) it.next(); Method writeMethod = ci.getWriteMethod(propertyName); writeMethod.invoke(layoutData, new Object[]{propertyStyle.getProperty(propertyName)}); } return layoutData; } catch (ClassNotFoundException ex) { throw new InvalidPropertyException("Unable to process properties.", ex); } catch (ComponentXmlException ex) { throw new InvalidPropertyException("Unable to process properties.", ex); } catch (InstantiationException ex) { throw new InvalidPropertyException("Unable to process properties.", ex); } catch (IllegalAccessException ex) { throw new InvalidPropertyException("Unable to process properties.", ex); } catch (IllegalArgumentException ex) { throw new InvalidPropertyException("Unable to process properties.", ex); } catch (InvocationTargetException ex) { throw new InvalidPropertyException("Unable to process properties.", ex); } }
45635 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45635/56cddbe97656001c725dd3ad695af03943fa4786/LayoutDataPeer.java/clean/src/app/java/nextapp/echo2/app/componentxml/propertypeer/LayoutDataPeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 2366, 12, 7805, 11138, 16, 1659, 23992, 16, 3010, 1272, 1046, 13, 565, 1216, 1962, 1396, 503, 288, 3639, 775, 288, 5411, 3010, 3511, 751, 1046, 273, 12965, 1304, 18, 588, 1763, 1046, 10401, 12, 4468, 1046, 16, 315, 6741, 17, 892, 8863, 5411, 514, 618, 273, 3511, 751, 1046, 18, 588, 1499, 2932, 723, 8863, 5411, 368, 4444, 1790, 628, 3167, 18, 5411, 4276, 2886, 1272, 2886, 273, 4276, 2886, 18, 1884, 7805, 12, 1106, 2886, 1769, 5411, 3010, 1790, 1046, 273, 12965, 1304, 18, 588, 1763, 1046, 10401, 12, 6741, 751, 1046, 16, 315, 4738, 8863, 5411, 9767, 1272, 2885, 273, 1272, 2886, 18, 588, 2297, 12, 4738, 1046, 16, 618, 1769, 13491, 368, 26492, 733, 18, 5411, 1659, 1272, 797, 273, 1659, 18, 1884, 461, 12, 723, 16, 638, 16, 11138, 1769, 5411, 9995, 751, 3511, 751, 273, 261, 3744, 751, 13, 1272, 797, 18, 2704, 1442, 5621, 13491, 5435, 1702, 26170, 280, 9039, 273, 5435, 1702, 26170, 280, 18, 1884, 461, 12, 723, 16, 11138, 1769, 5411, 368, 4827, 4827, 18, 8656, 2545, 358, 3635, 326, 2863, 1440, 2674, 1368, 5943, 5210, 316, 326, 1794, 2902, 2181, 18, 5411, 4498, 518, 273, 1272, 2885, 18, 588, 29932, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 514, 5470, 273, 261, 780, 13, 518, 18, 4285, 5621, 7734, 2985, 1045, 1305, 273, 9039, 18, 588, 3067, 1305, 12, 4468, 461, 1769, 7734, 1045, 1305, 18, 14407, 12, 6741, 751, 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, 1033, 2366, 12, 7805, 11138, 16, 1659, 23992, 16, 3010, 1272, 1046, 13, 565, 1216, 1962, 1396, 503, 288, 3639, 775, 288, 5411, 3010, 3511, 751, 1046, 273, 12965, 1304, 18, 588, 1763, 1046, 10401, 12, 4468, 1046, 16, 315, 6741, 17, 892, 8863, 5411, 514, 618, 273, 3511, 751, 1046, 18, 588, 1499, 2932, 723, 8863, 5411, 368, 4444, 1790, 628, 3167, 18, 5411, 4276, 2886, 1272, 2886, 273, 4276, 2886, 18, 1884, 7805, 12, 1106, 2886, 1769, 5411, 3010, 1790, 1046, 273, 12965, 1304, 18, 588, 1763, 1046, 10401, 12, 6741, 751, 1046, 16, 315, 4738, 8863, 5411, 9767, 1272, 2885, 273, 1272, 2886, 18, 588, 2297, 12, 4738, 1046, 16, 618, 1769, 13491, 368, 2 ]
if (answer.equalsIgnoreCase("y") || answer.equalsIgnoreCase("yes")) { answer = "true"; } setting.setSetting(answer); } else { setting.setSetting(answer);
gotAnswer = true; } catch (IOException exception) { System.out.println("Cannot read from STDIN. Skipping question."); } catch (NumberFormatException exception) { System.out.println("Answer is not a number."); } catch (CDKException exception) { System.out.println(); System.out.println(exception.toString());
private void processIOSetting(IOSetting setting) { // post the question if (setting.getLevel() < this.level) { System.out.print(setting.getQuestion()); if (setting instanceof BooleanIOSetting) { BooleanIOSetting boolSet = (BooleanIOSetting)setting; boolean set = boolSet.isSet(); if (set) { System.out.print(" [Yn]"); } else { System.out.print(" [yN]"); } } else if (setting instanceof StringIOSetting) { System.out.print(" [" + setting.getSetting() + "]"); } else if (setting instanceof OptionIOSetting) { OptionIOSetting optionSet = (OptionIOSetting)setting; Vector settings = optionSet.getOptions(); for (int i=0; i<settings.size(); i++) { System.out.println(); System.out.print((i+1) + ". " + settings.elementAt(i)); } } System.out.println(); } // get the answer boolean gotAnswer = false; BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); while (!gotAnswer) { try { System.out.print("> "); String answer = input.readLine(); if (answer.length() == 0) { // pressed ENTER -> take default } else if (setting instanceof OptionIOSetting) { ((OptionIOSetting)setting).setSetting(Integer.parseInt(answer)); } else if (setting instanceof BooleanIOSetting) { if (answer.equalsIgnoreCase("n") || answer.equalsIgnoreCase("no")) { answer = "false"; } if (answer.equalsIgnoreCase("y") || answer.equalsIgnoreCase("yes")) { answer = "true"; } setting.setSetting(answer); } else { setting.setSetting(answer); } gotAnswer = true; } catch (IOException exception) { System.out.println("Cannot read from STDIN. Skipping question."); } catch (NumberFormatException exception) { System.out.println("Answer is not a number."); } catch (CDKException exception) { System.out.println(); System.out.println(exception.toString()); } } };
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/b5a0f0c6928f6f4782ce977ee494dee986cefa40/TextGUIListener.java/clean/src/org/openscience/cdk/io/listener/TextGUIListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 4294, 5568, 12, 4294, 5568, 3637, 13, 288, 3639, 368, 1603, 326, 5073, 3639, 309, 261, 8920, 18, 588, 2355, 1435, 411, 333, 18, 2815, 13, 288, 5411, 2332, 18, 659, 18, 1188, 12, 8920, 18, 588, 11665, 10663, 5411, 309, 261, 8920, 1276, 3411, 4294, 5568, 13, 288, 7734, 3411, 4294, 5568, 1426, 694, 273, 261, 5507, 4294, 5568, 13, 8920, 31, 7734, 1250, 444, 273, 1426, 694, 18, 291, 694, 5621, 7734, 309, 261, 542, 13, 288, 10792, 2332, 18, 659, 18, 1188, 2932, 306, 61, 82, 4279, 1769, 7734, 289, 469, 288, 10792, 2332, 18, 659, 18, 1188, 2932, 306, 93, 50, 4279, 1769, 7734, 289, 5411, 289, 469, 309, 261, 8920, 1276, 15777, 5568, 13, 288, 7734, 2332, 18, 659, 18, 1188, 2932, 8247, 397, 3637, 18, 588, 5568, 1435, 397, 9870, 1769, 5411, 289, 469, 309, 261, 8920, 1276, 2698, 4294, 5568, 13, 288, 7734, 2698, 4294, 5568, 1456, 694, 273, 261, 1895, 4294, 5568, 13, 8920, 31, 7734, 5589, 1947, 273, 1456, 694, 18, 588, 1320, 5621, 7734, 364, 261, 474, 277, 33, 20, 31, 277, 32, 4272, 18, 1467, 5621, 277, 27245, 288, 10792, 2332, 18, 659, 18, 8222, 5621, 10792, 2332, 18, 659, 18, 1188, 12443, 77, 15, 21, 13, 397, 3552, 315, 397, 1947, 18, 2956, 861, 12, 77, 10019, 7734, 289, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 5621, 3639, 289, 7734, 368, 336, 326, 5803, 3639, 1250, 2363, 13203, 273, 629, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 4294, 5568, 12, 4294, 5568, 3637, 13, 288, 3639, 368, 1603, 326, 5073, 3639, 309, 261, 8920, 18, 588, 2355, 1435, 411, 333, 18, 2815, 13, 288, 5411, 2332, 18, 659, 18, 1188, 12, 8920, 18, 588, 11665, 10663, 5411, 309, 261, 8920, 1276, 3411, 4294, 5568, 13, 288, 7734, 3411, 4294, 5568, 1426, 694, 273, 261, 5507, 4294, 5568, 13, 8920, 31, 7734, 1250, 444, 273, 1426, 694, 18, 291, 694, 5621, 7734, 309, 261, 542, 13, 288, 10792, 2332, 18, 659, 18, 1188, 2932, 306, 61, 82, 4279, 1769, 7734, 289, 469, 288, 10792, 2332, 18, 659, 18, 1188, 2932, 306, 93, 50, 4279, 1769, 7734, 289, 5411, 289, 469, 309, 261, 8920, 2 ]
e = ((SAXException)e).getException();
Exception nested = ((SAXException)e).getException(); if (nested != null) { e = nested; }
public static void main(String argv[]) { // is there anything to do? if (argv.length == 0) { printUsage(); System.exit(1); } // variables Writer writer = null; ParserWrapper parser = null; boolean namespaces = DEFAULT_NAMESPACES; boolean validation = DEFAULT_VALIDATION; boolean schemaValidation = DEFAULT_SCHEMA_VALIDATION; boolean schemaFullChecking = DEFAULT_SCHEMA_FULL_CHECKING; boolean canonical = DEFAULT_CANONICAL; // process arguments for (int i = 0; i < argv.length; i++) { String arg = argv[i]; if (arg.startsWith("-")) { String option = arg.substring(1); if (option.equals("p")) { // get parser name if (++i == argv.length) { System.err.println("error: Missing argument to -p option."); } String parserName = argv[i]; // create parser try { parser = (ParserWrapper)Class.forName(parserName).newInstance(); } catch (Exception e) { parser = null; System.err.println("error: Unable to instantiate parser ("+parserName+")"); } continue; } if (option.equalsIgnoreCase("n")) { namespaces = option.equals("n"); continue; } if (option.equalsIgnoreCase("v")) { validation = option.equals("v"); continue; } if (option.equalsIgnoreCase("s")) { schemaValidation = option.equals("s"); continue; } if (option.equalsIgnoreCase("f")) { schemaFullChecking = option.equals("f"); continue; } if (option.equalsIgnoreCase("c")) { canonical = option.equals("c"); continue; } if (option.equals("h")) { printUsage(); continue; } } // use default parser? if (parser == null) { // create parser try { parser = (ParserWrapper)Class.forName(DEFAULT_PARSER_NAME).newInstance(); } catch (Exception e) { System.err.println("error: Unable to instantiate parser ("+DEFAULT_PARSER_NAME+")"); continue; } } // set parser features try { parser.setFeature(NAMESPACES_FEATURE_ID, namespaces); } catch (SAXException e) { System.err.println("warning: Parser does not support feature ("+NAMESPACES_FEATURE_ID+")"); } try { parser.setFeature(VALIDATION_FEATURE_ID, validation); } catch (SAXException e) { System.err.println("warning: Parser does not support feature ("+VALIDATION_FEATURE_ID+")"); } try { parser.setFeature(SCHEMA_VALIDATION_FEATURE_ID, schemaValidation); } catch (SAXException e) { System.err.println("warning: Parser does not support feature ("+SCHEMA_VALIDATION_FEATURE_ID+")"); } try { parser.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, schemaFullChecking); } catch (SAXException e) { System.err.println("warning: Parser does not support feature ("+SCHEMA_FULL_CHECKING_FEATURE_ID+")"); } // setup writer if (writer == null) { writer = new Writer(); try { writer.setOutput(System.out, "UTF8"); } catch (UnsupportedEncodingException e) { System.err.println("error: Unable to set output. Exiting."); System.exit(1); } } // parse file writer.setCanonical(canonical); try { Document document = parser.parse(arg); writer.write(document); } catch (SAXParseException e) { // ignore } catch (Exception e) { System.err.println("error: Parse error occurred - "+e.getMessage()); if (e instanceof SAXException) { e = ((SAXException)e).getException(); } e.printStackTrace(System.err); } } } // main(String[])
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/5c2a81050d9a8de84ccde0f9e2d5ffe079841245/Writer.java/clean/samples/dom/Writer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 5261, 63, 5717, 288, 3639, 368, 353, 1915, 6967, 358, 741, 35, 3639, 309, 261, 19485, 18, 2469, 422, 374, 13, 288, 5411, 1172, 5357, 5621, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 368, 3152, 3639, 5497, 2633, 273, 446, 31, 3639, 6783, 3611, 2082, 273, 446, 31, 3639, 1250, 7728, 273, 3331, 67, 11368, 55, 31, 3639, 1250, 3379, 273, 3331, 67, 5063, 2689, 31, 3639, 1250, 1963, 4354, 273, 3331, 67, 14233, 67, 5063, 2689, 31, 3639, 1250, 1963, 5080, 14294, 273, 3331, 67, 14233, 67, 18111, 67, 10687, 1360, 31, 3639, 1250, 7378, 273, 3331, 67, 39, 1258, 673, 10109, 31, 3639, 368, 1207, 1775, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5261, 18, 2469, 31, 277, 27245, 288, 5411, 514, 1501, 273, 5261, 63, 77, 15533, 5411, 309, 261, 3175, 18, 17514, 1190, 2932, 10951, 3719, 288, 7734, 514, 1456, 273, 1501, 18, 28023, 12, 21, 1769, 7734, 309, 261, 3482, 18, 14963, 2932, 84, 6, 3719, 288, 10792, 368, 336, 2082, 508, 10792, 309, 261, 9904, 77, 422, 5261, 18, 2469, 13, 288, 13491, 2332, 18, 370, 18, 8222, 2932, 1636, 30, 10230, 1237, 358, 300, 84, 1456, 1199, 1769, 10792, 289, 10792, 514, 2082, 461, 273, 5261, 63, 77, 15533, 10792, 368, 752, 2082, 10792, 775, 288, 13491, 2082, 273, 261, 2678, 3611, 13, 797, 18, 1884, 461, 12, 4288, 461, 2934, 2704, 1442, 5621, 10792, 289, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 5261, 63, 5717, 288, 3639, 368, 353, 1915, 6967, 358, 741, 35, 3639, 309, 261, 19485, 18, 2469, 422, 374, 13, 288, 5411, 1172, 5357, 5621, 5411, 2332, 18, 8593, 12, 21, 1769, 3639, 289, 3639, 368, 3152, 3639, 5497, 2633, 273, 446, 31, 3639, 6783, 3611, 2082, 273, 446, 31, 3639, 1250, 7728, 273, 3331, 67, 11368, 55, 31, 3639, 1250, 3379, 273, 3331, 67, 5063, 2689, 31, 3639, 1250, 1963, 4354, 273, 3331, 67, 14233, 67, 5063, 2689, 31, 3639, 1250, 1963, 5080, 14294, 273, 3331, 67, 14233, 67, 18111, 67, 10687, 1360, 31, 3639, 1250, 7378, 273, 3331, 67, 39, 1258, 673, 10109, 31, 3639, 368, 1207, 1775, 3639, 2 ]
computeTransform();
EventQueue.invokeLater (new RootNodeChangedRunnable(root, bridgeContext)); } }; t.setPriority(Thread.MIN_PRIORITY); t.start(); }
public void setSVGDocument(final SVGDocument doc) { new Thread() { public void run() { setPriority(Thread.MIN_PRIORITY); if (document != null) { // fire the unload event Event evt = document.createEvent("SVGEvents"); evt.initEvent("SVGUnload", false, false); ((EventTarget)(document. getRootElement())). dispatchEvent(evt); } document = doc; if (document == null) { gvtRoot = null; } else { bridgeContext = createBridgeContext(doc); bridgeContext.setViewCSS((ViewCSS)doc.getDocumentElement()); bridgeContext.setGVTBuilder(builder); long t1 = System.currentTimeMillis(); gvtRoot = builder.build(bridgeContext, document); long t2 = System.currentTimeMillis(); System.out.println("---- GVT tree construction ---- " + (t2 - t1) + " ms"); computeTransform(); // <!> HACK maybe not the right place to dispatch // this event // fire the load event Event evt = document.createEvent("SVGEvents"); evt.initEvent("SVGLoad", false, false); ((EventTarget)(document. getRootElement())). dispatchEvent(evt); ((EventTarget)doc).addEventListener("DOMAttrModified", new MutationListener(), false); } if (userAgent.getEventDispatcher() != null) { userAgent.getEventDispatcher().setRootNode(gvtRoot); } rotateAngle = 0; rotateCos = 1; if (zoomHandler != null) { zoomHandler.zoomChanged(1); } repaint = true; repaint(); if (thumbnailCanvas != null) { thumbnailCanvas.fullRepaint(); } } }.start(); }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/48fcb7144ee3cdcab6e501b463b38251f0f23436/JSVGCanvas.java/buggy/sources/org/apache/batik/refimpl/util/JSVGCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13928, 9266, 2519, 12, 6385, 11281, 2519, 997, 13, 288, 3639, 394, 4884, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 444, 8183, 12, 3830, 18, 6236, 67, 19804, 1769, 7734, 309, 261, 5457, 480, 446, 13, 288, 10792, 368, 4452, 326, 27060, 871, 10792, 2587, 6324, 273, 1668, 18, 2640, 1133, 2932, 26531, 3783, 8863, 10792, 6324, 18, 2738, 1133, 2932, 26531, 984, 945, 3113, 629, 16, 629, 1769, 10792, 14015, 1133, 2326, 21433, 5457, 18, 4766, 282, 7656, 1046, 10756, 2934, 13491, 15678, 12, 73, 11734, 1769, 7734, 289, 7734, 1668, 273, 997, 31, 7734, 309, 261, 5457, 422, 446, 13, 288, 10792, 11404, 88, 2375, 273, 446, 31, 7734, 289, 469, 288, 10792, 10105, 1042, 273, 752, 13691, 1042, 12, 2434, 1769, 10792, 10105, 1042, 18, 542, 1767, 10276, 12443, 1767, 10276, 13, 2434, 18, 588, 2519, 1046, 10663, 10792, 10105, 1042, 18, 542, 25269, 56, 1263, 12, 9574, 1769, 10792, 1525, 268, 21, 273, 2332, 18, 2972, 28512, 5621, 10792, 11404, 88, 2375, 273, 2089, 18, 3510, 12, 18337, 1042, 16, 1668, 1769, 10792, 1525, 268, 22, 273, 2332, 18, 2972, 28512, 5621, 10792, 2332, 18, 659, 18, 8222, 2932, 553, 611, 58, 56, 2151, 16171, 27927, 315, 397, 4766, 4202, 261, 88, 22, 300, 268, 21, 13, 397, 315, 4086, 8863, 10792, 2587, 3183, 18, 14407, 20607, 261, 2704, 7450, 907, 5033, 20013, 12, 3085, 16, 10105, 1042, 10019, 289, 289, 31, 268, 18, 542, 8183, 12, 3830, 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, 13928, 9266, 2519, 12, 6385, 11281, 2519, 997, 13, 288, 3639, 394, 4884, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 444, 8183, 12, 3830, 18, 6236, 67, 19804, 1769, 7734, 309, 261, 5457, 480, 446, 13, 288, 10792, 368, 4452, 326, 27060, 871, 10792, 2587, 6324, 273, 1668, 18, 2640, 1133, 2932, 26531, 3783, 8863, 10792, 6324, 18, 2738, 1133, 2932, 26531, 984, 945, 3113, 629, 16, 629, 1769, 10792, 14015, 1133, 2326, 21433, 5457, 18, 4766, 282, 7656, 1046, 10756, 2934, 13491, 15678, 12, 73, 11734, 1769, 7734, 289, 7734, 1668, 273, 997, 31, 7734, 309, 261, 5457, 422, 446, 13, 288, 10792, 11404, 88, 2375, 273, 446, 31, 7734, 289, 469, 288, 2 ]
if(keyType.equals("SSK") && extra.length != ClientSSK.EXTRA_LENGTH)
if(keyType.equals("SSK") && (extra.length != ClientSSK.EXTRA_LENGTH))
private void writeFullBinaryKey(DataOutputStream dos) throws IOException { if(keyType.equals("CHK")) { dos.writeByte(CHK); } else if(keyType.equals("SSK")) { dos.writeByte(SSK); } else if(keyType.equals("KSK")) { dos.writeByte(KSK); } else if(keyType.equals("USK")) { throw new MalformedURLException("Cannot write USKs as binary keys"); } else throw new MalformedURLException("Cannot write key of type "+keyType+" - do not know how"); if(!keyType.equals("KSK")) { if(routingKey.length != 32) throw new MalformedURLException("Routing key must be of length 32"); dos.write(routingKey); if(cryptoKey.length != 32) throw new MalformedURLException("Crypto key must be of length 32"); dos.write(cryptoKey); if(keyType.equals("CHK") && extra.length != ClientCHK.EXTRA_LENGTH) throw new MalformedURLException("Wrong number of extra bytes for CHK"); if(keyType.equals("SSK") && extra.length != ClientSSK.EXTRA_LENGTH) throw new MalformedURLException("Wrong number of extra bytes for SSK"); dos.write(extra); } if(!keyType.equals("CHK")) dos.writeUTF(docName); if(metaStr != null) { dos.writeInt(metaStr.length); for(int i=0;i<metaStr.length;i++) dos.writeUTF(metaStr[i]); } else dos.writeInt(0); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/FreenetURI.java/buggy/src/freenet/keys/FreenetURI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1045, 5080, 5905, 653, 12, 751, 4632, 16153, 13, 1216, 1860, 288, 202, 202, 430, 12, 856, 559, 18, 14963, 2932, 1792, 47, 6, 3719, 288, 1082, 202, 19219, 18, 2626, 3216, 12, 1792, 47, 1769, 202, 202, 97, 469, 309, 12, 856, 559, 18, 14963, 2932, 1260, 47, 6, 3719, 288, 1082, 202, 19219, 18, 2626, 3216, 12, 1260, 47, 1769, 202, 202, 97, 469, 309, 12, 856, 559, 18, 14963, 2932, 47, 11129, 6, 3719, 288, 1082, 202, 19219, 18, 2626, 3216, 12, 47, 11129, 1769, 202, 202, 97, 469, 309, 12, 856, 559, 18, 14963, 2932, 3378, 47, 6, 3719, 288, 1082, 202, 12849, 394, 20710, 2932, 4515, 1045, 587, 11129, 87, 487, 3112, 1311, 8863, 202, 202, 97, 469, 1082, 202, 12849, 394, 20710, 2932, 4515, 1045, 498, 434, 618, 13773, 856, 559, 9078, 300, 741, 486, 5055, 3661, 8863, 202, 202, 430, 12, 5, 856, 559, 18, 14963, 2932, 47, 11129, 6, 3719, 288, 1082, 202, 430, 12, 16529, 653, 18, 2469, 480, 3847, 13, 9506, 202, 12849, 394, 20710, 2932, 13966, 498, 1297, 506, 434, 769, 3847, 8863, 1082, 202, 19219, 18, 2626, 12, 16529, 653, 1769, 1082, 202, 430, 12, 18489, 653, 18, 2469, 480, 3847, 13, 9506, 202, 12849, 394, 20710, 2932, 18048, 498, 1297, 506, 434, 769, 3847, 8863, 1082, 202, 19219, 18, 2626, 12, 18489, 653, 1769, 1082, 202, 430, 12, 856, 559, 18, 14963, 2932, 1792, 47, 7923, 597, 2870, 18, 2469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1045, 5080, 5905, 653, 12, 751, 4632, 16153, 13, 1216, 1860, 288, 202, 202, 430, 12, 856, 559, 18, 14963, 2932, 1792, 47, 6, 3719, 288, 1082, 202, 19219, 18, 2626, 3216, 12, 1792, 47, 1769, 202, 202, 97, 469, 309, 12, 856, 559, 18, 14963, 2932, 1260, 47, 6, 3719, 288, 1082, 202, 19219, 18, 2626, 3216, 12, 1260, 47, 1769, 202, 202, 97, 469, 309, 12, 856, 559, 18, 14963, 2932, 47, 11129, 6, 3719, 288, 1082, 202, 19219, 18, 2626, 3216, 12, 47, 11129, 1769, 202, 202, 97, 469, 309, 12, 856, 559, 18, 14963, 2932, 3378, 47, 6, 3719, 288, 1082, 202, 12849, 394, 20710, 2932, 4515, 1045, 587, 11129, 87, 2 ]
return (int) (p * (0.299 * ((0xff0000 & rgb) >> 16) + 0.587 * ((0xff00 & rgb) >> 8) + 0.114 * (0xff & rgb)));
int alpha = 0xff000000 & rgb; int red = (0xff0000 & rgb) >> 16; int green = (0xff00 & rgb) >> 8; int blue = (0xff & rgb); int gray = (int) ((0.299 * red + 0.587 * green + 0.114 * blue) * p); if (b) gray = Math.min(gray + 128, 255); return gray | gray << 8 | gray << 16 | alpha ;
public int filterRGB(int x, int y, int rgb) { return (int) (p * (0.299 * ((0xff0000 & rgb) >> 16) + 0.587 * ((0xff00 & rgb) >> 8) + 0.114 * (0xff & rgb))); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/GrayFilter.java/clean/core/src/classpath/javax/javax/swing/GrayFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 1034, 11343, 12, 474, 619, 16, 509, 677, 16, 509, 6917, 13, 565, 288, 565, 327, 261, 474, 13, 261, 84, 380, 261, 20, 18, 22, 2733, 380, 14015, 20, 5297, 2787, 473, 6917, 13, 1671, 2872, 13, 1082, 4202, 397, 374, 18, 8204, 27, 380, 14015, 20, 5297, 713, 473, 6917, 13, 1671, 1725, 13, 397, 374, 18, 22214, 380, 261, 20, 5297, 473, 6917, 3719, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 509, 1034, 11343, 12, 474, 619, 16, 509, 677, 16, 509, 6917, 13, 565, 288, 565, 327, 261, 474, 13, 261, 84, 380, 261, 20, 18, 22, 2733, 380, 14015, 20, 5297, 2787, 473, 6917, 13, 1671, 2872, 13, 1082, 4202, 397, 374, 18, 8204, 27, 380, 14015, 20, 5297, 713, 473, 6917, 13, 1671, 1725, 13, 397, 374, 18, 22214, 380, 261, 20, 5297, 473, 6917, 3719, 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 ]
Default.setUCD();
public static void verify() throws IOException { Default.setUCD(); checkIdentical("ea=h", "dt=nar"); checkIdentical("ea=f", "dt=wide"); checkIdentical("gc=ps", "lb=op"); checkIdentical("lb=sg", "gc=cs");/*For LB we now have:GC:Ps == LB:OPGC:Nd && !(EA:F)Try these on for size, and report any discrepancies>GC:L& && EA:W -> LB:ID>GC:L& && EA:A -> LB:AI>GC:L& && EA:N -> LB:AL>GC:L& && EA:Na -> LB:ALplus>LB:ID contains Ideo:TAlso, try these rulesGC:S# && EA:W -> LB:IDGC:S# && EA:A -> LB:AIGC:S# && EA:N -> LB:ALGC:S# && EA:Na -> LB:ALwhere S# is Sm | Sk | Sothese will generate exceptions, but I need to see the list to them before Ican help you narrow these down.>The trivial ones that I could glean from reading the TR are>LB:SG == GC:Cs>GC:Pi -> LB:QU>GC:Pf -> LB:QU>GC:Mc -> LB:CM>GC:Me -> LB:CM>GC:Mn -> LB:CM>GC:Pe -> LB:CL*/ }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/d1ef79fafdbbeaaf4dcbaa9d3c534754c217d955/VerifyUCD.java/clean/tools/unicodetools/com/ibm/text/UCD/VerifyUCD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 3929, 1435, 1216, 1860, 288, 13491, 866, 6106, 1706, 2932, 24852, 33, 76, 3113, 315, 7510, 33, 82, 297, 8863, 3639, 866, 6106, 1706, 2932, 24852, 33, 74, 3113, 315, 7510, 33, 26767, 8863, 3639, 866, 6106, 1706, 2932, 13241, 33, 1121, 3113, 315, 20404, 33, 556, 8863, 3639, 866, 6106, 1706, 2932, 20404, 33, 1055, 3113, 315, 13241, 33, 2143, 8863, 20308, 1290, 511, 38, 732, 2037, 1240, 30, 15396, 30, 18124, 422, 511, 38, 30, 3665, 15396, 30, 50, 72, 597, 401, 12, 41, 37, 30, 42, 13, 7833, 4259, 603, 364, 963, 16, 471, 2605, 1281, 1015, 1793, 7355, 13689, 34, 15396, 30, 48, 10, 597, 512, 37, 30, 59, 317, 511, 38, 30, 734, 34, 15396, 30, 48, 10, 597, 512, 37, 30, 37, 317, 511, 38, 30, 18194, 34, 15396, 30, 48, 10, 597, 512, 37, 30, 50, 317, 511, 38, 30, 1013, 34, 15396, 30, 48, 10, 597, 512, 37, 30, 24101, 317, 511, 38, 30, 1013, 10103, 34, 12995, 30, 734, 1914, 23062, 83, 30, 56, 1067, 2048, 16, 775, 4259, 2931, 15396, 30, 55, 7, 597, 512, 37, 30, 59, 317, 511, 38, 30, 734, 15396, 30, 55, 7, 597, 512, 37, 30, 37, 317, 511, 38, 30, 37, 3047, 39, 30, 55, 7, 597, 512, 37, 30, 50, 317, 511, 38, 30, 1013, 15396, 30, 55, 7, 597, 512, 37, 30, 24101, 317, 511, 38, 30, 1013, 6051, 348, 7, 353, 9425, 571, 10362, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 3929, 1435, 1216, 1860, 288, 13491, 866, 6106, 1706, 2932, 24852, 33, 76, 3113, 315, 7510, 33, 82, 297, 8863, 3639, 866, 6106, 1706, 2932, 24852, 33, 74, 3113, 315, 7510, 33, 26767, 8863, 3639, 866, 6106, 1706, 2932, 13241, 33, 1121, 3113, 315, 20404, 33, 556, 8863, 3639, 866, 6106, 1706, 2932, 20404, 33, 1055, 3113, 315, 13241, 33, 2143, 8863, 20308, 1290, 511, 38, 732, 2037, 1240, 30, 15396, 30, 18124, 422, 511, 38, 30, 3665, 15396, 30, 50, 72, 597, 401, 12, 41, 37, 30, 42, 13, 7833, 4259, 603, 364, 963, 16, 471, 2605, 1281, 1015, 1793, 7355, 13689, 34, 15396, 30, 48, 10, 597, 512, 37, 30, 59, 317, 511, 2 ]
_compileButton.setEnabled(false);
_compileButton.setEnabled(false);
void compile() { _compileButton.setEnabled(false); String filename = _definitionsView.getCurrentFileName(); if (filename.length() == 0) { // the file has never been saved. we can only get here // if the file was never changed and never saved. return; } // Clear the output window before compilation _outputView.clear(); File file = new File(filename); CompilerError[] errors = DrJava.compiler.compile(new File[] { file }); _errorPanel.resetErrors(errors); if (errors.length == 0) { // Success doesn't print anything, so we should print something // to let them know it worked. System.out.println(file.getName() + " compiled successfully."); _resetInteractions(); } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/19f352f86be54a48e35fa3c387c0a98798be1f17/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4074, 1435, 377, 288, 202, 67, 11100, 3616, 18, 542, 1526, 12, 5743, 1769, 1377, 514, 1544, 273, 389, 13314, 1767, 18, 588, 3935, 4771, 5621, 1377, 309, 261, 3459, 18, 2469, 1435, 422, 374, 13, 288, 3639, 368, 326, 585, 711, 5903, 2118, 5198, 18, 732, 848, 1338, 336, 2674, 3639, 368, 309, 326, 585, 1703, 5903, 3550, 471, 5903, 5198, 18, 3639, 327, 31, 1377, 289, 1377, 368, 10121, 326, 876, 2742, 1865, 8916, 1377, 389, 2844, 1767, 18, 8507, 5621, 5411, 1387, 585, 273, 394, 1387, 12, 3459, 1769, 1377, 12972, 668, 8526, 1334, 273, 11473, 5852, 18, 9576, 18, 11100, 12, 2704, 1387, 8526, 288, 585, 15549, 1377, 389, 1636, 5537, 18, 6208, 4229, 12, 4324, 1769, 1377, 309, 261, 4324, 18, 2469, 422, 374, 13, 288, 3639, 368, 11958, 3302, 1404, 1172, 6967, 16, 1427, 732, 1410, 1172, 5943, 3639, 368, 358, 2231, 2182, 5055, 518, 28613, 18, 3639, 2332, 18, 659, 18, 8222, 12, 768, 18, 17994, 1435, 397, 315, 7743, 4985, 1199, 1769, 3639, 389, 6208, 2465, 4905, 5621, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4074, 1435, 377, 288, 202, 67, 11100, 3616, 18, 542, 1526, 12, 5743, 1769, 1377, 514, 1544, 273, 389, 13314, 1767, 18, 588, 3935, 4771, 5621, 1377, 309, 261, 3459, 18, 2469, 1435, 422, 374, 13, 288, 3639, 368, 326, 585, 711, 5903, 2118, 5198, 18, 732, 848, 1338, 336, 2674, 3639, 368, 309, 326, 585, 1703, 5903, 3550, 471, 5903, 5198, 18, 3639, 327, 31, 1377, 289, 1377, 368, 10121, 326, 876, 2742, 1865, 8916, 1377, 389, 2844, 1767, 18, 8507, 5621, 5411, 1387, 585, 273, 394, 1387, 12, 3459, 1769, 1377, 12972, 668, 8526, 1334, 273, 11473, 5852, 18, 9576, 18, 11100, 12, 2704, 1387, 8526, 288, 585, 15549, 1377, 389, 1636, 5537, 18, 6208, 2 ]
if (mee == null || mee.getName().equals("base") && mee.getSource() == getOwner()) {
if (mee == null || mee.getName().equals("base") && mee.getSource() == getOwner()) {
protected void modelChanged(MElementEvent mee) { // base should get it's own figtext and it's own update method // TODO: remove the mee == null as soon as everything is migrated if (mee == null || mee.getName().equals("base") && mee.getSource() == getOwner()) { updateNameText(); } else super.modelChanged(mee); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/23464f9cbc3169e9d2f1919998cae2c59b514985/FigClassifierRole.java/buggy/src_new/org/argouml/uml/diagram/collaboration/ui/FigClassifierRole.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 938, 5033, 12, 12310, 1133, 312, 1340, 13, 288, 3639, 368, 1026, 1410, 336, 518, 1807, 4953, 4291, 955, 471, 518, 1807, 4953, 1089, 707, 3639, 368, 2660, 30, 1206, 326, 312, 1340, 422, 446, 487, 17136, 487, 7756, 353, 24741, 3639, 309, 261, 81, 1340, 422, 446, 747, 312, 1340, 18, 17994, 7675, 14963, 2932, 1969, 7923, 597, 312, 1340, 18, 588, 1830, 1435, 422, 13782, 10756, 288, 2398, 1089, 461, 1528, 5621, 3639, 289, 469, 5411, 2240, 18, 2284, 5033, 12, 81, 1340, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 938, 5033, 12, 12310, 1133, 312, 1340, 13, 288, 3639, 368, 1026, 1410, 336, 518, 1807, 4953, 4291, 955, 471, 518, 1807, 4953, 1089, 707, 3639, 368, 2660, 30, 1206, 326, 312, 1340, 422, 446, 487, 17136, 487, 7756, 353, 24741, 3639, 309, 261, 81, 1340, 422, 446, 747, 312, 1340, 18, 17994, 7675, 14963, 2932, 1969, 7923, 597, 312, 1340, 18, 588, 1830, 1435, 422, 13782, 10756, 288, 2398, 1089, 461, 1528, 5621, 3639, 289, 469, 5411, 2240, 18, 2284, 5033, 12, 81, 1340, 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 ]
cacheMap.remove( dsAndDs );
synchronized void clearCache( DataSourceAndDataSet dsAndDs ) { Object cacheDir = cacheMap.get( dsAndDs ); if ( cacheDir != null ) { cacheMap.remove( dsAndDs ); folderUtil.deleteDir( (String) cacheDir ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/29417d2bf721760fe586e6e6083f71cbc951a623/CacheMapManager.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/CacheMapManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 22043, 918, 19346, 12, 12806, 1876, 13676, 3780, 1876, 22831, 262, 202, 95, 202, 202, 921, 19946, 273, 1247, 863, 18, 588, 12, 3780, 1876, 22831, 11272, 202, 202, 430, 261, 19946, 480, 446, 262, 202, 202, 95, 1082, 202, 2493, 863, 18, 4479, 12, 3780, 1876, 22831, 11272, 1082, 202, 5609, 1304, 18, 3733, 1621, 12, 261, 780, 13, 19946, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 22043, 918, 19346, 12, 12806, 1876, 13676, 3780, 1876, 22831, 262, 202, 95, 202, 202, 921, 19946, 273, 1247, 863, 18, 588, 12, 3780, 1876, 22831, 11272, 202, 202, 430, 261, 19946, 480, 446, 262, 202, 202, 95, 1082, 202, 2493, 863, 18, 4479, 12, 3780, 1876, 22831, 11272, 1082, 202, 5609, 1304, 18, 3733, 1621, 12, 261, 780, 13, 19946, 11272, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final Comparable comp = (Comparable) context.declaration.getExtractor().getValue( left );
final Comparable comp = (Comparable) context.getVariableDeclaration().getExtractor().getValue( left );
public boolean evaluateCachedRight(final VariableContextEntry context, final Object left) { final Comparable comp = (Comparable) context.declaration.getExtractor().getValue( left ); return comp.compareTo( ((ObjectVariableContextEntry) context).right ) >= 0; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/b6d27b51773c616f04e39b7d6c5e3cd95aeab255/ObjectFactory.java/clean/drools-core/src/main/java/org/drools/base/evaluators/ObjectFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 5956, 9839, 4726, 12, 6385, 7110, 1042, 1622, 819, 16, 4766, 6647, 727, 1033, 2002, 13, 288, 5411, 727, 13633, 1161, 273, 261, 799, 10207, 13, 819, 18, 588, 26547, 7675, 588, 10958, 7675, 24805, 12, 2002, 11272, 5411, 327, 1161, 18, 9877, 774, 12, 14015, 921, 3092, 1042, 1622, 13, 819, 2934, 4083, 262, 1545, 374, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 5956, 9839, 4726, 12, 6385, 7110, 1042, 1622, 819, 16, 4766, 6647, 727, 1033, 2002, 13, 288, 5411, 727, 13633, 1161, 273, 261, 799, 10207, 13, 819, 18, 588, 26547, 7675, 588, 10958, 7675, 24805, 12, 2002, 11272, 5411, 327, 1161, 18, 9877, 774, 12, 14015, 921, 3092, 1042, 1622, 13, 819, 2934, 4083, 262, 1545, 374, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Language getLanguage();
@NotNull Language getLanguage();
Language getLanguage();
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/b0928dfe3b72abd7f6798ef2e683a7ee875764af/PsiElement.java/clean/openapi/src/com/intellij/psi/PsiElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 9889, 12898, 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, 0, 0, 0, 0 ]
[ 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, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 9889, 12898, 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, -100, -100, -100, -100 ]
public void render (RequestEvaluator reval, ESNode thisNode) {
public void render (RequestEvaluator reval, ESNode thisNode, ESObject paramObject) {
public void render (RequestEvaluator reval, ESNode thisNode) { if ("response".equalsIgnoreCase (handler)) { renderFromResponse (reval); return; } try { ESObject handlerObject = null; ESValue[] arguments = new ESValue[1]; ESRequestData par = new ESRequestData (reval); par.setData (parameters); arguments[0] = par; if (handler != null) { // not a global macro - need to find handler object if (thisNode != null) { // was called with this object - check it or its parents for matching prototype if (!handler.equalsIgnoreCase ("this") && !handler.equalsIgnoreCase (thisNode.getPrototypeName ())) { // the handler object is not what we want INode n = thisNode.getNode(); // walk down parent chain to find handler object while (n != null) { if (handler.equalsIgnoreCase (n.getPrototype())) { handlerObject = reval.getNodeWrapper (n); break; } n = n.getParent (); } } else { // we already have the right handler object handlerObject = thisNode; } } if (handlerObject == null) { // eiter because thisNode == null or the right object wasn't found in the targetNode path // go check request path for an object with matching prototype int l = reval.reqPath.size(); for (int i=l-1; i>=0; i--) { if (handler.equalsIgnoreCase (((ESNode) reval.reqPath.getProperty(i)).getPrototypeName())) { handlerObject = (ESNode) reval.reqPath.getProperty(i); break; } } } } else { // this is a global macro with no handler specified handlerObject = reval.global; } if (handlerObject != null) { ESValue v = handlerObject.doIndirectCall (reval.evaluator, handlerObject, name+"_macro", arguments); if (v != ESUndefined.theUndefined && v != ESNull.theNull) reval.res.write (v); } else { String msg = "[HopMacro unhandled: "+handler+"."+name+"]"; reval.res.write (" "+msg+" "); IServer.getLogger().log (msg); } } catch (Exception x) { String msg = "[HopMacro error: "+x+"]"; reval.res.write (" "+msg+" "); IServer.getLogger().log (msg); } }
3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/0a2cbec8f7ef10c7d5b02de1b5a45c1af7603f85/Skin.java/buggy/src/helma/framework/core/Skin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1743, 261, 691, 15876, 283, 1125, 16, 14054, 907, 333, 907, 13, 288, 202, 565, 309, 7566, 2740, 9654, 14963, 5556, 261, 4176, 3719, 288, 202, 3639, 1743, 1265, 1064, 261, 266, 1125, 1769, 202, 3639, 327, 31, 202, 565, 289, 202, 565, 775, 288, 202, 3639, 14054, 921, 1838, 921, 273, 446, 31, 202, 3639, 14054, 620, 8526, 1775, 273, 394, 14054, 620, 63, 21, 15533, 202, 3639, 14054, 17031, 779, 273, 225, 394, 14054, 17031, 261, 266, 1125, 1769, 202, 3639, 779, 18, 542, 751, 261, 3977, 1769, 202, 3639, 1775, 63, 20, 65, 273, 779, 31, 202, 3639, 309, 261, 4176, 480, 446, 13, 288, 202, 5411, 368, 486, 279, 2552, 11522, 300, 1608, 358, 1104, 1838, 733, 202, 5411, 309, 261, 2211, 907, 480, 446, 13, 288, 202, 7734, 368, 1703, 2566, 598, 333, 733, 300, 866, 518, 578, 2097, 6298, 364, 3607, 4409, 202, 7734, 309, 16051, 4176, 18, 14963, 5556, 7566, 2211, 7923, 597, 401, 4176, 18, 14963, 5556, 261, 2211, 907, 18, 588, 15846, 461, 1832, 3719, 288, 202, 10792, 368, 326, 1838, 733, 353, 486, 4121, 732, 2545, 202, 10792, 21176, 290, 273, 333, 907, 18, 588, 907, 5621, 202, 10792, 368, 5442, 2588, 982, 2687, 358, 1104, 1838, 733, 202, 10792, 1323, 261, 82, 480, 446, 13, 288, 202, 13491, 309, 261, 4176, 18, 14963, 5556, 261, 82, 18, 588, 15846, 1435, 3719, 288, 202, 18701, 1838, 921, 273, 283, 1125, 18, 588, 907, 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, 1743, 261, 691, 15876, 283, 1125, 16, 14054, 907, 333, 907, 13, 288, 202, 565, 309, 7566, 2740, 9654, 14963, 5556, 261, 4176, 3719, 288, 202, 3639, 1743, 1265, 1064, 261, 266, 1125, 1769, 202, 3639, 327, 31, 202, 565, 289, 202, 565, 775, 288, 202, 3639, 14054, 921, 1838, 921, 273, 446, 31, 202, 3639, 14054, 620, 8526, 1775, 273, 394, 14054, 620, 63, 21, 15533, 202, 3639, 14054, 17031, 779, 273, 225, 394, 14054, 17031, 261, 266, 1125, 1769, 202, 3639, 779, 18, 542, 751, 261, 3977, 1769, 202, 3639, 1775, 63, 20, 65, 273, 779, 31, 202, 3639, 309, 261, 4176, 480, 446, 13, 288, 202, 5411, 368, 486, 279, 2552, 11522, 2 ]
return _elseStatement;
return elseStatement;
public JElseStatement getElseStatement() { return _elseStatement; }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9d2c39c906c6955e17daf4ac239b85d4727ddc83/JIfElseIfElseStatement.java/clean/modules/interop/src/java/org/apache/geronimo/interop/generator/JIfElseIfElseStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 804, 12427, 3406, 4774, 80, 307, 3406, 1435, 288, 3639, 327, 469, 3406, 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, 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, 377, 1071, 804, 12427, 3406, 4774, 80, 307, 3406, 1435, 288, 3639, 327, 469, 3406, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (Boolean.valueOf(addtoGradebook).booleanValue())
if (!addtoGradebook.equals("no"))
private void postOrSaveAssignment(RunData data, String postOrSave) { boolean post = (postOrSave != null && postOrSave.equals("post")) ? true : false; // assignment old title String aOldTitle = null; SessionState state = ((JetspeedRunData) data).getPortletSessionState(((JetspeedRunData) data).getJs_peid()); String mode = (String) state.getAttribute(STATE_MODE); if (!mode.equals(MODE_INSTRUCTOR_PREVIEW_ASSIGNMENT)) { // read input data if the mode is not preview mode setNewAssignmentParameters(data, true); } if (state.getAttribute(STATE_MESSAGE) == null) { ParameterParser params = data.getParameters(); // put the names and values into vm file String title = (String) state.getAttribute(NEW_ASSIGNMENT_TITLE); // open time int openMonth = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENMONTH)).intValue(); int openDay = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENDAY)).intValue(); int openYear = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENYEAR)).intValue(); int openHour = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENHOUR)).intValue(); int openMin = ((Integer) state.getAttribute(NEW_ASSIGNMENT_OPENMIN)).intValue(); String openAMPM = (String) state.getAttribute(NEW_ASSIGNMENT_OPENAMPM); if ((openAMPM.equals("PM")) && (openHour != 12)) { openHour = openHour + 12; } if ((openHour == 12) && (openAMPM.equals("AM"))) { openHour = 0; } Time openTime = TimeService.newTimeLocal(openYear, openMonth, openDay, openHour, openMin, 0, 0); // due time int dueMonth = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEMONTH)).intValue(); int dueDay = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEDAY)).intValue(); int dueYear = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEYEAR)).intValue(); int dueHour = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEHOUR)).intValue(); int dueMin = ((Integer) state.getAttribute(NEW_ASSIGNMENT_DUEMIN)).intValue(); String dueAMPM = (String) state.getAttribute(NEW_ASSIGNMENT_DUEAMPM); if ((dueAMPM.equals("PM")) && (dueHour != 12)) { dueHour = dueHour + 12; } if ((dueHour == 12) && (dueAMPM.equals("AM"))) { dueHour = 0; } Time dueTime = TimeService.newTimeLocal(dueYear, dueMonth, dueDay, dueHour, dueMin, 0, 0); // close time Time closeTime = TimeService.newTime(); boolean enableCloseDate = ((Boolean) state.getAttribute(NEW_ASSIGNMENT_ENABLECLOSEDATE)).booleanValue(); if (enableCloseDate) { int closeMonth = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEMONTH)).intValue(); int closeDay = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEDAY)).intValue(); int closeYear = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEYEAR)).intValue(); int closeHour = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEHOUR)).intValue(); int closeMin = ((Integer) state.getAttribute(NEW_ASSIGNMENT_CLOSEMIN)).intValue(); String closeAMPM = (String) state.getAttribute(NEW_ASSIGNMENT_CLOSEAMPM); if ((closeAMPM.equals("PM")) && (closeHour != 12)) { closeHour = closeHour + 12; } if ((closeHour == 12) && (closeAMPM.equals("AM"))) { closeHour = 0; } closeTime = TimeService.newTimeLocal(closeYear, closeMonth, closeDay, closeHour, closeMin, 0, 0); } // sections String s = (String) state.getAttribute(NEW_ASSIGNMENT_SECTION); int submissionType = ((Integer) state.getAttribute(NEW_ASSIGNMENT_SUBMISSION_TYPE)).intValue(); int gradeType = ((Integer) state.getAttribute(NEW_ASSIGNMENT_GRADE_TYPE)).intValue(); String gradePoints = (String) state.getAttribute(NEW_ASSIGNMENT_GRADE_POINTS); String description = (String) state.getAttribute(NEW_ASSIGNMENT_DESCRIPTION); String checkAddDueTime = state.getAttribute(ResourceProperties.NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE)!=null?(String) state.getAttribute(ResourceProperties.NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE):null; String checkAutoAnnounce = (String) state.getAttribute(ResourceProperties.NEW_ASSIGNMENT_CHECK_AUTO_ANNOUNCE); String checkAddHonorPledge = (String) state.getAttribute(NEW_ASSIGNMENT_CHECK_ADD_HONOR_PLEDGE); String addtoGradebook = (String) state.getAttribute(NEW_ASSIGNMENT_ADD_TO_GRADEBOOK); // the attachments List attachments = (List) state.getAttribute(ATTACHMENTS); List attachments1 = EntityManager.newReferenceList(attachments); boolean newAssignment = true; // correct inputs if (state.getAttribute(STATE_MESSAGE) == null) { String assignmentId = params.getString("assignmentId"); String assignmentContentId = params.getString("assignmentContentId"); // AssignmentContent object AssignmentContentEdit ac = null; if (assignmentContentId.length() == 0) { // new assignment // only show alert when dealing with new assignment // allow editing assignment after due date if (dueTime.before(TimeService.newTime())) { addAlert(state, rb.getString("assig4")); } else { try { ac = AssignmentService.addAssignmentContent((String) state.getAttribute(STATE_CONTEXT_STRING)); } catch (PermissionException e) { addAlert(state, rb.getString("youarenot3")); } } } else { try { // edit assignment ac = AssignmentService.editAssignmentContent(assignmentContentId); } catch (InUseException e) { addAlert(state, rb.getString("theassicon")); } catch (IdUnusedException e) { addAlert(state, rb.getString("cannotfin4")); } catch (PermissionException e) { addAlert(state, rb.getString("youarenot15")); } } // Assignment AssignmentEdit a = null; if (assignmentId.length() == 0) { // create a new assignment try { a = AssignmentService.addAssignment((String) state.getAttribute(STATE_CONTEXT_STRING)); } catch (PermissionException e) { addAlert(state, rb.getString("youarenot1")); } } else { // not a new assignment newAssignment = false; try { // edit assignment a = AssignmentService.editAssignment(assignmentId); aOldTitle = a.getTitle(); } catch (InUseException e) { addAlert(state, rb.getString("theassicon")); } catch (IdUnusedException e) { addAlert(state, rb.getString("cannotfin3")); } catch (PermissionException e) { addAlert(state, rb.getString("youarenot14")); } // try-catch } // if-else if ((state.getAttribute(STATE_MESSAGE) == null) && (ac != null) && (a != null)) { ac.setTitle(title); ac.setInstructions(description); ac.setHonorPledge(Integer.parseInt(checkAddHonorPledge)); ac.setTypeOfSubmission(submissionType); ac.setTypeOfGrade(gradeType); if (gradeType == 3) { try { ac.setMaxGradePoint(Integer.parseInt(gradePoints)); } catch (NumberFormatException e) { alertInvalidPoint(state, gradePoints); } } ac.setGroupProject(true); ac.setIndividuallyGraded(false); if (submissionType != 1) { ac.setAllowAttachments(true); } else { ac.setAllowAttachments(false); } // clear attachments ac.clearAttachments(); // add each attachment Iterator it = EntityManager.newReferenceList(attachments1).iterator(); while (it.hasNext()) { Reference r = (Reference) it.next(); ac.addAttachment(r); } state.setAttribute(ATTACHMENTS_MODIFIED, new Boolean(false)); // commit the changes AssignmentService.commitEdit(ac); } try { a.setTitle(title); a.setContent(ac); a.setContext((String) state.getAttribute(STATE_CONTEXT_STRING)); a.setSection(s); // old open time Time oldOpenTime = a.getOpenTime(); a.setOpenTime(openTime); // old due time Time oldDueTime = a.getDueTime(); a.setDueTime(dueTime); // set the drop dead date as the due date a.setDropDeadTime(dueTime); if (enableCloseDate) { a.setCloseTime(closeTime); } else { // if editing an old assignment with close date if (a.getCloseTime() != null) { a.setCloseTime(null); } } // post the assignment a.setDraft(!post); // set the auto check/auto announce property ResourcePropertiesEdit aPropertiesEdit = a.getPropertiesEdit(); if (aPropertiesEdit.getProperty("newAssignment") != null) { if (aPropertiesEdit.getProperty("newAssignment").equalsIgnoreCase(Boolean.TRUE.toString())) { // not a newly created assignment, been added. aPropertiesEdit.addProperty("newAssignment", Boolean.FALSE.toString()); } } else { // for newly created assignment aPropertiesEdit.addProperty("newAssignment", Boolean.TRUE.toString()); } if (checkAddDueTime != null) { aPropertiesEdit.addProperty(ResourceProperties.NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE, checkAddDueTime); } else { aPropertiesEdit.removeProperty(ResourceProperties.NEW_ASSIGNMENT_CHECK_ADD_DUE_DATE); } aPropertiesEdit.addProperty(ResourceProperties.NEW_ASSIGNMENT_CHECK_AUTO_ANNOUNCE, checkAutoAnnounce); aPropertiesEdit.addProperty(NEW_ASSIGNMENT_ADD_TO_GRADEBOOK, addtoGradebook); // set group property String range = (String) state.getAttribute(NEW_ASSIGNMENT_RANGE); try { if (range.equals("site")) { a.setAccess(Assignment.AssignmentAccess.SITE); a.clearGroupAccess(); } else if (range.equals("groups")) { String siteId = (String) state.getAttribute(STATE_CONTEXT_STRING); try { Site site = SiteService.getSite(siteId); Collection groupChoice = (Collection) state.getAttribute(NEW_ASSIGNMENT_GROUPS); Collection groups = new Vector(); for (Iterator iGroups = groupChoice.iterator(); iGroups.hasNext();) { String groupId = (String) iGroups.next(); groups.add(site.getGroup(groupId)); } a.setGroupAccess(groups); } catch (Exception e) { Log.warn("chef", this + "cannot find site with id "+ siteId); } } } catch (PermissionException e) { addAlert(state, rb.getString("youarenot1")); } if (state.getAttribute(STATE_MESSAGE) == null) { // commit assignment first AssignmentService.commitEdit(a); if (state.getAttribute(STATE_MESSAGE) == null) { state.setAttribute(STATE_MODE, MODE_LIST_ASSIGNMENTS); state.setAttribute(ATTACHMENTS, EntityManager.newReferenceList()); resetAssignment(state); } if (post) { // add due date to schedule and add open date to announcement only if user is posting the assignment // add the due date to schedule if the schedule exists if (state.getAttribute(CALENDAR) != null) { Calendar c = (Calendar) state.getAttribute(CALENDAR); String dueDateScheduled = a.getProperties().getProperty(NEW_ASSIGNMENT_DUE_DATE_SCHEDULED); String oldEventId = aPropertiesEdit.getProperty(ResourceProperties.PROP_ASSIGNMENT_DUEDATE_CALENDAR_EVENT_ID); CalendarEvent e = null; if (dueDateScheduled != null || oldEventId != null) { // find the old event boolean found = false; if (oldEventId != null && c != null) { try { e = c.getEvent(oldEventId); found = true; } catch (IdUnusedException ee) { Log.warn("chef", "The old event has been deleted: event id=" + oldEventId + ". "); } catch (PermissionException ee) { Log.warn("chef", "You do not have the permission to view the schedule event id= " + oldEventId + "."); } } else { TimeBreakdown b = oldDueTime.breakdownLocal(); // TODO: check- this was new Time(year...), not local! -ggolden Time startTime = TimeService.newTimeLocal(b.getYear(), b.getMonth(), b.getDay(), 0, 0, 0, 0); Time endTime = TimeService.newTimeLocal(b.getYear(), b.getMonth(), b.getDay(), 23, 59, 59, 999); try { Iterator events = c.getEvents(TimeService.newTimeRange(startTime, endTime), null) .iterator(); while ((!found) && (events.hasNext())) { e = (CalendarEvent) events.next(); if (((String) e.getDisplayName()).indexOf(rb.getString("assig1") + " " + title) != -1) { found = true; } } } catch (PermissionException ignore) { // ignore PermissionException } } if (found) { // remove the founded old event try { c.removeEvent(c.editEvent(e.getId())); } catch (PermissionException ee) { Log.warn("chef", rb.getString("cannotrem") + " " + title + ". "); } catch (InUseException ee) { Log.warn("chef", rb.getString("somelsis") + " " + rb.getString("calen")); } } } if (checkAddDueTime.equalsIgnoreCase(Boolean.TRUE.toString())) { if (c != null) { // commit related properties into Assignment object String ref = ""; try { ref = a.getReference(); AssignmentEdit aEdit = AssignmentService.editAssignment(ref); try { e = null; CalendarEvent.EventAccess eAccess = CalendarEvent.EventAccess.SITE; Collection eGroups = new Vector(); if (aEdit.getAccess().equals(Assignment.AssignmentAccess.GROUPED)) { eAccess = CalendarEvent.EventAccess.GROUPED; Collection groupRefs = aEdit.getGroups(); // make a collection of Group objects from the collection of group ref strings Site site = SiteService.getSite((String) state.getAttribute(STATE_CONTEXT_STRING)); for (Iterator iGroupRefs = groupRefs.iterator(); iGroupRefs.hasNext();) { String groupRef = (String) iGroupRefs.next(); eGroups.add(site.getGroup(groupRef)); } } e = c.addEvent(/* TimeRange */TimeService.newTimeRange(dueTime.getTime(), /* 0 duration */0 * 60 * 1000), /* title */rb.getString("due") + " " + title, /* description */rb.getString("assig1") + " " + title + " " + "is due on " + dueTime.toStringLocalFull() + ". ", /* type */rb.getString("deadl"), /* location */"", /* access */ eAccess, /* groups */ eGroups, /* attachments */EntityManager.newReferenceList()); aEdit.getProperties().addProperty(NEW_ASSIGNMENT_DUE_DATE_SCHEDULED, Boolean.TRUE.toString()); if (e != null) { aEdit.getProperties().addProperty(ResourceProperties.PROP_ASSIGNMENT_DUEDATE_CALENDAR_EVENT_ID, e.getId()); } } catch (IdUnusedException ee) { Log.warn("chef", ee.getMessage()); } catch (PermissionException ee) { Log.warn("chef", rb.getString("cannotfin1")); } catch (Exception ee) { Log.warn("chef", ee.getMessage()); } // try-catch AssignmentService.commitEdit(aEdit); } catch (Exception ignore) { // ignore the exception Log.warn("chef", rb.getString("cannotfin2") + ref); } } // if } // if } // the open date been announced if (checkAutoAnnounce.equalsIgnoreCase(Boolean.TRUE.toString())) { AnnouncementChannel channel = (AnnouncementChannel) state.getAttribute(ANNOUNCEMENT_CHANNEL); if (channel != null) { String openDateAnnounced = a.getProperties().getProperty(NEW_ASSIGNMENT_OPEN_DATE_ANNOUNCED); // open date has been announced or title has been changed? boolean openDateMessageModified = false; if (openDateAnnounced != null && openDateAnnounced.equalsIgnoreCase(Boolean.TRUE.toString())) { if (oldOpenTime != null && (!oldOpenTime.toStringLocalFull().equals(openTime.toStringLocalFull())) // open time changes || !aOldTitle.equals(title)) // assignment title changes { // need to change message openDateMessageModified = true; } } // add the open date to annoucement if (openDateAnnounced == null // no announcement yet || (openDateAnnounced != null && openDateAnnounced.equalsIgnoreCase(Boolean.TRUE.toString()) && openDateMessageModified)) // announced, but open date or announcement title changes { // announcement channel is in place try { AnnouncementMessageEdit message = channel.addAnnouncementMessage(); AnnouncementMessageHeaderEdit header = message.getAnnouncementHeaderEdit(); header.setDraft(/* draft */false); header.replaceAttachments(/* attachment */EntityManager.newReferenceList()); if (openDateAnnounced == null) { // making new announcement header.setSubject(/* subject */rb.getString("assig6") + " " + title); message.setBody(/* body */rb.getString("opedat") + " " + FormattedText.convertPlaintextToFormattedText(title) + " is " + openTime.toStringLocalFull() + ". "); } else { // revised announcement header.setSubject(/* subject */rb.getString("assig5") + " " + title); message.setBody(/* body */rb.getString("newope") + " " + FormattedText.convertPlaintextToFormattedText(title) + " is " + openTime.toStringLocalFull() + ". "); } // group information if (a.getAccess().equals(Assignment.AssignmentAccess.GROUPED)) { try { // get the group ids selected Collection groupRefs = a.getGroups(); // make a collection of Group objects Collection groups = new Vector(); //make a collection of Group objects from the collection of group ref strings Site site = SiteService.getSite((String) state.getAttribute(STATE_CONTEXT_STRING)); for (Iterator iGroupRefs = groupRefs.iterator(); iGroupRefs.hasNext();) { String groupRef = (String) iGroupRefs.next(); groups.add(site.getGroup(groupRef)); } // set access header.setGroupAccess(groups); } catch (Exception exception) { // log Log.warn("chef", exception.getMessage()); } } else { // site announcement header.clearGroupAccess(); } channel.commitMessage(message, NotificationService.NOTI_NONE); // commit related properties into Assignment object String ref = ""; try { ref = a.getReference(); AssignmentEdit aEdit = AssignmentService.editAssignment(ref); aEdit.getPropertiesEdit().addProperty(NEW_ASSIGNMENT_OPEN_DATE_ANNOUNCED, Boolean.TRUE.toString()); if (message != null) { aEdit.getPropertiesEdit().addProperty(ResourceProperties.PROP_ASSIGNMENT_OPENDATE_ANNOUNCEMENT_MESSAGE_ID, message.getId()); } AssignmentService.commitEdit(aEdit); } catch (Exception ignore) { // ignore the exception Log.warn("chef", rb.getString("cannotfin2") + ref); } } catch (PermissionException ee) { Log.warn("chef", rb.getString("cannotmak")); } } } } // if // integrate with Gradebook String aReference = a.getReference(); String addUpdateRemoveAssignment = "remove"; if (Boolean.valueOf(addtoGradebook).booleanValue()) { if (!AssignmentService.getAllowGroupAssignmentsInGradebook() && (range.equals("groups"))) { // if grouped assignment is not allowed to add into Gradebook addAlert(state, rb.getString("java.alert.noGroupedAssignmentIntoGB")); String ref = ""; try { ref = a.getReference(); AssignmentEdit aEdit = AssignmentService.editAssignment(ref); aEdit.getPropertiesEdit().removeProperty(NEW_ASSIGNMENT_ADD_TO_GRADEBOOK); AssignmentService.commitEdit(aEdit); } catch (Exception ignore) { // ignore the exception Log.warn("chef", rb.getString("cannotfin2") + ref); } integrateGradebook(state, aReference, "remove", null, null, -1, null, null, null); } else { if (newAssignment) { addUpdateRemoveAssignment = "add"; } else { addUpdateRemoveAssignment = "update"; } if (!addUpdateRemoveAssignment.equals("remove") && gradeType == 3) { try { // no assignment committed yet. Use user input data integrateGradebook(state, aReference, addUpdateRemoveAssignment, aOldTitle, title, Integer.parseInt (gradePoints), dueTime, null, null); // add all existing grades, if any, into Gradebook integrateGradebook(state, aReference, null, null, null, -1, null, null, "update"); } catch (NumberFormatException nE) { alertInvalidPoint(state, gradePoints); } } else { integrateGradebook(state, aReference, "remove", null, null, -1, null, null, null); } } } else { // remove assignment entry from Gradebook integrateGradebook(state, aReference, "remove", null, null, -1, null, null, null); } } // if post } // if } catch (IdUnusedException e) { addAlert(state, rb.getString("cannotfin3")); } // try-catch } // if } // if } // doPost_assignment
54270 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54270/2599c85aa5ec5d87ae87e3624213730a4573b0a5/AssignmentAction.java/clean/assignment-tool/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1603, 1162, 4755, 7729, 12, 1997, 751, 501, 16, 514, 1603, 1162, 4755, 13, 202, 95, 202, 202, 6494, 1603, 273, 261, 2767, 1162, 4755, 480, 446, 597, 1603, 1162, 4755, 18, 14963, 2932, 2767, 6, 3719, 692, 638, 294, 629, 31, 9506, 202, 759, 6661, 1592, 2077, 202, 202, 780, 279, 7617, 4247, 273, 446, 31, 9506, 202, 2157, 1119, 919, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 18566, 2157, 1119, 12443, 12, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 8382, 67, 347, 350, 10663, 202, 202, 780, 1965, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 7998, 67, 7038, 1769, 202, 202, 430, 16051, 3188, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 3670, 12145, 67, 23289, 3212, 3719, 202, 202, 95, 1082, 202, 759, 855, 810, 501, 309, 326, 1965, 353, 486, 10143, 1965, 1082, 202, 542, 1908, 7729, 2402, 12, 892, 16, 638, 1769, 202, 202, 97, 202, 202, 430, 261, 2019, 18, 588, 1499, 12, 7998, 67, 8723, 13, 422, 446, 13, 202, 202, 95, 1082, 202, 1662, 2678, 859, 273, 501, 18, 588, 2402, 5621, 1082, 202, 759, 1378, 326, 1257, 471, 924, 1368, 4268, 585, 1082, 202, 780, 2077, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 12917, 67, 23289, 3212, 67, 14123, 1769, 1082, 202, 759, 1696, 813, 1082, 202, 474, 1696, 5445, 273, 14015, 4522, 13, 919, 18, 588, 1499, 12, 12917, 67, 23289, 3212, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1603, 1162, 4755, 7729, 12, 1997, 751, 501, 16, 514, 1603, 1162, 4755, 13, 202, 95, 202, 202, 6494, 1603, 273, 261, 2767, 1162, 4755, 480, 446, 597, 1603, 1162, 4755, 18, 14963, 2932, 2767, 6, 3719, 692, 638, 294, 629, 31, 9506, 202, 759, 6661, 1592, 2077, 202, 202, 780, 279, 7617, 4247, 273, 446, 31, 9506, 202, 2157, 1119, 919, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 18566, 2157, 1119, 12443, 12, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 8382, 67, 347, 350, 10663, 202, 202, 780, 1965, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 7998, 67, 7038, 1769, 202, 202, 430, 16051, 3188, 18, 2 ]
beforeOption = null;
beforeOption = null;
protected void add_IE(final Option newOptionObject, final Object index) { final HtmlSelect select = getHtmlSelect(); final HtmlOption beforeOption; if (Context.getUndefinedValue().equals(index)) { beforeOption = null; } else { final int intIndex = ((Integer) Context.jsToJava(index, Integer.class)).intValue(); if (intIndex >= select.getOptionSize()) { beforeOption = null; } else { beforeOption = select.getOption(intIndex); } } addBefore(newOptionObject, beforeOption); }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/4a3061046876575acc5d58b84618ad7d3de6d151/Select.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/Select.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 67, 8732, 12, 6385, 2698, 394, 1895, 921, 16, 727, 1033, 770, 13, 288, 3639, 727, 5430, 3391, 2027, 273, 19633, 3391, 5621, 3639, 727, 5430, 1895, 1865, 1895, 31, 3639, 309, 261, 1042, 18, 588, 10317, 620, 7675, 14963, 12, 1615, 3719, 288, 540, 202, 5771, 1895, 273, 446, 31, 3639, 289, 3639, 469, 288, 540, 202, 6385, 509, 509, 1016, 273, 14015, 4522, 13, 1772, 18, 2924, 774, 5852, 12, 1615, 16, 2144, 18, 1106, 13, 2934, 474, 620, 5621, 540, 202, 430, 261, 474, 1016, 1545, 2027, 18, 588, 1895, 1225, 10756, 288, 540, 202, 202, 5771, 1895, 273, 446, 31, 540, 202, 97, 540, 202, 12107, 288, 540, 202, 202, 5771, 1895, 273, 2027, 18, 588, 1895, 12, 474, 1016, 1769, 540, 202, 97, 3639, 289, 7734, 527, 4649, 12, 2704, 1895, 921, 16, 1865, 1895, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 4750, 918, 527, 67, 8732, 12, 6385, 2698, 394, 1895, 921, 16, 727, 1033, 770, 13, 288, 3639, 727, 5430, 3391, 2027, 273, 19633, 3391, 5621, 3639, 727, 5430, 1895, 1865, 1895, 31, 3639, 309, 261, 1042, 18, 588, 10317, 620, 7675, 14963, 12, 1615, 3719, 288, 540, 202, 5771, 1895, 273, 446, 31, 3639, 289, 3639, 469, 288, 540, 202, 6385, 509, 509, 1016, 273, 14015, 4522, 13, 1772, 18, 2924, 774, 5852, 12, 1615, 16, 2144, 18, 1106, 13, 2934, 474, 620, 5621, 540, 202, 430, 261, 474, 1016, 1545, 2027, 18, 588, 1895, 1225, 10756, 288, 540, 202, 202, 5771, 1895, 273, 446, 31, 540, 202, 97, 540, 202, 12107, 288, 540, 202, 202, 5771, 2 ]
public int compare( String source, String target ) { int result = 0; if ( columnIndex == 1 ) result = super.compare( getFileName( source ), getFileName( target ) ); else if ( columnIndex == 2 ) result = super.compare( getFilePath( source ), getFilePath( target ) );
/* * @see java.util.Comparator#compare(java.lang.Object, * java.lang.Object) */ public int compare( Object o1, Object o2 ) { String source = (String) o1; String target = (String) o2; int result = 0; if ( columnIndex == 1 ) result = this.compareStr( getFileName( source ), getFileName( target ) ); else if ( columnIndex == 2 ) result = this.compareStr( getFilePath( source ), getFilePath( target ) );
private void sortJar( final int columnIndex, final boolean asc ) { try { jarViewer.setSorter( new ViewerSorter( new RuleBasedCollator( ( (RuleBasedCollator) Collator.getInstance( ) ).getRules( ) ) { public int compare( String source, String target ) { int result = 0; if ( columnIndex == 1 ) result = super.compare( getFileName( source ), getFileName( target ) ); else if ( columnIndex == 2 ) result = super.compare( getFilePath( source ), getFilePath( target ) ); if ( !asc ) return result; else return result *= -1; } } ) ); } catch ( ParseException e ) { // TODO Auto-generated catch block e.printStackTrace( ); } refreshJar( ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/f56460dc465d6004052327c67845d57d0ba26e89/JdbcDriverManagerDialog.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/dialogs/JdbcDriverManagerDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1524, 10813, 12, 727, 509, 14882, 16, 727, 1250, 6972, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 11930, 18415, 18, 542, 24952, 12, 394, 4441, 264, 24952, 12, 394, 6781, 9802, 13535, 639, 12, 261, 261, 2175, 9802, 13535, 639, 13, 17596, 639, 18, 588, 1442, 12, 262, 262, 18, 588, 4478, 12, 262, 262, 288, 9506, 202, 482, 509, 3400, 12, 514, 1084, 16, 514, 1018, 262, 9506, 202, 95, 6862, 202, 474, 563, 273, 374, 31, 6862, 202, 430, 261, 14882, 422, 404, 262, 25083, 202, 2088, 273, 2240, 18, 9877, 12, 13807, 12, 1084, 262, 16, 6862, 9506, 202, 588, 4771, 12, 1018, 262, 11272, 6862, 202, 12107, 309, 261, 14882, 422, 576, 262, 25083, 202, 2088, 273, 2240, 18, 9877, 12, 22554, 12, 1084, 262, 16, 6862, 9506, 202, 588, 5598, 12, 1018, 262, 11272, 6862, 202, 430, 261, 401, 3691, 262, 25083, 202, 2463, 563, 31, 6862, 202, 12107, 25083, 202, 2463, 563, 6413, 300, 21, 31, 9506, 202, 97, 1082, 202, 97, 262, 11272, 202, 202, 97, 202, 202, 14683, 261, 10616, 425, 262, 202, 202, 95, 1082, 202, 759, 2660, 8064, 17, 11168, 1044, 1203, 1082, 202, 73, 18, 1188, 6332, 12, 11272, 202, 202, 97, 202, 202, 9144, 10813, 12, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1524, 10813, 12, 727, 509, 14882, 16, 727, 1250, 6972, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 11930, 18415, 18, 542, 24952, 12, 394, 4441, 264, 24952, 12, 394, 6781, 9802, 13535, 639, 12, 261, 261, 2175, 9802, 13535, 639, 13, 17596, 639, 18, 588, 1442, 12, 262, 262, 18, 588, 4478, 12, 262, 262, 288, 9506, 202, 482, 509, 3400, 12, 514, 1084, 16, 514, 1018, 262, 9506, 202, 95, 6862, 202, 474, 563, 273, 374, 31, 6862, 202, 430, 261, 14882, 422, 404, 262, 25083, 202, 2088, 273, 2240, 18, 9877, 12, 13807, 12, 1084, 262, 16, 6862, 9506, 202, 588, 4771, 12, 1018, 262, 11272, 6862, 202, 12107, 2 ]
schemaDOM.startAnnotationCDATA();
if (fAnnotationDepth != -1) { schemaDOM.startAnnotationCDATA(); }
public void startCDATA(Augmentations augs) throws XNIException { schemaDOM.startAnnotationCDATA(); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/565d2b4003fdeee13a663e69473a534389f13b26/SchemaDOMParser.java/clean/src/org/apache/xerces/impl/xs/opti/SchemaDOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 18375, 12, 37, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 540, 309, 261, 74, 3257, 6148, 480, 300, 21, 13, 288, 1963, 8168, 18, 1937, 3257, 18375, 5621, 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, 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, 377, 1071, 918, 787, 18375, 12, 37, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 540, 309, 261, 74, 3257, 6148, 480, 300, 21, 13, 288, 1963, 8168, 18, 1937, 3257, 18375, 5621, 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, -100, -100, -100 ]
public int setVarNum(int num) { int r1 = f1.setVarNum(num); int r2 = f2.setVarNum(num); //assertSame(r1 == r2, "setVarNum"); return r1; }
5661 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5661/71f86273df58be2740a3795cf7aa832e81bfb010/TestBDDFactory.java/buggy/JavaBDD/net/sf/javabdd/TestBDDFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 444, 1537, 2578, 12, 474, 818, 13, 288, 3639, 509, 436, 21, 273, 284, 21, 18, 542, 1537, 2578, 12, 2107, 1769, 3639, 509, 436, 22, 273, 284, 22, 18, 542, 1537, 2578, 12, 2107, 1769, 3639, 368, 11231, 8650, 12, 86, 21, 422, 436, 22, 16, 315, 542, 1537, 2578, 8863, 3639, 327, 436, 21, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 444, 1537, 2578, 12, 474, 818, 13, 288, 3639, 509, 436, 21, 273, 284, 21, 18, 542, 1537, 2578, 12, 2107, 1769, 3639, 509, 436, 22, 273, 284, 22, 18, 542, 1537, 2578, 12, 2107, 1769, 3639, 368, 11231, 8650, 12, 86, 21, 422, 436, 22, 16, 315, 542, 1537, 2578, 8863, 3639, 327, 436, 21, 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 ]
onlyStaticMethods,
private void findIntefacesMethods( char[] selector, TypeBinding[] argTypes, ReferenceBinding receiverType, ReferenceBinding[] itsInterfaces, Scope scope, ObjectVector methodsFound, boolean onlyStaticMethods, boolean exactMatch, boolean isCompletingDeclaration, InvocationSite invocationSite, Scope invocationScope, boolean implicitCall, boolean superCall, boolean canBePrefixed) { if (selector == null) return; if (itsInterfaces != NoSuperInterfaces) { ReferenceBinding[][] interfacesToVisit = new ReferenceBinding[5][]; int lastPosition = 0; interfacesToVisit[lastPosition] = itsInterfaces; for (int i = 0; i <= lastPosition; i++) { ReferenceBinding[] interfaces = interfacesToVisit[i]; for (int j = 0, length = interfaces.length; j < length; j++) { ReferenceBinding currentType = interfaces[j]; if ((currentType.tagBits & TagBits.InterfaceVisited) == 0) { // if interface as not already been visited currentType.tagBits |= TagBits.InterfaceVisited; MethodBinding[] methods = currentType.availableMethods(); if(methods != null) { if(isCompletingDeclaration){ findLocalMethodDeclarations( selector, methods, scope, methodsFound, onlyStaticMethods, exactMatch, receiverType); } else { findLocalMethods( selector, argTypes, methods, scope, methodsFound, onlyStaticMethods, exactMatch, receiverType, invocationSite, invocationScope, implicitCall, superCall, canBePrefixed); } } itsInterfaces = currentType.superInterfaces(); if (itsInterfaces != NoSuperInterfaces) { if (++lastPosition == interfacesToVisit.length) System.arraycopy( interfacesToVisit, 0, interfacesToVisit = new ReferenceBinding[lastPosition * 2][], 0, lastPosition); interfacesToVisit[lastPosition] = itsInterfaces; } } } } // bit reinitialization for (int i = 0; i <= lastPosition; i++) { ReferenceBinding[] interfaces = interfacesToVisit[i]; for (int j = 0, length = interfaces.length; j < length; j++){ interfaces[j].tagBits &= ~TagBits.InterfaceVisited; } } } }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/0841b38e29c9b9a090c0d849b31ae1e8b6484d97/CompletionEngine.java/buggy/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1104, 382, 736, 4601, 4712, 12, 202, 202, 3001, 8526, 3451, 16, 202, 202, 559, 5250, 8526, 30973, 16, 202, 202, 2404, 5250, 5971, 559, 16, 202, 202, 2404, 5250, 8526, 2097, 10273, 16, 202, 202, 3876, 2146, 16, 202, 202, 921, 5018, 2590, 2043, 16, 202, 202, 6494, 1338, 5788, 4712, 16, 202, 202, 6494, 5565, 2060, 16, 202, 202, 6494, 353, 6297, 310, 6094, 16, 202, 202, 9267, 4956, 9495, 4956, 16, 202, 202, 3876, 9495, 3876, 16, 202, 202, 6494, 10592, 1477, 16, 202, 202, 6494, 2240, 1477, 16, 202, 202, 6494, 24978, 2244, 329, 13, 288, 202, 202, 430, 261, 9663, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 430, 261, 1282, 10273, 480, 2631, 8051, 10273, 13, 288, 1082, 202, 2404, 5250, 63, 6362, 65, 7349, 774, 10432, 273, 394, 6268, 5250, 63, 25, 6362, 15533, 1082, 202, 474, 1142, 2555, 273, 374, 31, 1082, 202, 15898, 774, 10432, 63, 2722, 2555, 65, 273, 2097, 10273, 31, 25083, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 1648, 1142, 2555, 31, 277, 27245, 288, 9506, 202, 2404, 5250, 8526, 7349, 273, 7349, 774, 10432, 63, 77, 15533, 9506, 202, 1884, 261, 474, 525, 273, 374, 16, 769, 273, 7349, 18, 2469, 31, 525, 411, 769, 31, 525, 27245, 288, 6862, 202, 2404, 5250, 27646, 273, 7349, 63, 78, 15533, 6862, 202, 430, 14015, 2972, 559, 18, 2692, 6495, 473, 4034, 6495, 18, 1358, 30019, 13, 422, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1104, 382, 736, 4601, 4712, 12, 202, 202, 3001, 8526, 3451, 16, 202, 202, 559, 5250, 8526, 30973, 16, 202, 202, 2404, 5250, 5971, 559, 16, 202, 202, 2404, 5250, 8526, 2097, 10273, 16, 202, 202, 3876, 2146, 16, 202, 202, 921, 5018, 2590, 2043, 16, 202, 202, 6494, 1338, 5788, 4712, 16, 202, 202, 6494, 5565, 2060, 16, 202, 202, 6494, 353, 6297, 310, 6094, 16, 202, 202, 9267, 4956, 9495, 4956, 16, 202, 202, 3876, 9495, 3876, 16, 202, 202, 6494, 10592, 1477, 16, 202, 202, 6494, 2240, 1477, 16, 202, 202, 6494, 24978, 2244, 329, 13, 288, 202, 202, 430, 261, 9663, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 430, 2 ]
throw NativeGlobal.constructError( Context.getContext(), "TypeError", ScriptRuntime.getMessage("msg.instanceof.bad.prototype", args), instance);
String m = ScriptRuntime.getMessage("msg.instanceof.bad.prototype", args); throw NativeGlobal.constructError(Context.getContext(), "TypeError", m, instance);
public boolean hasInstance(Scriptable instance) { FlattenedObject flat = new FlattenedObject(this); Object protoProp = flat.getProperty("prototype"); if ((protoProp instanceof Scriptable) && (protoProp != Undefined.instance)) { try { protoProp = ((FlattenedObject)protoProp).getObject(); return ScriptRuntime.jsDelegatesTo(instance, (Scriptable)protoProp); } catch (ClassCastException e) { } } Object[] args = { names[0] }; throw NativeGlobal.constructError( Context.getContext(), "TypeError", ScriptRuntime.getMessage("msg.instanceof.bad.prototype", args), instance); }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/92cc537362a2c4d8865665593daaa42cec248179/NativeFunction.java/buggy/org/mozilla/javascript/NativeFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 711, 1442, 12, 3651, 429, 791, 13, 288, 3639, 24226, 23016, 3569, 273, 394, 24226, 23016, 12, 2211, 1769, 3639, 1033, 3760, 4658, 273, 3569, 18, 588, 1396, 2932, 18541, 8863, 7734, 309, 14015, 9393, 4658, 1276, 22780, 13, 1171, 597, 261, 9393, 4658, 480, 22243, 18, 1336, 3719, 288, 5411, 775, 288, 7734, 3760, 4658, 273, 14015, 20237, 23016, 13, 9393, 4658, 2934, 588, 921, 5621, 7734, 327, 7739, 5576, 18, 2924, 15608, 815, 774, 12, 1336, 16, 261, 3651, 429, 13, 9393, 4658, 1769, 5411, 289, 1044, 261, 797, 22768, 425, 13, 288, 289, 3639, 289, 3639, 1033, 8526, 833, 273, 288, 1257, 63, 20, 65, 289, 31, 3639, 604, 16717, 5160, 18, 10062, 668, 12, 10792, 1772, 18, 29120, 9334, 315, 19030, 3113, 10792, 7739, 5576, 18, 24906, 2932, 3576, 18, 1336, 792, 18, 8759, 18, 18541, 3113, 833, 3631, 10792, 791, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 1250, 711, 1442, 12, 3651, 429, 791, 13, 288, 3639, 24226, 23016, 3569, 273, 394, 24226, 23016, 12, 2211, 1769, 3639, 1033, 3760, 4658, 273, 3569, 18, 588, 1396, 2932, 18541, 8863, 7734, 309, 14015, 9393, 4658, 1276, 22780, 13, 1171, 597, 261, 9393, 4658, 480, 22243, 18, 1336, 3719, 288, 5411, 775, 288, 7734, 3760, 4658, 273, 14015, 20237, 23016, 13, 9393, 4658, 2934, 588, 921, 5621, 7734, 327, 7739, 5576, 18, 2924, 15608, 815, 774, 12, 1336, 16, 261, 3651, 429, 13, 9393, 4658, 1769, 5411, 289, 1044, 261, 797, 22768, 425, 13, 288, 289, 3639, 289, 3639, 1033, 8526, 833, 273, 288, 1257, 63, 20, 65, 289, 31, 3639, 604, 16717, 5160, 18, 10062, 2 ]
}
throw new ParserException(e); } catch (RuntimeException e) { throw new ParserException(e); }
private void markHumanReviewed() { try{ List<ObjectClass> ocs = (List<ObjectClass>)cadsrObjects.getElements(DomainObjectFactory.newObjectClass().getClass()); List<DataElementConcept> decs = (List<DataElementConcept>) cadsrObjects.getElements(DomainObjectFactory.newDataElementConcept().getClass()); for(ObjectClass oc : ocs) { Element classElement = elements.get(oc.getLongName()); String xpath = "//*[local-name()='TaggedValue' and @tag='HUMAN_REVIEWED' and @modelElement='" + classElement.getAttributeValue("xmi.id") + "']"; JDOMXPath path = new JDOMXPath(xpath); Element tv = (Element)path.selectSingleNode(modelElement); boolean reviewed = reviewTracker.get(oc.getLongName()); if(tv == null) { addTaggedValue("HUMAN_REVIEWED", reviewed?"1":"0", getNewId(classElement.getAttributeValue("xmi.id")), classElement.getAttributeValue("xmi.id"), classElement.getNamespace()); } else { tv.setAttribute("value", reviewed?"1":"0"); } } for(DataElementConcept dec : decs) { String fullPropName = dec.getObjectClass().getLongName() + "." + dec.getProperty().getLongName(); Boolean reviewed = reviewTracker.get(fullPropName); if(reviewed == null) { continue; } Element attributeElement = elements.get(fullPropName); String xpath = "//*[local-name()='TaggedValue' and @tag='HUMAN_REVIEWED' and @modelElement='" + attributeElement.getAttributeValue("xmi.id") + "']"; JDOMXPath path = new JDOMXPath(xpath); Element tv = (Element)path.selectSingleNode(modelElement); if(tv == null) { addTaggedValue("HUMAN_REVIEWED", reviewed?"1":"0", getNewId(attributeElement.getAttributeValue("xmi.id")), attributeElement.getAttributeValue("xmi.id"), attributeElement.getNamespace()); } else { tv.setAttribute("value", reviewed?"1":"0"); } } } catch (JaxenException e){ } // end of try-catch }
55019 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55019/79a91bb776fbd3c1a00be4d82fbb69b59b899572/XMIWriter.java/buggy/src/gov/nih/nci/ncicb/cadsr/loader/parser/XMIWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2267, 28201, 9159, 329, 1435, 288, 565, 775, 95, 4202, 987, 32, 921, 797, 34, 320, 2143, 273, 261, 682, 32, 921, 797, 23429, 71, 361, 11254, 4710, 18, 588, 3471, 12, 3748, 921, 1733, 18, 2704, 921, 797, 7675, 588, 797, 10663, 1377, 987, 32, 751, 1046, 15433, 34, 2109, 87, 273, 261, 682, 32, 751, 1046, 15433, 23429, 28451, 11254, 4710, 18, 588, 3471, 12, 3748, 921, 1733, 18, 2704, 751, 1046, 15433, 7675, 588, 797, 10663, 1377, 364, 12, 921, 797, 13345, 294, 320, 2143, 13, 288, 3639, 3010, 667, 1046, 273, 2186, 18, 588, 12, 504, 18, 588, 3708, 461, 10663, 3639, 514, 6748, 273, 16177, 26625, 3729, 17, 529, 1435, 2218, 18674, 620, 11, 471, 632, 2692, 2218, 44, 2799, 1258, 67, 862, 12145, 2056, 11, 471, 632, 2284, 1046, 13396, 1850, 397, 667, 1046, 18, 588, 14942, 2932, 92, 9197, 18, 350, 7923, 1850, 397, 2491, 4279, 31, 3639, 804, 8168, 14124, 589, 273, 394, 804, 8168, 14124, 12, 18644, 1769, 3639, 3010, 13521, 273, 261, 1046, 13, 803, 18, 4025, 5281, 907, 12, 2284, 1046, 1769, 3639, 1250, 10725, 329, 273, 10725, 8135, 18, 588, 12, 504, 18, 588, 3708, 461, 10663, 3639, 309, 12, 24161, 422, 446, 13, 288, 1850, 527, 18674, 620, 2932, 44, 2799, 1258, 67, 862, 12145, 2056, 3113, 7682, 10725, 329, 7225, 21, 15563, 20, 3113, 7682, 12654, 548, 12, 1106, 1046, 18, 588, 14942, 2932, 92, 9197, 18, 350, 7923, 3631, 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, 2267, 28201, 9159, 329, 1435, 288, 565, 775, 95, 4202, 987, 32, 921, 797, 34, 320, 2143, 273, 261, 682, 32, 921, 797, 23429, 71, 361, 11254, 4710, 18, 588, 3471, 12, 3748, 921, 1733, 18, 2704, 921, 797, 7675, 588, 797, 10663, 1377, 987, 32, 751, 1046, 15433, 34, 2109, 87, 273, 261, 682, 32, 751, 1046, 15433, 23429, 28451, 11254, 4710, 18, 588, 3471, 12, 3748, 921, 1733, 18, 2704, 751, 1046, 15433, 7675, 588, 797, 10663, 1377, 364, 12, 921, 797, 13345, 294, 320, 2143, 13, 288, 3639, 3010, 667, 1046, 273, 2186, 18, 588, 12, 504, 18, 588, 3708, 461, 10663, 3639, 514, 6748, 273, 16177, 26625, 3729, 17, 529, 1435, 2218, 2 ]
if (dns.host.sameName(this) && ! dns.host.sameValue(this)) { if (dns.debug > 1) System.out.println("JmDNS DNSRecord.Address.handleQuery() Conflicting probe detected"); if (dns.getState().isProbing() && lexCompare(dns.host) >= 0) { dns.host.name = dns.incrementHostName(dns.host.getName()); dns.getCache().clear(); for (Iterator i=dns.services.values().iterator(); i.hasNext(); ) { ServiceInfo info = (ServiceInfo) i.next(); info.revertState();
DNSRecord.Address dnsAddress = dns.getLocalHost().getDNSAddressRecord(this); if (dnsAddress != null) { if ( dnsAddress.sameType(this) && dnsAddress.sameName(this) && (! dnsAddress.sameValue(this) ) ) { logger.finer("handleQuery() Conflicting probe detected. dns state " + dns.getState() + " lex compare " + lexCompare(dnsAddress)); if (dns.getState().isProbing() && lexCompare(dnsAddress) >= 0) { dns.getLocalHost().incrementHostName(); dns.getCache().clear(); for (Iterator i=dns.services.values().iterator(); i.hasNext(); ) { ServiceInfo info = (ServiceInfo) i.next(); info.revertState(); }
boolean handleQuery(JmDNS dns, long expirationTime) { if (dns.host.sameName(this) && ! dns.host.sameValue(this)) { if (dns.debug > 1) System.out.println("JmDNS DNSRecord.Address.handleQuery() Conflicting probe detected"); // Tie-breaker test if (dns.getState().isProbing() && lexCompare(dns.host) >= 0) { // We lost the tie-break. We have to choose a different name. dns.host.name = dns.incrementHostName(dns.host.getName()); dns.getCache().clear(); for (Iterator i=dns.services.values().iterator(); i.hasNext(); ) { ServiceInfo info = (ServiceInfo) i.next(); info.revertState(); } } dns.revertState(); return true; } return false; }
2281 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2281/3fae35de8c4ce868da36396d46828869c5809036/DNSRecord.java/clean/jmdns/src/javax/jmdns/DNSRecord.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1250, 1640, 1138, 12, 46, 81, 11602, 6605, 16, 1525, 7686, 950, 13, 288, 5411, 309, 261, 14926, 18, 2564, 18, 14307, 461, 12, 2211, 13, 597, 401, 6605, 18, 2564, 18, 14307, 620, 12, 2211, 3719, 288, 7734, 309, 261, 14926, 18, 4148, 405, 404, 13, 2332, 18, 659, 18, 8222, 2932, 46, 81, 11602, 8858, 2115, 18, 1887, 18, 4110, 1138, 1435, 23460, 310, 10695, 8316, 8863, 7734, 368, 399, 1385, 17, 8820, 264, 1842, 7734, 309, 261, 14926, 18, 588, 1119, 7675, 291, 9152, 310, 1435, 597, 5275, 8583, 12, 14926, 18, 2564, 13, 1545, 374, 13, 288, 10792, 368, 1660, 13557, 326, 25318, 17, 8820, 18, 1660, 1240, 358, 9876, 279, 3775, 508, 18, 10792, 6605, 18, 2564, 18, 529, 273, 6605, 18, 15016, 20946, 12, 14926, 18, 2564, 18, 17994, 10663, 10792, 6605, 18, 588, 1649, 7675, 8507, 5621, 10792, 364, 261, 3198, 277, 33, 14926, 18, 8387, 18, 2372, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 13491, 1956, 966, 1123, 273, 261, 1179, 966, 13, 277, 18, 4285, 5621, 13491, 1123, 18, 266, 1097, 1119, 5621, 10792, 289, 4766, 565, 289, 7734, 6605, 18, 266, 1097, 1119, 5621, 7734, 327, 638, 31, 18701, 289, 5411, 327, 629, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 540, 1250, 1640, 1138, 12, 46, 81, 11602, 6605, 16, 1525, 7686, 950, 13, 288, 5411, 309, 261, 14926, 18, 2564, 18, 14307, 461, 12, 2211, 13, 597, 401, 6605, 18, 2564, 18, 14307, 620, 12, 2211, 3719, 288, 7734, 309, 261, 14926, 18, 4148, 405, 404, 13, 2332, 18, 659, 18, 8222, 2932, 46, 81, 11602, 8858, 2115, 18, 1887, 18, 4110, 1138, 1435, 23460, 310, 10695, 8316, 8863, 7734, 368, 399, 1385, 17, 8820, 264, 1842, 7734, 309, 261, 14926, 18, 588, 1119, 7675, 291, 9152, 310, 1435, 597, 5275, 8583, 12, 14926, 18, 2564, 13, 1545, 374, 13, 288, 10792, 368, 1660, 13557, 326, 25318, 17, 8820, 18, 1660, 1240, 358, 9876, 279, 3775, 508, 18, 2 ]
{ SecurityManager sm = System.getSecurityManager(); if(sm != null) sm.checkPermission( new SecurityPermission("setPolicy") );
{ SecurityManager sm = System.getSecurityManager(); if(sm != null) sm.checkPermission( new SecurityPermission("setPolicy") );
public static void setPolicy(Policy policy){ SecurityManager sm = System.getSecurityManager(); if(sm != null) sm.checkPermission( new SecurityPermission("setPolicy") ); currentPolicy = policy;}
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/929d12f9c1cf27322f4228118023127504d9e8ac/Policy.java/buggy/java/security/Policy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 918, 444, 2582, 12, 2582, 3329, 15329, 202, 4368, 1318, 3029, 273, 2332, 18, 588, 4368, 1318, 5621, 202, 430, 12, 4808, 480, 446, 13, 202, 202, 4808, 18, 1893, 5041, 12, 394, 6036, 5041, 2932, 542, 2582, 7923, 11272, 202, 2972, 2582, 273, 3329, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 918, 444, 2582, 12, 2582, 3329, 15329, 202, 4368, 1318, 3029, 273, 2332, 18, 588, 4368, 1318, 5621, 202, 430, 12, 4808, 480, 446, 13, 202, 202, 4808, 18, 1893, 5041, 12, 394, 6036, 5041, 2932, 542, 2582, 7923, 11272, 202, 2972, 2582, 273, 3329, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw recv.getRuntime().newNameError("identifier " + name + " needs to be constant");
throw recv.getRuntime().newNameError("identifier " + name + " needs to be constant", name);
public static RubyClass newInstance(IRubyObject recv, IRubyObject[] args) { String name = null; if (args.length > 0 && args[0] instanceof RubyString) { name = args[0].toString(); } RubyArray member = recv.getRuntime().newArray(); for (int i = name == null ? 0 : 1; i < args.length; i++) { member.append(RubySymbol.newSymbol(recv.getRuntime(), args[i].asSymbol())); } RubyClass newStruct; if (name == null) { newStruct = new RubyClass((RubyClass) recv); } else { if (!IdUtil.isConstant(name)) { throw recv.getRuntime().newNameError("identifier " + name + " needs to be constant"); } newStruct = ((RubyClass) recv).defineClassUnder(name, (RubyClass) recv); } newStruct.setInstanceVariable("__size__", member.length()); newStruct.setInstanceVariable("__member__", member); CallbackFactory callbackFactory = recv.getRuntime().callbackFactory(RubyStruct.class); newStruct.defineSingletonMethod("new", callbackFactory.getOptSingletonMethod("newStruct")); newStruct.defineSingletonMethod("[]", callbackFactory.getOptSingletonMethod("newStruct")); newStruct.defineSingletonMethod("members", callbackFactory.getSingletonMethod("members")); // define access methods. for (int i = name == null ? 0 : 1; i < args.length; i++) { String memberName = args[i].asSymbol(); newStruct.defineMethod(memberName, callbackFactory.getMethod("get")); newStruct.defineMethod(memberName + "=", callbackFactory.getMethod("set", IRubyObject.class)); } return newStruct; }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/1278c5bb3507a052d150d814f15453542ae41aed/RubyStruct.java/buggy/src/org/jruby/RubyStruct.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 5984, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 514, 508, 273, 446, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 597, 833, 63, 20, 65, 1276, 19817, 780, 13, 288, 5411, 508, 273, 833, 63, 20, 8009, 10492, 5621, 3639, 289, 3639, 19817, 1076, 3140, 273, 10665, 18, 588, 5576, 7675, 2704, 1076, 5621, 3639, 364, 261, 474, 277, 273, 508, 422, 446, 692, 374, 294, 404, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 3140, 18, 6923, 12, 54, 10340, 5335, 18, 2704, 5335, 12, 18334, 18, 588, 5576, 9334, 833, 63, 77, 8009, 345, 5335, 1435, 10019, 3639, 289, 3639, 19817, 797, 394, 3823, 31, 3639, 309, 261, 529, 422, 446, 13, 288, 5411, 394, 3823, 273, 394, 19817, 797, 12443, 54, 10340, 797, 13, 10665, 1769, 3639, 289, 469, 288, 5411, 309, 16051, 548, 1304, 18, 291, 6902, 12, 529, 3719, 288, 7734, 604, 10665, 18, 588, 5576, 7675, 2704, 461, 668, 2932, 5644, 315, 397, 508, 397, 315, 4260, 358, 506, 5381, 3113, 508, 1769, 5411, 289, 5411, 394, 3823, 273, 14015, 54, 10340, 797, 13, 10665, 2934, 11255, 797, 14655, 12, 529, 16, 261, 54, 10340, 797, 13, 10665, 1769, 3639, 289, 3639, 394, 3823, 18, 542, 1442, 3092, 2932, 972, 1467, 972, 3113, 3140, 18, 2469, 10663, 3639, 394, 3823, 18, 542, 1442, 3092, 2932, 972, 5990, 972, 3113, 3140, 1769, 3639, 8444, 1733, 1348, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 5984, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 514, 508, 273, 446, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 597, 833, 63, 20, 65, 1276, 19817, 780, 13, 288, 5411, 508, 273, 833, 63, 20, 8009, 10492, 5621, 3639, 289, 3639, 19817, 1076, 3140, 273, 10665, 18, 588, 5576, 7675, 2704, 1076, 5621, 3639, 364, 261, 474, 277, 273, 508, 422, 446, 692, 374, 294, 404, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 3140, 18, 6923, 12, 54, 10340, 5335, 18, 2704, 5335, 12, 18334, 18, 588, 5576, 9334, 833, 63, 77, 8009, 345, 5335, 1435, 10019, 3639, 289, 3639, 19817, 2 ]
} else { myLogger.error("SolarPowerPS: no light input!"); return randomFilter(0);
float calculatePowerProduced() { SimEnvironment lightInput = getLightConsumerDefinition() .getEnvironments()[0]; //Varying stream of power if (lightInput != null) { float powerGenerated = getCurrentUpperPowerGeneration() * (lightInput.getLightIntensity() / lightInput .getMaxLumens()); return randomFilter(powerGenerated); } else { myLogger.error("SolarPowerPS: no light input!"); return randomFilter(0); } }
5015 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5015/6925431c436dac1dff1860acb5e82373e91f018d/SolarPowerPS.java/clean/BIOSIM/src/com/traclabs/biosim/server/simulation/power/SolarPowerPS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1431, 4604, 13788, 8390, 3263, 1435, 288, 3639, 9587, 5494, 9052, 1210, 273, 9014, 750, 5869, 1852, 1435, 7734, 263, 588, 28749, 1435, 63, 20, 15533, 3639, 368, 58, 814, 310, 1407, 434, 7212, 3639, 309, 261, 5099, 1210, 480, 446, 13, 288, 5411, 1431, 7212, 7823, 273, 5175, 5988, 13788, 13842, 1435, 10792, 380, 261, 5099, 1210, 18, 588, 12128, 27786, 1435, 342, 9052, 1210, 18701, 263, 588, 2747, 48, 379, 773, 10663, 5411, 327, 2744, 1586, 12, 12238, 7823, 1769, 3639, 289, 469, 288, 5411, 3399, 3328, 18, 1636, 2932, 20608, 297, 13788, 5857, 30, 1158, 9052, 810, 4442, 1769, 5411, 327, 2744, 1586, 12, 20, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1431, 4604, 13788, 8390, 3263, 1435, 288, 3639, 9587, 5494, 9052, 1210, 273, 9014, 750, 5869, 1852, 1435, 7734, 263, 588, 28749, 1435, 63, 20, 15533, 3639, 368, 58, 814, 310, 1407, 434, 7212, 3639, 309, 261, 5099, 1210, 480, 446, 13, 288, 5411, 1431, 7212, 7823, 273, 5175, 5988, 13788, 13842, 1435, 10792, 380, 261, 5099, 1210, 18, 588, 12128, 27786, 1435, 342, 9052, 1210, 18701, 263, 588, 2747, 48, 379, 773, 10663, 5411, 327, 2744, 1586, 12, 12238, 7823, 1769, 3639, 289, 469, 288, 5411, 3399, 3328, 18, 1636, 2932, 20608, 297, 13788, 5857, 30, 1158, 9052, 810, 4442, 1769, 5411, 327, 2744, 1586, 12, 20, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100 ]
stringClass.includeModule(ruby.getRubyClass("Comparable"));
public static RubyClass createStringClass(Ruby ruby) { org.jruby.RubyClass stringClass = ruby.defineClass("String", ruby.getObjectClass()); // stringClass.includeModule(ruby.getModules().getComparable()); // stringClass.includeModule(ruby.getModules().getEnumerable()); stringClass.defineSingletonMethod("new", getSingletonMethodNew()); stringClass.defineMethod("initialize", getMethodInitialize());/* rb_define_method(rb_cString, "clone", rb_str_clone, 0); rb_define_method(rb_cString, "dup", rb_str_dup, 0); rb_define_method(rb_cString, "<=>", rb_str_cmp_m, 1); rb_define_method(rb_cString, "==", rb_str_equal, 1); rb_define_method(rb_cString, "===", rb_str_equal, 1); rb_define_method(rb_cString, "eql?", rb_str_equal, 1); rb_define_method(rb_cString, "hash", rb_str_hash_m, 0); rb_define_method(rb_cString, "+", rb_str_plus, 1); rb_define_method(rb_cString, "*", rb_str_times, 1); rb_define_method(rb_cString, "%", rb_str_format, 1); */ stringClass.defineMethod("[]", getMethodSlice()); /*rb_define_method(rb_cString, "[]=", rb_str_aset_m, -1); rb_define_method(rb_cString, "length", rb_str_length, 0); rb_define_method(rb_cString, "size", rb_str_length, 0); rb_define_method(rb_cString, "empty?", rb_str_empty, 0); rb_define_method(rb_cString, "=~", rb_str_match, 1); rb_define_method(rb_cString, "~", rb_str_match2, 0); rb_define_method(rb_cString, "succ", rb_str_succ, 0); rb_define_method(rb_cString, "succ!", rb_str_succ_bang, 0); rb_define_method(rb_cString, "next", rb_str_succ, 0); rb_define_method(rb_cString, "next!", rb_str_succ_bang, 0); rb_define_method(rb_cString, "upto", rb_str_upto_m, 1); rb_define_method(rb_cString, "index", rb_str_index_m, -1); rb_define_method(rb_cString, "rindex", rb_str_rindex, -1); rb_define_method(rb_cString, "replace", rb_str_replace_m, 1); rb_define_method(rb_cString, "to_i", rb_str_to_i, 0); rb_define_method(rb_cString, "to_f", rb_str_to_f, 0); rb_define_method(rb_cString, "to_s", rb_str_to_s, 0); rb_define_method(rb_cString, "to_str", rb_str_to_s, 0); rb_define_method(rb_cString, "inspect", rb_str_inspect, 0); rb_define_method(rb_cString, "dump", rb_str_dump, 0); rb_define_method(rb_cString, "upcase", rb_str_upcase, 0); rb_define_method(rb_cString, "downcase", rb_str_downcase, 0); rb_define_method(rb_cString, "capitalize", rb_str_capitalize, 0); rb_define_method(rb_cString, "swapcase", rb_str_swapcase, 0); rb_define_method(rb_cString, "upcase!", rb_str_upcase_bang, 0); rb_define_method(rb_cString, "downcase!", rb_str_downcase_bang, 0); rb_define_method(rb_cString, "capitalize!", rb_str_capitalize_bang, 0); rb_define_method(rb_cString, "swapcase!", rb_str_swapcase_bang, 0); rb_define_method(rb_cString, "hex", rb_str_hex, 0); rb_define_method(rb_cString, "oct", rb_str_oct, 0); rb_define_method(rb_cString, "split", rb_str_split_m, -1);*/ stringClass.defineMethod("reverse", getMethodReverse()); /*rb_define_method(rb_cString, "reverse!", rb_str_reverse_bang, 0); rb_define_method(rb_cString, "concat", rb_str_concat, 1); rb_define_method(rb_cString, "<<", rb_str_concat, 1); rb_define_method(rb_cString, "crypt", rb_str_crypt, 1); rb_define_method(rb_cString, "intern", rb_str_intern, 0); rb_define_method(rb_cString, "include?", rb_str_include, 1); rb_define_method(rb_cString, "scan", rb_str_scan, 1); rb_define_method(rb_cString, "ljust", rb_str_ljust, 1); rb_define_method(rb_cString, "rjust", rb_str_rjust, 1); rb_define_method(rb_cString, "center", rb_str_center, 1); rb_define_method(rb_cString, "sub", rb_str_sub, -1); rb_define_method(rb_cString, "gsub", rb_str_gsub, -1); rb_define_method(rb_cString, "chop", rb_str_chop, 0); rb_define_method(rb_cString, "chomp", rb_str_chomp, -1); rb_define_method(rb_cString, "strip", rb_str_strip, 0); rb_define_method(rb_cString, "sub!", rb_str_sub_bang, -1); rb_define_method(rb_cString, "gsub!", rb_str_gsub_bang, -1); rb_define_method(rb_cString, "strip!", rb_str_strip_bang, 0); rb_define_method(rb_cString, "chop!", rb_str_chop_bang, 0); rb_define_method(rb_cString, "chomp!", rb_str_chomp_bang, -1); rb_define_method(rb_cString, "tr", rb_str_tr, 2); rb_define_method(rb_cString, "tr_s", rb_str_tr_s, 2); rb_define_method(rb_cString, "delete", rb_str_delete, -1); rb_define_method(rb_cString, "squeeze", rb_str_squeeze, -1); rb_define_method(rb_cString, "count", rb_str_count, -1); rb_define_method(rb_cString, "tr!", rb_str_tr_bang, 2); rb_define_method(rb_cString, "tr_s!", rb_str_tr_s_bang, 2); rb_define_method(rb_cString, "delete!", rb_str_delete_bang, -1); rb_define_method(rb_cString, "squeeze!", rb_str_squeeze_bang, -1); rb_define_method(rb_cString, "each_line", rb_str_each_line, -1); rb_define_method(rb_cString, "each", rb_str_each_line, -1); rb_define_method(rb_cString, "each_byte", rb_str_each_byte, 0); rb_define_method(rb_cString, "sum", rb_str_sum, -1); rb_define_global_function("sub", rb_f_sub, -1); rb_define_global_function("gsub", rb_f_gsub, -1); rb_define_global_function("sub!", rb_f_sub_bang, -1); rb_define_global_function("gsub!", rb_f_gsub_bang, -1); rb_define_global_function("chop", rb_f_chop, 0); rb_define_global_function("chop!", rb_f_chop_bang, 0); rb_define_global_function("chomp", rb_f_chomp, -1); rb_define_global_function("chomp!", rb_f_chomp_bang, -1); rb_define_global_function("split", rb_f_split, -1); rb_define_global_function("scan", rb_f_scan, 1);*/ stringClass.defineMethod("slice", getMethodSlice()); /*rb_define_method(rb_cString, "slice!", rb_str_slice_bang, -1); id_to_s = rb_intern("to_s"); rb_fs = Qnil; rb_define_hooked_variable("$;", &rb_fs, 0, rb_str_setter); rb_define_hooked_variable("$-F", &rb_fs, 0, rb_str_setter);*/ return stringClass; }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/RbString.java/buggy/org/jruby/core/RbString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 1071, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 760, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 19817, 797, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 752, 780, 797, 12, 54, 10340, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 22155, 13, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 288, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 533, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 1071, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 760, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 799, 10207, 7923, 1769, 19817, 797, 1080, 797, 18, 6702, 3120, 12, 27768, 18, 588, 54, 10340, 797, 2932, 2 ]
ICElement elem= project.findElement(file.getFullPath()); if (elem instanceof ITranslationUnit) { ITranslationUnit tu= (ITranslationUnit) elem; if (tu != null) { return tu.getAST(index, ITranslationUnit.AST_SKIP_INDEXED_HEADERS); } } fail("Could not create ast for " + file.getFullPath()); return null;
return TestSourceReader.createIndexBasedAST(index, project, file);
protected IASTTranslationUnit createIndexBasedAST(IIndex index, ICProject project, IFile file) throws CModelException, CoreException { ICElement elem= project.findElement(file.getFullPath()); if (elem instanceof ITranslationUnit) { ITranslationUnit tu= (ITranslationUnit) elem; if (tu != null) { return tu.getAST(index, ITranslationUnit.AST_SKIP_INDEXED_HEADERS); } } fail("Could not create ast for " + file.getFullPath()); return null; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/525d297214005c520c0fe08bf649d2f853fad98e/BaseUITestCase.java/buggy/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/BaseUITestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 9053, 6717, 2802, 25207, 9802, 9053, 12, 45, 1016, 770, 16, 26899, 4109, 1984, 16, 467, 812, 585, 13, 1216, 385, 1488, 503, 16, 30015, 288, 377, 202, 2871, 1046, 3659, 33, 1984, 18, 4720, 1046, 12, 768, 18, 588, 24173, 10663, 377, 202, 430, 261, 10037, 1276, 467, 6717, 2802, 13, 288, 377, 202, 202, 45, 6717, 2802, 28325, 33, 261, 45, 6717, 2802, 13, 3659, 31, 377, 202, 202, 430, 261, 88, 89, 480, 446, 13, 288, 377, 1082, 202, 2463, 28325, 18, 588, 9053, 12, 1615, 16, 467, 6717, 2802, 18, 9053, 67, 22589, 67, 9199, 2056, 67, 24619, 1769, 377, 202, 202, 97, 377, 202, 97, 377, 202, 6870, 2932, 4445, 486, 752, 3364, 364, 315, 397, 585, 18, 588, 24173, 10663, 377, 202, 2463, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 9053, 6717, 2802, 25207, 9802, 9053, 12, 45, 1016, 770, 16, 26899, 4109, 1984, 16, 467, 812, 585, 13, 1216, 385, 1488, 503, 16, 30015, 288, 377, 202, 2871, 1046, 3659, 33, 1984, 18, 4720, 1046, 12, 768, 18, 588, 24173, 10663, 377, 202, 430, 261, 10037, 1276, 467, 6717, 2802, 13, 288, 377, 202, 202, 45, 6717, 2802, 28325, 33, 261, 45, 6717, 2802, 13, 3659, 31, 377, 202, 202, 430, 261, 88, 89, 480, 446, 13, 288, 377, 1082, 202, 2463, 28325, 18, 588, 9053, 12, 1615, 16, 467, 6717, 2802, 18, 9053, 67, 22589, 67, 9199, 2056, 67, 24619, 1769, 377, 202, 202, 97, 377, 202, 97, 377, 202, 6870, 2932, 4445, 486, 2 ]
final List inspectionClasses = m_inspectionClasses;
final List<Class> inspectionClasses = m_inspectionClasses;
private void registerMethodMetricsInspections(){ final List inspectionClasses = m_inspectionClasses; inspectionClasses.add(ThreeNegationsPerMethodInspection.class); inspectionClasses.add(MethodWithMultipleLoopsInspection.class); inspectionClasses.add(MultipleReturnPointsPerMethodInspection.class); inspectionClasses.add(ThrownExceptionsPerMethodInspection.class); inspectionClasses.add(ParametersPerMethodInspection.class); inspectionClasses.add(CyclomaticComplexityInspection.class); inspectionClasses.add(NestingDepthInspection.class); inspectionClasses.add(NonCommentSourceStatementsInspection.class); inspectionClasses.add(MethodCouplingInspection.class); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/2d46d291193579a7564649b4881c7ea8e02eda5b/InspectionGadgetsPlugin.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/InspectionGadgetsPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1744, 1305, 5653, 14985, 87, 1435, 95, 3639, 727, 987, 32, 797, 34, 2763, 7017, 4818, 273, 312, 67, 2679, 7017, 4818, 31, 3639, 2763, 7017, 4818, 18, 1289, 12, 28019, 14337, 1012, 2173, 1305, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 1305, 1190, 8438, 31409, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 8438, 990, 5636, 2173, 1305, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 29591, 11416, 2173, 1305, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 2402, 2173, 1305, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 17992, 830, 4941, 12795, 560, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 50, 10100, 6148, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 3989, 4469, 1830, 14663, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 1305, 39, 28322, 14985, 18, 1106, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 3238, 918, 1744, 1305, 5653, 14985, 87, 1435, 95, 3639, 727, 987, 32, 797, 34, 2763, 7017, 4818, 273, 312, 67, 2679, 7017, 4818, 31, 3639, 2763, 7017, 4818, 18, 1289, 12, 28019, 14337, 1012, 2173, 1305, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 1305, 1190, 8438, 31409, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 8438, 990, 5636, 2173, 1305, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 29591, 11416, 2173, 1305, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 2402, 2173, 1305, 14985, 18, 1106, 1769, 3639, 2763, 7017, 4818, 18, 1289, 12, 17992, 830, 4941, 12795, 560, 14985, 18, 1106, 1769, 3639, 2 ]
def = testF2(file, offset);
def = testCtrl_F3(file, offset);
public void testNoDefinitions() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("extern int a1; // declares a\n"); //$NON-NLS-1$ buffer.append("extern const int c1; // declares c\n"); //$NON-NLS-1$ buffer.append("int f1(int); // declares f\n"); //$NON-NLS-1$ buffer.append("struct S1; // declares S\n"); //$NON-NLS-1$ buffer.append("typedef int Int; // declares Int\n"); //$NON-NLS-1$ String code = buffer.toString(); IFile file = importFile("testNoDefinitions.c", code); //$NON-NLS-1$ int offset = code.indexOf("a1; // declares a"); //$NON-NLS-1$ IASTNode def = testF2(file, offset); IASTNode decl = testF3(file, offset); try { assertNull(def); // TODO raised bug 96689 assertTrue(false); // try/catch/assertTrue(false) added to alert the tester when this test passes! } catch (AssertionFailedError e) {} assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "a1"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 11); assertEquals(((ASTNode)decl).getLength(), 2); offset = code.indexOf("c1; // declares c"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); try { assertNull(def); // TODO raised bug 96689 assertTrue(false); // try/catch/assertTrue(false) added to alert the tester when this test passes! } catch (AssertionFailedError e) {} assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "c1"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 46); assertEquals(((ASTNode)decl).getLength(), 2); offset = code.indexOf("f1(int); // declares f"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertNull(def); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "f1"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 68); assertEquals(((ASTNode)decl).getLength(), 2); offset = code.indexOf("S1; // declares S"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); try { assertNull(def); // TODO raised bug 96690 assertTrue(false); // try/catch/assertTrue(false) added to alert the tester when this test passes! } catch (AssertionFailedError e) {} assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "S1"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 98); assertEquals(((ASTNode)decl).getLength(), 2); offset = code.indexOf("Int; // declares Int"); //$NON-NLS-1$ def = testF2(file, offset); decl = testF3(file, offset); assertTrue(def instanceof IASTName); assertTrue(decl instanceof IASTName); assertEquals(((IASTName)decl).toString(), "Int"); //$NON-NLS-1$ assertEquals(((ASTNode)decl).getOffset(), 128); assertEquals(((ASTNode)decl).getLength(), 3); assertEquals(((IASTName)def).toString(), "Int"); //$NON-NLS-1$ assertEquals(((ASTNode)def).getOffset(), 128); assertEquals(((ASTNode)def).getLength(), 3); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a80f774ac034fed44b578ede9c708e773e1fabcf/CPPSelectionTestsCTagsIndexer.java/clean/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selectiontests/CPPSelectionTestsCTagsIndexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 2279, 7130, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 4106, 18, 6923, 2932, 338, 798, 509, 279, 21, 31, 368, 3496, 4807, 279, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 338, 798, 1866, 509, 276, 21, 31, 368, 3496, 4807, 276, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 474, 284, 21, 12, 474, 1769, 368, 3496, 4807, 284, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 1697, 348, 21, 31, 368, 3496, 4807, 348, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 723, 536, 509, 3094, 31, 368, 3496, 4807, 3094, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 3639, 514, 981, 273, 1613, 18, 10492, 5621, 3639, 467, 812, 585, 273, 1930, 812, 2932, 3813, 2279, 7130, 18, 71, 3113, 981, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 509, 1384, 273, 981, 18, 31806, 2932, 69, 21, 31, 368, 3496, 4807, 279, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 467, 9053, 907, 1652, 273, 1842, 12418, 67, 42, 23, 12, 768, 16, 1384, 1769, 3639, 467, 9053, 907, 3496, 273, 1842, 42, 23, 12, 768, 16, 1384, 1769, 3639, 775, 288, 540, 202, 11231, 2041, 12, 536, 1769, 368, 2660, 11531, 7934, 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, 2279, 7130, 1435, 1216, 1185, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 4106, 18, 6923, 2932, 338, 798, 509, 279, 21, 31, 368, 3496, 4807, 279, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 338, 798, 1866, 509, 276, 21, 31, 368, 3496, 4807, 276, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 474, 284, 21, 12, 474, 1769, 368, 3496, 4807, 284, 64, 82, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4106, 18, 6923, 2932, 1697, 348, 21, 31, 368, 3496, 4807, 348, 64, 82, 8863, 4329, 3993, 17, 2 ]
return 0;
return 0;
public int $tag() { return 0; }
5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/27b51e096e467f35a33e37e0191031477ea9ba8b/Array.java/buggy/sources/scala/Array.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 271, 2692, 1435, 288, 377, 202, 2463, 374, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 271, 2692, 1435, 288, 377, 202, 2463, 374, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IASTExpression firstExpression, IASTExpression secondExpression, int lastOffset) { IASTBinaryExpression result = createBinaryExpression(); result.setOperator(operator); int o = ((ASTNode) firstExpression).getOffset(); ((ASTNode) result).setOffsetAndLength(o, lastOffset - o); result.setOperand1(firstExpression); firstExpression.setParent(result); firstExpression.setPropertyInParent(IASTBinaryExpression.OPERAND_ONE); result.setOperand2(secondExpression); secondExpression.setParent(result); secondExpression.setPropertyInParent(IASTBinaryExpression.OPERAND_TWO); return result; }
IASTExpression firstExpression, IASTExpression secondExpression, int lastOffset) { IASTBinaryExpression result = createBinaryExpression(); result.setOperator(operator); int o = ((ASTNode) firstExpression).getOffset(); ((ASTNode) result).setOffsetAndLength(o, lastOffset - o); result.setOperand1(firstExpression); firstExpression.setParent(result); firstExpression.setPropertyInParent(IASTBinaryExpression.OPERAND_ONE); result.setOperand2(secondExpression); secondExpression.setParent(result); secondExpression.setPropertyInParent(IASTBinaryExpression.OPERAND_TWO); return result; }
protected IASTExpression buildBinaryExpression(int operator, IASTExpression firstExpression, IASTExpression secondExpression, int lastOffset) { IASTBinaryExpression result = createBinaryExpression(); result.setOperator(operator); int o = ((ASTNode) firstExpression).getOffset(); ((ASTNode) result).setOffsetAndLength(o, lastOffset - o); result.setOperand1(firstExpression); firstExpression.setParent(result); firstExpression.setPropertyInParent(IASTBinaryExpression.OPERAND_ONE); result.setOperand2(secondExpression); secondExpression.setParent(result); secondExpression.setPropertyInParent(IASTBinaryExpression.OPERAND_TWO); return result; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/98145350e052e39e57313251e0f805a20472a08d/AbstractGNUSourceCodeParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/AbstractGNUSourceCodeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 2300, 1361, 5905, 2300, 12, 474, 3726, 16, 540, 467, 9053, 2300, 1122, 2300, 16, 467, 9053, 2300, 2205, 2300, 16, 540, 509, 1142, 2335, 13, 288, 1377, 467, 9053, 5905, 2300, 563, 273, 752, 5905, 2300, 5621, 1377, 563, 18, 542, 5592, 12, 9497, 1769, 1377, 509, 320, 273, 14015, 9053, 907, 13, 1122, 2300, 2934, 588, 2335, 5621, 1377, 14015, 9053, 907, 13, 563, 2934, 542, 2335, 1876, 1782, 12, 83, 16, 1142, 2335, 300, 320, 1769, 1377, 563, 18, 542, 10265, 21, 12, 3645, 2300, 1769, 1377, 1122, 2300, 18, 542, 3054, 12, 2088, 1769, 1377, 1122, 2300, 18, 542, 1396, 382, 3054, 12, 45, 9053, 5905, 2300, 18, 13950, 4307, 67, 5998, 1769, 1377, 563, 18, 542, 10265, 22, 12, 8538, 2300, 1769, 1377, 2205, 2300, 18, 542, 3054, 12, 2088, 1769, 1377, 2205, 2300, 18, 542, 1396, 382, 3054, 12, 45, 9053, 5905, 2300, 18, 13950, 4307, 67, 18869, 51, 1769, 1377, 327, 563, 31, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 2300, 1361, 5905, 2300, 12, 474, 3726, 16, 540, 467, 9053, 2300, 1122, 2300, 16, 467, 9053, 2300, 2205, 2300, 16, 540, 509, 1142, 2335, 13, 288, 1377, 467, 9053, 5905, 2300, 563, 273, 752, 5905, 2300, 5621, 1377, 563, 18, 542, 5592, 12, 9497, 1769, 1377, 509, 320, 273, 14015, 9053, 907, 13, 1122, 2300, 2934, 588, 2335, 5621, 1377, 14015, 9053, 907, 13, 563, 2934, 542, 2335, 1876, 1782, 12, 83, 16, 1142, 2335, 300, 320, 1769, 1377, 563, 18, 542, 10265, 21, 12, 3645, 2300, 1769, 1377, 1122, 2300, 18, 542, 3054, 12, 2088, 1769, 1377, 1122, 2300, 18, 542, 1396, 382, 3054, 12, 45, 9053, 5905, 2300, 18, 13950, 4307, 67, 2 ]
Reader in = new InputStreamReader(new CheckedInputStream(new FileInputStream(classes[i]), checksum), "8859_1") ;
Reader in = new InputStreamReader(new CheckedInputStream(new FileInputStream(files[i]), checksum), "8859_1") ;
public void checksumDirectory(File dir, ServletOutputStream out) throws java.io.IOException { Perl5Util perl = new Perl5Util() ; // Get all .class-files in /WEB-INF/classes File[] classes = dir.listFiles(this) ; // Loop through the classfiles and get a checksum for each. for (int i = 0; i < classes.length; ++i) { out.print(classes[i].getPath().substring(classes_path.length())+' ') ; Checksum checksum = new CRC32() ; int class_length = (int)classes[i].length() ; char[] buffer = new char[BUFFERLENGTH] ; Reader in = new InputStreamReader(new CheckedInputStream(new FileInputStream(classes[i]), checksum), "8859_1") ; StringBuffer file_buffer = new StringBuffer() ; // Read the classfile, and have the inputstream compute the checksum as we go. for (int read; -1 != (read = in.read(buffer,0,BUFFERLENGTH));) { file_buffer.append(buffer, 0, read) ; } ; // Find and print the revision. if (perl.match("/\\$"+"Revision: (\\d(?:\\.\\d)+) "+"\\$/",file_buffer.toString())) { String revision = perl.group(1) ; out.print(revision+' ') ; } else { out.print("Unknown ") ; } // Find and print the date. if (perl.match("/\\$"+"Date: (\\S+)\\s+(\\S+) "+"\\$/",file_buffer.toString())) { String date = perl.group(1) ; String time = perl.group(2) ; out.print(date+' '+time+' ') ; } else { out.print("Unknown ") ; } // Print the checksum. out.println(checksum.getValue()) ; } File[] subdirs = dir.listFiles(new DirectoryFilter()) ; for (int i = 0; i < subdirs.length; ++i) { checksumDirectory(subdirs[i],out) ; } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/fc971a19ca56698895763a90c450e521bfa86013/Version.java/buggy/servlets/Version.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6697, 2853, 12, 812, 1577, 16, 7971, 4632, 596, 13, 1216, 2252, 18, 1594, 18, 14106, 288, 202, 2173, 80, 25, 1304, 1534, 80, 273, 394, 5722, 80, 25, 1304, 1435, 274, 202, 759, 968, 777, 263, 1106, 17, 2354, 316, 342, 14778, 17, 19212, 19, 4701, 202, 812, 8526, 3318, 273, 1577, 18, 1098, 2697, 12, 2211, 13, 274, 202, 759, 9720, 3059, 326, 667, 2354, 471, 336, 279, 6697, 364, 1517, 18, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3318, 18, 2469, 31, 965, 77, 13, 288, 202, 565, 596, 18, 1188, 12, 4701, 63, 77, 8009, 588, 743, 7675, 28023, 12, 4701, 67, 803, 18, 2469, 10756, 6797, 8624, 274, 202, 565, 19760, 6697, 273, 394, 21773, 1578, 1435, 274, 202, 565, 509, 667, 67, 2469, 273, 261, 474, 13, 4701, 63, 77, 8009, 2469, 1435, 274, 202, 565, 1149, 8526, 1613, 273, 394, 1149, 63, 11302, 7096, 65, 274, 202, 565, 5393, 316, 273, 394, 15322, 12, 2704, 23975, 4348, 12, 2704, 11907, 12, 4701, 63, 77, 65, 3631, 6697, 3631, 315, 17258, 67, 21, 7923, 274, 202, 565, 6674, 585, 67, 4106, 273, 394, 6674, 1435, 274, 202, 565, 368, 2720, 326, 667, 768, 16, 471, 1240, 326, 810, 3256, 3671, 326, 6697, 487, 732, 1960, 18, 202, 565, 364, 261, 474, 855, 31, 300, 21, 480, 261, 896, 273, 316, 18, 896, 12, 4106, 16, 20, 16, 11302, 7096, 10019, 13, 288, 202, 202, 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, 377, 1071, 918, 6697, 2853, 12, 812, 1577, 16, 7971, 4632, 596, 13, 1216, 2252, 18, 1594, 18, 14106, 288, 202, 2173, 80, 25, 1304, 1534, 80, 273, 394, 5722, 80, 25, 1304, 1435, 274, 202, 759, 968, 777, 263, 1106, 17, 2354, 316, 342, 14778, 17, 19212, 19, 4701, 202, 812, 8526, 3318, 273, 1577, 18, 1098, 2697, 12, 2211, 13, 274, 202, 759, 9720, 3059, 326, 667, 2354, 471, 336, 279, 6697, 364, 1517, 18, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3318, 18, 2469, 31, 965, 77, 13, 288, 202, 565, 596, 18, 1188, 12, 4701, 63, 77, 8009, 588, 743, 7675, 28023, 12, 4701, 67, 803, 18, 2469, 10756, 6797, 8624, 274, 2 ]
System.out.println("Register: " + token);
public static void registerEditor(String token, Class editorClass) { initialize(); System.out.println("Register: " + token); // Register the new editor class with the given token if (editorClass != null) { if(mEditors.containsKey(token)) { System.out.println("contains key: " + token); java.util.List editorList = (java.util.List)mEditors.get(token); if(!editorList.contains(editorClass)) { System.out.println("new to List: " + token); editorList.add(editorClass); } } else { System.out.println("New token: " + token); java.util.List editorList = new ArrayList(); editorList.add(editorClass); mEditors.put(token, editorList); } } // We have been asked to remove the editor under the given token else { mEditors.remove(token); } System.out.println("Map: " + mEditors); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/15408765d1cf4b1f195e39bef157bdf11e34d719/CustomEditorRegistry.java/buggy/modules/jackal/editors/org/vrjuggler/jccl/editors/CustomEditorRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 918, 1744, 6946, 12, 780, 1147, 16, 1659, 4858, 797, 13, 282, 288, 1377, 4046, 5621, 8227, 368, 5433, 326, 394, 4858, 667, 598, 326, 864, 1147, 1377, 309, 261, 9177, 797, 480, 446, 13, 1377, 288, 540, 309, 12, 81, 4666, 1383, 18, 12298, 653, 12, 2316, 3719, 540, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 12298, 498, 30, 315, 397, 1147, 1769, 13491, 2252, 18, 1367, 18, 682, 4858, 682, 273, 261, 6290, 18, 1367, 18, 682, 13, 81, 4666, 1383, 18, 588, 12, 2316, 1769, 5411, 309, 12, 5, 9177, 682, 18, 12298, 12, 9177, 797, 3719, 5411, 288, 9079, 2332, 18, 659, 18, 8222, 2932, 2704, 358, 987, 30, 315, 397, 1147, 1769, 9079, 4858, 682, 18, 1289, 12, 9177, 797, 1769, 5411, 289, 540, 289, 540, 469, 540, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 1908, 1147, 30, 315, 397, 1147, 1769, 13491, 2252, 18, 1367, 18, 682, 4858, 682, 273, 394, 2407, 5621, 5411, 4858, 682, 18, 1289, 12, 9177, 797, 1769, 5411, 312, 4666, 1383, 18, 458, 12, 2316, 16, 4858, 682, 1769, 540, 289, 1377, 289, 1377, 368, 1660, 1240, 2118, 19279, 358, 1206, 326, 4858, 3613, 326, 864, 1147, 1377, 469, 1377, 288, 540, 312, 4666, 1383, 18, 4479, 12, 2316, 1769, 1377, 289, 1377, 2332, 18, 659, 18, 8222, 2932, 863, 30, 315, 397, 312, 4666, 1383, 1769, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 918, 1744, 6946, 12, 780, 1147, 16, 1659, 4858, 797, 13, 282, 288, 1377, 4046, 5621, 8227, 368, 5433, 326, 394, 4858, 667, 598, 326, 864, 1147, 1377, 309, 261, 9177, 797, 480, 446, 13, 1377, 288, 540, 309, 12, 81, 4666, 1383, 18, 12298, 653, 12, 2316, 3719, 540, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 12298, 498, 30, 315, 397, 1147, 1769, 13491, 2252, 18, 1367, 18, 682, 4858, 682, 273, 261, 6290, 18, 1367, 18, 682, 13, 81, 4666, 1383, 18, 588, 12, 2316, 1769, 5411, 309, 12, 5, 9177, 682, 18, 12298, 12, 9177, 797, 3719, 5411, 288, 9079, 2332, 18, 659, 18, 8222, 2932, 2704, 358, 987, 30, 315, 397, 2 ]
return attributeMaps[columnIndex].get(element).toString();
Object result = attributeMaps[columnIndex].get(element); return result == null ? "" : result.toString();
public String getColumnText(Object element, int columnIndex) { if (columnIndex < attributeMaps.length) { return attributeMaps[columnIndex].get(element).toString(); } return null; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/1cfd7a35651cc6f1b8f35bc08a2de3b1ee1ba52b/ObservableMapLabelProvider.java/buggy/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/viewers/ObservableMapLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 6716, 1528, 12, 921, 930, 16, 509, 14882, 13, 288, 202, 202, 430, 261, 2827, 1016, 411, 1566, 8903, 18, 2469, 13, 288, 1082, 202, 2463, 1566, 8903, 63, 2827, 1016, 8009, 588, 12, 2956, 2934, 10492, 5621, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6716, 1528, 12, 921, 930, 16, 509, 14882, 13, 288, 202, 202, 430, 261, 2827, 1016, 411, 1566, 8903, 18, 2469, 13, 288, 1082, 202, 2463, 1566, 8903, 63, 2827, 1016, 8009, 588, 12, 2956, 2934, 10492, 5621, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super(children, next, format, lang, letterValue, groupingSeparator, groupingSize);
super(format, lang, letterValue, groupingSeparator, groupingSize);
NodeNumberNode(TemplateNode children, TemplateNode next, int level, Pattern count, Pattern from, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next, format, lang, letterValue, groupingSeparator, groupingSize); this.level = level; this.count = count; this.from = from; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/363fe84fd732aa8ca3562fb0734fe48ee20c2c65/NodeNumberNode.java/buggy/libraries/javalib/gnu/xml/transform/NodeNumberNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 2029, 1854, 907, 12, 2283, 907, 2325, 16, 5035, 907, 1024, 16, 1171, 509, 1801, 16, 6830, 1056, 16, 6830, 628, 16, 1171, 5035, 907, 740, 16, 514, 3303, 16, 1171, 509, 9471, 620, 16, 514, 12116, 6581, 16, 509, 12116, 1225, 13, 225, 288, 565, 2240, 12, 5906, 16, 1024, 16, 740, 16, 3303, 16, 9471, 620, 16, 12116, 6581, 16, 1850, 12116, 1225, 1769, 565, 333, 18, 2815, 273, 1801, 31, 565, 333, 18, 1883, 273, 1056, 31, 565, 333, 18, 2080, 273, 628, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 2029, 1854, 907, 12, 2283, 907, 2325, 16, 5035, 907, 1024, 16, 1171, 509, 1801, 16, 6830, 1056, 16, 6830, 628, 16, 1171, 5035, 907, 740, 16, 514, 3303, 16, 1171, 509, 9471, 620, 16, 514, 12116, 6581, 16, 509, 12116, 1225, 13, 225, 288, 565, 2240, 12, 5906, 16, 1024, 16, 740, 16, 3303, 16, 9471, 620, 16, 12116, 6581, 16, 1850, 12116, 1225, 1769, 565, 333, 18, 2815, 273, 1801, 31, 565, 333, 18, 1883, 273, 1056, 31, 565, 333, 18, 2080, 273, 628, 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 ]
vnChildren = new HashMap<String, VNObject>();
vnChildren = new ConcurrentHashMap<String, VNObject>();
public WorldObject() { super(null); vnChildren = new HashMap<String, VNObject>(); monitorThread = new MonitorThread(this); addObserver(monitorThread); // Record the model this.name = ModelRecorder.getInstance().addModel(this); }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/64a00b6d313fc2b3680346148d1257ba4095e408/WorldObject.java/buggy/ic2d-plugins/org.objectweb.proactive.ic2d.monitoring/src/org/objectweb/proactive/ic2d/monitoring/data/WorldObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 21820, 921, 1435, 288, 3639, 2240, 12, 2011, 1769, 3639, 21732, 4212, 273, 394, 15242, 8658, 32, 780, 16, 776, 50, 921, 34, 5621, 3639, 6438, 3830, 273, 394, 14086, 3830, 12, 2211, 1769, 3639, 527, 11048, 12, 10259, 3830, 1769, 7734, 368, 5059, 326, 938, 3639, 333, 18, 529, 273, 3164, 10777, 18, 588, 1442, 7675, 1289, 1488, 12, 2211, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 482, 21820, 921, 1435, 288, 3639, 2240, 12, 2011, 1769, 3639, 21732, 4212, 273, 394, 15242, 8658, 32, 780, 16, 776, 50, 921, 34, 5621, 3639, 6438, 3830, 273, 394, 14086, 3830, 12, 2211, 1769, 3639, 527, 11048, 12, 10259, 3830, 1769, 7734, 368, 5059, 326, 938, 3639, 333, 18, 529, 273, 3164, 10777, 18, 588, 1442, 7675, 1289, 1488, 12, 2211, 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 ]
private void createEJBComponent(IDataModel model, IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException, ExecutionException{
private void createEJBComponent(IDataModel model, IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException, ExecutionException {
private void createEJBComponent(IDataModel model, IProgressMonitor monitor) throws CoreException, InvocationTargetException, InterruptedException, ExecutionException{ model.getDefaultOperation().execute(monitor, null); WTPActivityBridge.getInstance().enableActivity(ENTERPRISE_JAVA, true); }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/69dc33207fffb43ed93751e41f68ea1bbcfc9363/DefaultJ2EEComponentCreationOp.java/buggy/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/DefaultJ2EEComponentCreationOp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 22719, 1841, 12, 734, 396, 1488, 938, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 16, 15342, 16, 7558, 16, 20205, 288, 3639, 938, 18, 588, 1868, 2988, 7675, 8837, 12, 10259, 16, 446, 1769, 3639, 678, 11130, 6193, 13691, 18, 588, 1442, 7675, 7589, 6193, 12, 12278, 24263, 67, 27264, 16, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 22719, 1841, 12, 734, 396, 1488, 938, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 16, 15342, 16, 7558, 16, 20205, 288, 3639, 938, 18, 588, 1868, 2988, 7675, 8837, 12, 10259, 16, 446, 1769, 3639, 678, 11130, 6193, 13691, 18, 588, 1442, 7675, 7589, 6193, 12, 12278, 24263, 67, 27264, 16, 638, 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 ]
private AnAction getActionImpl(String id, boolean canReturnStub) { AnAction action = (AnAction)myId2Action.get(id); if (!canReturnStub && action instanceof ActionStub) { action = convert((ActionStub)action); } return action; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 979, 1803, 588, 1803, 2828, 12, 780, 350, 16, 6494, 4169, 990, 11974, 15329, 979, 1803, 1128, 28657, 979, 1803, 13, 4811, 548, 22, 1803, 18, 588, 12, 350, 1769, 430, 12, 5, 4169, 990, 11974, 10, 10, 1128, 1336, 792, 1803, 11974, 15329, 1128, 33, 6283, 12443, 1803, 11974, 13, 1128, 1769, 97, 2463, 1128, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 979, 1803, 588, 1803, 2828, 12, 780, 350, 16, 6494, 4169, 990, 11974, 15329, 979, 1803, 1128, 28657, 979, 1803, 13, 4811, 548, 22, 1803, 18, 588, 12, 350, 1769, 430, 12, 5, 4169, 990, 11974, 10, 10, 1128, 1336, 792, 1803, 11974, 15329, 1128, 33, 6283, 12443, 1803, 11974, 13, 1128, 1769, 97, 2463, 1128, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
tuple[2] = r.getBytes(1); tuple[3] = null;
tuple[2] = r.getBytes(1); tuple[3] = relKind.getBytes();
public java.sql.ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String types[]) throws SQLException { // Handle default value for types if(types==null) types = defaultTableTypes; if(tableNamePattern==null) tableNamePattern="%"; // the field descriptors for the new ResultSet Field f[] = new Field[5]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, new String("TABLE_CAT"), iVarcharOid, 32); f[1] = new Field(connection, new String("TABLE_SCHEM"), iVarcharOid, 32); f[2] = new Field(connection, new String("TABLE_NAME"), iVarcharOid, 32); f[3] = new Field(connection, new String("TABLE_TYPE"), iVarcharOid, 32); f[4] = new Field(connection, new String("REMARKS"), iVarcharOid, 32); // Now form the query StringBuffer sql = new StringBuffer("select relname,oid from pg_class where ("); boolean notFirst=false; for(int i=0;i<types.length;i++) { for(int j=0;j<getTableTypes.length;j++) if(getTableTypes[j][0].equals(types[i])) { if(notFirst) sql.append(" or "); sql.append(getTableTypes[j][1]); notFirst=true; } } // Added by Stefan Andreasen <stefan@linux.kapow.dk> // Now take the pattern into account sql.append(") and relname like '"); sql.append(tableNamePattern.toLowerCase()); sql.append("'"); // Now run the query r = connection.ExecSQL(sql.toString()); byte remarks[]; while (r.next()) { byte[][] tuple = new byte[5][0]; // Fetch the description for the table (if any) java.sql.ResultSet dr = connection.ExecSQL("select description from pg_description where objoid="+r.getInt(2)); if(((org.postgresql.ResultSet)dr).getTupleCount()==1) { dr.next(); remarks = dr.getBytes(1); } else remarks = defaultRemarks; dr.close(); tuple[0] = null; // Catalog name tuple[1] = null; // Schema name tuple[2] = r.getBytes(1); // Table name tuple[3] = null; // Table type tuple[4] = remarks; // Remarks v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/4f5cdadf03ae97de4fbd9ef90e15a080291b6a13/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 29002, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 1953, 63, 5717, 1216, 6483, 225, 288, 565, 368, 5004, 805, 460, 364, 1953, 565, 309, 12, 2352, 631, 2011, 13, 1377, 1953, 273, 805, 1388, 2016, 31, 3639, 309, 12, 18033, 3234, 631, 2011, 13, 1377, 4775, 3234, 11613, 14432, 3639, 368, 326, 652, 14215, 364, 326, 394, 10842, 565, 2286, 284, 8526, 273, 394, 2286, 63, 25, 15533, 565, 2252, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 3639, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 394, 514, 2932, 7775, 67, 14130, 6, 3631, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 394, 514, 2932, 7775, 67, 55, 10390, 6, 3631, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 394, 514, 2932, 7775, 67, 1985, 6, 3631, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 394, 514, 2932, 7775, 67, 2399, 6, 3631, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 394, 514, 2932, 862, 12693, 55, 6, 3631, 277, 58, 22483, 19105, 16, 3847, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 29002, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 1953, 63, 5717, 1216, 6483, 225, 288, 565, 368, 5004, 805, 460, 364, 1953, 565, 309, 12, 2352, 631, 2011, 13, 1377, 1953, 273, 805, 1388, 2016, 31, 3639, 309, 12, 18033, 3234, 631, 2011, 13, 1377, 4775, 3234, 11613, 14432, 3639, 368, 326, 652, 14215, 364, 326, 394, 10842, 565, 2286, 284, 8526, 273, 394, 2286, 63, 25, 15533, 565, 2252, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 3639, 284, 63, 2 ]
if (size() == 0) arrayList.add(new Paragraph(0));
if (size() == 0) arrayList.add(new Paragraph(0));
void fill() { if (size() == 0) arrayList.add(new Paragraph(0)); }
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/ed86dfb474e6fa22e1797452482e751a297a7e1f/Cell.java/clean/itext/src/com/lowagie/text/Cell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3636, 1435, 288, 3639, 309, 261, 1467, 1435, 422, 374, 13, 526, 682, 18, 1289, 12, 2704, 24963, 12, 20, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 918, 3636, 1435, 288, 3639, 309, 261, 1467, 1435, 422, 374, 13, 526, 682, 18, 1289, 12, 2704, 24963, 12, 20, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{if (true) return new ZimbraQuery.ConjQuery(mAnalyzer, OR_TOKEN);}
{if (true) return new ZimbraQuery.ConjQuery(mAnalyzer, OR_TOKEN);}
final public ZimbraQuery.BaseQuery Conjunction() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case AND_TOKEN: jj_consume_token(AND_TOKEN); {if (true) return new ZimbraQuery.ConjQuery(mAnalyzer, AND_TOKEN);} break; case OR_TOKEN: jj_consume_token(OR_TOKEN); {if (true) return new ZimbraQuery.ConjQuery(mAnalyzer, OR_TOKEN);} break; default: jj_la1[0] = jj_gen; {if (true) return new ZimbraQuery.ConjQuery(mAnalyzer, AND_TOKEN);} } throw new Error("Missing return statement in function"); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/a07eda4fc014f2ae97dbf008b9ff80eb06a01f69/ZimbraQueryParser.java/clean/ZimbraServer/src/java/com/zimbra/cs/index/queryparser/ZimbraQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 2285, 381, 15397, 1138, 18, 2171, 1138, 735, 18323, 1435, 1216, 10616, 288, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 4116, 67, 8412, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 4307, 67, 8412, 1769, 5375, 288, 430, 261, 3767, 13, 327, 394, 2285, 381, 15397, 1138, 18, 442, 27766, 12, 81, 12803, 16, 4116, 67, 8412, 1769, 97, 1377, 898, 31, 565, 648, 4869, 67, 8412, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 916, 67, 8412, 1769, 5375, 288, 430, 261, 3767, 13, 327, 394, 2285, 381, 15397, 1138, 18, 442, 27766, 12, 81, 12803, 16, 4869, 67, 8412, 1769, 97, 1377, 898, 31, 565, 805, 30, 1377, 10684, 67, 11821, 21, 63, 20, 65, 273, 10684, 67, 4507, 31, 1377, 288, 430, 261, 3767, 13, 327, 394, 2285, 381, 15397, 1138, 18, 442, 27766, 12, 81, 12803, 16, 4116, 67, 8412, 1769, 97, 565, 289, 565, 604, 394, 1068, 2932, 4841, 327, 3021, 316, 445, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 2285, 381, 15397, 1138, 18, 2171, 1138, 735, 18323, 1435, 1216, 10616, 288, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 4116, 67, 8412, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 4307, 67, 8412, 1769, 5375, 288, 430, 261, 3767, 13, 327, 394, 2285, 381, 15397, 1138, 18, 442, 27766, 12, 81, 12803, 16, 4116, 67, 8412, 1769, 97, 1377, 898, 31, 565, 648, 4869, 67, 8412, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 916, 67, 8412, 1769, 5375, 288, 430, 261, 3767, 13, 327, 394, 2285, 381, 15397, 1138, 18, 442, 27766, 12, 81, 2 ]
edu.umd.cs.findbugs.DetectorFactoryCollection detectorFactoryCollection = edu.umd.cs.findbugs.DetectorFactoryCollection.instance();
DetectorFactoryCollection detectorFactoryCollection = DetectorFactoryCollection.instance();
public static void main(String[] argv) throws Exception { edu.umd.cs.findbugs.DetectorFactoryCollection detectorFactoryCollection = edu.umd.cs.findbugs.DetectorFactoryCollection.instance(); ExecutionPlan execPlan = new ExecutionPlan(); for (int i = 0; i < argv.length; ++i) { String pluginId = argv[i]; Plugin plugin = detectorFactoryCollection.getPluginById(pluginId); if (plugin != null) execPlan.addPlugin(plugin); } execPlan.build(); System.out.println(execPlan.passList.size() + " passes in plan"); execPlan.print(); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/0ba81732c993ba2c58fc042e1039b133bc06a9b9/ExecutionPlan.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/plan/ExecutionPlan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 5261, 13, 1216, 1185, 288, 202, 202, 28049, 18, 379, 72, 18, 2143, 18, 4720, 19381, 18, 12594, 1733, 2532, 13826, 1733, 2532, 273, 1082, 202, 28049, 18, 379, 72, 18, 2143, 18, 4720, 19381, 18, 12594, 1733, 2532, 18, 1336, 5621, 202, 202, 3210, 5365, 1196, 5365, 273, 394, 8687, 5365, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5261, 18, 2469, 31, 965, 77, 13, 288, 1082, 202, 780, 1909, 548, 273, 5261, 63, 77, 15533, 1082, 202, 3773, 1909, 273, 13826, 1733, 2532, 18, 588, 3773, 5132, 12, 4094, 548, 1769, 1082, 202, 430, 261, 4094, 480, 446, 13, 9506, 202, 4177, 5365, 18, 1289, 3773, 12, 4094, 1769, 202, 202, 97, 202, 202, 4177, 5365, 18, 3510, 5621, 202, 202, 3163, 18, 659, 18, 8222, 12, 4177, 5365, 18, 5466, 682, 18, 1467, 1435, 397, 315, 11656, 316, 4995, 8863, 202, 202, 4177, 5365, 18, 1188, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 5261, 13, 1216, 1185, 288, 202, 202, 28049, 18, 379, 72, 18, 2143, 18, 4720, 19381, 18, 12594, 1733, 2532, 13826, 1733, 2532, 273, 1082, 202, 28049, 18, 379, 72, 18, 2143, 18, 4720, 19381, 18, 12594, 1733, 2532, 18, 1336, 5621, 202, 202, 3210, 5365, 1196, 5365, 273, 394, 8687, 5365, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5261, 18, 2469, 31, 965, 77, 13, 288, 1082, 202, 780, 1909, 548, 273, 5261, 63, 77, 15533, 1082, 202, 3773, 1909, 273, 13826, 1733, 2532, 18, 588, 3773, 5132, 12, 4094, 548, 1769, 1082, 202, 430, 261, 4094, 480, 446, 13, 9506, 202, 4177, 5365, 2 ]
public org.quickfix.field.SecurityIDSource getSecurityIDSource() throws FieldNotFound { org.quickfix.field.SecurityIDSource value = new org.quickfix.field.SecurityIDSource();
public quickfix.field.SecurityIDSource getSecurityIDSource() throws FieldNotFound { quickfix.field.SecurityIDSource value = new quickfix.field.SecurityIDSource();
public org.quickfix.field.SecurityIDSource getSecurityIDSource() throws FieldNotFound { org.quickfix.field.SecurityIDSource value = new org.quickfix.field.SecurityIDSource(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteRequestReject.java/clean/src/java/src/quickfix/fix44/QuoteRequestReject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 19288, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 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, 4368, 734, 1830, 19288, 734, 1830, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4368, 734, 1830, 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 ]
public List calculateIntervalBalance(DateInterval interval) { System.out.println("Calculate interval balance"); List<DailyBalance> dailyBalanceList = new ArrayList<DailyBalance>(); List<Schedule> scheduleList = getSchedulesWithInterval(interval); // todos os Schedules dentro do intervalo validInterval // para cada dia do intervalo ver q horario esta definido nesse dia for (YearMonthDay date = interval.getStartDate(); isDateInInterval(date, interval) ; date = date.plusDays(1)) { // percorrer os schedules (tipicamente ha' 1 mas pode haver varios...) //System.out.println("percorrer os dias do intervalo"); for (Schedule schedule: scheduleList) { // para cada schedule... WorkSchedule workSchedule = schedule.workScheduleWithDate(date); // ...ve que Work Schedule esta' definido nesse dia DailyBalance dailyBalance = new DailyBalance(date, workSchedule); if (workSchedule != null) { // ha horario neste dia System.out.println("horario:" + workSchedule.getWorkScheduleType().getAcronym()); dailyBalance.setWorkSchedule(workSchedule); List<Clocking> clockingList = validClockingsWithDate(date); List<Leave> leaveList = leavesWithDate(date); List<MissingClocking> missingClockingList = missingClockingsWithDate(date); if (clockingList.size() > 0) { dailyBalance.setClockingList(clockingList); } if (leaveList.size() > 0) { dailyBalance.setLeaveList(leaveList); } if (missingClockingList.size() > 0) { dailyBalance.setMissingClockingList(missingClockingList); // see if this is really necessary addMissingClockingsToClockingList(clockingList, missingClockingList); } dailyBalance = calculateDailyBalance(date, workSchedule, clockingList, leaveList); dailyBalanceList.add(dailyBalance); } else { // nao ha horario neste dia => sabado ou domingo // neste caso devia ter info de DSC e DS? // TODO ver esta situacao } } } return dailyBalanceList; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/bbb1a7c6390fd8a4e299444c3df5310482ad8ad0/Assiduousness.java/clean/src/net/sourceforge/fenixedu/domain/assiduousness/Assiduousness.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 682, 11162, 4006, 13937, 12, 1626, 4006, 6624, 15329, 3163, 18, 659, 18, 8222, 2932, 8695, 6624, 12296, 8863, 202, 202, 682, 32, 40, 12857, 13937, 34, 26790, 13937, 682, 33, 2704, 19558, 32, 40, 12857, 13937, 34, 5621, 202, 202, 682, 32, 6061, 34, 10676, 682, 33, 588, 27073, 1190, 4006, 12, 6624, 1769, 759, 88, 369, 538, 538, 27073, 72, 319, 303, 72, 2480, 1125, 83, 877, 4006, 202, 202, 759, 1065, 1077, 361, 361, 77, 361, 2480, 1125, 1643, 85, 76, 280, 25124, 395, 69, 5649, 350, 5322, 730, 1155, 202, 202, 1884, 12, 5593, 5445, 4245, 712, 33, 6624, 18, 588, 22635, 5621, 291, 1626, 382, 4006, 12, 712, 16, 6624, 1769, 712, 33, 712, 18, 10103, 9384, 12, 21, 3719, 95, 1082, 202, 759, 457, 17515, 4345, 87, 15511, 12, 14587, 335, 14773, 73, 3395, 11, 21, 15260, 84, 390, 3395, 502, 4093, 538, 21846, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 457, 17515, 4345, 72, 1795, 72, 2480, 1125, 83, 8863, 1082, 202, 1884, 12, 27073, 2847, 30, 10676, 682, 15329, 759, 1065, 1077, 361, 345, 2847, 2777, 9506, 202, 2421, 6061, 1252, 6061, 33, 10676, 18, 1252, 6061, 1190, 1626, 12, 712, 1769, 759, 2777, 537, 1857, 2421, 6061, 395, 69, 14271, 73, 926, 350, 5322, 730, 1155, 9506, 202, 40, 12857, 13937, 26790, 13937, 33, 2704, 40, 12857, 13937, 12, 712, 16, 1252, 6061, 1769, 9506, 202, 430, 12, 1252, 6061, 5, 33, 2011, 15329, 759, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 682, 11162, 4006, 13937, 12, 1626, 4006, 6624, 15329, 3163, 18, 659, 18, 8222, 2932, 8695, 6624, 12296, 8863, 202, 202, 682, 32, 40, 12857, 13937, 34, 26790, 13937, 682, 33, 2704, 19558, 32, 40, 12857, 13937, 34, 5621, 202, 202, 682, 32, 6061, 34, 10676, 682, 33, 588, 27073, 1190, 4006, 12, 6624, 1769, 759, 88, 369, 538, 538, 27073, 72, 319, 303, 72, 2480, 1125, 83, 877, 4006, 202, 202, 759, 1065, 1077, 361, 361, 77, 361, 2480, 1125, 1643, 85, 76, 280, 25124, 395, 69, 5649, 350, 5322, 730, 1155, 202, 202, 1884, 12, 5593, 5445, 4245, 712, 33, 6624, 18, 588, 22635, 5621, 291, 1626, 382, 4006, 12, 712, 16, 6624, 1769, 712, 33, 2 ]
Main.StackFrame frame = contextData.getFrame(i);
Dim.StackFrame frame = contextData.getFrame(i);
void enterInterruptImpl(Main.StackFrame lastFrame, String threadTitle, String alertMessage) { statusBar.setText("Thread: " + threadTitle); showStopLine(lastFrame); if (alertMessage != null) { MessageDialogWrapper.showMessageDialog(this, alertMessage, "Exception in Script", JOptionPane.ERROR_MESSAGE); } JMenu menu = getJMenuBar().getMenu(0); //menu.getItem(0).setEnabled(false); // File->Load menu = getJMenuBar().getMenu(2); menu.getItem(0).setEnabled(false); // Debug->Break int count = menu.getItemCount(); for (int i = 1; i < count; ++i) { menu.getItem(i).setEnabled(true); } boolean b = false; for (int ci = 0, cc = toolBar.getComponentCount(); ci < cc; ci++) { toolBar.getComponent(ci).setEnabled(b); b = true; } toolBar.setEnabled(true); // raise the debugger window toFront(); Main.ContextData contextData = lastFrame.contextData(); context.enable(); JComboBox ctx = context.context; Vector toolTips = context.toolTips; context.disableUpdate(); int frameCount = contextData.frameCount(); ctx.removeAllItems(); // workaround for JDK 1.4 bug that caches selected value even after // removeAllItems() is called ctx.setSelectedItem(null); toolTips.removeAllElements(); for (int i = 0; i < frameCount; i++) { Main.StackFrame frame = contextData.getFrame(i); String url = frame.getUrl(); int lineNumber = frame.getLineNumber(); String shortName = url; if (url.length() > 20) { shortName = "..." + url.substring(url.length() - 17); } String location = "\"" + shortName + "\", line " + lineNumber; ctx.insertItemAt(location, i); location = "\"" + url + "\", line " + lineNumber; toolTips.addElement(location); } context.enableUpdate(); ctx.setSelectedIndex(0); ctx.setMinimumSize(new Dimension(50, ctx.getMinimumSize().height)); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/402fd02406157693f66b2c8e6819e17c0b5b3e8a/DebugGui.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/DebugGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 6103, 14126, 2828, 12, 6376, 18, 2624, 3219, 1142, 3219, 16, 514, 2650, 4247, 16, 18701, 514, 6881, 1079, 13, 565, 288, 3639, 1267, 5190, 18, 542, 1528, 2932, 3830, 30, 315, 397, 2650, 4247, 1769, 3639, 2405, 4947, 1670, 12, 2722, 3219, 1769, 3639, 309, 261, 11798, 1079, 480, 446, 13, 288, 5411, 2350, 6353, 3611, 18, 4500, 1079, 6353, 12, 2211, 16, 4766, 10402, 6881, 1079, 16, 4766, 10402, 315, 503, 316, 7739, 3113, 4766, 10402, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 3639, 289, 3639, 804, 4599, 3824, 273, 9285, 4599, 5190, 7675, 588, 4599, 12, 20, 1769, 3639, 368, 5414, 18, 588, 1180, 12, 20, 2934, 542, 1526, 12, 5743, 1769, 368, 1387, 2122, 2563, 3639, 3824, 273, 9285, 4599, 5190, 7675, 588, 4599, 12, 22, 1769, 3639, 3824, 18, 588, 1180, 12, 20, 2934, 542, 1526, 12, 5743, 1769, 368, 4015, 2122, 7634, 3639, 509, 1056, 273, 3824, 18, 588, 30687, 5621, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 411, 1056, 31, 965, 77, 13, 288, 5411, 3824, 18, 588, 1180, 12, 77, 2934, 542, 1526, 12, 3767, 1769, 3639, 289, 3639, 1250, 324, 273, 629, 31, 3639, 364, 261, 474, 9039, 273, 374, 16, 4946, 273, 5226, 5190, 18, 588, 1841, 1380, 5621, 9039, 411, 4946, 31, 9039, 27245, 288, 5411, 5226, 5190, 18, 588, 1841, 12, 8450, 2934, 542, 1526, 12, 70, 1769, 5411, 324, 273, 638, 31, 3639, 289, 3639, 5226, 5190, 18, 542, 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, 6103, 14126, 2828, 12, 6376, 18, 2624, 3219, 1142, 3219, 16, 514, 2650, 4247, 16, 18701, 514, 6881, 1079, 13, 565, 288, 3639, 1267, 5190, 18, 542, 1528, 2932, 3830, 30, 315, 397, 2650, 4247, 1769, 3639, 2405, 4947, 1670, 12, 2722, 3219, 1769, 3639, 309, 261, 11798, 1079, 480, 446, 13, 288, 5411, 2350, 6353, 3611, 18, 4500, 1079, 6353, 12, 2211, 16, 4766, 10402, 6881, 1079, 16, 4766, 10402, 315, 503, 316, 7739, 3113, 4766, 10402, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 3639, 289, 3639, 804, 4599, 3824, 273, 9285, 4599, 5190, 7675, 588, 4599, 12, 20, 1769, 3639, 368, 5414, 18, 588, 1180, 12, 20, 2934, 542, 1526, 12, 5743, 1769, 368, 2 ]
if ( existingFrames.size() == 1 && StaticEntity.getClient() instanceof KoLmafiaGUI )
if ( existingFrames.isEmpty() && StaticEntity.getClient() instanceof KoLmafiaGUI )
public void dispose() { if ( isVisible() ) rememberPosition(); super.dispose(); // Determine which frame needs to be removed from // the maintained list of frames. existingFrames.remove( this ); KoLDesktop.removeTab( this ); if ( refreshListener != null ) KoLCharacter.removeCharacterListener( refreshListener ); // If the list of frames is now empty, make sure // you end the session. Ending the session for // a login frame involves exiting, and ending the // session for all other frames is calling main. if ( existingFrames.size() == 1 && StaticEntity.getClient() instanceof KoLmafiaGUI ) { StaticEntity.closeSession(); (new CreateFrameRunnable( LoginFrame.class )).run(); } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/282a4b69b270dde14dc75d866de3ba4e81ee2e99/KoLFrame.java/clean/src/net/sourceforge/kolmafia/KoLFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15825, 1435, 202, 95, 202, 202, 430, 261, 20453, 1435, 262, 1082, 202, 28155, 2555, 5621, 202, 202, 9565, 18, 2251, 4150, 5621, 202, 202, 759, 10229, 1492, 2623, 4260, 358, 506, 3723, 628, 202, 202, 759, 326, 11566, 8707, 666, 434, 7793, 18, 202, 202, 11711, 15162, 18, 4479, 12, 333, 11272, 202, 202, 47, 83, 48, 27583, 18, 4479, 5661, 12, 333, 11272, 202, 202, 430, 261, 4460, 2223, 480, 446, 262, 1082, 202, 47, 83, 48, 7069, 18, 4479, 7069, 2223, 12, 4460, 2223, 11272, 202, 202, 759, 971, 326, 666, 434, 7793, 353, 2037, 1008, 16, 1221, 3071, 202, 202, 759, 1846, 679, 326, 1339, 18, 225, 4403, 310, 326, 1339, 364, 202, 202, 759, 279, 3925, 2623, 29876, 3324, 15702, 16, 471, 11463, 326, 202, 202, 759, 1339, 364, 777, 1308, 7793, 353, 4440, 2774, 18, 202, 202, 430, 261, 2062, 15162, 18, 1467, 1435, 422, 404, 597, 10901, 1943, 18, 588, 1227, 1435, 1276, 1475, 83, 48, 81, 1727, 1155, 43, 5370, 262, 202, 202, 95, 1082, 202, 5788, 1943, 18, 4412, 2157, 5621, 1082, 202, 12, 2704, 1788, 3219, 20013, 12, 11744, 3219, 18, 1106, 262, 2934, 2681, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15825, 1435, 202, 95, 202, 202, 430, 261, 20453, 1435, 262, 1082, 202, 28155, 2555, 5621, 202, 202, 9565, 18, 2251, 4150, 5621, 202, 202, 759, 10229, 1492, 2623, 4260, 358, 506, 3723, 628, 202, 202, 759, 326, 11566, 8707, 666, 434, 7793, 18, 202, 202, 11711, 15162, 18, 4479, 12, 333, 11272, 202, 202, 47, 83, 48, 27583, 18, 4479, 5661, 12, 333, 11272, 202, 202, 430, 261, 4460, 2223, 480, 446, 262, 1082, 202, 47, 83, 48, 7069, 18, 4479, 7069, 2223, 12, 4460, 2223, 11272, 202, 202, 759, 971, 326, 666, 434, 7793, 353, 2037, 1008, 16, 1221, 3071, 202, 202, 759, 1846, 679, 326, 1339, 18, 225, 4403, 310, 326, 1339, 2 ]
{ return new String("PostgreSQL"); }
{ return new String("PostgreSQL"); }
public String getDatabaseProductName() throws SQLException { return new String("PostgreSQL"); }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/clean/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11263, 4133, 461, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 394, 514, 2932, 3349, 23896, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11263, 4133, 461, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 394, 514, 2932, 3349, 23896, 8863, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}; }
public Calc compileCall(FunCall call, ExpCompiler compiler) { final MemberCalc memberCalc = compiler.compileMember(call.getArg(0)); return new AbstractMemberCalc(call, new Calc[] {memberCalc}) { public Member evaluateMember(Evaluator evaluator) { Member member = memberCalc.evaluateMember(evaluator); return memberParent(evaluator, member); } }; }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/5aca340e1cdbb6179077d96383341db48f0997be/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 29128, 4074, 1477, 12, 22783, 1477, 745, 16, 7784, 9213, 5274, 13, 288, 7734, 727, 8596, 25779, 3140, 25779, 273, 13491, 5274, 18, 11100, 4419, 12, 1991, 18, 588, 4117, 12, 20, 10019, 7734, 327, 394, 4115, 4419, 25779, 12, 1991, 16, 394, 29128, 8526, 288, 5990, 25779, 6792, 288, 10792, 1071, 8596, 5956, 4419, 12, 15876, 18256, 13, 288, 13491, 8596, 3140, 273, 3140, 25779, 18, 21024, 4419, 12, 14168, 639, 1769, 13491, 327, 3140, 3054, 12, 14168, 639, 16, 3140, 1769, 10792, 289, 7734, 289, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 29128, 4074, 1477, 12, 22783, 1477, 745, 16, 7784, 9213, 5274, 13, 288, 7734, 727, 8596, 25779, 3140, 25779, 273, 13491, 5274, 18, 11100, 4419, 12, 1991, 18, 588, 4117, 12, 20, 10019, 7734, 327, 394, 4115, 4419, 25779, 12, 1991, 16, 394, 29128, 8526, 288, 5990, 25779, 6792, 288, 10792, 1071, 8596, 5956, 4419, 12, 15876, 18256, 13, 288, 13491, 8596, 3140, 273, 3140, 25779, 18, 21024, 4419, 12, 14168, 639, 1769, 13491, 327, 3140, 3054, 12, 14168, 639, 16, 3140, 1769, 10792, 289, 7734, 289, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("--[java]Utilities.callMethod "+mid);
Debug.log("--[java]Utilities.callMethod "+mid);
static Object callMethod(long oid, Method method, IID iid, long orb , Object[] args) { System.out.println("--[java]Utilities.callMethod "+method); int mid = InterfaceRegistry.getIndexByMethod(method, iid); if (mid < 0) { System.out.println("--[java]Utilities.callMethod we do not have implementation for "+method); return null; } System.out.println("--[java]Utilities.callMethod "+mid); return callMethodByIndex(oid,mid,iid.getString(), orb, args); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/0ec50a33d49e7e7182932acd9d83c0fb542f60a7/Utilities.java/clean/java/xpcom/java/classes/org/mozilla/xpcom/Utilities.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 745, 1305, 12, 5748, 7764, 16, 2985, 707, 16, 467, 734, 22819, 16, 1525, 16823, 269, 1033, 8526, 833, 13, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 413, 63, 6290, 65, 11864, 18, 1991, 1305, 13773, 2039, 1769, 3639, 509, 7501, 273, 6682, 4243, 18, 588, 1016, 858, 1305, 12, 2039, 16, 22819, 1769, 3639, 309, 261, 13138, 411, 374, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 413, 63, 6290, 65, 11864, 18, 1991, 1305, 732, 741, 486, 1240, 4471, 364, 13773, 2039, 1769, 5411, 327, 446, 31, 3639, 289, 3639, 4015, 18, 1330, 2932, 413, 63, 6290, 65, 11864, 18, 1991, 1305, 13773, 13138, 1769, 3639, 327, 745, 1305, 21268, 12, 839, 16, 13138, 16, 77, 350, 18, 588, 780, 9334, 16823, 16, 833, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 745, 1305, 12, 5748, 7764, 16, 2985, 707, 16, 467, 734, 22819, 16, 1525, 16823, 269, 1033, 8526, 833, 13, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 413, 63, 6290, 65, 11864, 18, 1991, 1305, 13773, 2039, 1769, 3639, 509, 7501, 273, 6682, 4243, 18, 588, 1016, 858, 1305, 12, 2039, 16, 22819, 1769, 3639, 309, 261, 13138, 411, 374, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 413, 63, 6290, 65, 11864, 18, 1991, 1305, 732, 741, 486, 1240, 4471, 364, 13773, 2039, 1769, 5411, 327, 446, 31, 3639, 289, 3639, 4015, 18, 1330, 2932, 413, 63, 6290, 65, 11864, 18, 1991, 1305, 13773, 13138, 1769, 3639, 327, 745, 1305, 21268, 12, 839, 2 ]
NewSearchUI.activateSearchResultView();
public boolean performAction() { if (repository == null) { MessageDialog.openInformation(Display.getCurrent().getActiveShell(), IBugzillaConstants.TITLE_MESSAGE_DIALOG, TaskRepositoryManager.MESSAGE_NO_REPOSITORY); return false; } if (restoreQueryOptions) { saveWidgetValues(); } getPatternData(summaryPattern, summaryOperation, previousSummaryPatterns); getPatternData(commentPattern, commentOperation, previousCommentPatterns); getPatternData(this.emailPattern, emailOperation, previousEmailPatterns); // try { // // if the summary contains a single bug id, open the bug directly // int id = Integer.parseInt(summaryText); // return BugzillaUITools.show(repository.getUrl(), id); // } catch (NumberFormatException ignored) { // // ignore this since this means that the text is not a bug id // } // Don't activate the search result view until it is known that the // user is not opening a bug directly -- there is no need to open // the view if no searching is going to take place. NewSearchUI.activateSearchResultView(); String summaryText = summaryPattern.getText(); BugzillaUiPlugin.getDefault().getPreferenceStore().setValue(IBugzillaConstants.MOST_RECENT_QUERY, summaryText); Proxy proxySettings = TasksUiPlugin.getDefault().getProxySettings(); SearchHitCollector collector = new SearchHitCollector(TasksUiPlugin.getTaskListManager().getTaskList(), repository, getQuery(), proxySettings); NewSearchUI.runQueryInBackground(collector); return true; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/7293e72ccee6f264444d7a1379f64c86a8e482f6/BugzillaSearchPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 1803, 1435, 288, 202, 202, 430, 261, 9071, 422, 446, 13, 288, 1082, 202, 1079, 6353, 18, 3190, 5369, 12, 4236, 18, 588, 3935, 7675, 588, 3896, 13220, 9334, 6862, 202, 13450, 637, 15990, 2918, 18, 14123, 67, 8723, 67, 2565, 18683, 16, 3837, 3305, 1318, 18, 8723, 67, 3417, 67, 862, 30986, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 430, 261, 13991, 1138, 1320, 13, 288, 1082, 202, 5688, 4609, 1972, 5621, 202, 202, 97, 202, 202, 588, 3234, 751, 12, 7687, 3234, 16, 4916, 2988, 16, 2416, 4733, 11268, 1769, 202, 202, 588, 3234, 751, 12, 3469, 3234, 16, 2879, 2988, 16, 2416, 4469, 11268, 1769, 202, 202, 588, 3234, 751, 12, 2211, 18, 3652, 3234, 16, 2699, 2988, 16, 2416, 4134, 11268, 1769, 202, 202, 759, 775, 288, 202, 202, 759, 368, 309, 326, 4916, 1914, 279, 2202, 7934, 612, 16, 1696, 326, 7934, 5122, 202, 202, 759, 509, 612, 273, 2144, 18, 2670, 1702, 12, 7687, 1528, 1769, 202, 202, 759, 327, 16907, 15990, 5370, 10348, 18, 4500, 12, 9071, 18, 588, 1489, 9334, 612, 1769, 202, 202, 759, 289, 1044, 261, 1854, 9291, 5455, 13, 288, 202, 202, 759, 368, 2305, 333, 3241, 333, 4696, 716, 326, 977, 353, 486, 279, 7934, 612, 202, 202, 759, 289, 202, 202, 759, 7615, 1404, 10235, 326, 1623, 563, 1476, 3180, 518, 353, 4846, 716, 326, 202, 202, 759, 729, 353, 486, 10890, 279, 7934, 5122, 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, 3073, 1803, 1435, 288, 202, 202, 430, 261, 9071, 422, 446, 13, 288, 1082, 202, 1079, 6353, 18, 3190, 5369, 12, 4236, 18, 588, 3935, 7675, 588, 3896, 13220, 9334, 6862, 202, 13450, 637, 15990, 2918, 18, 14123, 67, 8723, 67, 2565, 18683, 16, 3837, 3305, 1318, 18, 8723, 67, 3417, 67, 862, 30986, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 430, 261, 13991, 1138, 1320, 13, 288, 1082, 202, 5688, 4609, 1972, 5621, 202, 202, 97, 202, 202, 588, 3234, 751, 12, 7687, 3234, 16, 4916, 2988, 16, 2416, 4733, 11268, 1769, 202, 202, 588, 3234, 751, 12, 3469, 3234, 16, 2879, 2988, 16, 2416, 4469, 11268, 1769, 202, 202, 2 ]
public ConditionalPermissions(AbstractBundle bundle) {
public ConditionalPermissions(AbstractBundle bundle, ConditionalPermissionAdmin cpa) {
public ConditionalPermissions(AbstractBundle bundle) { this.bundle = bundle; }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/01aac89082512e7fd6ce97bdb4c9036f4da4c24f/ConditionalPermissions.java/clean/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/ConditionalPermissions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 22466, 6521, 12, 7469, 3405, 3440, 13, 288, 202, 202, 2211, 18, 9991, 273, 3440, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 22466, 6521, 12, 7469, 3405, 3440, 13, 288, 202, 202, 2211, 18, 9991, 273, 3440, 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 ]
Object o = getItemDetails((AbstractSearchItem) element);
Object o = getItemDetails((AbstractListItem) element);
private void refreshDetails() { StructuredSelection selection = (StructuredSelection) list .getSelection(); if (selection.size() == 1) { Object element = selection.getFirstElement(); if (element instanceof SearchListSeparator) { detailsContentProvider.setElements(new Object[0]); details.getTable().setEnabled(false); } else { Object o = getItemDetails((AbstractSearchItem) element); detailsContentProvider.setElements(new Object[] { o }); details.getTable().setEnabled(true); } } else { detailsContentProvider.setElements(new Object[0]); details.getTable().setEnabled(false); } details.refresh(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f6a6b077cb5b91dfa306af0b33ea1a4ed7445674/FilteredItemsSelectionDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/FilteredItemsSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4460, 3790, 1435, 288, 202, 202, 30733, 6233, 4421, 273, 261, 30733, 6233, 13, 666, 9506, 202, 18, 588, 6233, 5621, 202, 202, 430, 261, 10705, 18, 1467, 1435, 422, 404, 13, 288, 1082, 202, 921, 930, 273, 4421, 18, 588, 3759, 1046, 5621, 1082, 202, 430, 261, 2956, 1276, 5167, 682, 6581, 13, 288, 9506, 202, 6395, 1350, 2249, 18, 542, 3471, 12, 2704, 1033, 63, 20, 19226, 9506, 202, 6395, 18, 588, 1388, 7675, 542, 1526, 12, 5743, 1769, 1082, 202, 97, 469, 288, 9506, 202, 921, 320, 273, 8143, 3790, 12443, 7469, 2979, 1180, 13, 930, 1769, 9506, 202, 6395, 1350, 2249, 18, 542, 3471, 12, 2704, 1033, 8526, 288, 320, 15549, 9506, 202, 6395, 18, 588, 1388, 7675, 542, 1526, 12, 3767, 1769, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 6395, 1350, 2249, 18, 542, 3471, 12, 2704, 1033, 63, 20, 19226, 1082, 202, 6395, 18, 588, 1388, 7675, 542, 1526, 12, 5743, 1769, 202, 202, 97, 202, 202, 6395, 18, 9144, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4460, 3790, 1435, 288, 202, 202, 30733, 6233, 4421, 273, 261, 30733, 6233, 13, 666, 9506, 202, 18, 588, 6233, 5621, 202, 202, 430, 261, 10705, 18, 1467, 1435, 422, 404, 13, 288, 1082, 202, 921, 930, 273, 4421, 18, 588, 3759, 1046, 5621, 1082, 202, 430, 261, 2956, 1276, 5167, 682, 6581, 13, 288, 9506, 202, 6395, 1350, 2249, 18, 542, 3471, 12, 2704, 1033, 63, 20, 19226, 9506, 202, 6395, 18, 588, 1388, 7675, 542, 1526, 12, 5743, 1769, 1082, 202, 97, 469, 288, 9506, 202, 921, 320, 273, 8143, 3790, 12443, 7469, 2979, 1180, 13, 930, 1769, 9506, 202, 6395, 1350, 2249, 18, 542, 3471, 12, 2704, 1033, 8526, 288, 320, 15549, 2 ]
editButton.setText( JdbcPlugin.getResourceString( "driverManagerDialog.text.Edit" ) );
editButton.setText( TEXT_EDITBUTTON );
private void addDriverPage( TabFolder tabFolder ) { Composite page = new Composite( tabFolder, SWT.NONE ); GridLayout layout = new GridLayout( ); layout.marginHeight = 10; layout.marginWidth = 10; layout.verticalSpacing = 5; page.setLayout( layout ); page.setLayoutData( new GridData( GridData.FILL_BOTH ) ); final Table table = new Table( page, SWT.BORDER | SWT.FULL_SELECTION ); GridData data = new GridData( GridData.FILL_BOTH ); table.setLayoutData( data ); table.setHeaderVisible( true ); table.setLinesVisible( true ); TableLayout tableLayout = new TableLayout( ); table.setLayout( tableLayout ); TableColumn column0 = new TableColumn( table, SWT.NONE ); column0.setWidth( 20 ); TableColumn column1 = new TableColumn( table, SWT.NONE ); column1.setText( JdbcPlugin.getResourceString( "driverManagerDialog.text.driverColumnClassName" ) ); //$NON-NLS-1$ column1.setWidth( 300 ); column1.addSelectionListener(new SelectionListener( ) { private boolean asc = false; public void widgetSelected( SelectionEvent e ) { sortDriver( 1, asc ); asc = !asc; } public void widgetDefaultSelected( SelectionEvent e ) { widgetSelected( e ); } } ); TableColumn column2 = new TableColumn( table, SWT.NONE ); column2.setText( JdbcPlugin.getResourceString( "driverManagerDialog.text.driverColumnDisplayName" ) ); //$NON-NLS-1$ column2.setWidth( 100 ); column2.addSelectionListener( new SelectionListener( ) { private boolean asc = false; public void widgetSelected( SelectionEvent e ) { sortDriver( 2, asc ); asc = !asc; } public void widgetDefaultSelected( SelectionEvent e ) { widgetSelected( e ); } } ); TableColumn column3 = new TableColumn( table, SWT.NONE ); column3.setText( JdbcPlugin.getResourceString( "driverManagerDialog.text.driverColumnTemplate" ) ); //$NON-NLS-1$ column3.setWidth( 100 ); column3.addSelectionListener( new SelectionListener( ) { private boolean asc = false; public void widgetSelected( SelectionEvent e ) { sortDriver( 3, asc ); asc = !asc; } public void widgetDefaultSelected( SelectionEvent e ) { widgetSelected( e ); } } ); driverViewer = new TableViewer( table ); driverViewer.setContentProvider( new IStructuredContentProvider( ) { public Object[] getElements( Object inputElement ) { if ( inputElement instanceof Map ) { return ( (Map) inputElement ).entrySet( ).toArray( ); } return new Object[0]; } public void inputChanged( Viewer viewer, Object oldInput, Object newInput ) { } public void dispose( ) { } } ); driverViewer.setSorter( null ); driverViewer.addSelectionChangedListener( new ISelectionChangedListener( ) { public void selectionChanged( SelectionChangedEvent event ) { updateDriverButtons( ); } } ); driverViewer.addDoubleClickListener( new IDoubleClickListener( ) { public void doubleClick( DoubleClickEvent event ) { editDriver( ); } } ); Composite buttons = new Composite( page, SWT.NONE ); buttons.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING ) ); layout = new GridLayout( ); layout.numColumns = 2; layout.marginHeight = 0; layout.marginWidth = 0; buttons.setLayout( layout ); editButton = new Button( buttons, SWT.PUSH ); editButton.setText( JdbcPlugin.getResourceString( "driverManagerDialog.text.Edit" ) ); //$NON-NLS-1$ data = new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING ); data.widthHint = btnWidth; data.heightHint = btnHeight; editButton.setLayoutData( data ); editButton.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { editDriver( ); } } ); TabItem tabItem = new TabItem( tabFolder, SWT.NONE ); tabItem.setControl( page ); tabItem.setText( JdbcPlugin.getResourceString( "driverManagerDialog.text.Drivers" ) ); //$NON-NLS-1$ }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/b32dbfd0ecc09ecfa679fe1f808271a7338096d9/JdbcDriverManagerDialog.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/dialogs/JdbcDriverManagerDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 4668, 1964, 12, 9483, 3899, 3246, 3899, 262, 202, 95, 202, 202, 9400, 1363, 273, 394, 14728, 12, 3246, 3899, 16, 348, 8588, 18, 9826, 11272, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 12, 11272, 202, 202, 6741, 18, 10107, 2686, 273, 1728, 31, 202, 202, 6741, 18, 10107, 2384, 273, 1728, 31, 202, 202, 6741, 18, 17824, 18006, 273, 1381, 31, 202, 202, 2433, 18, 542, 3744, 12, 3511, 11272, 202, 202, 2433, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 6385, 3555, 1014, 273, 394, 3555, 12, 1363, 16, 348, 8588, 18, 38, 7954, 571, 348, 8588, 18, 18111, 67, 1090, 15445, 11272, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 11272, 202, 202, 2121, 18, 542, 3744, 751, 12, 501, 11272, 202, 202, 2121, 18, 542, 1864, 6207, 12, 638, 11272, 202, 202, 2121, 18, 542, 5763, 6207, 12, 638, 11272, 202, 202, 1388, 3744, 1014, 3744, 273, 394, 3555, 3744, 12, 11272, 202, 202, 2121, 18, 542, 3744, 12, 1014, 3744, 11272, 202, 202, 1388, 1494, 1057, 20, 273, 394, 3555, 1494, 12, 1014, 16, 348, 8588, 18, 9826, 11272, 202, 202, 2827, 20, 18, 542, 2384, 12, 4200, 11272, 202, 202, 1388, 1494, 1057, 21, 273, 394, 3555, 1494, 12, 1014, 16, 348, 8588, 18, 9826, 11272, 202, 202, 2827, 21, 18, 542, 1528, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 4668, 1964, 12, 9483, 3899, 3246, 3899, 262, 202, 95, 202, 202, 9400, 1363, 273, 394, 14728, 12, 3246, 3899, 16, 348, 8588, 18, 9826, 11272, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 12, 11272, 202, 202, 6741, 18, 10107, 2686, 273, 1728, 31, 202, 202, 6741, 18, 10107, 2384, 273, 1728, 31, 202, 202, 6741, 18, 17824, 18006, 273, 1381, 31, 202, 202, 2433, 18, 542, 3744, 12, 3511, 11272, 202, 202, 2433, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 6385, 3555, 1014, 273, 394, 3555, 12, 1363, 16, 348, 8588, 18, 38, 7954, 571, 348, 8588, 18, 2 ]
if(null != elemName && null != ns)
if (null != elemName && null != ns)
public void execute(TransformerImpl transformer, Node sourceNode, QName mode) throws SAXException { ResultTreeHandler rhandler = transformer.getResultTreeHandler(); XPathContext xctxt = transformer.getXPathContext(); String elemName = m_name_avt.evaluate(xctxt, sourceNode, this); // make sure that if a prefix is specified on the attribute name, it is valid int indexOfNSSep = elemName.indexOf(':'); String ns ="" ; if(indexOfNSSep >= 0) { String nsprefix = elemName.substring(0, indexOfNSSep); // Catch the exception this may cause. We don't want to stop processing. try{ ns = getNamespaceForPrefix(nsprefix); // Check if valid QName. Assuming that if the prefix is defined, // it is valid. if ( indexOfNSSep+1 == elemName.length() || !isValidNCName(elemName.substring(indexOfNSSep + 1))) { transformer.getMsgMgr().warn(XSLTErrorResources.WG_ILLEGAL_ATTRIBUTE_NAME, new Object[]{elemName}); elemName = null; } } catch(Exception ex) { // Could not resolve prefix ns = null; transformer.getMsgMgr().warn(XSLTErrorResources.WG_COULD_NOT_RESOLVE_PREFIX, new Object[]{nsprefix}); } } // Check if valid QName else if (elemName.length() == 0 || !isValidNCName(elemName)) { transformer.getMsgMgr().warn(XSLTErrorResources.WG_ILLEGAL_ATTRIBUTE_NAME, new Object[]{elemName}); elemName = null; } // Only do this if name is valid String elemNameSpace = null; String prefix = null; if(null != elemName && null != ns) { if(null != m_namespace_avt) { elemNameSpace = m_namespace_avt.evaluate(xctxt, sourceNode, this); if(null != elemNameSpace && elemNameSpace.length()>0) { // Get the prefix for that attribute in the result namespace. prefix = rhandler.getPrefix(elemNameSpace); // If we didn't find the prefix mapping, make up a prefix // and have it declared in the result tree. if(null == prefix) { prefix = rhandler.getNewUniqueNSPrefix(); } // add the prefix to the attribute name. elemName = (prefix + ":"+QName.getLocalPart(elemName)); } } // Add namespace declarations. executeNSDecls(transformer); rhandler.startElement(elemNameSpace, QName.getLocalPart(elemName), elemName); if(null != prefix) { rhandler.startPrefixMapping(prefix, elemNameSpace, true); } } // Instantiate content of xsl:element. Note that if startElement was not // called(ie: if invalid element name, the element's attributes will be // excluded because transformer.m_pendingElementName will be null. super.execute(transformer, sourceNode, mode); transformer.executeChildTemplates(this, sourceNode, mode); // Now end the element if name was valid if(null != elemName && null != ns) { rhandler.endElement("", "", elemName); unexecuteNSDecls(transformer); } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/77ad973f1d6ad8f28fd358f2ba4d4c63da65d953/ElemElement.java/buggy/src/org/apache/xalan/templates/ElemElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1836, 12, 8319, 2828, 8360, 16, 5397, 2029, 26799, 16, 5397, 16723, 1965, 13, 565, 1216, 14366, 225, 288, 565, 3438, 2471, 1503, 436, 4176, 273, 8360, 18, 588, 1253, 2471, 1503, 5621, 565, 10172, 1042, 25465, 273, 8360, 18, 588, 14124, 1042, 5621, 3639, 514, 3659, 461, 273, 312, 67, 529, 67, 842, 88, 18, 21024, 12, 92, 20364, 16, 26799, 16, 333, 1769, 202, 759, 1221, 3071, 716, 309, 279, 1633, 353, 1269, 603, 326, 1566, 508, 16, 518, 353, 923, 565, 509, 3133, 50, 1260, 881, 273, 3659, 461, 18, 31806, 2668, 2497, 1769, 565, 514, 3153, 273, 3660, 274, 565, 309, 12, 31806, 50, 1260, 881, 1545, 374, 13, 565, 288, 1377, 514, 3153, 3239, 273, 3659, 461, 18, 28023, 12, 20, 16, 3133, 50, 1260, 881, 1769, 1377, 368, 21984, 326, 1520, 333, 2026, 4620, 18, 1660, 2727, 1404, 2545, 358, 2132, 4929, 18, 1377, 775, 95, 3639, 3153, 273, 11153, 1290, 2244, 12, 2387, 3239, 1769, 3639, 368, 2073, 309, 923, 16723, 18, 4725, 21249, 716, 309, 326, 1633, 353, 2553, 16, 3639, 368, 518, 353, 923, 18, 3639, 309, 261, 3133, 50, 1260, 881, 15, 21, 422, 3659, 461, 18, 2469, 1435, 747, 6647, 401, 26810, 10346, 461, 12, 10037, 461, 18, 28023, 12, 31806, 50, 1260, 881, 397, 404, 20349, 3639, 288, 1850, 8360, 18, 588, 3332, 9455, 7675, 8935, 12, 60, 4559, 56, 668, 3805, 18, 59, 43, 67, 2627, 19384, 1013, 67, 11616, 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, 1836, 12, 8319, 2828, 8360, 16, 5397, 2029, 26799, 16, 5397, 16723, 1965, 13, 565, 1216, 14366, 225, 288, 565, 3438, 2471, 1503, 436, 4176, 273, 8360, 18, 588, 1253, 2471, 1503, 5621, 565, 10172, 1042, 25465, 273, 8360, 18, 588, 14124, 1042, 5621, 3639, 514, 3659, 461, 273, 312, 67, 529, 67, 842, 88, 18, 21024, 12, 92, 20364, 16, 26799, 16, 333, 1769, 202, 759, 1221, 3071, 716, 309, 279, 1633, 353, 1269, 603, 326, 1566, 508, 16, 518, 353, 923, 565, 509, 3133, 50, 1260, 881, 273, 3659, 461, 18, 31806, 2668, 2497, 1769, 565, 514, 3153, 273, 3660, 274, 565, 309, 12, 31806, 50, 1260, 881, 1545, 374, 13, 565, 288, 1377, 2 ]
while (it.hasNext()) { Hop nextHop = (Hop) it.next(); try { SIPRequest sipRequest = (SIPRequest) request; String bid = sipRequest.getTransactionId(); Via via = sipRequest.getTopmostVia(); via.setBranch(bid); SIPRequest newRequest;
try { /* * JvB: Via branch should already be OK, dont touch it here? Some * apps forward statelessly, and then it's not set. So set only when * not set already, dont overwrite CANCEL branch here.. */ Via via = sipRequest.getTopmostVia(); String branch = via.getBranch(); if (branch == null || branch.length() == 0) { via.setBranch(sipRequest.getTransactionId()); }
public void sendRequest(Request request) throws SipException { Iterator it = sipStack.getRouter().getNextHops(request); if (it == null || !it.hasNext()) throw new SipException("could not determine next hop!"); // Bug reported by Rhys Ulerich if (((SIPRequest) request).getTopmostVia() == null) throw new SipException("Invalid SipRequest -- no via header!"); // Will slow down the implementation because it involves // a search to see if a transaction exists. // This is a common bug so adding some assertion // checking under debug. SIPTransaction tr = sipStack.findTransaction((SIPRequest) request, false); if (tr != null) throw new SipException("Cannot send statelessly Transaction found!"); while (it.hasNext()) { Hop nextHop = (Hop) it.next(); try { SIPRequest sipRequest = (SIPRequest) request; String bid = sipRequest.getTransactionId(); Via via = sipRequest.getTopmostVia(); via.setBranch(bid); SIPRequest newRequest; newRequest = sipRequest; MessageChannel messageChannel = sipStack .createRawMessageChannel(this.listeningPoint.port, nextHop); if (messageChannel != null) { messageChannel.sendMessage((SIPMessage) newRequest); return; } else { continue; } } catch (IOException ex) { if (LogWriter.needsLogging ) { sipStack.getLogWriter().logException (ex); } continue; } catch (ParseException ex1) { InternalErrorHandler.handleException(ex1); } } // Could not find a suitable hop to forward the request. throw new SipException("could not forward request"); }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/SipProviderImpl.java/clean/trunk/src/gov/nist/javax/sip/SipProviderImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12413, 12, 691, 590, 13, 1216, 13475, 503, 288, 3639, 4498, 518, 273, 10341, 2624, 18, 588, 8259, 7675, 588, 2134, 44, 4473, 12, 2293, 1769, 3639, 309, 261, 305, 422, 446, 747, 401, 305, 18, 5332, 2134, 10756, 5411, 604, 394, 13475, 503, 2932, 15195, 486, 4199, 1024, 19055, 4442, 1769, 3639, 368, 16907, 14010, 635, 534, 76, 1900, 587, 749, 1354, 3639, 309, 261, 12443, 17739, 691, 13, 590, 2934, 588, 3401, 10329, 21246, 1435, 422, 446, 13, 5411, 604, 394, 13475, 503, 2932, 1941, 13475, 691, 1493, 1158, 3970, 1446, 4442, 1769, 3639, 368, 9980, 11816, 2588, 326, 4471, 2724, 518, 29876, 3324, 3639, 368, 279, 1623, 358, 2621, 309, 279, 2492, 1704, 18, 3639, 368, 1220, 353, 279, 2975, 7934, 1427, 6534, 2690, 11240, 3639, 368, 6728, 3613, 1198, 18, 3639, 348, 2579, 3342, 433, 273, 10341, 2624, 18, 4720, 3342, 12443, 17739, 691, 13, 590, 16, 7734, 629, 1769, 3639, 309, 261, 313, 480, 446, 13, 5411, 604, 394, 13475, 503, 2932, 4515, 1366, 610, 12617, 715, 5947, 1392, 4442, 1769, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 670, 556, 1024, 27461, 273, 261, 27461, 13, 518, 18, 4285, 5621, 5411, 775, 288, 7734, 348, 2579, 691, 10341, 691, 273, 261, 17739, 691, 13, 590, 31, 7734, 514, 9949, 273, 10341, 691, 18, 588, 27387, 5621, 7734, 776, 1155, 3970, 273, 10341, 691, 18, 588, 3401, 10329, 21246, 5621, 7734, 3970, 18, 542, 7108, 12, 19773, 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, 12413, 12, 691, 590, 13, 1216, 13475, 503, 288, 3639, 4498, 518, 273, 10341, 2624, 18, 588, 8259, 7675, 588, 2134, 44, 4473, 12, 2293, 1769, 3639, 309, 261, 305, 422, 446, 747, 401, 305, 18, 5332, 2134, 10756, 5411, 604, 394, 13475, 503, 2932, 15195, 486, 4199, 1024, 19055, 4442, 1769, 3639, 368, 16907, 14010, 635, 534, 76, 1900, 587, 749, 1354, 3639, 309, 261, 12443, 17739, 691, 13, 590, 2934, 588, 3401, 10329, 21246, 1435, 422, 446, 13, 5411, 604, 394, 13475, 503, 2932, 1941, 13475, 691, 1493, 1158, 3970, 1446, 4442, 1769, 3639, 368, 9980, 11816, 2588, 326, 4471, 2724, 518, 29876, 3324, 3639, 368, 279, 1623, 358, 2621, 309, 279, 2492, 1704, 2 ]