rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
if (path.startsWith("/") && path.substring(1).indexOf("/") == -1) {
HTTPRequest req = new HTTPRequest(uri); if (path.equals("/") && req.isParameterSet("newbookmark")) {
public String processURI(String u, String overrideType) { URI uri; try { uri = new URI(u); } catch (URISyntaxException e1) { return null; } String path = uri.getPath(); if (path == null) { // Only fragment? if(uri.getScheme() == null && uri.getFragment() != null && uri.getHost() == null) { return "#" + URLEncoder.encode(uri.getFragment()); } return null; } // mailto: not supported yet - FIXME what to do with it? what queries are allowed? can it possibly hurt us? how to construct safely? etc if (path.startsWith("/") && path.substring(1).indexOf("/") == -1) { // allow links to the root to add bookmarks HTTPRequest req = new HTTPRequest(uri); String bookmark_key = req.getParam("newbookmark"); String bookmark_desc = req.getParam("desc"); bookmark_key = HTMLEncoder.encode(bookmark_key); bookmark_desc = HTMLEncoder.encode(bookmark_desc); return path+"?newbookmark="+bookmark_key+"&desc="+bookmark_desc; } else if(path.startsWith("/")) { // Try to make it into a FreenetURI try { FreenetURI furi = new FreenetURI(path.substring(1)); return processURI(furi, uri, overrideType); } catch (MalformedURLException e) { // Obviously not a Freenet URI! } } else { // Relative URI // FIXME resolve it // FIXME Note that we allow links to / inlines from fproxy services. // This is okay because we don't allow forms. HTTPRequest req = new HTTPRequest(uri); return finishProcess(req, overrideType, path); } Logger.normal(this, "Unrecognized URI, dropped: "+uri); return null; }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/4a8026a73261ce9697ca11f6e4f83fa1bec986e6/GenericReadFilterCallback.java/buggy/src/freenet/clients/http/filter/GenericReadFilterCallback.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1207, 3098, 12, 780, 582, 16, 514, 3849, 559, 13, 288, 202, 202, 3098, 2003, 31, 202, 202, 698, 288, 1082, 202, 1650, 273, 394, 3699, 12, 89, 1769, 202, 202, 97, 1044, 261, 3098, 14714, 425, 21, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 780, 589, 273, 2003, 18, 588, 743, 5621, 202, 202, 430, 261, 803, 422, 446, 13, 288, 1082, 202, 759, 5098, 5481, 35, 1082, 202, 430, 12, 1650, 18, 588, 9321, 1435, 422, 446, 597, 2003, 18, 588, 7456, 1435, 480, 446, 597, 4405, 202, 1650, 18, 588, 2594, 1435, 422, 446, 13, 288, 9506, 202, 2463, 13092, 397, 1976, 7204, 18, 3015, 12, 1650, 18, 588, 7456, 10663, 1082, 202, 97, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 759, 4791, 869, 30, 486, 3260, 4671, 300, 9852, 4121, 358, 741, 598, 518, 35, 4121, 6218, 854, 2935, 35, 848, 518, 10016, 366, 295, 88, 584, 35, 3661, 358, 4872, 15303, 35, 5527, 202, 202, 430, 261, 803, 18, 17514, 1190, 2932, 4898, 13, 597, 589, 18, 28023, 12, 21, 2934, 31806, 2932, 4898, 13, 422, 300, 21, 13, 288, 1082, 202, 759, 1699, 4716, 358, 326, 1365, 358, 527, 13696, 87, 1082, 202, 23891, 1111, 273, 394, 25238, 12, 1650, 1769, 25083, 202, 780, 13696, 67, 856, 273, 1111, 18, 588, 786, 2932, 2704, 3618, 3355, 8863, 1082, 202, 780, 13696, 67, 5569, 273, 1111, 18, 588, 786, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1207, 3098, 12, 780, 582, 16, 514, 3849, 559, 13, 288, 202, 202, 3098, 2003, 31, 202, 202, 698, 288, 1082, 202, 1650, 273, 394, 3699, 12, 89, 1769, 202, 202, 97, 1044, 261, 3098, 14714, 425, 21, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 780, 589, 273, 2003, 18, 588, 743, 5621, 202, 202, 430, 261, 803, 422, 446, 13, 288, 1082, 202, 759, 5098, 5481, 35, 1082, 202, 430, 12, 1650, 18, 588, 9321, 1435, 422, 446, 597, 2003, 18, 588, 7456, 1435, 480, 446, 597, 4405, 202, 1650, 18, 588, 2594, 1435, 422, 446, 13, 288, 9506, 202, 2463, 13092, 397, 1976, 7204, 18, 3015, 12, 1650, 2 ]
cougaarHomeDirButtonSelected(); }
handleAddButtonSelected(); }
public void widgetSelected(SelectionEvent evt) { cougaarHomeDirButtonSelected(); }
11868 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11868/934595c5af66b78b6f522941eb94568182fce7d6/CougaarCapabilityConfigurationPage.java/buggy/cougaaride/com.cougaarsoftware.cougaar.ide.ui/src/com/cougaarsoftware/cougaar/ide/ui/wizards/CougaarCapabilityConfigurationPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 3604, 7416, 12, 6233, 1133, 6324, 13, 288, 10792, 1825, 637, 69, 297, 8684, 1621, 3616, 7416, 5621, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 3604, 7416, 12, 6233, 1133, 6324, 13, 288, 10792, 1825, 637, 69, 297, 8684, 1621, 3616, 7416, 5621, 7734, 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 ]
double min = DiscreteStatistics.min(values); double max = DiscreteStatistics.max(values); tree.setNodeAttribute(node, label, new Object[] { new Double(min), new Double(max) }); }
double min = DiscreteStatistics.min(values); double max = DiscreteStatistics.max(values); tree.setNodeAttribute(node, label, new Object[] { new Double(min), new Double(max) }); }
private void annotateRangeAttribute(MutableTree tree, NodeRef node, String label, double[] values) { double min = DiscreteStatistics.min(values); double max = DiscreteStatistics.max(values); tree.setNodeAttribute(node, label, new Object[] { new Double(min), new Double(max) }); }
51824 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51824/079b1a6dceb61fc53151a1fd3d5890df4724b524/TreeAnnotator.java/clean/src/dr/app/tools/TreeAnnotator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 13795, 2655, 1499, 12, 19536, 2471, 2151, 16, 2029, 1957, 756, 16, 514, 1433, 16, 1645, 8526, 924, 13, 288, 5411, 1645, 1131, 273, 3035, 6883, 8569, 18, 1154, 12, 2372, 1769, 5411, 1645, 943, 273, 3035, 6883, 8569, 18, 1896, 12, 2372, 1769, 5411, 2151, 18, 542, 907, 1499, 12, 2159, 16, 1433, 16, 394, 1033, 8526, 288, 394, 3698, 12, 1154, 3631, 394, 3698, 12, 1896, 13, 15549, 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,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, 2471, 2151, 16, 2029, 1957, 756, 16, 514, 1433, 16, 1645, 8526, 924, 13, 288, 5411, 1645, 1131, 273, 3035, 6883, 8569, 18, 1154, 12, 2372, 1769, 5411, 1645, 943, 273, 3035, 6883, 8569, 18, 1896, 12, 2372, 1769, 5411, 2151, 18, 542, 907, 1499, 12, 2159, 16, 1433, 16, 394, 1033, 8526, 288, 394, 3698, 12, 1154, 3631, 394, 3698, 12, 1896, 13, 15549, 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 ]
getImpl().setOption(SocketOptions.SO_LINGER, Boolean.valueOf(false));
getImpl().setOption(SocketOptions.SO_LINGER, Integer.valueOf(-1));
public void setSoLinger(boolean on, int linger) throws SocketException { if (isClosed()) throw new SocketException("socket is closed"); if (on) { if (linger < 0) throw new IllegalArgumentException("SO_LINGER must be >= 0"); if (linger > 65535) linger = 65535; getImpl().setOption(SocketOptions.SO_LINGER, new Integer(linger)); } else getImpl().setOption(SocketOptions.SO_LINGER, Boolean.valueOf(false)); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/707979fc1851cc48342c3fbf08245c69430ca2c9/Socket.java/clean/java/net/Socket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 10225, 48, 6658, 12, 6494, 603, 16, 509, 328, 6658, 13, 1216, 8758, 503, 225, 288, 565, 309, 261, 291, 7395, 10756, 1377, 604, 394, 8758, 503, 2932, 7814, 353, 4375, 8863, 565, 309, 261, 265, 13, 1377, 288, 202, 430, 261, 2456, 264, 411, 374, 13, 202, 225, 604, 394, 2754, 2932, 3584, 67, 26789, 654, 1297, 506, 1545, 374, 8863, 202, 430, 261, 2456, 264, 405, 10147, 13, 202, 225, 328, 6658, 273, 10147, 31, 202, 588, 2828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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 10225, 48, 6658, 12, 6494, 603, 16, 509, 328, 6658, 13, 1216, 8758, 503, 225, 288, 565, 309, 261, 291, 7395, 10756, 1377, 604, 394, 8758, 503, 2932, 7814, 353, 4375, 8863, 565, 309, 261, 265, 13, 1377, 288, 202, 430, 261, 2456, 264, 411, 374, 13, 202, 225, 604, 394, 2754, 2932, 3584, 67, 26789, 654, 1297, 506, 1545, 374, 8863, 202, 430, 261, 2456, 264, 405, 10147, 13, 202, 225, 328, 6658, 273, 10147, 31, 202, 588, 2828, 7675, 542, 1895, 12, 4534, 1320, 18, 3584, 67, 26789, 654, 16, 394, 2144, 12, 2456, 264, 10019, 1377, 289, 565, 469, 1377, 336, 2828, 7675, 542, 1895, 12, 4534, 1320, 18, 3584, 67, 26789, 2 ]
List preStyles = DEUtil.getMetaDataDictionary( ) .getPredefinedStyles( );
List preStyles = DEUtil.getMetaDataDictionary( ).getPredefinedStyles( );
private String[] getPredefinedStyeNames( ) { List preStyles = DEUtil.getMetaDataDictionary( ) .getPredefinedStyles( ); if ( preStyles == null ) { return new String[]{}; } String[] names = new String[preStyles.size( )]; for ( int i = 0; i < preStyles.size( ); i++ ) { names[i] = ( (PredefinedStyle) preStyles.get( i ) ).getName( ); } Arrays.sort( names ); return names; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/5394a3ba0ae550258918d0da04a99b5c37a05b64/GeneralPreferencePage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/GeneralPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 8526, 12822, 2178, 510, 20513, 1557, 12, 262, 202, 95, 202, 202, 682, 675, 9725, 273, 2030, 1304, 18, 588, 6998, 10905, 12, 262, 9506, 202, 18, 588, 1386, 2178, 9725, 12, 11272, 202, 202, 430, 261, 675, 9725, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 394, 514, 8526, 2916, 31, 202, 202, 97, 202, 202, 780, 8526, 1257, 273, 394, 514, 63, 1484, 9725, 18, 1467, 12, 262, 15533, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 675, 9725, 18, 1467, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 1973, 63, 77, 65, 273, 261, 261, 1386, 2178, 2885, 13, 675, 9725, 18, 588, 12, 277, 262, 262, 18, 17994, 12, 11272, 202, 202, 97, 202, 202, 12726, 18, 3804, 12, 1257, 11272, 202, 202, 2463, 1257, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 8526, 12822, 2178, 510, 20513, 1557, 12, 262, 202, 95, 202, 202, 682, 675, 9725, 273, 2030, 1304, 18, 588, 6998, 10905, 12, 262, 9506, 202, 18, 588, 1386, 2178, 9725, 12, 11272, 202, 202, 430, 261, 675, 9725, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 394, 514, 8526, 2916, 31, 202, 202, 97, 202, 202, 780, 8526, 1257, 273, 394, 514, 63, 1484, 9725, 18, 1467, 12, 262, 15533, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 675, 9725, 18, 1467, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 1973, 63, 77, 65, 273, 261, 261, 1386, 2178, 2885, 13, 675, 9725, 18, 588, 12, 277, 262, 2 ]
if (n.bitLength() == L && Prime2.isProbablePrime(q) && q.gcd(e).equals(ONE)) {
if (n.bitLength() == L && q.isProbablePrime(80) && q.gcd(e).equals(ONE))
public KeyPair generate() { log.entering(this.getClass().getName(), "generate"); BigInteger p, q, n, d; // 1. Generate a prime p in the interval [2**(M-1), 2**M - 1], where // M = CEILING(L/2), and such that GCD(p, e) = 1 int M = (L + 1) / 2; BigInteger lower = TWO.pow(M - 1); BigInteger upper = TWO.pow(M).subtract(ONE); byte[] kb = new byte[(M + 7) / 8]; // enough bytes to frame M bits step1: while (true) { nextRandomBytes(kb); p = new BigInteger(1, kb).setBit(0); if (p.compareTo(lower) >= 0 && p.compareTo(upper) <= 0 && Prime2.isProbablePrime(p) && p.gcd(e).equals(ONE)) { break step1; } } // 2. Generate a prime q such that the product of p and q is an L-bit // number, and such that GCD(q, e) = 1 step2: while (true) { nextRandomBytes(kb); q = new BigInteger(1, kb).setBit(0); n = p.multiply(q); if (n.bitLength() == L && Prime2.isProbablePrime(q) && q.gcd(e).equals(ONE)) { break step2; } // TODO: test for p != q } // TODO: ensure p < q // 3. Put n = pq. The public key is (n, e). // 4. Compute the parameters necessary for the private key K (see // Section 2.2). BigInteger phi = p.subtract(ONE).multiply(q.subtract(ONE)); d = e.modInverse(phi); // 5. Output the public key and the private key. PublicKey pubK = new GnuRSAPublicKey(preferredFormat, n, e); PrivateKey secK = new GnuRSAPrivateKey(preferredFormat, p, q, e, d); KeyPair result = new KeyPair(pubK, secK); log.exiting(this.getClass().getName(), "generate", result); return result; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/RSAKeyPairGenerator.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/RSAKeyPairGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 28968, 2103, 1435, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 7163, 8863, 565, 10246, 293, 16, 1043, 16, 290, 16, 302, 31, 565, 368, 404, 18, 6654, 279, 17014, 293, 316, 326, 3673, 306, 22, 636, 12, 49, 17, 21, 3631, 576, 636, 49, 300, 404, 6487, 1625, 565, 368, 490, 273, 29538, 2627, 1360, 12, 48, 19, 22, 3631, 471, 4123, 716, 611, 10160, 12, 84, 16, 425, 13, 273, 404, 565, 509, 490, 273, 261, 48, 397, 404, 13, 342, 576, 31, 565, 10246, 2612, 273, 24722, 51, 18, 23509, 12, 49, 300, 404, 1769, 565, 10246, 3854, 273, 24722, 51, 18, 23509, 12, 49, 2934, 1717, 1575, 12, 5998, 1769, 565, 1160, 8526, 9182, 273, 394, 1160, 63, 12, 49, 397, 2371, 13, 342, 1725, 15533, 368, 7304, 1731, 358, 2623, 490, 4125, 565, 2235, 21, 30, 1323, 261, 3767, 13, 1377, 288, 3639, 1024, 8529, 2160, 12, 8899, 1769, 3639, 293, 273, 394, 10246, 12, 21, 16, 9182, 2934, 542, 5775, 12, 20, 1769, 3639, 309, 261, 84, 18, 9877, 774, 12, 8167, 13, 1545, 374, 597, 293, 18, 9877, 774, 12, 5797, 13, 1648, 374, 5411, 597, 2301, 494, 22, 18, 291, 9152, 429, 23327, 12, 84, 13, 597, 293, 18, 75, 4315, 12, 73, 2934, 14963, 12, 5998, 3719, 1850, 288, 5411, 898, 2235, 21, 31, 1850, 289, 1377, 289, 565, 368, 576, 18, 6654, 279, 17014, 1043, 4123, 716, 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, 28968, 2103, 1435, 225, 288, 565, 613, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 7163, 8863, 565, 10246, 293, 16, 1043, 16, 290, 16, 302, 31, 565, 368, 404, 18, 6654, 279, 17014, 293, 316, 326, 3673, 306, 22, 636, 12, 49, 17, 21, 3631, 576, 636, 49, 300, 404, 6487, 1625, 565, 368, 490, 273, 29538, 2627, 1360, 12, 48, 19, 22, 3631, 471, 4123, 716, 611, 10160, 12, 84, 16, 425, 13, 273, 404, 565, 509, 490, 273, 261, 48, 397, 404, 13, 342, 576, 31, 565, 10246, 2612, 273, 24722, 51, 18, 23509, 12, 49, 300, 404, 1769, 565, 10246, 3854, 273, 24722, 51, 18, 23509, 12, 49, 2934, 2 ]
public FSClosestCopy(FSRevisionNode newRevNode, String newPath){ revNode = newRevNode; path = newPath;
public FSClosestCopy(){
public FSClosestCopy(FSRevisionNode newRevNode, String newPath){ revNode = newRevNode; path = newPath; }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/3de4e7e298b05186659154d8fdb3899509e55875/FSClosestCopy.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/fs/FSClosestCopy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 478, 2312, 383, 7781, 2951, 12, 4931, 7939, 907, 394, 10070, 907, 16, 514, 14954, 15329, 202, 202, 9083, 907, 273, 394, 10070, 907, 31, 202, 202, 803, 273, 14954, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 478, 2312, 383, 7781, 2951, 12, 4931, 7939, 907, 394, 10070, 907, 16, 514, 14954, 15329, 202, 202, 9083, 907, 273, 394, 10070, 907, 31, 202, 202, 803, 273, 14954, 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 ]
} finally {
} finally {
public MetaData getMetaData(String namespaceUri) throws RepositoryException { MetaDataRegistry registry = null; try { Object obj = this.manager.lookup(MetaDataRegistry.ROLE); registry = (MetaDataRegistry) this.manager.lookup(MetaDataRegistry.ROLE); if (!registry.isRegistered(namespaceUri)) { throw new RepositoryException("The namespace [" + namespaceUri + "] is not registered!"); } } catch (ServiceException e) { throw new RepositoryException(e); } catch (DocumentException e) { throw new RepositoryException(e); } finally { if (registry != null) { this.manager.release(registry); } } MetaData meta = (MetaData) this.namespace2metadata.get(namespaceUri); if (meta == null) { meta = new SourceNodeMetaData(namespaceUri, this, this.manager); this.namespace2metadata.put(namespaceUri, meta); } return meta; }
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/0e919d02de37e966deb234a81962abc9d476e852/SourceNode.java/buggy/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 27512, 23028, 12, 780, 1981, 3006, 13, 1216, 13367, 288, 7734, 27512, 4243, 4023, 273, 446, 31, 3639, 775, 288, 5411, 1033, 1081, 273, 333, 18, 4181, 18, 8664, 12, 6998, 4243, 18, 16256, 1769, 5411, 4023, 273, 261, 6998, 4243, 13, 333, 18, 4181, 18, 8664, 12, 6998, 4243, 18, 16256, 1769, 5411, 309, 16051, 9893, 18, 291, 10868, 12, 4937, 3006, 3719, 288, 7734, 604, 394, 13367, 2932, 1986, 1981, 8247, 397, 1981, 3006, 397, 9850, 353, 486, 4104, 4442, 1769, 5411, 289, 3639, 289, 1044, 261, 15133, 425, 13, 288, 5411, 604, 394, 13367, 12, 73, 1769, 3639, 289, 1044, 261, 2519, 503, 425, 13, 288, 5411, 604, 394, 13367, 12, 73, 1769, 3639, 289, 3639, 3095, 288, 5411, 309, 261, 9893, 480, 446, 13, 288, 7734, 333, 18, 4181, 18, 9340, 12, 9893, 1769, 5411, 289, 3639, 289, 7734, 27512, 2191, 273, 261, 6998, 13, 333, 18, 4937, 22, 4165, 18, 588, 12, 4937, 3006, 1769, 3639, 309, 261, 3901, 422, 446, 13, 288, 5411, 2191, 273, 394, 4998, 907, 6998, 12, 4937, 3006, 16, 333, 16, 333, 18, 4181, 1769, 5411, 333, 18, 4937, 22, 4165, 18, 458, 12, 4937, 3006, 16, 2191, 1769, 3639, 289, 3639, 327, 2191, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 27512, 23028, 12, 780, 1981, 3006, 13, 1216, 13367, 288, 7734, 27512, 4243, 4023, 273, 446, 31, 3639, 775, 288, 5411, 1033, 1081, 273, 333, 18, 4181, 18, 8664, 12, 6998, 4243, 18, 16256, 1769, 5411, 4023, 273, 261, 6998, 4243, 13, 333, 18, 4181, 18, 8664, 12, 6998, 4243, 18, 16256, 1769, 5411, 309, 16051, 9893, 18, 291, 10868, 12, 4937, 3006, 3719, 288, 7734, 604, 394, 13367, 2932, 1986, 1981, 8247, 397, 1981, 3006, 397, 9850, 353, 486, 4104, 4442, 1769, 5411, 289, 3639, 289, 1044, 261, 15133, 425, 13, 288, 5411, 604, 394, 13367, 12, 73, 1769, 3639, 289, 1044, 261, 2519, 503, 425, 13, 288, 5411, 604, 394, 13367, 12, 73, 1769, 3639, 2 ]
throw new OXFException("xforms:submission: instance to submit does not satisfy valid and/or required model item properties.");
} finally { currentInstance.setInstanceDocument(backupInstanceDocument);
public void performDefaultAction(PipelineContext pipelineContext, XFormsEvent event) { final String eventName = event.getEventName(); if (XFormsEvents.XFORMS_SUBMIT.equals(eventName) || XFormsEvents.XXFORMS_SUBMIT.equals(eventName)) { // 11.1 The xforms-submit Event // Bubbles: Yes / Cancelable: Yes / Context Info: None boolean isDeferredSubmissionSecondPass = false; try { // Make sure submission element info is extracted extractSubmissionElement(); final boolean isReplaceAll = replace.equals(XFormsConstants.XFORMS_SUBMIT_REPLACE_ALL); final boolean isHandlingOptimizedGet = XFormsUtils.isOptimizeGetAllSubmission() && XFormsSubmissionUtils.isGet(method) && isReplaceAll; //noinspection UnnecessaryLocalVariable final boolean isDeferredSubmission = isReplaceAll; final boolean isDeferredSubmissionFirstPass = isDeferredSubmission && XFormsEvents.XFORMS_SUBMIT.equals(eventName) && !isHandlingOptimizedGet; isDeferredSubmissionSecondPass = isDeferredSubmission && !isDeferredSubmissionFirstPass; // Select node based on ref or bind final XFormsControls xformsControls = containingDocument.getXFormsControls(); xformsControls.setBinding(pipelineContext, submissionElement); // FIXME: the submission element is not a control... final Node currentNode = xformsControls.getCurrentSingleNode(); if (!(currentNode instanceof Document || currentNode instanceof Element)) { throw new OXFException("xforms:submission: single-node binding must refer to a document node or an element."); } final XFormsInstance currentInstance = xformsControls.getCurrentInstance(); final Document initialDocumentToSubmit; if (!isDeferredSubmissionSecondPass) { // Create document to submit initialDocumentToSubmit = createDocumentToSubmit(currentNode, currentInstance); // Revalidate instance containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(model, false)); // TODO: The "false" attribute is no longer used. The above will cause events to be // sent out. Check if the validation state can really change. If so, find a // solution. // "no notification events are marked for dispatching due to this operation" // Check that there are no validation errors final boolean instanceSatisfiesValidRequired = isDocumentSatisfiesValidRequired(initialDocumentToSubmit); if (!instanceSatisfiesValidRequired) { if (XFormsServer.logger.isDebugEnabled()) { final LocationDocumentResult documentResult = new LocationDocumentResult(); final TransformerHandler identity = TransformerUtils.getIdentityTransformerHandler(); identity.setResult(documentResult); currentInstance.read(identity); final String documentString = Dom4jUtils.domToString(documentResult.getDocument()); XFormsServer.logger.debug("XForms - instance document or subset thereof cannot be submitted:\n" + documentString); } throw new OXFException("xforms:submission: instance to submit does not satisfy valid and/or required model item properties."); } } else { initialDocumentToSubmit = null; } // Deferred submission: end of the first pass if (isDeferredSubmissionFirstPass) { // When replace="all", we wait for the submission of an XXFormsSubmissionEvent from the client containingDocument.setClientActiveSubmission(this); return; } final Document documentToSubmit; if (isDeferredSubmissionSecondPass) { // Handle uploaded files if any final Element filesElement = (event instanceof XXFormsSubmissionEvent) ? ((XXFormsSubmissionEvent) event).getFilesElement() : null; if (filesElement != null) { for (Iterator i = filesElement.elements().iterator(); i.hasNext();) { final Element parameterElement = (Element) i.next(); final String name = parameterElement.element("name").getTextTrim(); final Element valueElement = parameterElement.element("value"); final String value = valueElement.getTextTrim(); final String paramValueType = Dom4jUtils.qNameToexplodedQName(Dom4jUtils.extractAttributeValueQName(valueElement, XMLConstants.XSI_TYPE_QNAME)); final String filename = parameterElement.element("filename").getTextTrim(); final String mediatype = parameterElement.element("content-type").getTextTrim(); final String size = parameterElement.element("content-length").getTextTrim(); final XFormsControls.UploadControlInfo uploadControl = (XFormsControls.UploadControlInfo) containingDocument.getObjectById(pipelineContext, name); if (uploadControl != null) { // in case of xforms:repeat, the name of the template will not match an existing control // Set value into the instance xformsControls.setBinding(pipelineContext, uploadControl); { final Node currentSingleNode = xformsControls.getCurrentSingleNode(); XFormsInstance.setValueForNode(pipelineContext, currentSingleNode, value, paramValueType); } // Handle filename if any if (uploadControl.getFilenameElement() != null) { xformsControls.pushBinding(pipelineContext, uploadControl.getFilenameElement()); final Node currentSingleNode = xformsControls.getCurrentSingleNode(); XFormsInstance.setValueForNode(pipelineContext, currentSingleNode, filename, null); xformsControls.popBinding(); } // Handle mediatype if any if (uploadControl.getMediatypeElement() != null) { xformsControls.pushBinding(pipelineContext, uploadControl.getMediatypeElement()); final Node currentSingleNode = xformsControls.getCurrentSingleNode(); XFormsInstance.setValueForNode(pipelineContext, currentSingleNode, mediatype, null); xformsControls.popBinding(); } // Handle file size if any if (uploadControl.getSizeElement() != null) { xformsControls.pushBinding(pipelineContext, uploadControl.getSizeElement()); final Node currentSingleNode = xformsControls.getCurrentSingleNode(); XFormsInstance.setValueForNode(pipelineContext, currentSingleNode, size, null); xformsControls.popBinding(); } } } } // Create document to submit documentToSubmit = createDocumentToSubmit(currentNode, currentInstance); // Revalidate instance containingDocument.dispatchEvent(pipelineContext, new XFormsRevalidateEvent(model, false)); // TODO: The "false" attribute is no longer used. The above will cause events to be // sent out. Check if the validation state can really change. If so, find a // solution. // "no notification events are marked for dispatching due to this operation" // Check that there are no validation errors final boolean instanceSatisfiesValidRequired = isDocumentSatisfiesValidRequired(documentToSubmit); if (!instanceSatisfiesValidRequired) {// currentInstance.readOut();// FIXME: DEBUG throw new OXFException("xforms:submission: instance to submit does not satisfy valid and/or required model item properties."); } } else { // Don't recreate document documentToSubmit = initialDocumentToSubmit; } // Serialize // To support: application/xml, application/x-www-form-urlencoded, multipart/related, multipart/form-data final byte[] serializedInstance; final String serializedInstanceString; { if (XFormsSubmissionUtils.isPost(method) || XFormsSubmissionUtils.isPut(method)) { try { final Transformer identity = TransformerUtils.getIdentityTransformer(); TransformerUtils.applyOutputProperties(identity, "xml", version, null, null, encoding, omitxmldeclaration, standalone, indent, 4); // TODO: use cdata-section-elements final ByteArrayOutputStream os = new ByteArrayOutputStream(); identity.transform(new DocumentSource(documentToSubmit), new StreamResult(os)); serializedInstance = os.toByteArray(); } catch (Exception e) { throw new OXFException("xforms:submission: exception while serializing instance to XML.", e); } serializedInstanceString = null; } else if (XFormsSubmissionUtils.isGet(method)) { // Perform "application/x-www-form-urlencoded" serialization serializedInstanceString = createWwwFormUrlEncoded(documentToSubmit); serializedInstance = null; } else if (method.equals("multipart-post")) { // TODO throw new OXFException("xforms:submission: submission method not yet implemented: " + method); } else if (method.equals("form-data-post")) { // TODO throw new OXFException("xforms:submission: submission method not yet implemented: " + method); } else if (method.equals("urlencoded-post")) { throw new OXFException("xforms:submission: deprecated submission method requested: " + method); } else { throw new OXFException("xforms:submission: invalid submission method requested: " + method); } } final ExternalContext externalContext = (ExternalContext) pipelineContext.getAttribute(PipelineContext.EXTERNAL_CONTEXT); // Result information ConnectionResult connectionResult = null; try { if (isHandlingOptimizedGet) { // GET with replace="all": we can optimize and tell the client to just load the URL connectionResult = doOptimizedGet(pipelineContext, serializedInstanceString); } else if (!NetUtils.urlHasProtocol(action) && (externalContext.getRequest().getContainerType().equals("portlet") || (externalContext.getRequest().getContainerType().equals("servlet") && (XFormsUtils.isOptimizeLocalSubmission() || isMethodOptimizedLocalSubmission()) && isReplaceAll))) { // This is an "optimized" submission, i.e. one that does not use an actual // protocol handler to access the resource // NOTE: Optimizing with include() for servlets doesn't allow detecting // errors caused by the included resource, so we don't allow this for now. // NOTE: For portlets, paths are served directly by the portlet, NOT as // resources. // Current limitations: // o Portlets cannot access resources outside the portlet except by using absolute URLs // o Servlets cannot access resources on the same serer but not in the current application // except by using absolute URLs final URI resolvedURI = XFormsUtils.resolveURI(submissionElement, action); connectionResult = XFormsSubmissionUtils.doOptimized(pipelineContext, externalContext, this, method, resolvedURI.toString(), mediatype, isReplaceAll, serializedInstance, serializedInstanceString); } else { // This is a regular remote submission going through a protocol handler // Absolute URLs or absolute paths are allowed to a local servlet final String resolvedURL = XFormsUtils.resolveURL(containingDocument, pipelineContext, submissionElement, false, action); connectionResult = XFormsSubmissionUtils.doRegular(pipelineContext, externalContext, method, resolvedURL, mediatype, isReplaceAll, serializedInstance, serializedInstanceString); } if (!connectionResult.dontHandleResponse) { // Handle response if (connectionResult.resultCode == 200) { // Sucessful response final boolean hasContent; { if (connectionResult.resultInputStream == null) { hasContent = false; } else { if (!connectionResult.resultInputStream.markSupported()) connectionResult.resultInputStream = new BufferedInputStream(connectionResult.resultInputStream); connectionResult.resultInputStream.mark(1); hasContent = connectionResult.resultInputStream.read() != -1; connectionResult.resultInputStream.reset(); } } if (hasContent) { // There is a body if (isReplaceAll) { // When we get here, we are in a mode where we need to send the reply // directly to an external context, if any. // "the event xforms-submit-done is dispatched" containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitDoneEvent(XFormsModelSubmission.this)); final ExternalContext.Response response = externalContext.getResponse(); // Forward headers to response if (connectionResult.resultHeaders != null) { for (Iterator i = connectionResult.resultHeaders.entrySet().iterator(); i.hasNext();) { final Map.Entry currentEntry = (Map.Entry) i.next(); final String headerName = (String) currentEntry.getKey(); final List headerValues = (List) currentEntry.getValue(); if (headerName != null && headerValues != null) { for (Iterator j = headerValues.iterator(); j.hasNext();) { response.addHeader(headerName, (String) j.next()); } } } } // Forward content to response NetUtils.copyStream(connectionResult.resultInputStream, response.getOutputStream()); } else if (replace.equals(XFormsConstants.XFORMS_SUBMIT_REPLACE_INSTANCE)) { final ByteArrayOutputStream resultByteArrayOutputStream = new ByteArrayOutputStream(); NetUtils.copyStream(connectionResult.resultInputStream, resultByteArrayOutputStream); byte[] submissionResponse = resultByteArrayOutputStream.toByteArray(); if (ProcessorUtils.isXMLContentType(connectionResult.resultMediaType)) { // Handling of XML media type try { final Transformer identity = TransformerUtils.getIdentityTransformer(); final LocationDocumentResult documentResult = new LocationDocumentResult(); identity.transform(new StreamSource(new ByteArrayInputStream(submissionResponse)), documentResult); final Document resultingInstanceDocument = documentResult.getDocument(); // Set new instance document to replace the one submitted final XFormsInstance replaceInstance = (replaceInstanceId == null) ? currentInstance : model.getInstance(replaceInstanceId); if (replaceInstance == null) { containingDocument.dispatchEvent(pipelineContext, new XFormsBindingExceptionEvent(XFormsModelSubmission.this)); } else { // Get repeat index information just before insertion final Map previousRepeatIdToIndex; { final Map map = xformsControls.getCurrentControlsState().getRepeatIdToIndex(); previousRepeatIdToIndex = (map == null) ? null : new HashMap(map); } // Set new instance replaceInstance.setInstanceDocument(resultingInstanceDocument); // Mark all values as changed so that refresh sends appropriate events XFormsUtils.markAllValuesChanged(replaceInstance.getDocument()); // Rebuild ControlsState xformsControls.rebuildCurrentControlsState(pipelineContext); // "Once the XML instance data has been replaced, // the rebuild, recalculate, revalidate and refresh // operations are performed on the model, without // dispatching events to invoke those four // operations." model.doRebuild(pipelineContext); model.doRecalculate(pipelineContext); model.doRevalidate(pipelineContext); model.doRefresh(pipelineContext); // Update repeat indexes if necessary // The idea is that if a repeat index was set to 0 // (which can only happen when a repeat node-set is // empty) and instance replacement causes the // node-set to be non-empty, then the repeat index // must be set to the initial repeat index for that // repeat. if (previousRepeatIdToIndex != null) { final XFormsControls.ControlsState currentControlsState = xformsControls.getCurrentControlsState(); final Map currentRepeatIdToIndex = currentControlsState.getRepeatIdToIndex(); final Map intialRepeatIdToIndex = currentControlsState.getDefaultRepeatIdToIndex(); final Map effectiveRepeatIdToIterations = currentControlsState.getEffectiveRepeatIdToIterations(); if (currentRepeatIdToIndex != null && currentRepeatIdToIndex.size() != 0) { for (Iterator i = previousRepeatIdToIndex.entrySet().iterator(); i.hasNext();) { final Map.Entry currentEntry = (Map.Entry) i.next(); final String repeatId = (String) currentEntry.getKey(); final Integer previouslIndex = (Integer) currentEntry.getValue();// final Integer newIndex = (Integer) currentRepeatIdToIndex.get(repeatId); final Integer newIterations = (Integer) effectiveRepeatIdToIterations.get(repeatId); if (previouslIndex.intValue() == 0 && newIterations.intValue() > 0) { // Set index to defaul value final Integer initialRepeatIndex = (Integer) intialRepeatIdToIndex.get(repeatId);// XFormsActionInterpreter.executeSetindexAction(pipelineContext, containingDocument, repeatId, initialRepeatIndex.toString()); // TODO: Here we need to check that the index is within bounds and to send the appropriate events currentControlsState.updateRepeatIndex(repeatId, initialRepeatIndex.intValue()); } else { // Just reset index and make sure it is within bounds// XFormsActionInterpreter.executeSetindexAction(pipelineContext, containingDocument, repeatId, previousRepeatIndex.toString()); // TODO: Here we need to check that the index is within bounds and to send the appropriate events// final Integer previousRepeatIndex = (Integer) previousRepeatIdToIndex.get(repeatId);// currentControlsState.updateRepeatIndex(repeatId, previousRepeatIndex.intValue()); final Integer initialRepeatIndex = (Integer) intialRepeatIdToIndex.get(repeatId); currentControlsState.updateRepeatIndex(repeatId, initialRepeatIndex.intValue()); } // TODO: Adjust controls ids that could have gone out of bounds? // adjustRepeatIndexes(pipelineContext, xformsControls); } } } // Notify that submission is done containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitDoneEvent(XFormsModelSubmission.this)); } } catch (Exception e) { throw new OXFException("xforms:submission: exception while serializing XML to instance.", e); } } else { // Other media type throw new OXFException("Body received with non-XML media type for replace=\"instance\": " + connectionResult.resultMediaType); } } else if (replace.equals(XFormsConstants.XFORMS_SUBMIT_REPLACE_NONE)) { // Just notify that processing is terminated containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitDoneEvent(XFormsModelSubmission.this)); } else { throw new OXFException("xforms:submission: invalid replace attribute: " + replace); } } else { // There is no body, notify that processing is terminated containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitDoneEvent(XFormsModelSubmission.this)); } } else if (connectionResult.resultCode == 302 || connectionResult.resultCode == 301) { // Got a redirect final ExternalContext.Response response = externalContext.getResponse(); // Forward headers to response // TODO: this is duplicated from above if (connectionResult.resultHeaders != null) { for (Iterator i = connectionResult.resultHeaders.entrySet().iterator(); i.hasNext();) { final Map.Entry currentEntry = (Map.Entry) i.next(); final String headerName = (String) currentEntry.getKey(); final List headerValues = (List) currentEntry.getValue(); if (headerName != null && headerValues != null) { for (Iterator j = headerValues.iterator(); j.hasNext();) { response.addHeader(headerName, (String) j.next()); } } } } // Forward redirect response.setStatus(connectionResult.resultCode); } else { // Error code received throw new OXFException("Error code received when submitting instance: " + connectionResult.resultCode); } } } finally { // Clean-up if (connectionResult != null) { connectionResult.close(); } } } catch (Throwable e) { if (isDeferredSubmissionSecondPass && XFormsUtils.isOptimizePostAllSubmission()) { // It doesn't serve any purpose here to dispatch an event, so we just propagate the exception throw new OXFException(e); } else { // Any exception will cause an error event to be dispatched containingDocument.dispatchEvent(pipelineContext, new XFormsSubmitErrorEvent(XFormsModelSubmission.this, action, e)); } } } else if (XFormsEvents.XFORMS_BINDING_EXCEPTION.equals(eventName)) { // The default action for this event results in the following: Fatal error. throw new OXFException("Binding exception."); } }
10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/0d1166505c8e2f5bfe7c24e43c908b331cb9f07a/XFormsModelSubmission.java/clean/src/java/org/orbeon/oxf/xforms/XFormsModelSubmission.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3073, 1868, 1803, 12, 8798, 1042, 5873, 1042, 16, 1139, 18529, 1133, 871, 13, 288, 3639, 727, 514, 7933, 273, 871, 18, 588, 24320, 5621, 3639, 309, 261, 60, 18529, 3783, 18, 60, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 13, 747, 1139, 18529, 3783, 18, 5619, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 4648, 18, 21, 1021, 619, 9741, 17, 9297, 2587, 5411, 368, 605, 22298, 1040, 30, 19925, 342, 10347, 429, 30, 19925, 342, 1772, 3807, 30, 599, 5411, 1250, 353, 16886, 17865, 8211, 6433, 273, 629, 31, 5411, 775, 288, 7734, 368, 4344, 3071, 8515, 930, 1123, 353, 9438, 7734, 2608, 17865, 1046, 5621, 7734, 727, 1250, 353, 5729, 1595, 273, 1453, 18, 14963, 12, 60, 18529, 2918, 18, 60, 4983, 55, 67, 8362, 6068, 67, 21726, 67, 4685, 1769, 7734, 727, 1250, 353, 14701, 13930, 1235, 967, 273, 1139, 18529, 1989, 18, 291, 6179, 10153, 21413, 17865, 1435, 597, 1139, 18529, 17865, 1989, 18, 291, 967, 12, 2039, 13, 597, 353, 5729, 1595, 31, 7734, 368, 13242, 1351, 82, 4128, 2042, 3092, 7734, 727, 1250, 353, 16886, 17865, 273, 353, 5729, 1595, 31, 7734, 727, 1250, 353, 16886, 17865, 3759, 6433, 273, 353, 16886, 17865, 597, 1139, 18529, 3783, 18, 60, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 13, 597, 401, 291, 14701, 13930, 1235, 967, 31, 7734, 353, 16886, 17865, 8211, 6433, 273, 353, 16886, 17865, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3073, 1868, 1803, 12, 8798, 1042, 5873, 1042, 16, 1139, 18529, 1133, 871, 13, 288, 3639, 727, 514, 7933, 273, 871, 18, 588, 24320, 5621, 3639, 309, 261, 60, 18529, 3783, 18, 60, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 13, 747, 1139, 18529, 3783, 18, 5619, 4983, 55, 67, 8362, 6068, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 4648, 18, 21, 1021, 619, 9741, 17, 9297, 2587, 5411, 368, 605, 22298, 1040, 30, 19925, 342, 10347, 429, 30, 19925, 342, 1772, 3807, 30, 599, 5411, 1250, 353, 16886, 17865, 8211, 6433, 273, 629, 31, 5411, 775, 288, 7734, 368, 4344, 3071, 8515, 930, 1123, 353, 9438, 7734, 2608, 17865, 1046, 2 ]
jjCheckNAddStates(92, 94);
jjCheckNAddStates(134, 136);
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 36; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x3ff000000000000L & l) != 0L) { if (kind > 52) kind = 52; jjCheckNAdd(23); } else if ((0x100002600L & l) != 0L) { if (kind > 26) kind = 26; jjCheckNAdd(4); } else if (curChar == 36) { if (kind > 13) kind = 13; jjCheckNAddTwoStates(33, 34); } else if (curChar == 46) jjstateSet[jjnewStateCnt++] = 27; else if (curChar == 45) jjCheckNAdd(23); else if (curChar == 39) jjCheckNAddStates(89, 91); else if (curChar == 34) jjCheckNAddStates(92, 94); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 2; break; case 0: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 1; break; case 1: if ((0xfffffff7ffffffffL & l) != 0L && kind > 16) kind = 16; break; case 2: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 0; break; case 4: if ((0x100002600L & l) == 0L) break; if (kind > 26) kind = 26; jjCheckNAdd(4); break; case 5: if (curChar == 34) jjCheckNAddStates(92, 94); break; case 6: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(92, 94); break; case 7: if (curChar == 34 && kind > 27) kind = 27; break; case 9: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 10: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(95, 98); break; case 11: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 12: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 13; break; case 13: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(11); break; case 14: if (curChar == 32) jjAddStates(75, 76); break; case 15: if (curChar == 10) jjCheckNAddStates(92, 94); break; case 16: if (curChar == 39) jjCheckNAddStates(89, 91); break; case 17: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(89, 91); break; case 19: if (curChar == 32) jjAddStates(13, 14); break; case 20: if (curChar == 10) jjCheckNAddStates(89, 91); break; case 21: if (curChar == 39 && kind > 27) kind = 27; break; case 22: if (curChar == 45) jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 52) kind = 52; jjCheckNAdd(23); break; case 25: if ((0x3ff200000000000L & l) == 0L) break; if (kind > 60) kind = 60; jjstateSet[jjnewStateCnt++] = 25; break; case 26: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 27; break; case 30: if (curChar == 36 && kind > 13) kind = 13; break; case 32: if (curChar == 36) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 33 && kind > 14) kind = 14; break; case 35: if (curChar != 36) break; if (kind > 13) kind = 13; jjCheckNAddTwoStates(33, 34); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 60) kind = 60; jjCheckNAdd(25); } else if (curChar == 92) jjCheckNAddStates(99, 102); break; case 1: if (kind > 16) kind = 16; break; case 6: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(92, 94); break; case 8: if (curChar == 92) jjAddStates(103, 107); break; case 9: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 17: jjAddStates(89, 91); break; case 18: if (curChar == 92) jjAddStates(13, 14); break; case 24: case 25: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 60) kind = 60; jjCheckNAdd(25); break; case 27: if ((0x7fffffe07fffffeL & l) != 0L && kind > 61) kind = 61; break; case 28: if (curChar == 92) jjCheckNAddStates(99, 102); break; case 29: if (curChar == 92) jjCheckNAddTwoStates(29, 30); break; case 31: if (curChar == 92) jjCheckNAddTwoStates(31, 32); break; case 33: if (curChar == 92) jjAddStates(108, 109); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 16) kind = 16; break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(92, 94); break; case 17: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(89, 91); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 36 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/5b85dc5e122a5bdf3ea90d4f89cebe71413fc26b/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 21, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 6580, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 890, 30, 5375, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 18106, 13, 13491, 3846, 273, 18106, 31, 5397, 10684, 1564, 50, 986, 12, 4366, 1769, 5375, 289, 5375, 469, 309, 14015, 20, 92, 23899, 5558, 713, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 10659, 13, 13491, 3846, 273, 10659, 31, 5397, 10684, 1564, 50, 986, 12, 24, 1769, 5375, 289, 5375, 469, 309, 261, 1397, 2156, 422, 6580, 13, 5375, 288, 5397, 309, 261, 9224, 405, 5958, 13, 13491, 3846, 273, 5958, 31, 5397, 10684, 1564, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 21, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 6580, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
data = TestFixture.initializeRepository1();
data = TestFixture.init010();
protected void setUp() throws Exception { super.setUp(); manager = TasksUiPlugin.getRepositoryManager(); manager.clearRepositories(); tasklist = TasksUiPlugin.getTaskListManager().getTaskList(); data = TestFixture.initializeRepository1(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/312c78d721814073d17f104ab334cbe54b3954cc/TracRepositoryConnectorTest.java/buggy/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/TracRepositoryConnectorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 4181, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 5621, 202, 202, 4181, 18, 8507, 18429, 5621, 202, 202, 4146, 1098, 273, 20350, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 4181, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 5621, 202, 202, 4181, 18, 8507, 18429, 5621, 202, 202, 4146, 1098, 273, 20350, 13943, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 5621, 202, 202, 892, 273, 7766, 26392, 18, 11160, 3305, 21, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
VM_CompiledMethods.init();
static void init(String vmClassPath) { // specify place where vm classes and resources live // setVmRepositories(vmClassPath); applicationRepositories = null; // create special method- and attribute- names // StandardClassInitializerMethodName = VM_Atom.findOrCreateAsciiAtom("<clinit>"); StandardClassInitializerMethodDescriptor = VM_Atom.findOrCreateAsciiAtom("()V"); StandardObjectInitializerMethodName = VM_Atom.findOrCreateAsciiAtom("<init>"); StandardObjectInitializerMethodDescriptor = VM_Atom.findOrCreateAsciiAtom("()V"); StandardObjectFinalizerMethodName = VM_Atom.findOrCreateAsciiAtom("finalize"); StandardObjectFinalizerMethodDescriptor = VM_Atom.findOrCreateAsciiAtom("()V"); codeAttributeName = VM_Atom.findOrCreateAsciiAtom("Code"); constantValueAttributeName = VM_Atom.findOrCreateAsciiAtom("ConstantValue"); lineNumberTableAttributeName = VM_Atom.findOrCreateAsciiAtom("LineNumberTable"); exceptionsAttributeName = VM_Atom.findOrCreateAsciiAtom("Exceptions"); sourceFileAttributeName = VM_Atom.findOrCreateAsciiAtom("SourceFile"); localVariableTableAttributeName = VM_Atom.findOrCreateAsciiAtom("LocalVariableTable"); deprecatedAttributeName = VM_Atom.findOrCreateAsciiAtom("Deprecated"); innerClassesAttributeName = VM_Atom.findOrCreateAsciiAtom("InnerClasses"); syntheticAttributeName = VM_Atom.findOrCreateAsciiAtom("Synthetic"); arrayNullCheckAttributeName = VM_Atom.findOrCreateAsciiAtom("ArrayNullCheckAttribute"); VM_TypeDictionary.init(); VM_FieldDictionary.init(); VM_MethodDictionary.init(); if (VM.BuildForIMTInterfaceInvocation) VM_InterfaceMethodSignatureDictionary.init(); VM_CompiledMethods.init(); dynamicLibraries = new VM_DynamicLibrary[0]; VM_Type.init(); com.ibm.oti.vm.AbstractClassLoader.setBootstrapClassLoader( VM_SystemClassLoader.getVMClassLoader() ); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/db287c55eba4411bddd5a7b935467c602a676bbd/VM_ClassLoader.java/clean/rvm/src/vm/classLoader/VM_ClassLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 1208, 12, 780, 4268, 22158, 13, 288, 565, 368, 4800, 3166, 1625, 4268, 3318, 471, 2703, 8429, 565, 368, 565, 444, 22143, 18429, 12, 3489, 22158, 1769, 565, 2521, 18429, 273, 446, 31, 565, 368, 752, 4582, 707, 17, 471, 1566, 17, 1257, 565, 368, 565, 8263, 797, 14729, 11666, 3639, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 32, 830, 2738, 2984, 1769, 565, 8263, 797, 14729, 1305, 3187, 225, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 1435, 58, 8863, 565, 8263, 921, 14729, 11666, 4202, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 32, 2738, 2984, 1769, 565, 8263, 921, 14729, 1305, 3187, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 1435, 58, 8863, 565, 8263, 921, 7951, 1824, 11666, 540, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 30343, 8863, 565, 8263, 921, 7951, 1824, 1305, 3187, 282, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 1435, 58, 8863, 565, 981, 19240, 10402, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 1085, 8863, 565, 5381, 620, 19240, 1850, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 6902, 620, 8863, 565, 13629, 1388, 19240, 3639, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 31063, 1388, 8863, 565, 4798, 19240, 2398, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 11416, 8863, 565, 16338, 19240, 2398, 273, 8251, 67, 3641, 18, 4720, 17717, 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, 760, 918, 1208, 12, 780, 4268, 22158, 13, 288, 565, 368, 4800, 3166, 1625, 4268, 3318, 471, 2703, 8429, 565, 368, 565, 444, 22143, 18429, 12, 3489, 22158, 1769, 565, 2521, 18429, 273, 446, 31, 565, 368, 752, 4582, 707, 17, 471, 1566, 17, 1257, 565, 368, 565, 8263, 797, 14729, 11666, 3639, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 32, 830, 2738, 2984, 1769, 565, 8263, 797, 14729, 1305, 3187, 225, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 1435, 58, 8863, 565, 8263, 921, 14729, 11666, 4202, 273, 8251, 67, 3641, 18, 4720, 17717, 21363, 3641, 2932, 32, 2738, 2984, 1769, 565, 8263, 921, 14729, 1305, 3187, 273, 8251, 67, 3641, 2 ]
if (args == null && methodArgs != null && methodArgs.length > 0) { throw new RubyArgumentException(getExceptedArgsString(methodArgs)); } else if (args == null && (methodArgs == null || methodArgs.length == 0)) { return;
if (args.length == 0) { if (methodArgs.length > 0) { throw new RubyArgumentException(getExceptedArgsString(methodArgs)); }
protected void testArgsCount(RubyObject[] methodArgs) { if (args == null && methodArgs != null && methodArgs.length > 0) { throw new RubyArgumentException(getExceptedArgsString(methodArgs)); } else if (args == null && (methodArgs == null || methodArgs.length == 0)) { return; } else if (restArgs) { if (methodArgs == null && (args.length == 1)) { return; } else if (methodArgs.length < (args.length - 1)) { throw new RubyArgumentException(getExceptedArgsString(methodArgs)); } } else { if ((methodArgs == null) || (methodArgs.length != args.length)) { throw new RubyArgumentException(getExceptedArgsString(methodArgs)); } } }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/12847c6fd28fea4e223d132ced46eb1b4cb9de9a/ReflectionCallbackMethod.java/clean/org/jruby/core/ReflectionCallbackMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1842, 2615, 1380, 12, 54, 10340, 921, 8526, 707, 2615, 13, 288, 3639, 309, 261, 1968, 422, 446, 597, 707, 2615, 480, 446, 597, 707, 2615, 18, 2469, 405, 374, 13, 288, 5411, 604, 394, 19817, 1878, 12, 588, 30212, 329, 2615, 780, 12, 2039, 2615, 10019, 3639, 289, 469, 309, 261, 1968, 422, 446, 597, 261, 2039, 2615, 422, 446, 747, 707, 2615, 18, 2469, 422, 374, 3719, 288, 5411, 327, 31, 3639, 289, 469, 309, 261, 8792, 2615, 13, 288, 5411, 309, 261, 2039, 2615, 422, 446, 597, 261, 1968, 18, 2469, 422, 404, 3719, 288, 7734, 327, 31, 5411, 289, 469, 309, 261, 2039, 2615, 18, 2469, 411, 261, 1968, 18, 2469, 300, 404, 3719, 288, 7734, 604, 394, 19817, 1878, 12, 588, 30212, 329, 2615, 780, 12, 2039, 2615, 10019, 5411, 289, 3639, 289, 469, 288, 5411, 309, 14015, 2039, 2615, 422, 446, 13, 747, 261, 2039, 2615, 18, 2469, 480, 833, 18, 2469, 3719, 288, 7734, 604, 394, 19817, 1878, 12, 588, 30212, 329, 2615, 780, 12, 2039, 2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, 4750, 918, 1842, 2615, 1380, 12, 54, 10340, 921, 8526, 707, 2615, 13, 288, 3639, 309, 261, 1968, 422, 446, 597, 707, 2615, 480, 446, 597, 707, 2615, 18, 2469, 405, 374, 13, 288, 5411, 604, 394, 19817, 1878, 12, 588, 30212, 329, 2615, 780, 12, 2039, 2615, 10019, 3639, 289, 469, 309, 261, 1968, 422, 446, 597, 261, 2039, 2615, 422, 446, 747, 707, 2615, 18, 2469, 422, 374, 3719, 288, 5411, 327, 31, 3639, 289, 469, 309, 261, 8792, 2615, 13, 288, 5411, 309, 261, 2039, 2615, 422, 446, 597, 261, 1968, 18, 2469, 422, 404, 3719, 288, 7734, 327, 31, 5411, 289, 469, 309, 261, 2039, 2615, 18, 2469, 411, 261, 1968, 18, 2469, 300, 2 ]
throw new CmsDbEntryNotFoundException( Messages.get().container(Messages.LOG_READING_RESOURCE_1, resourceId));
throw new CmsDbEntryNotFoundException(Messages.get().container( Messages.LOG_READING_RESOURCE_1, resourceId));
public void writeContent(CmsDbContext dbc, CmsProject project, CmsUUID resourceId, byte[] content) throws CmsDataAccessException { PreparedStatement stmt = null; PreparedStatement commit = null; PreparedStatement rollback = null; Connection conn = null; ResultSet res = null; boolean wasInTransaction = false; try { conn = m_sqlManager.getConnection(dbc, project.getId()); if (conn.getMetaData().getDriverMajorVersion()<9) { stmt = m_sqlManager.getPreparedStatement(conn, project, "C_ORACLE8_CONTENTS_UPDATECONTENT"); } else { stmt = m_sqlManager.getPreparedStatement(conn, project, "C_ORACLE_CONTENTS_UPDATECONTENT"); } wasInTransaction = !conn.getAutoCommit(); if (!wasInTransaction) { conn.setAutoCommit(false); } // update the file content in the contents table stmt.setString(1, resourceId.toString()); res = ((DelegatingResultSet)stmt.executeQuery()).getInnermostDelegate(); if (!res.next()) { throw new CmsDbEntryNotFoundException( Messages.get().container(Messages.LOG_READING_RESOURCE_1, resourceId)); } // write file content OutputStream output = CmsUserDriver.getOutputStreamFromBlob(res, "FILE_CONTENT"); output.write(content); output.close(); if (!wasInTransaction) { commit = m_sqlManager.getPreparedStatement(conn, "C_COMMIT"); commit.execute(); m_sqlManager.closeAll(dbc, null, commit, null); } m_sqlManager.closeAll(dbc, null, stmt, res); commit = null; stmt = null; res = null; if (!wasInTransaction) { conn.setAutoCommit(true); } } catch (IOException e) { throw new CmsDbIoException(Messages.get().container(Messages.ERR_WRITING_TO_OUTPUT_STREAM_1, resourceId), e); } catch (SQLException e) { throw new CmsDbSqlException(org.opencms.db.generic.Messages.get().container( org.opencms.db.generic.Messages.ERR_GENERIC_SQL_1, CmsDbSqlException.getErrorQuery(stmt)), e); } finally { if (res != null) { try { res.close(); } catch (SQLException exc) { // ignore } } if (commit != null) { try { commit.close(); } catch (SQLException exc) { // ignore } } if (!wasInTransaction) { if (stmt != null) { try { rollback = m_sqlManager.getPreparedStatement(conn, "C_ROLLBACK"); rollback.execute(); rollback.close(); } catch (SQLException se) { // ignore } try { stmt.close(); } catch (SQLException exc) { // ignore } } if (conn != null) { try { conn.setAutoCommit(true); conn.close(); } catch (SQLException se) { // ignore } } } } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/546c122e43ad901e06bfec1c2164259c3ce08c8b/CmsVfsDriver.java/buggy/src/org/opencms/db/oracle/CmsVfsDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1350, 12, 4747, 4331, 1042, 9881, 16, 2149, 4109, 1984, 16, 15792, 15035, 16, 1160, 8526, 913, 13, 1216, 2149, 751, 9773, 288, 3639, 16913, 3480, 273, 446, 31, 3639, 16913, 3294, 273, 446, 31, 3639, 16913, 8006, 273, 446, 31, 3639, 4050, 1487, 273, 446, 31, 3639, 10842, 400, 273, 446, 31, 7734, 1250, 1703, 382, 3342, 273, 629, 31, 3639, 775, 288, 13491, 1487, 273, 312, 67, 4669, 1318, 18, 588, 1952, 12, 9137, 16, 1984, 18, 26321, 10663, 5411, 309, 261, 4646, 18, 588, 6998, 7675, 588, 4668, 17581, 1444, 1435, 32, 29, 13, 288, 7734, 3480, 273, 312, 67, 4669, 1318, 18, 588, 29325, 12, 4646, 16, 1984, 16, 315, 39, 67, 916, 2226, 900, 28, 67, 9689, 55, 67, 8217, 9689, 8863, 5411, 289, 469, 288, 7734, 3480, 273, 312, 67, 4669, 1318, 18, 588, 29325, 12, 4646, 16, 1984, 16, 315, 39, 67, 916, 2226, 900, 67, 9689, 55, 67, 8217, 9689, 8863, 5411, 289, 13491, 1703, 382, 3342, 273, 401, 4646, 18, 588, 4965, 5580, 5621, 5411, 309, 16051, 17416, 382, 3342, 13, 288, 7734, 1487, 18, 542, 4965, 5580, 12, 5743, 1769, 5411, 289, 13491, 368, 1089, 326, 585, 913, 316, 326, 2939, 1014, 5411, 3480, 18, 542, 780, 12, 21, 16, 15035, 18, 10492, 10663, 5411, 400, 273, 14015, 15608, 1776, 13198, 13, 10589, 18, 8837, 1138, 1435, 2934, 588, 382, 82, 28055, 9586, 5621, 5411, 309, 16051, 455, 18, 4285, 10756, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1350, 12, 4747, 4331, 1042, 9881, 16, 2149, 4109, 1984, 16, 15792, 15035, 16, 1160, 8526, 913, 13, 1216, 2149, 751, 9773, 288, 3639, 16913, 3480, 273, 446, 31, 3639, 16913, 3294, 273, 446, 31, 3639, 16913, 8006, 273, 446, 31, 3639, 4050, 1487, 273, 446, 31, 3639, 10842, 400, 273, 446, 31, 7734, 1250, 1703, 382, 3342, 273, 629, 31, 3639, 775, 288, 13491, 1487, 273, 312, 67, 4669, 1318, 18, 588, 1952, 12, 9137, 16, 1984, 18, 26321, 10663, 5411, 309, 261, 4646, 18, 588, 6998, 7675, 588, 4668, 17581, 1444, 1435, 32, 29, 13, 288, 7734, 3480, 273, 312, 67, 4669, 1318, 18, 588, 29325, 12, 4646, 16, 1984, 16, 315, 39, 2 ]
/** * Sets our necessary style properties. */ if ( color.getRGB( ) != null ) { rule.setProperty( HighlightRule.COLOR_MEMBER, new Integer( colorValue ) ); } if ( backColor.getRGB( ) != null ) { rule.setProperty( HighlightRule.BACKGROUND_COLOR_MEMBER, new Integer( backColorValue ) ); } if ( familyValue != null ) { rule.setProperty( HighlightRule.FONT_FAMILY_MEMBER, familyValue ); } if ( sizeValue != null ) { rule.setProperty( HighlightRule.FONT_SIZE_MEMBER, sizeValue ); } if ( isItalicChanged ) { rule.setProperty( HighlightRule.FONT_STYLE_MEMBER, italicValue ); } if ( isBoldChanged ) { rule.setProperty( HighlightRule.FONT_WEIGHT_MEMBER, weightValue ); } if ( isLinethroughChanged ) { rule.setProperty( HighlightRule.TEXT_LINE_THROUGH_MEMBER, lingthroughValue ); } if ( isUnderlineChanged ) { rule.setProperty( HighlightRule.TEXT_UNDERLINE_MEMBER, underlineValue ); }
protected void okPressed( ) { try { String familyValue = getRawFontFamily( ); String sizeValue = getRawFontSize( ); int colorValue = DEUtil.getRGBInt( color.getRGB( ) ); int backColorValue = DEUtil.getRGBInt( backColor.getRGB( ) ); String italicValue = italic.getSelection( ) ? DesignChoiceConstants.FONT_STYLE_ITALIC : DesignChoiceConstants.FONT_STYLE_NORMAL; String weightValue = bold.getSelection( ) ? DesignChoiceConstants.FONT_WEIGHT_BOLD : DesignChoiceConstants.FONT_WEIGHT_NORMAL; String underlineValue = underline.getSelection( ) ? DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE : DesignChoiceConstants.TEXT_UNDERLINE_NONE; String lingthroughValue = linethrough.getSelection( ) ? DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH : DesignChoiceConstants.TEXT_LINE_THROUGH_NONE; // provider.setTestExpression( DEUtil.resolveNull( // expression.getText( ) ) ); if ( handle == null ) { HighlightRule rule = StructureFactory.createHighlightRule( ); rule.setProperty( HighlightRule.OPERATOR_MEMBER, DEUtil.resolveNull( getValueForOperator( operator.getText( ) ) ) ); rule.setProperty( HighlightRule.VALUE1_MEMBER, DEUtil.resolveNull( value1.getText( ) ) ); rule.setProperty( HighlightRule.VALUE2_MEMBER, DEUtil.resolveNull( value2.getText( ) ) ); /** * Sets our necessary style properties. */ if ( color.getRGB( ) != null ) { rule.setProperty( HighlightRule.COLOR_MEMBER, new Integer( colorValue ) ); } if ( backColor.getRGB( ) != null ) { rule.setProperty( HighlightRule.BACKGROUND_COLOR_MEMBER, new Integer( backColorValue ) ); } if ( familyValue != null ) { rule.setProperty( HighlightRule.FONT_FAMILY_MEMBER, familyValue ); } if ( sizeValue != null ) { rule.setProperty( HighlightRule.FONT_SIZE_MEMBER, sizeValue ); } if ( isItalicChanged ) { rule.setProperty( HighlightRule.FONT_STYLE_MEMBER, italicValue ); } if ( isBoldChanged ) { rule.setProperty( HighlightRule.FONT_WEIGHT_MEMBER, weightValue ); } if ( isLinethroughChanged ) { rule.setProperty( HighlightRule.TEXT_LINE_THROUGH_MEMBER, lingthroughValue ); } if ( isUnderlineChanged ) { rule.setProperty( HighlightRule.TEXT_UNDERLINE_MEMBER, underlineValue ); } // set test expression into highlight rule. rule.setTestExpression( DEUtil.resolveNull( expression.getText( ) ) ); handle = provider.doAddItem( rule, handleCount ); } else { handle.setOperator( DEUtil.resolveNull( getValueForOperator( operator.getText( ) ) ) ); handle.setValue1( DEUtil.resolveNull( value1.getText( ) ) ); if ( handle.getOperator( ) .equals( DesignChoiceConstants.MAP_OPERATOR_BETWEEN ) || handle.getOperator( ) .equals( DesignChoiceConstants.MAP_OPERATOR_NOT_BETWEEN ) ) { handle.setValue2( DEUtil.resolveNull( value2.getText( ) ) ); } handle.getFontFamilyHandle( ) .setStringValue( DEUtil.resolveNull( familyValue ) ); handle.getFontSize( ) .setStringValue( DEUtil.resolveNull( sizeValue ) ); if ( color.getRGB( ) != null ) { handle.getColor( ).setRGB( colorValue ); } else { handle.getColor( ).setValue( null ); } if ( backColor.getRGB( ) != null ) { handle.getBackgroundColor( ).setRGB( backColorValue ); } else { handle.getBackgroundColor( ).setValue( null ); } if ( isItalicChanged ) { handle.setFontStyle( italicValue ); } if ( isBoldChanged ) { handle.setFontWeight( weightValue ); } if ( isUnderlineChanged ) { handle.setTextUnderline( underlineValue ); } if ( isLinethroughChanged ) { handle.setTextLineThrough( lingthroughValue ); } // set test expression into highlight rule. handle.setTestExpression( DEUtil.resolveNull( expression.getText( ) ) ); } } catch ( Exception e ) { WidgetUtil.processError( getShell( ), e ); } super.okPressed( ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/61206e16d4577e047c9690eaab1f596d6239ab72/HighlightRuleBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1529, 24624, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 780, 6755, 620, 273, 10547, 5711, 9203, 12, 11272, 1082, 202, 780, 963, 620, 273, 10547, 22688, 12, 11272, 1082, 202, 474, 2036, 620, 273, 2030, 1304, 18, 588, 11343, 1702, 12, 2036, 18, 588, 11343, 12, 262, 11272, 1082, 202, 474, 1473, 2957, 620, 273, 2030, 1304, 18, 588, 11343, 1702, 12, 1473, 2957, 18, 588, 11343, 12, 262, 11272, 1082, 202, 780, 31709, 620, 273, 31709, 18, 588, 6233, 12, 262, 692, 29703, 10538, 2918, 18, 25221, 67, 15066, 67, 1285, 1013, 2871, 6862, 202, 30, 29703, 10538, 2918, 18, 25221, 67, 15066, 67, 15480, 31, 1082, 202, 780, 3119, 620, 273, 13068, 18, 588, 6233, 12, 262, 692, 29703, 10538, 2918, 18, 25221, 67, 29988, 67, 38, 11846, 6862, 202, 30, 29703, 10538, 2918, 18, 25221, 67, 29988, 67, 15480, 31, 1082, 202, 780, 25985, 620, 273, 25985, 18, 588, 6233, 12, 262, 692, 29703, 10538, 2918, 18, 5151, 67, 31625, 5997, 67, 31625, 5997, 6862, 202, 30, 29703, 10538, 2918, 18, 5151, 67, 31625, 5997, 67, 9826, 31, 1082, 202, 780, 328, 310, 10064, 620, 273, 4739, 546, 2642, 18, 588, 6233, 12, 262, 692, 29703, 10538, 2918, 18, 5151, 67, 5997, 67, 2455, 1457, 57, 16715, 67, 5997, 67, 2455, 1457, 57, 16715, 6862, 202, 30, 29703, 10538, 2918, 18, 5151, 67, 5997, 67, 2455, 1457, 57, 16715, 67, 9826, 31, 1082, 202, 759, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1529, 24624, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 780, 6755, 620, 273, 10547, 5711, 9203, 12, 11272, 1082, 202, 780, 963, 620, 273, 10547, 22688, 12, 11272, 1082, 202, 474, 2036, 620, 273, 2030, 1304, 18, 588, 11343, 1702, 12, 2036, 18, 588, 11343, 12, 262, 11272, 1082, 202, 474, 1473, 2957, 620, 273, 2030, 1304, 18, 588, 11343, 1702, 12, 1473, 2957, 18, 588, 11343, 12, 262, 11272, 1082, 202, 780, 31709, 620, 273, 31709, 18, 588, 6233, 12, 262, 692, 29703, 10538, 2918, 18, 25221, 67, 15066, 67, 1285, 1013, 2871, 6862, 202, 30, 29703, 10538, 2918, 18, 25221, 67, 15066, 67, 15480, 31, 1082, 202, 780, 2 ]
setEchoChar(echoChar);
this.echoChar = echoChar; TextFieldPeer peer = (TextFieldPeer) getPeer (); if (peer != null) peer.setEchoChar (echoChar);
setEchoCharacter(char echoChar){ setEchoChar(echoChar);}
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/3fe1c14284ce32b79d0e66441aec6a45a77ff684/TextField.java/buggy/libjava/java/awt/TextField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 444, 19704, 7069, 12, 3001, 3376, 2156, 15329, 225, 444, 19704, 2156, 12, 12946, 2156, 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,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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEquals(compressWhitespaces(expected), compressWhitespaces(actual));
String processedExpected = compressWhitespaces(expected); String processedActual = compressWhitespaces(actual); assertEquals(processedExpected, processedActual);
protected void assertEqualsIgnoringWhitespaces(String expected, String actual) { assertEquals(compressWhitespaces(expected), compressWhitespaces(actual)); }
1224 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1224/320fa876f1f19ea466d65796c45a11dd08320655/TestBase.java/buggy/src/test/org/apache/ddlutils/TestBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1815, 8867, 21702, 2888, 21693, 12, 780, 2665, 16, 514, 3214, 13, 565, 288, 3639, 514, 5204, 6861, 273, 8099, 2888, 21693, 12, 3825, 1769, 514, 5204, 11266, 282, 273, 8099, 2888, 21693, 12, 18672, 1769, 225, 1815, 8867, 12, 11005, 6861, 16, 5204, 11266, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1815, 8867, 21702, 2888, 21693, 12, 780, 2665, 16, 514, 3214, 13, 565, 288, 3639, 514, 5204, 6861, 273, 8099, 2888, 21693, 12, 3825, 1769, 514, 5204, 11266, 282, 273, 8099, 2888, 21693, 12, 18672, 1769, 225, 1815, 8867, 12, 11005, 6861, 16, 5204, 11266, 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 ]
public void paintPseudoAtomLabel(PseudoAtom atom, Color backColor, Graphics graphics, int alignment) { if (atom.getPoint2D() == null) { logger.warn("Cannot draw atom without 2D coordinate"); return; } // The calculation fonts Font normalFont = graphics.getFont(); int normalFontSize = normalFont.getSize(); // get drawing fonts float normalScreenFontSize = getScreenSize(normalFontSize); Font normalScreenFont = normalFont.deriveFont(normalScreenFontSize); // calculate SYMBOL width, height String atomSymbol = atom.getLabel(); graphics.setFont(normalFont); FontMetrics fm = graphics.getFontMetrics(); int atomSymbolW = (new Integer(fm.stringWidth(atomSymbol))).intValue(); int atomSymbolFirstCharW = (new Integer(fm.stringWidth(atomSymbol.substring(0,1)))).intValue(); int atomSymbolLastCharW = (new Integer(fm.stringWidth(atomSymbol.substring(atomSymbol.length()-1)))).intValue(); int atomSymbolH = (new Integer(fm.getAscent())).intValue(); int labelX = 0; int labelY = 0; int labelW = atomSymbolW; int labelH = atomSymbolH; if (alignment == 1) { // left alignment labelX = (int)(atom.getPoint2D().x - (atomSymbolFirstCharW/2)); } else { // right alignment labelX = (int)(atom.getPoint2D().x - (atomSymbolW + atomSymbolLastCharW/2)); } // labelY and labelH are the same for both left/right aligned labelY = (int)(atom.getPoint2D().y - (atomSymbolH/2)); // make empty space { int border = 2; // number of pixels graphics.setColor(backColor); int[] coords = {labelX - border, labelY - border, labelW + 2*border, labelH + 2*border}; int[] screenCoords = getScreenCoordinates(coords); graphics.fillRect(screenCoords[0], screenCoords[1], screenCoords[2], screenCoords[3]); } // draw label { int[] coords = { labelX, labelY + atomSymbolH}; int[] screenCoords = getScreenCoordinates(coords); graphics.setColor(Color.black); graphics.setFont(normalScreenFont); graphics.drawString(atomSymbol, screenCoords[0], screenCoords[1]); } // reset old font & color graphics.setFont(normalFont); graphics.setColor(r2dm.getForeColor()); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/024b5bd543555ab0427fdc6b91c9895dbe18db45/Renderer2D.java/buggy/src/org/openscience/cdk/renderer/Renderer2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 26716, 3641, 2224, 12, 26716, 3641, 3179, 16, 5563, 1473, 2957, 16, 16830, 17313, 16, 509, 8710, 13, 288, 3639, 309, 261, 7466, 18, 588, 2148, 22, 40, 1435, 422, 446, 13, 288, 5411, 1194, 18, 8935, 2932, 4515, 3724, 3179, 2887, 576, 40, 7799, 8863, 5411, 327, 31, 3639, 289, 3639, 368, 1021, 11096, 16450, 3639, 10063, 2212, 5711, 273, 17313, 18, 588, 5711, 5621, 3639, 509, 2212, 22688, 273, 2212, 5711, 18, 588, 1225, 5621, 3639, 368, 336, 16327, 16450, 3639, 1431, 2212, 7956, 22688, 273, 22303, 1225, 12, 6130, 22688, 1769, 3639, 10063, 2212, 7956, 5711, 273, 2212, 5711, 18, 765, 688, 5711, 12, 6130, 7956, 22688, 1769, 3639, 368, 4604, 26059, 1835, 16, 2072, 3639, 514, 3179, 5335, 273, 3179, 18, 588, 2224, 5621, 3639, 17313, 18, 542, 5711, 12, 6130, 5711, 1769, 3639, 10063, 5653, 10940, 273, 17313, 18, 588, 5711, 5653, 5621, 3639, 509, 3179, 5335, 59, 273, 261, 2704, 2144, 12, 25089, 18, 1080, 2384, 12, 7466, 5335, 3719, 2934, 474, 620, 5621, 3639, 509, 3179, 5335, 3759, 2156, 59, 273, 261, 2704, 2144, 12, 25089, 18, 1080, 2384, 12, 7466, 5335, 18, 28023, 12, 20, 16, 21, 20349, 2934, 474, 620, 5621, 3639, 509, 3179, 5335, 3024, 2156, 59, 273, 261, 2704, 2144, 12, 25089, 18, 1080, 2384, 12, 7466, 5335, 18, 28023, 12, 7466, 5335, 18, 2469, 1435, 17, 21, 20349, 2934, 474, 620, 5621, 3639, 509, 3179, 5335, 44, 273, 261, 2704, 2144, 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, 12574, 26716, 3641, 2224, 12, 26716, 3641, 3179, 16, 5563, 1473, 2957, 16, 16830, 17313, 16, 509, 8710, 13, 288, 3639, 309, 261, 7466, 18, 588, 2148, 22, 40, 1435, 422, 446, 13, 288, 5411, 1194, 18, 8935, 2932, 4515, 3724, 3179, 2887, 576, 40, 7799, 8863, 5411, 327, 31, 3639, 289, 3639, 368, 1021, 11096, 16450, 3639, 10063, 2212, 5711, 273, 17313, 18, 588, 5711, 5621, 3639, 509, 2212, 22688, 273, 2212, 5711, 18, 588, 1225, 5621, 3639, 368, 336, 16327, 16450, 3639, 1431, 2212, 7956, 22688, 273, 22303, 1225, 12, 6130, 22688, 1769, 3639, 10063, 2212, 7956, 5711, 273, 2212, 5711, 18, 765, 688, 5711, 12, 6130, 7956, 22688, 1769, 3639, 368, 4604, 26059, 2 ]
getForward(req, "portlet.mailx.edit_message"));
getForward(req, "portlet.mailbox.edit_message"));
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { try { } catch (Exception e) { } return mapping.findForward( getForward(req, "portlet.mailx.edit_message")); }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/2b3752d7d06b093f46c3eed0f43fe8b37f7e48d6/EditMessageAction.java/clean/portal-ejb/src/com/liferay/portlet/mailbox/action/EditMessageAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4382, 8514, 1743, 12, 1082, 202, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 21305, 809, 642, 16, 1082, 202, 3420, 691, 1111, 16, 6987, 1064, 400, 13, 202, 202, 15069, 1185, 288, 202, 202, 698, 288, 202, 202, 97, 202, 202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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4382, 8514, 1743, 12, 1082, 202, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 21305, 809, 642, 16, 1082, 202, 3420, 691, 1111, 16, 6987, 1064, 400, 13, 202, 202, 15069, 1185, 288, 202, 202, 698, 288, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 288, 202, 202, 97, 202, 202, 2463, 2874, 18, 4720, 8514, 12, 1082, 202, 588, 8514, 12, 3658, 16, 315, 655, 1810, 18, 4408, 92, 18, 4619, 67, 2150, 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 ]
result.append(RubyString.newString(getRuntime(), interfaces[i].getName()));
result.append(getRuntime().newString(interfaces[i].getName()));
public RubyArray interfaces() { Class[] interfaces = javaClass.getInterfaces(); RubyArray result = RubyArray.newArray(getRuntime(), interfaces.length); for (int i = 0; i < interfaces.length; i++) { result.append(RubyString.newString(getRuntime(), interfaces[i].getName())); } return result; }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JavaClass.java/buggy/src/org/jruby/javasupport/JavaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 7349, 1435, 288, 3639, 1659, 8526, 7349, 273, 2252, 797, 18, 588, 10273, 5621, 3639, 19817, 1076, 563, 273, 19817, 1076, 18, 2704, 1076, 12, 588, 5576, 9334, 7349, 18, 2469, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7349, 18, 2469, 31, 277, 27245, 288, 5411, 563, 18, 6923, 12, 588, 5576, 7675, 2704, 780, 12, 15898, 63, 77, 8009, 17994, 1435, 10019, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 7349, 1435, 288, 3639, 1659, 8526, 7349, 273, 2252, 797, 18, 588, 10273, 5621, 3639, 19817, 1076, 563, 273, 19817, 1076, 18, 2704, 1076, 12, 588, 5576, 9334, 7349, 18, 2469, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7349, 18, 2469, 31, 277, 27245, 288, 5411, 563, 18, 6923, 12, 588, 5576, 7675, 2704, 780, 12, 15898, 63, 77, 8009, 17994, 1435, 10019, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void report() { declaredFields.removeAll(readFields); for(Iterator<FieldAnnotation> i = declaredFields.iterator(); i.hasNext(); ) { FieldAnnotation f = i.next(); String fieldName = f.getFieldName(); String className = f.getClassName();/* int lastDollar = className.lastIndexOf('$'); boolean isAnonymousInnerClass = (lastDollar > 0) && (lastDollar < className.length() - 1) && Character.isDigit(className.charAt(className.length() - 1));*/ boolean allUpperCase = fieldName.equals(fieldName.toUpperCase()); if (superReadFields.contains(f.getFieldName())) continue; if (!fieldName.startsWith("this$")) { if (allUpperCase || constantFields.contains(f) ) bugReporter.reportBug(new BugInstance("SS_SHOULD_BE_STATIC", NORMAL_PRIORITY) .addClass(className) .addField(f)); else if (!writtenFields.contains(f) && !superWrittenFields.contains(f.getFieldName())) bugReporter.reportBug(new BugInstance("UUF_UNUSED_FIELD", NORMAL_PRIORITY) .addClass(className) .addField(f)); else bugReporter.reportBug(new BugInstance("URF_UNREAD_FIELD", NORMAL_PRIORITY) .addClass(className) .addField(f)); } else if ( !innerClassCannotBeStatic.contains(className) // && !isAnonymousInnerClass ) bugReporter.reportBug(new BugInstance("SIC_INNER_SHOULD_BE_STATIC", NORMAL_PRIORITY) .addClass(className)); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/c0995c86035f0b520e5089b73422f60ad5545010/UnreadFields.java/clean/findbugs/src/java/edu/umd/cs/findbugs/UnreadFields.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6006, 1435, 95, 202, 16571, 2314, 18, 4479, 1595, 12, 896, 2314, 1769, 202, 1884, 12, 3198, 32, 974, 3257, 34, 77, 33, 16571, 2314, 18, 9838, 5621, 77, 18, 5332, 2134, 5621, 15329, 202, 202, 974, 3257, 74, 33, 77, 18, 4285, 5621, 202, 202, 780, 16163, 33, 74, 18, 588, 7287, 5621, 202, 202, 780, 12434, 33, 74, 18, 588, 3834, 5621, 20308, 202, 202, 474, 2722, 40, 25442, 33, 12434, 18, 2722, 31985, 2668, 8, 8284, 202, 202, 6494, 291, 18792, 2857, 797, 33, 1082, 202, 12, 2722, 40, 25442, 34, 20, 13, 1082, 202, 10, 10, 12, 2722, 40, 25442, 32, 12434, 18, 2469, 1435, 17, 21, 13, 1082, 202, 10, 10, 7069, 18, 291, 10907, 12, 12434, 18, 3001, 861, 12, 12434, 18, 2469, 1435, 17, 21, 10019, 5549, 202, 202, 6494, 454, 8915, 33, 9506, 202, 16163, 18, 14963, 12, 16163, 18, 869, 8915, 10663, 202, 202, 430, 12, 9565, 1994, 2314, 18, 12298, 12, 74, 18, 588, 7287, 1435, 3719, 17143, 31, 202, 202, 430, 12, 5, 16163, 18, 17514, 1190, 2932, 2211, 12911, 3719, 95, 202, 202, 430, 12, 454, 8915, 20081, 14384, 2314, 18, 12298, 12, 74, 3719, 202, 202, 925, 13289, 18, 6006, 19865, 12, 2704, 19865, 1442, 2932, 1260, 67, 2664, 31090, 67, 5948, 67, 22741, 3113, 15480, 67, 19804, 13, 1082, 202, 18, 1289, 797, 12, 12434, 13, 1082, 202, 18, 1289, 974, 12, 74, 10019, 202, 202, 12107, 430, 12, 5, 9748, 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, 6459, 6006, 1435, 95, 202, 16571, 2314, 18, 4479, 1595, 12, 896, 2314, 1769, 202, 1884, 12, 3198, 32, 974, 3257, 34, 77, 33, 16571, 2314, 18, 9838, 5621, 77, 18, 5332, 2134, 5621, 15329, 202, 202, 974, 3257, 74, 33, 77, 18, 4285, 5621, 202, 202, 780, 16163, 33, 74, 18, 588, 7287, 5621, 202, 202, 780, 12434, 33, 74, 18, 588, 3834, 5621, 20308, 202, 202, 474, 2722, 40, 25442, 33, 12434, 18, 2722, 31985, 2668, 8, 8284, 202, 202, 6494, 291, 18792, 2857, 797, 33, 1082, 202, 12, 2722, 40, 25442, 34, 20, 13, 1082, 202, 10, 10, 12, 2722, 40, 25442, 32, 12434, 18, 2469, 1435, 17, 21, 13, 1082, 202, 10, 10, 7069, 2 ]
return getMoreResults(CLOSE_CURRENT_RESULT);
return getMoreResults(CLOSE_ALL_RESULTS);
public boolean getMoreResults() throws SQLException { checkOpen(); return getMoreResults(CLOSE_CURRENT_RESULT); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/de1e78f5176d5f9840fddf80f0ab81fe7e718dbc/JtdsStatement.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsStatement.java
[ 1, 8585, 326, 22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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 2108, 479, 3447, 1435, 1216, 6483, 288, 3639, 866, 3678, 5621, 3639, 327, 2108, 479, 3447, 12, 13384, 67, 4685, 67, 20602, 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 ]
return getCallbackMethod().execute(recv, args, ruby);
return getCallbackMethod().execute(recv, args == null ? null : args.toRubyArray(), ruby);
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { // HACK +++ try { // HACK --- return getCallbackMethod().execute(recv, args, ruby); // HACK +++ } catch (RaiseException rrExcptn) { System.out.print("[BUG] Cannot call method \"" + id.toName() + "\". "); System.out.println(rrExcptn.getMessage()); return ruby.getNil(); } // HACK --- }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/f629550c5947df9c1dbe414645f3dc76bcb70df4/CFuncNode.java/buggy/org/jruby/nodes/CFuncNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 548, 612, 16, 19817, 921, 8526, 833, 16, 1250, 1158, 8051, 13, 288, 3639, 368, 670, 3649, 965, 15, 3639, 775, 288, 3639, 368, 670, 3649, 9948, 5411, 327, 28667, 1305, 7675, 8837, 12, 18334, 16, 833, 422, 446, 692, 446, 294, 833, 18, 869, 54, 10340, 1076, 9334, 22155, 1769, 3639, 368, 670, 3649, 965, 15, 3639, 289, 1044, 261, 30570, 503, 8354, 29924, 337, 82, 13, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 63, 4827, 65, 14143, 745, 707, 11843, 397, 612, 18, 869, 461, 1435, 397, 7023, 18, 315, 1769, 5411, 2332, 18, 659, 18, 8222, 12, 523, 29924, 337, 82, 18, 24906, 10663, 13491, 327, 22155, 18, 588, 12616, 5621, 3639, 289, 3639, 368, 670, 3649, 9948, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 12, 54, 10340, 22155, 16, 19817, 921, 10665, 16, 19817, 548, 612, 16, 19817, 921, 8526, 833, 16, 1250, 1158, 8051, 13, 288, 3639, 368, 670, 3649, 965, 15, 3639, 775, 288, 3639, 368, 670, 3649, 9948, 5411, 327, 28667, 1305, 7675, 8837, 12, 18334, 16, 833, 422, 446, 692, 446, 294, 833, 18, 869, 54, 10340, 1076, 9334, 22155, 1769, 3639, 368, 670, 3649, 965, 15, 3639, 289, 1044, 261, 30570, 503, 8354, 29924, 337, 82, 13, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 63, 4827, 65, 14143, 745, 707, 11843, 397, 612, 18, 869, 461, 1435, 397, 7023, 18, 315, 1769, 5411, 2332, 18, 659, 18, 8222, 12, 523, 29924, 337, 2 ]
public void saveProperties(Properties props) { Enumeration names = props.propertyNames(); while (names.hasMoreElements()) { String propertyName = (String) names.nextElement(); if (propertyName.equals("UserProfile") || propertyName.equals("Store") || propertyName.equals("OutgoingServer") || propertyName.equals("AddressBook")) { // skip } else { transferProperty(props, propertyName); } } transferProperty(props, "UserProfile"); transferProperty(props, "Store"); transferProperty(props, "OutgoingServer"); if (useLocalFiles) { transferProperty(props, "AddressBook"); } }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/ad1d7a526540019e033079228544b3a802a556d3/NewAccountPooka.java/clean/src/net/suberic/pooka/gui/NewAccountPooka.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1923, 2297, 12, 2297, 3458, 13, 288, 565, 13864, 1257, 273, 3458, 18, 4468, 1557, 5621, 565, 1323, 261, 1973, 18, 5332, 7417, 3471, 10756, 288, 1377, 514, 5470, 273, 261, 780, 13, 1257, 18, 4285, 1046, 5621, 1377, 309, 261, 4468, 461, 18, 14963, 2932, 1299, 4029, 7923, 747, 5470, 18, 14963, 2932, 2257, 7923, 747, 5470, 18, 14963, 2932, 24866, 2081, 7923, 747, 5470, 18, 14963, 2932, 31374, 6, 3719, 288, 202, 759, 2488, 1377, 289, 469, 288, 202, 13866, 1396, 12, 9693, 16, 5470, 1769, 1377, 289, 565, 289, 565, 7412, 1396, 12, 9693, 16, 315, 1299, 4029, 8863, 3639, 7412, 1396, 12, 9693, 16, 315, 2257, 8863, 565, 7412, 1396, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1923, 2297, 12, 2297, 3458, 13, 288, 565, 13864, 1257, 273, 3458, 18, 4468, 1557, 5621, 565, 1323, 261, 1973, 18, 5332, 7417, 3471, 10756, 288, 1377, 514, 5470, 273, 261, 780, 13, 1257, 18, 4285, 1046, 5621, 1377, 309, 261, 4468, 461, 18, 14963, 2932, 1299, 4029, 7923, 747, 5470, 18, 14963, 2932, 2257, 7923, 747, 5470, 18, 14963, 2932, 24866, 2081, 7923, 747, 5470, 18, 14963, 2932, 31374, 6, 3719, 288, 202, 759, 2488, 1377, 289, 469, 288, 202, 13866, 1396, 12, 9693, 16, 5470, 1769, 1377, 289, 565, 289, 565, 7412, 1396, 12, 9693, 16, 315, 1299, 4029, 8863, 3639, 7412, 1396, 12, 9693, 16, 315, 2257, 8863, 565, 7412, 1396, 12, 9693, 2 ]
if (binding instanceof ICPPInternalFunction) modifiers |= (((ICPPInternalFunction)function).isStatic(false) ? 1 : 0) << PDOMCAnnotation.STATIC_OFFSET;
public static byte encodeAnnotation(IBinding binding) throws DOMException { byte modifiers = 0; if (binding instanceof IVariable) { IVariable variable = (IVariable) binding; modifiers |= (variable.isAuto() ? 1 : 0) << PDOMCAnnotation.AUTO_OFFSET; modifiers |= (variable.isExtern() ? 1 : 0) << PDOMCAnnotation.EXTERN_OFFSET; modifiers |= (variable.isRegister() ? 1 : 0) << PDOMCAnnotation.REGISTER_OFFSET; modifiers |= (variable.isStatic() ? 1 : 0) << PDOMCAnnotation.STATIC_OFFSET; } if (binding instanceof IFunction) { IFunction function = (IFunction) binding; modifiers |= (function.isAuto() ? 1 : 0) << PDOMCAnnotation.AUTO_OFFSET; modifiers |= (function.isExtern() ? 1 : 0) << PDOMCAnnotation.EXTERN_OFFSET; modifiers |= (function.isRegister() ? 1 : 0) << PDOMCAnnotation.REGISTER_OFFSET;// modifiers |= (function.isStatic() ? 1 : 0) << PDOMCAnnotation.STATIC_OFFSET; modifiers |= (function.isInline() ? 1 : 0) << PDOMCAnnotation.INLINE_OFFSET; modifiers |= (function.takesVarArgs() ? 1 : 0) << PDOMCAnnotation.VARARGS_OFFSET; } return modifiers; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/0a1cff1dd519a602b19a2c0d74186c2807882cdd/PDOMCAnnotation.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/c/PDOMCAnnotation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 374, 13, 2296, 453, 8168, 39, 3257, 18, 22741, 67, 11271, 31, 760, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 374, 13, 2296, 453, 8168, 39, 3257, 18, 22741, 67, 11271, 31, 1160, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 374, 13, 2296, 453, 8168, 39, 3257, 18, 22741, 67, 11271, 31, 2017, 3257, 12, 45, 5250, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 374, 13, 2296, 453, 8168, 39, 3257, 18, 22741, 67, 11271, 31, 5085, 13, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 374, 13, 2296, 453, 8168, 39, 3257, 18, 22741, 67, 11271, 31, 1216, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 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, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 374, 13, 2296, 453, 8168, 39, 3257, 18, 22741, 67, 11271, 31, 760, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 374, 13, 2296, 453, 8168, 39, 3257, 18, 22741, 67, 11271, 31, 1160, 430, 261, 7374, 1276, 467, 4258, 52, 3061, 2083, 13, 10429, 5626, 261, 12443, 2871, 6584, 3061, 2083, 13, 915, 2934, 291, 5788, 12, 5743, 13, 692, 404, 294, 374, 13, 2296, 2 ]
}
private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (controlPressed && rowModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) rowModel.addSelectionInterval(lo_row, hi_row); else rowModel.setSelectionInterval(lo_row, hi_row); } // Update the columns int lo_col = table.columnAtPoint(begin); int hi_col = table.columnAtPoint(curr); ListSelectionModel colModel = table.getColumnModel(). getSelectionModel(); if (lo_col != -1 && hi_col != -1) { if (controlPressed && colModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) colModel.addSelectionInterval(lo_col, hi_col); else colModel.setSelectionInterval(lo_col, hi_col); } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 6233, 12, 6494, 3325, 24624, 13, 3639, 288, 1377, 368, 2315, 326, 2595, 1377, 509, 437, 67, 492, 273, 1014, 18, 492, 861, 2148, 12, 10086, 1769, 1377, 509, 10118, 67, 492, 225, 273, 1014, 18, 492, 861, 2148, 12, 17016, 1769, 1377, 987, 6233, 1488, 1027, 1488, 273, 1014, 18, 588, 6233, 1488, 5621, 1377, 309, 261, 383, 67, 492, 480, 300, 21, 597, 10118, 67, 492, 480, 300, 21, 13, 5411, 288, 1850, 309, 261, 7098, 24624, 597, 1027, 1488, 18, 588, 6233, 2309, 1435, 9079, 480, 987, 6233, 1488, 18, 20184, 67, 1090, 15445, 13, 5411, 1027, 1488, 18, 1289, 6233, 4006, 12, 383, 67, 492, 16, 10118, 67, 492, 1769, 2868, 469, 5411, 1027, 1488, 18, 542, 6233, 4006, 12, 383, 67, 492, 16, 10118, 67, 492, 1769, 5397, 368, 2315, 326, 2168, 1377, 509, 437, 67, 1293, 273, 1014, 18, 2827, 861, 2148, 12, 10086, 1769, 1377, 509, 10118, 67, 1293, 273, 1014, 18, 2827, 861, 2148, 12, 17016, 1769, 1377, 987, 6233, 1488, 645, 1488, 273, 1014, 18, 588, 1494, 1488, 7675, 3639, 23204, 1488, 5621, 1377, 309, 261, 383, 67, 1293, 480, 300, 21, 597, 10118, 67, 1293, 480, 300, 21, 13, 3639, 288, 1850, 309, 261, 7098, 24624, 597, 645, 1488, 18, 588, 6233, 2309, 1435, 480, 9079, 987, 6233, 1488, 18, 20184, 67, 1090, 15445, 13, 5411, 645, 1488, 18, 1289, 6233, 4006, 12, 383, 67, 1293, 16, 10118, 67, 1293, 1769, 2868, 469, 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, 1089, 6233, 12, 6494, 3325, 24624, 13, 3639, 288, 1377, 368, 2315, 326, 2595, 1377, 509, 437, 67, 492, 273, 1014, 18, 492, 861, 2148, 12, 10086, 1769, 1377, 509, 10118, 67, 492, 225, 273, 1014, 18, 492, 861, 2148, 12, 17016, 1769, 1377, 987, 6233, 1488, 1027, 1488, 273, 1014, 18, 588, 6233, 1488, 5621, 1377, 309, 261, 383, 67, 492, 480, 300, 21, 597, 10118, 67, 492, 480, 300, 21, 13, 5411, 288, 1850, 309, 261, 7098, 24624, 597, 1027, 1488, 18, 588, 6233, 2309, 1435, 9079, 480, 987, 6233, 1488, 18, 20184, 67, 1090, 15445, 13, 5411, 1027, 1488, 18, 1289, 6233, 4006, 12, 383, 67, 492, 16, 10118, 67, 492, 1769, 2868, 2 ]
saveProjectItemActionPerformed(evt); }
saveProjectItemActionPerformed(evt); }
public void actionPerformed(java.awt.event.ActionEvent evt) { saveProjectItemActionPerformed(evt); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/dd94e0f0954c1e9589257268d889aee9506f807e/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 6862, 202, 5688, 4109, 1180, 19449, 12, 73, 11734, 1769, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 6862, 202, 5688, 4109, 1180, 19449, 12, 73, 11734, 1769, 9506, 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 ]
buf.append("<li><a href=\"/"+key.toString(false)+"?type=application/x-msdownload\">Click here</a> to force your browser to download the file to disk.</li>\n");
buf.append("<li><a href=\"/"+key.toString(false)+"?forcedownload\">Click here</a> to force your browser to download the file to disk.</li>\n");
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { //String ks = uri.toString(); String ks = uri.getPath(); HTTPRequest httprequest = new HTTPRequest(uri); if (ks.equals("/")) { if (httprequest.isParameterSet("key")) { MultiValueTable headers = new MultiValueTable(); headers.put("Location", "/"+httprequest.getParam("key")); ctx.sendReplyHeaders(302, "Found", headers, null, 0); return; } RedirectException re = new RedirectException(); try { String querystring = uri.getQuery(); if (querystring == null) { re.newuri = new URI("/welcome/"); } else { // TODP possibly a proper URLEncode method querystring = querystring.replace(' ', '+'); re.newuri = new URI("/welcome/?"+querystring); } } catch (URISyntaxException e) { // HUH!?! } throw re; }else if(ks.equals("/favicon.ico")){ byte[] buf = new byte[1024]; int len; InputStream strm = getClass().getResourceAsStream("staticfiles/favicon.ico"); if (strm == null) { this.sendErrorPage(ctx, 404, "Path not found", "The specified path does not exist."); return; } ctx.sendReplyHeaders(200, "OK", null, "image/x-icon", strm.available()); while ( (len = strm.read(buf)) > 0) { ctx.writeData(buf, 0, len); } return; } if(ks.startsWith("/")) ks = ks.substring(1); long maxSize = httprequest.getLongParam("max-size", MAX_LENGTH); FreenetURI key; try { key = new FreenetURI(ks); } catch (MalformedURLException e) { this.writeReply(ctx, 400, "text/html", "Invalid key", "<html><head><title>Invalid key</title></head><body>Expected a freenet key, but got "+HTMLEncoder.encode(ks)+"</body></html>"); return; } try { Logger.minor(this, "Fproxy fetching "+key); FetchResult result = fetch(key, maxSize); // Now, is it safe? Bucket data = result.asBucket(); String typeName = result.getMimeType(); String reqParam = httprequest.getParam("type", null); if(reqParam != null) typeName = reqParam; Logger.minor(this, "Type: "+typeName+" ("+result.getMimeType()+" "+reqParam+")"); long now = System.currentTimeMillis(); String forceString = httprequest.getParam("force"); boolean force = false; if(forceString != null) { if(forceString.equals(getForceValue(key, now)) || forceString.equals(getForceValue(key, now-FORCE_GRAIN_INTERVAL))) force = true; } if(typeName.equals("application/x-msdownload")) { // Download to disk, this should be safe, and is set when we do "force download to disk" from a dangerous-content-warning page. force = true; } try { if(!force) data = ContentFilter.filter(data, ctx.getBucketFactory(), typeName); // Send the data, intact writeReply(ctx, 200, typeName, "OK", data); } catch (UnsafeContentTypeException e) { StringBuffer buf = new StringBuffer(); ctx.getPageMaker().makeHead(buf, "Potentially Dangerous Content"); buf.append("<h1>"); buf.append(e.getHTMLEncodedTitle()); buf.append("</h1>\n"); buf.append(e.getExplanation()); buf.append("<p>Your options are:</p><ul>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?type=text/plain\">Click here</a> to open the file as plain text (this should not be dangerous, but it may be garbled).</li>\n"); // FIXME: is this safe? See bug #131 buf.append("<li><a href=\"/"+key.toString(false)+"?type=application/x-msdownload\">Click here</a> to force your browser to download the file to disk.</li>\n"); buf.append("<li><a href=\"/"+key.toString(false)+"?force="+getForceValue(key, now)+"\">Click here</a> to open the file as "+HTMLEncoder.encode(typeName)+".</li>\n"); buf.append("<li><a href=\"/\">Click here</a> to go to the FProxy home page.</li>\n"); buf.append("</ul>"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); } } catch (FetchException e) { String msg = e.getMessage(); String extra = ""; if(e.mode == FetchException.NOT_ENOUGH_METASTRINGS) { this.writePermanentRedirect(ctx, "Not enough meta-strings", "/" + URLEncoder.encode(key.toString(false)) + "/"); } else if(e.newURI != null) { this.writePermanentRedirect(ctx, msg, "/"+e.newURI.toString()); } else if(e.mode == FetchException.TOO_BIG) { StringBuffer buf = new StringBuffer(); ctx.getPageMaker().makeHead(buf, "Large file"); buf.append("<table border=\"0\">\n"); String fnam = getFilename(e, key, e.getExpectedMimeType()); buf.append("<tr><td><b>Filename</b></td>"); buf.append("<a href=\"/"+URLEncoder.encode(key.toString(false))+"\">"); buf.append(fnam); buf.append("</a>"); buf.append("</td></tr>\n"); boolean finalized = e.finalizedSize(); if(e.expectedSize > 0) { buf.append("<tr><td><b>"); if(!finalized) buf.append("Expected size (may change)"); else buf.append("Size"); buf.append("</b></td><td>"); buf.append(SizeUtil.formatSize(e.expectedSize)); buf.append("</td></tr>\n"); } String mime = e.getExpectedMimeType(); if(mime != null) { buf.append("<tr><td><b>"); if(!finalized) buf.append("Expected MIME type"); else buf.append("MIME type"); buf.append("</b></td><td>"); buf.append(mime); buf.append(" bytes </td></tr>\n"); } // FIXME filename buf.append("</table>\n"); buf.append("<br>This is a large file, so it has not been streamed direct" + " to your browser, because Freenet cannot send any data to the " + "browser until it has the whole file, and this may take some time, " + "and also for resource usage reasons.\n"); buf.append("<br>What would you like to do with it?:<ul>"); buf.append("<li>"); buf.append("<form method=\"get\" action=\"/"+key.toString(false)+"\">"); buf.append("<input type=\"hidden\" name=\"max-size\" value=\""+e.expectedSize+"\">"); buf.append("<input type=\"submit\" name=\"fetch\" value=\"Fetch anyway\">"); buf.append("</form></li>"); buf.append("<li><form method=\"post\" action=\"/queue/\">"); buf.append("<input type=\"hidden\" name=\"key\" value=\""+key.toString(false)+"\">"); buf.append("<input type=\"hidden\" name=\"return-type\" value=\"disk\">"); buf.append("<input type=\"hidden\" name=\"persistence\" value=\"forever\">"); if(mime != null) buf.append("<input type=\"hidden\" name=\"type\" value=\""+URLEncoder.encode(mime)+"\">"); buf.append("<input type=\"submit\" name=\"download\" value=\"Download to disk in background\">"); buf.append("</form></li>"); // FIXME add a queue-a-download option.// buf.append("<li>Save it to disk at </li>"); // FIXME add return-to-referring-page //buf.append("<li>Return to the referring page: "); buf.append("<li>Return to the fproxy home page: <a href=\"/\">here</a>"); buf.append("</ul>"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); // FIXME provide option to queue write to disk. } else { if(e.errorCodes != null) extra = "<pre>"+e.errorCodes.toVerboseString()+"</pre>"; this.writeReply(ctx, 500 /* close enough - FIXME probably should depend on status code */, "text/html", msg, "<html><head><title>"+msg+"</title></head><body>Error: "+HTMLEncoder.encode(msg)+extra+"</body></html>"); } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); String msg = "<html><head><title>Internal Error</title></head><body><h1>Internal Error: please report</h1><pre>"; StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); t.printStackTrace(pw); pw.flush(); msg = msg + sw.toString() + "</pre></body></html>"; this.writeReply(ctx, 500, "text/html", "Internal Error", msg); } }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/a7064bfffe3ac1414491d365150286309d4162a2/FproxyToadlet.java/clean/src/freenet/clients/http/FproxyToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1875, 202, 15069, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 202, 759, 780, 11654, 273, 2003, 18, 10492, 5621, 202, 202, 780, 11654, 273, 2003, 18, 588, 743, 5621, 9506, 202, 23891, 1062, 2293, 273, 394, 25238, 12, 1650, 1769, 9506, 202, 430, 261, 7904, 18, 14963, 2932, 4898, 3719, 288, 1082, 202, 430, 261, 2022, 1484, 456, 18, 291, 1662, 694, 2932, 856, 6, 3719, 288, 9506, 202, 5002, 620, 1388, 1607, 273, 394, 5991, 620, 1388, 5621, 6862, 9506, 202, 2485, 18, 458, 2932, 2735, 3113, 4016, 15, 2022, 1484, 456, 18, 588, 786, 2932, 856, 7923, 1769, 9506, 202, 5900, 18, 4661, 7817, 3121, 12, 23, 3103, 16, 315, 2043, 3113, 1607, 16, 446, 16, 374, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 5961, 503, 283, 273, 394, 9942, 503, 5621, 1082, 202, 698, 288, 9506, 202, 780, 20741, 273, 2003, 18, 588, 1138, 5621, 6862, 9506, 202, 430, 261, 2271, 1080, 422, 446, 13, 288, 6862, 202, 266, 18, 2704, 1650, 273, 394, 3699, 2932, 19, 91, 16312, 4898, 1769, 9506, 202, 97, 469, 288, 6862, 202, 759, 399, 1212, 52, 10016, 279, 5338, 1976, 5509, 707, 6862, 202, 2271, 1080, 273, 20741, 18, 2079, 2668, 2265, 10058, 1769, 6862, 202, 266, 18, 2704, 1650, 273, 394, 3699, 2932, 19, 91, 16312, 19, 7225, 15, 2271, 1080, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1875, 202, 15069, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 202, 759, 780, 11654, 273, 2003, 18, 10492, 5621, 202, 202, 780, 11654, 273, 2003, 18, 588, 743, 5621, 9506, 202, 23891, 1062, 2293, 273, 394, 25238, 12, 1650, 1769, 9506, 202, 430, 261, 7904, 18, 14963, 2932, 4898, 3719, 288, 1082, 202, 430, 261, 2022, 1484, 456, 18, 291, 1662, 694, 2932, 856, 6, 3719, 288, 9506, 202, 5002, 620, 1388, 1607, 273, 394, 5991, 620, 1388, 5621, 6862, 9506, 202, 2485, 18, 458, 2932, 2735, 3113, 4016, 15, 2022, 1484, 456, 18, 588, 786, 2932, 2 ]
/* * DG: If we can't find an exact match, narrow the parameters and try again! */
public Object execute(Object obj, JexlContext jc) throws Exception { String methodName = ((ASTIdentifier)jjtGetChild(0)).val; int paramCount = jjtGetNumChildren()-1; /* * get our params */ Object params[] = new Object[paramCount]; try { for (int i=0; i<paramCount; i++) { params[i] = ( (SimpleNode) jjtGetChild(i+1)).value(jc); } VelMethod vm = Introspector.getUberspect().getMethod(obj, methodName, params, DUMMY); if (vm == null) return null; return vm.invoke(obj, params); } catch(InvocationTargetException e) { Throwable t = e.getTargetException(); if (t instanceof Exception) { throw (Exception) t; } throw e; } }
54229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54229/4baef09cdb9f3df0a62d18b370bc3b21af09db42/ASTMethod.java/clean/src/java/org/apache/commons/jexl/parser/ASTMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1071, 20308, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1033, 20308, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1836, 12, 921, 20308, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1081, 16, 20308, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 804, 338, 80, 1042, 20308, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 19807, 13176, 14, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1748, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1071, 20308, 380, 463, 43, 30, 971, 732, 848, 1404, 1104, 392, 5565, 845, 16, 17383, 326, 1472, 471, 775, 3382, 5, 1195, 1033, 20308, 380, 463, 43, 30, 971, 732, 2 ]
if(headerLen > HEADER_BLOCK_SIZE-2 || headerLen < 0) {
if(headerLen > HEADER_BLOCK_SIZE-2) {
public synchronized CHKBlock fetch(NodeCHK chk) throws IOException { byte[] data = dataStore.getDataForBlock(chk); if(data == null) { if(headersStore.getDataForBlock(chk) != null) { Logger.normal(this, "Deleting: "+chk+" headers, no data"); headersStore.delete(chk); } return null; } byte[] headers = headersStore.getDataForBlock(chk); if(headers == null) { // No headers, delete Logger.normal(this, "Deleting: "+chk+" data, no headers"); dataStore.delete(chk); } // Decode int headerLen = ((headers[0] & 0xff) << 8) + (headers[1] & 0xff); if(headerLen > HEADER_BLOCK_SIZE-2 || headerLen < 0) { Logger.normal(this, "Invalid header data on "+chk+", deleting"); dataStore.delete(chk); headersStore.delete(chk); return null; } byte[] buf = new byte[headerLen]; System.arraycopy(headers, 2, buf, 0, headerLen); Logger.minor(this, "Get key: "+chk); Logger.minor(this, "Raw headers: "+headers.length+" bytes, hash "+Fields.hashCode(headers)); Logger.minor(this, "Headers: "+headerLen+" bytes, hash "+Fields.hashCode(buf)); Logger.minor(this, "Data: "+data.length+" bytes, hash "+Fields.hashCode(data)); try { return new CHKBlock(data, buf, chk); } catch (CHKVerifyException e) { Logger.normal(this, "Does not verify, deleting: "+chk); dataStore.delete(chk); headersStore.delete(chk); return null; } }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/0400e73e7503ab43211657c44d8448afd6346cce/BaseFreenetStore.java/buggy/src/freenet/store/BaseFreenetStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 6469, 47, 1768, 2158, 12, 907, 1792, 47, 15000, 13, 1216, 1860, 288, 3639, 1160, 8526, 501, 273, 31927, 18, 588, 751, 1290, 1768, 12, 27038, 1769, 3639, 309, 12, 892, 422, 446, 13, 288, 5411, 309, 12, 2485, 2257, 18, 588, 751, 1290, 1768, 12, 27038, 13, 480, 446, 13, 288, 7734, 4242, 18, 6130, 12, 2211, 16, 315, 20433, 30, 13773, 27038, 9078, 1607, 16, 1158, 501, 8863, 7734, 1607, 2257, 18, 3733, 12, 27038, 1769, 5411, 289, 5411, 327, 446, 31, 3639, 289, 3639, 1160, 8526, 1607, 273, 1607, 2257, 18, 588, 751, 1290, 1768, 12, 27038, 1769, 3639, 309, 12, 2485, 422, 446, 13, 288, 5411, 368, 2631, 1607, 16, 1430, 5411, 4242, 18, 6130, 12, 2211, 16, 315, 20433, 30, 13773, 27038, 9078, 501, 16, 1158, 1607, 8863, 5411, 31927, 18, 3733, 12, 27038, 1769, 3639, 289, 3639, 368, 6209, 3639, 509, 1446, 2891, 273, 14015, 2485, 63, 20, 65, 473, 374, 5297, 13, 2296, 1725, 13, 397, 261, 2485, 63, 21, 65, 473, 374, 5297, 1769, 3639, 309, 12, 3374, 2891, 405, 11659, 67, 11403, 67, 4574, 17, 22, 13, 288, 5411, 4242, 18, 6130, 12, 2211, 16, 315, 1941, 1446, 501, 603, 13773, 27038, 15, 3113, 12993, 8863, 5411, 31927, 18, 3733, 12, 27038, 1769, 5411, 1607, 2257, 18, 3733, 12, 27038, 1769, 5411, 327, 446, 31, 3639, 289, 3639, 1160, 8526, 1681, 273, 394, 1160, 63, 3374, 2891, 15533, 3639, 2332, 18, 1126, 3530, 12, 2485, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 6469, 47, 1768, 2158, 12, 907, 1792, 47, 15000, 13, 1216, 1860, 288, 3639, 1160, 8526, 501, 273, 31927, 18, 588, 751, 1290, 1768, 12, 27038, 1769, 3639, 309, 12, 892, 422, 446, 13, 288, 5411, 309, 12, 2485, 2257, 18, 588, 751, 1290, 1768, 12, 27038, 13, 480, 446, 13, 288, 7734, 4242, 18, 6130, 12, 2211, 16, 315, 20433, 30, 13773, 27038, 9078, 1607, 16, 1158, 501, 8863, 7734, 1607, 2257, 18, 3733, 12, 27038, 1769, 5411, 289, 5411, 327, 446, 31, 3639, 289, 3639, 1160, 8526, 1607, 273, 1607, 2257, 18, 588, 751, 1290, 1768, 12, 27038, 1769, 3639, 309, 12, 2485, 422, 446, 13, 288, 5411, 368, 2631, 1607, 16, 1430, 5411, 2 ]
byte[][] answer = new byte[nf][0];
byte[][] answer = bytePoolDim2.allocByte(nf);
public byte[][] ReceiveTuple(int nf, boolean bin) throws SQLException { int i, bim = (nf + 7)/8; byte[] bitmask = Receive(bim); byte[][] answer = new byte[nf][0]; int whichbit = 0x80; int whichbyte = 0; for (i = 0 ; i < nf ; ++i) { boolean isNull = ((bitmask[whichbyte] & whichbit) == 0); whichbit >>= 1; if (whichbit == 0) { ++whichbyte; whichbit = 0x80; } if (isNull) answer[i] = null; else { int len = ReceiveIntegerR(4); if (!bin) len -= 4; if (len < 0) len = 0; answer[i] = Receive(len); } } return answer; }
45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/f41dcbe4d810f0906f43d1b345cf506d72c792ac/PG_Stream.java/clean/src/interfaces/jdbc/org/postgresql/PG_Stream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 63, 6362, 65, 17046, 9038, 12, 474, 13958, 16, 1250, 4158, 13, 1216, 6483, 225, 288, 565, 509, 277, 16, 324, 381, 273, 261, 82, 74, 397, 2371, 13176, 28, 31, 565, 1160, 8526, 24941, 273, 17046, 12, 70, 381, 1769, 565, 1160, 63, 6362, 65, 5803, 273, 1160, 2864, 5225, 22, 18, 9853, 3216, 12, 82, 74, 1769, 3639, 509, 1492, 3682, 273, 374, 92, 3672, 31, 565, 509, 1492, 7229, 273, 374, 31, 3639, 364, 261, 77, 273, 374, 274, 277, 411, 13958, 274, 965, 77, 13, 1377, 288, 202, 6494, 7612, 273, 14015, 3682, 4455, 63, 12784, 7229, 65, 473, 1492, 3682, 13, 422, 374, 1769, 202, 12784, 3682, 23359, 404, 31, 202, 430, 261, 12784, 3682, 422, 374, 13, 202, 225, 288, 202, 565, 965, 12784, 7229, 31, 202, 565, 1492, 3682, 273, 374, 92, 3672, 31, 202, 225, 289, 202, 430, 261, 291, 2041, 13, 3196, 225, 5803, 63, 77, 65, 273, 446, 31, 202, 12107, 202, 225, 288, 202, 565, 509, 562, 273, 17046, 4522, 54, 12, 24, 1769, 202, 565, 309, 16051, 4757, 13, 3196, 1377, 562, 3947, 1059, 31, 202, 565, 309, 261, 1897, 411, 374, 13, 3196, 1377, 562, 273, 374, 31, 202, 565, 5803, 63, 77, 65, 273, 17046, 12, 1897, 1769, 202, 225, 289, 1377, 289, 565, 327, 5803, 31, 225, 289, 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, 63, 6362, 65, 5803, 273, 1160, 2864, 5225, 22, 18, 9853, 3216, 12, 82, 74, 1769, 3639, 509, 1492, 3682, 273, 374, 92, 3672, 31, 565, 509, 1492, 7229, 273, 374, 31, 3639, 364, 261, 77, 273, 374, 274, 277, 411, 13958, 274, 965, 77, 13, 1377, 288, 202, 6494, 7612, 273, 14015, 3682, 4455, 63, 12784, 7229, 65, 473, 1492, 3682, 13, 422, 374, 1769, 202, 12784, 3682, 23359, 404, 31, 202, 2 ]
obj.addAsPrototype(cx, scope, sealed);
obj.addAsPrototype(MAX_PROTOTYPE_ID, cx, scope, sealed);
public static void init(Context cx, Scriptable scope, boolean sealed) { NativeError obj = new NativeError(); obj.defineProperty("message", "", ScriptableObject.EMPTY); obj.defineProperty("name", "Error", ScriptableObject.EMPTY); obj.addAsPrototype(cx, scope, sealed); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeError.java/buggy/js/rhino/src/org/mozilla/javascript/NativeError.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1208, 12, 1042, 9494, 16, 22780, 2146, 16, 1250, 695, 18931, 13, 288, 3639, 16717, 668, 1081, 273, 394, 16717, 668, 5621, 3639, 1081, 18, 11255, 1396, 2932, 2150, 3113, 23453, 22780, 921, 18, 13625, 1769, 3639, 1081, 18, 11255, 1396, 2932, 529, 3113, 315, 668, 3113, 22780, 921, 18, 13625, 1769, 3639, 1081, 18, 1289, 1463, 15846, 12, 6694, 67, 3373, 56, 1974, 1738, 67, 734, 16, 9494, 16, 2146, 16, 695, 18931, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1208, 12, 1042, 9494, 16, 22780, 2146, 16, 1250, 695, 18931, 13, 288, 3639, 16717, 668, 1081, 273, 394, 16717, 668, 5621, 3639, 1081, 18, 11255, 1396, 2932, 2150, 3113, 23453, 22780, 921, 18, 13625, 1769, 3639, 1081, 18, 11255, 1396, 2932, 529, 3113, 315, 668, 3113, 22780, 921, 18, 13625, 1769, 3639, 1081, 18, 1289, 1463, 15846, 12, 6694, 67, 3373, 56, 1974, 1738, 67, 734, 16, 9494, 16, 2146, 16, 695, 18931, 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 ]
throw new TypeError(runtime, name() + " must have write method, " +
throw runtime.newTypeError(name() + " must have write method, " +
public IRubyObject set(IRubyObject value) { if (value == get()) { return value; } if (value instanceof RubyIO) { ((RubyIO) value).checkWriteable(); } if (! value.respondsTo("write")) { throw new TypeError(runtime, name() + " must have write method, " + value.getType().getName() + " given"); } return super.set(value); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyGlobal.java/buggy/src/org/jruby/RubyGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 444, 12, 7937, 10340, 921, 460, 13, 288, 5411, 309, 261, 1132, 422, 336, 10756, 288, 7734, 327, 460, 31, 5411, 289, 5411, 309, 261, 1132, 1276, 19817, 4294, 13, 288, 7734, 14015, 54, 10340, 4294, 13, 460, 2934, 1893, 3067, 429, 5621, 5411, 289, 5411, 309, 16051, 460, 18, 455, 12545, 774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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 444, 12, 7937, 10340, 921, 460, 13, 288, 5411, 309, 261, 1132, 422, 336, 10756, 288, 7734, 327, 460, 31, 5411, 289, 5411, 309, 261, 1132, 1276, 19817, 4294, 13, 288, 7734, 14015, 54, 10340, 4294, 13, 460, 2934, 1893, 3067, 429, 5621, 5411, 289, 5411, 309, 16051, 460, 18, 455, 12545, 774, 2932, 2626, 6, 3719, 288, 7734, 604, 3099, 18, 2704, 19030, 12, 529, 1435, 397, 315, 1297, 1240, 1045, 707, 16, 315, 397, 4766, 565, 460, 18, 588, 559, 7675, 17994, 1435, 397, 315, 864, 8863, 5411, 289, 5411, 327, 2240, 18, 542, 12, 1132, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return "DATABASE,IFNULL,USER";
return "database,ifnull,user,convert";
public String getSystemFunctions() throws SQLException { return "DATABASE,IFNULL,USER"; }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/0a7ebc6de64e4f3e83cd11c83fd69cd327106d66/JtdsDatabaseMetaData.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 12996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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 12996, 7503, 1435, 1216, 6483, 288, 3639, 327, 315, 6231, 16, 430, 2011, 16, 1355, 16, 6283, 14432, 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 ]
public org.quickfix.field.LegRepurchaseRate getLegRepurchaseRate() throws FieldNotFound { org.quickfix.field.LegRepurchaseRate value = new org.quickfix.field.LegRepurchaseRate();
public quickfix.field.LegRepurchaseRate getLegRepurchaseRate() throws FieldNotFound { quickfix.field.LegRepurchaseRate value = new quickfix.field.LegRepurchaseRate();
public org.quickfix.field.LegRepurchaseRate getLegRepurchaseRate() throws FieldNotFound { org.quickfix.field.LegRepurchaseRate value = new org.quickfix.field.LegRepurchaseRate(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityList.java/buggy/src/java/src/quickfix/fix44/SecurityList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 426, 12688, 12104, 4727, 336, 8329, 426, 12688, 12104, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 426, 12688, 12104, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 426, 12688, 12104, 4727, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 426, 12688, 12104, 4727, 336, 8329, 426, 12688, 12104, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 426, 12688, 12104, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 426, 12688, 12104, 4727, 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 ]
iVisited.accept(_Payload);
_Payload.visitAliasNode(iVisited);
public void visitAliasNode(AliasNode iVisited) { iVisited.accept(_Payload); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 2936, 907, 12, 2936, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!dejavu) { init(); } try { Object params[] = {cx_, tds_, sql_}; return (java.sql.PreparedStatement)preparedStatementCtor.newInstance(params); } catch (java.lang.reflect.InvocationTargetException e) { throw new java.sql.SQLException(e.getTargetException().getMessage()); } catch (Throwable e) { throw new java.sql.SQLException(e.getMessage()); }
return new PreparedStatement_base( (TdsConnection)cx_, tds_, sql_ );
public static java.sql.PreparedStatement newPreparedStatement( Object cx_, com.internetcds.jdbc.tds.Tds tds_, java.lang.String sql_) throws java.sql.SQLException { if (!dejavu) { init(); } try { Object params[] = {cx_, tds_, sql_}; return (java.sql.PreparedStatement)preparedStatementCtor.newInstance(params); } catch (java.lang.reflect.InvocationTargetException e) { throw new java.sql.SQLException(e.getTargetException().getMessage()); } catch (Throwable e) { throw new java.sql.SQLException(e.getMessage()); } }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/68d090e16c5812940a9f369b9de5da0f86523923/Constructors.java/clean/src.old/main/com/internetcds/jdbc/tds/Constructors.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 2252, 18, 4669, 18, 29325, 394, 29325, 12, 1377, 1033, 13491, 9494, 67, 16, 1377, 532, 18, 267, 798, 14175, 2377, 18, 24687, 18, 88, 2377, 18, 56, 2377, 225, 268, 2377, 67, 16, 1377, 2252, 18, 4936, 18, 780, 2868, 1847, 67, 13, 1216, 2252, 18, 4669, 18, 23116, 282, 288, 1377, 309, 16051, 323, 19207, 89, 13, 1377, 288, 540, 1208, 5621, 1377, 289, 1377, 775, 1377, 288, 540, 1033, 225, 859, 8526, 273, 288, 71, 92, 67, 16, 268, 2377, 67, 16, 1847, 67, 20451, 540, 327, 261, 6290, 18, 4669, 18, 29325, 13, 9366, 72, 3406, 27425, 18, 2704, 1442, 12, 2010, 1769, 1377, 289, 1377, 1044, 261, 6290, 18, 4936, 18, 1734, 1582, 18, 9267, 14950, 425, 13, 1377, 288, 540, 604, 394, 2252, 18, 4669, 18, 23116, 12, 73, 18, 588, 14950, 7675, 24906, 10663, 1377, 289, 1377, 1044, 261, 15155, 425, 13, 1377, 288, 540, 604, 394, 2252, 18, 4669, 18, 23116, 12, 73, 18, 24906, 10663, 1377, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 2252, 18, 4669, 18, 29325, 394, 29325, 12, 1377, 1033, 13491, 9494, 67, 16, 1377, 532, 18, 267, 798, 14175, 2377, 18, 24687, 18, 88, 2377, 18, 56, 2377, 225, 268, 2377, 67, 16, 1377, 2252, 18, 4936, 18, 780, 2868, 1847, 67, 13, 1216, 2252, 18, 4669, 18, 23116, 282, 288, 1377, 309, 16051, 323, 19207, 89, 13, 1377, 288, 540, 1208, 5621, 1377, 289, 1377, 775, 1377, 288, 540, 1033, 225, 859, 8526, 273, 288, 71, 92, 67, 16, 268, 2377, 67, 16, 1847, 67, 20451, 540, 327, 261, 6290, 18, 4669, 18, 29325, 13, 9366, 72, 3406, 27425, 18, 2704, 1442, 12, 2010, 1769, 1377, 289, 1377, 1044, 261, 6290, 18, 4936, 18, 2 ]
debug = "remove first line of buffer";
public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException { Row r = null; boolean retval = true; boolean putrow = false; debug = "start of readRowOfData"; if (first) // we just got started { if (meta.isAcceptingFilenames()) { // Read the files from the specified input stream... data.files.getFiles().clear(); int idx = -1; Row fileRow = getRowFrom(meta.getAcceptingStepName()); while (fileRow!=null) { if (idx<0) { idx = fileRow.searchValueIndex(meta.getAcceptingField()); if (idx<0) { logError(Messages.getString("TextFileInput.Log.Error.UnableToFindFilenameField", meta.getAcceptingField())); setErrors(1); stopAll(); return false; } } Value fileValue = fileRow.getValue(idx); data.files.addFile(new File(fileValue.getString())); // Grab another row fileRow = getRowFrom(meta.getAcceptingStepName()); } if (data.files.nrOfFiles()==0) { logBasic(Messages.getString("TextFileInput.Log.Error.NoFilesSpecified")); return false; } } handleMissingFiles(); debug = "first"; first = false; // Open the first file & read the required rows in the buffer, stop // if it fails... if (!openNextFile()) { closeLastFile(); setOutputDone(); return false; } debug = "first repeat fields"; // Count the number of repeat fields... for (int i = 0; i < meta.getInputFields().length; i++) { if (meta.getInputFields()[i].isRepeated()) data.nr_repeats++; } } else { if (!data.doneReading) { int repeats = 1; if (meta.isLineWrapped()) repeats = meta.getNrWraps() > 0 ? meta.getNrWraps() : repeats; // Read a number of lines... for (int i = 0; i < repeats && !data.doneReading; i++) { debug = "get a new line of data"; String line = getLine(log, data.isr, meta.getFileFormat()); // Get one line of data; if (line != null) { linesInput++; lineNumberInFile++; // Filter row? boolean isFilterLastLine = false; boolean filterOK = checkFilterRow(line, isFilterLastLine); if (filterOK) { // logRowlevel("LINE READ: "+line); data.lineBuffer.add(new TextFileLine(line, lineNumberInFile, data.file)); } else { if (isFilterLastLine) { data.doneReading = true; } repeats++; // grab another line, this one got filtered } } else { data.doneReading = true; } } } } /* If the buffer is empty: open the next file. * (if nothing in there, open the next, etc.) */ while (data.lineBuffer.size() == 0) { debug = "empty buffer: open next file"; if (!openNextFile()) // Open fails: done processing! { debug = "empty buffer: close last file"; closeLastFile(); setOutputDone(); // signal end to receiver(s) return false; } } /* Take the first line available in the buffer & remove the line from the buffer */ debug = "take first line of buffer"; TextFileLine textLine = (TextFileLine) data.lineBuffer.get(0); debug = "remove first line of buffer"; data.lineBuffer.remove(0); if (meta.isLayoutPaged()) { debug = "paged layout"; /* Different rules apply: on each page: a header a number of data lines a footer */ if (!data.doneWithHeader && data.pageLinesRead == 0) // We are reading header lines { debug = "paged layout : header line " + data.headerLinesRead; if (log.isRowLevel()) logRowlevel("P-HEADER (" + data.headerLinesRead + ") : " + textLine.line); data.headerLinesRead++; if (data.headerLinesRead >= meta.getNrHeaderLines()) { data.doneWithHeader = true; } } else // data lines or footer on a page { debug = "paged layout : data or footer"; if (data.pageLinesRead < meta.getNrLinesPerPage()) { // See if we are dealing with wrapped lines: if (meta.isLineWrapped()) { for (int i = 0; i < meta.getNrWraps(); i++) { String extra = ""; if (data.lineBuffer.size() > 0) { extra = ((TextFileLine) data.lineBuffer.get(0)).line; data.lineBuffer.remove(0); } textLine.line += extra; } } debug = "paged layout : data line"; if (log.isRowLevel()) logRowlevel("P-DATA: " + textLine.line); // Read a normal line on a page of data. data.pageLinesRead++; r = convertLineToRow(log, textLine, meta, data.df, data.dfs, data.daf, data.dafs, data.filename, linesWritten + 1, data.dataErrorLineHandler); if (r != null) putrow = true; } else // done reading the data lines, skip the footer lines { debug = "paged layout : footer line"; if (meta.hasFooter() && data.footerLinesRead < meta.getNrFooterLines()) { if (log.isRowLevel()) logRowlevel("P-FOOTER: " + textLine.line); data.footerLinesRead++; } if (!meta.hasFooter() || data.footerLinesRead >= meta.getNrFooterLines()) { debug = "paged layout : end of page: restart"; /* OK, we are done reading the footer lines, start again on 'next page' with the header */ data.doneWithHeader = false; data.headerLinesRead = 0; data.pageLinesRead = 0; data.footerLinesRead = 0; if (log.isRowLevel()) logRowlevel("RESTART PAGE"); } } } } else // A normal data line, can also be a header or a footer line { debug = "normal"; if (!data.doneWithHeader) // We are reading header lines { debug = "normal : header line"; data.headerLinesRead++; if (data.headerLinesRead >= meta.getNrHeaderLines()) { data.doneWithHeader = true; } } else { debug = "normal : data and footer"; /* IF we are done reading and we have a footer AND the number of lines in the buffer is smaller then the number of footer lines THEN we can remove the remaining rows from the buffer: they are all footer rows. */ if (data.doneReading && meta.hasFooter() && data.lineBuffer.size() < meta.getNrFooterLines()) { debug = "normal : footer"; data.lineBuffer.clear(); } else // Not yet a footer line: it's a normal data line. { // See if we are dealing with wrapped lines: if (meta.isLineWrapped()) { for (int i = 0; i < meta.getNrWraps(); i++) { String extra = ""; if (data.lineBuffer.size() > 0) { extra = ((TextFileLine) data.lineBuffer.get(0)).line; data.lineBuffer.remove(0); } textLine.line += extra; } } debug = "normal : data"; if (data.filePlayList.isProcessingNeeded(textLine.file, textLine.lineNumber, AbstractFileErrorHandler.NO_PARTS)) { r = convertLineToRow(log, textLine, meta, data.df, data.dfs, data.daf, data.dafs, data.filename, linesWritten + 1, data.dataErrorLineHandler); if (r != null) { // System.out.println("Found data row: "+r); putrow = true; } } else putrow = false; } } } if (putrow && r != null && !r.isIgnored()) { // See if the previous values need to be repeated! if (data.nr_repeats > 0) { debug = "repeats"; if (data.previous_row == null) // First invocation... { debug = "init repeats"; data.previous_row = new Row(); for (int i = 0; i < meta.getInputFields().length; i++) { if (meta.getInputFields()[i].isRepeated()) { Value value = r.getValue(i); data.previous_row.addValue(new Value(value)); // Copy // the // first // row } } } else { debug = "check repeats"; int repnr = 0; for (int i = 0; i < meta.getInputFields().length; i++) { if (meta.getInputFields()[i].isRepeated()) { Value value = r.getValue(i); if (value.isNull()) // if it is empty: take the // previous value! { Value prev = data.previous_row.getValue(repnr); r.removeValue(i); r.addValue(i, prev); } else // not empty: change the previous_row entry! { data.previous_row.removeValue(repnr); data.previous_row.addValue(repnr, new Value(value)); } repnr++; } } } } if (log.isRowLevel()) logRowlevel("Putting row: " + r.toString()); putRow(r); } if ((linesInput > 0) && (linesInput % Const.ROWS_UPDATE) == 0) logBasic("linenr " + linesInput); debug = "end of readRowOfData"; return retval; }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/b8c6b02ffc35cf6ae44d1cb0cdf4ecec0144af21/TextFileInput.java/clean/kettle/src/be/ibridge/kettle/trans/step/textfileinput/TextFileInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1207, 1999, 12, 4160, 2781, 1358, 3029, 77, 16, 8693, 751, 1358, 272, 3211, 13, 1216, 1475, 278, 5929, 503, 202, 95, 202, 202, 1999, 436, 273, 446, 31, 202, 202, 6494, 5221, 273, 638, 31, 202, 202, 6494, 1378, 492, 273, 629, 31, 202, 202, 4148, 273, 315, 1937, 434, 855, 1999, 951, 751, 14432, 202, 202, 430, 261, 3645, 13, 368, 732, 2537, 2363, 5746, 202, 202, 95, 5411, 309, 261, 3901, 18, 291, 5933, 310, 25579, 6809, 10756, 5411, 288, 7734, 368, 2720, 326, 1390, 628, 326, 1269, 810, 1407, 2777, 7734, 501, 18, 2354, 18, 588, 2697, 7675, 8507, 5621, 27573, 509, 2067, 273, 300, 21, 31, 7734, 6556, 585, 1999, 273, 11835, 1265, 12, 3901, 18, 588, 5933, 310, 4160, 461, 10663, 7734, 1323, 261, 768, 1999, 5, 33, 2011, 13, 7734, 288, 10792, 309, 261, 3465, 32, 20, 13, 10792, 288, 13491, 2067, 273, 585, 1999, 18, 3072, 620, 1016, 12, 3901, 18, 588, 5933, 310, 974, 10663, 13491, 309, 261, 3465, 32, 20, 13, 13491, 288, 18701, 20638, 12, 5058, 18, 588, 780, 2932, 1528, 812, 1210, 18, 1343, 18, 668, 18, 3370, 774, 3125, 5359, 974, 3113, 2191, 18, 588, 5933, 310, 974, 1435, 10019, 18701, 444, 4229, 12, 21, 1769, 18701, 2132, 1595, 5621, 18701, 327, 629, 31, 13491, 289, 10792, 289, 10792, 1445, 585, 620, 273, 585, 1999, 18, 24805, 12, 3465, 1769, 10792, 501, 18, 2354, 18, 1289, 812, 12, 2704, 1387, 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, 1207, 1999, 12, 4160, 2781, 1358, 3029, 77, 16, 8693, 751, 1358, 272, 3211, 13, 1216, 1475, 278, 5929, 503, 202, 95, 202, 202, 1999, 436, 273, 446, 31, 202, 202, 6494, 5221, 273, 638, 31, 202, 202, 6494, 1378, 492, 273, 629, 31, 202, 202, 4148, 273, 315, 1937, 434, 855, 1999, 951, 751, 14432, 202, 202, 430, 261, 3645, 13, 368, 732, 2537, 2363, 5746, 202, 202, 95, 5411, 309, 261, 3901, 18, 291, 5933, 310, 25579, 6809, 10756, 5411, 288, 7734, 368, 2720, 326, 1390, 628, 326, 1269, 810, 1407, 2777, 7734, 501, 18, 2354, 18, 588, 2697, 7675, 8507, 5621, 27573, 509, 2067, 273, 300, 21, 31, 7734, 6556, 585, 1999, 2 ]
public SequenceIterator iterate(XPathContext xpathContext) throws XPathException { // Get instance id final Expression contextIdExpression = (argument == null || argument.length == 0) ? null : argument[0]; final String contextId = (contextIdExpression == null) ? null : XFormsUtils.namespaceId(getXFormsContainingDocument(), contextIdExpression.evaluateAsString(xpathContext)); // Get context for id final XFormsControls xformsControls = getXFormsControls(); final List currentNodeset = xformsControls.getContextForId(contextId); return new ListIterator(currentNodeset); // Build results by wrapping each node// final List results = new ArrayList(currentNodeset.size());//// for (Iterator k = currentNodeset.iterator(); k.hasNext();) {// final Node currentNode = (Node) k.next();// results.add(xformsControls.getInstanceForNode(currentNode).wrapNode(currentNode));// }//// return new ListIterator(results); }
52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/ec3dbe800a2b452f9fb2283660e00ef34f4c320f/XXFormsContext.java/buggy/src/java/org/orbeon/oxf/xforms/function/xxforms/XXFormsContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8370, 3198, 7401, 12, 14124, 1042, 6748, 1042, 13, 1216, 10172, 503, 288, 3639, 368, 968, 791, 612, 3639, 727, 5371, 819, 548, 2300, 273, 261, 3446, 422, 446, 747, 1237, 18, 2469, 422, 374, 13, 692, 446, 294, 1237, 63, 20, 15533, 3639, 727, 514, 819, 548, 273, 261, 2472, 548, 2300, 422, 446, 13, 692, 446, 294, 1139, 18529, 1989, 18, 4937, 548, 12, 588, 60, 18529, 24344, 2519, 9334, 819, 548, 2300, 18, 21024, 8092, 12, 18644, 1042, 10019, 3639, 368, 968, 819, 364, 612, 3639, 727, 1139, 18529, 16795, 619, 9741, 16795, 273, 6538, 18529, 16795, 5621, 3639, 727, 987, 783, 3205, 278, 273, 619, 9741, 16795, 18, 29120, 1290, 548, 12, 2472, 548, 1769, 3639, 327, 394, 987, 3198, 12, 2972, 3205, 278, 1769, 3639, 368, 3998, 1686, 635, 14702, 1517, 756, 759, 3639, 727, 987, 1686, 273, 394, 2407, 12, 2972, 3205, 278, 18, 1467, 10663, 1307, 3639, 364, 261, 3198, 417, 273, 783, 3205, 278, 18, 9838, 5621, 417, 18, 5332, 2134, 5621, 13, 288, 759, 225, 727, 2029, 13425, 273, 261, 907, 13, 417, 18, 4285, 5621, 759, 225, 1686, 18, 1289, 12, 92, 9741, 16795, 18, 588, 1442, 31058, 12, 2972, 907, 2934, 4113, 907, 12, 2972, 907, 10019, 759, 3639, 289, 1307, 3639, 327, 394, 987, 3198, 12, 4717, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8370, 3198, 7401, 12, 14124, 1042, 6748, 1042, 13, 1216, 10172, 503, 288, 3639, 368, 968, 791, 612, 3639, 727, 5371, 819, 548, 2300, 273, 261, 3446, 422, 446, 747, 1237, 18, 2469, 422, 374, 13, 692, 446, 294, 1237, 63, 20, 15533, 3639, 727, 514, 819, 548, 273, 261, 2472, 548, 2300, 422, 446, 13, 692, 446, 294, 1139, 18529, 1989, 18, 4937, 548, 12, 588, 60, 18529, 24344, 2519, 9334, 819, 548, 2300, 18, 21024, 8092, 12, 18644, 1042, 10019, 3639, 368, 968, 819, 364, 612, 3639, 727, 1139, 18529, 16795, 619, 9741, 16795, 273, 6538, 18529, 16795, 5621, 3639, 727, 987, 783, 3205, 278, 273, 619, 9741, 16795, 18, 29120, 1290, 548, 12, 2472, 2 ]
installationService.doInstallSharedLibrary(tmp, root.getSharedLibrary());
installationService.doInstallSharedLibrary(tmpDir, root.getSharedLibrary());
public void updateArchive(String location, ArchiveEntry entry, boolean autoStart) throws DeploymentException{ File tmp=AutoDeploymentService.unpackLocation(environmentContext.getTmpDir(),location); Descriptor root = DescriptorFactory.buildDescriptor(tmp); if (root != null) { try{ container.getBroker().suspend(); if (root.getComponent() != null) { String componentName = root.getComponent().getIdentification().getName(); entry.type = "component"; entry.name = componentName; installationService.unloadInstaller(componentName, true); installationService.install(tmp, root, autoStart); checkPendingSAs(); } else if (root.getSharedLibrary() != null) { String libraryName = root.getSharedLibrary().getIdentification().getName(); entry.type = "component"; entry.name = libraryName; installationService.doInstallSharedLibrary(tmp, root.getSharedLibrary()); } else if (root.getServiceAssembly() != null) { ServiceAssembly sa = root.getServiceAssembly(); String name = sa.getIdentification().getName(); entry.type = "assembly"; entry.name = name; try { if (deploymentService.isSaDeployed(name)) { deploymentService.shutDown(name); deploymentService.undeploy(name); deploymentService.deployServiceAssembly(tmp, sa); if (autoStart) { deploymentService.start(name); } } else { // see if components are installed entry.componentNames = getComponentNames(sa); String missings = null; boolean canDeploy = true; for (Iterator it = entry.componentNames.iterator(); it.hasNext();) { String componentName = (String) it.next(); if (container.getComponent(componentName) == null) { canDeploy = false; if (missings != null) { missings += ", " + componentName; } else { missings = componentName; } } } if (canDeploy) { deploymentService.deployServiceAssembly(tmp, sa); if (autoStart){ deploymentService.start(name); } } else { // TODO: check that the assembly is not already pending entry.pending = true; log.info("Components " + missings + " are not installed yet - adding ServiceAssembly " + name + " to pending list"); pendingSAs.put(tmp, entry); } } } catch (Exception e) { String errStr="Failed to update Service Assembly: "+name; log.error(errStr,e); throw new DeploymentException(errStr,e); } } } finally { container.getBroker().resume(); } } }
6264 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6264/dd64fcde8b086a270c1c6f686791e209b7f0cce7/AutoDeploymentService.java/clean/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/AutoDeploymentService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 7465, 12, 780, 2117, 16, 13124, 1622, 1241, 16, 1250, 3656, 1685, 13, 1216, 8587, 503, 95, 3639, 1387, 1853, 33, 4965, 6733, 1179, 18, 17309, 2735, 12, 10274, 1042, 18, 588, 9161, 1621, 9334, 3562, 1769, 3639, 12823, 1365, 273, 12823, 1733, 18, 3510, 3187, 12, 5645, 1769, 3639, 309, 261, 3085, 480, 446, 13, 288, 5411, 775, 95, 7734, 1478, 18, 588, 11194, 7675, 87, 18815, 5621, 7734, 309, 261, 3085, 18, 588, 1841, 1435, 480, 446, 13, 288, 1171, 202, 780, 20577, 273, 1365, 18, 588, 1841, 7675, 588, 24371, 7675, 17994, 5621, 1171, 202, 4099, 18, 723, 273, 315, 4652, 14432, 1171, 202, 4099, 18, 529, 273, 20577, 31, 5397, 13193, 1179, 18, 318, 945, 18678, 12, 4652, 461, 16, 638, 1769, 10792, 13193, 1179, 18, 5425, 12, 5645, 16, 1365, 16, 3656, 1685, 1769, 10792, 866, 8579, 55, 1463, 5621, 7734, 289, 469, 309, 261, 3085, 18, 588, 7887, 9313, 1435, 480, 446, 13, 288, 1171, 202, 780, 5313, 461, 273, 1365, 18, 588, 7887, 9313, 7675, 588, 24371, 7675, 17994, 5621, 1171, 202, 4099, 18, 723, 273, 315, 4652, 14432, 1171, 202, 4099, 18, 529, 273, 5313, 461, 31, 5397, 13193, 1179, 18, 2896, 6410, 7887, 9313, 12, 5645, 1621, 16, 1365, 18, 588, 7887, 9313, 10663, 7734, 289, 469, 309, 261, 3085, 18, 588, 1179, 24368, 1435, 480, 446, 13, 288, 10792, 1956, 24368, 7864, 273, 1365, 18, 588, 1179, 24368, 5621, 10792, 514, 508, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 7465, 12, 780, 2117, 16, 13124, 1622, 1241, 16, 1250, 3656, 1685, 13, 1216, 8587, 503, 95, 3639, 1387, 1853, 33, 4965, 6733, 1179, 18, 17309, 2735, 12, 10274, 1042, 18, 588, 9161, 1621, 9334, 3562, 1769, 3639, 12823, 1365, 273, 12823, 1733, 18, 3510, 3187, 12, 5645, 1769, 3639, 309, 261, 3085, 480, 446, 13, 288, 5411, 775, 95, 7734, 1478, 18, 588, 11194, 7675, 87, 18815, 5621, 7734, 309, 261, 3085, 18, 588, 1841, 1435, 480, 446, 13, 288, 1171, 202, 780, 20577, 273, 1365, 18, 588, 1841, 7675, 588, 24371, 7675, 17994, 5621, 1171, 202, 4099, 18, 723, 273, 315, 4652, 14432, 1171, 202, 4099, 18, 529, 273, 20577, 31, 5397, 13193, 2 ]
(Errors) mv.getModel().get(BindException.ERROR_KEY_PREFIX + "user");
(Errors) mv.getModel().get(BindException.MODEL_KEY_PREFIX + "user");
public void testSignupUser() throws Exception { MockHttpServletRequest request = newPost("/signup.html"); request.addParameter("username", "self-registered"); request.addParameter("password", "Password1"); request.addParameter("confirmPassword", "Password1"); request.addParameter("firstName", "First"); request.addParameter("lastName", "Last"); request.addParameter("address.city", "Denver"); request.addParameter("address.province", "Colorado"); request.addParameter("address.country", "USA"); request.addParameter("address.postalCode", "80210"); request.addParameter("email", "self-registered@raibledesigns.com"); request.addParameter("website", "http://raibledesigns.com"); request.addParameter("passwordHint", "Password is one with you."); HttpServletResponse response = new MockHttpServletResponse(); SimpleSmtpServer server = SimpleSmtpServer.start(2525); ModelAndView mv = c.handleRequest(request, response); Errors errors = (Errors) mv.getModel().get(BindException.ERROR_KEY_PREFIX + "user"); assertTrue("no errors returned in model", errors == null); // verify an account information e-mail was sent server.stop(); assertTrue(server.getReceivedEmailSize() == 1); // verify that success messages are in the request assertNotNull(request.getSession().getAttribute("messages")); assertNotNull(request.getSession().getAttribute(Constants.REGISTERED)); }
30015 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/30015/24e468222d23592c808bc2909b2f619f8372db1e/SignupControllerTest.java/clean/web/spring/src/test/java/org/appfuse/webapp/action/SignupControllerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2766, 416, 1299, 1435, 1216, 1185, 288, 3639, 7867, 2940, 18572, 590, 273, 394, 3349, 2932, 19, 2977, 416, 18, 2620, 8863, 3639, 590, 18, 1289, 1662, 2932, 5053, 3113, 315, 2890, 17, 14327, 8863, 3639, 590, 18, 1289, 1662, 2932, 3664, 3113, 315, 3913, 21, 8863, 3639, 590, 18, 1289, 1662, 2932, 10927, 3913, 3113, 315, 3913, 21, 8863, 3639, 590, 18, 1289, 1662, 2932, 3645, 461, 3113, 315, 3759, 8863, 3639, 590, 18, 1289, 1662, 2932, 2722, 461, 3113, 315, 3024, 8863, 3639, 590, 18, 1289, 1662, 2932, 2867, 18, 14240, 3113, 315, 8517, 502, 8863, 3639, 590, 18, 1289, 1662, 2932, 2867, 18, 25529, 2410, 3113, 315, 2957, 6821, 8863, 3639, 590, 18, 1289, 1662, 2932, 2867, 18, 9082, 3113, 315, 3378, 37, 8863, 3639, 590, 18, 1289, 1662, 2932, 2867, 18, 2767, 23093, 3113, 315, 31644, 2163, 8863, 3639, 590, 18, 1289, 1662, 2932, 3652, 3113, 315, 2890, 17, 14327, 36, 354, 495, 1259, 281, 724, 87, 18, 832, 8863, 3639, 590, 18, 1289, 1662, 2932, 21868, 3113, 315, 2505, 2207, 354, 495, 1259, 281, 724, 87, 18, 832, 8863, 3639, 590, 18, 1289, 1662, 2932, 3664, 7002, 3113, 315, 3913, 353, 1245, 598, 1846, 1199, 1769, 3639, 12446, 766, 273, 394, 7867, 2940, 29910, 5621, 7734, 4477, 55, 11091, 2081, 1438, 273, 4477, 55, 11091, 2081, 18, 1937, 12, 2947, 2947, 1769, 7734, 3164, 1876, 1767, 7701, 273, 276, 18, 4110, 691, 12, 2293, 16, 766, 1769, 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, 918, 1842, 2766, 416, 1299, 1435, 1216, 1185, 288, 3639, 7867, 2940, 18572, 590, 273, 394, 3349, 2932, 19, 2977, 416, 18, 2620, 8863, 3639, 590, 18, 1289, 1662, 2932, 5053, 3113, 315, 2890, 17, 14327, 8863, 3639, 590, 18, 1289, 1662, 2932, 3664, 3113, 315, 3913, 21, 8863, 3639, 590, 18, 1289, 1662, 2932, 10927, 3913, 3113, 315, 3913, 21, 8863, 3639, 590, 18, 1289, 1662, 2932, 3645, 461, 3113, 315, 3759, 8863, 3639, 590, 18, 1289, 1662, 2932, 2722, 461, 3113, 315, 3024, 8863, 3639, 590, 18, 1289, 1662, 2932, 2867, 18, 14240, 3113, 315, 8517, 502, 8863, 3639, 590, 18, 1289, 1662, 2932, 2867, 18, 25529, 2410, 3113, 315, 2957, 6821, 8863, 3639, 590, 2 ]
if (curGlobalSingleton == appHandle) curGlobalSingleton = null; else if (curScopedSingleton == appHandle) curScopedSingleton = null; else if (((EclipseAppDescriptor)appHandle.getApplicationDescriptor()).getCardinalityType() == EclipseAppDescriptor.FLAG_CARD_LIMITED) { if (curLimited != null) { ArrayList limited = (ArrayList) curLimited.get(((EclipseAppDescriptor)appHandle.getApplicationDescriptor()).getApplicationId());
if (activeGlobalSingleton == appHandle) activeGlobalSingleton = null; else if (activeScopedSingleton == appHandle) activeScopedSingleton = null; else if (((EclipseAppDescriptor) appHandle.getApplicationDescriptor()).getCardinalityType() == EclipseAppDescriptor.FLAG_CARD_LIMITED) { if (activeLimited != null) { ArrayList limited = (ArrayList) activeLimited.get(((EclipseAppDescriptor) appHandle.getApplicationDescriptor()).getApplicationId());
synchronized void unlock(EclipseAppHandle appHandle) { if (curGlobalSingleton == appHandle) curGlobalSingleton = null; else if (curScopedSingleton == appHandle) curScopedSingleton = null; else if (((EclipseAppDescriptor)appHandle.getApplicationDescriptor()).getCardinalityType() == EclipseAppDescriptor.FLAG_CARD_LIMITED) { if (curLimited != null) { ArrayList limited = (ArrayList) curLimited.get(((EclipseAppDescriptor)appHandle.getApplicationDescriptor()).getApplicationId()); if (limited != null) limited.remove(appHandle); } } if (curMain == appHandle) curMain = null; if (curHandles.remove(appHandle)) refreshAppDescriptors(); // only refresh descriptors if we really unlocked something }
13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/69e29887bf68f7503d8dc0d191acd678768e0b0e/EclipseAppContainer.java/clean/bundles/org.eclipse.equinox.app/src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 22043, 918, 7186, 12, 23057, 10472, 3371, 3259, 595, 3259, 13, 288, 202, 202, 430, 261, 1397, 5160, 19571, 422, 595, 3259, 13, 1082, 202, 1397, 5160, 19571, 273, 446, 31, 202, 202, 12107, 309, 261, 1397, 25470, 19571, 422, 595, 3259, 13, 1082, 202, 1397, 25470, 19571, 273, 446, 31, 202, 202, 12107, 309, 261, 12443, 23057, 10472, 3371, 3187, 13, 2910, 3259, 18, 588, 3208, 3187, 1435, 2934, 588, 20091, 559, 1435, 422, 20840, 10472, 3371, 3187, 18, 9651, 67, 28760, 67, 8283, 2056, 13, 288, 1082, 202, 430, 261, 1397, 3039, 329, 480, 446, 13, 288, 9506, 202, 19558, 13594, 273, 261, 19558, 13, 662, 3039, 329, 18, 588, 12443, 12, 23057, 10472, 3371, 3187, 13, 2910, 3259, 18, 588, 3208, 3187, 1435, 2934, 588, 3208, 548, 10663, 9506, 202, 430, 261, 21325, 480, 446, 13, 6862, 202, 21325, 18, 4479, 12, 2910, 3259, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 1397, 6376, 422, 595, 3259, 13, 1082, 202, 1397, 6376, 273, 446, 31, 202, 202, 430, 261, 1397, 8788, 18, 4479, 12, 2910, 3259, 3719, 1082, 202, 9144, 3371, 12705, 5621, 368, 1338, 4460, 14215, 309, 732, 8654, 25966, 5943, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 22043, 918, 7186, 12, 23057, 10472, 3371, 3259, 595, 3259, 13, 288, 202, 202, 430, 261, 1397, 5160, 19571, 422, 595, 3259, 13, 1082, 202, 1397, 5160, 19571, 273, 446, 31, 202, 202, 12107, 309, 261, 1397, 25470, 19571, 422, 595, 3259, 13, 1082, 202, 1397, 25470, 19571, 273, 446, 31, 202, 202, 12107, 309, 261, 12443, 23057, 10472, 3371, 3187, 13, 2910, 3259, 18, 588, 3208, 3187, 1435, 2934, 588, 20091, 559, 1435, 422, 20840, 10472, 3371, 3187, 18, 9651, 67, 28760, 67, 8283, 2056, 13, 288, 1082, 202, 430, 261, 1397, 3039, 329, 480, 446, 13, 288, 9506, 202, 19558, 13594, 273, 261, 19558, 13, 662, 3039, 329, 18, 588, 12443, 12, 23057, 10472, 3371, 2 ]
public org.quickfix.field.StrikeCurrency getStrikeCurrency() throws FieldNotFound { org.quickfix.field.StrikeCurrency value = new org.quickfix.field.StrikeCurrency();
public quickfix.field.StrikeCurrency getStrikeCurrency() throws FieldNotFound { quickfix.field.StrikeCurrency value = new quickfix.field.StrikeCurrency();
public org.quickfix.field.StrikeCurrency getStrikeCurrency() throws FieldNotFound { org.quickfix.field.StrikeCurrency value = new org.quickfix.field.StrikeCurrency(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteResponse.java/clean/src/java/src/quickfix/fix44/QuoteResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 24017, 2547, 7623, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 24017, 2547, 7623, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 7623, 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 ]
return new RubyString(recv.getRuntime(), System.getProperty("user.dir"));
return recv.getRuntime().newString(System.getProperty("user.dir"));
public static RubyString getwd(IRubyObject recv) { return new RubyString(recv.getRuntime(), System.getProperty("user.dir")); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyDir.java/buggy/src/org/jruby/RubyDir.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 780, 336, 3623, 12, 7937, 10340, 921, 10665, 13, 288, 3639, 327, 10665, 18, 588, 5576, 7675, 2704, 780, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 1214, 7923, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 780, 336, 3623, 12, 7937, 10340, 921, 10665, 13, 288, 3639, 327, 10665, 18, 588, 5576, 7675, 2704, 780, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 1214, 7923, 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 ]
writer.startElement("detail"); writer.endElement();
if (phase != PROCESS_HEADER_PHASE) { writer.startElement("detail"); writer.startElement(FAULT_NS_PREFIX +":error", new String[] { "xmlns:" +FAULT_NS_PREFIX, MONDRIAN_NAMESPACE }); writer.startElement("code"); writer.characters(code); writer.endElement(); writer.startElement("desc"); writer.characters(detail); writer.endElement(); writer.endElement(); writer.endElement(); }
protected byte[] handleFault(Throwable t, String charEncoding) { t = XmlaUtil.rootThrowable(t); ByteArrayOutputStream osBuf = new ByteArrayOutputStream(); try { SaxWriter writer = new DefaultSaxWriter(osBuf, charEncoding); writer.startDocument(); writer.startElement("SOAP-ENV:Fault", new String[]{ "xmlns:SOAP-ENV", NS_SOAP, }); writer.startElement("faultcode"); writer.characters(t.getClass().getName()); writer.endElement(); writer.startElement("faultstring"); writer.characters(t.getMessage()); writer.endElement(); writer.startElement("faultactor"); writer.characters("Mondrian"); writer.endElement(); writer.startElement("detail"); writer.endElement(); writer.endElement(); // </Fault> writer.endDocument(); } catch (UnsupportedEncodingException uee) { LOGGER.warn("This should be handled at begin of processing request", uee); } catch (Exception e) { LOGGER.error("Unexcepted runimt exception when handing SOAP fault :("); } return osBuf.toByteArray(); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/41e43f806f666da1ff483ebb20820e61433739e2/DefaultXmlaServlet.java/buggy/src/main/mondrian/xmla/impl/DefaultXmlaServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1160, 8526, 1640, 7083, 12, 15155, 268, 16, 514, 1149, 4705, 13, 288, 3639, 268, 273, 5714, 69, 1304, 18, 3085, 15155, 12, 88, 1769, 3639, 11559, 1140, 5503, 273, 394, 11559, 5621, 3639, 775, 288, 5411, 348, 651, 2289, 2633, 273, 394, 2989, 55, 651, 2289, 12, 538, 5503, 16, 1149, 4705, 1769, 5411, 2633, 18, 1937, 2519, 5621, 5411, 2633, 18, 1937, 1046, 2932, 27952, 17, 11986, 30, 7083, 3113, 394, 514, 63, 7073, 10792, 315, 16741, 30, 27952, 17, 11986, 3113, 11472, 67, 27952, 16, 5411, 15549, 5411, 2633, 18, 1937, 1046, 2932, 643, 710, 8863, 5411, 2633, 18, 20558, 12, 88, 18, 588, 797, 7675, 17994, 10663, 5411, 2633, 18, 409, 1046, 5621, 5411, 2633, 18, 1937, 1046, 2932, 643, 1080, 8863, 5411, 2633, 18, 20558, 12, 88, 18, 24906, 10663, 5411, 2633, 18, 409, 1046, 5621, 5411, 2633, 18, 1937, 1046, 2932, 643, 3362, 8863, 5411, 2633, 18, 20558, 2932, 49, 1434, 566, 304, 8863, 5411, 2633, 18, 409, 1046, 5621, 5411, 2633, 18, 1937, 1046, 2932, 8992, 8863, 5411, 2633, 18, 409, 1046, 5621, 5411, 2633, 18, 409, 1046, 5621, 282, 368, 7765, 7083, 34, 5411, 2633, 18, 409, 2519, 5621, 3639, 289, 1044, 261, 8544, 13836, 17869, 73, 13, 288, 5411, 4145, 18, 8935, 2932, 2503, 1410, 506, 7681, 622, 2376, 434, 4929, 590, 3113, 17869, 73, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 4145, 18, 1636, 2932, 984, 14137, 329, 1086, 381, 88, 1520, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1160, 8526, 1640, 7083, 12, 15155, 268, 16, 514, 1149, 4705, 13, 288, 3639, 268, 273, 5714, 69, 1304, 18, 3085, 15155, 12, 88, 1769, 3639, 11559, 1140, 5503, 273, 394, 11559, 5621, 3639, 775, 288, 5411, 348, 651, 2289, 2633, 273, 394, 2989, 55, 651, 2289, 12, 538, 5503, 16, 1149, 4705, 1769, 5411, 2633, 18, 1937, 2519, 5621, 5411, 2633, 18, 1937, 1046, 2932, 27952, 17, 11986, 30, 7083, 3113, 394, 514, 63, 7073, 10792, 315, 16741, 30, 27952, 17, 11986, 3113, 11472, 67, 27952, 16, 5411, 15549, 5411, 2633, 18, 1937, 1046, 2932, 643, 710, 8863, 5411, 2633, 18, 20558, 12, 88, 18, 588, 797, 7675, 17994, 10663, 5411, 2633, 18, 409, 1046, 5621, 2 ]
public EditBindingAction(IWorkbenchPart part) { super(part); setId(ID); setText(Messages.getString("DesignerActionBarContributor.menu.element.editDataBinding")); }
public EditBindingAction( IWorkbenchPart part ) { super( part ); setId( ID ); setText( Messages.getString( "DesignerActionBarContributor.menu.element.editDataBinding" ) ); }
public EditBindingAction(IWorkbenchPart part) { super(part); setId(ID); setText(Messages.getString("DesignerActionBarContributor.menu.element.editDataBinding")); //$NON-NLS-1$ }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/b6cfb45854b21e148cd7d00999f1f6ebdd480335/EditBindingAction.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/actions/EditBindingAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15328, 5250, 1803, 12, 45, 2421, 22144, 1988, 1087, 13, 565, 288, 3639, 2240, 12, 2680, 1769, 3639, 10446, 12, 734, 1769, 3639, 7883, 12, 5058, 18, 588, 780, 2932, 15478, 264, 1803, 5190,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15328, 5250, 1803, 12, 45, 2421, 22144, 1988, 1087, 13, 565, 288, 3639, 2240, 12, 2680, 1769, 3639, 10446, 12, 734, 1769, 3639, 7883, 12, 5058, 18, 588, 780, 2932, 15478, 264, 1803, 5190, 442, 19293, 18, 5414, 18, 2956, 18, 4619, 751, 5250, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 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 ]
"InputImport.java:7: Avoid using the '.*' form of import.", "InputImport.java:7: Redundant import from the same package.", "InputImport.java:8: Redundant import from the same package.", "InputImport.java:9: Avoid using the '.*' form of import.", "InputImport.java:10: Avoid using the '.*' form of import.", "InputImport.java:10: Redundant import from the java.lang package.", "InputImport.java:11: Redundant import from the java.lang package.", "InputImport.java:13: Unused import - java.util.List", "InputImport.java:14: Duplicate import to line 13.", "InputImport.java:14: Unused import - java.util.List",
filepath + ":7: Avoid using the '.*' form of import.", filepath + ":7: Redundant import from the same package.", filepath + ":8: Redundant import from the same package.", filepath + ":9: Avoid using the '.*' form of import.", filepath + ":10: Avoid using the '.*' form of import.", filepath + ":10: Redundant import from the java.lang package.", filepath + ":11: Redundant import from the java.lang package.", filepath + ":13: Unused import - java.util.List", filepath + ":14: Duplicate import to line 13.", filepath + ":14: Unused import - java.util.List",
public void testImport() throws Exception { final Checker c = new Checker(mConfig, mStream); assertNotNull(c); final String[] expected = { "InputImport.java:7: Avoid using the '.*' form of import.", "InputImport.java:7: Redundant import from the same package.", "InputImport.java:8: Redundant import from the same package.", "InputImport.java:9: Avoid using the '.*' form of import.", "InputImport.java:10: Avoid using the '.*' form of import.", "InputImport.java:10: Redundant import from the java.lang package.", "InputImport.java:11: Redundant import from the java.lang package.", "InputImport.java:13: Unused import - java.util.List", "InputImport.java:14: Duplicate import to line 13.", "InputImport.java:14: Unused import - java.util.List", }; verify(c, "InputImport.java", expected); }
31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/a6df885ae1a2b681c4d6f739aa190f622c6b4106/CheckerTest.java/buggy/src/tests/com/puppycrawl/tools/checkstyle/CheckerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5010, 1435, 3639, 1216, 1185, 565, 288, 3639, 727, 31577, 276, 273, 394, 31577, 12, 81, 809, 16, 312, 1228, 1769, 3639, 25395, 12, 71, 1769, 3639, 727, 514, 8526, 2665, 273, 288, 5411, 315, 1210, 5010, 18, 6290, 30, 27, 30, 17843, 1450, 326, 30485, 646, 434, 1930, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 27, 30, 4621, 15362, 1930, 628, 326, 1967, 2181, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 28, 30, 4621, 15362, 1930, 628, 326, 1967, 2181, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 29, 30, 17843, 1450, 326, 30485, 646, 434, 1930, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 2163, 30, 17843, 1450, 326, 30485, 646, 434, 1930, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 2163, 30, 4621, 15362, 1930, 628, 326, 2252, 18, 4936, 2181, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 2499, 30, 4621, 15362, 1930, 628, 326, 2252, 18, 4936, 2181, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 3437, 30, 1351, 3668, 1930, 300, 2252, 18, 1367, 18, 682, 3113, 5411, 315, 1210, 5010, 18, 6290, 30, 3461, 30, 19072, 1930, 358, 980, 5958, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 3461, 30, 1351, 3668, 1930, 300, 2252, 18, 1367, 18, 682, 3113, 3639, 289, 31, 3639, 3929, 12, 71, 16, 315, 1210, 5010, 18, 6290, 3113, 2665, 1769, 565, 289, 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, 377, 1071, 918, 1842, 5010, 1435, 3639, 1216, 1185, 565, 288, 3639, 727, 31577, 276, 273, 394, 31577, 12, 81, 809, 16, 312, 1228, 1769, 3639, 25395, 12, 71, 1769, 3639, 727, 514, 8526, 2665, 273, 288, 5411, 315, 1210, 5010, 18, 6290, 30, 27, 30, 17843, 1450, 326, 30485, 646, 434, 1930, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 27, 30, 4621, 15362, 1930, 628, 326, 1967, 2181, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 28, 30, 4621, 15362, 1930, 628, 326, 1967, 2181, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 29, 30, 17843, 1450, 326, 30485, 646, 434, 1930, 1199, 16, 5411, 315, 1210, 5010, 18, 6290, 30, 2163, 30, 17843, 2 ]
if ((_tokenSet_2.member(LA(1)))) {
if ((_tokenSet_1.member(LA(1)))) {
public final void mCONST(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = CONST; int _saveIndex; switch ( LA(1)) { case '"': { _saveIndex=text.length(); match('"'); text.setLength(_saveIndex); { _loop66: do { if ((_tokenSet_1.member(LA(1)))) { { match(_tokenSet_1); } } else { break _loop66; } } while (true); } _saveIndex=text.length(); match('"'); text.setLength(_saveIndex); break; } case '\'': { _saveIndex=text.length(); match('\''); text.setLength(_saveIndex); { _loop69: do { if ((_tokenSet_2.member(LA(1)))) { { match(_tokenSet_2); } } else { break _loop69; } } while (true); } _saveIndex=text.length(); match('\''); text.setLength(_saveIndex); break; } default: { throw new NoViableAltForCharException((char)LA(1), getFilename(), getLine(), getColumn()); } } if ( _createToken && _token==null && _ttype!=Token.SKIP ) { _token = makeToken(_ttype); _token.setText(new String(text.getBuffer(), _begin, text.length()-_begin)); } _returnToken = _token; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1c0cc42431436631d1b2e9ea8af63bb6dd883496/XPathLexer.java/buggy/src/org/exist/parser/XPathLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 26411, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 23399, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2119, 4278, 202, 202, 95, 1082, 202, 67, 5688, 1016, 33, 955, 18, 2469, 5621, 1082, 202, 1916, 2668, 5187, 1769, 1082, 202, 955, 18, 542, 1782, 24899, 5688, 1016, 1769, 1082, 202, 95, 1082, 202, 67, 6498, 6028, 30, 1082, 202, 2896, 288, 9506, 202, 430, 14015, 67, 2316, 694, 67, 21, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 6862, 202, 95, 6862, 202, 1916, 24899, 2316, 694, 67, 21, 1769, 6862, 202, 97, 9506, 202, 97, 9506, 202, 12107, 288, 6862, 202, 8820, 389, 6498, 6028, 31, 9506, 202, 97, 6862, 1082, 202, 97, 1323, 261, 3767, 1769, 1082, 202, 97, 1082, 202, 67, 5688, 1016, 33, 955, 18, 2469, 5621, 1082, 202, 1916, 2668, 5187, 1769, 1082, 202, 955, 18, 542, 1782, 24899, 5688, 1016, 1769, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 14118, 4278, 202, 202, 95, 1082, 202, 67, 5688, 1016, 33, 955, 18, 2469, 5621, 1082, 202, 1916, 2668, 3730, 8284, 1082, 202, 955, 18, 542, 1782, 24899, 5688, 1016, 1769, 1082, 202, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 312, 26411, 12, 6494, 389, 2640, 1345, 13, 1216, 9539, 16, 3703, 1228, 503, 16, 3155, 1228, 503, 288, 202, 202, 474, 389, 88, 723, 31, 3155, 389, 2316, 33, 2011, 31, 509, 389, 10086, 33, 955, 18, 2469, 5621, 202, 202, 67, 88, 723, 273, 23399, 31, 202, 202, 474, 389, 5688, 1016, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 2119, 4278, 202, 202, 95, 1082, 202, 67, 5688, 1016, 33, 955, 18, 2469, 5621, 1082, 202, 1916, 2668, 5187, 1769, 1082, 202, 955, 18, 542, 1782, 24899, 5688, 1016, 1769, 1082, 202, 95, 1082, 202, 67, 6498, 6028, 30, 1082, 202, 2896, 288, 9506, 202, 430, 2 ]
handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, wwwProxy);
handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy);
protected void clientConnectionRun(Socket s) { OutputStream out = null; String targetRequest = null; boolean usingWWWProxy = false; InactivityTimeoutThread timeoutThread = null; try { out = s.getOutputStream(); BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream(), "ISO-8859-1")); String line, method = null, protocol = null, host = null, destination = null; StringBuffer newRequest = new StringBuffer(); while ((line = br.readLine()) != null) { if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix() + "Line=[" + line + "]"); if (line.startsWith("Connection: ") || line.startsWith("Keep-Alive: ") || line.startsWith("Proxy-Connection: ")) continue; if (method == null) { // first line (GET /base64/realaddr) if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix() + "Method is null for [" + line + "]"); int pos = line.indexOf(" "); if (pos == -1) break; method = line.substring(0, pos); String request = line.substring(pos + 1); if (request.startsWith("/") && getTunnel().getClientOptions().getProperty("i2ptunnel.noproxy") != null) { request = "http://i2p" + request; } pos = request.indexOf("//"); if (pos == -1) { method = null; break; } protocol = request.substring(0, pos + 2); request = request.substring(pos + 2); targetRequest = request; pos = request.indexOf("/"); if (pos == -1) { method = null; break; } host = request.substring(0, pos); // Quick hack for foo.bar.i2p if (host.toLowerCase().endsWith(".i2p")) { destination = host; host = getHostName(destination); line = method + " " + request.substring(pos); } else if (host.indexOf(".") != -1) { // The request must be forwarded to a WWW proxy destination = wwwProxy; usingWWWProxy = true; if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix() + "Host doesnt end with .i2p and it contains a period [" + host + "]: wwwProxy!"); } else { request = request.substring(pos + 1); pos = request.indexOf("/"); destination = request.substring(0, pos); line = method + " " + request.substring(pos); } boolean isValid = usingWWWProxy || isSupportedAddress(host, protocol); if (!isValid) { if (_log.shouldLog(Log.INFO)) _log.info(getPrefix() + "notValid(" + host + ")"); method = null; destination = null; break; } else if (!usingWWWProxy) { if (_log.shouldLog(Log.INFO)) _log.info(getPrefix() + "host=getHostName(" + destination + ")"); host = getHostName(destination); // hide original host } if (_log.shouldLog(Log.DEBUG)) { _log.debug(getPrefix() + "METHOD:" + method + ":"); _log.debug(getPrefix() + "PROTOC:" + protocol + ":"); _log.debug(getPrefix() + "HOST :" + host + ":"); _log.debug(getPrefix() + "DEST :" + destination + ":"); } } else { if (line.startsWith("Host: ") && !usingWWWProxy) { line = "Host: " + host; if (_log.shouldLog(Log.INFO)) _log.info(getPrefix() + "Setting host = " + host); } } if (line.length() == 0) { newRequest.append("Connection: close\r\n\r\n"); break; } else { newRequest.append(line).append("\r\n"); // HTTP spec } } if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix() + "NewRequest header: [" + newRequest.toString() + "]"); while (br.ready()) { // empty the buffer (POST requests) int i = br.read(); if (i != -1) { newRequest.append((char) i); } } if (method == null || destination == null) { l.log("No HTTP method found in the request."); if (out != null) { out.write(ERR_REQUEST_DENIED); out.write("<p /><i>Generated on: ".getBytes()); out.write(new Date().toString().getBytes()); out.write("</i></body></html>\n".getBytes()); out.flush(); } s.close(); return; } if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix() + "Destination: " + destination); Destination dest = I2PTunnel.destFromName(destination); if (dest == null) { l.log("Could not resolve " + destination + "."); if (_log.shouldLog(Log.WARN)) _log.warn("Unable to resolve " + destination + " (proxy? " + usingWWWProxy + ", request: " + targetRequest); writeErrorMessage(ERR_DESTINATION_UNKNOWN, out, targetRequest, usingWWWProxy, destination); s.close(); return; } String remoteID; I2PSocket i2ps = createI2PSocket(dest); byte[] data = newRequest.toString().getBytes("ISO-8859-1"); I2PTunnelRunner runner = new I2PTunnelRunner(s, i2ps, sockLock, data); timeoutThread = new InactivityTimeoutThread(runner, out, targetRequest, usingWWWProxy, s); timeoutThread.start(); } catch (SocketException ex) { if (timeoutThread != null) timeoutThread.disable(); _log.info(getPrefix() + "Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, wwwProxy); closeSocket(s); } catch (IOException ex) { if (timeoutThread != null) timeoutThread.disable(); _log.info(getPrefix() + "Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, wwwProxy); closeSocket(s); } catch (I2PException ex) { if (timeoutThread != null) timeoutThread.disable(); _log.info("getPrefix() + Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, wwwProxy); closeSocket(s); } }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/cdb4576bd72401095510b903ee1e9e77bc207bec/I2PTunnelHTTPClient.java/clean/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1004, 1952, 1997, 12, 4534, 272, 13, 288, 3639, 8962, 596, 273, 446, 31, 3639, 514, 1018, 691, 273, 446, 31, 3639, 1250, 1450, 19989, 59, 3886, 273, 629, 31, 3639, 657, 9653, 2694, 3830, 2021, 3830, 273, 446, 31, 3639, 775, 288, 5411, 596, 273, 272, 18, 588, 4632, 5621, 5411, 10633, 5186, 273, 394, 10633, 12, 2704, 15322, 12, 87, 18, 588, 4348, 9334, 315, 12609, 17, 17258, 17, 21, 7923, 1769, 5411, 514, 980, 16, 707, 273, 446, 16, 1771, 273, 446, 16, 1479, 273, 446, 16, 2929, 273, 446, 31, 5411, 6674, 7428, 273, 394, 6674, 5621, 5411, 1323, 14015, 1369, 273, 5186, 18, 896, 1670, 10756, 480, 446, 13, 288, 7734, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 10792, 389, 1330, 18, 4148, 12, 588, 2244, 1435, 397, 315, 1670, 33, 9614, 397, 980, 397, 9870, 1769, 27573, 309, 261, 1369, 18, 17514, 1190, 2932, 1952, 30, 9369, 747, 5397, 980, 18, 17514, 1190, 2932, 11523, 17, 10608, 30, 9369, 747, 5397, 980, 18, 17514, 1190, 2932, 3886, 17, 1952, 30, 315, 3719, 10792, 1324, 31, 27573, 309, 261, 2039, 422, 446, 13, 288, 368, 1122, 980, 261, 3264, 342, 1969, 1105, 19, 7688, 4793, 13, 10792, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 13491, 389, 1330, 18, 4148, 12, 588, 2244, 1435, 397, 315, 1305, 353, 446, 364, 8247, 397, 980, 397, 9870, 1769, 4766, 3639, 509, 949, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1004, 1952, 1997, 12, 4534, 272, 13, 288, 3639, 8962, 596, 273, 446, 31, 3639, 514, 1018, 691, 273, 446, 31, 3639, 1250, 1450, 19989, 59, 3886, 273, 629, 31, 3639, 657, 9653, 2694, 3830, 2021, 3830, 273, 446, 31, 3639, 775, 288, 5411, 596, 273, 272, 18, 588, 4632, 5621, 5411, 10633, 5186, 273, 394, 10633, 12, 2704, 15322, 12, 87, 18, 588, 4348, 9334, 315, 12609, 17, 17258, 17, 21, 7923, 1769, 5411, 514, 980, 16, 707, 273, 446, 16, 1771, 273, 446, 16, 1479, 273, 446, 16, 2929, 273, 446, 31, 5411, 6674, 7428, 273, 394, 6674, 5621, 5411, 1323, 14015, 1369, 273, 5186, 18, 896, 1670, 10756, 480, 446, 13, 288, 7734, 2 ]
_interactionsPane.setCursor(null);
_interactionsPane.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
private void _compile() { final SwingWorker worker = new SwingWorker() { public Object construct() { try { _interactionsPane.setEditable(false); _interactionsPane.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); _model.getActiveDocument().startCompile(); _interactionsPane.setCursor(null); _interactionsPane.setEditable(true); } catch (IOException ioe) { _showIOError(ioe); } return null; } }; worker.start(); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e782d4da2d7bff038017015047af677bda357a17/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 11100, 1435, 288, 565, 727, 26145, 6671, 4322, 273, 394, 26145, 6671, 1435, 288, 1377, 1071, 1033, 4872, 1435, 288, 3639, 775, 288, 1850, 389, 2761, 4905, 8485, 18, 542, 15470, 12, 5743, 1769, 1850, 389, 2761, 4905, 8485, 18, 542, 6688, 12, 6688, 18, 588, 1386, 2178, 6688, 12, 6688, 18, 19046, 67, 7509, 55, 916, 10019, 1850, 389, 2284, 18, 588, 3896, 2519, 7675, 1937, 9937, 5621, 1850, 389, 2761, 4905, 8485, 18, 542, 6688, 12, 6688, 18, 588, 1386, 2178, 6688, 12, 6688, 18, 5151, 67, 7509, 55, 916, 10019, 1850, 389, 2761, 4905, 8485, 18, 542, 15470, 12, 3767, 1769, 3639, 289, 3639, 1044, 261, 14106, 10847, 13, 288, 1850, 389, 4500, 4294, 668, 12, 1594, 73, 1769, 3639, 289, 3639, 327, 446, 31, 1377, 289, 565, 289, 31, 565, 4322, 18, 1937, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 11100, 1435, 288, 565, 727, 26145, 6671, 4322, 273, 394, 26145, 6671, 1435, 288, 1377, 1071, 1033, 4872, 1435, 288, 3639, 775, 288, 1850, 389, 2761, 4905, 8485, 18, 542, 15470, 12, 5743, 1769, 1850, 389, 2761, 4905, 8485, 18, 542, 6688, 12, 6688, 18, 588, 1386, 2178, 6688, 12, 6688, 18, 19046, 67, 7509, 55, 916, 10019, 1850, 389, 2284, 18, 588, 3896, 2519, 7675, 1937, 9937, 5621, 1850, 389, 2761, 4905, 8485, 18, 542, 6688, 12, 6688, 18, 588, 1386, 2178, 6688, 12, 6688, 18, 5151, 67, 7509, 55, 916, 10019, 1850, 389, 2761, 4905, 8485, 18, 542, 15470, 12, 3767, 1769, 3639, 289, 3639, 1044, 261, 14106, 10847, 13, 288, 1850, 389, 2 ]
int ifIndex = dbIpIfEntry.getIfIndex();
private void updateSnmpInfo(Connection dbc, DbNodeEntry node, DbIpInterfaceEntry dbIpIfEntry, IfSnmpCollector snmpc) throws SQLException { Category log = ThreadCategory.getInstance(getClass()); InetAddress ifaddr = dbIpIfEntry.getIfAddress(); /* * If SNMP info is available update the snmpInterface table entry with * anything that has changed. */ int ifIndex = dbIpIfEntry.getIfIndex(); if (snmpc != null && !snmpc.failed() && ifIndex != -1) { if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: updating snmp interface for nodeId/ifIndex=" + +node.getNodeId() + "/" + ifIndex); } // Create and load SNMP Interface entry from the database boolean newSnmpIfTableEntry = false; DbSnmpInterfaceEntry dbSnmpIfEntry = DbSnmpInterfaceEntry.get(dbc, node.getNodeId(), ifIndex); if (dbSnmpIfEntry == null) { /* * SNMP Interface not found with this nodeId, create new * interface */ if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: SNMP interface index " + ifIndex + " not in database, creating new interface object."); } dbSnmpIfEntry = DbSnmpInterfaceEntry.create(node.getNodeId(), ifIndex); newSnmpIfTableEntry = true; } /* * Create SNMP interface entry representing latest information * retrieved for the interface via the collector */ DbSnmpInterfaceEntry currSnmpIfEntry = DbSnmpInterfaceEntry.create(node.getNodeId(), ifIndex); // Find the ifTable entry for this interface IfTable ift = snmpc.getIfTable(); Iterator ifiter = ift.getEntries().iterator(); IfTableEntry ifte = null; while (ifiter.hasNext()) { ifte = (IfTableEntry) ifiter.next(); // index Integer sint = ifte.getIfIndex(); if (sint != null) { if (ifIndex == sint.intValue()) { break; } else { ifte = null; } } } // Make sure we have a valid IfTableEntry object if (ifte == null && ifIndex == CapsdConfigFactory.LAME_SNMP_HOST_IFINDEX) { currSnmpIfEntry.setIfAddress(snmpc.getCollectorTargetAddress()); if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: interface " + snmpc.getCollectorTargetAddress().getHostAddress() + " appears to be a lame SNMP host. Setting ipaddr only."); } } else if (ifte != null) { /* * IP address and netmask * * WARNING: IfSnmpCollector.getIfAddressAndMask() ONLY returns * the FIRST IP address and mask for a given interface as * specified in the ipAddrTable. */ InetAddress[] aaddrs = snmpc.getIfAddressAndMask(ifIndex); // Address array should NEVER be null but just in case.. if (aaddrs == null) { log.warn("updateSnmpInfo: unable to retrieve address and netmask for nodeId/ifIndex: " + node.getNodeId() + "/" + ifIndex); aaddrs = new InetAddress[2]; // Set interface address to current interface aaddrs[0] = ifaddr; // Set netmask to NULL aaddrs[1] = null; } // IP address currSnmpIfEntry.setIfAddress(aaddrs[0]); // netmask if (aaddrs[1] != null) { if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: interface " + aaddrs[0].getHostAddress() + " has netmask: " + aaddrs[1].getHostAddress()); } currSnmpIfEntry.setNetmask(aaddrs[1]); } // type Integer sint = ifte.getIfType(); currSnmpIfEntry.setType(sint.intValue()); // description String str = ifte.getIfDescr(); if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: " + ifaddr + " has ifDescription: " + str); } if (str != null && str.length() > 0) { currSnmpIfEntry.setDescription(str); } String physAddr = ifte.getPhysAddr(); if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: " + ifaddr + " has phys address: -" + physAddr + "-"); } if (physAddr != null && physAddr.length() == 12) { currSnmpIfEntry.setPhysicalAddress(physAddr); } // speed Long uint = ifte.getIfSpeed(); //set the default speed to 10MB if not retrievable. currSnmpIfEntry.setSpeed((uint == null ? 10000000L : uint.longValue())); // admin status sint = ifte.getIfAdminStatus(); currSnmpIfEntry.setAdminStatus(sint.intValue()); // oper status sint = ifte.getIfOperStatus(); currSnmpIfEntry.setOperationalStatus(sint.intValue()); // name (from interface extensions table) String ifName = snmpc.getIfName(ifIndex); if (ifName != null && ifName.length() > 0) { currSnmpIfEntry.setName(ifName); } // alias (from interface extensions table) String ifAlias = snmpc.getIfAlias(ifIndex); if (ifAlias != null) { currSnmpIfEntry.setAlias(ifAlias); } else { currSnmpIfEntry.setAlias(""); } } // end if valid ifTable entry // Update any fields which have changed // dbSnmpIfEntry.updateIfIndex(currSnmpIfEntry.getIfIndex()); dbSnmpIfEntry.updateIfAddress(currSnmpIfEntry.getIfAddress()); dbSnmpIfEntry.updateNetmask(currSnmpIfEntry.getNetmask()); dbSnmpIfEntry.updatePhysicalAddress(currSnmpIfEntry.getPhysicalAddress()); dbSnmpIfEntry.updateDescription(currSnmpIfEntry.getDescription()); dbSnmpIfEntry.updateName(currSnmpIfEntry.getName()); dbSnmpIfEntry.updateType(currSnmpIfEntry.getType()); dbSnmpIfEntry.updateSpeed(currSnmpIfEntry.getSpeed()); dbSnmpIfEntry.updateAdminStatus(currSnmpIfEntry.getAdminStatus()); dbSnmpIfEntry.updateOperationalStatus(currSnmpIfEntry.getOperationalStatus()); dbSnmpIfEntry.updateAlias(currSnmpIfEntry.getAlias()); /* * If this is a new interface or if any of the following * key fields have changed set the m_snmpIfTableChangedFlag * variable to TRUE. This will potentially trigger an event * which will cause the poller to reinitialize the primary * SNMP interface for the node. */ // dbSnmpIfEntry.hasIfIndexChanged() || if (!m_snmpIfTableChangedFlag && newSnmpIfTableEntry || dbSnmpIfEntry.hasIfAddressChanged() || dbSnmpIfEntry.hasTypeChanged() || dbSnmpIfEntry.hasNameChanged() || dbSnmpIfEntry.hasDescriptionChanged() || dbSnmpIfEntry.hasPhysicalAddressChanged() || dbSnmpIfEntry.hasAliasChanged()) { m_snmpIfTableChangedFlag = true; } // Update the database dbSnmpIfEntry.store(dbc); // end if complete snmp info available } else if (snmpc != null && snmpc.hasIpAddrTable() && ifIndex != -1) { if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: updating snmp interface for nodeId/ifIndex/ipAddr=" + +node.getNodeId() + "/" + ifIndex + "/" + ifaddr + " based on ipAddrTable only - No ifTable available"); } // Create and load SNMP Interface entry from the database boolean newSnmpIfTableEntry = false; DbSnmpInterfaceEntry dbSnmpIfEntry = DbSnmpInterfaceEntry.get(dbc, node.getNodeId(), ifIndex); if (dbSnmpIfEntry == null) { /* * SNMP Interface not found with this nodeId, create new * interface */ if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: SNMP interface index " + ifIndex + " not in database, creating new interface object."); } dbSnmpIfEntry = DbSnmpInterfaceEntry.create(node.getNodeId(), ifIndex); newSnmpIfTableEntry = true; } /* * Create SNMP interface entry representing latest information * retrieved for the interface via the collector */ DbSnmpInterfaceEntry currSnmpIfEntry = DbSnmpInterfaceEntry.create(node.getNodeId(), ifIndex); // IP address currSnmpIfEntry.setIfAddress(ifaddr); // Update any fields which have changed dbSnmpIfEntry.updateIfAddress(currSnmpIfEntry.getIfAddress()); // Update the database dbSnmpIfEntry.store(dbc); // end if partial snmp info available } else if (snmpc != null) { // allow for lame snmp hosts with no ipAddrTable ifIndex = CapsdConfigFactory.LAME_SNMP_HOST_IFINDEX; if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: updating snmp interface for nodeId/ipAddr=" + +node.getNodeId() + "/" + ifaddr + " based on ip address only - No ipAddrTable available"); } // Create and load SNMP Interface entry from the database boolean newSnmpIfTableEntry = false; DbSnmpInterfaceEntry dbSnmpIfEntry = DbSnmpInterfaceEntry.get(dbc, node.getNodeId(), ifIndex); if (dbSnmpIfEntry == null) { /* * SNMP Interface not found with this nodeId, create new * interface */ if (log.isDebugEnabled()) { log.debug("updateSnmpInfo: SNMP interface index " + ifIndex + " not in database, creating new interface object."); } dbSnmpIfEntry = DbSnmpInterfaceEntry.create(node.getNodeId(), ifIndex); newSnmpIfTableEntry = true; } /* * Create SNMP interface entry representing latest information * retrieved for the interface via the collector */ DbSnmpInterfaceEntry currSnmpIfEntry = DbSnmpInterfaceEntry.create(node.getNodeId(), ifIndex); // IP address currSnmpIfEntry.setIfAddress(ifaddr); // Update any fields which have changed dbSnmpIfEntry.updateIfAddress(currSnmpIfEntry.getIfAddress()); // Update the database dbSnmpIfEntry.store(dbc); } }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/2d7d01a6c8884e6784a932ca6408a4304fe577cf/RescanProcessor.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/capsd/RescanProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 10461, 1291, 966, 12, 1952, 9881, 16, 8408, 907, 1622, 756, 16, 8408, 5273, 1358, 1622, 1319, 5273, 2047, 1622, 16, 971, 10461, 1291, 7134, 15366, 71, 13, 1216, 6483, 288, 3639, 9856, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 3639, 14218, 309, 4793, 273, 1319, 5273, 2047, 1622, 18, 588, 2047, 1887, 5621, 3639, 1748, 540, 380, 971, 14204, 4566, 1123, 353, 2319, 1089, 326, 15366, 1358, 1014, 1241, 598, 540, 380, 6967, 716, 711, 3550, 18, 540, 1195, 1082, 9079, 309, 261, 26527, 71, 480, 446, 597, 401, 26527, 71, 18, 7307, 1435, 597, 309, 1016, 480, 300, 21, 13, 288, 5411, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 7734, 613, 18, 4148, 2932, 2725, 10461, 1291, 966, 30, 9702, 15366, 1560, 364, 11507, 19, 430, 1016, 1546, 397, 397, 2159, 18, 588, 15883, 1435, 397, 4016, 397, 309, 1016, 1769, 5411, 289, 5411, 368, 1788, 471, 1262, 14204, 4566, 6682, 1241, 628, 326, 2063, 5411, 1250, 394, 10461, 1291, 2047, 1388, 1622, 273, 629, 31, 5411, 8408, 10461, 1291, 1358, 1622, 1319, 10461, 1291, 2047, 1622, 273, 8408, 10461, 1291, 1358, 1622, 18, 588, 12, 9137, 16, 756, 18, 588, 15883, 9334, 309, 1016, 1769, 5411, 309, 261, 1966, 10461, 1291, 2047, 1622, 422, 446, 13, 288, 7734, 1748, 1171, 380, 14204, 4566, 6682, 486, 1392, 598, 333, 11507, 16, 752, 394, 1171, 380, 1560, 1171, 1195, 7734, 309, 261, 1330, 18, 291, 2829, 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, 1089, 10461, 1291, 966, 12, 1952, 9881, 16, 8408, 907, 1622, 756, 16, 8408, 5273, 1358, 1622, 1319, 5273, 2047, 1622, 16, 971, 10461, 1291, 7134, 15366, 71, 13, 1216, 6483, 288, 3639, 9856, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 3639, 14218, 309, 4793, 273, 1319, 5273, 2047, 1622, 18, 588, 2047, 1887, 5621, 3639, 1748, 540, 380, 971, 14204, 4566, 1123, 353, 2319, 1089, 326, 15366, 1358, 1014, 1241, 598, 540, 380, 6967, 716, 711, 3550, 18, 540, 1195, 1082, 9079, 309, 261, 26527, 71, 480, 446, 597, 401, 26527, 71, 18, 7307, 1435, 597, 309, 1016, 480, 300, 21, 13, 288, 5411, 309, 261, 1330, 18, 291, 2829, 1526, 2 ]
log.debug( "No category accession value for '" + characteristic.getCategory() + "'" );
if ( log.isDebugEnabled() ) log.debug( "No category accession value for '" + characteristic.getCategory() + "'" );
private void specialFillInCharacteristicOntologyEntries( Characteristic characteristic, Element elm ) { assert mgedOntologyHelper != null; if ( characteristic == null ) { log.warn( "Null characteristic passed, ignoring" ); return; } if ( characteristic.getCategory() == null ) throw new IllegalArgumentException( "Category cannot be null" ); boolean isCategoryMo = false; boolean isValueMo = false; boolean hasCategoryAcc = false; boolean hasValueAcc = false; String categoryDb = elm.valueOf( "@CategoryDatabaseIdentifier" ); String categoryAcc = elm.valueOf( "@CategoryDatabaseAccession" ); String valueDb = elm.valueOf( "@ValueDatabaseIdentifier" ); String valueAcc = elm.valueOf( "@ValueDatabaseAccession" ); if ( categoryDb.length() > 0 ) { isCategoryMo = this.mgedOntologyAliases.contains( categoryDb ); if ( isCategoryMo ) { categoryDb = MGED_DATABASE_IDENTIFIER; } } else if ( mgedOntologyHelper.classExists( characteristic.getCategory() ) ) { isCategoryMo = true; categoryDb = MGED_DATABASE_IDENTIFIER; } else { log.debug( "No category database for '" + characteristic.getCategory() + "'" ); } if ( categoryAcc.length() > 0 ) { if ( isCategoryMo ) { categoryAcc = formMgedOntologyAccession( categoryAcc ); } } else if ( isCategoryMo ) { categoryAcc = formMgedOntologyAccession( characteristic.getCategory() ); } else { hasCategoryAcc = false; log.debug( "No category accession value for '" + characteristic.getCategory() + "'" ); } if ( characteristic.getValue().length() > 0 ) { if ( valueDb.length() > 0 ) { isValueMo = this.mgedOntologyAliases.contains( valueDb ); if ( isValueMo ) { valueDb = MGED_DATABASE_IDENTIFIER; } } else if ( isCategoryMo && mgedOntologyHelper.getInstanceNamesForClass( characteristic.getCategory() ) != null && mgedOntologyHelper.getInstanceNamesForClass( characteristic.getCategory() ).contains( characteristic.getValue() ) ) { isValueMo = true; valueDb = MGED_DATABASE_IDENTIFIER; } else if ( isCategoryMo ) { String instanceCategory = this.mgedOntologyHelper.getClassNameForInstance( characteristic.getValue() ); if ( instanceCategory != null ) { log.debug( "'" + characteristic.getValue() + "' is actually an instance of '" + instanceCategory + "', not '" + characteristic.getCategory() + "', but we just go with the flow." ); isValueMo = true; valueDb = MGED_DATABASE_IDENTIFIER; } else { log.debug( "No value database available for '" + characteristic.getValue() + "'" ); } } else { log.debug( "No value database available for '" + characteristic.getValue() + "'" ); } if ( valueAcc.length() > 0 ) { if ( isValueMo ) { valueAcc = formMgedOntologyAccession( valueAcc ); } } else if ( isValueMo ) { valueAcc = formMgedOntologyAccession( characteristic.getValue() ); } else { hasValueAcc = false; } } if ( hasCategoryAcc ) { ExternalDatabase categoryExternalDatabase = ExternalDatabase.Factory.newInstance(); categoryExternalDatabase.setName( categoryDb ); ubic.gemma.model.common.description.OntologyEntry categoryOntologyEntry = ubic.gemma.model.common.description.OntologyEntry.Factory .newInstance(); categoryOntologyEntry.setAccession( categoryAcc ); categoryOntologyEntry.setExternalDatabase( categoryExternalDatabase ); categoryOntologyEntry.setCategory( characteristic.getCategory() ); categoryOntologyEntry.setValue( characteristic.getCategory() ); characteristic.setCategoryTerm( categoryOntologyEntry ); } if ( hasValueAcc ) { ExternalDatabase valueExternalDatabase = ExternalDatabase.Factory.newInstance(); valueExternalDatabase.setName( valueDb ); ubic.gemma.model.common.description.OntologyEntry valueOntologyEntry = ubic.gemma.model.common.description.OntologyEntry.Factory .newInstance(); valueOntologyEntry.setAccession( valueAcc ); valueOntologyEntry.setExternalDatabase( valueExternalDatabase ); valueOntologyEntry.setCategory( characteristic.getValue() ); valueOntologyEntry.setValue( characteristic.getValue() ); characteristic.setValueTerm( valueOntologyEntry ); } log.debug( "Category: '" + characteristic.getCategory() + "' Value: '" + characteristic.getValue() + "' CatDb: '" + categoryDb + "' ValDb: '" + valueDb + "' CatAcc: '" + categoryAcc + "' ValAcc: " + valueAcc ); }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/3c425ed09e57d6c9d829aedb2fb6033a1097bae8/MageMLConverterHelper.java/buggy/gemma-core/src/main/java/ubic/gemma/loader/expression/mage/MageMLConverterHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4582, 8026, 382, 7069, 5846, 51, 19610, 5400, 12, 6577, 5846, 23158, 16, 3010, 12531, 262, 288, 3639, 1815, 312, 2423, 51, 19610, 2276, 480, 446, 31, 3639, 309, 261, 23158, 422, 446, 262, 288, 5411, 613, 18, 8935, 12, 315, 2041, 23158, 2275, 16, 14398, 6, 11272, 5411, 327, 31, 3639, 289, 3639, 309, 261, 23158, 18, 588, 4457, 1435, 422, 446, 262, 604, 394, 2754, 12, 315, 4457, 2780, 506, 446, 6, 11272, 3639, 1250, 353, 4457, 16727, 273, 629, 31, 3639, 1250, 21578, 16727, 273, 629, 31, 3639, 1250, 711, 4457, 8973, 273, 629, 31, 3639, 1250, 24932, 8973, 273, 629, 31, 3639, 514, 3150, 4331, 273, 12531, 18, 1132, 951, 12, 8787, 4457, 4254, 3004, 6, 11272, 3639, 514, 3150, 8973, 273, 12531, 18, 1132, 951, 12, 8787, 4457, 4254, 1862, 285, 6, 11272, 3639, 514, 460, 4331, 273, 12531, 18, 1132, 951, 12, 8787, 620, 4254, 3004, 6, 11272, 3639, 514, 460, 8973, 273, 12531, 18, 1132, 951, 12, 8787, 620, 4254, 1862, 285, 6, 11272, 3639, 309, 261, 3150, 4331, 18, 2469, 1435, 405, 374, 262, 288, 5411, 353, 4457, 16727, 273, 333, 18, 81, 2423, 51, 19610, 9667, 18, 12298, 12, 3150, 4331, 11272, 5411, 309, 261, 353, 4457, 16727, 262, 288, 7734, 3150, 4331, 273, 490, 31602, 67, 22366, 67, 16606, 31, 5411, 289, 3639, 289, 469, 309, 261, 312, 2423, 51, 19610, 2276, 18, 1106, 4002, 12, 23158, 18, 588, 4457, 1435, 262, 262, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4582, 8026, 382, 7069, 5846, 51, 19610, 5400, 12, 6577, 5846, 23158, 16, 3010, 12531, 262, 288, 3639, 1815, 312, 2423, 51, 19610, 2276, 480, 446, 31, 3639, 309, 261, 23158, 422, 446, 262, 288, 5411, 613, 18, 8935, 12, 315, 2041, 23158, 2275, 16, 14398, 6, 11272, 5411, 327, 31, 3639, 289, 3639, 309, 261, 23158, 18, 588, 4457, 1435, 422, 446, 262, 604, 394, 2754, 12, 315, 4457, 2780, 506, 446, 6, 11272, 3639, 1250, 353, 4457, 16727, 273, 629, 31, 3639, 1250, 21578, 16727, 273, 629, 31, 3639, 1250, 711, 4457, 8973, 273, 629, 31, 3639, 1250, 24932, 8973, 273, 629, 31, 3639, 514, 3150, 4331, 273, 12531, 18, 1132, 951, 12, 8787, 2 ]
return RubyString.newString(getRuntime(), str.substring(0, begin[0]));
return getRuntime().newString(str.substring(0, begin[0]));
public RubyString pre_match() { return RubyString.newString(getRuntime(), str.substring(0, begin[0])); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyMatchData.java/clean/src/org/jruby/RubyMatchData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 675, 67, 1916, 1435, 288, 3639, 327, 18814, 7675, 2704, 780, 12, 701, 18, 28023, 12, 20, 16, 2376, 63, 20, 5717, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 675, 67, 1916, 1435, 288, 3639, 327, 18814, 7675, 2704, 780, 12, 701, 18, 28023, 12, 20, 16, 2376, 63, 20, 5717, 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 ]
StringTokenizer strtok = new StringTokenizer((String) event.data, Const.CR); if (strtok.countTokens() == 1) { String entry = strtok.nextToken(); JobEntryCopy jge = chef.jobMeta.findJobEntry(entry, 0, true);
String xml = (String) event.data; try { DragAndDropContainer container = new DragAndDropContainer(xml); String entry = container.getData(); switch(container.getType()) { case DragAndDropContainer.TYPE_BASE_JOB_ENTRY: { JobEntryCopy jge = chef.newChefGraphEntry(entry, false); if (jge != null) { jge.setLocation(p.x, p.y); jge.setDrawn(); redraw(); } } break; case DragAndDropContainer.TYPE_JOB_ENTRY: { JobEntryCopy jge = chef.jobMeta.findJobEntry(entry, 0, true); if (jge != null) { if (jge.isStart() && jge.isDrawn()) { MessageBox mb = new MessageBox(shell, SWT.YES | SWT.ICON_ERROR); mb.setMessage(Messages.getString("ChefGraph.Dialog.OnlyUseStartOnce.Message")); mb.setText(Messages.getString("ChefGraph.Dialog.OnlyUseStartOnce.Title")); mb.open();
public void drop(DropTargetEvent event) { // no data to copy, indicate failure in event.detail if (event.data == null) { event.detail = DND.DROP_NONE; return; } Point p = getRealPosition(canvas, event.x, event.y); StringTokenizer strtok = new StringTokenizer((String) event.data, Const.CR); if (strtok.countTokens() == 1) { String entry = strtok.nextToken(); //System.out.println("new entry: "+entry); JobEntryCopy jge = chef.jobMeta.findJobEntry(entry, 0, true); if (jge != null) // Create duplicate of existing entry { log.logDebug(toString(), "DROP "+jge.toString()+", type="+ JobEntryCopy.getTypeDesc(jge.getType())+", start="+jge.isStart()+", drawn="+jge.isDrawn()); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ // There can be only 1 start! if (jge.isStart() && jge.isDrawn()) { MessageBox mb = new MessageBox(shell, SWT.YES | SWT.ICON_ERROR); mb.setMessage(Messages.getString("ChefGraph.Dialog.OnlyUseStartOnce.Message")); //$NON-NLS-1$ mb.setText(Messages.getString("ChefGraph.Dialog.OnlyUseStartOnce.Title")); //$NON-NLS-1$ mb.open(); return; } boolean jge_changed=false; // For undo : JobEntryCopy before = (JobEntryCopy)jge.clone_deep(); JobEntryCopy newjge = jge; if (jge.isDrawn()) { newjge = (JobEntryCopy)jge.clone(); if (newjge!=null) { // newjge.setEntry(jge.getEntry()); log.logDebug(toString(), "entry aft = "+((Object)jge.getEntry()).toString()); //$NON-NLS-1$ newjge.setNr(chef.jobMeta.findUnusedNr(newjge.getName())); chef.jobMeta.addJobEntry(newjge); chef.addUndoNew(new JobEntryCopy[] {newjge}, new int[] { chef.jobMeta.indexOfJobEntry(newjge)} ); } else { log.logDebug(toString(), "jge is not cloned!"); //$NON-NLS-1$ } } else { log.logDebug(toString(), jge.toString()+" is not drawn"); //$NON-NLS-1$ jge_changed=true; } newjge.setLocation(p.x, p.y); newjge.setDrawn(); if (jge_changed) { chef.addUndoChange(new JobEntryCopy[] { before }, new JobEntryCopy[] {newjge}, new int[] { chef.jobMeta.indexOfJobEntry(newjge)}); } redraw(); chef.refreshTree(); log.logBasic("DropTargetEvent", "DROP "+newjge.toString()+"!, type="+ JobEntryCopy.getTypeDesc(newjge.getType())); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ } else // Entry doesn't exist: create new one. { log.logDebug(toString(), "New entry of type ["+entry+"]"); //$NON-NLS-1$ //$NON-NLS-2$ jge = chef.newChefGraphEntry(entry, false); if (jge != null) { jge.setLocation(p.x, p.y); jge.setDrawn(); redraw(); } } } }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/b92c1d5544fa9ac7984ecbc06531b4393629fc89/ChefGraph.java/clean/kettle/src/be/ibridge/kettle/chef/ChefGraph.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 3640, 12, 7544, 2326, 1133, 871, 13, 1875, 202, 95, 9506, 202, 759, 1158, 501, 358, 1610, 16, 10768, 5166, 316, 871, 18, 8992, 4697, 202, 430, 261, 2575, 18, 892, 422, 446, 13, 9506, 202, 95, 6862, 202, 2575, 18, 8992, 273, 463, 2908, 18, 18768, 67, 9826, 31, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 2148, 293, 273, 12361, 2555, 12, 15424, 16, 871, 18, 92, 16, 871, 18, 93, 1769, 6862, 9506, 202, 780, 10524, 609, 17692, 273, 394, 16370, 12443, 780, 13, 871, 18, 892, 16, 9333, 18, 5093, 1769, 9506, 202, 430, 261, 701, 17692, 18, 1883, 5157, 1435, 422, 404, 13, 4697, 202, 95, 6862, 202, 780, 1241, 273, 609, 17692, 18, 4285, 1345, 5621, 6862, 202, 759, 3163, 18, 659, 18, 8222, 2932, 2704, 1241, 30, 13773, 4099, 1769, 6862, 25083, 202, 2278, 1622, 2951, 525, 908, 273, 462, 10241, 18, 4688, 2781, 18, 4720, 2278, 1622, 12, 4099, 16, 374, 16, 638, 1769, 6862, 202, 430, 261, 78, 908, 480, 446, 13, 225, 368, 1788, 6751, 434, 2062, 1241, 4405, 202, 95, 25083, 202, 1330, 18, 1330, 2829, 12, 10492, 9334, 315, 18768, 13773, 78, 908, 18, 10492, 1435, 15, 3113, 618, 1546, 15, 3956, 1622, 2951, 18, 588, 559, 4217, 12, 78, 908, 18, 588, 559, 10756, 15, 3113, 787, 1546, 15, 78, 908, 18, 291, 1685, 1435, 15, 3113, 19377, 1546, 15, 78, 908, 18, 291, 6493, 82, 10663, 4329, 3993, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 3640, 12, 7544, 2326, 1133, 871, 13, 1875, 202, 95, 9506, 202, 759, 1158, 501, 358, 1610, 16, 10768, 5166, 316, 871, 18, 8992, 4697, 202, 430, 261, 2575, 18, 892, 422, 446, 13, 9506, 202, 95, 6862, 202, 2575, 18, 8992, 273, 463, 2908, 18, 18768, 67, 9826, 31, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 2148, 293, 273, 12361, 2555, 12, 15424, 16, 871, 18, 92, 16, 871, 18, 93, 1769, 6862, 9506, 202, 780, 10524, 609, 17692, 273, 394, 16370, 12443, 780, 13, 871, 18, 892, 16, 9333, 18, 5093, 1769, 9506, 202, 430, 261, 701, 17692, 18, 1883, 5157, 1435, 422, 404, 13, 4697, 202, 95, 6862, 202, 780, 2 ]
state = percStatusMap.get(e.getValue());
state = (String) percStatusMap.get(e.getValue().toInt());
public PollStatus poll(MonitoredService svc, Map parameters, org.opennms.netmgt.config.poller.Package pkg) { NetworkInterface iface = svc.getNetInterface(); PollStatus status = PollStatus.unavailable(); InetAddress ipaddr = (InetAddress) iface.getAddress(); // Retrieve this interface's SNMP peer object // SnmpAgentConfig agentConfig = (SnmpAgentConfig) iface.getAttribute(SNMP_AGENTCONFIG_KEY); if (agentConfig == null) throw new RuntimeException("SnmpAgentConfig object not available for interface " + ipaddr); // Get configuration parameters // // set timeout and retries on SNMP peer object // agentConfig.setTimeout(ParameterMap.getKeyedInteger(parameters, "timeout", agentConfig.getTimeout())); agentConfig.setRetries(ParameterMap.getKeyedInteger(parameters, "retries", agentConfig.getRetries())); agentConfig.setPort(ParameterMap.getKeyedInteger(parameters, "port", agentConfig.getPort())); if (log().isDebugEnabled()) log().debug("poll: service= SNMP address= " + agentConfig); // Create a hash map of available statuses for both physical and // logical disks HashMap percStatusMap = new HashMap(); percStatusMap.put(1,"Other"); percStatusMap.put(2,"Unknown"); percStatusMap.put(3,"OK"); percStatusMap.put(4,"Non-Critical"); percStatusMap.put(5,"Critical"); percStatusMap.put(6,"Non-Recoverable"); // Create a variable to hold the state String state = null; // Establish SNMP session with interface // try { if (log().isDebugEnabled()) { log().debug("OmsaStorageMonitor.poll: SnmpAgentConfig address: " +agentConfig); } SnmpObjId snmpObjectId = new SnmpObjId(PHYSICAL_BASE_OID); // First walk the physical OID Tree and check the returned values Map<SnmpInstId, SnmpValue> results = SnmpUtils.getOidValues(agentConfig, "percPoller", snmpObjectId); if(results.size() == 0) { log().debug("SNMP poll failed: no results, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId); return status; } for (Map.Entry<SnmpInstId, SnmpValue> e : results.entrySet()) { state = percStatusMap.get(e.getValue()); log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId + " instance=" + e.getKey() + " value=" + state); /* Name arrayDiskRollUpStatus Object ID 1.3.6.1.4.1.674.10893.1.20.130.4.1.23 Description Severity of the array disk state. This is the combined status of the array disk and its components. Possible values: 1: Other 2: Unknown 3: OK 4: Non-critical 5: Critical 6: Non-recoverable */ // If disk is not "OK" based on the above generate an error if (meetsCriteria(e.getValue(), "=", "3")) { status = PollStatus.available(); state = percStatusMap.get(e.getValue()); log().debug("poll: SNMP physical poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId + " instance=" + e.getKey() + " value=" + state); } else { state = percStatusMap.get(e.getValue()); status = logDown(Level.DEBUG, "SNMP physical poll failed, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId + " instance=" + e.getKey() + " value=" + state); return status; } } // If we get here, that means all of the physical drives returned a value not equal to "5" // Now we need to check logical drives SnmpObjId snmpLogObjectId = new SnmpObjId(LOGICAL_BASE_OID); // Next walk the physical OID Tree and check the returned values Map<SnmpInstId, SnmpValue> lresults = SnmpUtils.getOidValues(agentConfig, "percPoller", snmpLogObjectId); if(lresults.size() == 0) { log().debug("SNMP poll failed: no logical results, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId); return status; } for (Map.Entry<SnmpInstId, SnmpValue> e : lresults.entrySet()) { state = percStatusMap.get(e.getValue()); log().debug("poll: SNMPwalk poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId + " instance=" + e.getKey() + " value=" + state); /* Name virtualDiskRollUpStatus Object ID 1.3.6.1.4.1.674.10893.1.20.140.1.1.19 Description Severity of the virtual disk state. This is the combined status of the virtual disk and its components. Possible values: 1: Other 2: Unknown 3: OK 4: Non-critical 5: Critical 6: Non-recoverable */ if (meetsCriteria(e.getValue(), "=", "3")) { status = PollStatus.available(); state = percStatusMap.get(e.getValue()); log().debug("poll: SNMP physical poll succeeded, addr=" + ipaddr.getHostAddress() + " oid=" + snmpObjectId + " instance=" + e.getKey() + " value=" + state); } else { state = percStatusMap.get(e.getValue()); status = logDown(Level.DEBUG, "SNMP logical disk poll failed, addr=" + ipaddr.getHostAddress() + " oid=" + snmpLogObjectId + " instance=" + e.getKey() + " value=" + state); return status; } } } catch (NumberFormatException e) { status = logDown(Level.ERROR, "Number operator used on a non-number " + e.getMessage()); } catch (IllegalArgumentException e) { status = logDown(Level.ERROR, "Invalid Snmp Criteria: " + e.getMessage()); } catch (Throwable t) { status = logDown(Level.WARN, "Unexpected exception during SNMP poll of interface " + ipaddr.getHostAddress(), t); } return status; }
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/55f858e2f3d251fab007b4d300dcc2deb55f804d/OmsaStorageMonitor.java/clean/opennms-services/src/main/java/org/opennms/netmgt/poller/monitors/OmsaStorageMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19160, 1482, 7672, 12, 11415, 20425, 1179, 7538, 16, 1635, 1472, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 1425, 18, 3915, 749, 18, 2261, 3475, 13, 288, 3639, 21109, 9751, 273, 7538, 18, 588, 7308, 1358, 5621, 3639, 19160, 1482, 1267, 273, 19160, 1482, 18, 318, 5699, 5621, 3639, 14218, 2359, 4793, 273, 261, 382, 278, 1887, 13, 9751, 18, 588, 1887, 5621, 3639, 368, 10708, 333, 1560, 1807, 14204, 4566, 4261, 733, 3639, 368, 3639, 18961, 1291, 3630, 809, 4040, 809, 273, 261, 10461, 1291, 3630, 809, 13, 9751, 18, 588, 1499, 12, 13653, 4566, 67, 15005, 7203, 67, 3297, 1769, 3639, 309, 261, 5629, 809, 422, 446, 13, 604, 394, 3235, 2932, 10461, 1291, 3630, 809, 733, 486, 2319, 364, 1560, 315, 397, 2359, 4793, 1769, 3639, 368, 968, 1664, 1472, 3639, 368, 3639, 368, 444, 2021, 471, 9453, 603, 14204, 4566, 4261, 733, 3639, 368, 3639, 4040, 809, 18, 542, 2694, 12, 1662, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 4538, 3113, 4040, 809, 18, 588, 2694, 1435, 10019, 3639, 4040, 809, 18, 542, 13656, 12, 1662, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 15215, 3113, 4040, 809, 18, 588, 13656, 1435, 10019, 3639, 4040, 809, 18, 542, 2617, 12, 1662, 863, 18, 588, 653, 329, 4522, 12, 3977, 16, 315, 655, 3113, 4040, 809, 18, 588, 2617, 1435, 10019, 3639, 309, 261, 1330, 7675, 291, 2829, 1526, 10756, 613, 7675, 4148, 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, 19160, 1482, 7672, 12, 11415, 20425, 1179, 7538, 16, 1635, 1472, 16, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 1425, 18, 3915, 749, 18, 2261, 3475, 13, 288, 3639, 21109, 9751, 273, 7538, 18, 588, 7308, 1358, 5621, 3639, 19160, 1482, 1267, 273, 19160, 1482, 18, 318, 5699, 5621, 3639, 14218, 2359, 4793, 273, 261, 382, 278, 1887, 13, 9751, 18, 588, 1887, 5621, 3639, 368, 10708, 333, 1560, 1807, 14204, 4566, 4261, 733, 3639, 368, 3639, 18961, 1291, 3630, 809, 4040, 809, 273, 261, 10461, 1291, 3630, 809, 13, 9751, 18, 588, 1499, 12, 13653, 4566, 67, 15005, 7203, 67, 3297, 1769, 3639, 309, 261, 5629, 809, 422, 446, 13, 604, 394, 3235, 2 ]
SeismogramImageOutputLocator out = SeismogramImageOutputLocator.createForLocalSeismogramTemplate(outputLocEl);
out = SeismogramImageOutputLocator.createForLocalSeismogramTemplate(outputLocEl);
public LocalSeismogramTemplateGenerator(Element el) throws Exception { Element waveformSeismogramConfig = TemplateFileLoader.getTemplate(el); Element outputLocEl = SodUtil.getElement(waveformSeismogramConfig, "outputLocation"); SeismogramImageOutputLocator out = SeismogramImageOutputLocator.createForLocalSeismogramTemplate(outputLocEl); waveformSeismogramConfig.removeChild(outputLocEl); seismoImageProcess = new SeismogramImageProcess(out); Element fileEl = SodUtil.getElement(waveformSeismogramConfig, "filename"); if(fileEl != null) { fileName = fileEl.getFirstChild().getNodeValue(); waveformSeismogramConfig.removeChild(fileEl); } if(waveformSeismogramConfig == null) { throw new IllegalArgumentException("The configuration requires a template"); } if(fileName != null) { template = new LocalSeismogramTemplate(waveformSeismogramConfig, fileDir + "/"); } }
45996 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45996/02378d132be12ba5fd5782fe15a14c73d9c835d4/LocalSeismogramTemplateGenerator.java/clean/src/edu/sc/seis/sod/process/waveform/LocalSeismogramTemplateGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3566, 1761, 6228, 5553, 2283, 3908, 12, 1046, 415, 13, 1216, 1185, 288, 3639, 3010, 31511, 1761, 6228, 5553, 809, 273, 5035, 22283, 18, 588, 2283, 12, 292, 1769, 3639, 3010, 876, 1333, 4958, 273, 348, 369, 1304, 18, 21336, 12, 17838, 687, 1761, 6228, 5553, 809, 16, 4766, 1171, 315, 2844, 2735, 8863, 3639, 596, 273, 3265, 6228, 5553, 2040, 1447, 5786, 18, 2640, 1290, 2042, 1761, 6228, 5553, 2283, 12, 2844, 1333, 4958, 1769, 3639, 31511, 1761, 6228, 5553, 809, 18, 4479, 1763, 12, 2844, 1333, 4958, 1769, 3639, 695, 6228, 83, 2040, 2227, 273, 394, 3265, 6228, 5553, 2040, 2227, 12, 659, 1769, 3639, 3010, 585, 4958, 273, 348, 369, 1304, 18, 21336, 12, 17838, 687, 1761, 6228, 5553, 809, 16, 4766, 5411, 315, 3459, 8863, 3639, 309, 12, 768, 4958, 480, 446, 13, 288, 5411, 3968, 273, 585, 4958, 18, 588, 3759, 1763, 7675, 588, 907, 620, 5621, 5411, 31511, 1761, 6228, 5553, 809, 18, 4479, 1763, 12, 768, 4958, 1769, 3639, 289, 3639, 309, 12, 17838, 687, 1761, 6228, 5553, 809, 422, 446, 13, 288, 604, 394, 2754, 2932, 1986, 1664, 4991, 279, 1542, 8863, 289, 3639, 309, 12, 17812, 480, 446, 13, 288, 5411, 1542, 273, 394, 3566, 1761, 6228, 5553, 2283, 12, 17838, 687, 1761, 6228, 5553, 809, 16, 4766, 10402, 585, 1621, 397, 4016, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3566, 1761, 6228, 5553, 2283, 3908, 12, 1046, 415, 13, 1216, 1185, 288, 3639, 3010, 31511, 1761, 6228, 5553, 809, 273, 5035, 22283, 18, 588, 2283, 12, 292, 1769, 3639, 3010, 876, 1333, 4958, 273, 348, 369, 1304, 18, 21336, 12, 17838, 687, 1761, 6228, 5553, 809, 16, 4766, 1171, 315, 2844, 2735, 8863, 3639, 596, 273, 3265, 6228, 5553, 2040, 1447, 5786, 18, 2640, 1290, 2042, 1761, 6228, 5553, 2283, 12, 2844, 1333, 4958, 1769, 3639, 31511, 1761, 6228, 5553, 809, 18, 4479, 1763, 12, 2844, 1333, 4958, 1769, 3639, 695, 6228, 83, 2040, 2227, 273, 394, 3265, 6228, 5553, 2040, 2227, 12, 659, 1769, 3639, 3010, 585, 4958, 273, 348, 369, 1304, 18, 21336, 12, 2 ]
return getRuntime().newFixnum(toString().hashCode());
return getRuntime().newFixnum(hashCode());
public RubyFixnum hash() { return getRuntime().newFixnum(toString().hashCode()); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/accd69543aeec606dd2490c5f67964fb52c543a5/RubyString.java/clean/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 8585, 2107, 1651, 1435, 288, 3639, 327, 18814, 7675, 2704, 8585, 2107, 12, 2816, 1085, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 8585, 2107, 1651, 1435, 288, 3639, 327, 18814, 7675, 2704, 8585, 2107, 12, 2816, 1085, 10663, 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 ]
ResourceBundle.getBundle( Messages.ENGINE ) );
ResourceBundle.getBundle( Messages.ENGINE, Locale.getDefault( ) ) );
public PrimitiveRenderEvent copy( ) throws ChartException { throw new ChartException( ChartEnginePlugin.ID, ChartException.UNSUPPORTED_FEATURE, "exception.unsupported.copy", //$NON-NLS-1$ new Object[]{ this }, ResourceBundle.getBundle( Messages.ENGINE ) ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/2d20506054849c42d48678ae5d0e59f9c37d95e8/PrimitiveRenderEvent.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/event/PrimitiveRenderEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14488, 3420, 1133, 1610, 12, 262, 1216, 14804, 503, 202, 95, 202, 202, 12849, 394, 14804, 503, 12, 14804, 4410, 3773, 18, 734, 16, 9506, 202, 7984, 503, 18, 2124, 21134, 67, 18257, 16, 9506, 202, 6, 4064, 18, 24666, 18, 3530, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 4697, 202, 2704, 1033, 63, 7073, 6862, 202, 2211, 9506, 202, 5779, 9506, 202, 18731, 18, 588, 3405, 12, 4838, 18, 28980, 262, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14488, 3420, 1133, 1610, 12, 262, 1216, 14804, 503, 202, 95, 202, 202, 12849, 394, 14804, 503, 12, 14804, 4410, 3773, 18, 734, 16, 9506, 202, 7984, 503, 18, 2124, 21134, 67, 18257, 16, 9506, 202, 6, 4064, 18, 24666, 18, 3530, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 4697, 202, 2704, 1033, 63, 7073, 6862, 202, 2211, 9506, 202, 5779, 9506, 202, 18731, 18, 588, 3405, 12, 4838, 18, 28980, 262, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (first != null) { openBodyEnd= CharArrayOps.indexOf('{', fDocument, fNameRange[1] + 1); if (openBodyEnd < 0 || openBodyEnd >= first.getStartPosition()) { openBodyEnd= first.getStartPosition() - 1;
scanner.resetTo(openBodyEnd, fDocument.length); try { int currentToken = scanner.getNextToken(); while(currentToken != TerminalSymbols.TokenNameRBRACE && currentToken != TerminalSymbols.TokenNameEOF) { currentToken = scanner.getNextToken(); } if(currentToken == TerminalSymbols.TokenNameRBRACE) { closeBodyStart = scanner.startPosition; closeBodyEnd = scanner.currentPosition - 1;
void normalize(ILineStartFinder finder) { // perform final changes to the open and close body ranges int openBodyEnd, closeBodyStart; DOMNode first = (DOMNode) getFirstChild(); closeBodyStart = fCloseBodyRange[1]; if (isDetailed()) { if (first == null) { openBodyEnd = fCloseBodyRange[0] - 1; } else { openBodyEnd = first.getStartPosition(); int lineStart = finder.getLineStart(openBodyEnd); openBodyEnd--; if (lineStart > fOpenBodyRange[0]) openBodyEnd = lineStart - 1; } } else { if (first != null) { // look for the open body openBodyEnd= CharArrayOps.indexOf('{', fDocument, fNameRange[1] + 1); if (openBodyEnd < 0 || openBodyEnd >= first.getStartPosition()) { openBodyEnd= first.getStartPosition() - 1; } else { int lineStart = finder.getLineStart(first.getStartPosition()); if (lineStart > openBodyEnd) { openBodyEnd = lineStart - 1; } else { openBodyEnd = first.getStartPosition() - 1; } } if (fDocument[closeBodyStart] != '}') { // look for the body end Scanner scanner = new Scanner(); scanner.setSourceBuffer(CharArrayOps.subarray(fDocument, fLastChild.getEndPosition() + 1, closeBodyStart - fLastChild.getEndPosition() + 1)); try { int currentToken = scanner.getNextToken(); while(currentToken != TerminalSymbols.TokenNameRBRACE && currentToken != TerminalSymbols.TokenNameEOF) { currentToken = scanner.getNextToken(); } if(currentToken == TerminalSymbols.TokenNameRBRACE) { closeBodyStart = fLastChild.getEndPosition() + scanner.currentPosition; } } catch(InvalidInputException e) { // leave closeBodyStart as is } } } else { openBodyEnd = fCloseBodyRange[0] - 1; } } setOpenBodyRangeEnd(openBodyEnd); setCloseBodyRangeStart(closeBodyStart); fInsertionPosition = finder.getLineStart(closeBodyStart); if (fInsertionPosition < openBodyEnd) { fInsertionPosition = getCloseBodyPosition(); } super.normalize(finder);}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/45f363221504243f87ba612b5fa2787cfaa05c75/DOMType.java/clean/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/jdom/DOMType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 3883, 12, 45, 1670, 1685, 8441, 7532, 13, 288, 202, 759, 3073, 727, 3478, 358, 326, 1696, 471, 1746, 1417, 7322, 202, 474, 1696, 2250, 1638, 16, 1746, 2250, 1685, 31, 202, 8168, 907, 1122, 273, 261, 8168, 907, 13, 17315, 5621, 202, 4412, 2250, 1685, 273, 284, 4605, 2250, 2655, 63, 21, 15533, 202, 430, 261, 291, 40, 6372, 10756, 288, 202, 202, 430, 261, 3645, 422, 446, 13, 288, 1082, 202, 3190, 2250, 1638, 273, 284, 4605, 2250, 2655, 63, 20, 65, 300, 404, 31, 202, 202, 97, 469, 288, 1082, 202, 3190, 2250, 1638, 273, 1122, 18, 588, 23785, 5621, 1082, 202, 474, 29208, 273, 7532, 18, 588, 1670, 1685, 12, 3190, 2250, 1638, 1769, 1082, 202, 3190, 2250, 1638, 413, 31, 1082, 202, 430, 261, 1369, 1685, 405, 284, 3678, 2250, 2655, 63, 20, 5717, 9506, 202, 3190, 2250, 1638, 273, 29208, 300, 404, 31, 202, 202, 97, 202, 97, 469, 288, 202, 202, 430, 261, 3645, 480, 446, 13, 288, 1082, 202, 759, 2324, 364, 326, 1696, 1417, 1082, 202, 3190, 2250, 1638, 33, 3703, 1076, 8132, 18, 31806, 2668, 95, 2187, 284, 2519, 16, 284, 461, 2655, 63, 21, 65, 397, 404, 1769, 1082, 202, 430, 261, 3190, 2250, 1638, 411, 374, 747, 1696, 2250, 1638, 1545, 1122, 18, 588, 23785, 10756, 288, 9506, 202, 3190, 2250, 1638, 33, 1122, 18, 588, 23785, 1435, 300, 404, 31, 1082, 202, 97, 469, 288, 9506, 202, 474, 29208, 273, 7532, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 3883, 12, 45, 1670, 1685, 8441, 7532, 13, 288, 202, 759, 3073, 727, 3478, 358, 326, 1696, 471, 1746, 1417, 7322, 202, 474, 1696, 2250, 1638, 16, 1746, 2250, 1685, 31, 202, 8168, 907, 1122, 273, 261, 8168, 907, 13, 17315, 5621, 202, 4412, 2250, 1685, 273, 284, 4605, 2250, 2655, 63, 21, 15533, 202, 430, 261, 291, 40, 6372, 10756, 288, 202, 202, 430, 261, 3645, 422, 446, 13, 288, 1082, 202, 3190, 2250, 1638, 273, 284, 4605, 2250, 2655, 63, 20, 65, 300, 404, 31, 202, 202, 97, 469, 288, 1082, 202, 3190, 2250, 1638, 273, 1122, 18, 588, 23785, 5621, 1082, 202, 474, 29208, 273, 7532, 18, 588, 1670, 1685, 12, 3190, 2250, 1638, 1769, 2 ]
ArrayList queryResult = sqlProcessor.executeQuery( sql, paramValues, new ResultProcessor() {
ArrayList queryResult = noTransactionSqlProcessor.executeQuery( sql, paramValues, new ResultProcessor() {
getUserPermissionSetForDocument( int meta_id, int user_id ) { // Check if user is superadmin if( sproc_CheckAdminRights( user_id ) ) { JoinedTables_permissions result = new JoinedTables_permissions(); result.set_id = 0; result.permission_id = 0; return result; } String sql = "SELECT rr.set_id,dps.permission_id " + "FROM user_roles_crossref urc " + "JOIN roles_rights rr " + "ON urc.role_id = rr.role_id " + "AND urc.user_id = ? " + "AND rr.meta_id = ? " + "LEFT JOIN doc_permission_sets dps " + "ON dps.meta_id = ? " + "AND dps.set_id = rr.set_id " + "ORDER BY rr.set_id"; Integer metaId = new Integer(meta_id); Object[] paramValues = new Object[]{ new Integer(user_id) , metaId, metaId }; ArrayList queryResult = sqlProcessor.executeQuery( sql, paramValues, new ResultProcessor() { public Object mapOneRow( ResultSet rs ) throws SQLException { return new JoinedTables_permissions(rs); } } ); if( queryResult.isEmpty() ) { return null; } else { return (JoinedTables_permissions)queryResult.get(0); } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/1006917dfe63a5d85d047011540205a2b02407a8/DatabaseService.java/clean/server/src/imcode/server/db/DatabaseService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4735, 5041, 694, 1290, 2519, 12, 509, 2191, 67, 350, 16, 509, 729, 67, 350, 262, 288, 3639, 368, 2073, 309, 729, 353, 2240, 3666, 3639, 309, 12, 272, 9381, 67, 1564, 4446, 18464, 12, 729, 67, 350, 262, 262, 288, 5411, 4214, 329, 6905, 67, 9612, 563, 273, 394, 4214, 329, 6905, 67, 9612, 5621, 5411, 563, 18, 542, 67, 350, 273, 374, 31, 5411, 563, 18, 9827, 67, 350, 273, 374, 31, 5411, 327, 563, 31, 3639, 289, 3639, 514, 1847, 273, 315, 4803, 8354, 18, 542, 67, 350, 16, 72, 1121, 18, 9827, 67, 350, 315, 397, 5411, 315, 11249, 729, 67, 7774, 67, 14653, 1734, 8896, 71, 315, 397, 5411, 315, 18800, 4900, 67, 23700, 8354, 315, 397, 7734, 315, 673, 8896, 71, 18, 4615, 67, 350, 273, 8354, 18, 4615, 67, 350, 315, 397, 7734, 315, 4307, 8896, 71, 18, 1355, 67, 350, 273, 692, 315, 397, 7734, 315, 4307, 8354, 18, 3901, 67, 350, 273, 692, 315, 397, 5411, 315, 10066, 7645, 997, 67, 9827, 67, 4424, 302, 1121, 315, 397, 7734, 315, 673, 302, 1121, 18, 3901, 67, 350, 273, 692, 315, 397, 7734, 315, 4307, 302, 1121, 18, 542, 67, 350, 273, 8354, 18, 542, 67, 350, 315, 397, 5411, 315, 7954, 6953, 8354, 18, 542, 67, 350, 14432, 3639, 2144, 2191, 548, 273, 394, 2144, 12, 3901, 67, 350, 1769, 3639, 1033, 8526, 579, 1972, 273, 394, 1033, 63, 7073, 394, 2144, 12, 1355, 67, 350, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4735, 5041, 694, 1290, 2519, 12, 509, 2191, 67, 350, 16, 509, 729, 67, 350, 262, 288, 3639, 368, 2073, 309, 729, 353, 2240, 3666, 3639, 309, 12, 272, 9381, 67, 1564, 4446, 18464, 12, 729, 67, 350, 262, 262, 288, 5411, 4214, 329, 6905, 67, 9612, 563, 273, 394, 4214, 329, 6905, 67, 9612, 5621, 5411, 563, 18, 542, 67, 350, 273, 374, 31, 5411, 563, 18, 9827, 67, 350, 273, 374, 31, 5411, 327, 563, 31, 3639, 289, 3639, 514, 1847, 273, 315, 4803, 8354, 18, 542, 67, 350, 16, 72, 1121, 18, 9827, 67, 350, 315, 397, 5411, 315, 11249, 729, 67, 7774, 67, 14653, 1734, 8896, 71, 315, 397, 5411, 315, 18800, 4900, 67, 2 ]
if (collectors.length == 0) clearSingleton();
if (collectors.length == 0) { clearSingleton(); }
void removeCollector(IProgressUpdateCollector provider) { HashSet newCollectors = new HashSet(); for (int i = 0; i < collectors.length; i++) { if (!collectors[i].equals(provider)) newCollectors.add(collectors[i]); } IProgressUpdateCollector[] newArray = new IProgressUpdateCollector[newCollectors .size()]; newCollectors.toArray(newArray); collectors = newArray; //Remove ourselves if there is nothing to update if (collectors.length == 0) clearSingleton(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ProgressViewUpdater.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressViewUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1206, 7134, 12, 45, 5491, 1891, 7134, 2893, 13, 288, 3639, 6847, 394, 10808, 1383, 273, 394, 6847, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3274, 1383, 18, 2469, 31, 277, 27245, 288, 5411, 309, 16051, 14676, 1383, 63, 77, 8009, 14963, 12, 6778, 3719, 7734, 394, 10808, 1383, 18, 1289, 12, 14676, 1383, 63, 77, 19226, 3639, 289, 3639, 467, 5491, 1891, 7134, 8526, 11653, 273, 394, 467, 5491, 1891, 7134, 63, 2704, 10808, 1383, 7734, 263, 1467, 1435, 15533, 3639, 394, 10808, 1383, 18, 31447, 12, 2704, 1076, 1769, 3639, 3274, 1383, 273, 11653, 31, 3639, 368, 3288, 19801, 309, 1915, 353, 5083, 358, 1089, 3639, 309, 261, 14676, 1383, 18, 2469, 422, 374, 13, 5411, 2424, 19571, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1206, 7134, 12, 45, 5491, 1891, 7134, 2893, 13, 288, 3639, 6847, 394, 10808, 1383, 273, 394, 6847, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3274, 1383, 18, 2469, 31, 277, 27245, 288, 5411, 309, 16051, 14676, 1383, 63, 77, 8009, 14963, 12, 6778, 3719, 7734, 394, 10808, 1383, 18, 1289, 12, 14676, 1383, 63, 77, 19226, 3639, 289, 3639, 467, 5491, 1891, 7134, 8526, 11653, 273, 394, 467, 5491, 1891, 7134, 63, 2704, 10808, 1383, 7734, 263, 1467, 1435, 15533, 3639, 394, 10808, 1383, 18, 31447, 12, 2704, 1076, 1769, 3639, 3274, 1383, 273, 11653, 31, 3639, 368, 3288, 19801, 309, 1915, 353, 5083, 358, 1089, 3639, 309, 261, 14676, 1383, 18, 2 ]
if (update) { this.content = lines; this.baseDir = targetDir; updateFile(); save(); } else { File targetFile = new File( targetDir + File.separatorChar + this.fileName ); FileUtil.writeTextFile(targetFile, lines); }
saveToDir( targetDir, this.content, false );
public void saveToDir(String targetDir, String[] lines, boolean update) throws IOException { if (update) { this.content = lines; this.baseDir = targetDir; updateFile(); save(); } else { File targetFile = new File( targetDir + File.separatorChar + this.fileName ); FileUtil.writeTextFile(targetFile, lines); } }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/3b8c8b6c4d94de23963f563b591ccfed1277b62e/TextFile.java/buggy/build/source/src/de/enough/polish/util/TextFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1923, 774, 1621, 12, 780, 19410, 16, 514, 8526, 2362, 16, 1250, 1089, 13, 225, 202, 15069, 1860, 225, 202, 95, 202, 202, 430, 261, 2725, 13, 288, 1082, 202, 2211, 18, 1745, 273, 2362, 31, 1082, 202, 2211, 18, 1969, 1621, 273, 19410, 31, 1082, 202, 2725, 812, 5621, 1082, 202, 5688, 5621, 202, 202, 97, 469, 288, 1082, 202, 812, 21254, 273, 394, 1387, 12, 19410, 397, 1387, 18, 11287, 2156, 397, 333, 18, 17812, 11272, 1082, 202, 812, 1304, 18, 2626, 1528, 812, 12, 3299, 812, 16, 2362, 1769, 202, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1923, 774, 1621, 12, 780, 19410, 16, 514, 8526, 2362, 16, 1250, 1089, 13, 225, 202, 15069, 1860, 225, 202, 95, 202, 202, 430, 261, 2725, 13, 288, 1082, 202, 2211, 18, 1745, 273, 2362, 31, 1082, 202, 2211, 18, 1969, 1621, 273, 19410, 31, 1082, 202, 2725, 812, 5621, 1082, 202, 5688, 5621, 202, 202, 97, 469, 288, 1082, 202, 812, 21254, 273, 394, 1387, 12, 19410, 397, 1387, 18, 11287, 2156, 397, 333, 18, 17812, 11272, 1082, 202, 812, 1304, 18, 2626, 1528, 812, 12, 3299, 812, 16, 2362, 1769, 202, 202, 97, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Object[] listeners = selectionChangedListeners.getListeners(); for (int i = 0; i < listeners.length; i++) { final ISelectionChangedListener l = (ISelectionChangedListener) listeners[i]; SafeRunnable.run(new SafeRunnable() { public void run() { l.selectionChanged(event); } }); }
Object[] listeners = selectionChangedListeners.getListeners(); for (int i = 0; i < listeners.length; i++) { final ISelectionChangedListener l = (ISelectionChangedListener) listeners[i]; SafeRunnable.run(new SafeRunnable() { public void run() { l.selectionChanged(event); } }); }
protected void fireSelectionChanged(final SelectionChangedEvent event) { Object[] listeners = selectionChangedListeners.getListeners(); for (int i = 0; i < listeners.length; i++) { final ISelectionChangedListener l = (ISelectionChangedListener) listeners[i]; SafeRunnable.run(new SafeRunnable() { public void run() { l.selectionChanged(event); } }); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/5863a0e5bb8b4443a2fdcf6102d50aae66ef1287/AbstractBugEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/editor/AbstractBugEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4452, 6233, 5033, 12, 6385, 12977, 27553, 871, 13, 288, 3639, 1033, 8526, 4679, 273, 4421, 5033, 5583, 18, 588, 5583, 5621, 202, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4679, 18, 2469, 31, 277, 27245, 288, 202, 3639, 727, 467, 6233, 5033, 2223, 328, 273, 261, 45, 6233, 5033, 2223, 13, 4679, 63, 77, 15533, 202, 3639, 14060, 20013, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 202, 5411, 1071, 918, 1086, 1435, 288, 202, 7734, 328, 18, 10705, 5033, 12, 2575, 1769, 202, 5411, 289, 202, 3639, 15549, 202, 565, 289, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4452, 6233, 5033, 12, 6385, 12977, 27553, 871, 13, 288, 3639, 1033, 8526, 4679, 273, 4421, 5033, 5583, 18, 588, 5583, 5621, 202, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4679, 18, 2469, 31, 277, 27245, 288, 202, 3639, 727, 467, 6233, 5033, 2223, 328, 273, 261, 45, 6233, 5033, 2223, 13, 4679, 63, 77, 15533, 202, 3639, 14060, 20013, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 202, 5411, 1071, 918, 1086, 1435, 288, 202, 7734, 328, 18, 10705, 5033, 12, 2575, 1769, 202, 5411, 289, 202, 3639, 15549, 202, 565, 289, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (autoBuild) { removeManualIncrementalBuildAction(); } else { addManualIncrementalBuildAction(); }
updateBuildActions(autoBuild);
public void run() { if (autoBuild) { removeManualIncrementalBuildAction(); } else { addManualIncrementalBuildAction(); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/a28eb1ef10e772648cd789827e54d2e08b8df441/WorkbenchActionBuilder.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 15106, 202, 482, 918, 1086, 1435, 288, 6862, 9506, 202, 430, 261, 6079, 3116, 13, 288, 6862, 6862, 202, 4479, 25139, 10798, 287, 3116, 1803, 5621, 6862, 9506, 202, 97, 6862, 9506, 202, 12107, 288, 6862, 6862, 202, 1289, 25139, 10798, 287, 3116, 1803, 5621, 6862, 9506, 202, 97, 6862, 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, 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287, 3116, 1803, 5621, 6862, 9506, 202, 97, 6862, 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 ]
if (rowIndex < 0) throw new SQLException("No current row in the result set"); else if (rowIndex >= rowCount) throw new SQLException("no more results in ResultSet");
if( rowIndex < 0 ) throw new SQLException("No current row in the ResultSet"); else if( rowIndex >= rowCount ) throw new SQLException("No more results in ResultSet");
public PacketRowResult currentRow() throws SQLException { if (rowIndex < 0) throw new SQLException("No current row in the result set"); else if (rowIndex >= rowCount) throw new SQLException("no more results in ResultSet"); return rowCache[rowIndex]; }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/b37dd297238df8f121a81692dcec67885161e550/TdsResultSet.java/clean/trunk/jtds/src.old/main/com/internetcds/jdbc/tds/TdsResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11114, 1999, 1253, 31185, 1435, 1216, 6483, 565, 288, 1377, 309, 261, 492, 1016, 411, 374, 13, 3639, 604, 394, 6483, 2932, 2279, 783, 1027, 316, 326, 563, 444, 8863, 1377, 469, 3639, 309, 261, 492, 1016, 1545, 14888, 13, 1850, 604, 394, 6483, 2932, 2135, 1898, 1686, 316, 10842, 8863, 3639, 327, 1027, 1649, 63, 492, 1016, 15533, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11114, 1999, 1253, 31185, 1435, 1216, 6483, 565, 288, 1377, 309, 261, 492, 1016, 411, 374, 13, 3639, 604, 394, 6483, 2932, 2279, 783, 1027, 316, 326, 563, 444, 8863, 1377, 469, 3639, 309, 261, 492, 1016, 1545, 14888, 13, 1850, 604, 394, 6483, 2932, 2135, 1898, 1686, 316, 10842, 8863, 3639, 327, 1027, 1649, 63, 492, 1016, 15533, 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 ]
for(int i=0; i<max; i++) { xmlDataBlock.setData("navText", navText[i]); xmlDataBlock.setData("count", new Integer(i+1).toString()); xmlDataBlock.setData("level", new Integer(extractLevel(cms,navLink[i])).toString()); if (navLink[i].endsWith("/")) { String navIndex=cms.readProperty(navLink[i],C_PROPERTY_NAVINDEX); if (navIndex==null) { navIndex=C_NAVINDEX; } try { cms.readFile(navLink[i] + navIndex); xmlDataBlock.setData("navLink", servletPath + navLink[i] + navIndex ); } catch (CmsException e) { xmlDataBlock.setData("navLink", servletPath + requestedUri ); } } else { try { cms.readFile(navLink[i]); xmlDataBlock.setData("navLink", servletPath + navLink[i] ); } catch (CmsException e) { xmlDataBlock.setData("navLink", servletPath + requestedUri ); } } if (navLink[i].equals(currentFolder) || navLink[i].equals(requestedUri)) { result.append(xmlDataBlock.getProcessedDataValue("navCurrent", this, userObject)); } else { result.append(xmlDataBlock.getProcessedDataValue("navEntry", this, userObject)); } } } return result.toString();
} return result.toString();
protected String buildNav(CmsObject cms, A_CmsXmlContent doc,Object userObject, Vector resources) throws CmsException { String requestedUri = cms.getRequestContext().getUri(); String currentFolder=cms.getRequestContext().currentFolder().getAbsolutePath(); String servletPath = ((HttpServletRequest)cms.getRequestContext().getRequest().getOriginalRequest()).getServletPath(); CmsXmlTemplateFile xmlDataBlock=(CmsXmlTemplateFile)doc; StringBuffer result = new StringBuffer(); int size = resources.size(); String navLink[] = new String[size]; String navText[] = new String[size]; float navPos[] = new float[size]; int max=extractNav(cms,resources,navLink,navText,navPos); // The arrays folderNames and folderTitles now contain all folders // that should appear in the nav. // Loop through all folders and generate output if (xmlDataBlock.hasData("navEntry")) { if (!xmlDataBlock.hasData("navCurrent")) { xmlDataBlock.setData("navCurrent", xmlDataBlock.getData("navEntry")); } for(int i=0; i<max; i++) { xmlDataBlock.setData("navText", navText[i]); xmlDataBlock.setData("count", new Integer(i+1).toString()); xmlDataBlock.setData("level", new Integer(extractLevel(cms,navLink[i])).toString()); // this if condition is necessary because of url parameter, // if there is no filename then the parameters are ignored, so I // can't use e.g. ?cmsframe=body. if (navLink[i].endsWith("/")) { String navIndex=cms.readProperty(navLink[i],C_PROPERTY_NAVINDEX); if (navIndex==null) { navIndex=C_NAVINDEX; } try { cms.readFile(navLink[i] + navIndex); xmlDataBlock.setData("navLink", servletPath + navLink[i] + navIndex ); } catch (CmsException e) { xmlDataBlock.setData("navLink", servletPath + requestedUri ); } } else { try { cms.readFile(navLink[i]); xmlDataBlock.setData("navLink", servletPath + navLink[i] ); } catch (CmsException e) { xmlDataBlock.setData("navLink", servletPath + requestedUri ); } } // Check if nav is current nav if (navLink[i].equals(currentFolder) || navLink[i].equals(requestedUri)) { result.append(xmlDataBlock.getProcessedDataValue("navCurrent", this, userObject)); } else { result.append(xmlDataBlock.getProcessedDataValue("navEntry", this, userObject)); } } } return result.toString(); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/e830ba5cf98ad761b43337a5f53977c1a7689de2/CmsXmlNav.java/clean/src/com/opencms/defaults/CmsXmlNav.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 1361, 12599, 12, 4747, 921, 6166, 16, 432, 67, 4747, 27415, 997, 16, 921, 729, 921, 16, 5589, 2703, 13, 202, 202, 15069, 11228, 288, 202, 202, 780, 3764, 3006, 273, 6166, 18, 588, 21426, 7675, 588, 3006, 5621, 202, 202, 780, 783, 3899, 33, 6851, 18, 588, 21426, 7675, 2972, 3899, 7675, 588, 10368, 743, 5621, 202, 202, 780, 8100, 743, 273, 14015, 2940, 18572, 13, 6851, 18, 588, 21426, 7675, 588, 691, 7675, 588, 8176, 691, 1435, 2934, 588, 4745, 743, 5621, 202, 202, 4747, 4432, 2283, 812, 2025, 751, 1768, 28657, 4747, 4432, 2283, 812, 13, 2434, 31, 202, 202, 780, 1892, 563, 273, 394, 6674, 5621, 202, 202, 474, 963, 273, 2703, 18, 1467, 5621, 202, 202, 780, 8775, 2098, 8526, 273, 394, 514, 63, 1467, 15533, 202, 202, 780, 8775, 1528, 8526, 273, 394, 514, 63, 1467, 15533, 202, 202, 5659, 8775, 1616, 8526, 273, 394, 1431, 63, 1467, 15533, 202, 202, 474, 943, 33, 8004, 12599, 12, 6851, 16, 4683, 16, 11589, 2098, 16, 11589, 1528, 16, 11589, 1616, 1769, 202, 202, 759, 1021, 5352, 3009, 1557, 471, 3009, 25088, 2037, 912, 777, 9907, 202, 202, 759, 716, 1410, 9788, 316, 326, 8775, 18, 202, 202, 759, 9720, 3059, 777, 9907, 471, 2103, 876, 202, 202, 430, 261, 2902, 751, 1768, 18, 5332, 751, 2932, 11589, 1622, 6, 3719, 288, 1082, 202, 430, 16051, 2902, 751, 1768, 18, 5332, 751, 2932, 11589, 3935, 6, 3719, 288, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 1361, 12599, 12, 4747, 921, 6166, 16, 432, 67, 4747, 27415, 997, 16, 921, 729, 921, 16, 5589, 2703, 13, 202, 202, 15069, 11228, 288, 202, 202, 780, 3764, 3006, 273, 6166, 18, 588, 21426, 7675, 588, 3006, 5621, 202, 202, 780, 783, 3899, 33, 6851, 18, 588, 21426, 7675, 2972, 3899, 7675, 588, 10368, 743, 5621, 202, 202, 780, 8100, 743, 273, 14015, 2940, 18572, 13, 6851, 18, 588, 21426, 7675, 588, 691, 7675, 588, 8176, 691, 1435, 2934, 588, 4745, 743, 5621, 202, 202, 4747, 4432, 2283, 812, 2025, 751, 1768, 28657, 4747, 4432, 2283, 812, 13, 2434, 31, 202, 202, 780, 1892, 563, 273, 394, 6674, 5621, 202, 202, 474, 963, 273, 2 ]
if (glyphMetrics[glyphIndex] == null) { /* GlyphMetrics gm = awtGlyphVector.getGlyphMetrics(glyphIndex); Rectangle2D gmB = gm.getBounds2D(); */ Point2D glyphPos = defaultGlyphPositions[glyphIndex]; char c = ci.setIndex(ci.getBeginIndex()+glyphIndex); ci.setIndex(ci.getBeginIndex()); AWTGlyphGeometryCache.Value v = AWTGVTFont.getGlyphGeometry (gvtFont, c, awtGlyphVector, glyphIndex, glyphPos); Rectangle2D gmB = v.getBounds2D();
if (glyphMetrics[glyphIndex] != null) return glyphMetrics[glyphIndex];
public GVTGlyphMetrics getGlyphMetrics(int glyphIndex) { if (glyphMetrics[glyphIndex] == null) {/* GlyphMetrics gm = awtGlyphVector.getGlyphMetrics(glyphIndex); Rectangle2D gmB = gm.getBounds2D();*/ // -- start glyph cache code -- Point2D glyphPos = defaultGlyphPositions[glyphIndex]; char c = ci.setIndex(ci.getBeginIndex()+glyphIndex); ci.setIndex(ci.getBeginIndex()); AWTGlyphGeometryCache.Value v = AWTGVTFont.getGlyphGeometry (gvtFont, c, awtGlyphVector, glyphIndex, glyphPos); Rectangle2D gmB = v.getBounds2D(); // -- end glyph cache code -- Rectangle2D bounds = new Rectangle2D.Double (gmB.getX() * scaleFactor, gmB.getY() * scaleFactor, gmB.getWidth() * scaleFactor, gmB.getHeight() * scaleFactor); // defaultGlyphPositions has one more entry than glyphs // the last entry stores the total advance for the // glyphVector. float adv = (float)(defaultGlyphPositions[glyphIndex+1].getX()- defaultGlyphPositions[glyphIndex] .getX()); glyphMetrics[glyphIndex] = new GVTGlyphMetrics (adv*scaleFactor, (ascent+descent), bounds, GlyphMetrics.STANDARD); } return glyphMetrics[glyphIndex]; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/094c967522990f8887bb01eb4eaa8ad2c4d6d6e9/AWTGVTGlyphVector.java/clean/sources/org/apache/batik/gvt/font/AWTGVTGlyphVector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 611, 58, 56, 15141, 5653, 7162, 6451, 5653, 12, 474, 9440, 1016, 13, 288, 3639, 309, 261, 19426, 5653, 63, 19426, 1016, 65, 422, 446, 13, 288, 20308, 5411, 31572, 5653, 14125, 273, 8237, 15141, 5018, 18, 588, 15141, 5653, 12, 19426, 1016, 1769, 5411, 13264, 22, 40, 14125, 38, 273, 14125, 18, 588, 5694, 22, 40, 5621, 5549, 5411, 368, 1493, 787, 9440, 1247, 981, 1493, 5411, 4686, 22, 40, 9440, 1616, 273, 805, 15141, 11024, 63, 19426, 1016, 15533, 5411, 1149, 276, 273, 9039, 18, 542, 1016, 12, 8450, 18, 588, 8149, 1016, 1435, 15, 19426, 1016, 1769, 5411, 9039, 18, 542, 1016, 12, 8450, 18, 588, 8149, 1016, 10663, 5411, 432, 8588, 15141, 9823, 1649, 18, 620, 331, 273, 432, 8588, 25269, 56, 5711, 18, 588, 15141, 9823, 7734, 261, 75, 11734, 5711, 16, 276, 16, 8237, 15141, 5018, 16, 9440, 1016, 16, 9440, 1616, 1769, 5411, 13264, 22, 40, 14125, 38, 273, 331, 18, 588, 5694, 22, 40, 5621, 6647, 368, 1493, 679, 9440, 1247, 981, 1493, 5411, 13264, 22, 40, 4972, 273, 394, 13264, 22, 40, 18, 5265, 7734, 261, 23336, 38, 18, 588, 60, 1435, 377, 380, 3159, 6837, 16, 14125, 38, 18, 588, 61, 1435, 1377, 380, 3159, 6837, 16, 1171, 14125, 38, 18, 588, 2384, 1435, 380, 3159, 6837, 16, 14125, 38, 18, 588, 2686, 1435, 380, 3159, 6837, 1769, 5411, 368, 805, 15141, 11024, 711, 1245, 1898, 1241, 2353, 23404, 5411, 368, 326, 1142, 1241, 9064, 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, 611, 58, 56, 15141, 5653, 7162, 6451, 5653, 12, 474, 9440, 1016, 13, 288, 3639, 309, 261, 19426, 5653, 63, 19426, 1016, 65, 422, 446, 13, 288, 20308, 5411, 31572, 5653, 14125, 273, 8237, 15141, 5018, 18, 588, 15141, 5653, 12, 19426, 1016, 1769, 5411, 13264, 22, 40, 14125, 38, 273, 14125, 18, 588, 5694, 22, 40, 5621, 5549, 5411, 368, 1493, 787, 9440, 1247, 981, 1493, 5411, 4686, 22, 40, 9440, 1616, 273, 805, 15141, 11024, 63, 19426, 1016, 15533, 5411, 1149, 276, 273, 9039, 18, 542, 1016, 12, 8450, 18, 588, 8149, 1016, 1435, 15, 19426, 1016, 1769, 5411, 9039, 18, 542, 1016, 12, 8450, 18, 588, 8149, 1016, 10663, 5411, 432, 8588, 15141, 9823, 2 ]
= (ClassCPInfo)constantPool.getEntry(thisClassIndex);
= (ClassCPInfo) constantPool.getEntry(thisClassIndex);
public void read(InputStream stream) throws IOException, ClassFormatError { DataInputStream classStream = new DataInputStream(stream); if (classStream.readInt() != CLASS_MAGIC) { throw new ClassFormatError("No Magic Code Found " + "- probably not a Java class file."); } // right we have a good looking class file. int minorVersion = classStream.readUnsignedShort(); int majorVersion = classStream.readUnsignedShort(); // read the constant pool in and resolve it constantPool = new ConstantPool(); constantPool.read(classStream); constantPool.resolve(); int accessFlags = classStream.readUnsignedShort(); int thisClassIndex = classStream.readUnsignedShort(); int superClassIndex = classStream.readUnsignedShort(); ClassCPInfo classInfo = (ClassCPInfo)constantPool.getEntry(thisClassIndex); className = classInfo.getClassName(); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/c6c232893c39257745a8f7a618bcdb5c59791cae/ClassFile.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 12, 4348, 1407, 13, 1216, 1860, 16, 1659, 29874, 288, 3639, 29382, 667, 1228, 273, 394, 29382, 12, 3256, 1769, 3639, 309, 261, 1106, 1228, 18, 896, 1702, 1435, 480, 7383, 67, 49, 22247, 13, 288, 5411, 604, 394, 1659, 29874, 2932, 2279, 28496, 3356, 10750, 315, 1171, 397, 3701, 8656, 486, 279, 5110, 667, 585, 1199, 1769, 3639, 289, 3639, 368, 2145, 732, 1240, 279, 7494, 7849, 667, 585, 18, 3639, 509, 8439, 1444, 273, 667, 1228, 18, 896, 13290, 4897, 5621, 3639, 509, 7888, 1444, 273, 667, 1228, 18, 896, 13290, 4897, 5621, 3639, 368, 855, 326, 5381, 2845, 316, 471, 2245, 518, 3639, 5381, 2864, 273, 394, 10551, 2864, 5621, 3639, 5381, 2864, 18, 896, 12, 1106, 1228, 1769, 3639, 5381, 2864, 18, 10828, 5621, 3639, 509, 2006, 5094, 273, 667, 1228, 18, 896, 13290, 4897, 5621, 3639, 509, 333, 797, 1016, 273, 667, 1228, 18, 896, 13290, 4897, 5621, 3639, 509, 18846, 1016, 273, 667, 1228, 18, 896, 13290, 4897, 5621, 3639, 1659, 4258, 966, 23566, 2398, 273, 261, 797, 4258, 966, 13, 5381, 2864, 18, 588, 1622, 12, 2211, 797, 1016, 1769, 3639, 2658, 225, 273, 23566, 18, 588, 3834, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 855, 12, 4348, 1407, 13, 1216, 1860, 16, 1659, 29874, 288, 3639, 29382, 667, 1228, 273, 394, 29382, 12, 3256, 1769, 3639, 309, 261, 1106, 1228, 18, 896, 1702, 1435, 480, 7383, 67, 49, 22247, 13, 288, 5411, 604, 394, 1659, 29874, 2932, 2279, 28496, 3356, 10750, 315, 1171, 397, 3701, 8656, 486, 279, 5110, 667, 585, 1199, 1769, 3639, 289, 3639, 368, 2145, 732, 1240, 279, 7494, 7849, 667, 585, 18, 3639, 509, 8439, 1444, 273, 667, 1228, 18, 896, 13290, 4897, 5621, 3639, 509, 7888, 1444, 273, 667, 1228, 18, 896, 13290, 4897, 5621, 3639, 368, 855, 326, 5381, 2845, 316, 471, 2245, 518, 3639, 5381, 2864, 273, 394, 10551, 2864, 5621, 3639, 5381, 2 ]
public void setCounter(int handle, int index, double value) {
public void setCounter(int handle, int index, double value) {
public void setCounter(int handle, int index, double value) { counterArrays[handle][index] = value; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/adc94596e6496781a4e0763b29a52be3daab1a7a/VM_CounterArrayManager.java/clean/rvm/src/vm/adaptive/runtimeMeasurements/instrumentation/VM_CounterArrayManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 4789, 12, 474, 1640, 16, 509, 770, 16, 1645, 460, 13, 225, 288, 565, 3895, 12726, 63,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 4789, 12, 474, 1640, 16, 509, 770, 16, 1645, 460, 13, 225, 288, 565, 3895, 12726, 63, 4110, 6362, 1615, 65, 273, 460, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (auditManager.isEnabled() && auditManager.isAuditPresence()) {
if (auditManager.isAuditPresence()) {
public void audit(XMPPPacket packet) { if (auditManager.isEnabled()) { if (packet instanceof Message) { if (auditManager.isEnabled() && auditManager.isAuditMessage()) { writePacket(packet, false); } } else if (packet instanceof Presence) { if (auditManager.isEnabled() && auditManager.isAuditPresence()) { writePacket(packet, false); } } else if (packet instanceof IQ) { if (auditManager.isEnabled() && auditManager.isAuditIQ()) { writePacket(packet, false); } } } }
6161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6161/ef3386062646bfe3c35659ccd3ccc0750b3bd075/AuditorImpl.java/clean/src/java/org/jivesoftware/messenger/audit/spi/AuditorImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8215, 12, 60, 19388, 6667, 4414, 13, 288, 3639, 309, 261, 17413, 1318, 18, 291, 1526, 10756, 288, 5411, 309, 261, 11482, 1276, 2350, 13, 288, 7734, 309, 261, 17413, 1318, 18, 291, 1526, 1435, 597, 8215, 1318, 18, 291, 10832, 1079, 10756, 288, 10792, 1045, 6667, 12, 11482, 16, 629, 1769, 7734, 289, 5411, 289, 5411, 469, 309, 261, 11482, 1276, 31517, 13, 288, 7734, 309, 261, 17413, 1318, 18, 291, 10832, 22590, 10756, 288, 10792, 1045, 6667, 12, 11482, 16, 629, 1769, 7734, 289, 5411, 289, 5411, 469, 309, 261, 11482, 1276, 26950, 13, 288, 7734, 309, 261, 17413, 1318, 18, 291, 1526, 1435, 597, 8215, 1318, 18, 291, 10832, 45, 53, 10756, 288, 10792, 1045, 6667, 12, 11482, 16, 629, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8215, 12, 60, 19388, 6667, 4414, 13, 288, 3639, 309, 261, 17413, 1318, 18, 291, 1526, 10756, 288, 5411, 309, 261, 11482, 1276, 2350, 13, 288, 7734, 309, 261, 17413, 1318, 18, 291, 1526, 1435, 597, 8215, 1318, 18, 291, 10832, 1079, 10756, 288, 10792, 1045, 6667, 12, 11482, 16, 629, 1769, 7734, 289, 5411, 289, 5411, 469, 309, 261, 11482, 1276, 31517, 13, 288, 7734, 309, 261, 17413, 1318, 18, 291, 10832, 22590, 10756, 288, 10792, 1045, 6667, 12, 11482, 16, 629, 1769, 7734, 289, 5411, 289, 5411, 469, 309, 261, 11482, 1276, 26950, 13, 288, 7734, 309, 261, 17413, 1318, 18, 291, 1526, 1435, 597, 8215, 1318, 18, 291, 10832, 45, 53, 10756, 288, 2 ]
_indicators = new Hashtable();
private void make_indicator_lists(Vector inds_from_server) { Enumeration ind_iter; String s; int ind_count = inds_from_server.size(); Hashtable valid_indicators; if (ind_count > 0) { valid_indicators = new Hashtable(inds_from_server.size()); } else { valid_indicators = new Hashtable(); } ordered_indicator_list = new Vector(); int i; for (i = 0; i < inds_from_server.size(); ++i) { Object o = inds_from_server.elementAt(i); valid_indicators.put(o, new Integer(i + 1)); } // User-selected indicators, in order: ind_iter = MA_Configuration.application_instance().indicator_order(). elements(); _indicators = new Hashtable(); Vector special_indicators = new Vector(); special_indicators.addElement(No_lower_indicator); special_indicators.addElement(No_upper_indicator); special_indicators.addElement(Volume); if (data_builder.has_open_interest()) { special_indicators.addElement(Open_interest); } // Insert into _indicators all user-selected indicators that // are either in the list returned by the server or are one of // the special strings for no upper/lower indicator, volume, // or open interest. while (ind_iter.hasMoreElements()) { s = (String) ind_iter.nextElement(); if (valid_indicators.containsKey(s)) { // Add valid indicators (from the server's point of view) // to both `_indicators' and `ordered_indicator_list'. _indicators.put(s, valid_indicators.get(s)); ordered_indicator_list.addElement(s); } else { for (i = 0; i < special_indicators.size(); ++i) { if (s.equals(special_indicators.elementAt(i))) { // Add special indicators only to // `ordered_indicator_list'. ordered_indicator_list.addElement(s); special_indicators.removeElement(s); break; } } } } // Insert the special indicators (no-upper indicator, ...) if // they aren't already there. for (i = 0; i < special_indicators.size(); ++i) { s = (String) special_indicators.elementAt(i); if (!_indicators.containsKey(s)) { _indicators.put(s, new Integer(_indicators.size() + 1)); ordered_indicator_list.addElement(s); } } // Update current_lower_indicators and current_upper_indicators: // remove any elements that are no longer valid. Vector remove_list = new Vector(); for (ind_iter = current_lower_indicators.elements(); ind_iter.hasMoreElements(); ) { s = (String) ind_iter.nextElement(); if (! ordered_indicator_list.contains(s)) { remove_list.addElement(s); } } for (i = 0; i < remove_list.size(); ++i) { while (current_lower_indicators.lastIndexOf( remove_list.elementAt(i)) != -1) { current_lower_indicators.removeElement( remove_list.elementAt(i)); } } remove_list.removeAllElements(); for (ind_iter = current_upper_indicators.elements(); ind_iter.hasMoreElements(); ) { s = (String) ind_iter.nextElement(); if (! ordered_indicator_list.contains(s)) { remove_list.addElement(s); } } for (i = 0; i < remove_list.size(); ++i) { while (current_upper_indicators.lastIndexOf( remove_list.elementAt(i)) != -1) { current_upper_indicators.removeElement( remove_list.elementAt(i)); } } if (ma_menu_bar != null) ma_menu_bar.update_indicators(); }
13245 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13245/f2d79bff77febe04aef94aeaae7be8abf07198cd/Chart.java/clean/src/clients/mas_gui/Chart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1221, 67, 18741, 67, 9772, 12, 5018, 19173, 67, 2080, 67, 3567, 13, 288, 202, 202, 21847, 1547, 67, 2165, 31, 202, 202, 780, 272, 31, 202, 202, 474, 1547, 67, 1883, 273, 19173, 67, 2080, 67, 3567, 18, 1467, 5621, 202, 202, 5582, 14544, 923, 67, 728, 24994, 31, 202, 202, 430, 261, 728, 67, 1883, 405, 374, 13, 288, 1082, 202, 877, 67, 728, 24994, 273, 394, 18559, 12, 15882, 67, 2080, 67, 3567, 18, 1467, 10663, 202, 202, 97, 469, 288, 1082, 202, 877, 67, 728, 24994, 273, 394, 18559, 5621, 202, 202, 97, 202, 202, 9885, 67, 18741, 67, 1098, 273, 394, 5589, 5621, 202, 202, 474, 277, 31, 202, 202, 1884, 261, 77, 273, 374, 31, 277, 411, 19173, 67, 2080, 67, 3567, 18, 1467, 5621, 965, 77, 13, 288, 1082, 202, 921, 320, 273, 19173, 67, 2080, 67, 3567, 18, 2956, 861, 12, 77, 1769, 1082, 202, 877, 67, 728, 24994, 18, 458, 12, 83, 16, 394, 2144, 12, 77, 397, 404, 10019, 202, 202, 97, 202, 202, 759, 2177, 17, 8109, 27121, 16, 316, 1353, 30, 202, 202, 728, 67, 2165, 273, 19316, 67, 1750, 18, 3685, 67, 1336, 7675, 18741, 67, 1019, 7675, 1082, 202, 6274, 5621, 202, 202, 67, 728, 24994, 273, 394, 18559, 5621, 202, 202, 5018, 4582, 67, 728, 24994, 273, 394, 5589, 5621, 202, 202, 9371, 67, 728, 24994, 18, 1289, 1046, 12, 2279, 67, 8167, 67, 18741, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1221, 67, 18741, 67, 9772, 12, 5018, 19173, 67, 2080, 67, 3567, 13, 288, 202, 202, 21847, 1547, 67, 2165, 31, 202, 202, 780, 272, 31, 202, 202, 474, 1547, 67, 1883, 273, 19173, 67, 2080, 67, 3567, 18, 1467, 5621, 202, 202, 5582, 14544, 923, 67, 728, 24994, 31, 202, 202, 430, 261, 728, 67, 1883, 405, 374, 13, 288, 1082, 202, 877, 67, 728, 24994, 273, 394, 18559, 12, 15882, 67, 2080, 67, 3567, 18, 1467, 10663, 202, 202, 97, 469, 288, 1082, 202, 877, 67, 728, 24994, 273, 394, 18559, 5621, 202, 202, 97, 202, 202, 9885, 67, 18741, 67, 1098, 273, 394, 5589, 5621, 202, 202, 474, 277, 31, 202, 202, 2 ]
RubyString name = RubyString.newString(runtime, file);
RubyString name = runtime.newString(file);
public boolean require(String file) { RubyString name = RubyString.newString(runtime, file); if (loadedFeatures.contains(name)) { return false; } if (load(file)) { loadedFeatures.add(name); return true; } return false; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/870e1da9b41bfdbae259e1fc5f18fc8b76686998/LoadService.java/buggy/src/org/jruby/internal/runtime/load/LoadService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 2583, 12, 780, 585, 13, 288, 3639, 19817, 780, 508, 273, 3099, 18, 2704, 780, 12, 768, 1769, 3639, 309, 261, 4230, 8696, 18, 12298, 12, 529, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 945, 12, 768, 3719, 288, 5411, 4203, 8696, 18, 1289, 12, 529, 1769, 5411, 327, 638, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 2583, 12, 780, 585, 13, 288, 3639, 19817, 780, 508, 273, 3099, 18, 2704, 780, 12, 768, 1769, 3639, 309, 261, 4230, 8696, 18, 12298, 12, 529, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 945, 12, 768, 3719, 288, 5411, 4203, 8696, 18, 1289, 12, 529, 1769, 5411, 327, 638, 31, 3639, 289, 3639, 327, 629, 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 ]
throw new ArgumentError(recv.getRuntime(), "wrong # of arguments(at least 1)");
throw recv.getRuntime().newArgumentError("wrong # of arguments(at least 1)");
public static IRubyObject dump(IRubyObject recv, IRubyObject[] args) { if (args.length < 1) { throw new ArgumentError(recv.getRuntime(), "wrong # of arguments(at least 1)"); } IRubyObject objectToDump = args[0]; RubyIO io = null; int depthLimit = -1; if (args.length >= 2) { if (args[1] instanceof RubyIO) { io = (RubyIO) args[1]; } else if (args[1] instanceof RubyFixnum) { depthLimit = (int) ((RubyFixnum) args[1]).getLongValue(); } if (args.length == 3) { depthLimit = (int) ((RubyFixnum) args[2]).getLongValue(); } } try { if (io != null) { dumpToStream(objectToDump, io.getOutStream(), depthLimit); return io; } ByteArrayOutputStream stringOutput = new ByteArrayOutputStream(); dumpToStream(objectToDump, stringOutput, depthLimit); return RubyString.newString(recv.getRuntime(), stringOutput.toByteArray()); } catch (IOException ioe) { throw IOError.fromException(recv.getRuntime(), ioe); } }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyMarshal.java/buggy/src/org/jruby/RubyMarshal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 4657, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 604, 10665, 18, 588, 5576, 7675, 2704, 1379, 668, 2932, 21530, 468, 434, 1775, 12, 270, 4520, 404, 2225, 1769, 3639, 289, 3639, 15908, 10340, 921, 733, 774, 10628, 273, 833, 63, 20, 15533, 3639, 19817, 4294, 2527, 273, 446, 31, 3639, 509, 3598, 3039, 273, 300, 21, 31, 3639, 309, 261, 1968, 18, 2469, 1545, 576, 13, 288, 5411, 309, 261, 1968, 63, 21, 65, 1276, 19817, 4294, 13, 288, 7734, 2527, 273, 261, 54, 10340, 4294, 13, 833, 63, 21, 15533, 5411, 289, 469, 309, 261, 1968, 63, 21, 65, 1276, 19817, 8585, 2107, 13, 288, 7734, 3598, 3039, 273, 261, 474, 13, 14015, 54, 10340, 8585, 2107, 13, 833, 63, 21, 65, 2934, 588, 3708, 620, 5621, 5411, 289, 5411, 309, 261, 1968, 18, 2469, 422, 890, 13, 288, 7734, 3598, 3039, 273, 261, 474, 13, 14015, 54, 10340, 8585, 2107, 13, 833, 63, 22, 65, 2934, 588, 3708, 620, 5621, 5411, 289, 3639, 289, 3639, 775, 288, 5411, 309, 261, 1594, 480, 446, 13, 288, 7734, 4657, 774, 1228, 12, 1612, 774, 10628, 16, 2527, 18, 588, 1182, 1228, 9334, 3598, 3039, 1769, 7734, 327, 2527, 31, 5411, 289, 1082, 202, 8826, 4632, 533, 1447, 273, 394, 11559, 5621, 1082, 202, 8481, 774, 1228, 12, 1612, 774, 10628, 16, 533, 1447, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 4657, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 604, 10665, 18, 588, 5576, 7675, 2704, 1379, 668, 2932, 21530, 468, 434, 1775, 12, 270, 4520, 404, 2225, 1769, 3639, 289, 3639, 15908, 10340, 921, 733, 774, 10628, 273, 833, 63, 20, 15533, 3639, 19817, 4294, 2527, 273, 446, 31, 3639, 509, 3598, 3039, 273, 300, 21, 31, 3639, 309, 261, 1968, 18, 2469, 1545, 576, 13, 288, 5411, 309, 261, 1968, 63, 21, 65, 1276, 19817, 4294, 13, 288, 7734, 2527, 273, 261, 54, 10340, 4294, 13, 833, 63, 21, 15533, 5411, 289, 469, 309, 261, 2 ]
return RECOGNIZED_PROPERTIES;
return (String[])(RECOGNIZED_PROPERTIES.clone());
public String[] getRecognizedProperties() { return RECOGNIZED_PROPERTIES; } // getRecognizedProperties():String[]
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/0602ac3eb8cf221dfe3af87516f142be37431477/XIncludeHandler.java/buggy/src/org/apache/xerces/xinclude/XIncludeHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 5561, 71, 9367, 2297, 1435, 288, 3639, 327, 261, 780, 63, 5717, 12, 30724, 8318, 24131, 67, 17421, 18, 14056, 10663, 565, 289, 368, 5561, 71, 9367, 2297, 13332, 780, 8526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 5561, 71, 9367, 2297, 1435, 288, 3639, 327, 261, 780, 63, 5717, 12, 30724, 8318, 24131, 67, 17421, 18, 14056, 10663, 565, 289, 368, 5561, 71, 9367, 2297, 13332, 780, 8526, 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 ]
public void setHierarchyRoots(Set roots, boolean flat);
public void setHierarchyRoots(Set roots, boolean flat, boolean refresh);
public void setHierarchyRoots(Set roots, boolean flat);
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/fb3743d6f75abbf12f788b3b2925f4a6f4606dd6/HiViewer.java/buggy/SRC/org/openmicroscopy/shoola/agents/hiviewer/view/HiViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 12074, 17540, 12, 694, 12876, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 12074, 17540, 12, 694, 12876, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return mGranteeName;
return mGranteeName == null ? mGranteeId : mGranteeName;
public String getGranteeName() { return mGranteeName; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/194b2a548daf9d1e2564f728a589b47fe7f4f60f/ZSoapGrant.java/clean/ZimbraServer/src/java/com/zimbra/cs/zclient/soap/ZSoapGrant.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 7162, 2450, 22579, 461, 1435, 288, 3639, 327, 312, 43, 2450, 22579, 461, 422, 446, 692, 312, 43, 2450, 22579, 548, 294, 312, 43, 2450, 22579, 461, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 7162, 2450, 22579, 461, 1435, 288, 3639, 327, 312, 43, 2450, 22579, 461, 422, 446, 692, 312, 43, 2450, 22579, 548, 294, 312, 43, 2450, 22579, 461, 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 ]
if(bindTo != get())
if(!bindTo.equals(get()))
public void set(String bindTo) throws InvalidConfigValueException { if(bindTo != get()) throw new InvalidConfigValueException("Cannot change FProxy bind address on the fly"); }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/344365449d05d9c31812fb984ef314991878f09a/SimpleToadletServer.java/clean/src/freenet/clients/http/SimpleToadletServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 444, 12, 780, 1993, 774, 13, 1216, 1962, 809, 9738, 288, 1082, 202, 430, 12, 4376, 774, 480, 336, 10756, 9506, 202, 12849, 394, 1962, 809, 9738, 2932, 4515, 2549, 478, 3886, 1993, 1758, 603, 326, 21434, 8863, 202, 202, 97, 2, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 444, 12, 780, 1993, 774, 13, 1216, 1962, 809, 9738, 288, 1082, 202, 430, 12, 4376, 774, 480, 336, 10756, 9506, 202, 12849, 394, 1962, 809, 9738, 2932, 4515, 2549, 478, 3886, 1993, 1758, 603, 326, 21434, 8863, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Oprand[] op = this.operation.getOprand( ); String taskid = null; if ( op != null ) { for ( int i = 0; i < op.length; i++ ) { String paramName = op[i].getName( ); String paramValue = op[i].getValue( ); if ( IBirtConstants.OPRAND_TASKID.equalsIgnoreCase( paramName ) ) { taskid = paramValue; break; } } } if ( taskid == null ) return; HttpSession session = context.getRequest( ).getSession( ); if ( session == null ) return; Map map = (Map) session.getAttribute( IBirtConstants.TASK_MAP ); if ( map != null && map.containsKey( taskid ) ) { IEngineTask task = (IEngineTask) map.get( taskid ); if ( task != null ) { task.cancel( ); } synchronized ( map ) { map.remove( taskid ); } }
BirtUtility.cancelTask( context.getRequest( ), attrBean.getTaskId( ) );
protected void __execute( ) throws Exception { ViewerAttributeBean attrBean = (ViewerAttributeBean) context.getBean( ); assert attrBean != null; // get task id Oprand[] op = this.operation.getOprand( ); String taskid = null; if ( op != null ) { for ( int i = 0; i < op.length; i++ ) { String paramName = op[i].getName( ); String paramValue = op[i].getValue( ); if ( IBirtConstants.OPRAND_TASKID.equalsIgnoreCase( paramName ) ) { taskid = paramValue; break; } } } if ( taskid == null ) return; // get task map HttpSession session = context.getRequest( ).getSession( ); if ( session == null ) return; Map map = (Map) session.getAttribute( IBirtConstants.TASK_MAP ); if ( map != null && map.containsKey( taskid ) ) { // cancel task IEngineTask task = (IEngineTask) map.get( taskid ); if ( task != null ) { task.cancel( ); } // remove task from task map synchronized ( map ) { map.remove( taskid ); } } handleUpdate( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/2591dfb188879f4c0d3e0302096700c9326b5fdb/BirtCancelTaskActionHandler.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCancelTaskActionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1001, 8837, 12, 262, 1216, 1185, 202, 95, 202, 202, 18415, 1499, 3381, 1604, 3381, 273, 261, 18415, 1499, 3381, 13, 819, 18, 588, 3381, 12, 11272, 202, 202, 11231, 1604, 3381, 480, 446, 31, 202, 202, 759, 336, 1562, 612, 202, 202, 51, 683, 464, 8526, 1061, 273, 333, 18, 7624, 18, 588, 51, 683, 464, 12, 11272, 202, 202, 780, 29035, 273, 446, 31, 202, 202, 430, 261, 1061, 480, 446, 262, 202, 202, 95, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1061, 18, 2469, 31, 277, 9904, 262, 1082, 202, 95, 9506, 202, 780, 11466, 273, 1061, 63, 77, 8009, 17994, 12, 11272, 9506, 202, 780, 20250, 273, 1061, 63, 77, 8009, 24805, 12, 11272, 9506, 202, 430, 261, 23450, 2714, 2918, 18, 3665, 54, 4307, 67, 15580, 734, 18, 14963, 5556, 12, 11466, 262, 262, 9506, 202, 95, 6862, 202, 4146, 350, 273, 20250, 31, 6862, 202, 8820, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 29035, 422, 446, 262, 1082, 202, 2463, 31, 202, 202, 759, 336, 1562, 852, 202, 202, 2940, 2157, 1339, 273, 819, 18, 588, 691, 12, 262, 18, 588, 2157, 12, 11272, 202, 202, 430, 261, 1339, 422, 446, 262, 1082, 202, 2463, 31, 202, 202, 863, 852, 273, 261, 863, 13, 1339, 18, 588, 1499, 12, 23450, 2714, 2918, 18, 15580, 67, 8352, 11272, 202, 202, 430, 261, 852, 480, 446, 597, 852, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1001, 8837, 12, 262, 1216, 1185, 202, 95, 202, 202, 18415, 1499, 3381, 1604, 3381, 273, 261, 18415, 1499, 3381, 13, 819, 18, 588, 3381, 12, 11272, 202, 202, 11231, 1604, 3381, 480, 446, 31, 202, 202, 759, 336, 1562, 612, 202, 202, 51, 683, 464, 8526, 1061, 273, 333, 18, 7624, 18, 588, 51, 683, 464, 12, 11272, 202, 202, 780, 29035, 273, 446, 31, 202, 202, 430, 261, 1061, 480, 446, 262, 202, 202, 95, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1061, 18, 2469, 31, 277, 9904, 262, 1082, 202, 95, 9506, 202, 780, 11466, 273, 1061, 63, 77, 8009, 17994, 12, 11272, 9506, 202, 780, 20250, 273, 2 ]
showFatalError( "Unable to read settings.xml", e, debug );
showFatalError( "Unable to read settings.xml", e, showErrors );
public static int main( String[] args, ClassWorld classWorld ) { // ---------------------------------------------------------------------- // Setup the command line parser // ---------------------------------------------------------------------- CLIManager cliManager = new CLIManager(); CommandLine commandLine; try { commandLine = cliManager.parse( args ); } catch ( ParseException e ) { System.err.println( "Unable to parse command line options: " + e.getMessage() ); cliManager.displayHelp(); return 1; } // TODO: maybe classworlds could handle this requirement... if ( System.getProperty( "java.class.version", "44.0" ).compareTo( "48.0" ) < 0 ) { System.err.println( "Sorry, but JDK 1.4 or above is required to execute Maven" ); System.err.println( "You appear to be using Java version: " + System.getProperty( "java.version", "<unknown>" ) ); return 1; } // ---------------------------------------------------------------------- // // 1) maven user configuration directory ( ~/.m2 ) // 2) maven home // 3) local repository // // ---------------------------------------------------------------------- // File userConfigurationDirectory = getUserConfigurationDirectory(); // Properties mavenProperties = getMavenProperties( userConfigurationDirectory ); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- initializeSystemProperties( commandLine ); boolean debug = commandLine.hasOption( CLIManager.DEBUG ); // ---------------------------------------------------------------------- // Process particular command line options // ---------------------------------------------------------------------- if ( commandLine.hasOption( CLIManager.HELP ) ) { cliManager.displayHelp(); return 0; } if ( commandLine.hasOption( CLIManager.VERSION ) ) { showVersion(); return 0; } EventDispatcher eventDispatcher = new DefaultEventDispatcher(); // ---------------------------------------------------------------------- // Now that we have everything that we need we will fire up plexus and // bring the maven component to life for use. // ---------------------------------------------------------------------- ArtifactEnabledEmbedder embedder = new ArtifactEnabledEmbedder(); try { embedder.start( classWorld ); } catch ( PlexusContainerException e ) { showFatalError( "Unable to start the embedded plexus container", e, debug ); return 1; } Settings settings; try { MavenSettingsBuilder settingsBuilder = (MavenSettingsBuilder) embedder.lookup( MavenSettingsBuilder.ROLE ); settings = settingsBuilder.buildSettings(); } catch ( IOException e ) { showFatalError( "Unable to read settings.xml", e, debug ); return 1; } catch ( XmlPullParserException e ) { showFatalError( "Unable to read settings.xml", e, debug ); return 1; } catch ( ComponentLookupException e ) { showFatalError( "Unable to read settings.xml", e, debug ); return 1; } List projectFiles = null; try { projectFiles = getProjectFiles( commandLine ); } catch ( IOException e ) { showFatalError( "Error locating project files for reactor execution", e, debug ); return 1; } Maven maven = null; MavenExecutionRequest request = null; try { // logger must be created first LoggerManager manager = (LoggerManager) embedder.lookup( LoggerManager.ROLE ); if ( debug ) { manager.setThreshold( Logger.LEVEL_DEBUG ); } request = createRequest( projectFiles, embedder, commandLine, settings, eventDispatcher, manager ); maven = createMavenInstance( embedder ); } catch ( ComponentLookupException e ) { showFatalError( "Unable to configure the Maven application", e, debug ); return 1; } // TODO: this should be in default maven, and should accommodate default goals if ( request.getGoals().isEmpty() ) { System.err.println( "You must specify at least one goal. Try 'install'" ); cliManager.displayHelp(); return 1; } MavenExecutionResponse response = null; try { response = maven.execute( request ); } catch ( ReactorException e ) { showFatalError( "Error executing Maven for a project", e, debug ); return 1; } if ( response != null && response.isExecutionFailure() ) { return 1; } else { return 0; } }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/469f96a4f1aa4b5dc7ccfc0e75abdbd278902c44/MavenCli.java/buggy/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 2774, 12, 514, 8526, 833, 16, 1659, 18071, 667, 18071, 262, 565, 288, 3639, 368, 8879, 13465, 3639, 368, 10939, 326, 1296, 980, 2082, 3639, 368, 8879, 13465, 3639, 8276, 1318, 4942, 1318, 273, 394, 8276, 1318, 5621, 3639, 15893, 20894, 31, 3639, 775, 3639, 288, 5411, 20894, 273, 4942, 1318, 18, 2670, 12, 833, 11272, 3639, 289, 3639, 1044, 261, 10616, 425, 262, 3639, 288, 5411, 2332, 18, 370, 18, 8222, 12, 315, 3370, 358, 1109, 1296, 980, 702, 30, 315, 397, 425, 18, 24906, 1435, 11272, 5411, 4942, 1318, 18, 5417, 6696, 5621, 5411, 327, 404, 31, 3639, 289, 3639, 368, 2660, 30, 6944, 667, 18179, 87, 3377, 1640, 333, 12405, 2777, 3639, 309, 261, 2332, 18, 588, 1396, 12, 315, 6290, 18, 1106, 18, 1589, 3113, 315, 6334, 18, 20, 6, 262, 18, 9877, 774, 12, 315, 8875, 18, 20, 6, 262, 411, 374, 262, 3639, 288, 5411, 2332, 18, 370, 18, 8222, 12, 315, 28898, 16, 1496, 24387, 404, 18, 24, 578, 5721, 353, 1931, 358, 1836, 17176, 6, 11272, 5411, 2332, 18, 370, 18, 8222, 12, 7734, 315, 6225, 9788, 358, 506, 1450, 5110, 1177, 30, 315, 397, 2332, 18, 588, 1396, 12, 315, 6290, 18, 1589, 3113, 3532, 8172, 2984, 262, 11272, 5411, 327, 404, 31, 3639, 289, 3639, 368, 8879, 13465, 3639, 368, 3639, 368, 404, 13, 20499, 729, 1664, 1867, 261, 4871, 15865, 81, 22, 262, 3639, 368, 576, 13, 20499, 6382, 3639, 368, 890, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 2774, 12, 514, 8526, 833, 16, 1659, 18071, 667, 18071, 262, 565, 288, 3639, 368, 8879, 13465, 3639, 368, 10939, 326, 1296, 980, 2082, 3639, 368, 8879, 13465, 3639, 8276, 1318, 4942, 1318, 273, 394, 8276, 1318, 5621, 3639, 15893, 20894, 31, 3639, 775, 3639, 288, 5411, 20894, 273, 4942, 1318, 18, 2670, 12, 833, 11272, 3639, 289, 3639, 1044, 261, 10616, 425, 262, 3639, 288, 5411, 2332, 18, 370, 18, 8222, 12, 315, 3370, 358, 1109, 1296, 980, 702, 30, 315, 397, 425, 18, 24906, 1435, 11272, 5411, 4942, 1318, 18, 5417, 6696, 5621, 5411, 327, 404, 31, 3639, 289, 3639, 368, 2660, 30, 6944, 667, 18179, 87, 3377, 1640, 333, 12405, 2777, 3639, 2 ]
if (jj_scan_token(CONDITIONAL_AND)) return true; if (jj_3R_264()) return true;
if (jj_scan_token(INTERFACE)) return true; if (jj_scan_token(IDENTIFIER)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_428()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_429()) jj_scanpos = xsp; if (jj_scan_token(LBRACE)) return true; while (true) { xsp = jj_scanpos; if (jj_3R_430()) { jj_scanpos = xsp; break; } } if (jj_scan_token(RBRACE)) return true;
final private boolean jj_3R_297() { if (jj_scan_token(CONDITIONAL_AND)) return true; if (jj_3R_264()) return true; return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5540, 27, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 22017, 1013, 67, 4307, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 23728, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5540, 27, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 22017, 1013, 67, 4307, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 23728, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (e instanceof UMOException) { handleException(e); } else { handleException(new MessagingException(new Message(Messages.EVENT_PROCESSING_FAILED_FOR_X,
handleException(new MessagingException(new Message(Messages.EVENT_PROCESSING_FAILED_FOR_X,
public Object onCall(UMOEvent event) throws UMOException { logger.trace("MuleProxy: sync call for Mule UMO " + descriptor.getName()); UMOMessage returnMessage = null; try { if (event.getEndpoint().canReceive()) { RequestContext.setEvent(event); Object replyTo = event.getMessage().getReplyTo(); ReplyToHandler replyToHandler = getReplyToHandler(event); InterceptorsInvoker invoker = new InterceptorsInvoker(interceptorList, descriptor, event.getMessage()); // stats long startTime = 0; if (stat.isEnabled()) { startTime = System.currentTimeMillis(); } returnMessage = invoker.execute(); // stats if (stat.isEnabled()) { stat.addExecutionTime(System.currentTimeMillis() - startTime); } // this is the request event event = RequestContext.getEvent(); if (event.isStopFurtherProcessing()) { logger.debug("Event stop further processing has been set, no outbound routing will be performed."); } if (returnMessage != null && !event.isStopFurtherProcessing()) { if(descriptor.getOutboundRouter().hasEndpoints()) { UMOMessage outboundReturnMessage = descriptor.getOutboundRouter().route(returnMessage, event.getSession(), event.isSynchronous()); if(outboundReturnMessage!=null) { returnMessage = outboundReturnMessage; } } else { logger.debug("Outbound router on component '" + descriptor.getName() + "' doesn't have any endpoints configured."); } } //Process Response Router if (returnMessage != null && descriptor.getResponseRouter() != null) { logger.debug("Waiting for response router message"); returnMessage = descriptor.getResponseRouter().getResponse(returnMessage); } // process repltyTo if there is one if (returnMessage != null && replyToHandler != null) { String requestor = (String) returnMessage.getProperty(MuleProperties.MULE_REPLY_TO_REQUESTOR_PROPERTY); if ((requestor != null && !requestor.equals(descriptor.getName())) || requestor == null) { replyToHandler.processReplyTo(event, returnMessage, replyTo); } } } else { returnMessage = event.getSession().sendEvent(event); processReplyTo(returnMessage); } // stats if (stat.isEnabled()) { stat.incSentEventSync(); } } catch (Exception e) { event.getSession().setValid(false); if (e instanceof UMOException) { handleException(e); } else { handleException(new MessagingException(new Message(Messages.EVENT_PROCESSING_FAILED_FOR_X, descriptor.getName()), event.getMessage(), e)); } if(returnMessage==null) { returnMessage = new MuleMessage(new NullPayload(), (Map)null); } returnMessage.setExceptionPayload(new ExceptionPayload(e)); } return returnMessage; }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/589f59b15144184ea22999b384d5ea92ddec8bb9/DefaultMuleProxy.java/buggy/mule/src/java/org/mule/impl/model/DefaultMuleProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 603, 1477, 12, 2799, 51, 1133, 871, 13, 1216, 587, 5980, 503, 565, 288, 3639, 1194, 18, 5129, 2932, 49, 725, 3886, 30, 3792, 745, 364, 490, 725, 587, 5980, 315, 397, 4950, 18, 17994, 10663, 3639, 587, 5980, 1079, 327, 1079, 273, 446, 31, 3639, 775, 288, 5411, 309, 261, 2575, 18, 588, 3293, 7675, 4169, 11323, 10756, 288, 7734, 20479, 18, 542, 1133, 12, 2575, 1769, 7734, 1033, 30934, 273, 871, 18, 24906, 7675, 588, 7817, 774, 5621, 7734, 16202, 774, 1503, 30934, 1503, 273, 5561, 1283, 774, 1503, 12, 2575, 1769, 7734, 5294, 956, 1383, 24455, 24920, 273, 394, 5294, 956, 1383, 24455, 12, 2761, 6757, 682, 16, 4950, 16, 871, 18, 24906, 10663, 7734, 368, 3177, 7734, 1525, 8657, 273, 374, 31, 7734, 309, 261, 5642, 18, 291, 1526, 10756, 288, 10792, 8657, 273, 2332, 18, 2972, 28512, 5621, 7734, 289, 7734, 327, 1079, 273, 24920, 18, 8837, 5621, 7734, 368, 3177, 7734, 309, 261, 5642, 18, 291, 1526, 10756, 288, 10792, 610, 18, 1289, 3210, 950, 12, 3163, 18, 2972, 28512, 1435, 300, 8657, 1769, 7734, 289, 7734, 368, 333, 353, 326, 590, 871, 7734, 871, 273, 20479, 18, 588, 1133, 5621, 7734, 309, 261, 2575, 18, 291, 4947, 42, 8753, 7798, 10756, 288, 10792, 1194, 18, 4148, 2932, 1133, 2132, 9271, 4929, 711, 2118, 444, 16, 1158, 11663, 7502, 903, 506, 9591, 1199, 1769, 7734, 289, 7734, 309, 261, 2463, 1079, 480, 446, 597, 401, 2575, 18, 291, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 603, 1477, 12, 2799, 51, 1133, 871, 13, 1216, 587, 5980, 503, 565, 288, 3639, 1194, 18, 5129, 2932, 49, 725, 3886, 30, 3792, 745, 364, 490, 725, 587, 5980, 315, 397, 4950, 18, 17994, 10663, 3639, 587, 5980, 1079, 327, 1079, 273, 446, 31, 3639, 775, 288, 5411, 309, 261, 2575, 18, 588, 3293, 7675, 4169, 11323, 10756, 288, 7734, 20479, 18, 542, 1133, 12, 2575, 1769, 7734, 1033, 30934, 273, 871, 18, 24906, 7675, 588, 7817, 774, 5621, 7734, 16202, 774, 1503, 30934, 1503, 273, 5561, 1283, 774, 1503, 12, 2575, 1769, 7734, 5294, 956, 1383, 24455, 24920, 273, 394, 5294, 956, 1383, 24455, 12, 2761, 6757, 682, 16, 4950, 16, 871, 18, 24906, 2 ]
public void addDocumentListener( DocumentListener listener ) { this.documentListeners.put( listener, listener );
public void addDocumentListener(DocumentListener listener) { this.documentListeners.put(listener, listener);
public void addDocumentListener( DocumentListener listener ) { this.documentListeners.put( listener, listener ); }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/b8e7e882552e228be1abb30206bccdead75ecbac/BasicPanel.java/buggy/src/java/org/xhtmlrenderer/swing/BasicPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2519, 2223, 12, 4319, 2223, 2991, 262, 288, 3639, 333, 18, 5457, 5583, 18, 458, 12, 2991, 16, 2991, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2519, 2223, 12, 4319, 2223, 2991, 262, 288, 3639, 333, 18, 5457, 5583, 18, 458, 12, 2991, 16, 2991, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
aClass.domainList = (ArrayList) domainList.clone(); aClass.addDomains = (ArrayList) addDomains.clone(); aClass.hitPointMap = new HashMap(hitPointMap);
aClass.domainList = (ArrayList<String>) domainList.clone(); aClass.addDomains = (ArrayList<String>) addDomains.clone(); aClass.hitPointMap = new HashMap<String, Integer>(hitPointMap);
public Object clone() { PCClass aClass = null; try { aClass = (PCClass) super.clone(); aClass.setSubClassKey(getSubClassKey());// aClass.setSubClassString(getSubClassString()); aClass.setProhibitedString(getProhibitedString()); aClass.setHitDie(hitDie);// aClass.setSkillPoints(skillPoints); aClass.setSkillPointFormula(skillPointFormula); aClass.setInitialFeats(initialFeats); aClass.setSpellBaseStat(spellBaseStat); aClass.setBonusSpellBaseStat(bonusSpellBaseStat); aClass.setSpellType(spellType); aClass.setAttackBonusType(attackBonusType); aClass.specialtyknownList = (ArrayList) specialtyknownList.clone(); aClass.knownList = (ArrayList) knownList.clone(); aClass.castMap = new HashMap(castMap); aClass.uattList = (ArrayList) uattList.clone(); aClass.acList = (ArrayList) acList.clone(); aClass.languageBonus = (TreeSet) languageBonus.clone(); aClass.weaponProfBonus = (ArrayList) weaponProfBonus.clone(); aClass.featList = (ArrayList) featList.clone();// aClass.vFeatList = (ArrayList) vFeatList.clone(); aClass.vFeatMap = new HashMap<String, List<Ability>>(vFeatMap); aClass.hitDieLockMap = new HashMap(hitDieLockMap); aClass.featAutos = (ArrayList<String>) featAutos.clone(); aClass.skillList = new ArrayList(); aClass.classSkillString = classSkillString; aClass.classSkillList = null; aClass.classSpellString = classSpellString; aClass.classSpellList = null; aClass.stableSpellKey = null; aClass.setSpecialsString(specialsString); aClass.setExClass(exClass); aClass.setLevelExchange(levelExchange); aClass.maxCastLevel = maxCastLevel; aClass.maxKnownLevel = maxKnownLevel; aClass.abbrev = abbrev; aClass.memorizeSpells = memorizeSpells; aClass.multiPreReqs = multiPreReqs; aClass.deityList = new ArrayList(deityList); aClass.maxLevel = maxLevel; aClass.knownSpellsList = new ArrayList(knownSpellsList); aClass.attackCycle = attackCycle; aClass.attackCycleMap = new HashMap(attackCycleMap); aClass.castAs = castAs; aClass.preRaceType = preRaceType; aClass.modToSkills = modToSkills; aClass.levelsPerFeat = levelsPerFeat; aClass.initMod = initMod; aClass.specialtyList = new ArrayList(specialtyList); //aClass.ageSet = ageSet; aClass.domainList = (ArrayList) domainList.clone(); aClass.addDomains = (ArrayList) addDomains.clone(); aClass.hitPointMap = new HashMap(hitPointMap); aClass.hasSubClass = hasSubClass; aClass.subClassList = subClassList; aClass.hasSpellFormulas = hasSpellFormulas; if (naturalWeapons != null) { aClass.naturalWeapons = (ArrayList) naturalWeapons.clone(); } } catch (CloneNotSupportedException exc) { ShowMessageDelegate.showMessageDialog(exc.getMessage(), Constants.s_APPNAME, MessageType.ERROR); } return aClass; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/PCClass.java/buggy/code/src/java/pcgen/core/PCClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3236, 1435, 202, 95, 202, 202, 3513, 797, 20148, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 69, 797, 273, 261, 3513, 797, 13, 2240, 18, 14056, 5621, 1082, 202, 69, 797, 18, 542, 1676, 797, 653, 12, 588, 1676, 797, 653, 10663, 759, 1082, 202, 69, 797, 18, 542, 1676, 797, 780, 12, 588, 1676, 797, 780, 10663, 1082, 202, 69, 797, 18, 542, 626, 29993, 780, 12, 588, 626, 29993, 780, 10663, 1082, 202, 69, 797, 18, 542, 13616, 23196, 12, 15989, 23196, 1769, 759, 1082, 202, 69, 797, 18, 542, 9030, 5636, 12, 7771, 737, 5636, 1769, 1082, 202, 69, 797, 18, 542, 9030, 2148, 14972, 12, 7771, 737, 2148, 14972, 1769, 1082, 202, 69, 797, 18, 542, 4435, 2954, 2323, 12, 6769, 2954, 2323, 1769, 1082, 202, 69, 797, 18, 542, 3389, 1165, 2171, 5000, 12, 1752, 1165, 2171, 5000, 1769, 1082, 202, 69, 797, 18, 542, 38, 22889, 3389, 1165, 2171, 5000, 12, 18688, 407, 3389, 1165, 2171, 5000, 1769, 1082, 202, 69, 797, 18, 542, 3389, 1165, 559, 12, 1752, 1165, 559, 1769, 1082, 202, 69, 797, 18, 542, 3075, 484, 38, 22889, 559, 12, 4558, 484, 38, 22889, 559, 1769, 1082, 202, 69, 797, 18, 9371, 4098, 2994, 682, 273, 261, 19558, 13, 4582, 4098, 2994, 682, 18, 14056, 5621, 1082, 202, 69, 797, 18, 2994, 682, 273, 261, 19558, 13, 4846, 682, 18, 14056, 5621, 1082, 202, 69, 797, 18, 4155, 863, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3236, 1435, 202, 95, 202, 202, 3513, 797, 20148, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 69, 797, 273, 261, 3513, 797, 13, 2240, 18, 14056, 5621, 1082, 202, 69, 797, 18, 542, 1676, 797, 653, 12, 588, 1676, 797, 653, 10663, 759, 1082, 202, 69, 797, 18, 542, 1676, 797, 780, 12, 588, 1676, 797, 780, 10663, 1082, 202, 69, 797, 18, 542, 626, 29993, 780, 12, 588, 626, 29993, 780, 10663, 1082, 202, 69, 797, 18, 542, 13616, 23196, 12, 15989, 23196, 1769, 759, 1082, 202, 69, 797, 18, 542, 9030, 5636, 12, 7771, 737, 5636, 1769, 1082, 202, 69, 797, 18, 542, 9030, 2148, 14972, 12, 7771, 737, 2 ]
protected Update createUpdateData( String target, Data data ) { UpdateData updateData = new UpdateData( ); updateData.setTarget( target ); updateData.setData( data ); Update update = new Update( ); update.setUpdateData( updateData ); return update; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ef88ebb73afe5cc4540d743ddd181952658bcf20/AbstractBaseActionHandler.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/AbstractBaseActionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 2315, 752, 1891, 751, 12, 514, 1018, 16, 1910, 501, 262, 202, 95, 202, 202, 1891, 751, 1089, 751, 273, 394, 2315, 751, 12, 11272, 202, 202, 2725, 751, 18, 542, 2326, 12, 1018, 11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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 2315, 752, 1891, 751, 12, 514, 1018, 16, 1910, 501, 262, 202, 95, 202, 202, 1891, 751, 1089, 751, 273, 394, 2315, 751, 12, 11272, 202, 202, 2725, 751, 18, 542, 2326, 12, 1018, 11272, 202, 202, 2725, 751, 18, 542, 751, 12, 501, 11272, 9506, 202, 1891, 1089, 273, 394, 2315, 12, 11272, 202, 202, 2725, 18, 542, 1891, 751, 12, 1089, 751, 11272, 9506, 202, 2463, 1089, 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 ]
if(LDMLUtilities.isDraft(fullyResolvedDoc, xpath)){
if(fullyResolvedDoc!=null && LDMLUtilities.isDraft(fullyResolvedDoc, xpath)){
private boolean isDraft(Node node, StringBuffer xpath){ //if the xpath contains : then it is a special node // turn off checking of draftness for this node if(xpath.indexOf(":")!=-1){ return false; } if(LDMLUtilities.isNodeDraft(node)){ return true; } if(LDMLUtilities.isDraft(fullyResolvedDoc, xpath)){ return true; } return false; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/eef8f63b22a2686e8cdebf9353ec6974b139783b/LDML2ICUConverter.java/buggy/icu4j/src/com/ibm/icu/dev/tool/cldr/LDML2ICUConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 353, 12714, 12, 907, 756, 16, 6674, 6748, 15329, 3639, 368, 430, 326, 6748, 1914, 294, 1508, 518, 353, 279, 4582, 756, 3639, 368, 7005, 3397, 6728, 434, 12246, 4496, 364, 333, 756, 3639, 309, 12, 18644, 18, 31806, 2932, 2773, 13, 5, 29711, 21, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 12069, 1495, 11864, 18, 291, 907, 12714, 12, 2159, 3719, 95, 5411, 327, 638, 31, 3639, 289, 3639, 309, 12, 4095, 12793, 1759, 5, 33, 2011, 597, 28083, 1495, 11864, 18, 291, 12714, 12, 4095, 12793, 1759, 16, 6748, 3719, 95, 5411, 327, 638, 31, 3639, 289, 3639, 327, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 353, 12714, 12, 907, 756, 16, 6674, 6748, 15329, 3639, 368, 430, 326, 6748, 1914, 294, 1508, 518, 353, 279, 4582, 756, 3639, 368, 7005, 3397, 6728, 434, 12246, 4496, 364, 333, 756, 3639, 309, 12, 18644, 18, 31806, 2932, 2773, 13, 5, 29711, 21, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 12069, 1495, 11864, 18, 291, 907, 12714, 12, 2159, 3719, 95, 5411, 327, 638, 31, 3639, 289, 3639, 309, 12, 4095, 12793, 1759, 5, 33, 2011, 597, 28083, 1495, 11864, 18, 291, 12714, 12, 4095, 12793, 1759, 16, 6748, 3719, 95, 5411, 327, 638, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
return RubyFixnum.newFixnum(runtime, cal.get(Calendar.SECOND));
return getRuntime().newFixnum(cal.get(Calendar.SECOND));
public RubyInteger sec() { return RubyFixnum.newFixnum(runtime, cal.get(Calendar.SECOND)); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyTime.java/buggy/src/org/jruby/RubyTime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4522, 1428, 1435, 288, 3639, 327, 18814, 7675, 2704, 8585, 2107, 12, 771, 18, 588, 12, 7335, 18, 16328, 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, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean eIsSet(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case NotationPackage.NODE_ENTRY__VALUE: return value != VALUE_EDEFAULT; case NotationPackage.NODE_ENTRY__KEY: return key != null; } return eDynamicIsSet(eFeature); }
public boolean eIsSet(int featureID) { switch (featureID) { case NotationPackage.NODE_ENTRY__VALUE: return value != VALUE_EDEFAULT; case NotationPackage.NODE_ENTRY__KEY: return key != null; } return super.eIsSet(featureID); }
public boolean eIsSet(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case NotationPackage.NODE_ENTRY__VALUE: return value != VALUE_EDEFAULT; case NotationPackage.NODE_ENTRY__KEY: return key != null; } return eDynamicIsSet(eFeature); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/1d1e28c0f7853dd16bd3fe819770773ed4e61d20/NodeEntryImpl.java/buggy/org.eclipse.gmf.notation/plugins/org.eclipse.gmf.runtime.notation/src/org/eclipse/gmf/runtime/notation/impl/NodeEntryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 41, 14372, 4595, 425, 4595, 13, 288, 202, 202, 9610, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 288, 1082, 202, 3593, 2288, 367, 2261, 18, 8744, 67, 19083, 972, 4051, 30, 9506, 202, 2463, 460, 480, 5848, 67, 11236, 31, 1082, 202, 3593, 2288, 367, 2261, 18, 8744, 67, 19083,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 41, 14372, 4595, 425, 4595, 13, 288, 202, 202, 9610, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 288, 1082, 202, 3593, 2288, 367, 2261, 18, 8744, 67, 19083, 972, 4051, 30, 9506, 202, 2463, 460, 480, 5848, 67, 11236, 31, 1082, 202, 3593, 2288, 367, 2261, 18, 8744, 67, 19083, 972, 3297, 30, 9506, 202, 2463, 498, 480, 446, 31, 202, 202, 97, 202, 202, 2463, 425, 9791, 15737, 12, 73, 4595, 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 ]
return (null != m_parentNode) ? m_parentNode.getSystemId() : null;
return this.getStylesheet().getHref();
public String getSystemId () { return (null != m_parentNode) ? m_parentNode.getSystemId() : null; // return m_parentNode.getSystemId(); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/4997f42cce0ddea6d8f0225a48d55beba0b66368/ElemTemplateElement.java/clean/src/org/apache/xalan/templates/ElemTemplateElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 12996, 548, 1832, 225, 288, 565, 327,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 12996, 548, 1832, 225, 288, 565, 327, 333, 18, 588, 24656, 7675, 588, 15962, 5621, 282, 368, 327, 312, 67, 2938, 907, 18, 588, 3163, 548, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
++segCount; if (coalescing && segCount > 1) { fail("Didn't expect multiple CHARACTERS segments when coalescing: first segment contained "+segOffset+" chars from the whole expected "+totalLen+" chars"); } StringBuffer sb = new StringBuffer(); int count; int offset = 0; int readCount = 0;
++segCount; if (coalescing && segCount > 1) { fail("Didn't expect multiple CHARACTERS segments when coalescing: first segment contained "+segOffset+" chars from the whole expected "+totalLen+" chars"); } StringBuffer sb = new StringBuffer(); int count; int offset = 0; int readCount = 0;
private void doTest(boolean ns, boolean coalescing, boolean autoEntity) throws Exception { // This is bit hacky, but speeds up testing... if (sXmlInput == null) { initData(); } // And let's also check using different buffer sizes: for (int sz = 0; sz < 3; ++sz) { // Let's test different input methods too: for (int j = 0; j < 3; ++j) { XMLInputFactory f = getFactory(ns, coalescing, autoEntity); XMLStreamReader sr; switch (j) { case 0: // simple StringReader: sr = constructStreamReader(f, sXmlInput); break; case 1: // via InputStream and auto-detection /* It shouldn't really contain anything outside ISO-Latin; * however, detection may be tricky.. so let's just * test with UTF-8, for now? */ { ByteArrayInputStream bin = new ByteArrayInputStream (sXmlInput.getBytes("UTF-8")); sr = f.createXMLStreamReader(bin); } break; case 2: // explicit UTF-8 stream { ByteArrayInputStream bin = new ByteArrayInputStream (sXmlInput.getBytes("UTF-8")); Reader br = new InputStreamReader(bin, "UTF-8"); sr = f.createXMLStreamReader(br); } break; default: throw new Error("Internal error"); } char[] cbuf; if (sz == 0) { cbuf = new char[23]; } else if (sz == 1) { cbuf = new char[384]; } else { cbuf = new char[4005]; } assertEquals(START_ELEMENT, sr.next()); int segCount = 0; int totalLen = sExpResult.length(); StringBuffer totalBuf = new StringBuffer(totalLen); /* Ok; for each segment let's test separately first, * and then combine all the results together as well */ while (sr.next() == CHARACTERS) { // Where are we within the whole String? int segOffset = totalBuf.length(); ++segCount; // Should not get multiple when coalescing... if (coalescing && segCount > 1) { fail("Didn't expect multiple CHARACTERS segments when coalescing: first segment contained "+segOffset+" chars from the whole expected "+totalLen+" chars"); } StringBuffer sb = new StringBuffer(); int count; int offset = 0; int readCount = 0; while ((count = sr.getTextCharacters(offset, cbuf, 0, cbuf.length)) > 0) { ++readCount; sb.append(cbuf, 0, count); offset += count; } int expLen = sr.getTextLength(); // Sanity check #1: should get matching totals assertEquals ("Expected segment #"+segOffset+" (one-based; read with "+readCount+" reads) to have length of " +expLen+"; reported to have gotten just "+offset+" chars", expLen, offset); // Sanity check #2: and string buf should have it too assertEquals ("Expected segment #"+segOffset+" (one-based; read with "+readCount+" reads) to get " +expLen+" chars; StringBuffer only has "+sb.length(), expLen, sb.length()); totalBuf.append(sb); } assertTokenType(END_ELEMENT, sr.getEventType()); // Ok; all gotten, does it match? assertEquals("Expected total of "+totalLen+" chars, got "+totalBuf.length(), sExpResult.length(), totalBuf.length()); // Lengths are ok, but how about content? assertEquals(sExpResult, totalBuf.toString()); sr.close(); } } }
2047 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2047/989e21e501d1e905cc7740f2f8572d6246280c93/TestGetSegmentedText.java/clean/dev/src/org/codehaus/stax/test/stream/TestGetSegmentedText.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 4709, 12, 6494, 3153, 16, 1250, 1825, 287, 742, 310, 16, 1250, 3656, 1943, 13, 3639, 1216, 1185, 565, 288, 3639, 368, 1220, 353, 2831, 11769, 93, 16, 1496, 8632, 87, 731, 7769, 2777, 3639, 309, 261, 87, 4432, 1210, 422, 446, 13, 288, 5411, 1208, 751, 5621, 3639, 289, 3639, 368, 7835, 2231, 1807, 2546, 866, 1450, 3775, 1613, 8453, 30, 3639, 364, 261, 474, 11262, 273, 374, 31, 11262, 411, 890, 31, 965, 24575, 13, 288, 5411, 368, 10559, 1807, 1842, 3775, 810, 2590, 4885, 30, 5411, 364, 261, 474, 525, 273, 374, 31, 525, 411, 890, 31, 965, 78, 13, 288, 9506, 202, 4201, 1210, 1733, 284, 273, 19352, 12, 2387, 16, 1825, 287, 742, 310, 16, 3656, 1943, 1769, 202, 202, 4201, 31495, 9133, 31, 9506, 202, 9610, 261, 78, 13, 288, 202, 202, 3593, 374, 30, 368, 4143, 26227, 30, 1082, 565, 9133, 273, 4872, 31495, 12, 74, 16, 272, 4432, 1210, 1769, 1082, 565, 898, 31, 202, 202, 3593, 404, 30, 368, 3970, 5037, 471, 3656, 17, 27515, 10792, 1748, 2597, 12044, 1404, 8654, 912, 6967, 8220, 9351, 17, 6607, 267, 31, 5397, 380, 14025, 16, 11649, 2026, 506, 433, 13055, 838, 1427, 2231, 1807, 2537, 5397, 380, 1842, 598, 6380, 17, 28, 16, 364, 2037, 35, 5397, 1195, 1082, 565, 288, 1082, 202, 8826, 4348, 4158, 273, 394, 16180, 9506, 565, 261, 87, 4432, 1210, 18, 588, 2160, 2932, 5159, 17, 28, 7923, 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, 377, 3238, 918, 741, 4709, 12, 6494, 3153, 16, 1250, 1825, 287, 742, 310, 16, 1250, 3656, 1943, 13, 3639, 1216, 1185, 565, 288, 3639, 368, 1220, 353, 2831, 11769, 93, 16, 1496, 8632, 87, 731, 7769, 2777, 3639, 309, 261, 87, 4432, 1210, 422, 446, 13, 288, 5411, 1208, 751, 5621, 3639, 289, 3639, 368, 7835, 2231, 1807, 2546, 866, 1450, 3775, 1613, 8453, 30, 3639, 364, 261, 474, 11262, 273, 374, 31, 11262, 411, 890, 31, 965, 24575, 13, 288, 5411, 368, 10559, 1807, 1842, 3775, 810, 2590, 4885, 30, 5411, 364, 261, 474, 525, 273, 374, 31, 525, 411, 890, 31, 965, 78, 13, 288, 9506, 202, 4201, 1210, 1733, 284, 273, 19352, 12, 2387, 16, 2 ]
method.offset = VM_Statics.allocateSlot(VM_Statics.METHOD) << LOG_BYTES_IN_INT;
method.offset = VM_Statics.allocateSlot(VM_Statics.METHOD);
public final synchronized void resolve() { if (isResolved()) return; if (VM.TraceClassLoading && VM.runningVM) VM.sysWriteln("VM_Class: (begin) resolve "+this); if (VM.VerifyAssertions) VM._assert(state == CLASS_LOADED); // Resolve superclass and super interfaces // if (superClass != null) { superClass.resolve(); } for (int i=0; i<declaredInterfaces.length; i++) { declaredInterfaces[i].resolve(); } if (isInterface()) { if (VM.VerifyAssertions) VM._assert(superClass == null); depth = 1; } else if (isJavaLangObjectType()) { if (VM.VerifyAssertions) VM._assert(superClass == null); instanceSize = VM_ObjectModel.computeScalarHeaderSize(this); alignment = BYTES_IN_ADDRESS; } else { if (VM.VerifyAssertions) VM._assert(superClass != null); depth = superClass.depth + 1; thinLockOffset = superClass.thinLockOffset; instanceSize = superClass.instanceSize; emptySlot = superClass.emptySlot; alignment= superClass.alignment; } if (isSynchronizedObject() || this == VM_Type.JavaLangClassType) VM_ObjectModel.allocateThinLock(this); if (VM.verboseClassLoading) VM.sysWrite("[Preparing "+this+"]\n"); // build field and method lists for this class // { VM_FieldVector staticFields = new VM_FieldVector(); VM_FieldVector instanceFields = new VM_FieldVector(); VM_MethodVector staticMethods = new VM_MethodVector(); VM_MethodVector constructorMethods = new VM_MethodVector(); VM_MethodVector virtualMethods = new VM_MethodVector(); // start with fields and methods of superclass // if (superClass != null) { VM_Field fields[] = superClass.getInstanceFields(); for (int i = 0, n = fields.length; i < n; ++i) instanceFields.addElement(fields[i]); VM_Method methods[] = superClass.getVirtualMethods(); for (int i = 0, n = methods.length; i < n; ++i) virtualMethods.addElement(methods[i]); } // append fields defined by this class // VM_Field fields[] = getDeclaredFields(); for (int i = 0, n = fields.length; i < n; ++i) { VM_Field field = fields[i]; if (field.isStatic()) staticFields.addElement(field); else instanceFields.addElement(field); } // append/overlay methods defined by this class // VM_Method methods[] = getDeclaredMethods(); for (int i = 0, n = methods.length; i < n; ++i) { VM_Method method = methods[i]; if (VM.VerifyUnint) { if (!method.isInterruptible() && method.isSynchronized()) { if (VM.ParanoidVerifyUnint || !LogicallyUninterruptiblePragma.declaredBy(method)) { VM.sysWriteln("WARNING: "+method+" cannot be both uninterruptible and synchronized"); } } } if (method.isObjectInitializer()) { VM_Callbacks.notifyMethodOverride(method, null); constructorMethods.addElement(method); } else if (method.isStatic()) { if (!method.isClassInitializer()) { VM_Callbacks.notifyMethodOverride(method, null); staticMethods.addElement(method); } } else { // Virtual method if (method.isSynchronized()) { VM_ObjectModel.allocateThinLock(this); } // method could override something in superclass - check for it // int superclassMethodIndex = -1; for (int j = 0, m = virtualMethods.size(); j < m; ++j) { VM_Method alreadyDefinedMethod = virtualMethods.elementAt(j); if (alreadyDefinedMethod.getName() == method.getName() && alreadyDefinedMethod.getDescriptor() == method.getDescriptor()) { // method already defined in superclass superclassMethodIndex = j; break; } } if (superclassMethodIndex == -1) { VM_Callbacks.notifyMethodOverride(method, null); virtualMethods.addElement(method); // append } else { VM_Method superc = (VM_Method)virtualMethods.elementAt(superclassMethodIndex); if (VM.VerifyUnint) { if (!superc.isInterruptible() && method.isInterruptible()) { VM.sysWriteln("WARNING: interruptible "+method+" overrides uninterruptible "+superc); } } VM_Callbacks.notifyMethodOverride(method, superc); virtualMethods.setElementAt(method, superclassMethodIndex); // override } } } // Deal with Miranda methods. // If this is an abstract class, then for each // interface that this class implements, ensure that a corresponding virtual // method is declared. If one is not, then create an abstract method to fill the void. if (!isInterface() && isAbstract()) { for (int i=0; i<declaredInterfaces.length; i++) { VM_Class I = declaredInterfaces[i]; VM_Method[] iMeths = I.getVirtualMethods(); outer: for (int j=0; j<iMeths.length; j++) { VM_Method iMeth = iMeths[j]; VM_Atom iName = iMeth.getName(); VM_Atom iDesc = iMeth.getDescriptor(); for (int k=0; k<virtualMethods.size(); k++) { VM_Method vMeth = virtualMethods.elementAt(k); if (vMeth.getName() == iName && vMeth.getDescriptor() == iDesc) continue outer; } VM_MemberReference mRef = VM_MemberReference.findOrCreate(typeRef, iName, iDesc); virtualMethods.addElement(new VM_AbstractMethod(this, mRef, ACC_ABSTRACT | ACC_PUBLIC, iMeth.getExceptionTypes())); } } } // If this is an interface, inherit methods from its superinterfaces if (isInterface()) { for (int i=0; i<declaredInterfaces.length; i++) { VM_Method[] meths = declaredInterfaces[i].getVirtualMethods(); for (int j=0; j<meths.length; j++) { virtualMethods.addUniqueElement(meths[j]); } } } this.staticFields = staticFields.finish(); this.instanceFields = instanceFields.finish(); this.staticMethods = staticMethods.finish(); this.constructorMethods = constructorMethods.finish(); this.virtualMethods = virtualMethods.finish(); } // allocate space for class fields // for (int i = 0, n = staticFields.length; i < n; ++i) { VM_Field field = staticFields[i]; VM_TypeReference fieldType = field.getType(); byte slotType; if (fieldType.isReferenceType()) slotType = VM_Statics.REFERENCE_FIELD; else if (fieldType.getSize() == BYTES_IN_LONG) slotType = VM_Statics.WIDE_NUMERIC_FIELD; else slotType = VM_Statics.NUMERIC_FIELD; field.offset = (VM_Statics.allocateSlot(slotType) << LOG_BYTES_IN_INT); // (SJF): Serialization nastily accesses even final private static // fields via pseudo-reflection! So, we must shove the // values of final static fields into the JTOC. Now // seems to be a good time. if (field.isFinal()) { setFinalStaticJTOCEntry(field,field.offset); } } // lay out instance fields // VM_ObjectModel.layoutInstanceFields(this); // count reference fields int referenceFieldCount = 0; for (int i = 0, n = instanceFields.length; i < n; ++i) { VM_Field field = instanceFields[i]; if (field.getType().isReferenceType()) referenceFieldCount += 1; } // record offsets of those instance fields that contain references // referenceOffsets = new int[referenceFieldCount]; for (int i = 0, j = 0, n = instanceFields.length; i < n; ++i) { VM_Field field = instanceFields[i]; if (field.getType().isReferenceType()) referenceOffsets[j++] = field.offset; } // Allocate space for <init> method pointers // for (int i = 0, n = constructorMethods.length; i < n; ++i) { VM_Method method = constructorMethods[i]; method.offset = VM_Statics.allocateSlot(VM_Statics.METHOD) << LOG_BYTES_IN_INT; } // Allocate space for static method pointers // for (int i = 0, n = staticMethods.length; i < n; ++i) { VM_Method method = staticMethods[i]; if (method.isClassInitializer()) { method.offset = 0xdeadbeef; // should never be used. } else { method.offset = VM_Statics.allocateSlot(VM_Statics.METHOD) << LOG_BYTES_IN_INT; } } // create "type information block" and initialize its first four words // if (isInterface()) { // the TIB for an Interface doesn't need space for IMT and VTable; will never be used. typeInformationBlock = MM_Interface.newTIB(TIB_FIRST_INTERFACE_METHOD_INDEX); } else { typeInformationBlock = MM_Interface.newTIB(TIB_FIRST_VIRTUAL_METHOD_INDEX + virtualMethods.length); } VM_Statics.setSlotContents(tibSlot, typeInformationBlock); // Initialize dynamic type checking data structures typeInformationBlock[TIB_TYPE_INDEX] = this; typeInformationBlock[TIB_SUPERCLASS_IDS_INDEX] = VM_DynamicTypeCheck.buildSuperclassIds(this); typeInformationBlock[TIB_DOES_IMPLEMENT_INDEX] = VM_DynamicTypeCheck.buildDoesImplement(this); // (element type for arrays not used classes) if (!isInterface()) { // lay out virtual method section of type information block // (to be filled in by instantiate) for (int i = 0, n = virtualMethods.length; i < n; ++i) { VM_Method method = virtualMethods[i]; method.offset = (TIB_FIRST_VIRTUAL_METHOD_INDEX + i) << LOG_BYTES_IN_ADDRESS; } } // RCGC: Determine if class is inherently acyclic acyclic = false; // must initially be false for recursive types boolean foundCyclic = false; for (int i = 0; i < instanceFields.length; i++) { VM_TypeReference ft = instanceFields[i].getType(); if (!(ft.isResolved() && ft.peekResolvedType().isAcyclicReference())) { foundCyclic = true; break; } } if (!foundCyclic) { acyclic = true; } state = CLASS_RESOLVED; // can't move this beyond "finalize" code block if (VM.writingBootImage) { //-#if RVM_WITH_OPT_COMPILER OptCLDepManager.classInitialized(this, true); //-#endif } VM_Callbacks.notifyClassResolved(this); MM_Interface.notifyClassResolved(this); // check for a "finalize" method that overrides the one in java.lang.Object // finalizeMethod = null; if (!isInterface()) { VM_Method finalize = findVirtualMethod(VM_ClassLoader.StandardObjectFinalizerMethodName, VM_ClassLoader.StandardObjectFinalizerMethodDescriptor); if (!finalize.getDeclaringClass().isJavaLangObjectType()) { finalizeMethod = finalize; } } if (VM.TraceClassLoading && VM.runningVM) VM.sysWriteln("VM_Class: (end) resolve " + this); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/512b7ae853c6979c3f6acf302871ef9527123d44/VM_Class.java/buggy/rvm/src/vm/classLoader/VM_Class.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 3852, 918, 2245, 1435, 288, 565, 309, 261, 291, 12793, 10756, 327, 31, 565, 309, 261, 7397, 18, 3448, 797, 10515, 597, 8251, 18, 8704, 7397, 13, 8251, 18, 9499, 4913, 292, 82, 2932, 7397, 67, 797, 30, 261, 10086, 13, 2245, 13773, 2211, 1769, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 2019, 422, 7383, 67, 31408, 1769, 565, 368, 9910, 12098, 471, 2240, 7349, 565, 368, 565, 309, 261, 9565, 797, 480, 446, 13, 288, 1377, 18846, 18, 10828, 5621, 565, 289, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 16571, 10273, 18, 2469, 31, 277, 27245, 288, 1377, 7886, 10273, 63, 77, 8009, 10828, 5621, 565, 289, 565, 309, 261, 291, 1358, 10756, 288, 1377, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 9565, 797, 422, 446, 1769, 1377, 3598, 273, 404, 31, 377, 289, 469, 309, 261, 291, 5852, 7275, 17610, 10756, 288, 1377, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 9565, 797, 422, 446, 1769, 1377, 791, 1225, 273, 8251, 67, 921, 1488, 18, 9200, 13639, 1864, 1225, 12, 2211, 1769, 1377, 8710, 273, 26214, 67, 706, 67, 15140, 31, 565, 289, 469, 288, 1377, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 9565, 797, 480, 446, 1769, 1377, 3598, 273, 18846, 18, 5979, 397, 404, 31, 1377, 21936, 2531, 2335, 273, 18846, 18, 451, 267, 2531, 2335, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 3852, 918, 2245, 1435, 288, 565, 309, 261, 291, 12793, 10756, 327, 31, 565, 309, 261, 7397, 18, 3448, 797, 10515, 597, 8251, 18, 8704, 7397, 13, 8251, 18, 9499, 4913, 292, 82, 2932, 7397, 67, 797, 30, 261, 10086, 13, 2245, 13773, 2211, 1769, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 2019, 422, 7383, 67, 31408, 1769, 565, 368, 9910, 12098, 471, 2240, 7349, 565, 368, 565, 309, 261, 9565, 797, 480, 446, 13, 288, 1377, 18846, 18, 10828, 5621, 565, 289, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 16571, 10273, 18, 2469, 31, 277, 27245, 288, 1377, 7886, 10273, 63, 77, 8009, 10828, 5621, 565, 2 ]
public QueuedDataRequest(ClientKey key, boolean localOnly, boolean cache, QueueingSimpleLowLevelClient client) {
public QueuedDataRequest(ClientKey key, boolean localOnly, boolean cache, QueueingSimpleLowLevelClient client, boolean ignoreStore) {
public QueuedDataRequest(ClientKey key, boolean localOnly, boolean cache, QueueingSimpleLowLevelClient client) { this.key = key; this.localOnly = localOnly; this.client = client; this.cache = cache; }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/87760d0ac57e5e39f75661e91adeb3a9ffcc5dfb/QueuedDataRequest.java/buggy/src/freenet/node/QueuedDataRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 27949, 5957, 751, 691, 12, 1227, 653, 498, 16, 1250, 1191, 3386, 16, 1250, 1247, 16, 7530, 310, 5784, 10520, 2355, 1227, 1004, 13, 288, 202, 202, 2211, 18, 856, 273, 498, 31, 202, 202, 2211, 18, 3729, 3386, 273, 1191, 3386, 31, 202, 202, 2211, 18, 2625, 273, 1004, 31, 202, 202, 2211, 18, 2493, 273, 1247, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 27949, 5957, 751, 691, 12, 1227, 653, 498, 16, 1250, 1191, 3386, 16, 1250, 1247, 16, 7530, 310, 5784, 10520, 2355, 1227, 1004, 13, 288, 202, 202, 2211, 18, 856, 273, 498, 31, 202, 202, 2211, 18, 3729, 3386, 273, 1191, 3386, 31, 202, 202, 2211, 18, 2625, 273, 1004, 31, 202, 202, 2211, 18, 2493, 273, 1247, 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 ]
public int getDeleted() {
public Integer getDeleted() {
public int getDeleted() { return this.deleted; }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/b8a8391889e8b5c603d8e7c5baf0cf04fd9cf0c2/Habitat.java/buggy/trunk/src/net/sf/plantlore/common/record/Habitat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2144, 2343, 2993, 1435, 288, 3639, 327, 333, 18, 8600, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2144, 2343, 2993, 1435, 288, 3639, 327, 333, 18, 8600, 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 ]
return make.Literal(Position.NOPOS, new Long( 0 ))
return make.Literal(Position.NOPOS, new Float( 0 ))
Tree ignoreValue( Type asType ) { if( asType.isSameAs(defs.BYTE_TYPE )) return make.Literal(Position.NOPOS, new Long( 0 )) .setType( defs.INT_TYPE ); else if( asType.isSameAs( defs.CHAR_TYPE )) return make.Literal(Position.NOPOS, new Long( 0 )) .setType( defs.CHAR_TYPE ); else if( asType.isSameAs(defs.SHORT_TYPE )) return make.Literal(Position.NOPOS, new Long( 0 )) .setType( defs.SHORT_TYPE ); else if( asType.isSameAs(defs.INT_TYPE )) return Int( 0 ); else if( asType.isSameAs(defs.LONG_TYPE )) return make.Literal(Position.NOPOS, new Long( 0 )) .setType( defs.LONG_TYPE ); else if( asType.isSameAs(defs.FLOAT_TYPE )) return make.Literal(Position.NOPOS, new Long( 0 )) .setType( defs.FLOAT_TYPE ); else if( asType.isSameAs(defs.DOUBLE_TYPE )) return make.Literal(Position.NOPOS, new Long( 0 )) .setType( defs.DOUBLE_TYPE ); else if( asType.isSameAs(defs.BOOLEAN_TYPE )) return gen.mkBooleanLit(Position.NOPOS, false); else if( asType.isSameAs(defs.STRING_TYPE )) return make.Literal(Position.NOPOS, "") .setType( defs.STRING_TYPE ); /** FIX ME FOR THE NEW VERSION else return gen.Apply( Null( asType ), Tree.EMPTY_ARRAY); */ return null; // should not happen FIXME }
48012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48012/04e4c7ee186590b54a88ef33290d319d4cd4b60d/CodeFactory.java/buggy/sources/scalac/transformer/matching/CodeFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 4902, 2305, 620, 12, 1412, 31658, 262, 288, 5411, 309, 12, 31658, 18, 291, 8650, 1463, 12, 12537, 18, 15377, 67, 2399, 8623, 5375, 327, 1221, 18, 6177, 12, 2555, 18, 3417, 7057, 16, 394, 5450, 12, 374, 8623, 13491, 263, 542, 559, 12, 17588, 18, 3217, 67, 2399, 11272, 5411, 469, 309, 12, 31658, 18, 291, 8650, 1463, 12, 17588, 18, 7305, 67, 2399, 8623, 5375, 327, 1221, 18, 6177, 12, 2555, 18, 3417, 7057, 16, 394, 5450, 12, 374, 8623, 13491, 263, 542, 559, 12, 17588, 18, 7305, 67, 2399, 11272, 5411, 469, 309, 12, 31658, 18, 291, 8650, 1463, 12, 12537, 18, 15993, 67, 2399, 8623, 5375, 327, 1221, 18, 6177, 12, 2555, 18, 3417, 7057, 16, 394, 5450, 12, 374, 8623, 13491, 263, 542, 559, 12, 17588, 18, 15993, 67, 2399, 11272, 5411, 469, 309, 12, 31658, 18, 291, 8650, 1463, 12, 12537, 18, 3217, 67, 2399, 8623, 5375, 327, 3094, 12, 374, 11272, 5411, 469, 309, 12, 31658, 18, 291, 8650, 1463, 12, 12537, 18, 14639, 67, 2399, 8623, 5375, 327, 1221, 18, 6177, 12, 2555, 18, 3417, 7057, 16, 394, 5450, 12, 374, 8623, 13491, 263, 542, 559, 12, 17588, 18, 14639, 67, 2399, 11272, 5411, 469, 309, 12, 31658, 18, 291, 8650, 1463, 12, 12537, 18, 15640, 67, 2399, 8623, 5375, 327, 1221, 18, 6177, 12, 2555, 18, 3417, 7057, 16, 394, 5450, 12, 374, 8623, 13491, 263, 542, 559, 12, 17588, 18, 15640, 67, 2399, 11272, 5411, 469, 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, 4202, 4902, 2305, 620, 12, 1412, 31658, 262, 288, 5411, 309, 12, 31658, 18, 291, 8650, 1463, 12, 12537, 18, 15377, 67, 2399, 8623, 5375, 327, 1221, 18, 6177, 12, 2555, 18, 3417, 7057, 16, 394, 5450, 12, 374, 8623, 13491, 263, 542, 559, 12, 17588, 18, 3217, 67, 2399, 11272, 5411, 469, 309, 12, 31658, 18, 291, 8650, 1463, 12, 17588, 18, 7305, 67, 2399, 8623, 5375, 327, 1221, 18, 6177, 12, 2555, 18, 3417, 7057, 16, 394, 5450, 12, 374, 8623, 13491, 263, 542, 559, 12, 17588, 18, 7305, 67, 2399, 11272, 5411, 469, 309, 12, 31658, 18, 291, 8650, 1463, 12, 12537, 18, 15993, 67, 2399, 8623, 5375, 327, 1221, 18, 6177, 12, 2555, 18, 3417, 2 ]
add(new ComponentDescription( "community-init", Agent.INSERTION_POINT+".Init", "org.cougaar.community.init.CommunityInitializerServiceComponent", null, null, null, null, null, ComponentDescription.PRIORITY_COMPONENT));
if (isCommunityEnabled) { add(new ComponentDescription( "community-init", Agent.INSERTION_POINT+".Init", "org.cougaar.community.init.CommunityInitializerServiceComponent", null, null, null, null, null, ComponentDescription.PRIORITY_COMPONENT)); }
protected void loadComponentPriorityComponents() { add(new ComponentDescription( "community-init", Agent.INSERTION_POINT+".Init", "org.cougaar.community.init.CommunityInitializerServiceComponent", null, //codebase null, //params null, //certificate null, //lease null, //policy ComponentDescription.PRIORITY_COMPONENT)); add(new ComponentDescription( "asset-init", Agent.INSERTION_POINT+".Init", "org.cougaar.planning.ldm.AssetInitializerServiceComponent", null, //codebase null, //params null, //certificate null, //lease null, //policy ComponentDescription.PRIORITY_COMPONENT)); super.loadComponentPriorityComponents(); }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/2ebb49f74d5cae06c9f0b6ea0d57759fd5bc91f4/NodeAgent.java/buggy/core/src/org/cougaar/core/node/NodeAgent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1262, 1841, 8183, 7171, 1435, 288, 565, 527, 12, 2704, 5435, 3291, 12, 1850, 315, 20859, 17, 2738, 3113, 1850, 8669, 18, 11356, 1146, 67, 8941, 9078, 18, 2570, 3113, 1850, 315, 3341, 18, 2894, 637, 69, 297, 18, 20859, 18, 2738, 18, 12136, 13352, 14729, 1179, 1841, 3113, 1850, 446, 16, 225, 368, 710, 1969, 1850, 446, 16, 225, 368, 2010, 1850, 446, 16, 225, 368, 14108, 1850, 446, 16, 225, 368, 2508, 1850, 446, 16, 225, 368, 5086, 1850, 5435, 3291, 18, 19804, 67, 22922, 10019, 565, 527, 12, 2704, 5435, 3291, 12, 1850, 315, 9406, 17, 2738, 3113, 1850, 8669, 18, 11356, 1146, 67, 8941, 9078, 18, 2570, 3113, 1850, 315, 3341, 18, 2894, 637, 69, 297, 18, 412, 10903, 18, 1236, 81, 18, 6672, 14729, 1179, 1841, 3113, 1850, 446, 16, 225, 368, 710, 1969, 1850, 446, 16, 225, 368, 2010, 1850, 446, 16, 225, 368, 14108, 1850, 446, 16, 225, 368, 2508, 1850, 446, 16, 225, 368,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, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1262, 1841, 8183, 7171, 1435, 288, 565, 527, 12, 2704, 5435, 3291, 12, 1850, 315, 20859, 17, 2738, 3113, 1850, 8669, 18, 11356, 1146, 67, 8941, 9078, 18, 2570, 3113, 1850, 315, 3341, 18, 2894, 637, 69, 297, 18, 20859, 18, 2738, 18, 12136, 13352, 14729, 1179, 1841, 3113, 1850, 446, 16, 225, 368, 710, 1969, 1850, 446, 16, 225, 368, 2010, 1850, 446, 16, 225, 368, 14108, 1850, 446, 16, 225, 368, 2508, 1850, 446, 16, 225, 368, 5086, 1850, 5435, 3291, 18, 19804, 67, 22922, 10019, 565, 527, 12, 2704, 5435, 3291, 12, 1850, 315, 9406, 17, 2738, 3113, 1850, 8669, 18, 11356, 1146, 67, 8941, 9078, 18, 2570, 3113, 1850, 315, 3341, 18, 2 ]
int nextB = 1; int nextC = 1; for (int i = 1; i < 500; i++) { stmt.executeUpdate("insert into #t0020a " + " values(" + i + ", " + " 'row" + i + "') " + ""); for (int j = nextB; (nextB % 5) != 0; j++, nextB++) { stmt.executeUpdate("insert into #t0020b " + " values(" + i + ", " + " " + j + ", " + " 'row" + i + "." + j + "' " + " )" + ""); for (int k = nextC; (nextC % 3) != 0; k++, nextC++) { stmt.executeUpdate("insert into #t0020c " + " values(" + j + ", " + " 'row" + i + "." + j + "." + k + "' " + " )" + ""); } } }
int nextB = 1; int nextC = 1; for (int i = 1; i < 500; i++) { stmt.executeUpdate("insert into #t0020a " + " values(" + i + ", " + " 'row" + i + "') " + ""); for (int j = nextB; (nextB % 5) != 0; j++, nextB++) { stmt.executeUpdate("insert into #t0020b " + " values(" + i + ", " + " " + j + ", " + " 'row" + i + "." + j + "' " + " )" + ""); for (int k = nextC; (nextC % 3) != 0; k++, nextC++) { stmt.executeUpdate("insert into #t0020c " + " values(" + j + ", " + " 'row" + i + "." + j + "." + k + "' " + " )" + ""); } } }
public void testStatements0020() throws Exception { Connection cx = getConnection(); dropTable("#t0020a"); dropTable("#t0020b"); dropTable("#t0020c"); Statement stmt = cx.createStatement(); stmt.executeUpdate("create table #t0020a ( " + " i1 int not null, " + " s1 char(10) not null " + ") " + ""); stmt.executeUpdate("create table #t0020b ( " + " i2a int not null, " + " i2b int not null, " + " s2 char(10) not null " + ") " + ""); stmt.executeUpdate("create table #t0020c ( " + " i3 int not null, " + " s3 char(10) not null " + ") " + ""); int nextB = 1; int nextC = 1; for (int i = 1; i < 500; i++) { stmt.executeUpdate("insert into #t0020a " + " values(" + i + ", " + " 'row" + i + "') " + ""); for (int j = nextB; (nextB % 5) != 0; j++, nextB++) { stmt.executeUpdate("insert into #t0020b " + " values(" + i + ", " + " " + j + ", " + " 'row" + i + "." + j + "' " + " )" + ""); for (int k = nextC; (nextC % 3) != 0; k++, nextC++) { stmt.executeUpdate("insert into #t0020c " + " values(" + j + ", " + " 'row" + i + "." + j + "." + k + "' " + " )" + ""); } } } Statement stmtA = cx.createStatement(); PreparedStatement stmtB = cx.prepareStatement( "select i2b, s2 from #t0020b where i2a=?"); PreparedStatement stmtC = cx.prepareStatement( "select s3 from #t0020c where i3=?"); ResultSet rs1 = stmtA.executeQuery("select i1 from #t0020a"); assertNotNull(rs1); while (rs1.next()) { int i1 = rs1.getInt("i1"); stmtB.setInt(1, rs1.getInt("i1")); ResultSet rs2 = stmtB.executeQuery(); assertNotNull(rs2); while (rs2.next()) { stmtC.setInt(1, rs2.getInt(1)); ResultSet rs3 = stmtC.executeQuery(); assertNotNull(rs3); if (rs3.next()) { // nop } } } }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/7df6dc0065b654cd4e2b156461e0394d01dd13aa/TimestampTest.java/buggy/src.old/test/freetds/TimestampTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 14663, 713, 3462, 1435, 1216, 1185, 202, 95, 202, 202, 1952, 9494, 273, 6742, 5621, 202, 202, 7285, 1388, 2932, 7, 88, 713, 3462, 69, 8863, 202, 202, 7285, 1388, 2932, 7, 88, 713, 3462, 70, 8863, 202, 202, 7285, 1388, 2932, 7, 88, 713, 3462, 71, 8863, 202, 202, 3406, 225, 3480, 565, 273, 9494, 18, 2640, 3406, 5621, 202, 202, 10589, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 3462, 69, 261, 315, 397, 1082, 202, 6, 225, 277, 21, 282, 509, 486, 446, 16, 377, 315, 397, 1082, 202, 6, 225, 272, 21, 282, 1149, 12, 2163, 13, 486, 446, 315, 397, 1082, 202, 7923, 13491, 315, 397, 1082, 202, 3660, 1769, 202, 202, 10589, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 3462, 70, 261, 315, 397, 1082, 202, 6, 225, 277, 22, 69, 282, 509, 486, 446, 16, 377, 315, 397, 1082, 202, 6, 225, 277, 22, 70, 282, 509, 486, 446, 16, 377, 315, 397, 1082, 202, 6, 225, 272, 22, 282, 1149, 12, 2163, 13, 486, 446, 315, 397, 1082, 202, 7923, 13491, 315, 397, 1082, 202, 3660, 1769, 202, 202, 10589, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 3462, 71, 261, 315, 397, 1082, 202, 6, 225, 277, 23, 282, 509, 486, 446, 16, 377, 315, 397, 1082, 202, 6, 225, 272, 23, 282, 1149, 12, 2163, 13, 486, 446, 315, 397, 1082, 202, 7923, 13491, 315, 397, 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, 1842, 14663, 713, 3462, 1435, 1216, 1185, 202, 95, 202, 202, 1952, 9494, 273, 6742, 5621, 202, 202, 7285, 1388, 2932, 7, 88, 713, 3462, 69, 8863, 202, 202, 7285, 1388, 2932, 7, 88, 713, 3462, 70, 8863, 202, 202, 7285, 1388, 2932, 7, 88, 713, 3462, 71, 8863, 202, 202, 3406, 225, 3480, 565, 273, 9494, 18, 2640, 3406, 5621, 202, 202, 10589, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 3462, 69, 261, 315, 397, 1082, 202, 6, 225, 277, 21, 282, 509, 486, 446, 16, 377, 315, 397, 1082, 202, 6, 225, 272, 21, 282, 1149, 12, 2163, 13, 486, 446, 315, 397, 1082, 202, 7923, 13491, 315, 397, 1082, 202, 2 ]
if (! (data[1] instanceof PAToken)) { throw new PainterException("repeat: wrong arguments");
if (! (data[0] instanceof ArrayList)) { throw new PainterException("setdash: wrong arguments");
public void execute(PAContext context) throws PainterException { Object data[]; PAToken patoken; data = context.popOperands(2); if (! (data[1] instanceof PAToken)) { throw new PainterException("repeat: wrong arguments"); } if (! (data[0] instanceof Number)) { throw new PainterException("repeat: wrong arguments"); } patoken = (PAToken) data[1]; if (! (patoken.type == PAToken.PROCEDURE)) { throw new PainterException("repeat: wrong arguments"); } int n = ( (Number) data[0]).intValue(); for (int i = 0; i < n; i++) { context.engine.process(patoken); } }
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/3cd4a973dbdca1f7072d8e189d388c5a878cc9a6/PAContext.java/clean/itext/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 1033, 501, 8526, 31, 3639, 17988, 969, 9670, 969, 31, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 22, 1769, 3639, 309, 16051, 261, 892, 63, 21, 65, 1276, 17988, 969, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 9374, 30, 7194, 1775, 8863, 3639, 289, 3639, 309, 16051, 261, 892, 63, 20, 65, 1276, 3588, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 9374, 30, 7194, 1775, 8863, 3639, 289, 3639, 9670, 969, 273, 261, 8592, 969, 13, 501, 63, 21, 15533, 3639, 309, 16051, 261, 16330, 969, 18, 723, 422, 17988, 969, 18, 3373, 23552, 4830, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 9374, 30, 7194, 1775, 8863, 3639, 289, 3639, 509, 290, 273, 261, 261, 1854, 13, 501, 63, 20, 65, 2934, 474, 620, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 277, 27245, 288, 1850, 819, 18, 8944, 18, 2567, 12, 16330, 969, 1769, 3639, 289, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 17988, 969, 9670, 969, 31, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 22, 1769, 3639, 309, 16051, 261, 892, 63, 21, 65, 1276, 17988, 969, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 9374, 30, 7194, 1775, 8863, 3639, 289, 3639, 309, 16051, 261, 892, 63, 20, 65, 1276, 3588, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 9374, 30, 7194, 1775, 8863, 3639, 289, 3639, 9670, 969, 273, 261, 8592, 969, 13, 501, 63, 21, 15533, 3639, 309, 16051, 261, 16330, 969, 18, 723, 422, 17988, 969, 18, 3373, 23552, 4830, 3719, 288, 1850, 2 ]
Scriptable s = ScriptRuntime.toObject(funObj, val); Scriptable scope = s.getParentScope(); return ScriptRuntime.call(cx, val, scope, ScriptRuntime.emptyArgs, scope);
Scriptable s = ScriptRuntime.toObject(scope, val); Scriptable topScope = s.getParentScope(); return ScriptRuntime.call(cx, val, topScope, ScriptRuntime.emptyArgs, topScope);
private static Object jsFunction_call(Context cx, Scriptable thisObj, Object[] args, Function funObj) throws JavaScriptException { Object val = thisObj.getDefaultValue(ScriptRuntime.FunctionClass); if (args.length == 0) { Scriptable s = ScriptRuntime.toObject(funObj, val); Scriptable scope = s.getParentScope(); return ScriptRuntime.call(cx, val, scope, ScriptRuntime.emptyArgs, scope); } else { Scriptable newThis = args[0] == null ? ScriptableObject.getTopLevelScope(thisObj) : ScriptRuntime.toObject(funObj, args[0]); Object[] newArgs = new Object[args.length - 1]; System.arraycopy(args, 1, newArgs, 0, newArgs.length); return ScriptRuntime.call(cx, val, newThis, newArgs, newThis); } }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/ea784f12624d5ef9899dfbae006ec438e546253e/BaseFunction.java/buggy/js/rhino/src/org/mozilla/javascript/BaseFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 3828, 2083, 67, 1991, 12, 1042, 9494, 16, 22780, 15261, 16, 29159, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1033, 1244, 273, 15261, 18, 588, 15646, 12, 3651, 5576, 18, 2083, 797, 1769, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 22780, 272, 273, 7739, 5576, 18, 869, 921, 12, 12125, 2675, 16, 1244, 1769, 5411, 22780, 2146, 273, 272, 18, 588, 3054, 3876, 5621, 5411, 327, 7739, 5576, 18, 1991, 12, 71, 92, 16, 1244, 16, 2146, 16, 7739, 5576, 18, 5531, 2615, 16, 4766, 4202, 2146, 1769, 3639, 289, 469, 288, 5411, 22780, 394, 2503, 273, 833, 63, 20, 65, 422, 446, 4766, 692, 22780, 921, 18, 588, 27046, 3876, 12, 2211, 2675, 13, 4766, 294, 7739, 5576, 18, 869, 921, 12, 12125, 2675, 16, 833, 63, 20, 19226, 5411, 1033, 8526, 394, 2615, 273, 394, 1033, 63, 1968, 18, 2469, 300, 404, 15533, 5411, 2332, 18, 1126, 3530, 12, 1968, 16, 404, 16, 394, 2615, 16, 374, 16, 394, 2615, 18, 2469, 1769, 5411, 327, 7739, 5576, 18, 1991, 12, 71, 92, 16, 1244, 16, 394, 2503, 16, 394, 2615, 16, 394, 2503, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 3828, 2083, 67, 1991, 12, 1042, 9494, 16, 22780, 15261, 16, 29159, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1033, 1244, 273, 15261, 18, 588, 15646, 12, 3651, 5576, 18, 2083, 797, 1769, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 22780, 272, 273, 7739, 5576, 18, 869, 921, 12, 12125, 2675, 16, 1244, 1769, 5411, 22780, 2146, 273, 272, 18, 588, 3054, 3876, 5621, 5411, 327, 7739, 5576, 18, 1991, 12, 71, 92, 16, 1244, 16, 2146, 16, 7739, 5576, 18, 5531, 2615, 16, 4766, 4202, 2146, 1769, 3639, 289, 469, 288, 5411, 22780, 394, 2503, 273, 833, 63, 20, 65, 422, 446, 2 ]
HttpServletRequest request = ( HttpServletRequest ) runOptions
HttpServletRequest request = (HttpServletRequest) runOptions
public String runReport( IViewerReportDesignHandle design, String outputDocName, InputOptions runOptions, Map parameters ) throws ReportServiceException { IReportRunnable runnable; String reportDesignName = design.getFileName( ); HttpServletRequest request = ( HttpServletRequest ) runOptions .getOption( InputOptions.OPT_REQUEST ); Locale locale = ( Locale ) runOptions .getOption( InputOptions.OPT_LOCALE ); try { runnable = ReportEngineService.getInstance( ).openReportDesign( reportDesignName ); } catch ( EngineException e ) { throw new ReportServiceException( e.getLocalizedMessage( ) ); } Map parsedParams = getParsedParameters( design, runOptions, parameters ); try { ReportEngineService.getInstance( ).runReport( request, runnable, outputDocName, locale, ( HashMap ) parsedParams ); } catch ( RemoteException e ) { e.printStackTrace( ); throw new ReportServiceException( e.getLocalizedMessage( ) ); } return outputDocName; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/4f2d0a24ff9ec8881defea107bb54374df18cb9c/BirtViewerReportService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1086, 4820, 12, 467, 18415, 4820, 15478, 3259, 8281, 16, 1082, 202, 780, 876, 1759, 461, 16, 2741, 1320, 1086, 1320, 16, 1635, 1472, 262, 1082, 202, 15069, 8706, 15133, 202, 95, 202, 202, 45, 4820, 20013, 14685, 31, 202, 202, 780, 2605, 15478, 461, 273, 8281, 18, 588, 4771, 12, 11272, 202, 202, 2940, 18572, 590, 273, 261, 9984, 262, 1086, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 11272, 202, 202, 3916, 2573, 273, 261, 6458, 262, 1086, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 2681, 6914, 273, 8706, 4410, 1179, 18, 588, 1442, 12, 262, 18, 3190, 4820, 15478, 12, 6862, 202, 6006, 15478, 461, 11272, 202, 202, 97, 202, 202, 14683, 261, 10507, 503, 425, 262, 202, 202, 95, 1082, 202, 12849, 394, 8706, 15133, 12, 425, 18, 588, 2042, 1235, 1079, 12, 262, 11272, 202, 202, 97, 202, 202, 863, 2707, 1370, 273, 25406, 2402, 12, 8281, 16, 1086, 1320, 16, 1472, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 4820, 4410, 1179, 18, 588, 1442, 12, 262, 18, 2681, 4820, 12, 590, 16, 14685, 16, 6862, 202, 2844, 1759, 461, 16, 2573, 16, 261, 4317, 262, 2707, 1370, 11272, 202, 202, 97, 202, 202, 14683, 261, 18361, 425, 262, 202, 202, 95, 1082, 202, 73, 18, 1188, 6332, 12, 11272, 1082, 202, 12849, 394, 8706, 15133, 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, 1086, 4820, 12, 467, 18415, 4820, 15478, 3259, 8281, 16, 1082, 202, 780, 876, 1759, 461, 16, 2741, 1320, 1086, 1320, 16, 1635, 1472, 262, 1082, 202, 15069, 8706, 15133, 202, 95, 202, 202, 45, 4820, 20013, 14685, 31, 202, 202, 780, 2605, 15478, 461, 273, 8281, 18, 588, 4771, 12, 11272, 202, 202, 2940, 18572, 590, 273, 261, 9984, 262, 1086, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 11272, 202, 202, 3916, 2573, 273, 261, 6458, 262, 1086, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 2681, 6914, 273, 8706, 4410, 1179, 18, 588, 2 ]
getJsp().include(CmsWorkplaceAction.C_JSP_WORKPLACE_COMMONS_PATH + "error.html");
getJsp().include(CmsWorkplaceAction.C_PATH_JSP_WORKPLACE_COMMONS + "error.html");
public void actionRename() throws JspException { // save initialized instance of this class in request attribute for included sub-elements getJsp().getRequest().setAttribute(C_SESSION_WORKPLACE_CLASS, this); try { performRenameOperation(); // if no exception is caused rename operation was successful getJsp().include(CmsWorkplaceAction.C_JSP_WORKPLACE_FILELIST); } catch (CmsException e) { // prepare common message part String message = "<p>\n" + key("source") + ": " + getParamFile() + "<br>\n" + key("target") + ": " + getParamTarget() + "\n</p>\n"; // error during copy, show error dialog setParamErrorstack(e.getStackTraceAsString()); setParamMessage(message + key("error.message." + getParamDialogtype())); getJsp().include(CmsWorkplaceAction.C_JSP_WORKPLACE_COMMONS_PATH + "error.html"); } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/b578cd7fdb67e88db69ff83766c892199ea7498f/CmsRename.java/buggy/src/org/opencms/workplace/CmsRename.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1301, 16019, 1435, 1216, 27485, 288, 3639, 368, 1923, 6454, 791, 434, 333, 667, 316, 590, 1566, 364, 5849, 720, 17, 6274, 3639, 31162, 7675, 588, 691, 7675, 542, 1499, 12, 39, 67, 7042, 67, 10566, 12134, 67, 5237, 16, 333, 1769, 3639, 775, 288, 5411, 3073, 16019, 2988, 5621, 5411, 368, 309, 1158, 1520, 353, 15848, 6472, 1674, 1703, 6873, 5411, 31162, 7675, 6702, 12, 4747, 16514, 1803, 18, 39, 67, 46, 3118, 67, 10566, 12134, 67, 3776, 7085, 1769, 5375, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 368, 2911, 2975, 883, 1087, 5411, 514, 883, 273, 3532, 84, 5333, 82, 6, 1171, 397, 498, 2932, 3168, 7923, 397, 6398, 315, 397, 9027, 812, 1435, 397, 3532, 2848, 5333, 82, 6, 1171, 397, 498, 2932, 3299, 7923, 397, 6398, 315, 397, 9027, 2326, 1435, 397, 1548, 82, 1757, 84, 5333, 82, 14432, 29159, 368, 555, 4982, 1610, 16, 2405, 555, 6176, 5411, 22911, 668, 3772, 12, 73, 18, 588, 6332, 8092, 10663, 5411, 22911, 1079, 12, 2150, 397, 498, 2932, 1636, 18, 2150, 1199, 397, 9027, 6353, 723, 1435, 10019, 5411, 31162, 7675, 6702, 12, 4747, 16514, 1803, 18, 39, 67, 4211, 67, 46, 3118, 67, 10566, 12134, 67, 4208, 17667, 55, 397, 315, 1636, 18, 2620, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1301, 16019, 1435, 1216, 27485, 288, 3639, 368, 1923, 6454, 791, 434, 333, 667, 316, 590, 1566, 364, 5849, 720, 17, 6274, 3639, 31162, 7675, 588, 691, 7675, 542, 1499, 12, 39, 67, 7042, 67, 10566, 12134, 67, 5237, 16, 333, 1769, 3639, 775, 288, 5411, 3073, 16019, 2988, 5621, 5411, 368, 309, 1158, 1520, 353, 15848, 6472, 1674, 1703, 6873, 5411, 31162, 7675, 6702, 12, 4747, 16514, 1803, 18, 39, 67, 46, 3118, 67, 10566, 12134, 67, 3776, 7085, 1769, 5375, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 368, 2911, 2975, 883, 1087, 5411, 514, 883, 273, 3532, 84, 5333, 82, 6, 1171, 397, 498, 2932, 3168, 7923, 397, 6398, 315, 397, 9027, 2 ]
((NSWindowController) familyEditWindow.delegate()).setDocument(this); if (((NSButton) sender).tag() == 1) { ((FamilyEditController) familyEditWindow.delegate()).setFamily(primaryIndividual.getFamilyAsChild()); } NSApplication nsapp = NSApplication.sharedApplication(); nsapp.beginSheet(familyEditWindow, mainWindow, this, new NSSelector("sheetDidEndShouldClose2", new Class[]{}), null); }
( (NSWindowController) familyEditWindow.delegate()).setDocument(this); if ( ( (NSButton) sender).tag() == 1) { ( (FamilyEditController) familyEditWindow.delegate()).setFamily(primaryIndividual.getFamilyAsChild()); } NSApplication nsapp = NSApplication.sharedApplication(); nsapp.beginSheet(familyEditWindow, mainWindow, this, new NSSelector("sheetDidEndShouldClose2", new Class[] {}), null); }
public void openFamilyEditSheet(Object sender) { /* IBAction */ ((NSWindowController) familyEditWindow.delegate()).setDocument(this); if (((NSButton) sender).tag() == 1) { ((FamilyEditController) familyEditWindow.delegate()).setFamily(primaryIndividual.getFamilyAsChild()); } NSApplication nsapp = NSApplication.sharedApplication(); nsapp.beginSheet(familyEditWindow, mainWindow, this, new NSSelector("sheetDidEndShouldClose2", new Class[]{}), null); //nsapp.runModalForWindow(familyEditWindow); //nsapp.endSheet(familyEditWindow); //familyEditWindow.orderOut(this); }
6190 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6190/7b30da2f47cbda6e16406770c133332adb1b4079/MyDocument.java/clean/MacPAF/src/MyDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1696, 9203, 4666, 8229, 12, 921, 5793, 13, 288, 1748, 23450, 1803, 1195, 3639, 14015, 3156, 3829, 2933, 13, 6755, 4666, 3829, 18, 22216, 1435, 2934, 542, 2519, 12, 2211, 1769, 3639, 309, 261, 12443, 3156, 3616, 13, 5793, 2934, 2692, 1435, 422, 404, 13, 288, 5411, 14015, 9203, 4666, 2933, 13, 6755, 4666, 3829, 18, 22216, 1435, 2934, 542, 9203, 12, 8258, 29834, 18, 588, 9203, 1463, 1763, 10663, 3639, 289, 3639, 11472, 3208, 3153, 2910, 273, 11472, 3208, 18, 11574, 3208, 5621, 3639, 3153, 2910, 18, 10086, 8229, 12, 9309, 4666, 3829, 16, 2774, 3829, 16, 333, 16, 394, 423, 1260, 292, 1229, 2932, 8118, 18250, 1638, 14309, 4605, 22, 3113, 394, 1659, 8526, 2916, 3631, 446, 1769, 3639, 368, 2387, 2910, 18, 2681, 20191, 1290, 3829, 12, 9309, 4666, 3829, 1769, 3639, 368, 2387, 2910, 18, 409, 8229, 12, 9309, 4666, 3829, 1769, 3639, 368, 9309, 4666, 3829, 18, 1019, 1182, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1696, 9203, 4666, 8229, 12, 921, 5793, 13, 288, 1748, 23450, 1803, 1195, 3639, 14015, 3156, 3829, 2933, 13, 6755, 4666, 3829, 18, 22216, 1435, 2934, 542, 2519, 12, 2211, 1769, 3639, 309, 261, 12443, 3156, 3616, 13, 5793, 2934, 2692, 1435, 422, 404, 13, 288, 5411, 14015, 9203, 4666, 2933, 13, 6755, 4666, 3829, 18, 22216, 1435, 2934, 542, 9203, 12, 8258, 29834, 18, 588, 9203, 1463, 1763, 10663, 3639, 289, 3639, 11472, 3208, 3153, 2910, 273, 11472, 3208, 18, 11574, 3208, 5621, 3639, 3153, 2910, 18, 10086, 8229, 12, 9309, 4666, 3829, 16, 2774, 3829, 16, 333, 16, 394, 423, 1260, 292, 1229, 2932, 8118, 18250, 1638, 14309, 4605, 22, 3113, 394, 1659, 8526, 2 ]