rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
return rubyFrame.getIter() != Iter.ITER_NOT;
return getRubyFrame().getIter() != Iter.ITER_NOT;
public boolean isBlockGiven() { return rubyFrame.getIter() != Iter.ITER_NOT; }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/f220dcff8a7e427e32a7f1f1bc78f38876b83620/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 31394, 6083, 1435, 288, 3639, 327, 4170, 10340, 3219, 7675, 588, 2360, 1435, 480, 3016, 18, 11844, 67, 4400, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 31394, 6083, 1435, 288, 3639, 327, 4170, 10340, 3219, 7675, 588, 2360, 1435, 480, 3016, 18, 11844, 67, 4400, 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 ]
dataIn = new DataInputStream(new BufferedInputStream(socket.getInputStream())); dataOut = new DataOutputStream(new BufferedOutputStream(socket.getOutputStream())); UMOMessageAdapter adapter = null;
public void run() { try { int counter = 0; do { //useful if keep alive is implemented if (isServerSide() && ++counter > 500) { counter = 0; Thread.yield(); } if (disposing.get() || socket.isClosed()) { logger.debug("Peer closed connection"); break; } dataIn = new DataInputStream(new BufferedInputStream(socket.getInputStream())); dataOut = new DataOutputStream(new BufferedOutputStream(socket.getOutputStream())); UMOMessageAdapter adapter = null; Properties headers = new Properties(); byte[] payload = parseRequest(dataIn, headers); if (payload == null) break; adapter = connector.getMessageAdapter(new Object[]{payload, headers}); boolean http11 = ((String) adapter.getProperty(HttpConnector.HTTP_VERSION_PROPERTY)) .equalsIgnoreCase(HttpConstants.HTTP11); if (!http11) { keepAlive = adapter.getProperty(HttpConstants.HEADER_KEEP_ALIVE) != null; } else { String connection = (String) adapter.getProperty(HttpConstants.HEADER_CONNECTION); if (connection != null && connection.equalsIgnoreCase("close")) { keepAlive = false; } else { keepAlive = true; } } if (keepAlive && !keepAliveRegistered) { keepAliveRegistered = true; if (keepAliveMonitor != null) { keepAliveMonitor.addExpirable(((HttpConnector)connector).getKeepAliveTimeout(), this); } else { logger.info("Request has Keep alive set but the HttpConnector has keep alive disables"); keepAlive = false; } } if (adapter != null) { UMOMessage message = new MuleMessage(adapter); if (logger.isDebugEnabled()) { logger.debug((String) message.getProperty(HttpConnector.HTTP_REQUEST_PROPERTY)); } OutputStream os = new ResponseOutputStream(dataOut, socket); UMOMessage returnMessage = routeMessage(message, endpoint.isSynchronous(), os); if (returnMessage == null) { returnMessage = new MuleMessage("", null); } //Do response code mapping //This is handled generically by handleExcetion method// if(returnMessage.getExceptionPayload()!=null) {// String responseCode = ExceptionHelper.getErrorMapping(connector.getProtocol(), returnMessage.getExceptionPayload().getCode());// returnMessage.setIntProperty(HttpConnector.HTTP_STATUS_PROPERTY, Integer.parseInt(responseCode));// //returnMessage = new MuleMessage(returnMessage.getExceptionPayload().getMessage(), returnMessage.getProperties());// } RequestContext.rewriteEvent(returnMessage); Object response = responseTransformer.transform(returnMessage.getPayload()); if(response instanceof byte[]) { dataOut.write((byte[])response); } else { dataOut.write(response.toString().getBytes()); } dataOut.flush(); if (keepAliveMonitor != null) { keepAliveMonitor.resetExpirable(this); } } } while (!socket.isClosed() && keepAlive); } catch (Exception e) { keepAlive = false; handleException(e); } finally { if(keepAliveMonitor!=null) { keepAliveMonitor.removeExpirable(this); } dispose(); } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/360f2bed4978d8f5b7a265769b7e3d53ab90f8a4/HttpMessageReceiver.java/clean/providers/http/src/java/org/mule/providers/http/HttpMessageReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 3639, 288, 5411, 775, 5411, 288, 7734, 509, 3895, 273, 374, 31, 7734, 741, 7734, 288, 10792, 368, 1202, 2706, 309, 3455, 13714, 353, 8249, 10792, 309, 261, 291, 2081, 8895, 1435, 597, 965, 7476, 405, 6604, 13, 10792, 288, 13491, 3895, 273, 374, 31, 13491, 4884, 18, 23604, 5621, 10792, 289, 10792, 309, 261, 2251, 24014, 18, 588, 1435, 747, 2987, 18, 291, 7395, 10756, 10792, 288, 13491, 1194, 18, 4148, 2932, 6813, 4375, 1459, 8863, 13491, 898, 31, 10792, 289, 10792, 501, 382, 273, 394, 29382, 12, 2704, 24742, 12, 7814, 18, 588, 4348, 1435, 10019, 10792, 501, 1182, 273, 394, 28680, 12, 2704, 28649, 12, 7814, 18, 588, 4632, 1435, 10019, 10792, 587, 5980, 1079, 4216, 4516, 273, 446, 31, 10792, 6183, 1607, 273, 394, 6183, 5621, 10792, 1160, 8526, 2385, 273, 1109, 691, 12, 892, 382, 16, 1607, 1769, 10792, 309, 261, 7648, 422, 446, 13, 898, 31, 10792, 4516, 273, 8703, 18, 24906, 4216, 12, 2704, 1033, 63, 7073, 7648, 16, 1607, 22938, 10792, 1250, 1062, 2499, 273, 14015, 780, 13, 4516, 18, 588, 1396, 12, 2940, 7487, 18, 3693, 67, 5757, 67, 9900, 3719, 18701, 263, 14963, 5556, 12, 2940, 2918, 18, 3693, 2499, 1769, 10792, 309, 16051, 2505, 2499, 13, 10792, 288, 13491, 24115, 273, 4516, 18, 588, 1396, 12, 2940, 2918, 18, 7557, 67, 6859, 10541, 67, 1013, 5354, 13, 480, 446, 31, 10792, 289, 469, 10792, 288, 13491, 514, 1459, 273, 261, 780, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 3639, 288, 5411, 775, 5411, 288, 7734, 509, 3895, 273, 374, 31, 7734, 741, 7734, 288, 10792, 368, 1202, 2706, 309, 3455, 13714, 353, 8249, 10792, 309, 261, 291, 2081, 8895, 1435, 597, 965, 7476, 405, 6604, 13, 10792, 288, 13491, 3895, 273, 374, 31, 13491, 4884, 18, 23604, 5621, 10792, 289, 10792, 309, 261, 2251, 24014, 18, 588, 1435, 747, 2987, 18, 291, 7395, 10756, 10792, 288, 13491, 1194, 18, 4148, 2932, 6813, 4375, 1459, 8863, 13491, 898, 31, 10792, 289, 10792, 501, 382, 273, 394, 29382, 12, 2704, 24742, 12, 7814, 18, 588, 4348, 1435, 10019, 10792, 501, 1182, 273, 394, 28680, 12, 2704, 28649, 12, 7814, 18, 588, 4632, 1435, 10019, 2 ]
{ return modificationId; }
{ return modificationId; }
final public static int getModificationId() { return modificationId; }
51612 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51612/8c7fded16a75ce2a1f0300235fd1af96b502ea2e/UserCount.java/buggy/wicket-library/src/java/wicket/addons/utils/UserCount.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 1071, 760, 509, 336, 13467, 548, 1435, 565, 288, 3639, 327, 11544, 548, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 1071, 760, 509, 336, 13467, 548, 1435, 565, 288, 3639, 327, 11544, 548, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
mgr.getUser(user.getId().toString());
mgr.getUser(user.getUsername());
public void testCRUDUser() throws Exception { if (log.isDebugEnabled()) { log.debug("BEGIN"); } User user = TestHelper.makeDummyUser(); mgr.saveUser(user); // by id User user2 = mgr.getUser(user.getId().toString()); assertTrue(user.equals(user2)); // by username User user3 = mgr.getUserByUsername(user.getUsername()); assertTrue(user.equals(user2)); user3.setPassword("new password"); User user4 = mgr.updateUser(user3); assertTrue(user4.getPassword().equals(user3.getPassword())); assertTrue(! user4.getPassword().equals(user.getPassword())); mgr.removeUser(user.getId().toString()); try { mgr.getUser(user.getId().toString()); fail("user not removed"); } catch (DataRetrievalFailureException e) { // expected } }
47226 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47226/1ae6b7d00ab681becd1b5b011131441c75810884/ProvisioningManagerTest.java/buggy/src/test/java/org/osaf/cosmo/manager/ProvisioningManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5093, 12587, 1299, 1435, 1216, 1185, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 5411, 613, 18, 4148, 2932, 16061, 8863, 3639, 289, 3639, 2177, 729, 273, 7766, 2276, 18, 6540, 20094, 1299, 5621, 3639, 13333, 18, 5688, 1299, 12, 1355, 1769, 3639, 368, 635, 612, 3639, 2177, 729, 22, 273, 13333, 18, 588, 1299, 12, 1355, 18, 588, 8575, 10663, 3639, 1815, 5510, 12, 1355, 18, 14963, 12, 1355, 22, 10019, 3639, 368, 635, 2718, 3639, 2177, 729, 23, 273, 13333, 18, 588, 31004, 8575, 12, 1355, 18, 588, 8575, 10663, 3639, 1815, 5510, 12, 1355, 18, 14963, 12, 1355, 22, 10019, 3639, 729, 23, 18, 542, 3913, 2932, 2704, 2201, 8863, 3639, 2177, 729, 24, 273, 13333, 18, 2725, 1299, 12, 1355, 23, 1769, 3639, 1815, 5510, 12, 1355, 24, 18, 588, 3913, 7675, 14963, 12, 1355, 23, 18, 588, 3913, 1435, 10019, 3639, 1815, 5510, 12, 5, 729, 24, 18, 588, 3913, 7675, 14963, 12, 1355, 18, 588, 3913, 1435, 10019, 3639, 13333, 18, 4479, 1299, 12, 1355, 18, 26321, 7675, 10492, 10663, 3639, 775, 288, 5411, 13333, 18, 588, 1299, 12, 1355, 18, 588, 8575, 10663, 5411, 2321, 2932, 1355, 486, 3723, 8863, 3639, 289, 1044, 261, 751, 27356, 14389, 425, 13, 288, 5411, 368, 2665, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5093, 12587, 1299, 1435, 1216, 1185, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 288, 5411, 613, 18, 4148, 2932, 16061, 8863, 3639, 289, 3639, 2177, 729, 273, 7766, 2276, 18, 6540, 20094, 1299, 5621, 3639, 13333, 18, 5688, 1299, 12, 1355, 1769, 3639, 368, 635, 612, 3639, 2177, 729, 22, 273, 13333, 18, 588, 1299, 12, 1355, 18, 588, 8575, 10663, 3639, 1815, 5510, 12, 1355, 18, 14963, 12, 1355, 22, 10019, 3639, 368, 635, 2718, 3639, 2177, 729, 23, 273, 13333, 18, 588, 31004, 8575, 12, 1355, 18, 588, 8575, 10663, 3639, 1815, 5510, 12, 1355, 18, 14963, 12, 1355, 22, 10019, 3639, 729, 23, 18, 542, 3913, 2932, 2704, 2201, 2 ]
if (! Character.isJavaIdentifierStart(c))
if (! isVMIdentifierStart(c))
public static boolean isJavaClassNameInternalForm( char val[], int first, int last) { if (val[first++] != ClassTypeCode) // the L return false; if (val[last--] != ';') // malformed("a class ('L') must end in a ';'"); return false; boolean identStart = true; // pretend we just saw a separator for (int i = first; i <= last; ++i) { char c = val[i]; if (identStart) { if (! Character.isJavaIdentifierStart(c)) return false; // failure to match identifier start. identStart = false; // on to the next one. continue; } if (c == '/') { identStart = true; continue; } /* We have a character that is not the first one of a Java identifier */ if (!Character.isJavaIdentifierPart(c)) return false; // for Jikes 1.22, the -target 1.5 option causes anonymous // classes to be named <class name>-<num> instead of // <class name>$<num>. isJavaIdentifierPart will return false // for a '-' in this situation which means compiling the // Jikes RVM with jikes with -target 1.5 won't work. You can // add "&& (c != '-')" to the test above to avoid this // problem /* And on we go around the loop */ } // Must not finish by needing the start of another identifier. return ! identStart; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/2b9095f9debace912f6b8d80becfcdb35d97c29c/VM_TypeDescriptorParsing.java/buggy/rvm/src/vm/classLoader/VM_TypeDescriptorParsing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 353, 5852, 3834, 3061, 1204, 12, 7734, 1149, 1244, 63, 6487, 509, 1122, 16, 509, 1142, 13, 282, 288, 565, 309, 261, 1125, 63, 3645, 9904, 65, 480, 1659, 15460, 13, 368, 326, 511, 1377, 327, 629, 31, 565, 309, 261, 1125, 63, 2722, 413, 65, 480, 7554, 13, 1377, 368, 17458, 2932, 69, 667, 7707, 48, 6134, 1297, 679, 316, 279, 7554, 8863, 1377, 327, 629, 31, 565, 1250, 3390, 1685, 273, 638, 31, 225, 368, 675, 17445, 732, 2537, 19821, 279, 4182, 565, 364, 261, 474, 277, 273, 1122, 31, 277, 1648, 1142, 31, 965, 77, 13, 288, 1377, 1149, 276, 273, 1244, 63, 77, 15533, 1377, 309, 261, 6392, 1685, 13, 288, 3639, 309, 16051, 353, 7397, 3004, 1685, 12, 71, 3719, 1850, 327, 629, 31, 540, 368, 5166, 358, 845, 2756, 787, 18, 3639, 3390, 1685, 273, 629, 31, 377, 368, 603, 358, 326, 1024, 1245, 18, 3639, 1324, 31, 1377, 289, 1377, 309, 261, 71, 422, 2023, 13, 288, 3639, 3390, 1685, 273, 638, 31, 3639, 1324, 31, 1377, 289, 1377, 1748, 1660, 1240, 279, 3351, 716, 353, 486, 326, 1122, 1245, 434, 279, 5110, 2756, 1195, 1377, 309, 16051, 7069, 18, 291, 5852, 3004, 1988, 12, 71, 3719, 3639, 327, 629, 31, 1377, 368, 364, 804, 25235, 404, 18, 3787, 16, 326, 300, 3299, 404, 18, 25, 1456, 14119, 13236, 1377, 368, 3318, 358, 506, 4141, 411, 1106, 508, 34, 17, 32, 2107, 34, 3560, 434, 1377, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 353, 5852, 3834, 3061, 1204, 12, 7734, 1149, 1244, 63, 6487, 509, 1122, 16, 509, 1142, 13, 282, 288, 565, 309, 261, 1125, 63, 3645, 9904, 65, 480, 1659, 15460, 13, 368, 326, 511, 1377, 327, 629, 31, 565, 309, 261, 1125, 63, 2722, 413, 65, 480, 7554, 13, 1377, 368, 17458, 2932, 69, 667, 7707, 48, 6134, 1297, 679, 316, 279, 7554, 8863, 1377, 327, 629, 31, 565, 1250, 3390, 1685, 273, 638, 31, 225, 368, 675, 17445, 732, 2537, 19821, 279, 4182, 565, 364, 261, 474, 277, 273, 1122, 31, 277, 1648, 1142, 31, 965, 77, 13, 288, 1377, 1149, 276, 273, 1244, 63, 77, 15533, 1377, 309, 261, 6392, 1685, 13, 288, 2 ]
ret.append("\nreceived_msgs: "); for(Enumeration e=received_msgs.keys(); e.hasMoreElements();) { Address key=(Address)e.nextElement(); NakReceiverWindow w=(NakReceiverWindow)received_msgs.get(key); ret.append("\n" + w.toString()); }
ret.append("\nreceived_msgs: "); for(Enumeration e=received_msgs.keys(); e.hasMoreElements();) { Address key=(Address)e.nextElement(); NakReceiverWindow w=(NakReceiverWindow)received_msgs.get(key); ret.append("\n" + w.toString()); }
String dumpContents() { StringBuffer ret=new StringBuffer(); ret.append("\nsent_msgs: " + sent_msgs.size()); ret.append("\nreceived_msgs: "); for(Enumeration e=received_msgs.keys(); e.hasMoreElements();) { Address key=(Address)e.nextElement(); NakReceiverWindow w=(NakReceiverWindow)received_msgs.get(key); ret.append("\n" + w.toString()); } ret.append("\nsender_win: " + sender_win.toString()); return ret.toString(); }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/3a7a5d6ef9a8f574da3e45b696950d0b4bb12acc/NAKACK.java/clean/src/org/jgroups/protocols/NAKACK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 780, 4657, 6323, 1435, 288, 202, 565, 6674, 325, 33, 2704, 6674, 5621, 202, 565, 325, 18, 6923, 31458, 2387, 319, 67, 27439, 30, 315, 397, 3271, 67, 27439, 18, 1467, 10663, 202, 565, 325, 18, 6923, 31458, 82, 15213, 67, 27439, 30, 315, 1769, 202, 565, 364, 12, 21847, 425, 33, 15213, 67, 27439, 18, 2452, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 202, 202, 1887, 498, 28657, 1887, 13, 73, 18, 4285, 1046, 5621, 202, 202, 50, 581, 12952, 3829, 341, 28657, 50, 581, 12952, 3829, 13, 15213, 67, 27439, 18, 588, 12, 856, 1769, 202, 202, 1349, 18, 6923, 31458, 82, 6, 397, 341, 18, 10492, 10663, 202, 565, 289, 202, 565, 325, 18, 6923, 31458, 2387, 2345, 67, 8082, 30, 315, 397, 5793, 67, 8082, 18, 10492, 10663, 202, 565, 327, 325, 18, 10492, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 780, 4657, 6323, 1435, 288, 202, 565, 6674, 325, 33, 2704, 6674, 5621, 202, 565, 325, 18, 6923, 31458, 2387, 319, 67, 27439, 30, 315, 397, 3271, 67, 27439, 18, 1467, 10663, 202, 565, 325, 18, 6923, 31458, 82, 15213, 67, 27439, 30, 315, 1769, 202, 565, 364, 12, 21847, 425, 33, 15213, 67, 27439, 18, 2452, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 202, 202, 1887, 498, 28657, 1887, 13, 73, 18, 4285, 1046, 5621, 202, 202, 50, 581, 12952, 3829, 341, 28657, 50, 581, 12952, 3829, 13, 15213, 67, 27439, 18, 588, 12, 856, 1769, 202, 202, 1349, 18, 6923, 31458, 82, 6, 397, 341, 18, 10492, 10663, 202, 565, 289, 202, 565, 2 ]
String repStr = (String)fieldMap.get("repeatable"); repeatable = "true".equalsIgnoreCase(repStr) || "yes".equalsIgnoreCase(repStr); label = (String)fieldMap.get("label"); inputType = (String)fieldMap.get("input-type"); if ( "dropdown".equals( inputType) || "qualdrop_value".equals( inputType )) { valueListName = (String)fieldMap.get("value-pairs-name"); valueList = (List)listMap.get( valueListName ); } hint = (String)fieldMap.get("hint"); warning = (String)fieldMap.get("required"); required = ( warning != null && warning.length() > 0 ); visibility = (String)fieldMap.get("visibility");
String repStr = (String) fieldMap.get("repeatable"); repeatable = "true".equalsIgnoreCase(repStr) || "yes".equalsIgnoreCase(repStr); label = (String) fieldMap.get("label"); inputType = (String) fieldMap.get("input-type"); if ("dropdown".equals(inputType) || "qualdrop_value".equals(inputType)) { valueListName = (String) fieldMap.get("value-pairs-name"); valueList = (List) listMap.get(valueListName); } hint = (String) fieldMap.get("hint"); warning = (String) fieldMap.get("required"); required = (warning != null && warning.length() > 0); visibility = (String) fieldMap.get("visibility"); vocabulary = (String) fieldMap.get("vocabulary");
public DCInput(Map fieldMap, Map listMap) { dcElement = (String)fieldMap.get("dc-element"); dcQualifier = (String)fieldMap.get("dc-qualifier"); // Default the schema to dublin core dcSchema = (String)fieldMap.get("dc-schema"); if (dcSchema == null) { dcSchema = MetadataSchema.DC_SCHEMA; } String repStr = (String)fieldMap.get("repeatable"); repeatable = "true".equalsIgnoreCase(repStr) || "yes".equalsIgnoreCase(repStr); label = (String)fieldMap.get("label"); inputType = (String)fieldMap.get("input-type"); // these types are list-controlled if ( "dropdown".equals( inputType) || "qualdrop_value".equals( inputType )) { valueListName = (String)fieldMap.get("value-pairs-name"); valueList = (List)listMap.get( valueListName ); } hint = (String)fieldMap.get("hint"); warning = (String)fieldMap.get("required"); required = ( warning != null && warning.length() > 0 ); visibility = (String)fieldMap.get("visibility"); }
31338 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31338/09b200a563efc77be8bd8eceb05423772e261e18/DCInput.java/buggy/dspace/src/org/dspace/app/webui/util/DCInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21533, 1210, 12, 863, 29646, 16, 1635, 666, 863, 13, 565, 288, 377, 202, 7201, 1046, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 7201, 17, 2956, 8863, 3639, 202, 7201, 16185, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 7201, 17, 28157, 8863, 7734, 368, 2989, 326, 1963, 358, 302, 29056, 2922, 3639, 202, 7201, 3078, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 7201, 17, 4821, 8863, 3639, 309, 261, 7201, 3078, 422, 446, 13, 288, 5411, 6744, 3078, 273, 6912, 3078, 18, 5528, 67, 14233, 31, 3639, 289, 3639, 202, 780, 2071, 1585, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 9374, 429, 8863, 3639, 202, 9374, 429, 273, 315, 3767, 9654, 14963, 5556, 12, 14462, 1585, 13, 747, 315, 9707, 9654, 14963, 5556, 12, 14462, 1585, 1769, 3639, 202, 1925, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 1925, 8863, 3639, 202, 2630, 559, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 2630, 17, 723, 8863, 3639, 202, 759, 4259, 1953, 854, 666, 17, 7098, 1259, 3639, 202, 430, 261, 315, 18787, 9654, 14963, 12, 21092, 13, 747, 315, 3369, 7285, 67, 1132, 9654, 14963, 12, 21092, 8623, 3639, 202, 95, 3639, 202, 202, 1132, 682, 461, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 1132, 17, 11545, 17, 529, 8863, 3639, 202, 202, 1132, 682, 273, 261, 682, 13, 1098, 863, 18, 588, 12, 460, 682, 461, 11272, 3639, 202, 97, 3639, 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, 1071, 21533, 1210, 12, 863, 29646, 16, 1635, 666, 863, 13, 565, 288, 377, 202, 7201, 1046, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 7201, 17, 2956, 8863, 3639, 202, 7201, 16185, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 7201, 17, 28157, 8863, 7734, 368, 2989, 326, 1963, 358, 302, 29056, 2922, 3639, 202, 7201, 3078, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 7201, 17, 4821, 8863, 3639, 309, 261, 7201, 3078, 422, 446, 13, 288, 5411, 6744, 3078, 273, 6912, 3078, 18, 5528, 67, 14233, 31, 3639, 289, 3639, 202, 780, 2071, 1585, 273, 261, 780, 13, 1518, 863, 18, 588, 2932, 9374, 429, 8863, 3639, 202, 9374, 429, 273, 315, 2 ]
static WikiItem create(int id, Folder folder, short volumeId, String wikiword, String author, byte[] content, MailItem parent)
static WikiItem create(int id, Folder folder, short volumeId, String wikiword, String author, ParsedDocument pd, MailItem parent)
static WikiItem create(int id, Folder folder, short volumeId, String wikiword, String author, byte[] content, MailItem parent) throws ServiceException { assert(parent instanceof Document); Metadata meta = new Metadata(); meta.put(Metadata.FN_WIKI_WORD, wikiword); meta.put(Metadata.FN_CREATOR, author); UnderlyingData data = prepareCreate(TYPE_WIKI, id, folder, volumeId, wikiword, author, WIKI_CONTENT_TYPE, content, (Document)parent, meta); if (parent != null) data.parentId = parent.getId(); Mailbox mbox = folder.getMailbox(); data.contentChanged(mbox); DbMailItem.create(mbox, data); WikiItem wiki = new WikiItem(mbox, data); wiki.finishCreation(parent);// doc.reindex(); return wiki; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/9f655a631d3615aac2a1ba6cdb1c0ac85f3e86cc/WikiItem.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/WikiItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 28268, 1180, 752, 12, 474, 612, 16, 12623, 3009, 16, 3025, 3940, 548, 16, 514, 9050, 1095, 16, 514, 2869, 16, 19244, 2519, 4863, 16, 11542, 1180, 982, 13, 565, 1216, 16489, 288, 377, 202, 11231, 12, 2938, 1276, 4319, 1769, 3639, 6912, 2191, 273, 394, 6912, 5621, 202, 202, 3901, 18, 458, 12, 2277, 18, 19793, 67, 23109, 47, 45, 67, 7952, 16, 9050, 1095, 1769, 202, 202, 3901, 18, 458, 12, 2277, 18, 19793, 67, 5458, 3575, 16, 2869, 1769, 1082, 3639, 21140, 6291, 751, 501, 273, 2911, 1684, 12, 2399, 67, 23109, 47, 45, 16, 612, 16, 3009, 16, 3940, 548, 16, 9050, 1095, 16, 2869, 16, 678, 45, 47, 45, 67, 9689, 67, 2399, 16, 913, 16, 261, 2519, 13, 2938, 16, 2191, 1769, 3639, 309, 261, 2938, 480, 446, 13, 5411, 501, 18, 2938, 548, 273, 982, 18, 26321, 5621, 202, 202, 30239, 312, 2147, 273, 3009, 18, 588, 30239, 5621, 202, 202, 892, 18, 1745, 5033, 12, 81, 2147, 1769, 3639, 8408, 6759, 1180, 18, 2640, 12, 81, 2147, 16, 501, 1769, 3639, 28268, 1180, 9050, 273, 394, 28268, 1180, 12, 81, 2147, 16, 501, 1769, 3639, 9050, 18, 13749, 9906, 12, 2938, 1769, 759, 3639, 997, 18, 266, 1615, 5621, 3639, 327, 9050, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 28268, 1180, 752, 12, 474, 612, 16, 12623, 3009, 16, 3025, 3940, 548, 16, 514, 9050, 1095, 16, 514, 2869, 16, 19244, 2519, 4863, 16, 11542, 1180, 982, 13, 565, 1216, 16489, 288, 377, 202, 11231, 12, 2938, 1276, 4319, 1769, 3639, 6912, 2191, 273, 394, 6912, 5621, 202, 202, 3901, 18, 458, 12, 2277, 18, 19793, 67, 23109, 47, 45, 67, 7952, 16, 9050, 1095, 1769, 202, 202, 3901, 18, 458, 12, 2277, 18, 19793, 67, 5458, 3575, 16, 2869, 1769, 1082, 3639, 21140, 6291, 751, 501, 273, 2911, 1684, 12, 2399, 67, 23109, 47, 45, 16, 612, 16, 3009, 16, 3940, 548, 16, 9050, 1095, 16, 2869, 16, 678, 45, 47, 45, 67, 9689, 67, 2 ]
this.attributeNames = attributeNames; }
this.attributeNames = attributeNames; }
public void setAttributeNames(String[] attributeNames) { this.attributeNames = attributeNames; }
49053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49053/5fe7bce159b1f86b58cfbf34a296c91d93ca32f9/TreeAnnotator.java/buggy/trunk/src/dr/app/tools/TreeAnnotator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 4730, 1557, 12, 780, 8526, 1566, 1557, 13, 288, 1082, 202, 2211, 18, 4589, 1557, 273, 1566, 1557, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3196, 202, 482, 918, 4730, 1557, 12, 780, 8526, 1566, 1557, 13, 288, 1082, 202, 2211, 18, 4589, 1557, 273, 1566, 1557, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super(reason, minor, completed);
super(message, 0, CompletionStatus.COMPLETED_NO);
BAD_INV_ORDER(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/d76fc1ac7b86065dfd63caf24bd069ff0ecfa278/BAD_INV_ORDER.java/buggy/core/src/classpath/org/org/omg/CORBA/BAD_INV_ORDER.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 16467, 67, 706, 58, 67, 7954, 12, 780, 3971, 16, 509, 8439, 16, 20735, 1482, 5951, 13, 225, 288, 565, 2240, 12, 2150, 16, 374, 16, 20735, 1482, 18, 15795, 40, 67, 3417, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 16467, 67, 706, 58, 67, 7954, 12, 780, 3971, 16, 509, 8439, 16, 20735, 1482, 5951, 13, 225, 288, 565, 2240, 12, 2150, 16, 374, 16, 20735, 1482, 18, 15795, 40, 67, 3417, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void actionPerformed(ActionEvent e) { logger.debug ("Player wrote: "+playerChatText.getText()); String text = playerChatText.getText(); text = text.trim(); if (text.length() == 0) return; if(text.charAt(0)!='/') { // Chat command. The most frequent one. RPAction chat=new RPAction(); chat.put("type","chat"); chat.put("text",playerChatText.getText()); client.send(chat); } else { if(text.startsWith("//") && lastPlayerTell!=null) { String[] command = parseString(text, 2); if(command != null) { RPAction tell = new RPAction(); tell.put("type","tell"); tell.put("target", lastPlayerTell); tell.put("text", command[1]); client.send(tell); } } if(text.startsWith("/tell ") ||text.startsWith("/msg ")) // Tell command { String[] command = parseString(text, 3); if(command != null) { RPAction tell = new RPAction(); tell.put("type","tell"); lastPlayerTell= command[1]; tell.put("target", command[1]); tell.put("text", command[2]); client.send(tell); } } else if(text.startsWith("/support ")) // Support command { String[] command = parseString(text, 2); if(command != null) { RPAction tell = new RPAction(); tell.put("type","support"); tell.put("text", command[1]); client.send(tell); } } else if(text.startsWith("/where ")) // Tell command { String[] command = parseString(text, 2); if(command != null) { RPAction where = new RPAction(); where.put("type","where"); where.put("target", command[1]); client.send(where); } } else if(text.equals("/who")) // Who command { RPAction who = new RPAction(); who.put("type","who"); client.send(who); } else if(text.startsWith("/drop ")) // Drop command { String[] command = parseString(text, 3); if(command != null) { String itemName = command[2]; int quantity; try { quantity = Integer.parseInt(command[1]); } catch (NumberFormatException ex) { return; } RPObject player = client.getPlayer(); int itemID = -1; for(RPObject item: player.getSlot("bag")) { if (item.get("name").equals(itemName)) { itemID = item.getID().getObjectID(); break; } } if (itemID != -1) { RPAction drop = new RPAction(); drop.put("type", "drop"); drop.put("baseobject", player.getID().getObjectID()); drop.put("baseslot", "bag"); drop.put("x", player.get("x")); drop.put("y", player.get("y")); drop.put("quantity", quantity); drop.put("baseitem", itemID); client.send(drop); } else { client.addEventLine("You don't have any "+itemName, Color.black); } } } else if(text.startsWith("/add ")) // Add a new buddy to buddy list { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","addbuddy"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/remove ")) // Removes a existing buddy from buddy list { String[] command = parseString(text, 2); if(command != null) { RPAction remove = new RPAction(); remove.put("type","removebuddy"); remove.put("target", command[1]); client.send(remove); } } else if(text.startsWith("/tellall ")) // Tell everybody admin command { String[] command = parseString(text, 2); if(command != null) { RPAction tellall = new RPAction(); tellall.put("type","tellall"); tellall.put("text", command[1]); client.send(tellall); } } else if(text.startsWith("/teleport ")) // Teleport target(PLAYER NAME) to zone-x,y { String[] command = parseString(text, 5); if(command != null) { RPAction teleport = new RPAction(); teleport.put("type","teleport"); teleport.put("target", command[1]); teleport.put("zone", command[2]); teleport.put("x", command[3]); teleport.put("y", command[4]); client.send(teleport); } } else if(text.startsWith("/teleportto ")) // TeleportTo target(PLAYER NAME) { String[] command = parseString(text, 2); if(command != null) { RPAction teleport = new RPAction(); teleport.put("type","teleportto"); teleport.put("target", command[1]); client.send(teleport); } } else if(text.startsWith("/alter ")) // Set/Add/Substract target(PLAYER NAME) attribute { String[] command = parseString(text, 5); if(command != null) { RPAction alter = new RPAction(); alter.put("type","alter"); alter.put("target", command[1]); alter.put("stat", command[2]); alter.put("mode", command[3]); alter.put("value", command[4]); client.send(alter); } } else if(text.startsWith("/summon ")) // Summon a creature at x,y { String[] command = parseString(text, 4); if(command != null) { RPAction summon = new RPAction(); summon.put("type","summon"); summon.put("creature", command[1]); summon.put("x", command[2]); summon.put("y", command[3]); client.send(summon); } } else if(text.startsWith("/summonat ")) // Summon a creature at x,y { String[] command; command = parseString(text, 5); if(command != null && !command[4].trim().equals("")) { RPAction summon = new RPAction(); summon.put("type","summonat"); summon.put("target", command[1]); summon.put("slot", command[2]); summon.put("item", command[3]); summon.put("amount", command[4]); client.send(summon); } else { command = parseString(text, 4); if(command != null) { RPAction summon = new RPAction(); summon.put("type","summonat"); summon.put("target", command[1]); summon.put("slot", command[2]); summon.put("item", command[3]); client.send(summon); } } } else if(text.startsWith("/inspect ")) // Returns a complete description of the target { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","inspect"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/jail ")) // Returns a complete description of the target { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","jail"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/script ")) // Script command { String[] command = parseString(text, 2); if(command != null) { RPAction script = new RPAction(); script.put("type","script"); script.put("target", command[1]); client.send(script); } } else if(text.startsWith("/quit")) { client.getGameGUI().showQuitDialog(); } else if(text.startsWith("/invisible")) // Makes admin invisible for creatures { RPAction invisible = new RPAction(); invisible.put("type","invisible"); client.send(invisible); } else if(text.equals("/help")) // Help command { String[] lines={"Detailed manual refer at http://arianne.sourceforge.net/wiki/index.php/StendhalManual", "This brief help show you the most used commands:", "- /tell <player> <message> \tWrites a private message to player", "- /msg <player> <message> \tWrites a private message to player", "- // <message> \t\tWrites a private message to last player we talked with", "- /support <message> \tAsk for support to admins", "- /who \t\tShow online players", "- /drop <quantity> <item>\tDrops a amount of items from player.", "- /add <player> \t\tAdd player to the buddy list", "- /remove <player> \tRemoves player from buddy list", "- /where <player> \t\tPrints the location of the player", "- /quit \t\tLeaves the game", "- /sound volume <value> \tsets sound system loudness (0..100)", "- /sound mute <value> \tsets sound system mute (on/off)" }; for(String line: lines) { StendhalClient.get().addEventLine(line,Color.gray); } } else if(text.equals("/gmhelp")) // Help command { String[] lines={"Detailed manual refer at http://arianne.sourceforge.net/wiki/index.php?title=Stendhal:Administration", "This brief help show you the most used gm commands:", "- /tellall <message> \t\tWrites a private message to all players", "- /jail <player> \t\tSend a player directly to jail", "- /script <scriptname> \t\tload or reload a server side groovy script", "- /teleport <player> <zone> <x> <y> \tTeleport the player ", "- /teleportto <player> \t\tTeleport us to the player ", "- /alter <player> <attrib> <mode> <value> \tChange by SETting, ADDing or SUBtracting the stat of player", "- /summon <creature|item> <x> <y> \tSummon an item or creature at x,y", "- /summonat <player> <slot> <item> <amount> Summon an item at the slot of the given player", "- /invisible \t\t\tMakes this player invisible for creatures", "- /inspect <player> \t\t\tShows detailed info about the player", "- /destroy <entity> \t\t\tDestroy completly an entity." }; for(String line: lines) { StendhalClient.get().addEventLine(line,Color.gray); } } else if(text.startsWith("/sound ")) // Sound Setup command { String[] command = parseString(text, 3); if ( command != null ) { if ( command[1].equals( "mute" ) ) { SoundSystem.get().setMute( command[2].indexOf("on") != -1 ); } if ( command[1].equals( "volume" ) ) { int vol = Integer.parseInt(command[2]); SoundSystem.get().setVolume( vol ); } } } } lines.add(playerChatText.getText()); actual=lines.size(); if(lines.size()>50) { lines.remove(0); actual--; } playerChatText.setText(""); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/2c5d8c48e540e0e8bdaf2b72c3edd55f8838d406/StendhalChatLineListener.java/clean/src/games/stendhal/client/gui/StendhalChatLineListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 1128, 13889, 12, 1803, 1133, 73, 15329, 4901, 18, 4148, 2932, 12148, 91, 21436, 2773, 15, 14872, 14163, 1528, 18, 588, 1528, 10663, 780, 955, 33, 14872, 14163, 1528, 18, 588, 1528, 5621, 955, 33, 955, 18, 5290, 5621, 430, 12, 955, 18, 2469, 1435, 631, 20, 13, 2463, 31, 430, 12, 955, 18, 3001, 861, 12, 20, 13, 5, 2218, 2473, 15329, 759, 14163, 3076, 18, 1315, 351, 669, 74, 4523, 319, 476, 18, 54, 52, 1803, 10880, 33, 2704, 54, 52, 1803, 5621, 10880, 18, 458, 2932, 723, 15937, 10880, 8863, 10880, 18, 458, 2932, 955, 3113, 14872, 14163, 1528, 18, 588, 1528, 10663, 2625, 18, 4661, 12, 10880, 1769, 97, 12107, 95, 430, 12, 955, 18, 17514, 1190, 2932, 759, 7923, 10, 10, 2722, 12148, 21009, 5, 33, 2011, 15329, 780, 8526, 3076, 33, 2670, 780, 12, 955, 16, 22, 1769, 430, 12, 3076, 5, 33, 2011, 15329, 54, 52, 1803, 88, 1165, 33, 2704, 54, 52, 1803, 5621, 88, 1165, 18, 458, 2932, 723, 15937, 88, 1165, 8863, 88, 1165, 18, 458, 2932, 3299, 3113, 2722, 12148, 21009, 1769, 88, 1165, 18, 458, 2932, 955, 3113, 3076, 63, 21, 19226, 2625, 18, 4661, 12, 88, 1165, 1769, 9090, 430, 12, 955, 18, 17514, 1190, 2932, 19, 88, 1165, 7923, 20081, 955, 18, 17514, 1190, 2932, 19, 3576, 6, 3719, 759, 21009, 3076, 95, 780, 8526, 3076, 33, 2670, 780, 12, 955, 16, 23, 1769, 430, 12, 3076, 5, 33, 2011, 15329, 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, 1128, 13889, 12, 1803, 1133, 73, 15329, 4901, 18, 4148, 2932, 12148, 91, 21436, 2773, 15, 14872, 14163, 1528, 18, 588, 1528, 10663, 780, 955, 33, 14872, 14163, 1528, 18, 588, 1528, 5621, 955, 33, 955, 18, 5290, 5621, 430, 12, 955, 18, 2469, 1435, 631, 20, 13, 2463, 31, 430, 12, 955, 18, 3001, 861, 12, 20, 13, 5, 2218, 2473, 15329, 759, 14163, 3076, 18, 1315, 351, 669, 74, 4523, 319, 476, 18, 54, 52, 1803, 10880, 33, 2704, 54, 52, 1803, 5621, 10880, 18, 458, 2932, 723, 15937, 10880, 8863, 10880, 18, 458, 2932, 955, 3113, 14872, 14163, 1528, 18, 588, 1528, 10663, 2625, 18, 4661, 12, 10880, 1769, 97, 12107, 95, 430, 12, 2 ]
atts.addAttribute("", "", "xmlns:" + ns.getPrefix(), "CDATA", ns.getURI());
String prefix = ns.getPrefix(); if (prefix.equals("")) { atts.addAttribute("", "", "xmlns", "CDATA", ns.getURI()); } else { atts.addAttribute("", "", "xmlns:" + ns.getPrefix(), "CDATA", ns.getURI()); }
private AttributesImpl addNsAttribute(AttributesImpl atts, Namespace ns) { if (this.declareNamespaces) { if (atts == null) { atts = new AttributesImpl(); } atts.addAttribute("", // namespace "", // local name "xmlns:" + ns.getPrefix(), // qualified name "CDATA", // type ns.getURI()); // value } return atts; }
49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/12f7f2fc76ca8c300abbd8ea2fbdf5a18ec2bf39/SAXOutputter.java/buggy/core/src/java/org/jdom/output/SAXOutputter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9055, 2828, 527, 10386, 1499, 12, 2498, 2828, 15687, 16, 6005, 3153, 13, 288, 3639, 309, 261, 2211, 18, 29554, 13180, 13, 288, 5411, 309, 261, 270, 3428, 422, 446, 13, 288, 7734, 15687, 273, 394, 9055, 2828, 5621, 5411, 289, 5411, 15687, 18, 1289, 1499, 2932, 3113, 12900, 368, 1981, 17311, 23453, 12900, 368, 1191, 508, 17311, 315, 16741, 2773, 397, 3153, 18, 588, 2244, 9334, 282, 368, 9348, 508, 17311, 315, 18375, 3113, 5397, 368, 618, 17311, 3153, 18, 588, 3098, 10663, 7734, 368, 460, 3639, 289, 3639, 327, 15687, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9055, 2828, 527, 10386, 1499, 12, 2498, 2828, 15687, 16, 6005, 3153, 13, 288, 3639, 309, 261, 2211, 18, 29554, 13180, 13, 288, 5411, 309, 261, 270, 3428, 422, 446, 13, 288, 7734, 15687, 273, 394, 9055, 2828, 5621, 5411, 289, 5411, 15687, 18, 1289, 1499, 2932, 3113, 12900, 368, 1981, 17311, 23453, 12900, 368, 1191, 508, 17311, 315, 16741, 2773, 397, 3153, 18, 588, 2244, 9334, 282, 368, 9348, 508, 17311, 315, 18375, 3113, 5397, 368, 618, 17311, 3153, 18, 588, 3098, 10663, 7734, 368, 460, 3639, 289, 3639, 327, 15687, 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 ]
double k0 = 0.9996012717;
public void latlon2xy(GeoPoint p) { // converts lat/long to UTM coords. Equations from USGS Bulletin 1532 // North latitudes are positive, South latitudes are negative // East longitudes are positive, West longitudes are negative // lat and long are in decimal degrees // Written by Chuck Gantz- chuck.gantz@globalstar.com // ported to Ruby by Ben Gimpert- ben@somethingmodern.com double k0 = 0.9996012717; double lat_rad = p.lat * DEG_TO_RAD; double long_temp = (p.lon + 180) - (Math.floor((p.lon + 180) / 360) * 360) - 180; double long_rad = long_temp * DEG_TO_RAD; double long_origin = (zone - 1)*6 - 180 + 3; // +3 puts origin in middle of zone double long_origin_rad = long_origin * DEG_TO_RAD; double ecc_prime_squared = ellipsoid.ecc_squared / (1 - ellipsoid.ecc_squared); double n = ellipsoid.a / Math.sqrt(1 - ellipsoid.ecc_squared * Math.sin(lat_rad) * Math.sin(lat_rad)); double t = Math.tan(lat_rad) * Math.tan(lat_rad); double c = ecc_prime_squared * Math.cos(lat_rad) * Math.cos(lat_rad); double a = Math.cos(lat_rad) * (long_rad - long_origin_rad); double e2 = ellipsoid.ecc_squared*ellipsoid.ecc_squared; double e3 = e2*ellipsoid.ecc_squared; double m = ellipsoid.a * (((1 - ellipsoid.ecc_squared/4 - 3*e2/64 - 5*e3/256)*lat_rad) - ((3*ellipsoid.ecc_squared/8 + 3*e2/32 + 45*e3/1024)*Math.sin(2*lat_rad)) + ((15*e2/256 + 45*e3/1024)*Math.sin(4*lat_rad)) - ((35*e3/3072)*Math.sin(6*lat_rad))); p.x = k0*n*(a+(1-t+c)*a*a*a/6 + (5-18*t+t*t+72*c-58*ecc_prime_squared)*a*a*a*a*a/120) + 500000.0; p.y = k0*(m+n*Math.tan(lat_rad)*(a*a/2+(5-t+9*c+4*c*c)*a*a*a*a/24 + (61-58*t+t*t+600*c-330*ecc_prime_squared)*a*a*a*a*a*a/720)); if (p.lat < 0) p.y += 10000000.0; // offset for southern hemisphere }
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/a231737ab0ede08daa1a4e4cfa2ec3780c438a88/UTM.java/buggy/src/org/openstreetmap/josm/data/projection/UTM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2516, 9379, 22, 1698, 12, 12447, 2148, 293, 13, 288, 202, 202, 759, 7759, 2516, 19, 5748, 358, 4732, 49, 6074, 18, 19008, 1012, 628, 11836, 16113, 605, 19994, 267, 4711, 1578, 202, 202, 759, 423, 7825, 2516, 24751, 854, 6895, 16, 348, 15347, 2516, 24751, 854, 6092, 202, 202, 759, 512, 689, 1525, 24751, 854, 6895, 16, 678, 395, 1525, 24751, 854, 6092, 202, 202, 759, 2516, 471, 1525, 854, 316, 6970, 10904, 202, 202, 759, 10423, 2253, 635, 1680, 9031, 611, 970, 94, 17, 462, 9031, 18, 75, 970, 94, 36, 6347, 10983, 18, 832, 202, 202, 759, 1756, 329, 358, 19817, 635, 605, 275, 611, 381, 672, 17, 324, 275, 36, 30289, 1711, 8865, 18, 832, 202, 202, 9056, 417, 20, 273, 374, 18, 2733, 10525, 1611, 5324, 4033, 31, 9506, 202, 9056, 2516, 67, 6012, 273, 293, 18, 4801, 380, 2030, 43, 67, 4296, 67, 28829, 31, 202, 202, 9056, 1525, 67, 5814, 273, 261, 84, 18, 9379, 397, 9259, 13, 300, 261, 10477, 18, 74, 5807, 12443, 84, 18, 9379, 397, 9259, 13, 342, 12360, 13, 380, 12360, 13, 300, 9259, 31, 202, 202, 9056, 1525, 67, 6012, 273, 1525, 67, 5814, 380, 2030, 43, 67, 4296, 67, 28829, 31, 9506, 202, 9056, 1525, 67, 10012, 273, 261, 3486, 300, 404, 17653, 26, 300, 9259, 397, 890, 31, 225, 368, 397, 23, 8200, 4026, 316, 7689, 434, 4157, 202, 202, 9056, 1525, 67, 10012, 67, 6012, 273, 1525, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2516, 9379, 22, 1698, 12, 12447, 2148, 293, 13, 288, 202, 202, 759, 7759, 2516, 19, 5748, 358, 4732, 49, 6074, 18, 19008, 1012, 628, 11836, 16113, 605, 19994, 267, 4711, 1578, 202, 202, 759, 423, 7825, 2516, 24751, 854, 6895, 16, 348, 15347, 2516, 24751, 854, 6092, 202, 202, 759, 512, 689, 1525, 24751, 854, 6895, 16, 678, 395, 1525, 24751, 854, 6092, 202, 202, 759, 2516, 471, 1525, 854, 316, 6970, 10904, 202, 202, 759, 10423, 2253, 635, 1680, 9031, 611, 970, 94, 17, 462, 9031, 18, 75, 970, 94, 36, 6347, 10983, 18, 832, 202, 202, 759, 1756, 329, 358, 19817, 635, 605, 275, 611, 381, 672, 17, 324, 275, 36, 30289, 2 ]
try { MyTokenizer st = new MyTokenizer(s, " ,\t,/,:,\\,");
try { MyTokenizer st = new MyTokenizer(s, " ,\t,/,:,\\,");
public void parseClassifierRole(MClassifierRole cls, String s) throws ParseException { String name = null; String token; String role = null; String base = null; Vector bases = null; boolean hasColon = false; boolean hasSlash = false; try { MyTokenizer st = new MyTokenizer(s, " ,\t,/,:,\\,"); while (st.hasMoreTokens()) { token = st.nextToken(); if (" ".equals(token) || "\t".equals(token)) { ; // Do nothing } else if ("/".equals(token)) { hasSlash = true; hasColon = false; if (base != null) { if (bases == null) bases = new Vector(); bases.add(base); } base = null; } else if (":".equals(token)) { hasColon = true; hasSlash = false; if (bases == null) bases = new Vector(); if (base != null) bases.add(base); base = null; } else if (",".equals(token)) { if (base != null) { if (bases == null) bases = new Vector(); bases.add(base); } base = null; } else if (hasColon) { if (base != null) throw new ParseException("Extra text in Classifier Role", st.getTokenIndex()); base = token; } else if (hasSlash) { if (role != null) throw new ParseException("Extra text in Classifier Role", st.getTokenIndex()); role = token; } else { if (name != null) throw new ParseException("Extra text in Classifier Role", st.getTokenIndex()); name = token; } } } catch (NoSuchElementException nsee) { throw new ParseException("Unexpected end of attribute", s.length()); } catch (ParseException pre) { _cat.error("parseexception", pre); throw pre; } if (base != null) { if (bases == null) bases = new Vector(); bases.add(base); }// TODO: What to do about object name???// if (name != null)// ; if (role != null) cls.setName(role.trim()); if (bases != null) { // Remove bases that aren't there anymore Collection b = cls.getBases(); Iterator it = b.iterator(); MClassifier c; MNamespace ns = cls.getNamespace(); if (ns != null && ns.getNamespace() != null) ns = ns.getNamespace(); else ns = cls.getModel(); while (it.hasNext()) { c = (MClassifier) it.next(); if (!bases.contains(c.getName())) cls.removeBase(c); } it = bases.iterator();addBases: while (it.hasNext()) { String d = ((String) it.next()).trim(); Iterator it2 = b.iterator(); while (it2.hasNext()) { c = (MClassifier) it2.next(); if (d.equals(c.getName())) continue addBases; } c = getType(d, ns); if (c.getNamespace() instanceof MCollaboration) c.setNamespace(ns); cls.addBase(c); } } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ParserDisplay.java/clean/src_new/org/argouml/uml/generator/ParserDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1109, 13860, 2996, 12, 49, 13860, 2996, 2028, 16, 514, 272, 13, 202, 202, 15069, 10616, 288, 565, 514, 508, 273, 446, 31, 565, 514, 1147, 31, 565, 514, 2478, 273, 446, 31, 565, 514, 1026, 273, 446, 31, 565, 5589, 8337, 273, 446, 31, 565, 1250, 711, 19636, 273, 629, 31, 565, 1250, 711, 11033, 273, 629, 31, 565, 775, 288, 202, 12062, 10524, 384, 273, 394, 8005, 10524, 12, 87, 16, 315, 269, 64, 88, 16, 19, 16, 30, 16, 1695, 16, 8863, 202, 17523, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 202, 565, 1147, 273, 384, 18, 4285, 1345, 5621, 202, 565, 309, 7566, 3552, 14963, 12, 2316, 13, 747, 1548, 88, 9654, 14963, 12, 2316, 3719, 288, 202, 202, 31, 368, 2256, 5083, 202, 565, 289, 469, 309, 7566, 4898, 18, 14963, 12, 2316, 3719, 288, 202, 202, 5332, 11033, 273, 638, 31, 202, 202, 5332, 19636, 273, 629, 31, 202, 202, 430, 261, 1969, 480, 446, 13, 288, 1082, 565, 309, 261, 18602, 422, 446, 13, 1082, 202, 18602, 273, 394, 5589, 5621, 1082, 565, 8337, 18, 1289, 12, 1969, 1769, 202, 202, 97, 202, 202, 1969, 273, 446, 31, 202, 565, 289, 469, 309, 7566, 2773, 18, 14963, 12, 2316, 3719, 288, 202, 202, 5332, 19636, 273, 638, 31, 202, 202, 5332, 11033, 273, 629, 31, 202, 202, 430, 261, 18602, 422, 446, 13, 1082, 565, 8337, 273, 394, 5589, 5621, 202, 202, 430, 261, 1969, 480, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1109, 13860, 2996, 12, 49, 13860, 2996, 2028, 16, 514, 272, 13, 202, 202, 15069, 10616, 288, 565, 514, 508, 273, 446, 31, 565, 514, 1147, 31, 565, 514, 2478, 273, 446, 31, 565, 514, 1026, 273, 446, 31, 565, 5589, 8337, 273, 446, 31, 565, 1250, 711, 19636, 273, 629, 31, 565, 1250, 711, 11033, 273, 629, 31, 565, 775, 288, 202, 12062, 10524, 384, 273, 394, 8005, 10524, 12, 87, 16, 315, 269, 64, 88, 16, 19, 16, 30, 16, 1695, 16, 8863, 202, 17523, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 202, 565, 1147, 273, 384, 18, 4285, 1345, 5621, 202, 565, 309, 7566, 3552, 14963, 12, 2316, 13, 747, 1548, 88, 2 ]
actionForward.setRedirect(false);
actionForward.setRedirect(true);
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { IUserView userView = null; ActionForward forwardToReturn; try { DynaActionForm authenticationForm = (DynaActionForm) form; ActionMappingForAuthentication authenticationMapping = (ActionMappingForAuthentication) mapping; final String username = (String) authenticationForm.get("username"); final String password = (String) authenticationForm.get("password"); final String application = authenticationMapping.getApplication(); final String requestURL = request.getRequestURL().toString(); Object argsAutenticacao[] = { username, password, application, requestURL }; userView = (IUserView) ServiceManagerServiceFactory.executeService(null, "Autenticacao", argsAutenticacao); } catch (ExcepcaoAutenticacao e) { ActionErrors actionErrors = new ActionErrors(); actionErrors.add("invalidAuthentication", new ActionError("errors.invalidAuthentication")); saveErrors(request, actionErrors); return mapping.getInputForward(); } if (userView.getRoles().isEmpty()) { ActionErrors actionErrors = new ActionErrors(); actionErrors.add("errors.noAuthorization", new ActionError("errors.noAuthorization")); saveErrors(request, actionErrors); return mapping.getInputForward(); } // Invalidate existing session if it exists HttpSession sessao = request.getSession(false); HttpServletRequest originalRequest = null; ActionForward actionForward = null; if (sessao != null) { originalRequest = (HttpServletRequest) sessao.getAttribute("ORIGINAL_REQUEST"); System.out.println("ORIGINAL_REQUEST" + originalRequest); if (originalRequest != null) { System.out.println("ORIGINAL_REQUEST uri: " + originalRequest.getRequestURI()); actionForward = new ActionForward(); actionForward.setContextRelative(false); actionForward.setRedirect(false); System.out.println("Original URI reconstruction: " + sessao.getAttribute("ORIGINAL_URI")); final String originalURI = (String) sessao.getAttribute("ORIGINAL_URI"); actionForward.setPath(originalURI.substring(APP_CONTEXT_LENGTH)); // Set request attributes final Map<String, Object> attributeMap = (Map<String, Object>) sessao.getAttribute("ORIGINAL_ATTRIBUTE_MAP"); for (final Entry<String, Object> entry : attributeMap.entrySet()) { request.setAttribute(entry.getKey(), entry.getValue()); } } sessao.invalidate(); } // Create a new session for this user sessao = request.getSession(true); // Store the UserView into the session and return sessao.setAttribute(SessionConstants.U_VIEW, userView); sessao.setAttribute(SessionConstants.SESSION_IS_VALID, new Boolean(true)); if (originalRequest != null) { return actionForward; } Collection userRoles = userView.getRoles(); int numberOfSubApplications = getNumberOfSubApplications(userRoles); forwardToReturn = mapping.findForward("sucess"); Iterator iterator = userRoles.iterator(); InfoRole firstInfoRole = null; while (iterator.hasNext()) { firstInfoRole = (InfoRole) iterator.next(); break; } InfoRole firstTimeStudentInfoRole = new InfoRole(); firstTimeStudentInfoRole.setRoleType(RoleType.FIRST_TIME_STUDENT); if (userRoles.contains(firstTimeStudentInfoRole)) { //ActionErrors actionErrors = new ActionErrors(); //actionErrors.add("invalidAuthentication", new // ActionError("errors.invalidAuthentication")); //saveErrors(request, actionErrors); //return mapping.getInputForward(); //TODO impose a period time limit InfoRole infoRole = getRole(RoleType.FIRST_TIME_STUDENT, userRoles); forwardToReturn = buildRoleForward(infoRole); } else { InfoRole personInfoRole = new InfoRole(); personInfoRole.setRoleType(RoleType.PERSON); if (numberOfSubApplications == 1 || !userRoles.contains(personInfoRole)) { forwardToReturn = buildRoleForward(firstInfoRole); } } return forwardToReturn; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/1f4e50e8efadb2a712997e842531fc4a0161b9fb/AuthenticationAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/AuthenticationAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 1836, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 9984, 590, 16, 5411, 12446, 766, 13, 1216, 1185, 288, 3639, 467, 1299, 1767, 729, 1767, 273, 446, 31, 3639, 4382, 8514, 5104, 27014, 31, 3639, 775, 288, 5411, 463, 23041, 1803, 1204, 5107, 1204, 273, 261, 10419, 69, 1803, 1204, 13, 646, 31, 5411, 4382, 3233, 1290, 6492, 5107, 3233, 273, 261, 1803, 3233, 1290, 6492, 13, 2874, 31, 1082, 202, 6385, 514, 2718, 273, 261, 780, 13, 5107, 1204, 18, 588, 2932, 5053, 8863, 1082, 202, 6385, 514, 2201, 273, 261, 780, 13, 5107, 1204, 18, 588, 2932, 3664, 8863, 1082, 202, 6385, 514, 2521, 273, 5107, 3233, 18, 588, 3208, 5621, 1082, 202, 6385, 514, 590, 1785, 273, 590, 18, 588, 691, 1785, 7675, 10492, 5621, 5411, 1033, 833, 7150, 4499, 1077, 6033, 8526, 273, 288, 2718, 16, 2201, 16, 2521, 16, 590, 1785, 289, 31, 5411, 729, 1767, 273, 261, 45, 1299, 1767, 13, 1956, 1318, 1179, 1733, 18, 8837, 1179, 12, 2011, 16, 315, 7150, 4499, 1077, 6033, 3113, 10792, 833, 7150, 4499, 1077, 6033, 1769, 3639, 289, 1044, 261, 424, 311, 2436, 6033, 7150, 4499, 1077, 6033, 425, 13, 288, 5411, 4382, 4229, 1301, 4229, 273, 394, 4382, 4229, 5621, 5411, 1301, 4229, 18, 1289, 2932, 5387, 6492, 3113, 394, 4382, 668, 2932, 4324, 18, 5387, 6492, 7923, 1769, 5411, 1923, 4229, 12, 2293, 16, 1301, 4229, 1769, 5411, 327, 2874, 18, 588, 1210, 8514, 5621, 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, 4382, 8514, 1836, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 9984, 590, 16, 5411, 12446, 766, 13, 1216, 1185, 288, 3639, 467, 1299, 1767, 729, 1767, 273, 446, 31, 3639, 4382, 8514, 5104, 27014, 31, 3639, 775, 288, 5411, 463, 23041, 1803, 1204, 5107, 1204, 273, 261, 10419, 69, 1803, 1204, 13, 646, 31, 5411, 4382, 3233, 1290, 6492, 5107, 3233, 273, 261, 1803, 3233, 1290, 6492, 13, 2874, 31, 1082, 202, 6385, 514, 2718, 273, 261, 780, 13, 5107, 1204, 18, 588, 2932, 5053, 8863, 1082, 202, 6385, 514, 2201, 273, 261, 780, 13, 5107, 1204, 18, 588, 2932, 3664, 8863, 1082, 202, 6385, 514, 2521, 273, 5107, 3233, 18, 588, 3208, 5621, 1082, 2 ]
if (!bin)
if (!bin)
public byte[][] ReceiveTuple(int nf, boolean bin) throws SQLException { int i, bim = (nf + 7)/8; byte[] bitmask = Receive(bim); byte[][] answer = bytePoolDim2.allocByte(nf); 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; }
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/45b5d792afa60ae24d57cdceaaec0e03cf6abb2a/PG_Stream.java/buggy/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, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 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, 2 ]
for (int i = 0; i < children.length; i++) internalExpandToLevel(children[i], newLevel);
for (int i = 0; i < children.length; i++) { internalExpandToLevel(children[i], newLevel); }
protected void internalExpandToLevel(Widget widget, int level) { if (level == ALL_LEVELS || level > 0) { createChildren(widget); if (widget instanceof Item) setExpanded((Item) widget, true); if (level == ALL_LEVELS || level > 1) { Item[] children = getChildren(widget); if (children != null) { int newLevel = (level == ALL_LEVELS ? ALL_LEVELS : level - 1); for (int i = 0; i < children.length; i++) internalExpandToLevel(children[i], newLevel); } } } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/391f2606b4ea2c1fb5052d938ca90877ee7631f6/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2713, 12271, 774, 2355, 12, 4609, 3604, 16, 509, 1801, 13, 288, 3639, 309, 261, 2815, 422, 8061, 67, 10398, 55, 747, 1801, 405, 374, 13, 288, 377, 202, 202, 2640, 4212, 12, 6587, 1769, 5411, 309, 261, 6587, 1276, 4342, 13, 7734, 444, 17957, 12443, 1180, 13, 3604, 16, 638, 1769, 5411, 309, 261, 2815, 422, 8061, 67, 10398, 55, 747, 1801, 405, 404, 13, 288, 7734, 4342, 8526, 2325, 273, 10268, 12, 6587, 1769, 7734, 309, 261, 5906, 480, 446, 13, 288, 10792, 509, 394, 2355, 273, 261, 2815, 422, 8061, 67, 10398, 55, 692, 8061, 67, 10398, 55, 18701, 294, 1801, 300, 404, 1769, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 13491, 2713, 12271, 774, 2355, 12, 5906, 63, 77, 6487, 394, 2355, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2713, 12271, 774, 2355, 12, 4609, 3604, 16, 509, 1801, 13, 288, 3639, 309, 261, 2815, 422, 8061, 67, 10398, 55, 747, 1801, 405, 374, 13, 288, 377, 202, 202, 2640, 4212, 12, 6587, 1769, 5411, 309, 261, 6587, 1276, 4342, 13, 7734, 444, 17957, 12443, 1180, 13, 3604, 16, 638, 1769, 5411, 309, 261, 2815, 422, 8061, 67, 10398, 55, 747, 1801, 405, 404, 13, 288, 7734, 4342, 8526, 2325, 273, 10268, 12, 6587, 1769, 7734, 309, 261, 5906, 480, 446, 13, 288, 10792, 509, 394, 2355, 273, 261, 2815, 422, 8061, 67, 10398, 55, 692, 8061, 67, 10398, 55, 18701, 294, 1801, 300, 404, 1769, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 2 ]
match(input,80,FOLLOW_80_in_field704);
match(input,80,FOLLOW_80_in_field704);
public void field() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:180:17: ( modifiers ( ctorHead constructorBody | classDefinition | interfaceDefinition | typeSpec ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) ) | 'static' compoundStatement | compoundStatement ) int alt19=3; switch ( input.LA(1) ) { case 80: int LA19_1 = input.LA(2); if ( LA19_1==IDENT||(LA19_1>=68 && LA19_1<=89)||LA19_1==91 ) { alt19=1; } else if ( LA19_1==LCURLY ) { alt19=2; } else { NoViableAltException nvae = new NoViableAltException("178:1: field : ( modifiers ( ctorHead constructorBody | classDefinition | interfaceDefinition | typeSpec ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) ) | \'static\' compoundStatement | compoundStatement );", 19, 1, input); throw nvae; } break; case IDENT: case 68: case 69: case 70: case 71: case 72: case 73: case 74: case 75: case 76: case 77: case 78: case 79: case 81: case 82: case 83: case 84: case 85: case 86: case 87: case 88: case 89: case 91: alt19=1; break; case LCURLY: alt19=3; break; default: NoViableAltException nvae = new NoViableAltException("178:1: field : ( modifiers ( ctorHead constructorBody | classDefinition | interfaceDefinition | typeSpec ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) ) | \'static\' compoundStatement | compoundStatement );", 19, 0, input); throw nvae; } switch (alt19) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:180:17: modifiers ( ctorHead constructorBody | classDefinition | interfaceDefinition | typeSpec ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) ) { following.push(FOLLOW_modifiers_in_field548); modifiers(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:181:17: ( ctorHead constructorBody | classDefinition | interfaceDefinition | typeSpec ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) ) int alt18=4; switch ( input.LA(1) ) { case IDENT: int LA18_1 = input.LA(2); if ( LA18_1==LPAREN ) { alt18=1; } else if ( LA18_1==LBRACK||(LA18_1>=IDENT && LA18_1<=DOT) ) { alt18=4; } else { NoViableAltException nvae = new NoViableAltException("181:17: ( ctorHead constructorBody | classDefinition | interfaceDefinition | typeSpec ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) )", 18, 1, input); throw nvae; } break; case 89: alt18=2; break; case 91: alt18=3; break; case 68: case 69: case 70: case 71: case 72: case 73: case 74: case 75: case 76: alt18=4; break; default: NoViableAltException nvae = new NoViableAltException("181:17: ( ctorHead constructorBody | classDefinition | interfaceDefinition | typeSpec ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) )", 18, 0, input); throw nvae; } switch (alt18) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:181:25: ctorHead constructorBody { following.push(FOLLOW_ctorHead_in_field554); ctorHead(); following.pop(); following.push(FOLLOW_constructorBody_in_field556); constructorBody(); following.pop(); } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:184:25: classDefinition { following.push(FOLLOW_classDefinition_in_field568); classDefinition(); following.pop(); } break; case 3 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:187:25: interfaceDefinition { following.push(FOLLOW_interfaceDefinition_in_field586); interfaceDefinition(); following.pop(); } break; case 4 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:190:25: typeSpec ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) { following.push(FOLLOW_typeSpec_in_field600); typeSpec(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:191:25: ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI ) int alt17=2; int LA17_0 = input.LA(1); if ( LA17_0==IDENT ) { int LA17_1 = input.LA(2); if ( LA17_1==LPAREN ) { alt17=1; } else if ( LA17_1==LBRACK||LA17_1==SEMI||LA17_1==COMMA||LA17_1==ASSIGN ) { alt17=2; } else { NoViableAltException nvae = new NoViableAltException("191:25: ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI )", 17, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("191:25: ( IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) | variableDefinitions SEMI )", 17, 0, input); throw nvae; } switch (alt17) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:191:33: IDENT LPAREN parameterDeclarationList RPAREN declaratorBrackets ( throwsClause )? ( compoundStatement | SEMI ) { match(input,IDENT,FOLLOW_IDENT_in_field609); match(input,LPAREN,FOLLOW_LPAREN_in_field623); following.push(FOLLOW_parameterDeclarationList_in_field625); parameterDeclarationList(); following.pop(); match(input,RPAREN,FOLLOW_RPAREN_in_field627); following.push(FOLLOW_declaratorBrackets_in_field634); declaratorBrackets(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:200:33: ( throwsClause )? int alt15=2; int LA15_0 = input.LA(1); if ( LA15_0==95 ) { alt15=1; } else if ( (LA15_0>=LCURLY && LA15_0<=SEMI) ) { alt15=2; } else { NoViableAltException nvae = new NoViableAltException("200:33: ( throwsClause )?", 15, 0, input); throw nvae; } switch (alt15) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:200:34: throwsClause { following.push(FOLLOW_throwsClause_in_field652); throwsClause(); following.pop(); } break; } // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:202:33: ( compoundStatement | SEMI ) int alt16=2; int LA16_0 = input.LA(1); if ( LA16_0==LCURLY ) { alt16=1; } else if ( LA16_0==SEMI ) { alt16=2; } else { NoViableAltException nvae = new NoViableAltException("202:33: ( compoundStatement | SEMI )", 16, 0, input); throw nvae; } switch (alt16) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:202:35: compoundStatement { following.push(FOLLOW_compoundStatement_in_field663); compoundStatement(); following.pop(); } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:202:55: SEMI { match(input,SEMI,FOLLOW_SEMI_in_field667); } break; } } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:203:33: variableDefinitions SEMI { following.push(FOLLOW_variableDefinitions_in_field676); variableDefinitions(); following.pop(); match(input,SEMI,FOLLOW_SEMI_in_field678); } break; } } break; } } break; case 2 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:210:17: 'static' compoundStatement { match(input,80,FOLLOW_80_in_field704); following.push(FOLLOW_compoundStatement_in_field706); compoundStatement(); following.pop(); } break; case 3 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:214:17: compoundStatement { following.push(FOLLOW_compoundStatement_in_field720); compoundStatement(); following.pop(); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 652, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 18278, 30, 4033, 30, 261, 10429, 261, 15120, 1414, 3885, 2250, 571, 27494, 571, 1560, 1852, 571, 618, 1990, 261, 19768, 511, 15111, 1569, 6094, 682, 534, 15111, 3496, 5880, 23029, 261, 1216, 7044, 7851, 261, 11360, 3406, 571, 3174, 7492, 262, 571, 2190, 7130, 3174, 7492, 262, 262, 571, 296, 3845, 11, 11360, 3406, 571, 11360, 3406, 262, 5411, 509, 3770, 3657, 33, 23, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 8958, 30, 7734, 509, 2928, 3657, 67, 21, 273, 810, 18, 2534, 12, 22, 1769, 7734, 309, 261, 2928, 3657, 67, 21, 631, 13355, 20081, 12, 2534, 3657, 67, 21, 34, 33, 9470, 597, 2928, 3657, 67, 21, 32, 33, 6675, 14047, 96, 2534, 3657, 67, 21, 631, 12416, 262, 288, 10792, 3770, 3657, 33, 21, 31, 7734, 289, 7734, 469, 309, 261, 2928, 3657, 67, 21, 631, 13394, 1785, 61, 262, 288, 10792, 3770, 3657, 33, 22, 31, 7734, 289, 7734, 469, 288, 10792, 17114, 15077, 273, 13491, 394, 17114, 2932, 4033, 28, 30, 21, 30, 652, 294, 261, 10429, 261, 15120, 1414, 3885, 2250, 571, 27494, 571, 1560, 1852, 571, 618, 1990, 261, 19768, 511, 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, 652, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 18278, 30, 4033, 30, 261, 10429, 261, 15120, 1414, 3885, 2250, 571, 27494, 571, 1560, 1852, 571, 618, 1990, 261, 19768, 511, 15111, 1569, 6094, 682, 534, 15111, 3496, 5880, 23029, 261, 1216, 7044, 7851, 261, 11360, 3406, 571, 3174, 7492, 262, 571, 2190, 7130, 3174, 7492, 262, 262, 571, 296, 3845, 11, 11360, 3406, 571, 11360, 3406, 262, 5411, 509, 3770, 3657, 33, 23, 31, 5411, 1620, 2 ]
public void cancel() {
public void cancel() {
public void cancel() { editor.getEngineGrammar().cancel(); }
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/846c2ba962d7152501278defe4cbd5f2dc1d5621/CheckGrammar.java/buggy/src/org/antlr/works/grammar/CheckGrammar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3755, 1435, 288, 3639, 4858, 18, 588, 4410, 18576, 7675, 10996, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3755, 1435, 288, 3639, 4858, 18, 588, 4410, 18576, 7675, 10996, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (Iterator i = images.iterator(); i.hasNext(); ) {
for (Iterator i = images.iterator(); i.hasNext() && !header; ) {
public ArrayList getImages(float bottom) { // if the bottom of the page is higher than the top of the cell: do nothing if (top() < bottom) { return new ArrayList(); } // initialisations Image image; float height; ArrayList result = new ArrayList(); // we loop over the images for (Iterator i = images.iterator(); i.hasNext(); ) { image = (Image) i.next(); height = image.absoluteY(); // if the currentPosition is higher than the bottom, we add the line to the result if (top() - height > (bottom + cellpadding)) { image.setAbsolutePosition(image.absoluteX(), top() - height); result.add(image); i.remove(); } } return result; }
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/6017f1f19f68318ceb4c5541e34e62861c0d96a9/PdfCell.java/buggy/src/com/lowagie/text/pdf/PdfCell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2407, 336, 8946, 12, 5659, 5469, 13, 288, 7734, 368, 309, 326, 5469, 434, 326, 1363, 353, 10478, 2353, 326, 1760, 434, 326, 2484, 30, 741, 5083, 3639, 309, 261, 3669, 1435, 411, 5469, 13, 288, 5411, 327, 394, 2407, 5621, 3639, 289, 7734, 368, 2172, 291, 1012, 3639, 3421, 1316, 31, 3639, 1431, 2072, 31, 3639, 2407, 563, 273, 394, 2407, 5621, 3639, 368, 732, 2798, 1879, 326, 4602, 3639, 364, 261, 3198, 277, 273, 4602, 18, 9838, 5621, 277, 18, 5332, 2134, 1435, 597, 401, 3374, 31, 262, 288, 5411, 1316, 273, 261, 2040, 13, 277, 18, 4285, 5621, 5411, 2072, 273, 1316, 18, 12547, 61, 5621, 5411, 368, 309, 326, 22356, 353, 10478, 2353, 326, 5469, 16, 732, 527, 326, 980, 358, 326, 563, 5411, 309, 261, 3669, 1435, 300, 2072, 405, 261, 9176, 397, 2484, 9598, 3719, 288, 7734, 1316, 18, 542, 10368, 2555, 12, 2730, 18, 12547, 60, 9334, 1760, 1435, 300, 2072, 1769, 7734, 563, 18, 1289, 12, 2730, 1769, 7734, 277, 18, 4479, 5621, 5411, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2407, 336, 8946, 12, 5659, 5469, 13, 288, 7734, 368, 309, 326, 5469, 434, 326, 1363, 353, 10478, 2353, 326, 1760, 434, 326, 2484, 30, 741, 5083, 3639, 309, 261, 3669, 1435, 411, 5469, 13, 288, 5411, 327, 394, 2407, 5621, 3639, 289, 7734, 368, 2172, 291, 1012, 3639, 3421, 1316, 31, 3639, 1431, 2072, 31, 3639, 2407, 563, 273, 394, 2407, 5621, 3639, 368, 732, 2798, 1879, 326, 4602, 3639, 364, 261, 3198, 277, 273, 4602, 18, 9838, 5621, 277, 18, 5332, 2134, 1435, 597, 401, 3374, 31, 262, 288, 5411, 1316, 273, 261, 2040, 13, 277, 18, 4285, 5621, 5411, 2072, 273, 1316, 18, 12547, 61, 5621, 5411, 368, 309, 326, 22356, 353, 10478, 2353, 2 ]
checkLock(getParamResource());
checkLock(getParamResource());
public boolean performDeleteOperation(boolean isFolder) throws CmsException { int deleteOption = -1; // on folder deletion display "please wait" screen, not for simple file deletion if (isFolder && ! DIALOG_WAIT.equals(getParamAction())) { // return false, this will trigger the "please wait" screen return false; } // determine the correct delete option deleteOption = Boolean.valueOf(getParamDeleteVfsLinks()).booleanValue() ? I_CmsConstants.C_DELETE_OPTION_DELETE_SIBLINGS : I_CmsConstants.C_DELETE_OPTION_PRESERVE_SIBLINGS; // lock resource if autolock is enabled checkLock(getParamResource()); // delete the resource getCms().deleteResource(getParamResource(), deleteOption); return true; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/2fa0efcae8f9aa5971c7763269a3b033e9256d4b/CmsDelete.java/buggy/src/org/opencms/workplace/commons/CmsDelete.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 3073, 2613, 2988, 12, 6494, 31137, 13, 1216, 11228, 288, 3639, 509, 1430, 1895, 273, 300, 21, 31, 5397, 368, 603, 3009, 10899, 2562, 315, 1802, 448, 2529, 6, 5518, 16, 486, 364, 4143, 585, 10899, 3639, 309, 261, 291, 3899, 597, 401, 3690, 18683, 67, 19046, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 368, 327, 629, 16, 333, 903, 3080, 326, 315, 1802, 448, 2529, 6, 5518, 5411, 327, 629, 31, 3639, 289, 7734, 368, 4199, 326, 3434, 1430, 1456, 3639, 1430, 1895, 273, 3411, 18, 1132, 951, 12, 588, 786, 2613, 25908, 7100, 1435, 2934, 6494, 620, 1435, 5411, 692, 467, 67, 4747, 2918, 18, 39, 67, 6460, 67, 7425, 67, 6460, 67, 9894, 26789, 55, 2398, 294, 467, 67, 4747, 2918, 18, 39, 67, 6460, 67, 7425, 67, 3670, 2123, 3412, 67, 9894, 26789, 55, 31, 1171, 368, 2176, 1058, 309, 2059, 355, 975, 353, 3696, 3639, 866, 2531, 12, 588, 786, 1420, 10663, 7734, 368, 1430, 326, 1058, 3639, 14413, 7675, 3733, 1420, 12, 588, 786, 1420, 9334, 1430, 1895, 1769, 7734, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3073, 2613, 2988, 12, 6494, 31137, 13, 1216, 11228, 288, 3639, 509, 1430, 1895, 273, 300, 21, 31, 5397, 368, 603, 3009, 10899, 2562, 315, 1802, 448, 2529, 6, 5518, 16, 486, 364, 4143, 585, 10899, 3639, 309, 261, 291, 3899, 597, 401, 3690, 18683, 67, 19046, 18, 14963, 12, 588, 786, 1803, 1435, 3719, 288, 5411, 368, 327, 629, 16, 333, 903, 3080, 326, 315, 1802, 448, 2529, 6, 5518, 5411, 327, 629, 31, 3639, 289, 7734, 368, 4199, 326, 3434, 1430, 1456, 3639, 1430, 1895, 273, 3411, 18, 1132, 951, 12, 588, 786, 2613, 25908, 7100, 1435, 2934, 6494, 620, 1435, 5411, 692, 467, 67, 4747, 2918, 18, 39, 67, 6460, 67, 7425, 67, 2 ]
return scope.contains(virtualFile);
return scope.contains(virtualFile) && (scope.getValue() instanceof PsiElement && PsiUtil.getVirtualFile((PsiElement)scope.getValue()) == virtualFile || scope.someChildContainsFile(virtualFile));
public boolean hasProblemFilesBeneath(final ProjectViewNode scope) { return hasProblemFilesBeneath(new Condition<VirtualFile>() { public boolean value(final VirtualFile virtualFile) { return scope.contains(virtualFile); } }); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/f4a281706536027846bac7bf115458764b67736e/WolfTheProblemSolverImpl.java/buggy/source/com/intellij/codeInsight/problems/WolfTheProblemSolverImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 711, 13719, 2697, 38, 4009, 421, 12, 6385, 5420, 1767, 907, 2146, 13, 288, 565, 327, 711, 13719, 2697, 38, 4009, 421, 12, 2704, 7949, 32, 6466, 812, 34, 1435, 288, 1377, 1071, 1250, 460, 12, 6385, 7269, 812, 5024, 812, 13, 288, 3639, 327, 2146, 18, 12298, 12, 12384, 812, 13, 225, 597, 261, 4887, 18, 24805, 1435, 1276, 453, 7722, 1046, 597, 453, 7722, 1304, 18, 588, 6466, 812, 12443, 52, 7722, 1046, 13, 4887, 18, 24805, 10756, 422, 5024, 812, 747, 2146, 18, 19068, 1763, 10846, 812, 12, 12384, 812, 10019, 1377, 289, 565, 15549, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 711, 13719, 2697, 38, 4009, 421, 12, 6385, 5420, 1767, 907, 2146, 13, 288, 565, 327, 711, 13719, 2697, 38, 4009, 421, 12, 2704, 7949, 32, 6466, 812, 34, 1435, 288, 1377, 1071, 1250, 460, 12, 6385, 7269, 812, 5024, 812, 13, 288, 3639, 327, 2146, 18, 12298, 12, 12384, 812, 13, 225, 597, 261, 4887, 18, 24805, 1435, 1276, 453, 7722, 1046, 597, 453, 7722, 1304, 18, 588, 6466, 812, 12443, 52, 7722, 1046, 13, 4887, 18, 24805, 10756, 422, 5024, 812, 747, 2146, 18, 19068, 1763, 10846, 812, 12, 12384, 812, 10019, 1377, 289, 565, 15549, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
retEnv = client.sendMsg(util, url, soapAction);
public void testR2GCEchoVoid() throws AxisFault { url = "http://mssoapinterop.org/stk/InteropC.wsdl"; soapAction = "http://soapinterop.org/"; util = new GroupcVoidUtil(); retEnv = SunRound2Client.sendMsg(util, url, soapAction); tempPath = resFilePath + "MStk2GroupcVoidRes.xml"; compareXML(retEnv, tempPath); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/95f09abc768fee06d65b12836e31273ac0e15eb3/MStk2Round2InteropTest.java/clean/modules/integration/itest/test/interop/whitemesa/round2/MStk2Round2InteropTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 43, 1441, 2599, 19038, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 959, 19215, 30376, 18, 3341, 19, 334, 79, 19, 2465, 556, 39, 18, 4749, 5761, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 3756, 71, 19038, 1304, 5621, 3639, 325, 3491, 273, 1004, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 49, 510, 79, 22, 1114, 71, 19038, 607, 18, 2902, 14432, 3639, 3400, 4201, 12, 1349, 3491, 16, 1906, 743, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 54, 22, 43, 1441, 2599, 19038, 1435, 1216, 15509, 7083, 288, 3639, 880, 273, 315, 2505, 2207, 959, 19215, 30376, 18, 3341, 19, 334, 79, 19, 2465, 556, 39, 18, 4749, 5761, 14432, 3639, 9930, 1803, 273, 315, 2505, 2207, 19215, 30376, 18, 3341, 4898, 31, 3639, 1709, 273, 394, 3756, 71, 19038, 1304, 5621, 3639, 325, 3491, 273, 1004, 18, 4661, 3332, 12, 1367, 16, 880, 16, 9930, 1803, 1769, 3639, 1906, 743, 273, 400, 5598, 397, 315, 49, 510, 79, 22, 1114, 71, 19038, 607, 18, 2902, 14432, 3639, 3400, 4201, 12, 1349, 3491, 16, 1906, 743, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
} final int classpathsSize = classpaths.size(); if (classpaths.size() != 0) { String[] paths = new String[classpathsSize]; classpaths.toArray(paths); classpaths.clear(); for (int i = 0; i < classpathsSize; i++) { processPathEntries(DEFAULT_SIZE_CLASSPATH, classpaths, paths[i], customEncoding, false); } } else { String classProp = System.getProperty("java.class.path"); if ((classProp == null) || (classProp.length() == 0)) { this.logger.logNoClasspath(); classpaths.add(FileSystem.getClasspath(System.getProperty("user.dir"), customEncoding, 0, null)); } else { StringTokenizer tokenizer = new StringTokenizer(classProp, File.pathSeparator); String token; while (tokenizer.hasMoreTokens()) { token = tokenizer.nextToken(); FileSystem.Classpath currentClasspath = FileSystem .getClasspath(token, customEncoding, 0, null); if (currentClasspath != null) { classpaths.add(currentClasspath); } else { this.logger.logIncorrectClasspath(token); } } } } final int sourcepathClasspathsSize = sourcepathClasspaths.size(); if (sourcepathClasspathsSize != 0) { String[] paths = new String[sourcepathClasspathsSize]; sourcepathClasspaths.toArray(paths); sourcepathClasspaths.clear(); for (int i = 0; i < sourcepathClasspathsSize; i++) { processPathEntries(DEFAULT_SIZE_CLASSPATH, sourcepathClasspaths, paths[i], customEncoding, true); } }
public void configure(String[] argv) throws InvalidInputException { if ((argv == null) || (argv.length == 0)) { printUsage(); return; } final int INSIDE_CLASSPATH = 1; final int INSIDE_DESTINATION_PATH = 2; final int INSIDE_TARGET = 3; final int INSIDE_LOG = 4; final int INSIDE_REPETITION = 5; final int INSIDE_SOURCE = 6; final int INSIDE_DEFAULT_ENCODING = 7; final int INSIDE_BOOTCLASSPATH = 8; final int INSIDE_MAX_PROBLEMS = 9; final int INSIDE_EXT_DIRS = 10; final int INSIDE_SOURCE_PATH = 11; final int DEFAULT = 0; int DEFAULT_SIZE_CLASSPATH = 4; ArrayList bootclasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH), extdirsClasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH), extdirsNames = new ArrayList(DEFAULT_SIZE_CLASSPATH), sourcepathClasspaths = new ArrayList(DEFAULT_SIZE_CLASSPATH), classpaths = new ArrayList(DEFAULT_SIZE_CLASSPATH); String currentClasspathName = null; ArrayList currentRuleSpecs = new ArrayList(DEFAULT_SIZE_CLASSPATH); int index = -1, filesCount = 0, argCount = argv.length; int mode = DEFAULT; this.repetitions = 0; boolean printUsageRequired = false; boolean printVersionRequired = false; boolean didSpecifyDefaultEncoding = false; boolean didSpecifyDeprecation = false; boolean didSpecifyWarnings = false; boolean useEnableJavadoc = false; boolean didSpecifyCompliance = false; String customEncoding = null; String currentArg = ""; //$NON-NLS-1$ // expand the command line if necessary boolean needExpansion = false; loop: for (int i = 0; i < argCount; i++) { if (argv[i].startsWith("@")) { //$NON-NLS-1$ needExpansion = true; break loop; } } String[] newCommandLineArgs = null; if (needExpansion) { newCommandLineArgs = new String[argCount]; index = 0; for (int i = 0; i < argCount; i++) { String[] newArgs = null; String arg = argv[i].trim(); if (arg.startsWith("@")) { //$NON-NLS-1$ try { LineNumberReader reader = new LineNumberReader(new StringReader(new String(Util.getFileCharContent(new File(arg.substring(1)), null)))); StringBuffer buffer = new StringBuffer(); String line; while((line = reader.readLine()) != null) { line = line.trim(); if (!line.startsWith("#")) { //$NON-NLS-1$ buffer.append(line).append(" "); //$NON-NLS-1$ } } newArgs = tokenize(buffer.toString()); } catch(IOException e) { throw new InvalidInputException( Main.bind("configure.invalidexpansionargumentname", arg)); //$NON-NLS-1$ } } if (newArgs != null) { int newCommandLineArgsLength = newCommandLineArgs.length; int newArgsLength = newArgs.length; System.arraycopy(newCommandLineArgs, 0, (newCommandLineArgs = new String[newCommandLineArgsLength + newArgsLength - 1]), 0, index); System.arraycopy(newArgs, 0, newCommandLineArgs, index, newArgsLength); index += newArgsLength; } else { newCommandLineArgs[index++] = arg; } } index = -1; } else { newCommandLineArgs = argv; for (int i = 0; i < argCount; i++) { newCommandLineArgs[i] = newCommandLineArgs[i].trim(); } } argCount = newCommandLineArgs.length; while (++index < argCount) { if (customEncoding != null) { throw new InvalidInputException( Main.bind("configure.unexpectedCustomEncoding", currentArg, customEncoding)); //$NON-NLS-1$ } currentArg = newCommandLineArgs[index]; switch(mode) { case DEFAULT : customEncoding = null; if (currentArg.endsWith("]") && !(mode == INSIDE_BOOTCLASSPATH || mode == INSIDE_CLASSPATH || //$NON-NLS-1$ mode == INSIDE_SOURCE_PATH) ) { // look for encoding specification int encodingStart = currentArg.indexOf('[') + 1; int encodingEnd = currentArg.length() - 1; if (encodingStart >= 1) { if (encodingStart < encodingEnd) { customEncoding = currentArg.substring(encodingStart, encodingEnd); try { // ensure encoding is supported new InputStreamReader(new ByteArrayInputStream(new byte[0]), customEncoding); } catch (UnsupportedEncodingException e) { throw new InvalidInputException( Main.bind("configure.unsupportedEncoding", customEncoding)); //$NON-NLS-1$ } } currentArg = currentArg.substring(0, encodingStart - 1); } } if (currentArg.endsWith(SUFFIX_STRING_java)) { if (this.filenames == null) { this.filenames = new String[argCount - index]; this.encodings = new String[argCount - index]; } else if (filesCount == this.filenames.length) { int length = this.filenames.length; System.arraycopy( this.filenames, 0, (this.filenames = new String[length + argCount - index]), 0, length); System.arraycopy( this.encodings, 0, (this.encodings = new String[length + argCount - index]), 0, length); } this.filenames[filesCount] = currentArg; this.encodings[filesCount++] = customEncoding; customEncoding = null; mode = DEFAULT; continue; } if (currentArg.equals("-log")) { //$NON-NLS-1$ if (this.log != null) throw new InvalidInputException( Main.bind("configure.duplicateLog", currentArg)); //$NON-NLS-1$ mode = INSIDE_LOG; continue; } if (currentArg.equals("-repeat")) { //$NON-NLS-1$ if (this.repetitions > 0) throw new InvalidInputException( Main.bind("configure.duplicateRepeat", currentArg)); //$NON-NLS-1$ mode = INSIDE_REPETITION; continue; } if (currentArg.equals("-maxProblems")) { //$NON-NLS-1$ if (this.maxProblems > 0) throw new InvalidInputException( Main.bind("configure.duplicateMaxProblems", currentArg)); //$NON-NLS-1$ mode = INSIDE_MAX_PROBLEMS; continue; } if (currentArg.equals("-source")) { //$NON-NLS-1$ mode = INSIDE_SOURCE; continue; } if (currentArg.equals("-encoding")) { //$NON-NLS-1$ mode = INSIDE_DEFAULT_ENCODING; continue; } if (currentArg.equals("-1.3")) { //$NON-NLS-1$ if (didSpecifyCompliance) { throw new InvalidInputException( Main.bind("configure.duplicateCompliance", currentArg));//$NON-NLS-1$ } didSpecifyCompliance = true; this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_3); mode = DEFAULT; continue; } if (currentArg.equals("-1.4")) { //$NON-NLS-1$ if (didSpecifyCompliance) { throw new InvalidInputException( Main.bind("configure.duplicateCompliance", currentArg)); //$NON-NLS-1$ } didSpecifyCompliance = true; this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_4); mode = DEFAULT; continue; } if (currentArg.equals("-1.5") || currentArg.equals("-5") || currentArg.equals("-5.0")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ if (didSpecifyCompliance) { throw new InvalidInputException( Main.bind("configure.duplicateCompliance", currentArg)); //$NON-NLS-1$ } didSpecifyCompliance = true; this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_5); mode = DEFAULT; continue; } if (currentArg.equals("-1.6") || currentArg.equals("-6") || currentArg.equals("-6.0")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ if (didSpecifyCompliance) { throw new InvalidInputException( Main.bind("configure.duplicateCompliance", currentArg)); //$NON-NLS-1$ } didSpecifyCompliance = true; this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_6); mode = DEFAULT; continue; } if (currentArg.equals("-d")) { //$NON-NLS-1$ if (this.destinationPath != null) throw new InvalidInputException( Main.bind("configure.duplicateOutputPath", currentArg)); //$NON-NLS-1$ mode = INSIDE_DESTINATION_PATH; this.generatePackagesStructure = true; continue; } if (currentArg.equals("-classpath") //$NON-NLS-1$ || currentArg.equals("-cp")) { //$NON-NLS-1$ mode = INSIDE_CLASSPATH; continue; } if (currentArg.equals("-bootclasspath")) {//$NON-NLS-1$ if (bootclasspaths.size() > 0) throw new InvalidInputException( Main.bind("configure.duplicateBootClasspath", currentArg)); //$NON-NLS-1$ mode = INSIDE_BOOTCLASSPATH; continue; } if (currentArg.equals("-sourcepath")) {//$NON-NLS-1$ if (sourcepathClasspaths.size() > 0) throw new InvalidInputException( Main.bind("configure.duplicateSourcepath", currentArg)); //$NON-NLS-1$ mode = INSIDE_SOURCE_PATH; continue; } if (currentArg.equals("-extdirs")) {//$NON-NLS-1$ if (extdirsNames.size() > 0) throw new InvalidInputException( Main.bind("configure.duplicateExtdirs", currentArg)); //$NON-NLS-1$ mode = INSIDE_EXT_DIRS; continue; } if (currentArg.equals("-progress")) { //$NON-NLS-1$ mode = DEFAULT; this.showProgress = true; continue; } if (currentArg.equals("-proceedOnError")) { //$NON-NLS-1$ mode = DEFAULT; this.proceedOnError = true; continue; } if (currentArg.equals("-time")) { //$NON-NLS-1$ mode = DEFAULT; this.timing = true; continue; } if (currentArg.equals("-version") //$NON-NLS-1$ || currentArg.equals("-v")) { //$NON-NLS-1$ this.logger.logVersion(true); this.proceed = false; return; } if (currentArg.equals("-showversion")) { //$NON-NLS-1$ printVersionRequired = true; mode = DEFAULT; continue; } if ("-deprecation".equals(currentArg)) { //$NON-NLS-1$ didSpecifyDeprecation = true; this.options.put(CompilerOptions.OPTION_ReportDeprecation, CompilerOptions.WARNING); mode = DEFAULT; continue; } if (currentArg.equals("-help") || currentArg.equals("-?")) { //$NON-NLS-1$ //$NON-NLS-2$ printUsageRequired = true; mode = DEFAULT; continue; } if (currentArg.equals("-noExit")) { //$NON-NLS-1$ this.systemExitWhenFinished = false; mode = DEFAULT; continue; } if (currentArg.equals("-verbose")) { //$NON-NLS-1$ this.verbose = true; mode = DEFAULT; continue; } if (currentArg.equals("-referenceInfo")) { //$NON-NLS-1$ this.produceRefInfo = true; mode = DEFAULT; continue; } if (currentArg.equals("-inlineJSR")) { //$NON-NLS-1$ mode = DEFAULT; this.options.put( CompilerOptions.OPTION_InlineJsr, CompilerOptions.ENABLED); continue; } if (currentArg.startsWith("-g")) { //$NON-NLS-1$ mode = DEFAULT; String debugOption = currentArg; int length = currentArg.length(); if (length == 2) { this.options.put( CompilerOptions.OPTION_LocalVariableAttribute, CompilerOptions.GENERATE); this.options.put( CompilerOptions.OPTION_LineNumberAttribute, CompilerOptions.GENERATE); this.options.put( CompilerOptions.OPTION_SourceFileAttribute, CompilerOptions.GENERATE); continue; } if (length > 3) { this.options.put( CompilerOptions.OPTION_LocalVariableAttribute, CompilerOptions.DO_NOT_GENERATE); this.options.put( CompilerOptions.OPTION_LineNumberAttribute, CompilerOptions.DO_NOT_GENERATE); this.options.put( CompilerOptions.OPTION_SourceFileAttribute, CompilerOptions.DO_NOT_GENERATE); if (length == 7 && debugOption.equals("-g:none")) //$NON-NLS-1$ continue; StringTokenizer tokenizer = new StringTokenizer(debugOption.substring(3, debugOption.length()), ","); //$NON-NLS-1$ while (tokenizer.hasMoreTokens()) { String token = tokenizer.nextToken(); if (token.equals("vars")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_LocalVariableAttribute, CompilerOptions.GENERATE); } else if (token.equals("lines")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_LineNumberAttribute, CompilerOptions.GENERATE); } else if (token.equals("source")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_SourceFileAttribute, CompilerOptions.GENERATE); } else { throw new InvalidInputException( Main.bind("configure.invalidDebugOption", debugOption)); //$NON-NLS-1$ } } continue; } throw new InvalidInputException( Main.bind("configure.invalidDebugOption", debugOption)); //$NON-NLS-1$ } if (currentArg.startsWith("-nowarn")) { //$NON-NLS-1$ disableWarnings(); mode = DEFAULT; continue; } if (currentArg.startsWith("-warn")) { //$NON-NLS-1$ mode = DEFAULT; String warningOption = currentArg; int length = currentArg.length(); if (length == 10 && warningOption.equals("-warn:none")) { //$NON-NLS-1$ disableWarnings(); continue; } if (length <= 6) { throw new InvalidInputException( Main.bind("configure.invalidWarningConfiguration", warningOption)); //$NON-NLS-1$ } int warnTokenStart; boolean isEnabling; switch (warningOption.charAt(6)) { case '+' : warnTokenStart = 7; isEnabling = true; break; case '-' : warnTokenStart = 7; isEnabling = false; // mentionned warnings are disabled break; default: warnTokenStart = 6; // clear default warning level // but allow multiple warning option on the command line if (!didSpecifyWarnings) disableWarnings(); isEnabling = true; } StringTokenizer tokenizer = new StringTokenizer(warningOption.substring(warnTokenStart, warningOption.length()), ","); //$NON-NLS-1$ int tokenCounter = 0; if (didSpecifyDeprecation) { // deprecation could have also been set through -deprecation option this.options.put(CompilerOptions.OPTION_ReportDeprecation, CompilerOptions.WARNING); } while (tokenizer.hasMoreTokens()) { String token = tokenizer.nextToken(); tokenCounter++; if (token.equals("constructorName")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportMethodWithConstructorName, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("pkgDefaultMethod") || token.equals("packageDefaultMethod")/*backward compatible*/ ) { //$NON-NLS-1$ //$NON-NLS-2$ this.options.put( CompilerOptions.OPTION_ReportOverridingPackageDefaultMethod, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("maskedCatchBlock") || token.equals("maskedCatchBlocks")/*backward compatible*/) { //$NON-NLS-1$ //$NON-NLS-2$ this.options.put( CompilerOptions.OPTION_ReportHiddenCatchBlock, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("deprecation")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportDeprecation, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportDeprecationInDeprecatedCode, CompilerOptions.DISABLED); this.options.put( CompilerOptions.OPTION_ReportDeprecationWhenOverridingDeprecatedMethod, CompilerOptions.DISABLED); } else if (token.equals("allDeprecation")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportDeprecation, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportDeprecationInDeprecatedCode, isEnabling ? CompilerOptions.ENABLED : CompilerOptions.DISABLED); this.options.put( CompilerOptions.OPTION_ReportDeprecationWhenOverridingDeprecatedMethod, isEnabling ? CompilerOptions.ENABLED : CompilerOptions.DISABLED); } else if (token.equals("unusedLocal") || token.equals("unusedLocals")/*backward compatible*/) { //$NON-NLS-1$ //$NON-NLS-2$ this.options.put( CompilerOptions.OPTION_ReportUnusedLocal, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unusedArgument") || token.equals("unusedArguments")/*backward compatible*/) { //$NON-NLS-1$ //$NON-NLS-2$ this.options.put( CompilerOptions.OPTION_ReportUnusedParameter, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unusedImport") || token.equals("unusedImports")/*backward compatible*/) { //$NON-NLS-1$ //$NON-NLS-2$ this.options.put( CompilerOptions.OPTION_ReportUnusedImport, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unusedPrivate")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUnusedPrivateMember, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unusedLabel")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUnusedLabel, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("localHiding")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportLocalVariableHiding, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("fieldHiding")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportFieldHiding, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("specialParamHiding")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportSpecialParameterHidingField, isEnabling ? CompilerOptions.ENABLED : CompilerOptions.DISABLED); } else if (token.equals("conditionAssign")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportPossibleAccidentalBooleanAssignment, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("syntheticAccess") //$NON-NLS-1$ || token.equals("synthetic-access")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportSyntheticAccessEmulation, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("nls")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportNonExternalizedStringLiteral, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("staticReceiver")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportNonStaticAccessToStatic, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("indirectStatic")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportIndirectStaticAccess, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("noEffectAssign")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportNoEffectAssignment, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("intfNonInherited") || token.equals("interfaceNonInherited")/*backward compatible*/) { //$NON-NLS-1$ //$NON-NLS-2$ this.options.put( CompilerOptions.OPTION_ReportIncompatibleNonInheritedInterfaceMethod, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("charConcat") || token.equals("noImplicitStringConversion")/*backward compatible*/) {//$NON-NLS-1$ //$NON-NLS-2$ this.options.put( CompilerOptions.OPTION_ReportNoImplicitStringConversion, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("semicolon")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportEmptyStatement, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("serial")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportMissingSerialVersion, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("emptyBlock")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUndocumentedEmptyBlock, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("uselessTypeCheck")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUnnecessaryTypeCheck, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unchecked") || token.equals("unsafe")) {//$NON-NLS-1$ //$NON-NLS-2$ this.options.put( CompilerOptions.OPTION_ReportUncheckedTypeOperation, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("raw")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportRawTypeReference, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("finalBound")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportFinalParameterBound, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("suppress")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_SuppressWarnings, isEnabling ? CompilerOptions.ENABLED : CompilerOptions.DISABLED); } else if (token.equals("warningToken")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUnhandledWarningToken, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unnecessaryElse")) {//$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUnnecessaryElse, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("javadoc")) {//$NON-NLS-1$ if (!useEnableJavadoc) { this.options.put( CompilerOptions.OPTION_DocCommentSupport, isEnabling ? CompilerOptions.ENABLED: CompilerOptions.DISABLED); } // if disabling then it's not necessary to set other javadoc options if (isEnabling) { this.options.put( CompilerOptions.OPTION_ReportInvalidJavadoc, CompilerOptions.WARNING); this.options.put( CompilerOptions.OPTION_ReportInvalidJavadocTags, CompilerOptions.ENABLED); this.options.put( CompilerOptions.OPTION_ReportInvalidJavadocTagsDeprecatedRef, CompilerOptions.DISABLED); this.options.put( CompilerOptions.OPTION_ReportInvalidJavadocTagsNotVisibleRef, CompilerOptions.DISABLED); this.options.put( CompilerOptions.OPTION_ReportInvalidJavadocTagsVisibility, CompilerOptions.PRIVATE); this.options.put( CompilerOptions.OPTION_ReportMissingJavadocTags, CompilerOptions.WARNING); this.options.put( CompilerOptions.OPTION_ReportMissingJavadocTagsVisibility, CompilerOptions.PRIVATE); } } else if (token.equals("allJavadoc")) { //$NON-NLS-1$ if (!useEnableJavadoc) { this.options.put( CompilerOptions.OPTION_DocCommentSupport, isEnabling ? CompilerOptions.ENABLED: CompilerOptions.DISABLED); } // if disabling then it's not necessary to set other javadoc options if (isEnabling) { this.options.put( CompilerOptions.OPTION_ReportInvalidJavadoc, CompilerOptions.WARNING); this.options.put( CompilerOptions.OPTION_ReportInvalidJavadocTags, CompilerOptions.ENABLED); this.options.put( CompilerOptions.OPTION_ReportInvalidJavadocTagsVisibility, CompilerOptions.PRIVATE); this.options.put( CompilerOptions.OPTION_ReportMissingJavadocTags, CompilerOptions.WARNING); this.options.put( CompilerOptions.OPTION_ReportMissingJavadocTagsVisibility, CompilerOptions.PRIVATE); this.options.put( CompilerOptions.OPTION_ReportMissingJavadocComments, CompilerOptions.WARNING); } } else if (token.startsWith("tasks")) { //$NON-NLS-1$ String taskTags = ""; //$NON-NLS-1$ int start = token.indexOf('('); int end = token.indexOf(')'); if (start >= 0 && end >= 0 && start < end){ taskTags = token.substring(start+1, end).trim(); taskTags = taskTags.replace('|',','); } if (taskTags.length() == 0){ throw new InvalidInputException(Main.bind("configure.invalidTaskTag", token)); //$NON-NLS-1$ } this.options.put( CompilerOptions.OPTION_TaskTags, isEnabling ? taskTags : ""); //$NON-NLS-1$ } else if (token.equals("assertIdentifier")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportAssertIdentifier, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("enumIdentifier")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportEnumIdentifier, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("finally")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportFinallyBlockNotCompletingNormally, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unusedThrown")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUnusedDeclaredThrownException, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unqualifiedField") //$NON-NLS-1$ || token.equals("unqualified-field-access")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUnqualifiedFieldAccess, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("typeHiding")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportTypeParameterHiding, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("varargsCast")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportVarargsArgumentNeedCast, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("null")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportNullReference, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("boxing")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportAutoboxing, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("over-ann")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportMissingOverrideAnnotation, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("dep-ann")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportMissingDeprecatedAnnotation, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("intfAnnotation")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportAnnotationSuperInterface, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("enumSwitch") //$NON-NLS-1$ || token.equals("incomplete-switch")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportIncompleteEnumSwitch, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("hiding")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportHiddenCatchBlock, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportLocalVariableHiding, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportFieldHiding, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportTypeParameterHiding, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("static-access")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportNonStaticAccessToStatic, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportIndirectStaticAccess, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("unused")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportUnusedLocal, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportUnusedParameter, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportUnusedImport, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportUnusedPrivateMember, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportUnusedDeclaredThrownException, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); this.options.put( CompilerOptions.OPTION_ReportUnusedLabel, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("paramAssign")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportParameterAssignment, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("discouraged")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportDiscouragedReference, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("forbidden")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportForbiddenReference, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else if (token.equals("fallthrough")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_ReportFallthroughCase, isEnabling ? CompilerOptions.WARNING : CompilerOptions.IGNORE); } else { throw new InvalidInputException(Main.bind("configure.invalidWarning", token)); //$NON-NLS-1$ } } if (tokenCounter == 0) throw new InvalidInputException( Main.bind("configure.invalidWarningOption", currentArg)); //$NON-NLS-1$ didSpecifyWarnings = true; continue; } if (currentArg.equals("-target")) { //$NON-NLS-1$ mode = INSIDE_TARGET; continue; } if (currentArg.equals("-preserveAllLocals")) { //$NON-NLS-1$ this.options.put( CompilerOptions.OPTION_PreserveUnusedLocal, CompilerOptions.PRESERVE); mode = DEFAULT; continue; } if (currentArg.equals("-enableJavadoc")) {//$NON-NLS-1$ mode = DEFAULT; this.options.put( CompilerOptions.OPTION_DocCommentSupport, CompilerOptions.ENABLED); useEnableJavadoc = true; continue; } if (currentArg.equals("-Xemacs")) { //$NON-NLS-1$ mode = DEFAULT; this.logger.setEmacs(); continue; } // tolerated javac options - quietly filtered out if (currentArg.startsWith("-X")) { //$NON-NLS-1$ mode = DEFAULT; continue; } if (currentArg.startsWith("-J")) { //$NON-NLS-1$ mode = DEFAULT; continue; } if (currentArg.equals("-O")) { //$NON-NLS-1$ mode = DEFAULT; continue; } if (currentArg.equals("-sourcepath")) {//$NON-NLS-1$ if (sourcepathClasspaths.size() > 0) throw new InvalidInputException( Main.bind("configure.duplicateSourcepath", currentArg)); //$NON-NLS-1$ mode = INSIDE_SOURCE_PATH; continue; } if (currentArg.equals("-extdirs")) {//$NON-NLS-1$ if (extdirsNames.size() > 0) throw new InvalidInputException( Main.bind("configure.duplicateExtdirs", currentArg)); //$NON-NLS-1$ mode = INSIDE_EXT_DIRS; continue; } break; case INSIDE_TARGET : if (this.didSpecifyTarget) { throw new InvalidInputException( Main.bind("configure.duplicateTarget", currentArg));//$NON-NLS-1$ } this.didSpecifyTarget = true; if (currentArg.equals("1.1")) { //$NON-NLS-1$ this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_1); } else if (currentArg.equals("1.2")) { //$NON-NLS-1$ this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_2); } else if (currentArg.equals("1.3")) { //$NON-NLS-1$ this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_3); } else if (currentArg.equals("1.4")) { //$NON-NLS-1$ this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_4); } else if (currentArg.equals("1.5") || currentArg.equals("5") || currentArg.equals("5.0")) { //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_5); } else if (currentArg.equals("1.6") || currentArg.equals("6") || currentArg.equals("6.0")) { //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_6); } else { throw new InvalidInputException(Main.bind("configure.targetJDK", currentArg)); //$NON-NLS-1$ } mode = DEFAULT; continue; case INSIDE_LOG : this.log = currentArg; mode = DEFAULT; continue; case INSIDE_REPETITION : try { this.repetitions = Integer.parseInt(currentArg); if (this.repetitions <= 0) { throw new InvalidInputException(Main.bind("configure.repetition", currentArg)); //$NON-NLS-1$ } } catch (NumberFormatException e) { throw new InvalidInputException(Main.bind("configure.repetition", currentArg)); //$NON-NLS-1$ } mode = DEFAULT; continue; case INSIDE_MAX_PROBLEMS : try { this.maxProblems = Integer.parseInt(currentArg); if (this.maxProblems <= 0) { throw new InvalidInputException(Main.bind("configure.maxProblems", currentArg)); //$NON-NLS-1$ } this.options.put(CompilerOptions.OPTION_MaxProblemPerUnit, currentArg); } catch (NumberFormatException e) { throw new InvalidInputException(Main.bind("configure.maxProblems", currentArg)); //$NON-NLS-1$ } mode = DEFAULT; continue; case INSIDE_SOURCE : if (this.didSpecifySource) { throw new InvalidInputException( Main.bind("configure.duplicateSource", currentArg));//$NON-NLS-1$ } this.didSpecifySource = true; if (currentArg.equals("1.3")) { //$NON-NLS-1$ this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_3); } else if (currentArg.equals("1.4")) { //$NON-NLS-1$ this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_4); } else if (currentArg.equals("1.5") || currentArg.equals("5") || currentArg.equals("5.0")) { //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_5); } else if (currentArg.equals("1.6") || currentArg.equals("6") || currentArg.equals("6.0")) { //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_6); } else { throw new InvalidInputException(Main.bind("configure.source", currentArg)); //$NON-NLS-1$ } mode = DEFAULT; continue; case INSIDE_DEFAULT_ENCODING : if (didSpecifyDefaultEncoding) { throw new InvalidInputException( Main.bind("configure.duplicateDefaultEncoding", currentArg)); //$NON-NLS-1$ } try { // ensure encoding is supported new InputStreamReader(new ByteArrayInputStream(new byte[0]), currentArg); } catch (UnsupportedEncodingException e) { throw new InvalidInputException( Main.bind("configure.unsupportedEncoding", currentArg)); //$NON-NLS-1$ } this.options.put(CompilerOptions.OPTION_Encoding, currentArg); didSpecifyDefaultEncoding = true; mode = DEFAULT; continue; case INSIDE_DESTINATION_PATH : this.destinationPath = currentArg; mode = DEFAULT; continue; case INSIDE_CLASSPATH: case INSIDE_BOOTCLASSPATH: case INSIDE_SOURCE_PATH : StringTokenizer tokenizer = new StringTokenizer(currentArg, File.pathSeparator + "[]", true); //$NON-NLS-1$ // state machine final int start = 0; final int readyToClose = 1; // 'path' 'path1[rule];path2' final int readyToCloseEndingWithRules = 2; // 'path[rule]' 'path1;path2[rule]' final int readyToCloseOrOtherEntry = 3; // 'path[rule];' 'path;' 'path1;path2;' final int rulesNeedAnotherRule = 4; // 'path[rule1;' final int rulesStart = 5; // 'path[' 'path1;path2[' final int rulesReadyToClose = 6; // 'path[rule' 'path[rule1;rule2' final int error = 99; int state = start; String token = null; while (tokenizer.hasMoreTokens()) { token = tokenizer.nextToken(); if (token.equals(File.pathSeparator)) { switch (state) { case start: break; case readyToClose: case readyToCloseEndingWithRules: case readyToCloseOrOtherEntry: state = readyToCloseOrOtherEntry; addNewEntry(INSIDE_CLASSPATH, INSIDE_SOURCE_PATH, bootclasspaths, classpaths, sourcepathClasspaths, currentClasspathName, currentRuleSpecs, mode, customEncoding); currentRuleSpecs.clear(); break; case rulesReadyToClose: state = rulesNeedAnotherRule; break; default: state = error; } } else if (token.equals("[")) { //$NON-NLS-1$ switch (state) { case readyToClose: state = rulesStart; break; default: state = error; } } else if (token.equals("]")) { //$NON-NLS-1$ switch (state) { case rulesReadyToClose: state = readyToCloseEndingWithRules; break; default: state = error; } } else { // regular word switch (state) { case start: case readyToCloseOrOtherEntry: state = readyToClose; currentClasspathName = token; break; case rulesNeedAnotherRule: case rulesStart: state = rulesReadyToClose; currentRuleSpecs.add(token); break; default: state = error; } } } switch(state) { case readyToClose : case readyToCloseEndingWithRules : case readyToCloseOrOtherEntry : addNewEntry(INSIDE_CLASSPATH, INSIDE_SOURCE_PATH, bootclasspaths, classpaths, sourcepathClasspaths, currentClasspathName, currentRuleSpecs, mode, customEncoding); break; default : // we go on anyway this.logger.logIncorrectClasspath(currentArg); } mode = DEFAULT; continue; case INSIDE_EXT_DIRS : tokenizer = new StringTokenizer(currentArg, File.pathSeparator, false); while (tokenizer.hasMoreTokens()) extdirsNames.add(tokenizer.nextToken()); if (extdirsNames.size() == 0) // empty entry extdirsNames.add(""); //$NON-NLS-1$ mode = DEFAULT; continue; } //default is input directory currentArg = currentArg.replace('/', File.separatorChar); if (currentArg.endsWith(File.separator)) currentArg = currentArg.substring(0, currentArg.length() - File.separator.length()); File dir = new File(currentArg); if (!dir.isDirectory()) throw new InvalidInputException( Main.bind("configure.directoryNotExist", currentArg)); //$NON-NLS-1$ FileFinder finder = new FileFinder(); try { finder.find(dir, SUFFIX_STRING_JAVA, this.verbose); } catch (Exception e) { throw new InvalidInputException(Main.bind("configure.IOError", currentArg)); //$NON-NLS-1$ } if (this.filenames != null) { // some source files were specified explicitly String results[] = finder.resultFiles; int length = results.length; System.arraycopy( this.filenames, 0, (this.filenames = new String[length + filesCount]), 0, filesCount); System.arraycopy( this.encodings, 0, (this.encodings = new String[length + filesCount]), 0, filesCount); System.arraycopy(results, 0, this.filenames, filesCount, length); for (int i = 0; i < length; i++) { this.encodings[filesCount + i] = customEncoding; } filesCount += length; customEncoding = null; } else { this.filenames = finder.resultFiles; filesCount = this.filenames.length; this.encodings = new String[filesCount]; for (int i = 0; i < filesCount; i++) { this.encodings[i] = customEncoding; } customEncoding = null; } mode = DEFAULT; continue; } if (this.log != null) { this.logger.setLog(this.log); } else { this.showProgress = false; } this.logger.logVersion(printVersionRequired); if (printUsageRequired || filesCount == 0) { printUsage(); this.proceed = false; return; } if (filesCount != 0) System.arraycopy( this.filenames, 0, (this.filenames = new String[filesCount]), 0, filesCount); if (classpaths.size() == 0) { // no user classpath specified. String classProp = System.getProperty("java.class.path"); //$NON-NLS-1$ if ((classProp == null) || (classProp.length() == 0)) { this.logger.logNoClasspath(); classpaths.add(FileSystem.getClasspath(System.getProperty("user.dir"), customEncoding, 0, null));//$NON-NLS-1$ } else { StringTokenizer tokenizer = new StringTokenizer(classProp, File.pathSeparator); String token; while (tokenizer.hasMoreTokens()) { token = tokenizer.nextToken(); FileSystem.Classpath currentClasspath = FileSystem .getClasspath(token, customEncoding, 0, null); if (currentClasspath != null) { classpaths.add(currentClasspath); } else { this.logger.logIncorrectClasspath(token); // should not happen - we go on anyway } } } } final File javaHome = getJavaHome(); if (bootclasspaths.size() == 0) { /* no bootclasspath specified * we can try to retrieve the default librairies of the VM used to run * the batch compiler */ String javaversion = System.getProperty("java.version");//$NON-NLS-1$ if (javaversion != null && javaversion.equalsIgnoreCase("1.1.8")) { //$NON-NLS-1$ this.logger.logWrongJDK(); this.proceed = false; return; } /* * Handle >= JDK 1.2.2 settings: retrieve rt.jar */ if (javaHome != null) { File[] directoriesToCheck = null; if (System.getProperty("os.name").startsWith("Mac")) {//$NON-NLS-1$//$NON-NLS-2$ directoriesToCheck = new File[] { new File(javaHome, "../Classes"), //$NON-NLS-1$ }; } else { directoriesToCheck = new File[] { new File(javaHome, "lib") //$NON-NLS-1$ }; } File[][] systemLibrariesJars = getLibrariesFiles(directoriesToCheck); if (systemLibrariesJars != null) { for (int i = 0, max = systemLibrariesJars.length; i < max; i++) { File[] current = systemLibrariesJars[i]; if (current != null) { for (int j = 0, max2 = current.length; j < max2; j++) { FileSystem.Classpath classpath = FileSystem.getClasspath( current[j].getAbsolutePath(), null, 0, null); if (classpath != null) { bootclasspaths.add(classpath); } } } } } } } /* * Feed extdirsNames according to: * - -extdirs first if present; * - else java.ext.dirs if defined; * - else default extensions directory for the platform. */ if (extdirsNames.size() == 0) { String extdirsStr = System.getProperty("java.ext.dirs"); //$NON-NLS-1$ if (extdirsStr == null) { extdirsNames.add(javaHome.getAbsolutePath() + "/lib/ext"); //$NON-NLS-1$ } else { StringTokenizer tokenizer = new StringTokenizer(extdirsStr, File.pathSeparator); while (tokenizer.hasMoreTokens()) extdirsNames.add(tokenizer.nextToken()); } } /* * Feed extdirsClasspath with the entries found into the directories listed by * extdirsNames. */ if (extdirsNames.size() != 0) { File[] directoriesToCheck = new File[extdirsNames.size()]; for (int i = 0; i < directoriesToCheck.length; i++) directoriesToCheck[i] = new File((String) extdirsNames.get(i)); File[][] extdirsJars = getLibrariesFiles(directoriesToCheck); if (extdirsJars != null) { for (int i = 0, max = extdirsJars.length; i < max; i++) { File[] current = extdirsJars[i]; if (current != null) { for (int j = 0, max2 = current.length; j < max2; j++) { FileSystem.Classpath classpath = FileSystem.getClasspath( current[j].getAbsolutePath(), null, 0, null); if (classpath != null) { extdirsClasspaths.add(classpath); } } } } } } /* * Concatenate classpath entries * We put the bootclasspath at the beginning of the classpath * entries, followed by the extension libraries, followed by * the sourcepath followed by the classpath. All classpath * entries are searched for both sources and binaries except * the sourcepath entries which are searched for sources only. */ bootclasspaths.addAll(extdirsClasspaths); bootclasspaths.addAll(sourcepathClasspaths); bootclasspaths.addAll(classpaths); classpaths = bootclasspaths; this.checkedClasspaths = new FileSystem.Classpath[classpaths.size()]; classpaths.toArray(this.checkedClasspaths); if (this.destinationPath == null) { this.generatePackagesStructure = false; } else if ("none".equals(this.destinationPath)) { //$NON-NLS-1$ this.destinationPath = null; } if (didSpecifyCompliance) { Object version = this.options.get(CompilerOptions.OPTION_Compliance); if (CompilerOptions.VERSION_1_3.equals(version)) { if (!this.didSpecifySource) this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_3); if (!this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_1); } else if (CompilerOptions.VERSION_1_4.equals(version)) { if (!this.didSpecifySource) this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_3); if (!this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_2); } else if (CompilerOptions.VERSION_1_5.equals(version)) { if (!this.didSpecifySource) this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_5); if (!this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_5); } else if (CompilerOptions.VERSION_1_6.equals(version)) { if (!this.didSpecifySource) this.options.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_6); if (!this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_6); } } if (this.didSpecifySource) { Object version = this.options.get(CompilerOptions.OPTION_Source); // default is source 1.3 target 1.2 and compliance 1.4 if (CompilerOptions.VERSION_1_4.equals(version)) { if (!didSpecifyCompliance) this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_4); if (!this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_4); } else if (CompilerOptions.VERSION_1_5.equals(version)) { if (!didSpecifyCompliance) this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_5); if (!this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_5); } else if (CompilerOptions.VERSION_1_6.equals(version)) { if (!didSpecifyCompliance) this.options.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_1_6); if (!this.didSpecifyTarget) this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_6); } } final Object sourceVersion = this.options.get(CompilerOptions.OPTION_Source); final Object compliance = this.options.get(CompilerOptions.OPTION_Compliance); if (sourceVersion.equals(CompilerOptions.VERSION_1_6) && CompilerOptions.versionToJdkLevel(compliance) < ClassFileConstants.JDK1_6) { // compliance must be 1.6 if source is 1.6 throw new InvalidInputException(Main.bind("configure.incompatibleComplianceForSource", (String)this.options.get(CompilerOptions.OPTION_Compliance), CompilerOptions.VERSION_1_6)); //$NON-NLS-1$ } else if (sourceVersion.equals(CompilerOptions.VERSION_1_5) && CompilerOptions.versionToJdkLevel(compliance) < ClassFileConstants.JDK1_5) { // compliance must be 1.5 if source is 1.5 throw new InvalidInputException(Main.bind("configure.incompatibleComplianceForSource", (String)this.options.get(CompilerOptions.OPTION_Compliance), CompilerOptions.VERSION_1_5)); //$NON-NLS-1$ } else if (sourceVersion.equals(CompilerOptions.VERSION_1_4) && CompilerOptions.versionToJdkLevel(compliance) < ClassFileConstants.JDK1_4) { // compliance must be 1.4 if source is 1.4 throw new InvalidInputException(Main.bind("configure.incompatibleComplianceForSource", (String)this.options.get(CompilerOptions.OPTION_Compliance), CompilerOptions.VERSION_1_4)); //$NON-NLS-1$ } // check and set compliance/source/target compatibilities if (this.didSpecifyTarget) { // target must be 1.6 if source is 1.6 final Object targetVersion = this.options.get(CompilerOptions.OPTION_TargetPlatform); if (CompilerOptions.versionToJdkLevel(sourceVersion) >= ClassFileConstants.JDK1_6 && CompilerOptions.versionToJdkLevel(targetVersion) < ClassFileConstants.JDK1_6){ throw new InvalidInputException(Main.bind("configure.incompatibleTargetForSource", (String)this.options.get(CompilerOptions.OPTION_TargetPlatform), CompilerOptions.VERSION_1_6)); //$NON-NLS-1$ } // target must be 1.5 if source is 1.5 if (CompilerOptions.versionToJdkLevel(sourceVersion) >= ClassFileConstants.JDK1_5 && CompilerOptions.versionToJdkLevel(targetVersion) < ClassFileConstants.JDK1_5){ throw new InvalidInputException(Main.bind("configure.incompatibleTargetForSource", (String)this.options.get(CompilerOptions.OPTION_TargetPlatform), CompilerOptions.VERSION_1_5)); //$NON-NLS-1$ } // target must be 1.4 if source is 1.4 if (CompilerOptions.versionToJdkLevel(sourceVersion) >= ClassFileConstants.JDK1_4 && CompilerOptions.versionToJdkLevel(targetVersion) < ClassFileConstants.JDK1_4){ throw new InvalidInputException(Main.bind("configure.incompatibleTargetForSource", (String)this.options.get(CompilerOptions.OPTION_TargetPlatform), CompilerOptions.VERSION_1_4)); //$NON-NLS-1$ } // target cannot be greater than compliance level if (CompilerOptions.versionToJdkLevel(compliance) < CompilerOptions.versionToJdkLevel(targetVersion)){ throw new InvalidInputException(Main.bind("configure.incompatibleComplianceForTarget", (String)this.options.get(CompilerOptions.OPTION_Compliance), (String)this.options.get(CompilerOptions.OPTION_TargetPlatform))); //$NON-NLS-1$ } } else { if (compliance.equals(CompilerOptions.VERSION_1_3)) { this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_1); } else if (compliance.equals(CompilerOptions.VERSION_1_4) || compliance.equals(CompilerOptions.VERSION_1_5) || compliance.equals(CompilerOptions.VERSION_1_6)) { if (sourceVersion.equals(CompilerOptions.VERSION_1_3)) { this.options.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_1_2); } else { // for JDK >= 1.4, target == source this.options.put(CompilerOptions.OPTION_TargetPlatform, sourceVersion); } } } this.logger.logCommandLineArguments(newCommandLineArgs); this.logger.logOptions(this.options); this.logger.logClasspath(this.checkedClasspaths); if (this.repetitions == 0) { this.repetitions = 1; } if (this.repetitions >= 3 && this.timing) { this.times = new long[this.repetitions]; this.timesCounter = 0; } }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/c2914e56411382198ea8ccc84da3c9283a570f77/Main.java/clean/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5068, 12, 780, 8526, 5261, 13, 1216, 31989, 288, 9506, 202, 430, 14015, 19485, 422, 446, 13, 747, 261, 19485, 18, 2469, 422, 374, 3719, 288, 1082, 202, 1188, 5357, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6385, 509, 2120, 26498, 67, 5237, 4211, 273, 404, 31, 202, 202, 6385, 509, 2120, 26498, 67, 29451, 67, 4211, 273, 576, 31, 202, 202, 6385, 509, 2120, 26498, 67, 16374, 273, 890, 31, 202, 202, 6385, 509, 2120, 26498, 67, 4842, 273, 1059, 31, 202, 202, 6385, 509, 2120, 26498, 67, 862, 1423, 56, 7022, 273, 1381, 31, 202, 202, 6385, 509, 2120, 26498, 67, 6537, 273, 1666, 31, 202, 202, 6385, 509, 2120, 26498, 67, 5280, 67, 14672, 273, 2371, 31, 202, 202, 6385, 509, 2120, 26498, 67, 30124, 5237, 4211, 273, 1725, 31, 202, 202, 6385, 509, 2120, 26498, 67, 6694, 67, 3373, 38, 900, 3537, 273, 2468, 31, 202, 202, 6385, 509, 2120, 26498, 67, 4142, 67, 4537, 55, 273, 1728, 31, 202, 202, 6385, 509, 2120, 26498, 67, 6537, 67, 4211, 273, 4648, 31, 202, 202, 6385, 509, 3331, 273, 374, 31, 202, 202, 474, 3331, 67, 4574, 67, 5237, 4211, 273, 1059, 31, 202, 202, 19558, 4835, 1106, 4481, 273, 394, 2407, 12, 5280, 67, 4574, 67, 5237, 4211, 3631, 1082, 202, 408, 8291, 797, 4481, 273, 394, 2407, 12, 5280, 67, 4574, 67, 5237, 4211, 3631, 1082, 202, 408, 8291, 1557, 273, 394, 2407, 12, 5280, 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, 5068, 12, 780, 8526, 5261, 13, 1216, 31989, 288, 9506, 202, 430, 14015, 19485, 422, 446, 13, 747, 261, 19485, 18, 2469, 422, 374, 3719, 288, 1082, 202, 1188, 5357, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6385, 509, 2120, 26498, 67, 5237, 4211, 273, 404, 31, 202, 202, 6385, 509, 2120, 26498, 67, 29451, 67, 4211, 273, 576, 31, 202, 202, 6385, 509, 2120, 26498, 67, 16374, 273, 890, 31, 202, 202, 6385, 509, 2120, 26498, 67, 4842, 273, 1059, 31, 202, 202, 6385, 509, 2120, 26498, 67, 862, 1423, 56, 7022, 273, 1381, 31, 202, 202, 6385, 509, 2120, 26498, 67, 6537, 273, 1666, 31, 202, 202, 6385, 509, 2120, 2 ]
} catch (NullPointerException ex) {
} else if (fName[chunk] != null) { return;
private boolean ensureCapacity(int chunk) { try { return fName[chunk][0] == 0; } catch (ArrayIndexOutOfBoundsException ex) { int[][] newIntArray = new int[chunk * 2][]; System.arraycopy(fName, 0, newIntArray, 0, chunk); fName = newIntArray; newIntArray = new int[chunk * 2][]; System.arraycopy(fValue, 0, newIntArray, 0, chunk); fValue = newIntArray; newIntArray = new int[chunk * 2][]; System.arraycopy(fPublicId, 0, newIntArray, 0, chunk); fPublicId = newIntArray; newIntArray = new int[chunk * 2][]; System.arraycopy(fSystemId, 0, newIntArray, 0, chunk); fSystemId = newIntArray; newIntArray = new int[chunk * 2][]; System.arraycopy(fBaseSystemId, 0, newIntArray, 0, chunk); fBaseSystemId = newIntArray; newIntArray = new int[chunk * 2][]; System.arraycopy(fNotationName, 0, newIntArray, 0, chunk); fNotationName = newIntArray; byte[][] newByteArray = new byte[chunk * 2][]; System.arraycopy(fDeclIsExternal, 0, newByteArray, 0, chunk); fDeclIsExternal = newByteArray; } catch (NullPointerException ex) { } fName[chunk] = new int[CHUNK_SIZE]; fValue[chunk] = new int[CHUNK_SIZE]; fPublicId[chunk] = new int[CHUNK_SIZE]; fSystemId[chunk] = new int[CHUNK_SIZE]; fBaseSystemId[chunk] = new int[CHUNK_SIZE]; fNotationName[chunk] = new int[CHUNK_SIZE]; fDeclIsExternal[chunk] = new byte[CHUNK_SIZE]; return true; }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/981a7241fd94b34c1798204e02d7038dc654f71d/DefaultEntityHandler.java/buggy/src/org/apache/xerces/readers/DefaultEntityHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3387, 7437, 12, 474, 2441, 13, 288, 3639, 775, 288, 5411, 327, 284, 461, 63, 6551, 6362, 20, 65, 422, 374, 31, 3639, 289, 1044, 261, 1076, 30548, 431, 13, 288, 5411, 509, 63, 6362, 65, 394, 1702, 1076, 273, 394, 509, 63, 6551, 380, 576, 6362, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 461, 16, 374, 16, 394, 1702, 1076, 16, 374, 16, 2441, 1769, 5411, 284, 461, 273, 394, 1702, 1076, 31, 5411, 394, 1702, 1076, 273, 394, 509, 63, 6551, 380, 576, 6362, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 620, 16, 374, 16, 394, 1702, 1076, 16, 374, 16, 2441, 1769, 5411, 284, 620, 273, 394, 1702, 1076, 31, 5411, 394, 1702, 1076, 273, 394, 509, 63, 6551, 380, 576, 6362, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 4782, 548, 16, 374, 16, 394, 1702, 1076, 16, 374, 16, 2441, 1769, 5411, 284, 4782, 548, 273, 394, 1702, 1076, 31, 5411, 394, 1702, 1076, 273, 394, 509, 63, 6551, 380, 576, 6362, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 3163, 548, 16, 374, 16, 394, 1702, 1076, 16, 374, 16, 2441, 1769, 5411, 284, 3163, 548, 273, 394, 1702, 1076, 31, 5411, 394, 1702, 1076, 273, 394, 509, 63, 6551, 380, 576, 6362, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 2171, 3163, 548, 16, 374, 16, 394, 1702, 1076, 16, 374, 16, 2441, 1769, 5411, 284, 2171, 3163, 548, 273, 394, 1702, 1076, 31, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3387, 7437, 12, 474, 2441, 13, 288, 3639, 775, 288, 5411, 327, 284, 461, 63, 6551, 6362, 20, 65, 422, 374, 31, 3639, 289, 1044, 261, 1076, 30548, 431, 13, 288, 5411, 509, 63, 6362, 65, 394, 1702, 1076, 273, 394, 509, 63, 6551, 380, 576, 6362, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 461, 16, 374, 16, 394, 1702, 1076, 16, 374, 16, 2441, 1769, 5411, 284, 461, 273, 394, 1702, 1076, 31, 5411, 394, 1702, 1076, 273, 394, 509, 63, 6551, 380, 576, 6362, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 620, 16, 374, 16, 394, 1702, 1076, 16, 374, 16, 2441, 1769, 5411, 284, 620, 273, 394, 1702, 1076, 31, 5411, 2 ]
if (file == null || !file.isValid()) return;
if (file == null || !file.isValid()){ myUncommittedDocuments.remove(document); return; }
public void run() { if (!isUncommited(document)) return; myUncommittedDocuments.remove(document); final PsiFile file = getCachedPsiFile(document); if (file == null || !file.isValid()) return; /* This is right code. Commented out due TODO in getCachedPsiFile() if (file == null) return; LOG.assertTrue(file.isValid()); */ commit(document, file); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/5eb12e0482f82b2618b30ccf5eaa5ef5945b2690/PsiDocumentManagerImpl.java/clean/source/com/intellij/psi/impl/PsiDocumentManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 309, 16051, 291, 984, 7371, 329, 12, 5457, 3719, 327, 31, 1850, 3399, 984, 7371, 2344, 12922, 18, 4479, 12, 5457, 1769, 1850, 727, 453, 7722, 812, 585, 273, 20543, 52, 7722, 812, 12, 5457, 1769, 1850, 309, 261, 768, 422, 446, 747, 401, 768, 18, 26810, 10756, 95, 3399, 984, 7371, 2344, 12922, 18, 4479, 12, 5457, 1769, 327, 31, 289, 1850, 1748, 1220, 353, 2145, 981, 18, 9821, 329, 596, 6541, 2660, 316, 20543, 52, 7722, 812, 1435, 1850, 309, 261, 768, 422, 446, 13, 327, 31, 1850, 2018, 18, 11231, 5510, 12, 768, 18, 26810, 10663, 1850, 1195, 1850, 3294, 12, 5457, 16, 585, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 309, 16051, 291, 984, 7371, 329, 12, 5457, 3719, 327, 31, 1850, 3399, 984, 7371, 2344, 12922, 18, 4479, 12, 5457, 1769, 1850, 727, 453, 7722, 812, 585, 273, 20543, 52, 7722, 812, 12, 5457, 1769, 1850, 309, 261, 768, 422, 446, 747, 401, 768, 18, 26810, 10756, 95, 3399, 984, 7371, 2344, 12922, 18, 4479, 12, 5457, 1769, 327, 31, 289, 1850, 1748, 1220, 353, 2145, 981, 18, 9821, 329, 596, 6541, 2660, 316, 20543, 52, 7722, 812, 1435, 1850, 309, 261, 768, 422, 446, 13, 327, 31, 1850, 2018, 18, 11231, 5510, 12, 768, 18, 26810, 10663, 1850, 1195, 1850, 3294, 12, 5457, 16, 585, 1769, 3639, 289, 2, -100, -100 ]
if (! args[0].isKindOf(runtime.getClass("String"))) { throw new TypeError(runtime, args[0], runtime.getClass("String")); }
if (!args[0].isKindOf(runtime.getClasses().getNilClass()) && !args[0].isKindOf(runtime.getClasses().getStringClass())) { throw new TypeError(runtime, args[0], runtime.getClasses().getStringClass()); }
public RubyArray readlines(IRubyObject[] args) { IRubyObject[] separatorArgument; if (args.length > 0) { if (! args[0].isKindOf(runtime.getClass("String"))) { throw new TypeError(runtime, args[0], runtime.getClass("String")); } separatorArgument = new IRubyObject[] { args[0] }; } else { separatorArgument = IRubyObject.NULL_ARRAY; } RubyArray result = RubyArray.newArray(runtime); IRubyObject line; while (! (line = internalGets(separatorArgument)).isNil()) { result.append(line); } return result; }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/4c689a812e20d4fcf2da0cdc9b527b00cc1960ef/RubyIO.java/buggy/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 17546, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 15908, 10340, 921, 8526, 4182, 1379, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 309, 16051, 833, 63, 20, 8009, 291, 5677, 951, 12, 9448, 18, 588, 797, 2932, 780, 6, 20349, 288, 7734, 604, 394, 3580, 12, 9448, 16, 833, 63, 20, 6487, 3099, 18, 588, 797, 2932, 780, 7923, 1769, 5411, 289, 5411, 4182, 1379, 273, 394, 15908, 10340, 921, 8526, 288, 833, 63, 20, 65, 289, 31, 3639, 289, 469, 288, 5411, 4182, 1379, 273, 15908, 10340, 921, 18, 8560, 67, 8552, 31, 3639, 289, 3639, 19817, 1076, 563, 273, 19817, 1076, 18, 2704, 1076, 12, 9448, 1769, 3639, 15908, 10340, 921, 980, 31, 3639, 1323, 16051, 261, 1369, 273, 2713, 3002, 12, 11287, 1379, 13, 2934, 291, 12616, 10756, 288, 5411, 563, 18, 6923, 12, 1369, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 1076, 17546, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 15908, 10340, 921, 8526, 4182, 1379, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 309, 16051, 833, 63, 20, 8009, 291, 5677, 951, 12, 9448, 18, 588, 797, 2932, 780, 6, 20349, 288, 7734, 604, 394, 3580, 12, 9448, 16, 833, 63, 20, 6487, 3099, 18, 588, 797, 2932, 780, 7923, 1769, 5411, 289, 5411, 4182, 1379, 273, 394, 15908, 10340, 921, 8526, 288, 833, 63, 20, 65, 289, 31, 3639, 289, 469, 288, 5411, 4182, 1379, 273, 15908, 10340, 921, 18, 8560, 67, 8552, 31, 3639, 289, 3639, 19817, 1076, 563, 273, 19817, 1076, 18, 2704, 1076, 12, 9448, 1769, 2 ]
File answerkey = new File(randomIns, "answer.key"); SequenceFile.Writer out = new SequenceFile.Writer(fs, answerkey.getPath(), IntWritable.class, IntWritable.class);
Path answerkey = new Path(randomIns, "answer.key"); SequenceFile.Writer out = new SequenceFile.Writer(fs, answerkey, IntWritable.class, IntWritable.class);
public void launch() throws IOException { // // Generate distribution of ints. This is the answer key. // int countsToGo = counts; int dist[] = new int[range]; for (int i = 0; i < range; i++) { double avgInts = (1.0 * countsToGo) / (range - i); dist[i] = (int) Math.max(0, Math.round(avgInts + (Math.sqrt(avgInts) * r.nextGaussian()))); countsToGo -= dist[i]; } if (countsToGo > 0) { dist[dist.length-1] += countsToGo; } // // Write the answer key to a file. // FileSystem fs = FileSystem.get(conf); File testdir = new File("mapred.loadtest"); fs.mkdirs(testdir); File randomIns = new File(testdir, "genins"); fs.mkdirs(randomIns); File answerkey = new File(randomIns, "answer.key"); SequenceFile.Writer out = new SequenceFile.Writer(fs, answerkey.getPath(), IntWritable.class, IntWritable.class); try { for (int i = 0; i < range; i++) { out.append(new IntWritable(i), new IntWritable(dist[i])); } } finally { out.close(); } // // Now we need to generate the random numbers according to // the above distribution. // // We create a lot of map tasks, each of which takes at least // one "line" of the distribution. (That is, a certain number // X is to be generated Y number of times.) // // A map task emits Y key/val pairs. The val is X. The key // is a randomly-generated number. // // The reduce task gets its input sorted by key. That is, sorted // in random order. It then emits a single line of text that // for the given values. It does not emit the key. // // Because there's just one reduce task, we emit a single big // file of random numbers. // File randomOuts = new File(testdir, "genouts"); fs.mkdirs(randomOuts); JobConf genJob = new JobConf(conf); genJob.setInputDir(randomIns); genJob.setInputKeyClass(IntWritable.class); genJob.setInputValueClass(IntWritable.class); genJob.setInputFormat(SequenceFileInputFormat.class); genJob.setMapperClass(RandomGenMapper.class); genJob.setOutputDir(randomOuts); genJob.setOutputKeyClass(IntWritable.class); genJob.setOutputValueClass(IntWritable.class); genJob.setOutputFormat(TextOutputFormat.class); genJob.setReducerClass(RandomGenReducer.class); genJob.setNumReduceTasks(1); JobClient.runJob(genJob); // // Next, we read the big file in and regenerate the // original map. It's split into a number of parts. // (That number is 'intermediateReduces'.) // // We have many map tasks, each of which read at least one // of the output numbers. For each number read in, the // map task emits a key/value pair where the key is the // number and the value is "1". // // We have a single reduce task, which receives its input // sorted by the key emitted above. For each key, there will // be a certain number of "1" values. The reduce task sums // these values to compute how many times the given key was // emitted. // // The reduce task then emits a key/val pair where the key // is the number in question, and the value is the number of // times the key was emitted. This is the same format as the // original answer key (except that numbers emitted zero times // will not appear in the regenerated key.) The answer set // is split into a number of pieces. A final MapReduce job // will merge them. // // There's not really a need to go to 10 reduces here // instead of 1. But we want to test what happens when // you have multiple reduces at once. // int intermediateReduces = 10; File intermediateOuts = new File(testdir, "intermediateouts"); fs.mkdirs(intermediateOuts); JobConf checkJob = new JobConf(conf); checkJob.setInputDir(randomOuts); checkJob.setInputKeyClass(LongWritable.class); checkJob.setInputValueClass(UTF8.class); checkJob.setInputFormat(TextInputFormat.class); checkJob.setMapperClass(RandomCheckMapper.class); checkJob.setOutputDir(intermediateOuts); checkJob.setOutputKeyClass(IntWritable.class); checkJob.setOutputValueClass(IntWritable.class); checkJob.setOutputFormat(SequenceFileOutputFormat.class); checkJob.setReducerClass(RandomCheckReducer.class); checkJob.setNumReduceTasks(intermediateReduces); JobClient.runJob(checkJob); // // OK, now we take the output from the last job and // merge it down to a single file. The map() and reduce() // functions don't really do anything except reemit tuples. // But by having a single reduce task here, we end up merging // all the files. // File finalOuts = new File(testdir, "finalouts"); fs.mkdirs(finalOuts); JobConf mergeJob = new JobConf(conf); mergeJob.setInputDir(intermediateOuts); mergeJob.setInputKeyClass(IntWritable.class); mergeJob.setInputValueClass(IntWritable.class); mergeJob.setInputFormat(SequenceFileInputFormat.class); mergeJob.setMapperClass(MergeMapper.class); mergeJob.setOutputDir(finalOuts); mergeJob.setOutputKeyClass(IntWritable.class); mergeJob.setOutputValueClass(IntWritable.class); mergeJob.setOutputFormat(SequenceFileOutputFormat.class); mergeJob.setReducerClass(MergeReducer.class); mergeJob.setNumReduceTasks(1); JobClient.runJob(mergeJob); // // Finally, we compare the reconstructed answer key with the // original one. Remember, we need to ignore zero-count items // in the original key. // boolean success = true; File recomputedkey = new File(finalOuts, "part-00000"); SequenceFile.Reader in = new SequenceFile.Reader(fs, recomputedkey.getPath(), conf); int totalseen = 0; try { IntWritable key = new IntWritable(); IntWritable val = new IntWritable(); for (int i = 0; i < range; i++) { if (dist[i] == 0) { continue; } if (! in.next(key, val)) { System.err.println("Cannot read entry " + i); success = false; break; } else { if ( !((key.get() == i ) && (val.get() == dist[i]))) { System.err.println("Mismatch! Pos=" + key.get() + ", i=" + i + ", val=" + val.get() + ", dist[i]=" + dist[i]); success = false; } totalseen += val.get(); } } if (success) { if (in.next(key, val)) { System.err.println("Unnecessary lines in recomputed key!"); success = false; } } } finally { in.close(); } int originalTotal = 0; for (int i = 0; i < dist.length; i++) { originalTotal += dist[i]; } System.out.println("Original sum: " + originalTotal); System.out.println("Recomputed sum: " + totalseen); // // Write to "results" whether the test succeeded or not. // File resultFile = new File(testdir, "results"); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(fs.create(resultFile))); try { bw.write("Success=" + success + "\n"); System.out.println("Success=" + success); } finally { bw.close(); } }
55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/ee01fef4b4fb82c7492a4a747793839a4d14cd39/MapredLoadTest.java/buggy/src/test/org/apache/hadoop/mapred/MapredLoadTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8037, 1435, 1216, 1860, 288, 3639, 368, 3639, 368, 6654, 7006, 434, 15542, 18, 225, 1220, 353, 326, 5803, 498, 18, 3639, 368, 3639, 509, 6880, 28302, 273, 6880, 31, 3639, 509, 2411, 8526, 273, 394, 509, 63, 3676, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1048, 31, 277, 27245, 288, 5411, 1645, 11152, 24712, 273, 261, 21, 18, 20, 380, 6880, 28302, 13, 342, 261, 3676, 300, 277, 1769, 5411, 2411, 63, 77, 65, 273, 261, 474, 13, 2361, 18, 1896, 12, 20, 16, 2361, 18, 2260, 12, 14141, 24712, 397, 261, 10477, 18, 24492, 12, 14141, 24712, 13, 380, 436, 18, 4285, 43, 12086, 1435, 3719, 1769, 5411, 6880, 28302, 3947, 2411, 63, 77, 15533, 3639, 289, 3639, 309, 261, 8008, 28302, 405, 374, 13, 288, 5411, 2411, 63, 4413, 18, 2469, 17, 21, 65, 1011, 6880, 28302, 31, 3639, 289, 3639, 368, 3639, 368, 2598, 326, 5803, 498, 358, 279, 585, 18, 1850, 368, 3639, 10931, 2662, 273, 10931, 18, 588, 12, 3923, 1769, 3639, 1387, 1842, 1214, 273, 394, 1387, 2932, 1458, 1118, 18, 945, 3813, 8863, 3639, 2662, 18, 24816, 8291, 12, 3813, 1214, 1769, 3639, 1387, 2744, 5048, 273, 394, 1387, 12, 3813, 1214, 16, 315, 4507, 2679, 8863, 3639, 2662, 18, 24816, 8291, 12, 9188, 5048, 1769, 3639, 1387, 5803, 856, 273, 394, 1387, 12, 9188, 5048, 16, 315, 13490, 18, 856, 8863, 3639, 8370, 812, 18, 2289, 596, 273, 394, 8370, 812, 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, 8037, 1435, 1216, 1860, 288, 3639, 368, 3639, 368, 6654, 7006, 434, 15542, 18, 225, 1220, 353, 326, 5803, 498, 18, 3639, 368, 3639, 509, 6880, 28302, 273, 6880, 31, 3639, 509, 2411, 8526, 273, 394, 509, 63, 3676, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1048, 31, 277, 27245, 288, 5411, 1645, 11152, 24712, 273, 261, 21, 18, 20, 380, 6880, 28302, 13, 342, 261, 3676, 300, 277, 1769, 5411, 2411, 63, 77, 65, 273, 261, 474, 13, 2361, 18, 1896, 12, 20, 16, 2361, 18, 2260, 12, 14141, 24712, 397, 261, 10477, 18, 24492, 12, 14141, 24712, 13, 380, 436, 18, 4285, 43, 12086, 1435, 3719, 1769, 5411, 6880, 28302, 2 ]
System.out.println("1: test " + arg + " passed");
System.out.println("1: test " + arg + " passed (" + args.length + ")");
public static void main(String args[]) { String arg = (args.length > 0) ? args[0] : "?"; System.out.println("1: test " + arg + " passed"); }
10130 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10130/bf8bfb905a5d8aa9dd8ffc55f00759ba1f8bd140/Main.java/clean/test/files/cli/test1/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 565, 514, 1501, 273, 261, 1968, 18, 2469, 405, 374, 13, 692, 833, 63, 20, 65, 294, 13574, 31, 565, 2332, 18, 659, 18, 8222, 2932, 21, 30, 1842, 315, 397, 1501, 397, 315, 2275, 7566, 397, 833, 18, 2469, 397, 7310, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 565, 514, 1501, 273, 261, 1968, 18, 2469, 405, 374, 13, 692, 833, 63, 20, 65, 294, 13574, 31, 565, 2332, 18, 659, 18, 8222, 2932, 21, 30, 1842, 315, 397, 1501, 397, 315, 2275, 7566, 397, 833, 18, 2469, 397, 7310, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return runtime.getClasses().getObjectClass().include(args);
return runtime.getObject().include(args);
public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { runtime.secure(4); return runtime.getClasses().getObjectClass().include(args); }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/ca6b16e996ea9af83ce593594b9c69b9364a9924/TopSelfFactory.java/clean/src/org/jruby/TopSelfFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 15908, 10340, 921, 1836, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 7734, 3099, 18, 8869, 12, 24, 1769, 7734, 327, 3099, 18, 588, 921, 7675, 6702, 12, 1968, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 15908, 10340, 921, 1836, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 7734, 3099, 18, 8869, 12, 24, 1769, 7734, 327, 3099, 18, 588, 921, 7675, 6702, 12, 1968, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new Integer[] { project.getIdInternal() });
new Object[] { project.getIdInternal(),username});
public String buildInfo(Integer curricularCourseID, String username, String password) { String result = new String(); if (username == null) return new String(); try { Object argsAutenticacao[] = { username, password, "" }; IUserView userView = (IUserView) ServiceManagerServiceFactory.executeService(null, "Autenticacao", argsAutenticacao); InfoSiteProjects projects = null; try { projects = (InfoSiteProjects) ServiceUtils.executeService(userView, "teacher.ReadExecutionCourseProjects", new Integer[] { curricularCourseID }); } catch (FenixServiceException e) { e.printStackTrace(); throw new FenixActionException(e); } if (projects == null) return new String("-1"); for (Iterator iterProjects = projects.getInfoGroupPropertiesList().iterator(); iterProjects .hasNext();) { InfoGroupProperties project = (InfoGroupProperties) iterProjects.next(); if (project != null) { InfoSiteShiftsAndGroups shiftsAndGroups = null; try { shiftsAndGroups = (InfoSiteShiftsAndGroups) ServiceUtils.executeService( userView, "ReadShiftsAndGroups", new Integer[] { project.getIdInternal() }); } catch (FenixServiceException e) { e.printStackTrace(); throw new FenixActionException(e); } List shiftsAndGroupsList = shiftsAndGroups.getInfoSiteGroupsByShiftList(); for (Iterator iter = shiftsAndGroupsList.iterator(); iter.hasNext();) { InfoSiteGroupsByShift infoSiteShiftAndGroups = (InfoSiteGroupsByShift) iter .next(); for (Iterator iterator2 = infoSiteShiftAndGroups.getInfoSiteStudentGroupsList() .iterator(); iterator2.hasNext();) { InfoSiteStudentGroup infoSiteStudentGroup = (InfoSiteStudentGroup) iterator2 .next(); for (Iterator iterator3 = infoSiteStudentGroup .getInfoSiteStudentInformationList().iterator(); iterator3.hasNext();) { InfoSiteStudentInformation infoSiteStudentInformation = (InfoSiteStudentInformation) iterator3 .next(); if (username.equalsIgnoreCase(infoSiteStudentInformation.getUsername())) { result = projects.getInfoExecutionCourse().getNome() + " ( "; int counter = 0; for (Iterator iteratorCurricularCourses = projects.getInfoExecutionCourse() .getAssociatedInfoCurricularCourses().iterator(); iteratorCurricularCourses .hasNext();) { InfoCurricularCourse infoCurricularCourse = (InfoCurricularCourse) iteratorCurricularCourses .next(); if (counter > 0) result += ","; result += infoCurricularCourse.getInfoDegreeCurricularPlan() .getName(); counter++; } result += " )\n"; result += project.getName() + "\n"; int remainingStudents = project.getMaximumCapacity().intValue(); for (Iterator iteratorWritingResult = infoSiteStudentGroup .getInfoSiteStudentInformationList().iterator(); iteratorWritingResult .hasNext();) { InfoSiteStudentInformation studentInfo = (InfoSiteStudentInformation) iteratorWritingResult .next(); result += studentInfo.getNumber(); Object[] args = { new UserView(studentInfo.getUsername(), new ArrayList()), TipoCurso.LICENCIATURA_OBJ }; InfoStudentCurricularPlan infoStudentCurricularPlan = null; try { infoStudentCurricularPlan = (InfoStudentCurricularPlan) ServiceUtils .executeService( userView, "ReadActiveStudentCurricularPlanByDegreeType", args); } catch (FenixServiceException e) { e.printStackTrace(); throw new FenixActionException(e); } result += "-" + infoStudentCurricularPlan .getInfoDegreeCurricularPlan().getName() + "\n"; remainingStudents--; } while (remainingStudents > 0) { result += "N/A\n"; remainingStudents--; } result += infoSiteStudentGroup.getInfoStudentGroup() .getGroupNumber() + "\n" + infoSiteStudentGroup.getInfoStudentGroup().getInfoShift() .getNome() + "\n"; for (Iterator iteratorLessons = infoSiteStudentGroup .getInfoStudentGroup().getInfoShift().getInfoLessons() .iterator(); iteratorLessons.hasNext();) { InfoLesson infoLesson = (InfoLesson) iteratorLessons.next(); result += infoLesson.getDiaSemana().toString() + " " + infoLesson.getInicio().get(Calendar.HOUR_OF_DAY); int minute = infoLesson.getInicio().get(Calendar.MINUTE); result += ":"; if (minute < 10) result += "0"; result += minute + "\n\n"; } } } } } } else return new String(); } } catch (Exception e) { e.printStackTrace(); result = "-1"; } return result; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/311317c5d247dac1d54d985e96acc897268051e7/ShowStudentGroupInfo.java/clean/src/ServidorApresentacao/Action/publico/ShowStudentGroupInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1361, 966, 12, 4522, 662, 1512, 2490, 39, 3117, 734, 16, 514, 2718, 16, 514, 2201, 13, 288, 3639, 514, 563, 273, 394, 514, 5621, 3639, 309, 261, 5053, 422, 446, 13, 5411, 327, 394, 514, 5621, 3639, 775, 288, 5411, 1033, 833, 7150, 4499, 1077, 6033, 8526, 273, 288, 2718, 16, 2201, 16, 1408, 289, 31, 5411, 467, 1299, 1767, 729, 1767, 273, 261, 45, 1299, 1767, 13, 1956, 1318, 1179, 1733, 18, 8837, 1179, 12, 2011, 16, 10792, 315, 7150, 4499, 1077, 6033, 3113, 833, 7150, 4499, 1077, 6033, 1769, 5411, 3807, 4956, 15298, 10137, 273, 446, 31, 5411, 775, 288, 7734, 10137, 273, 261, 966, 4956, 15298, 13, 1956, 1989, 18, 8837, 1179, 12, 1355, 1767, 16, 13491, 315, 736, 27779, 18, 1994, 3210, 39, 3117, 15298, 3113, 394, 2144, 8526, 288, 662, 1512, 2490, 39, 3117, 734, 15549, 5411, 289, 1044, 261, 42, 275, 697, 15133, 425, 13, 288, 7734, 425, 18, 1188, 6332, 5621, 7734, 604, 394, 478, 275, 697, 1803, 503, 12, 73, 1769, 5411, 289, 5411, 309, 261, 13582, 422, 446, 13, 7734, 327, 394, 514, 2932, 17, 21, 8863, 5411, 364, 261, 3198, 1400, 15298, 273, 10137, 18, 588, 966, 1114, 2297, 682, 7675, 9838, 5621, 1400, 15298, 10792, 263, 5332, 2134, 5621, 13, 288, 7734, 3807, 1114, 2297, 1984, 273, 261, 966, 1114, 2297, 13, 1400, 15298, 18, 4285, 5621, 7734, 309, 261, 4406, 480, 446, 13, 288, 10792, 3807, 4956, 10544, 87, 1876, 3621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1361, 966, 12, 4522, 662, 1512, 2490, 39, 3117, 734, 16, 514, 2718, 16, 514, 2201, 13, 288, 3639, 514, 563, 273, 394, 514, 5621, 3639, 309, 261, 5053, 422, 446, 13, 5411, 327, 394, 514, 5621, 3639, 775, 288, 5411, 1033, 833, 7150, 4499, 1077, 6033, 8526, 273, 288, 2718, 16, 2201, 16, 1408, 289, 31, 5411, 467, 1299, 1767, 729, 1767, 273, 261, 45, 1299, 1767, 13, 1956, 1318, 1179, 1733, 18, 8837, 1179, 12, 2011, 16, 10792, 315, 7150, 4499, 1077, 6033, 3113, 833, 7150, 4499, 1077, 6033, 1769, 5411, 3807, 4956, 15298, 10137, 273, 446, 31, 5411, 775, 288, 7734, 10137, 273, 261, 966, 4956, 15298, 13, 1956, 1989, 18, 8837, 1179, 2 ]
if(log.isInfoEnabled()) log.info("mbr=" + mbr + " (size=" + suspected_mbrs.size() + ")");
if(log.isDebugEnabled()) log.debug("mbr=" + mbr + " (size=" + suspected_mbrs.size() + ")");
void addSuspectedMember(Address mbr) { if(mbr == null) return; if(!members.contains(mbr)) return; synchronized(suspected_mbrs) { if(!suspected_mbrs.contains(mbr)) { suspected_mbrs.addElement(mbr); if(log.isInfoEnabled()) log.info("mbr=" + mbr + " (size=" + suspected_mbrs.size() + ")"); } if(stopped && suspected_mbrs.size() > 0) { stopped=false; timer.add(this, true); } } }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/f4d48c5d12530ffb09ab46034b71d9594b0f1287/FD.java/buggy/src/org/jgroups/protocols/FD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 527, 55, 407, 1789, 4419, 12, 1887, 312, 2848, 13, 288, 5411, 309, 12, 1627, 86, 422, 446, 13, 327, 31, 5411, 309, 12, 5, 7640, 18, 12298, 12, 1627, 86, 3719, 327, 31, 5411, 3852, 12, 87, 407, 1789, 67, 1627, 5453, 13, 288, 7734, 309, 12, 5, 87, 407, 1789, 67, 1627, 5453, 18, 12298, 12, 1627, 86, 3719, 288, 10792, 11375, 1789, 67, 1627, 5453, 18, 1289, 1046, 12, 1627, 86, 1769, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 1627, 86, 1546, 397, 312, 2848, 397, 315, 261, 1467, 1546, 397, 11375, 1789, 67, 1627, 5453, 18, 1467, 1435, 397, 7310, 1769, 7734, 289, 7734, 309, 12, 24228, 597, 11375, 1789, 67, 1627, 5453, 18, 1467, 1435, 405, 374, 13, 288, 10792, 9627, 33, 5743, 31, 10792, 5441, 18, 1289, 12, 2211, 16, 638, 1769, 7734, 289, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 527, 55, 407, 1789, 4419, 12, 1887, 312, 2848, 13, 288, 5411, 309, 12, 1627, 86, 422, 446, 13, 327, 31, 5411, 309, 12, 5, 7640, 18, 12298, 12, 1627, 86, 3719, 327, 31, 5411, 3852, 12, 87, 407, 1789, 67, 1627, 5453, 13, 288, 7734, 309, 12, 5, 87, 407, 1789, 67, 1627, 5453, 18, 12298, 12, 1627, 86, 3719, 288, 10792, 11375, 1789, 67, 1627, 5453, 18, 1289, 1046, 12, 1627, 86, 1769, 10792, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 1627, 86, 1546, 397, 312, 2848, 397, 315, 261, 1467, 1546, 397, 11375, 1789, 67, 1627, 5453, 18, 1467, 1435, 397, 7310, 1769, 7734, 289, 7734, 309, 12, 24228, 2 ]
378, 19, 15, 16, 21, 375, 19, 41, 6, 7, 392, 398, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 693, 370, 49, 50, 10, 52, 53, 27, 10, 410, 50, 101, 21, 292, 44, 32, 47, 296, 10, 4, 5, 369, 71, 10, 51, 54, 50, 263, 280, 14, 106, 10, 280, 10, 54, 506, 507, 306, 41, 387, 11, 10, 11, 444, 313, 314, 693, 59, 695, 41, 310, 310, 58, 59, 402, 94, 343, 44, 61, 263, 264, 100, 269, 91, 271, 269, 51, 44, 10, 53, 2, 3, 4, 5, 113, 41, 8, 9, 10, 11, 59, 10, 14, 15, 16, 94, 0, 19, 15, 16, 310, 343, 19, 310, 26, 61, 10, 2, 320, 10, 71, 10, 310, 328, 343, 90, 454, 10, 10, 44, 362, 371, 371, 349, 362, 47, 48, 49, 10, 51, 304, 53, 49, 10, 308, 10, 61, 349, 10, 58, 59, 353, 354, 44, 359, 44, 829, 108, 10, 41, 308, 269, 47, 271, 10, 59, 125, 58, 59, 369, 370, 371, 369, 370, 371, 58, 59, 59, 90, 41, 10, 369, 370, 371, 311, 312, 10, 559, 10, 218, 310, 200, 59, 105, 59, 107, 545, 267, 10, 269, 200, 310, 829, 41, 231, 232, 233, 59, 467, 10, 590, 41, 58, 59, 44, 362, 565, 244, 41, 246, 247, 10, 107, 61, 244, 91, 246, 247, 41, 244, 681, 246, 247, 364, 58, 59, 58, 59, 61, 282, 244, 268, 246, 247, 93, 91, 58, 59, 61, 369, 370, 371, 263, 32, 290, 291, 16, 340, 59, 19, 369, 370, 371, 91, 256, 91, 61, 218, 331, 32, 59, 10, 666, 222, 223, 338, 125, 671, 269, 91, 271, 267, 309, 310, 311, 312, 313, 314,
378, 19, 15, 16, 21, 375, 19, 71, 6, 7, 392, 51, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 398, 370, 49, 50, 10, 52, 53, 27, 44, 410, 50, 101, 21, 91, 292, 32, 47, 693, 296, 4, 5, 369, 10, 522, 523, 54, 50, 570, 571, 14, 10, 10, 106, 10, 54, 506, 507, 280, 41, 387, 11, 10, 11, 444, 666, 263, 693, 59, 695, 671, 10, 310, 58, 59, 402, 94, 44, 342, 61, 10, 342, 100, 10, 280, 10, 10, 51, 44, 361, 53, 2, 3, 4, 5, 113, 10, 8, 9, 10, 11, 59, 10, 14, 15, 16, 94, 310, 19, 15, 16, 32, 0, 19, 44, 26, 310, 93, 2, 58, 59, 71, 10, 10, 10, 310, 90, 454, 58, 59, 315, 44, 59, 371, 59, 10, 47, 48, 49, 361, 51, 10, 53, 49, 58, 59, 342, 10, 61, 125, 58, 59, 349, 218, 330, 41, 327, 269, 108, 271, 10, 337, 10, 47, 10, 361, 10, 125, 371, 308, 348, 59, 59, 10, 829, 369, 370, 371, 304, 90, 32, 44, 308, 91, 369, 370, 10, 358, 559, 58, 59, 10, 200, 41, 105, 41, 107, 545, 267, 377, 269, 200, 364, 829, 41, 231, 232, 233, 58, 59, 467, 590, 282, 59, 58, 59, 339, 565, 244, 41, 246, 247, 91, 107, 10, 244, 10, 246, 247, 10, 244, 681, 246, 247, 58, 59, 41, 339, 330, 61, 59, 244, 268, 246, 247, 337, 91, 91, 269, 41, 271, 41, 41, 263, 61, 41, 61, 41, 44, 737, 738, 783, 784, 61, 786, 256, 44, 91, 218, 61, 44, 61, 10, 330, 222, 223, 91, 269, 59, 271, 337, 262, 267, 309, 310, 311, 312, 313, 314,
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 41, 6, 7, 392, 398, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 693, 370, 49, 50, 10, 52, 53, 27, 10, 410, 50, 101, 21, 292, 44, 32, 47, 296, 10, 4, 5, 369, 71, 10, 51, 54, 50, 263, 280, 14, 106, 10, 280, 10, 54, 506, 507, 306, 41, 387, 11, 10, 11, 444, 313, 314, 693, 59, 695, 41, 310, 310, 58, 59, 402, 94, 343, 44, 61, 263, 264, 100, 269, 91, 271, 269, 51, 44, 10, 53, 2, 3, 4, 5, 113, 41, 8, 9, 10, 11, 59, 10, 14, 15, 16, 94, 0, 19, 15, 16, 310, 343, 19, 310, 26, 61, 10, 2, 320, 10, 71, 10, 310, 328, 343, 90, 454, 10, 10, 44, 362, 371, 371, 349, 362, 47, 48, 49, 10, 51, 304, 53, 49, 10, 308, 10, 61, 349, 10, 58, 59, 353, 354, 44, 359, 44, 829, 108, 10, 41, 308, 269, 47, 271, 10, 59, 125, 58, 59, 369, 370, 371, 369, 370, 371, 58, 59, 59, 90, 41, 10, 369, 370, 371, 311, 312, 10, 559, 10, 218, 310, 200, 59, 105, 59, 107, 545, 267, 10, 269, 200, 310, 829, 41, 231, 232, 233, 59, 467, 10, 590, 41, 58, 59, 44, 362, 565, 244, 41, 246, 247, 10, 107, 61, 244, 91, 246, 247, 41, 244, 681, 246, 247, 364, 58, 59, 58, 59, 61, 282, 244, 268, 246, 247, 93, 91, 58, 59, 61, 369, 370, 371, 263, 32, 290, 291, 16, 340, 59, 19, 369, 370, 371, 91, 256, 91, 61, 218, 331, 32, 59, 10, 666, 222, 223, 338, 125, 671, 269, 91, 271, 267, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 290, 291, 222, 223, 368, 310, 10, 342, 91, 301, 345, 346, 59, 348, 306, 331, 44, 352, 346, 269, 348, 271, 338, 341, 244, 279, 246, 247, 725, 244, 349, 246, 247, 341, 369, 350, 256, 41, 727, 61, 418, 419, 377, 263, 733, 302, 303, 304, 305, 377, 267, 331, 387, 388, 389, 390, 279, 357, 338, 394, 368, 439, 595, 256, 369, 370, 394, 402, 267, 630, 263, 406, 407, 345, 346, 410, 348, 350, 386, 414, 352, 301, 302, 303, 304, 305, 306, 307, 308, 264, 281, 414, 427, 401, 269, 407, 776, 432, 433, 434, 425, 331, 414, 425, 363, 359, 441, 799, 338, 444, 44, 799, 447, 267, 340, 772, 10, 425, 91, 454, 262, 91, 342, 431, 341, 345, 346, 342, 348, 349, 350, 10, 352, 279, 10, 267, 359, 267, 397, 398, 340, 341, 341, 343, 344, 453, 264, 267, 279, 369, 370, 371, 290, 291, 369, 264, 349, 331, 279, 44, 849, 308, 41, 383, 338, 59, 61, 387, 368, 826, 703, 391, 387, 393, 10, 553, 244, 331, 246, 247, 59, 310, 402, 59, 338, 385, 386, 402, 877, 516, 383, 526, 522, 523, 414, 331, 10, 331, 391, 835, 393, 401, 338, 341, 338, 41, 91, 348, 428, 310, 59, 331, 340, 359, 511, 316, 263, 264, 338, 516, 290, 291, 549, 343, 340, 522, 523, 41, 359, 279, 44, 431, 311, 312, 454, 428, 377, 554, 359, 454, 369, 370, 371, 350, 351, 59, 554, 41, 331, 574, 44, 10, 574, 453, 240, 338, 44, 272, 593, 274, 275, 794, 308, 320, 2, 3, 574, 61, 369, 370, 8, 9, 10, 11, 268, 269, 611, 15, 16, 341, 615, 19, 41, 542, 619, 44, 10, 544, 26, 263, 264, 10, 349, 56, 57, 630, 353, 354, 355, 356, 59, 44, 44, 91, 44, 343, 331, 566, 643, 47, 48, 49, 690, 338, 362, 53, 340, 320, 630, 320, 655, 320, 93, 41, 544, 545, 657, 662, 663, 41, 125, 308, 371, 668, 669, 59, 304, 371, 44, 58, 59, 347, 269, 678, 679, 565, 267, 271, 91, 264, 607, 44, 41, 44, 689, 41, 125, 41, 331, 579, 41, 331, 32, 741, 340, 338, 744, 105, 338, 107, 264, 340, 91, 340, 268, 269, 340, 712, 713, 714, 348, 349, 350, 351, 657, 720, 579, 607, 264, 93, 662, 663, 727, 269, 279, 271, 668, 732, 733, 44, 2, 3, 4, 5, 732, 41, 8, 737, 738, 732, 630, 10, 14, 633, 93, 630, 264, 61, 404, 44, 732, 44, 44, 304, 683, 341, 304, 627, 628, 702, 650, 263, 767, 340, 769, 340, 340, 657, 658, 93, 660, 661, 662, 663, 41, 47, 331, 44, 668, 51, 10, 264, 709, 338, 264, 44, 93, 650, 343, 58, 59, 796, 350, 798, 61, 658, 725, 660, 661, 804, 44, 44, 44, 808, 359, 2, 3, 812, 41, 41, 41, 8, 702, 125, 222, 223, 706, 14, 90, 709, 93, 279, 91, 340, 91, 767, 570, 571, 58, 59, 835, 721, 722, 723, 264, 107, 244, 41, 246, 247, 264, 10, 847, 706, 849, 264, 340, 91, 256, 264, 47, 41, 359, 264, 41, 263, 834, 125, 721, 722, 723, 91, 867, 264, 869, 847, 279, 125, 262, 263, 264, 44, 877, 331, 308, 269, 881, 767, 267, 264, 338, 771, 772, 264, 306, 307, 44, 309, 44, 41, 59, 313, 314, 301, 302, 303, 304, 305, 306, 307, 308, 359, 792, 125, 264, 93, 44, 264, 771, 264, 107, 2, 3, 4, 5, 6, 44, 8, 331, 93, 125, 271, 343, 14, 44, 338, 41, 41, 10, 792, 93, 93, 125, 41, 342, 264, 826, 345, 346, 93, 348, 349, 331, 125, 352, 835, 359, 837, 41, 338, 835, 61, 5, 91, 844, 863, 47, 44, 614, 6, 51, 369, 370, 371, 834, 78, 776, 559, 624, 657, 836, 91, 90, 247, 837, 383, 58, 59, -1, 387, 695, 844, 695, 391, 256, 393, 2, 3, 71, 10, -1, 263, 8, -1, 402, -1, -1, -1, 267, 90, -1, -1, -1, -1, 91, -1, 414, -1, -1, 91, -1, -1, 279, 280, -1, -1, 107, -1, -1, -1, 428, -1, 293, 294, 295, 296, 297, -1, -1, 301, -1, 47, -1, -1, 306, 279, 280, 267, 59, 783, 784, -1, 786, -1, -1, -1, 454, -1, 10, -1, 280, 9, 10, 11, -1, -1, -1, -1, -1, 256, -1, -1, 331, -1, 331, -1, 263, -1, 26, 338, 726, 338, -1, 729, 730, -1, 343, 349, 350, 49, -1, 304, 10, -1, 307, 308, 309, 331, -1, -1, 48, 107, 359, -1, 338, 362, 58, 59, 370, 343, -1, 331, -1, -1, 301, -1, -1, -1, 338, 306, -1, 383, 856, 343, -1, 359, -1, -1, 362, 391, 343, 393, -1, -1, -1, 348, 349, 350, 351, 91, 58, 59, 362, -1, -1, 304, 544, 545, 307, 308, 309, 279, 280, -1, -1, -1, -1, 105, -1, -1, -1, -1, 349, -1, 810, 811, 428, 565, 41, 279, -1, 44, 331, 91, -1, 256, -1, -1, -1, 338, -1, 579, 263, 370, 343, -1, -1, -1, 61, 348, 349, 350, 351, -1, -1, 267, 383, -1, -1, 845, 846, -1, 279, 331, 391, 851, 393, -1, 280, 607, 338, -1, -1, -1, -1, 343, -1, -1, 91, -1, 301, 331, 868, -1, -1, 306, -1, 10, 338, -1, 876, 359, 630, 879, 362, 633, -1, 883, -1, -1, 304, 428, -1, 307, 308, 309, -1, -1, -1, 359, 256, -1, 650, -1, 331, -1, -1, 263, -1, 331, 658, 338, 660, 661, 662, 663, 338, -1, 349, 350, 668, 343, -1, -1, 222, 223, 59, -1, -1, -1, -1, -1, 359, 545, 348, 349, 350, 351, -1, 370, 362, -1, -1, 304, -1, 301, 307, 308, 309, -1, 306, -1, 383, 565, 231, 232, -1, -1, 706, -1, 391, 709, 393, -1, -1, 267, -1, 579, -1, -1, 331, -1, -1, 721, 722, 723, 0, 338, 280, -1, -1, -1, 343, -1, -1, 10, -1, 348, 349, 350, 351, -1, -1, 349, -1, -1, -1, 428, -1, 267, -1, -1, -1, -1, 302, 303, 304, 305, 545, 307, 308, -1, -1, -1, 370, -1, -1, 41, -1, 767, -1, -1, -1, 771, 772, -1, -1, 383, 565, 331, -1, -1, 342, -1, 59, 391, 338, 393, 650, 651, -1, 343, 579, -1, 792, 657, 658, -1, 660, 661, -1, -1, -1, -1, -1, -1, 279, -1, 10, 369, 362, -1, -1, 331, -1, -1, -1, 377, 378, 346, 338, 348, 428, 371, -1, 44, -1, 387, 826, -1, -1, -1, -1, -1, -1, -1, -1, 835, -1, 837, 702, -1, 402, -1, 706, -1, 844, -1, -1, -1, 377, 125, -1, -1, -1, -1, -1, 59, 331, 721, 722, 723, -1, 650, 545, 338, 414, 394, -1, -1, 657, 658, 91, 660, 661, -1, -1, -1, -1, 406, 407, -1, -1, 410, 565, -1, 359, 414, -1, -1, -1, -1, 41, -1, 454, 44, -1, -1, 579, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 771, 772, -1, 61, -1, 441, 702, -1, 444, -1, 706, 447, 304, -1, -1, 307, 308, 309, -1, -1, 10, 792, -1, -1, -1, 721, 722, 723, -1, -1, 545, -1, -1, 91, -1, -1, 505, 506, 507, 331, -1, -1, 511, -1, -1, 41, 338, -1, 44, -1, 565, 343, -1, 522, 523, 826, 348, 349, 350, 351, 650, -1, -1, -1, 579, 61, 837, 657, 658, 59, 660, 661, -1, 844, -1, 771, 772, 546, -1, 262, 263, 264, -1, -1, -1, 268, 269, 544, 271, -1, 526, -1, -1, -1, 41, 91, 792, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 578, -1, 580, 702, 582, 61, -1, 706, -1, -1, 41, 304, 590, 44, 307, 308, 309, -1, -1, -1, -1, 826, 721, 722, 723, -1, 650, 0, -1, -1, 61, -1, 837, -1, 658, 91, 660, 661, 331, 844, -1, 607, 279, 280, -1, 338, -1, -1, 593, -1, 343, -1, -1, -1, -1, 348, 349, 350, 351, -1, 91, -1, -1, -1, -1, -1, 611, 633, 41, -1, 615, -1, 771, 772, 619, -1, -1, -1, -1, -1, -1, -1, 706, -1, 304, 630, -1, 307, 308, 309, -1, -1, 0, 792, 331, -1, -1, 721, 722, 723, -1, 338, 10, 681, -1, -1, 343, -1, -1, -1, -1, 331, 279, 280, -1, -1, -1, -1, 338, -1, -1, -1, 359, 343, -1, 362, -1, 826, 348, 349, 350, 351, -1, 41, 679, -1, 44, -1, 837, -1, -1, -1, -1, 709, 689, 844, -1, 771, 772, -1, 58, 59, 125, 61, -1, 63, -1, -1, -1, 737, 738, -1, -1, -1, 331, -1, -1, -1, 792, -1, -1, 338, -1, -1, 279, 720, 343, -1, -1, -1, -1, -1, 727, 91, -1, 93, -1, -1, 733, -1, -1, -1, 359, -1, -1, 362, -1, -1, -1, -1, -1, -1, 826, -1, -1, 304, -1, -1, 307, 308, 309, -1, -1, 837, -1, 0, -1, 125, -1, -1, 844, 799, -1, 279, 769, 10, 331, -1, -1, -1, -1, -1, 331, 338, -1, -1, -1, -1, 343, 338, -1, -1, -1, -1, 343, -1, -1, -1, 279, 348, 349, 350, 351, 798, 359, -1, 41, 835, -1, 44, -1, -1, -1, 808, -1, -1, -1, 812, -1, -1, -1, -1, -1, 58, 59, 331, 61, -1, 63, -1, -1, -1, 338, -1, -1, 863, -1, -1, 10, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, 331, -1, 847, 359, 849, -1, 91, 338, 93, 320, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 867, -1, 869, 336, 337, -1, 359, -1, -1, -1, 877, -1, -1, -1, 881, -1, 349, -1, 125, 63, 353, 354, 355, 356, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, 63, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, 59, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, 297, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 58, 59, -1, 61, -1, 63, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 304, 305, 0, -1, 308, -1, -1, -1, -1, -1, -1, 315, 10, 317, 318, 125, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 320, 41, 348, 349, 44, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, 336, 337, 58, 59, -1, 61, 304, 63, -1, 307, 308, 309, -1, 349, -1, 351, -1, 353, 354, 355, 356, -1, 10, -1, -1, 320, -1, -1, -1, -1, 325, 326, -1, 331, -1, 91, -1, 93, -1, -1, 338, 336, 337, -1, -1, 343, -1, -1, -1, -1, 348, 349, 350, 351, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 125, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 63, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, 304, -1, -1, 307, 308, 309, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 331, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 41, 343, -1, 44, -1, -1, 348, 349, 350, 351, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 0, -1, 308, -1, -1, -1, -1, -1, -1, 315, 10, 317, 318, 125, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, 348, 349, 44, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 58, 59, -1, -1, -1, 63, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, 91, -1, 93, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 44, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 125, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 58, 59, 308, -1, -1, 63, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 0, 361, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, 41, 329, -1, 44, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 348, 349, 63, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, 58, -1, -1, -1, 125, 63, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 58, 59, 308, -1, -1, 63, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 0, 361, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, 41, 329, -1, 44, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 348, 349, 63, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, -1, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, -1, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, 41, 325, 326, 44, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, 58, 59, -1, 61, -1, 63, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, 0, 334, 335, 336, 337, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, 41, -1, -1, 44, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, 58, 59, 329, -1, -1, 63, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 91, 361, 93, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 349, 125, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, 341, 342, -1, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, -1, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 59, -1, 61, -1, 63, 320, 321, 322, 323, 324, 325, 326, -1, -1, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 320, 361, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, 336, 337, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, -1, -1, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, }; }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 565, 2371, 16, 225, 29460, 16, 282, 4711, 16, 282, 2872, 16, 565, 1666, 16, 6647, 890, 8285, 16, 282, 5342, 16, 282, 4711, 16, 282, 2872, 16, 282, 9035, 16, 225, 890, 5877, 16, 282, 5342, 16, 282, 20170, 16, 565, 1666, 16, 565, 2371, 16, 6647, 890, 9975, 16, 225, 890, 10689, 16, 282, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 12732, 16, 225, 890, 9452, 16, 282, 5342, 16, 282, 21193, 16, 282, 13291, 16, 5411, 1728, 16, 565, 890, 16, 225, 1666, 11180, 16, 225, 890, 7301, 16, 282, 17160, 16, 282, 6437, 16, 282, 1728, 16, 282, 18106, 16, 282, 15935, 16, 282, 12732, 16, 5411, 1728, 16, 225, 1059, 2163, 16, 282, 6437, 16, 225, 13822, 16, 282, 9035, 16, 225, 576, 9975, 16, 282, 13291, 16, 282, 3847, 16, 282, 17495, 16, 225, 576, 10525, 16, 5411, 1728, 16, 565, 1059, 16, 565, 1381, 16, 225, 6580, 29, 16, 282, 26465, 16, 282, 1728, 16, 282, 21119, 16, 282, 22431, 16, 282, 6437, 16, 225, 576, 4449, 16, 6647, 576, 3672, 16, 282, 5045, 16, 225, 1728, 26, 16, 282, 1728, 16, 225, 576, 3672, 16, 282, 1728, 16, 282, 22431, 16, 225, 6437, 26, 16, 225, 6437, 27, 16, 225, 5196, 26, 16, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 565, 2371, 16, 225, 29460, 16, 282, 4711, 16, 282, 2872, 16, 565, 1666, 16, 6647, 890, 8285, 16, 282, 5342, 16, 282, 4711, 16, 282, 2872, 16, 282, 9035, 16, 225, 890, 5877, 16, 282, 5342, 16, 282, 20170, 16, 565, 1666, 16, 565, 2371, 16, 6647, 890, 9975, 16, 225, 890, 10689, 16, 282, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 12732, 16, 225, 890, 9452, 16, 282, 5342, 16, 282, 21193, 16, 282, 13291, 16, 5411, 1728, 16, 565, 890, 16, 2 ]
sb.append ("COALESCE(SUM(Col_").append (col).append("),0)"); } sb.append(" FROM T_Report WHERE AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND PA_ReportLine_ID IN (");
sb.append ("COALESCE(SUM(r2.Col_").append (col).append("),0)"); } sb.append(" FROM T_Report r2 WHERE r2.AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND r2.PA_ReportLine_ID IN (");
private void doCalculations() { // for all lines *************************************************** for (int line = 0; line < m_lines.length; line++) { if (!m_lines[line].isLineTypeCalculation ()) continue; int oper_1 = m_lines[line].getOper_1_ID(); int oper_2 = m_lines[line].getOper_2_ID(); log.fine("Line " + line + " = #" + oper_1 + " " + m_lines[line].getCalculationType() + " #" + oper_2); // Adding if (m_lines[line].isCalculationTypeAdd() || m_lines[line].isCalculationTypeRange()) { // Reverse range if (oper_1 > oper_2) { int temp = oper_1; oper_1 = oper_2; oper_2 = temp; } StringBuffer sb = new StringBuffer ("UPDATE T_Report SET ("); for (int col = 0; col < m_columns.length; col++) { if (col > 0) sb.append(","); sb.append ("Col_").append (col); } sb.append(") = (SELECT "); for (int col = 0; col < m_columns.length; col++) { if (col > 0) sb.append(","); sb.append ("COALESCE(SUM(Col_").append (col).append("),0)"); } sb.append(" FROM T_Report WHERE AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND PA_ReportLine_ID IN ("); if (m_lines[line].isCalculationTypeAdd()) sb.append(oper_1).append(",").append(oper_2); else sb.append(getLineIDs (oper_1, oper_2)); // list of columns to add up sb.append(") AND ABS(LevelNo)<1) " // 0=Line 1=Acct + "WHERE AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND PA_ReportLine_ID=").append(m_lines[line].getPA_ReportLine_ID()) .append(" AND ABS(LevelNo)<1"); // not trx int no = DB.executeUpdate(sb.toString(), get_TrxName()); if (no != 1) log.log(Level.SEVERE, "(+) #=" + no + " for " + m_lines[line] + " - " + sb.toString()); else { log.fine("(+) Line=" + line + " - " + m_lines[line]); log.finest ("(+) " + sb.toString ()); } } else // No Add (subtract, percent) { // Step 1 - get First Value or 0 in there StringBuffer sb = new StringBuffer ("UPDATE T_Report SET ("); for (int col = 0; col < m_columns.length; col++) { if (col > 0) sb.append(","); sb.append ("Col_").append (col); } sb.append(") = (SELECT "); for (int col = 0; col < m_columns.length; col++) { if (col > 0) sb.append(","); sb.append ("COALESCE(r2.Col_").append (col).append(",0)"); } sb.append(" FROM T_Report r2 WHERE r2.AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND r2.PA_ReportLine_ID=").append(oper_1) .append(" AND r2.Record_ID=0 AND r2.Fact_Acct_ID=0) " // + "WHERE AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND PA_ReportLine_ID=").append(m_lines[line].getPA_ReportLine_ID()) .append(" AND ABS(LevelNo)<1"); // 0=Line 1=Acct int no = DB.executeUpdate(sb.toString(), get_TrxName()); if (no != 1) { log.severe ("(x) #=" + no + " for " + m_lines[line] + " - " + sb.toString ()); continue; } // Step 2 - do Calculation with Second Value sb = new StringBuffer ("UPDATE T_Report r1 SET ("); for (int col = 0; col < m_columns.length; col++) { if (col > 0) sb.append(","); sb.append ("Col_").append (col); } sb.append(") = (SELECT "); for (int col = 0; col < m_columns.length; col++) { if (col > 0) sb.append(","); sb.append ("COALESCE(r1.Col_").append (col).append(",0)"); // fix bug [ 1563664 ] Errors in values shown in Financial Reports // Carlos Ruiz - globalqss if (m_lines[line].isCalculationTypeSubtract()) { sb.append("-"); // Solution, for subtraction replace the null with 0, instead of 0.000000001 sb.append ("COALESCE(r2.Col_").append (col).append(",0)"); } else { // Solution, for division don't replace the null, convert 0 to null (avoid ORA-01476) sb.append("/"); sb.append ("DECODE (r2.Col_").append (col).append(", 0, NULL, r2.Col_").append (col).append(")"); } // end fix bug [ 1563664 ] if (m_lines[line].isCalculationTypePercent()) sb.append(" *100"); } sb.append(" FROM T_Report r2 WHERE r2.AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND r2.PA_ReportLine_ID=").append(oper_2) .append(" AND r2.Record_ID=0 AND r2.Fact_Acct_ID=0) " // + "WHERE AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND PA_ReportLine_ID=").append(m_lines[line].getPA_ReportLine_ID()) .append(" AND ABS(LevelNo)<1"); // 0=Line 1=Acct no = DB.executeUpdate(sb.toString(), get_TrxName()); if (no != 1) log.severe ("(x) #=" + no + " for " + m_lines[line] + " - " + sb.toString ()); else { log.fine("(x) Line=" + line + " - " + m_lines[line]); log.finest (sb.toString()); } } } // for all lines // for all columns *********************************************** for (int col = 0; col < m_columns.length; col++) { // Only Calculations if (!m_columns[col].isColumnTypeCalculation ()) continue; StringBuffer sb = new StringBuffer ("UPDATE T_Report SET "); // Column to set sb.append ("Col_").append (col).append("="); // First Operand int ii_1 = getColumnIndex(m_columns[col].getOper_1_ID()); if (ii_1 < 0) { log.log(Level.SEVERE, "Column Index for Operator 1 not found - " + m_columns[col]); continue; } // Second Operand int ii_2 = getColumnIndex(m_columns[col].getOper_2_ID()); if (ii_2 < 0) { log.log(Level.SEVERE, "Column Index for Operator 2 not found - " + m_columns[col]); continue; } log.fine("Column " + col + " = #" + ii_1 + " " + m_columns[col].getCalculationType() + " #" + ii_2); // Reverse Range if (ii_1 > ii_2 && m_columns[col].isCalculationTypeRange()) { log.fine("Swap operands from " + ii_1 + " op " + ii_2); int temp = ii_1; ii_1 = ii_2; ii_2 = temp; } // + if (m_columns[col].isCalculationTypeAdd()) sb.append ("COALESCE(Col_").append (ii_1).append(",0)") .append("+") .append ("COALESCE(Col_").append (ii_2).append(",0)"); // - else if (m_columns[col].isCalculationTypeSubtract()) sb.append ("COALESCE(Col_").append (ii_1).append(",0)") .append("-") .append ("COALESCE(Col_").append (ii_2).append(",0)"); // / if (m_columns[col].isCalculationTypePercent()) sb.append ("CASE WHEN COALESCE(Col_").append(ii_2) .append(",0)=0 THEN NULL ELSE ") .append("COALESCE(Col_").append (ii_1).append(",0)") .append("/") .append ("Col_").append (ii_2) .append("*100 END"); // Zero Divide // Range else if (m_columns[col].isCalculationTypeRange()) { sb.append ("COALESCE(Col_").append (ii_1).append(",0)"); for (int ii = ii_1+1; ii <= ii_2; ii++) sb.append("+COALESCE(Col_").append (ii).append(",0)"); } // sb.append(" WHERE AD_PInstance_ID=").append(getAD_PInstance_ID()) .append(" AND ABS(LevelNo)<2"); // 0=Line 1=Acct int no = DB.executeUpdate(sb.toString(), get_TrxName()); if (no < 1) log.severe ("#=" + no + " for " + m_columns[col] + " - " + sb.toString()); else { log.fine("Col=" + col + " - " + m_columns[col]); log.finest (sb.toString ()); } } // for all columns } // doCalculations
50520 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50520/b7531f681545acbeee288dd7fba51a2c6b6beac9/FinReport.java/clean/base/src/org/compiere/report/FinReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 741, 4844, 1012, 1435, 202, 95, 202, 202, 759, 202, 1884, 777, 2362, 202, 5021, 2751, 14465, 202, 202, 1884, 261, 474, 980, 273, 374, 31, 980, 411, 312, 67, 3548, 18, 2469, 31, 980, 27245, 202, 202, 95, 1082, 202, 430, 16051, 81, 67, 3548, 63, 1369, 8009, 291, 1670, 559, 13989, 1832, 13, 9506, 202, 17143, 31, 1082, 202, 474, 2255, 67, 21, 273, 312, 67, 3548, 63, 1369, 8009, 588, 3542, 67, 21, 67, 734, 5621, 1082, 202, 474, 2255, 67, 22, 273, 312, 67, 3548, 63, 1369, 8009, 588, 3542, 67, 22, 67, 734, 5621, 1082, 202, 1330, 18, 74, 558, 2932, 1670, 315, 397, 980, 397, 315, 273, 31526, 397, 2255, 67, 21, 397, 315, 315, 4697, 202, 15, 312, 67, 3548, 63, 1369, 8009, 588, 13989, 559, 1435, 397, 315, 31526, 397, 2255, 67, 22, 1769, 1082, 202, 759, 202, 13962, 1082, 202, 430, 261, 81, 67, 3548, 63, 1369, 8009, 291, 13989, 559, 986, 1435, 4697, 202, 20081, 312, 67, 3548, 63, 1369, 8009, 291, 13989, 559, 2655, 10756, 1082, 202, 95, 9506, 202, 759, 202, 12650, 1048, 9506, 202, 430, 261, 4063, 67, 21, 405, 2255, 67, 22, 13, 9506, 202, 95, 6862, 202, 474, 1906, 273, 2255, 67, 21, 31, 6862, 202, 4063, 67, 21, 273, 2255, 67, 22, 31, 6862, 202, 4063, 67, 22, 273, 1906, 31, 9506, 202, 97, 9506, 202, 780, 1892, 2393, 273, 394, 6674, 7566, 8217, 399, 67, 4820, 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, 741, 4844, 1012, 1435, 202, 95, 202, 202, 759, 202, 1884, 777, 2362, 202, 5021, 2751, 14465, 202, 202, 1884, 261, 474, 980, 273, 374, 31, 980, 411, 312, 67, 3548, 18, 2469, 31, 980, 27245, 202, 202, 95, 1082, 202, 430, 16051, 81, 67, 3548, 63, 1369, 8009, 291, 1670, 559, 13989, 1832, 13, 9506, 202, 17143, 31, 1082, 202, 474, 2255, 67, 21, 273, 312, 67, 3548, 63, 1369, 8009, 588, 3542, 67, 21, 67, 734, 5621, 1082, 202, 474, 2255, 67, 22, 273, 312, 67, 3548, 63, 1369, 8009, 588, 3542, 67, 22, 67, 734, 5621, 1082, 202, 1330, 18, 74, 558, 2932, 1670, 315, 397, 980, 397, 315, 273, 31526, 397, 2 ]
} else if (tokenType.equals(JavaTokenType.DIV)) {
} else if(tokenType.equals(JavaTokenType.DIV)){
private static String calculateReplacementExpression(PsiExpression expression) { final PsiBinaryExpression exp = (PsiBinaryExpression) expression; final PsiJavaToken sign = exp.getOperationSign(); final PsiExpression lhs = exp.getLOperand(); final PsiExpression rhs = exp.getROperand(); assert rhs != null; final IElementType tokenType = sign.getTokenType(); if (tokenType.equals(JavaTokenType.PLUS)) { if (isZero(lhs)) { return rhs.getText(); } else { return lhs.getText(); } } else if (tokenType.equals(JavaTokenType.MINUS)) { return lhs.getText(); } else if (tokenType.equals(JavaTokenType.ASTERISK)) { if (isOne(lhs)) { return rhs.getText(); } else if (isOne(rhs)) { return lhs.getText(); } else { return "0"; } } else if (tokenType.equals(JavaTokenType.DIV)) { return lhs.getText(); } else { return ""; } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/a4fb0a42d327368a9237b564d1227ae8c89ada7e/PointlessArithmeticExpressionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/numeric/PointlessArithmeticExpressionInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 4604, 15201, 2300, 12, 52, 7722, 2300, 2652, 13, 288, 3639, 727, 453, 7722, 5905, 2300, 1329, 273, 261, 52, 7722, 5905, 2300, 13, 2652, 31, 3639, 727, 453, 7722, 5852, 1345, 1573, 273, 1329, 18, 588, 2988, 2766, 5621, 3639, 727, 453, 7722, 2300, 8499, 273, 1329, 18, 588, 1502, 457, 464, 5621, 3639, 727, 453, 7722, 2300, 7711, 273, 1329, 18, 588, 1457, 457, 464, 5621, 3639, 1815, 7711, 480, 446, 31, 3639, 727, 467, 17481, 22302, 273, 1573, 18, 588, 28675, 5621, 3639, 309, 261, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 6253, 3378, 3719, 288, 5411, 309, 261, 291, 7170, 12, 80, 4487, 3719, 288, 7734, 327, 7711, 18, 588, 1528, 5621, 5411, 289, 469, 288, 7734, 327, 8499, 18, 588, 1528, 5621, 5411, 289, 3639, 289, 469, 309, 261, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 6236, 3378, 3719, 288, 5411, 327, 8499, 18, 588, 1528, 5621, 3639, 289, 469, 309, 261, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 23638, 5127, 47, 3719, 288, 5411, 309, 261, 291, 3335, 12, 80, 4487, 3719, 288, 7734, 327, 7711, 18, 588, 1528, 5621, 5411, 289, 469, 309, 261, 291, 3335, 12, 86, 4487, 3719, 288, 7734, 327, 8499, 18, 588, 1528, 5621, 5411, 289, 469, 288, 7734, 327, 315, 20, 14432, 5411, 289, 3639, 289, 469, 309, 12, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 31901, 3719, 95, 5411, 327, 8499, 18, 588, 1528, 5621, 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, 3238, 760, 514, 4604, 15201, 2300, 12, 52, 7722, 2300, 2652, 13, 288, 3639, 727, 453, 7722, 5905, 2300, 1329, 273, 261, 52, 7722, 5905, 2300, 13, 2652, 31, 3639, 727, 453, 7722, 5852, 1345, 1573, 273, 1329, 18, 588, 2988, 2766, 5621, 3639, 727, 453, 7722, 2300, 8499, 273, 1329, 18, 588, 1502, 457, 464, 5621, 3639, 727, 453, 7722, 2300, 7711, 273, 1329, 18, 588, 1457, 457, 464, 5621, 3639, 1815, 7711, 480, 446, 31, 3639, 727, 467, 17481, 22302, 273, 1573, 18, 588, 28675, 5621, 3639, 309, 261, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 6253, 3378, 3719, 288, 5411, 309, 261, 291, 7170, 12, 80, 4487, 3719, 288, 7734, 327, 7711, 18, 588, 2 ]
if (riga.indexOf("SPELLCHECKFILE=")!=-1){ jTextFieldSpellCheckFile.setText( riga.substring(riga.indexOf("SPELLCHECKFILE=")+15) ); }
public void loadJifConfiguration(File file){ try{ // se il file non presente, non faccio nulla //File file = new File(this.workingDir+"config"+Constants.SEP+"config.jif"); if (!(file.exists())) return; // esco se non trovo il file BufferedReader br = new BufferedReader(new FileReader(file)); // Metto tutti i valori di default defaultOptions(); while ((riga = br.readLine())!=null){ // salto le righe commentate o vuote if (!(riga.startsWith(Constants.TOKENCOMMENT))&&!(riga.equals(""))){ // wrap line on if (riga.indexOf("WRAPLINES=")!=-1){ this.jCheckBoxWrapLines.setSelected( riga.substring(riga.indexOf("WRAPLINES=")+10).equals("true")?true:false); } // syntax highlight if (riga.indexOf("SYNTAX=")!=-1){ this.jCheckBoxSyntax.setSelected( riga.substring(riga.indexOf("SYNTAX=")+7).equals("true")?true:false); } // HELPED CODE if (riga.indexOf("HELPEDCODE=")!=-1){ this.jCheckBoxHelpedCode.setSelected( riga.substring(riga.indexOf("HELPEDCODE=")+11).equals("true")?true:false); } // BACKUP if (riga.indexOf("BACKUP=")!=-1){ this.jCheckBoxBackup.setSelected( riga.substring(riga.indexOf("BACKUP=")+7).equals("true")?true:false); } // MAPPINGEDITING if (riga.indexOf("MAPPINGEDITING=")!=-1){ this.jCheckBoxMappingLive.setSelected( riga.substring(riga.indexOf("MAPPINGEDITING=")+15).equals("true")?true:false); } // MAPPINGTEMP if (riga.indexOf("MAPPINGTEMP=")!=-1){ this.jCheckBoxMapping.setSelected( riga.substring(riga.indexOf("MAPPINGTEMP=")+12).equals("true")?true:false); } // MAPPINGTEMPH if (riga.indexOf("MAPPINGTEMPH=")!=-1){ this.jCheckBoxMappingHFile.setSelected( riga.substring(riga.indexOf("MAPPINGTEMPH=")+13).equals("true")?true:false); } // Show line number if (riga.indexOf("NUMBERLINES=")!=-1){ this.jCheckBoxNumberLines.setSelected( riga.substring(riga.indexOf("NUMBERLINES=")+12).equals("true")?true:false); } // Scan project files for class definitions if (riga.indexOf("SCANPROJECTFILESFORCLASSES=")!=-1){ jCheckBoxScanProjectFiles.setSelected( riga.substring(riga.indexOf("SCANPROJECTFILESFORCLASSES=")+27).equals("true")?true:false); } // PROJECT: open all files if (riga.indexOf("PROJECTOPENALLFILE=")!=-1){ this.jCheckBoxProjectOpenAllFiles.setSelected( riga.substring(riga.indexOf("PROJECTOPENALLFILE=")+19).equals("true")?true:false); } // PROJECT: close all files if (riga.indexOf("PROJECTCLOSEALLFILE=")!=-1){ this.jCheckBoxProjectCloseAll.setSelected( riga.substring(riga.indexOf("PROJECTCLOSEALLFILE=")+20).equals("true")?true:false); } //Adventure path in library path if (riga.indexOf("ADVENTINLIBPATH=")!=-1){ this.jCheckBoxAdventInLib.setSelected( riga.substring(riga.indexOf("ADVENTINLIBPATH=")+16).equals("true")?true:false); } // OPEN LAST FILE if (riga.indexOf("OPENLASTFILE=")!=-1){ this.jCheckBoxOpenLastFile.setSelected( riga.substring(riga.indexOf("OPENLASTFILE=")+13).equals("true")?true:false); } // CREATE A NEW FILE if (riga.indexOf("CREATENEWFILE=")!=-1){ jCheckBoxCreateNewFile.setSelected( riga.substring(riga.indexOf("CREATENEWFILE=")+14).equals("true")?true:false); } // SPELL CHECK if (riga.indexOf("SPELLCHECK=")!=-1){ this.jCheckBoxSpellCheck.setSelected( riga.substring(riga.indexOf("SPELLCHECK=")+11).equals("true")?true:false); } // MAX NUMBER OF RECENT FILES if (riga.indexOf("MAXRECENTFILES=")!=-1){ String num = riga.substring(riga.indexOf("MAXRECENTFILES=")+15); this.jTextFieldMaxRecentFiles.setText(num); try{ maxRecentFiles = Integer.parseInt(num); } catch (Exception e){ // valore di default maxRecentFiles = 10; this.jTextFieldMaxRecentFiles.setText("10"); } } // file scelto per lo spellcheck // SPELL CHECK if (riga.indexOf("SPELLCHECKFILE=")!=-1){ jTextFieldSpellCheckFile.setText( riga.substring(riga.indexOf("SPELLCHECKFILE=")+15) ); } // AUTOMATIC BRACKETS CHECK if (riga.indexOf("AUTOMATICBRACKETSCHECK=")!=-1){ jCheckBoxAutomaticCheckBrackets.setSelected( riga.substring(riga.indexOf("AUTOMATICBRACKETSCHECK=")+23).equals("true")?true:false); }// // Informazioni sul GLULX MODE// if (riga.indexOf("BRESLOCATION=")!=-1){// jTextFieldBres.setText(// riga.substring(riga.indexOf("BRESLOCATION=")+13)// );// }// if (riga.indexOf("BLCLOCATION=")!=-1){// jTextFieldBlc.setText(// riga.substring(riga.indexOf("BLCLOCATION=")+12)// );// } if (riga.indexOf("CHECKBOXMAKERESOURCE=")!=-1){ jCheckBoxMakeResource.setSelected( riga.substring(riga.indexOf("CHECKBOXMAKERESOURCE=")+21).equals("true")?true:false); } // GESTIONE COLORI int col1,col2,col3; if (riga.indexOf("[colorKeyword]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); col1 = Integer.parseInt(st.nextToken()); col2 = Integer.parseInt(st.nextToken()); col3 = Integer.parseInt(st.nextToken()); this.colorKeyword = new Color(col1,col2,col3); } if (riga.indexOf("[colorAttribute]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); col1 = Integer.parseInt(st.nextToken()); col2 = Integer.parseInt(st.nextToken()); col3 = Integer.parseInt(st.nextToken()); this.colorAttribute = new Color(col1,col2,col3); } if (riga.indexOf("[colorProperty]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); col1 = Integer.parseInt(st.nextToken()); col2 = Integer.parseInt(st.nextToken()); col3 = Integer.parseInt(st.nextToken()); this.colorProperty = new Color(col1,col2,col3); } if (riga.indexOf("[colorRoutine]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); col1 = Integer.parseInt(st.nextToken()); col2 = Integer.parseInt(st.nextToken()); col3 = Integer.parseInt(st.nextToken()); this.colorRoutine = new Color(col1,col2,col3); } if (riga.indexOf("[colorVerb]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); col1 = Integer.parseInt(st.nextToken()); col2 = Integer.parseInt(st.nextToken()); col3 = Integer.parseInt(st.nextToken()); this.colorVerb = new Color(col1,col2,col3); } if (riga.indexOf("[colorNormal]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); col1 = Integer.parseInt(st.nextToken()); col2 = Integer.parseInt(st.nextToken()); col3 = Integer.parseInt(st.nextToken()); this.colorNormal = new Color(col1,col2,col3); } //colorBackground if (riga.indexOf("[colorBackground]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); col1 = Integer.parseInt(st.nextToken()); col2 = Integer.parseInt(st.nextToken()); col3 = Integer.parseInt(st.nextToken()); this.colorBackground = new Color(col1,col2,col3); } //colorComment if (riga.indexOf("[colorComment]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); col1 = Integer.parseInt(st.nextToken()); col2 = Integer.parseInt(st.nextToken()); col3 = Integer.parseInt(st.nextToken()); this.colorComment = new Color(col1,col2,col3); } if (riga.indexOf("[defaultFont]=")!=-1){ st = new StringTokenizer(riga,"=,"); st.nextToken(); defaultFont = new Font(st.nextToken(),Integer.parseInt(st.nextToken()),Integer.parseInt(st.nextToken())); } } } br.close(); } catch(Exception e){ JOptionPane.showMessageDialog(jDialogConfigFiles, "Error", e.getMessage() , JOptionPane.INFORMATION_MESSAGE); } }
7731 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7731/1353d26b3e581366864bd35e0c02968df79ae56b/jFrame.java/clean/Project/jFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 46, 430, 1750, 12, 812, 585, 15329, 3639, 775, 95, 7734, 368, 695, 14254, 585, 1661, 225, 3430, 73, 16, 1661, 284, 8981, 1594, 446, 69, 7734, 368, 812, 585, 273, 394, 1387, 12, 2211, 18, 20478, 1621, 9078, 1425, 6, 15, 2918, 18, 28610, 9078, 1425, 18, 78, 430, 8863, 7734, 309, 16051, 12, 768, 18, 1808, 1435, 3719, 327, 31, 282, 368, 2904, 83, 695, 1661, 23432, 12307, 14254, 585, 7734, 10633, 5186, 273, 394, 10633, 12, 2704, 23010, 12, 768, 10019, 7734, 368, 21604, 869, 268, 322, 9096, 277, 23325, 77, 4314, 805, 7734, 19129, 5621, 7734, 1323, 14015, 86, 360, 69, 273, 5186, 18, 896, 1670, 10756, 5, 33, 2011, 15329, 10792, 368, 12814, 869, 884, 436, 360, 580, 2879, 340, 320, 331, 89, 1168, 10792, 309, 16051, 12, 86, 360, 69, 18, 17514, 1190, 12, 2918, 18, 8412, 12200, 3719, 10, 10, 5, 12, 86, 360, 69, 18, 14963, 2932, 6, 3719, 15329, 25083, 202, 759, 2193, 980, 603, 13491, 309, 261, 86, 360, 69, 18, 31806, 2932, 27664, 5997, 55, 1546, 13, 5, 29711, 21, 15329, 21821, 333, 18, 78, 19174, 2964, 5763, 18, 542, 7416, 12, 27573, 436, 360, 69, 18, 28023, 12, 86, 360, 69, 18, 31806, 2932, 27664, 5997, 55, 1546, 27921, 2163, 2934, 14963, 2932, 3767, 7923, 35, 3767, 30, 5743, 1769, 13491, 289, 13491, 368, 6279, 8839, 13491, 309, 261, 86, 360, 69, 18, 31806, 2932, 7474, 28614, 1546, 13, 5, 29711, 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, 1262, 46, 430, 1750, 12, 812, 585, 15329, 3639, 775, 95, 7734, 368, 695, 14254, 585, 1661, 225, 3430, 73, 16, 1661, 284, 8981, 1594, 446, 69, 7734, 368, 812, 585, 273, 394, 1387, 12, 2211, 18, 20478, 1621, 9078, 1425, 6, 15, 2918, 18, 28610, 9078, 1425, 18, 78, 430, 8863, 7734, 309, 16051, 12, 768, 18, 1808, 1435, 3719, 327, 31, 282, 368, 2904, 83, 695, 1661, 23432, 12307, 14254, 585, 7734, 10633, 5186, 273, 394, 10633, 12, 2704, 23010, 12, 768, 10019, 7734, 368, 21604, 869, 268, 322, 9096, 277, 23325, 77, 4314, 805, 7734, 19129, 5621, 7734, 1323, 14015, 86, 360, 69, 273, 5186, 18, 896, 1670, 10756, 5, 33, 2011, 15329, 2 ]
}
public void buildClusterer(Instances data) throws Exception { // can clusterer handle the data? getCapabilities().testWithFail(data); m_NumSplits = 0; m_NumSplitsDone = 0; m_NumSplitsStillDone = 0; // replace missing values m_ReplaceMissingFilter = new ReplaceMissingValues(); m_ReplaceMissingFilter.setInputFormat(data); m_Instances = Filter.useFilter(data, m_ReplaceMissingFilter); // initialize random function Random random0 = new Random(m_Seed); // num of clusters to start with m_NumClusters = m_MinNumClusters; // set distance function to default if (m_DistanceF == null) { m_DistanceF = new EuclideanDistance(); } m_DistanceF.setInstances(m_Instances); checkInstances(); if (m_DebugVektorsFile != null) initDebugVektorsInput(); // make list of indexes for m_Instances int [] allInstList = new int[m_Instances.numInstances()]; for (int i = 0; i < m_Instances.numInstances(); i++) { allInstList[i] = i; } // set model used (just for convenience) m_Model = new Instances(m_Instances, 0); // produce the starting centers if (m_CenterInput != null) { // read centers from file m_ClusterCenters = new Instances(m_CenterInput); m_NumClusters = m_ClusterCenters.numInstances(); } else // makes the first centers randomly m_ClusterCenters = makeCentersRandomly(random0, m_Instances, m_NumClusters); PFD(D_FOLLOWSPLIT, "\n*** Starting centers "); for (int k = 0; k < m_ClusterCenters.numInstances(); k++) { PFD(D_FOLLOWSPLIT, "Center " + k + ": " + m_ClusterCenters.instance(k)); } PrCentersFD(D_PRINTCENTERS); boolean finished = false; Instances children; // builds up a KDTree if (m_KDTree != null) { m_KDTree.setInstances(m_Instances); } // loop counter of main loop m_IterationCount = 0; /** * "finished" does get true as soon as: * 1. number of clusters gets >= m_MaxClusters, * 2. in the last round, none of the centers have been split * * if number of clusters is already >= m_MaxClusters * part 1 (= Improve-Params) is done at least once. */ while (!finished && !stopIteration(m_IterationCount, m_MaxIterations)) { /* ==================================================================== * 1. Improve-Params * conventional K-means */ PFD(D_FOLLOWSPLIT, "\nBeginning of main loop - centers:"); PrCentersFD(D_FOLLOWSPLIT); PFD(D_ITERCOUNT, "\n*** 1. Improve-Params " + m_IterationCount + ". time"); m_IterationCount++; // prepare to converge boolean converged = false; // initialize assignments to -1 m_ClusterAssignments = initAssignments(m_Instances.numInstances()); // stores a list of indexes of instances belonging to each center int [][] instOfCent = new int[m_ClusterCenters.numInstances()][]; // KMeans loop counter int kMeansIteration = 0; // converge in conventional K-means ---------------------------------- PFD(D_FOLLOWSPLIT, "\nConverge in K-Means:"); while (!converged && !stopKMeansIteration(kMeansIteration, m_MaxKMeans)) { kMeansIteration++; converged = true; // assign instances to centers ------------------------------------- converged = assignToCenters(m_KDTree, m_ClusterCenters, instOfCent, allInstList, m_ClusterAssignments, kMeansIteration); PFD(D_FOLLOWSPLIT, "\nMain loop - Assign - centers:"); PrCentersFD(D_FOLLOWSPLIT); // compute new centers = centers of mass of points converged = recomputeCenters(m_ClusterCenters, // clusters instOfCent, // their instances m_Model); // model information PFD(D_FOLLOWSPLIT, "\nMain loop - Recompute - centers:"); PrCentersFD(D_FOLLOWSPLIT); } PFD(D_FOLLOWSPLIT, ""); PFD(D_FOLLOWSPLIT, "End of Part: 1. Improve-Params - conventional K-means"); /** ===================================================================== * 2. Improve-Structur */ // BIC before split distortioning the centres m_Mle = distortion(instOfCent, m_ClusterCenters); m_Bic = calculateBIC(instOfCent, m_ClusterCenters, m_Mle); PFD(D_FOLLOWSPLIT, "m_Bic " + m_Bic); int currNumCent = m_ClusterCenters.numInstances(); Instances splitCenters = new Instances(m_ClusterCenters, currNumCent * 2); // store BIC values of parent and children double [] pbic = new double [currNumCent]; double [] cbic = new double [currNumCent]; // split each center for (int i = 0; i < currNumCent // this could help to optimize the algorithm // && currNumCent + numSplits <= m_MaxNumClusters ; i++) { PFD(D_FOLLOWSPLIT, "\nsplit center " + i + " " + m_ClusterCenters.instance(i)); Instance currCenter = m_ClusterCenters.instance(i); int [] currInstList = instOfCent[i]; int currNumInst = instOfCent[i].length; // not enough instances; than continue with next if (currNumInst <= 2) { pbic[i] = Double.MAX_VALUE; cbic[i] = 0.0; // add center itself as dummy splitCenters.add(currCenter); splitCenters.add(currCenter); continue; } // split centers ---------------------------------------------- double variance = m_Mle[i] / (double)currNumInst; children = splitCenter(random0, currCenter, variance, m_Model); // initialize assignments to -1 int[] oneCentAssignments = initAssignments(currNumInst); int[][] instOfChCent = new int [2][]; // todo maybe split didn't work // converge the children -------------------------------------- converged = false; int kMeansForChildrenIteration = 0; PFD(D_FOLLOWSPLIT, "\nConverge, K-Means for children: " + i); while (!converged && !stopKMeansIteration(kMeansForChildrenIteration, m_MaxKMeansForChildren)) { kMeansForChildrenIteration++; converged = assignToCenters(children, instOfChCent, currInstList, oneCentAssignments); if (!converged) { recomputeCentersFast(children, instOfChCent, m_Model); } } // store new centers for later decision if they are taken splitCenters.add(children.instance(0)); splitCenters.add(children.instance(1)); PFD(D_FOLLOWSPLIT, "\nconverged cildren "); PFD(D_FOLLOWSPLIT, " " + children.instance(0)); PFD(D_FOLLOWSPLIT, " " + children.instance(1)); // compare parent and children model by their BIC-value pbic[i] = calculateBIC(currInstList, currCenter, m_Mle[i], m_Model); double [] chMLE = distortion(instOfChCent, children); cbic[i] = calculateBIC(instOfChCent, children, chMLE); } // end of loop over clusters // decide which one to split and make new list of cluster centers Instances newClusterCenters = null; newClusterCenters = newCentersAfterSplit(pbic, cbic, m_CutOffFactor, splitCenters); /** * Compare with before Improve-Structure */ int newNumClusters = newClusterCenters.numInstances(); if (newNumClusters != m_NumClusters) { PFD(D_FOLLOWSPLIT, "Compare with non-split"); // initialize assignments to -1 int [] newClusterAssignments = initAssignments(m_Instances.numInstances()); // stores a list of indexes of instances belonging to each center int [][] newInstOfCent = new int[newClusterCenters.numInstances()][]; // assign instances to centers ------------------------------------- converged = assignToCenters(m_KDTree, newClusterCenters, newInstOfCent, allInstList, newClusterAssignments, m_IterationCount); double [] newMle = distortion(newInstOfCent, newClusterCenters); double newBic = calculateBIC(newInstOfCent, newClusterCenters, newMle); PFD(D_FOLLOWSPLIT, "newBic " + newBic); if (newBic > m_Bic) { PFD(D_FOLLOWSPLIT, "*** decide for new clusters"); m_Bic = newBic; m_ClusterCenters = newClusterCenters; m_ClusterAssignments = newClusterAssignments; } else { PFD(D_FOLLOWSPLIT, "*** keep old clusters"); } } newNumClusters = m_ClusterCenters.numInstances(); // decide if finished: max num cluster reached // or last centers where not split at all if ((newNumClusters >= m_MaxNumClusters) || (newNumClusters == m_NumClusters)) { finished = true; } m_NumClusters = newNumClusters; } }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/4e4a4a425cc1c0879dd2367e425d0fc335e7547c/XMeans.java/clean/weka/clusterers/XMeans.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1361, 3629, 264, 12, 5361, 501, 13, 1216, 1185, 288, 565, 368, 848, 2855, 264, 1640, 326, 501, 35, 565, 29092, 5756, 7675, 3813, 1190, 3754, 12, 892, 1769, 565, 312, 67, 2578, 16582, 273, 374, 31, 565, 312, 67, 2578, 16582, 7387, 273, 374, 31, 565, 312, 67, 2578, 16582, 510, 737, 7387, 273, 374, 31, 565, 368, 1453, 3315, 924, 565, 312, 67, 5729, 4841, 1586, 273, 394, 6910, 4841, 1972, 5621, 565, 312, 67, 5729, 4841, 1586, 18, 542, 1210, 1630, 12, 892, 1769, 565, 312, 67, 5361, 273, 4008, 18, 1202, 1586, 12, 892, 16, 312, 67, 5729, 4841, 1586, 1769, 3639, 368, 4046, 2744, 445, 565, 8072, 2744, 20, 273, 394, 8072, 12, 81, 67, 12702, 1769, 565, 368, 818, 434, 9566, 358, 787, 598, 565, 312, 67, 2578, 13698, 273, 225, 312, 67, 2930, 2578, 13698, 31, 565, 368, 444, 3888, 445, 358, 805, 565, 309, 261, 81, 67, 7200, 42, 422, 446, 13, 288, 1377, 312, 67, 7200, 42, 273, 394, 512, 22392, 7200, 5621, 4202, 312, 67, 7200, 42, 18, 542, 5361, 12, 81, 67, 5361, 1769, 565, 866, 5361, 5621, 565, 309, 261, 81, 67, 2829, 58, 3839, 88, 1383, 812, 480, 446, 13, 1377, 1208, 2829, 58, 3839, 88, 1383, 1210, 5621, 565, 368, 1221, 666, 434, 5596, 364, 312, 67, 5361, 565, 509, 5378, 777, 10773, 682, 273, 394, 509, 63, 81, 67, 5361, 18, 2107, 5361, 1435, 15533, 377, 364, 261, 474, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1361, 3629, 264, 12, 5361, 501, 13, 1216, 1185, 288, 565, 368, 848, 2855, 264, 1640, 326, 501, 35, 565, 29092, 5756, 7675, 3813, 1190, 3754, 12, 892, 1769, 565, 312, 67, 2578, 16582, 273, 374, 31, 565, 312, 67, 2578, 16582, 7387, 273, 374, 31, 565, 312, 67, 2578, 16582, 510, 737, 7387, 273, 374, 31, 565, 368, 1453, 3315, 924, 565, 312, 67, 5729, 4841, 1586, 273, 394, 6910, 4841, 1972, 5621, 565, 312, 67, 5729, 4841, 1586, 18, 542, 1210, 1630, 12, 892, 1769, 565, 312, 67, 5361, 273, 4008, 18, 1202, 1586, 12, 892, 16, 312, 67, 5729, 4841, 1586, 1769, 3639, 368, 4046, 2744, 445, 565, 8072, 2744, 20, 273, 394, 2 ]
protected int getNumTrees(Taxa taxa, CommandRecord commandRec){ int sourceNumTrees = treeSourceTask.getNumberOfTrees(currentTaxa, commandRec); int numTrees; if (MesquiteInteger.isCombinable(sourceNumTrees)) { numTrees = sourceNumTrees; } else numTrees = getNumTrees(commandRec); if (skipTrees >=1) numTrees = (numTrees+ (skipTrees-1)) / skipTrees; return numTrees; }
private int getNumTrees(CommandRecord commandRec){ if (commandRec.scripting() || numTreesSet) return defNumTrees; int newNum = MesquiteInteger.queryInteger(containerOfModule(), "Set Number of Trees", "Number of Trees (for " + getName() + "):", defNumTrees, 0, MesquiteInteger.infinite); if (newNum>0) { defNumTrees = newNum; numTreesSet = true; } return defNumTrees; }
protected int getNumTrees(Taxa taxa, CommandRecord commandRec){ int sourceNumTrees = treeSourceTask.getNumberOfTrees(currentTaxa, commandRec); int numTrees; if (MesquiteInteger.isCombinable(sourceNumTrees)) { numTrees = sourceNumTrees; } else numTrees = getNumTrees(commandRec); if (skipTrees >=1) numTrees = (numTrees+ (skipTrees-1)) / skipTrees; return numTrees; }
57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/88e3c75ba71c7c3e23478b1c3ff126ef3c6fe3ab/NForTaxonWithTrees.java/buggy/branches/Mesquite1.x/Mesquite Project/Source/mesquite/treefarm/lib/NForTaxonWithTrees.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 509, 11187, 26590, 12, 7731, 69, 5320, 69, 16, 3498, 2115, 1296, 5650, 15329, 202, 202, 474, 1084, 2578, 26590, 273, 2151, 1830, 2174, 18, 588, 9226, 26590, 12, 2972, 7731, 69, 16, 1296, 5650, 1769, 202, 202, 474, 818, 26590, 31, 202, 202, 430, 261, 49, 281, 372, 1137, 4522, 18, 291, 24107, 429, 12, 3168, 2578, 26590, 3719, 288, 1082, 202, 2107, 26590, 273, 1084, 2578, 26590, 31, 202, 202, 97, 202, 202, 12107, 1082, 202, 2107, 26590, 273, 11187, 26590, 12, 3076, 5650, 1769, 202, 202, 430, 261, 7457, 26590, 1545, 21, 13, 1082, 202, 2107, 26590, 273, 261, 2107, 26590, 15, 261, 7457, 26590, 17, 21, 3719, 342, 2488, 26590, 31, 3196, 202, 2463, 818, 26590, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 509, 11187, 26590, 12, 7731, 69, 5320, 69, 16, 3498, 2115, 1296, 5650, 15329, 202, 202, 474, 1084, 2578, 26590, 273, 2151, 1830, 2174, 18, 588, 9226, 26590, 12, 2972, 7731, 69, 16, 1296, 5650, 1769, 202, 202, 474, 818, 26590, 31, 202, 202, 430, 261, 49, 281, 372, 1137, 4522, 18, 291, 24107, 429, 12, 3168, 2578, 26590, 3719, 288, 1082, 202, 2107, 26590, 273, 1084, 2578, 26590, 31, 202, 202, 97, 202, 202, 12107, 1082, 202, 2107, 26590, 273, 11187, 26590, 12, 3076, 5650, 1769, 202, 202, 430, 261, 7457, 26590, 1545, 21, 13, 1082, 202, 2107, 26590, 273, 261, 2107, 26590, 15, 261, 7457, 26590, 17, 21, 3719, 342, 2488, 26590, 31, 3196, 2 ]
m_currentTest.setParallel(parallel);
if(XmlSuite.PARALLEL_METHODS.equals(parallel) || XmlSuite.PARALLEL_NONE.equals(parallel) || "true".equals(parallel) || "false".equals(parallel)) { m_currentTest.setParallel(parallel); } else { Utils.log("Parser", 1, "[WARN] Unknown value of attribute 'parallel' for test '" + name + "': '" + parallel + "'"); }
private void xmlTest(boolean start, Attributes attributes) { if (start) { String name = attributes.getValue("name"); m_currentTest = new XmlTest(m_currentSuite); m_currentTestParameters = new HashMap<String, String>(); m_currentTest.setName(name); String verbose = attributes.getValue("verbose"); if (null != verbose) { m_currentTest.setVerbose(Integer.parseInt(verbose)); } String jUnit = attributes.getValue("junit"); if (null != jUnit) { m_currentTest.setJUnit(new Boolean(jUnit).booleanValue()); } String parallel = attributes.getValue("parallel"); if (null != parallel) { m_currentTest.setParallel(parallel); } String annotations = attributes.getValue("annotations"); if (null != annotations) { m_currentTest.setAnnotations(annotations); } m_inTest = true; } else { if (null != m_currentTestParameters && m_currentTestParameters.size() > 0) { m_currentTest.setParameters(m_currentTestParameters); } if (null != m_currentClasses) { m_currentTest.setXmlClasses(m_currentClasses); } m_currentClasses = null; m_currentTest = null; m_currentTestParameters = null; m_inTest = false; } }
47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/fd3d62963585c7d537041ba7ed53ebda5eef31c4/TestNGContentHandler.java/clean/src/main/org/testng/xml/TestNGContentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2025, 4709, 12, 6494, 787, 16, 9055, 1677, 13, 288, 565, 309, 261, 1937, 13, 288, 1377, 514, 508, 273, 1677, 18, 24805, 2932, 529, 8863, 1377, 312, 67, 2972, 4709, 273, 394, 5714, 4709, 12, 81, 67, 2972, 13587, 1769, 1377, 312, 67, 2972, 4709, 2402, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 1377, 312, 67, 2972, 4709, 18, 542, 461, 12, 529, 1769, 1377, 514, 3988, 273, 1677, 18, 24805, 2932, 11369, 8863, 1377, 309, 261, 2011, 480, 3988, 13, 288, 3639, 312, 67, 2972, 4709, 18, 542, 14489, 12, 4522, 18, 2670, 1702, 12, 11369, 10019, 1377, 289, 1377, 514, 525, 2802, 273, 1677, 18, 24805, 2932, 78, 4873, 8863, 1377, 309, 261, 2011, 480, 525, 2802, 13, 288, 3639, 312, 67, 2972, 4709, 18, 542, 46, 2802, 12, 2704, 3411, 12, 78, 2802, 2934, 6494, 620, 10663, 1377, 289, 1377, 514, 7230, 273, 1677, 18, 24805, 2932, 18054, 8863, 1377, 309, 261, 2011, 480, 7230, 13, 288, 3639, 309, 12, 4432, 13587, 18, 2778, 1013, 900, 48, 67, 25750, 18, 14963, 12, 18054, 13, 747, 5714, 13587, 18, 2778, 1013, 900, 48, 67, 9826, 18, 14963, 12, 18054, 13, 747, 315, 3767, 9654, 14963, 12, 18054, 13, 747, 315, 5743, 9654, 14963, 12, 18054, 3719, 288, 312, 67, 2972, 4709, 18, 542, 13056, 12, 18054, 1769, 289, 469, 288, 6091, 18, 1330, 2932, 2678, 3113, 404, 16, 5158, 27999, 65, 9077, 460, 434, 1566, 296, 18054, 11, 364, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2025, 4709, 12, 6494, 787, 16, 9055, 1677, 13, 288, 565, 309, 261, 1937, 13, 288, 1377, 514, 508, 273, 1677, 18, 24805, 2932, 529, 8863, 1377, 312, 67, 2972, 4709, 273, 394, 5714, 4709, 12, 81, 67, 2972, 13587, 1769, 1377, 312, 67, 2972, 4709, 2402, 273, 394, 4317, 32, 780, 16, 514, 34, 5621, 1377, 312, 67, 2972, 4709, 18, 542, 461, 12, 529, 1769, 1377, 514, 3988, 273, 1677, 18, 24805, 2932, 11369, 8863, 1377, 309, 261, 2011, 480, 3988, 13, 288, 3639, 312, 67, 2972, 4709, 18, 542, 14489, 12, 4522, 18, 2670, 1702, 12, 11369, 10019, 1377, 289, 1377, 514, 525, 2802, 273, 1677, 18, 24805, 2932, 78, 4873, 8863, 1377, 2 ]
if (persp == null) return;
if (persp == null) { return; }
public void savePerspectiveAs(IPerspectiveDescriptor newDesc) { Perspective persp = getActivePerspective(); if (persp == null) return; IPerspectiveDescriptor oldDesc = persp.getDesc(); // Always unzoom. if (isZoomed()) zoomOut(); persp.saveDescAs(newDesc); window.firePerspectiveSavedAs(this, oldDesc, newDesc); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1923, 14781, 16772, 1463, 12, 2579, 414, 16772, 3187, 394, 4217, 13, 288, 3639, 453, 414, 16772, 13508, 84, 273, 11960, 14781, 16772, 5621, 3639, 309, 261, 10422, 84, 422, 446, 13, 5411, 327, 31, 3639, 2971, 414, 16772, 3187, 1592, 4217, 273, 13508, 84, 18, 588, 4217, 5621, 3639, 368, 14178, 640, 14932, 18, 3639, 309, 261, 291, 11497, 329, 10756, 5411, 7182, 1182, 5621, 3639, 13508, 84, 18, 5688, 4217, 1463, 12, 2704, 4217, 1769, 3639, 2742, 18, 12179, 14781, 16772, 16776, 1463, 12, 2211, 16, 1592, 4217, 16, 394, 4217, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1923, 14781, 16772, 1463, 12, 2579, 414, 16772, 3187, 394, 4217, 13, 288, 3639, 453, 414, 16772, 13508, 84, 273, 11960, 14781, 16772, 5621, 3639, 309, 261, 10422, 84, 422, 446, 13, 5411, 327, 31, 3639, 2971, 414, 16772, 3187, 1592, 4217, 273, 13508, 84, 18, 588, 4217, 5621, 3639, 368, 14178, 640, 14932, 18, 3639, 309, 261, 291, 11497, 329, 10756, 5411, 7182, 1182, 5621, 3639, 13508, 84, 18, 5688, 4217, 1463, 12, 2704, 4217, 1769, 3639, 2742, 18, 12179, 14781, 16772, 16776, 1463, 12, 2211, 16, 1592, 4217, 16, 394, 4217, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
GlobalPreferencesService global_prefs = new GlobalPreferencesServiceProxy(); global_prefs.load();
try { GlobalPreferencesService global_prefs = new GlobalPreferencesServiceProxy(); global_prefs.load();
public void init (String[] args) throws Exception { // Register the internal static beans registerStaticBeans(); // This needs to be the first step to ensure that all the basic services // and viewers get loaded. String default_path = System.getProperty("TWEEK_BASE_DIR") + File.separator + "share" + File.separator + "tweek" + File.separator + "beans"; // Add in the old default Bean directory for backwards compatibility. // This will be removed before Tweek 1.0 is relesaed. String compat_path = System.getProperty("TWEEK_BASE_DIR") + File.separator + "bin" + File.separator + "beans"; mBeanDirs.add(default_path); mBeanDirs.add(compat_path); // As a side effect, the following may add more paths to mBeanDirs. String[] new_args = parseTweekArgs(args); // Explicitly load the global preferences now. The // GlobalPreferencesService class does not load them automatically. This // must happen after the command line arguments have been parsed so that // the user can specify an alternate preferences file. GlobalPreferencesService global_prefs = new GlobalPreferencesServiceProxy(); global_prefs.load(); // Set the look and feel now so that any GUI components that are // instantiated hereafter will have the correct look and feel. // XXX: If there are GUI components loaded statically (see above), they // will need to be updated. setLookAndFeel(global_prefs); // Register the command-line arguments with the Environment Service (if // it is available). try { EnvironmentService service = new EnvironmentServiceProxy(); service.setCommandLineArgs(new_args); } catch(RuntimeException e) { // Use System.err here because the GUI has not been displayed yet. System.err.println("WARNING: Failed to register command-line arguments"); } // Loop over all the known Bean directories to search for and load any // Beans that are found. This must occur after the global preferences // have been loaded so that the user can enable or disable lazy Panel // Bean instantiation. Iterator i = mBeanDirs.iterator(); while ( i.hasNext() ) { String path = (String) i.next(); try { findAndLoadBeans(path); } catch (BeanPathException e) { System.out.println("WARNING: Invalid path " + path); } } m_gui = new TweekFrame(mMsgDocument); // Now we need to register the TweekFrame instance as a listener for // BeanFocusChangeEvents. List viewer_beans = BeanRegistry.instance().getBeansOfType( ViewerBean.class.getName() ); for ( Iterator itr = viewer_beans.iterator(); itr.hasNext(); ) { BeanModelViewer v = ((ViewerBean)itr.next()).getViewer(); v.addBeanFocusChangeListener(m_gui); } m_gui.initGUI(); // Now select the default bean if necessary if (defaultBean != null) { mMsgDocument.printStatusnl("Trying to focus default bean: " + defaultBean); TweekBean bean = BeanRegistry.instance().getBean(defaultBean); // Valid the bean registered under the default bean's name if (bean == null) { mMsgDocument.printWarningnl("WARNING: Default Bean doesn't exist"); } else if (! (bean instanceof PanelBean)) { mMsgDocument.printWarningnl("WARNING: Default Bean is not a Panel Bean"); } else { ViewerBean viewer = m_gui.getBeanViewer(); if (viewer != null) { viewer.getViewer().focusBean((PanelBean)bean); } } } }
7933 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7933/f53f5cfb8cc29a594d677a438c23fa75d475c26d/TweekCore.java/clean/modules/tweek/java/org/vrjuggler/tweek/TweekCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1208, 261, 780, 8526, 833, 13, 1216, 1185, 282, 288, 1377, 368, 5433, 326, 2713, 760, 15709, 1377, 1744, 5788, 14495, 5621, 1377, 368, 1220, 4260, 358, 506, 326, 1122, 2235, 358, 3387, 716, 777, 326, 5337, 4028, 1377, 368, 471, 1476, 414, 336, 4203, 18, 1377, 514, 805, 67, 803, 273, 2332, 18, 588, 1396, 2932, 56, 20274, 67, 8369, 67, 4537, 7923, 397, 18701, 1387, 18, 11287, 397, 315, 14419, 6, 397, 18701, 1387, 18, 11287, 397, 315, 88, 10741, 6, 397, 18701, 1387, 18, 11287, 397, 315, 2196, 634, 14432, 1377, 368, 1436, 316, 326, 1592, 805, 7704, 1867, 364, 12727, 8926, 18, 1377, 368, 1220, 903, 506, 3723, 1865, 399, 10741, 404, 18, 20, 353, 283, 1040, 69, 329, 18, 1377, 514, 4796, 67, 803, 273, 2332, 18, 588, 1396, 2932, 56, 20274, 67, 8369, 67, 4537, 7923, 397, 21821, 1387, 18, 11287, 397, 315, 4757, 6, 397, 1387, 18, 11287, 397, 315, 2196, 634, 14432, 1377, 312, 3381, 9872, 18, 1289, 12, 1886, 67, 803, 1769, 1377, 312, 3381, 9872, 18, 1289, 12, 16239, 67, 803, 1769, 1377, 368, 2970, 279, 4889, 5426, 16, 326, 3751, 2026, 527, 1898, 2953, 358, 312, 3381, 9872, 18, 1377, 514, 8526, 394, 67, 1968, 273, 1109, 56, 10741, 2615, 12, 1968, 1769, 1377, 368, 24321, 715, 1262, 326, 2552, 12750, 2037, 18, 225, 1021, 1377, 368, 8510, 12377, 1179, 667, 1552, 486, 1262, 2182, 6635, 18, 225, 1220, 1377, 368, 1297, 5865, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1208, 261, 780, 8526, 833, 13, 1216, 1185, 282, 288, 1377, 368, 5433, 326, 2713, 760, 15709, 1377, 1744, 5788, 14495, 5621, 1377, 368, 1220, 4260, 358, 506, 326, 1122, 2235, 358, 3387, 716, 777, 326, 5337, 4028, 1377, 368, 471, 1476, 414, 336, 4203, 18, 1377, 514, 805, 67, 803, 273, 2332, 18, 588, 1396, 2932, 56, 20274, 67, 8369, 67, 4537, 7923, 397, 18701, 1387, 18, 11287, 397, 315, 14419, 6, 397, 18701, 1387, 18, 11287, 397, 315, 88, 10741, 6, 397, 18701, 1387, 18, 11287, 397, 315, 2196, 634, 14432, 1377, 368, 1436, 316, 326, 1592, 805, 7704, 1867, 364, 12727, 8926, 18, 1377, 368, 1220, 903, 506, 3723, 1865, 399, 10741, 404, 2 ]
int n = 0; while (true)
if (m_sameName.size() > 1)
public void add(File file) { String name = file.getName(); m_menu.add(name, file.toString()); m_sameName.clear(); for (int i = 0; i < getCount(); ++i) if (getName(i).equals(name)) m_sameName.add(getValue(i)); int n = 0; while (true) { boolean samePrefix = true; char c = file.toString().charAt(n); for (int i = 0; i < m_sameName.size(); ++i) { String sameName = (String)m_sameName.get(i); if (sameName.length() < n || sameName.charAt(n) != c) { samePrefix = false; break; } } if (! samePrefix) break; ++n; } for (int i = 0; i < getCount(); ++i) if (getName(i).equals(name)) m_menu.setLabel(i, getValue(i).substring(n)); }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/309601e5499ebba724af4e4349179a237f80ae59/RecentFileMenu.java/buggy/src/net/sf/gogui/gui/RecentFileMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 12, 812, 585, 13, 565, 288, 3639, 514, 508, 273, 585, 18, 17994, 5621, 3639, 312, 67, 5414, 18, 1289, 12, 529, 16, 585, 18, 10492, 10663, 3639, 312, 67, 14307, 461, 18, 8507, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 14155, 5621, 965, 77, 13, 5411, 309, 261, 17994, 12, 77, 2934, 14963, 12, 529, 3719, 7734, 312, 67, 14307, 461, 18, 1289, 12, 24805, 12, 77, 10019, 3639, 509, 290, 273, 374, 31, 3639, 1323, 261, 3767, 13, 3639, 288, 5411, 1250, 1967, 2244, 273, 638, 31, 5411, 1149, 276, 273, 585, 18, 10492, 7675, 3001, 861, 12, 82, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 312, 67, 14307, 461, 18, 1467, 5621, 965, 77, 13, 5411, 288, 7734, 514, 1967, 461, 273, 261, 780, 13, 81, 67, 14307, 461, 18, 588, 12, 77, 1769, 7734, 309, 261, 14307, 461, 18, 2469, 1435, 411, 290, 747, 1967, 461, 18, 3001, 861, 12, 82, 13, 480, 276, 13, 7734, 288, 10792, 1967, 2244, 273, 629, 31, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 309, 16051, 1967, 2244, 13, 7734, 898, 31, 5411, 965, 82, 31, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 14155, 5621, 965, 77, 13, 5411, 309, 261, 17994, 12, 77, 2934, 14963, 12, 529, 3719, 7734, 312, 67, 5414, 18, 542, 2224, 12, 77, 16, 2366, 12, 77, 2934, 28023, 12, 82, 10019, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 12, 812, 585, 13, 565, 288, 3639, 514, 508, 273, 585, 18, 17994, 5621, 3639, 312, 67, 5414, 18, 1289, 12, 529, 16, 585, 18, 10492, 10663, 3639, 312, 67, 14307, 461, 18, 8507, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 14155, 5621, 965, 77, 13, 5411, 309, 261, 17994, 12, 77, 2934, 14963, 12, 529, 3719, 7734, 312, 67, 14307, 461, 18, 1289, 12, 24805, 12, 77, 10019, 3639, 509, 290, 273, 374, 31, 3639, 1323, 261, 3767, 13, 3639, 288, 5411, 1250, 1967, 2244, 273, 638, 31, 5411, 1149, 276, 273, 585, 18, 10492, 7675, 3001, 861, 12, 82, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 2 ]
switch (token.getType()) { case Token.MULTIPLY: left = factory.newMultiplication(left, parseMulExpr(lexer)); break; case Token.DIVIDE: left = factory.newDivision(left, parseMulExpr(lexer)); break; default: lexer.pushBack(token); return left; } } }
switch (token.getType()) { case Token.MULTIPLY: left = factory.newMultiplication(left, parseMulExpr(lexer)); break; case Token.DIVIDE: left = factory.newDivision(left, parseMulExpr(lexer)); break; default: lexer.pushBack(token); return left; } } }
private Expression parseMulExpr( Lexer lexer ) throws ParseException, IOException { Expression left = parsePowExpr(lexer); for (; ;) { Token token = lexer.nextToken(); switch (token.getType()) { case Token.MULTIPLY: left = factory.newMultiplication(left, parseMulExpr(lexer)); break; case Token.DIVIDE: left = factory.newDivision(left, parseMulExpr(lexer)); break; default: lexer.pushBack(token); return left; } } }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/InfixParser.java/clean/jmock/examples/calculator/src/org/jmock/examples/calculator/InfixParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 5371, 1109, 27860, 4742, 12, 14234, 8512, 262, 202, 3639, 1216, 10616, 16, 1860, 288, 202, 202, 2300, 2002, 273, 1109, 28289, 4742, 12, 31731, 1769, 202, 202, 1884, 261, 31, 274, 13, 288, 1082, 202, 1345, 1147, 273, 8512, 18, 4285, 1345, 5621, 1082, 202, 9610, 261, 2316, 18, 588, 559, 10756, 288, 1082, 202, 3593, 3155, 18, 24683, 7076, 30, 9506, 202, 4482, 273, 3272, 18, 2704, 5002, 1254, 12, 4482, 16, 1109, 27860, 4742, 12, 31731, 10019, 9506, 202, 8820, 31, 1082, 202, 3593, 3155, 18, 31901, 10385, 30, 9506, 202, 4482, 273, 3272, 18, 2704, 28223, 12, 4482, 16, 1109, 27860, 4742, 12, 31731, 10019, 9506, 202, 8820, 31, 1082, 202, 1886, 30, 9506, 202, 31731, 18, 6206, 2711, 12, 2316, 1769, 9506, 202, 2463, 2002, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5371, 1109, 27860, 4742, 12, 14234, 8512, 262, 202, 3639, 1216, 10616, 16, 1860, 288, 202, 202, 2300, 2002, 273, 1109, 28289, 4742, 12, 31731, 1769, 202, 202, 1884, 261, 31, 274, 13, 288, 1082, 202, 1345, 1147, 273, 8512, 18, 4285, 1345, 5621, 1082, 202, 9610, 261, 2316, 18, 588, 559, 10756, 288, 1082, 202, 3593, 3155, 18, 24683, 7076, 30, 9506, 202, 4482, 273, 3272, 18, 2704, 5002, 1254, 12, 4482, 16, 1109, 27860, 4742, 12, 31731, 10019, 9506, 202, 8820, 31, 1082, 202, 3593, 3155, 18, 31901, 10385, 30, 9506, 202, 4482, 273, 3272, 18, 2704, 28223, 12, 4482, 16, 1109, 27860, 4742, 12, 31731, 10019, 9506, 202, 8820, 31, 1082, 202, 1886, 2 ]
updateSubImageImpl(data, target, mipmapLevel, x, y);
updateSubImageImpl(data, target, mipmapLevel, x, y, 0, 0, data.getWidth(), data.getHeight());
public void updateSubImage(TextureData data, int mipmapLevel, int x, int y) throws GLException { updateSubImageImpl(data, target, mipmapLevel, x, y); }
45742 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45742/a736f85a834613d12e2b28e14b5a53fa6991b86f/Texture.java/clean/src/classes/com/sun/opengl/util/texture/Texture.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 1676, 2040, 12, 10967, 751, 501, 16, 509, 312, 625, 1458, 2355, 16, 509, 619, 16, 509, 677, 13, 1216, 10252, 503, 288, 565, 1089, 1676, 2040, 2828, 12, 892, 16, 1018, 16, 312, 625, 1458, 2355, 16, 619, 16, 677, 16, 374, 16, 374, 16, 501, 18, 588, 2384, 9334, 501, 18, 588, 2686, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 1676, 2040, 12, 10967, 751, 501, 16, 509, 312, 625, 1458, 2355, 16, 509, 619, 16, 509, 677, 13, 1216, 10252, 503, 288, 565, 1089, 1676, 2040, 2828, 12, 892, 16, 1018, 16, 312, 625, 1458, 2355, 16, 619, 16, 677, 16, 374, 16, 374, 16, 501, 18, 588, 2384, 9334, 501, 18, 588, 2686, 10663, 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 ]
public org.quickfix.field.LegSymbol get(org.quickfix.field.LegSymbol value)
public quickfix.field.LegSymbol get(quickfix.field.LegSymbol value)
public org.quickfix.field.LegSymbol get(org.quickfix.field.LegSymbol value) throws FieldNotFound { getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/MassQuoteAcknowledgement.java/clean/src/java/src/quickfix/fix44/MassQuoteAcknowledgement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 8329, 5335, 336, 12, 19525, 904, 18, 1518, 18, 8329, 5335, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9549, 904, 18, 1518, 18, 8329, 5335, 336, 12, 19525, 904, 18, 1518, 18, 8329, 5335, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
doEntityDisplacement(target, dest, dest.translated(direction), new PilotingRollData(target.getId(), 0, "domino effect"));
doEntityDisplacement(violation, dest, dest.translated(direction), new PilotingRollData(violation.getId(), 0, "domino effect"));
private void doEntityDisplacement(Entity entity, Coords src, Coords dest, PilotingRollData roll) { final Hex srcHex = game.board.getHex(src); final Hex destHex = game.board.getHex(dest); final int direction = src.direction(dest); int fallElevation = entity.elevationOccupied(srcHex) - entity.elevationOccupied(destHex); Entity target = game.getEntity(dest); // can't fall upwards if (fallElevation < 0) { fallElevation = 0; } // if destination is empty, this could be easy... if (target == null || target.equals(entity)) { if (fallElevation < 2) { // no cliff: move and roll normally phaseReport.append(entity.getDisplayName() + " is displaced into hex " + dest.getBoardNum() + ".\n"); entity.setPosition(dest); if (roll != null) { pilotRolls.addElement(roll); } return; } else { // cliff: fall off it, deal damage, prone immediately phaseReport.append(entity.getDisplayName() + " falls " + fallElevation + " levels into hex " + dest.getBoardNum() + ".\n"); // only given a modifier, so flesh out into a full piloting roll PilotingRollData pilotRoll = Compute.getBasePilotingRoll(game, entity.getId()); if (roll != null) { pilotRoll.append(roll); } doEntityFall(entity, dest, fallElevation, pilotRoll); return; } } // okay, destination occupied. hmmm... System.err.println("server.doEntityDisplacement: destination occupied"); if (fallElevation < 2) { // domino effect: move & displace target phaseReport.append(entity.getDisplayName() + " is displaced into hex " + dest.getBoardNum() + ", occupied by " + target.getDisplayName() + ".\n"); entity.setPosition(dest); if (roll != null) { pilotRolls.addElement(roll); } doEntityDisplacement(target, dest, dest.translated(direction), new PilotingRollData(target.getId(), 0, "domino effect")); return; } else { // accidental fall from above: havoc! phaseReport.append(entity.getDisplayName() + " falls " + fallElevation + " levels into hex " + dest.getBoardNum() + ", occupied by " + target.getDisplayName() + ".\n"); // determine to-hit number ToHitData toHit = new ToHitData(7, "base"); toHit.append(Compute.getTargetMovementModifier(game, target.getId())); toHit.append(Compute.getTargetTerrainModifier(game, target.getId())); // roll dice final int diceRoll = Compute.d6(2); phaseReport.append("Collision occurs on a " + toHit.getValue() + " or greater. Rolls " + diceRoll); if (diceRoll >= toHit.getValue()) { phaseReport.append(", hits!\n"); // deal damage to target int damage = (int)Math.ceil(entity.getWeight() / 10); phaseReport.append(target.getDisplayName() + " takes " + damage + " from the collision."); while (damage > 0) { int cluster = Math.min(5, damage); HitData hit = target.rollHitLocation(ToHitData.HIT_PUNCH, ToHitData.SIDE_FRONT); phaseReport.append(damageEntity(target, hit, cluster)); damage -= cluster; } phaseReport.append("\n"); // attacker falls as normal, on his back // only given a modifier, so flesh out into a full piloting roll PilotingRollData pilotRoll = Compute.getBasePilotingRoll(game, entity.getId()); pilotRoll.append(roll); doEntityFall(entity, dest, fallElevation, 3, pilotRoll); // defender pushed away, or destroyed Coords targetDest = Compute.getValidDisplacement(game, target.getId(), dest, direction); if (targetDest != null) { doEntityDisplacement(target, dest, targetDest, new PilotingRollData(target.getId(), 2, "fallen on")); } else { // ack! automatic death! phaseReport.append("*** " + target.getDisplayName() + " DESTROYED due to impossible displacement! ***"); target.setDoomed(true); } } else { phaseReport.append(", misses.\n"); //TODO: this is not quite how the rules go Coords targetDest = Compute.getValidDisplacement(game, entity.getId(), dest, direction); if (targetDest != null) { doEntityDisplacement(entity, src, targetDest, new PilotingRollData(entity.getId(), PilotingRollData.IMPOSSIBLE, "pushed off a cliff")); } else { // ack! automatic death! phaseReport.append("*** " + entity.getDisplayName() + " DESTROYED due to impossible displacement! ***"); entity.setDoomed(true); } } return; } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/5c811f2bbe340325973104367c7360814d4cafdb/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 1943, 1669, 15917, 12, 1943, 1522, 16, 10320, 87, 1705, 16, 10320, 87, 1570, 16, 565, 453, 330, 17128, 24194, 751, 5824, 13, 288, 3639, 727, 15734, 1705, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 4816, 1769, 3639, 727, 15734, 1570, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 10488, 1769, 3639, 727, 509, 4068, 273, 1705, 18, 9855, 12, 10488, 1769, 3639, 509, 4159, 17274, 7112, 273, 1522, 18, 6516, 7112, 24269, 416, 2092, 12, 4816, 7037, 13, 300, 1522, 18, 6516, 7112, 24269, 416, 2092, 12, 10488, 7037, 1769, 3639, 3887, 1018, 273, 7920, 18, 588, 1943, 12, 10488, 1769, 7734, 368, 848, 1404, 4159, 731, 6397, 3639, 309, 261, 25602, 17274, 7112, 411, 374, 13, 288, 5411, 4159, 17274, 7112, 273, 374, 31, 3639, 289, 7734, 368, 309, 2929, 353, 1008, 16, 333, 3377, 506, 12779, 2777, 3639, 309, 261, 3299, 422, 446, 747, 1018, 18, 14963, 12, 1096, 3719, 288, 5411, 309, 261, 25602, 17274, 7112, 411, 576, 13, 288, 7734, 368, 1158, 927, 3048, 30, 3635, 471, 5824, 15849, 7734, 6855, 4820, 18, 6923, 12, 1096, 18, 588, 20524, 1435, 7734, 397, 315, 353, 1015, 28238, 1368, 3827, 315, 7734, 397, 1570, 18, 588, 22233, 2578, 1435, 397, 3552, 64, 82, 8863, 7734, 1522, 18, 542, 2555, 12, 10488, 1769, 7734, 309, 261, 2693, 480, 446, 13, 288, 10792, 293, 22797, 4984, 3251, 18, 1289, 1046, 12, 2693, 1769, 7734, 289, 7734, 327, 31, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 1943, 1669, 15917, 12, 1943, 1522, 16, 10320, 87, 1705, 16, 10320, 87, 1570, 16, 565, 453, 330, 17128, 24194, 751, 5824, 13, 288, 3639, 727, 15734, 1705, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 4816, 1769, 3639, 727, 15734, 1570, 7037, 273, 7920, 18, 3752, 18, 588, 7037, 12, 10488, 1769, 3639, 727, 509, 4068, 273, 1705, 18, 9855, 12, 10488, 1769, 3639, 509, 4159, 17274, 7112, 273, 1522, 18, 6516, 7112, 24269, 416, 2092, 12, 4816, 7037, 13, 300, 1522, 18, 6516, 7112, 24269, 416, 2092, 12, 10488, 7037, 1769, 3639, 3887, 1018, 273, 7920, 18, 588, 1943, 12, 10488, 1769, 7734, 368, 848, 1404, 4159, 731, 6397, 3639, 309, 261, 2 ]
((EditorCell_Basic)editorCell).setParseable(false);
public EditorCell createNameCellinternal(EditorContext context, SNode node, CellProviderWithRole aProvider) { CellProviderWithRole provider = aProvider; provider.setAuxiliaryCellProvider(null); EditorCell editorCell = provider.createEditorCell(context); editorCell.setSelectable(true); editorCell.setDrawBorder(false); editorCell.setDrawBrackets(false); editorCell.setBracketsColor(Color.black); if(editorCell instanceof EditorCell_Label) { EditorCell_Label editorCellLabel = (EditorCell_Label)editorCell; editorCellLabel.setEditable(true); editorCellLabel.getTextLine().setTextColor(MPSColors.DARK_GREEN); } editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo()); editorCell.putUserObject(EditorCell.CELL_ID, "1137532689746"); editorCell.setLayoutConstraint(""); ((EditorCell_Basic)editorCell).setParseable(false); return editorCell; }
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/053b145d22746941ae58efa34e1c2eead03ca0b5/ReferenceConceptLinkDeclaration_Editor.java/clean/source_gen/jetbrains/mps/bootstrap/structureLanguage/editor/ReferenceConceptLinkDeclaration_Editor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 18451, 4020, 752, 461, 4020, 7236, 12, 6946, 1042, 819, 16, 348, 907, 756, 16, 8614, 2249, 1190, 2996, 279, 2249, 13, 288, 565, 8614, 2249, 1190, 2996, 2893, 273, 279, 2249, 31, 565, 2893, 18, 542, 21981, 20606, 4020, 2249, 12, 2011, 1769, 565, 18451, 4020, 4858, 4020, 273, 2893, 18, 2640, 6946, 4020, 12, 2472, 1769, 565, 4858, 4020, 18, 542, 31544, 12, 3767, 1769, 565, 4858, 4020, 18, 542, 6493, 8107, 12, 5743, 1769, 565, 4858, 4020, 18, 542, 6493, 23029, 12, 5743, 1769, 565, 4858, 4020, 18, 542, 23029, 2957, 12, 2957, 18, 11223, 1769, 565, 309, 12, 9177, 4020, 1276, 18451, 4020, 67, 2224, 13, 288, 1377, 18451, 4020, 67, 2224, 4858, 4020, 2224, 273, 261, 6946, 4020, 67, 2224, 13, 9177, 4020, 31, 1377, 4858, 4020, 2224, 18, 542, 15470, 12, 3767, 1769, 1377, 4858, 4020, 2224, 18, 588, 1528, 1670, 7675, 542, 31061, 12, 4566, 55, 12570, 18, 40, 9584, 67, 29500, 1769, 565, 289, 565, 4858, 4020, 18, 542, 1676, 17207, 966, 12, 6778, 18, 2640, 1868, 1676, 17207, 966, 10663, 565, 4858, 4020, 18, 458, 1299, 921, 12, 6946, 4020, 18, 27752, 67, 734, 16, 315, 23379, 5877, 27284, 6675, 5608, 26, 8863, 565, 4858, 4020, 18, 542, 3744, 5806, 2932, 8863, 4202, 327, 4858, 4020, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 18451, 4020, 752, 461, 4020, 7236, 12, 6946, 1042, 819, 16, 348, 907, 756, 16, 8614, 2249, 1190, 2996, 279, 2249, 13, 288, 565, 8614, 2249, 1190, 2996, 2893, 273, 279, 2249, 31, 565, 2893, 18, 542, 21981, 20606, 4020, 2249, 12, 2011, 1769, 565, 18451, 4020, 4858, 4020, 273, 2893, 18, 2640, 6946, 4020, 12, 2472, 1769, 565, 4858, 4020, 18, 542, 31544, 12, 3767, 1769, 565, 4858, 4020, 18, 542, 6493, 8107, 12, 5743, 1769, 565, 4858, 4020, 18, 542, 6493, 23029, 12, 5743, 1769, 565, 4858, 4020, 18, 542, 23029, 2957, 12, 2957, 18, 11223, 1769, 565, 309, 12, 9177, 4020, 1276, 18451, 4020, 67, 2224, 13, 288, 1377, 18451, 4020, 67, 2224, 4858, 2 ]
public Object getEntry() { return entry; // Prim or Compound }
4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/bf37bcd7944171b7788d57068415386f8f6847ef/DeployEntry.java/clean/core/smartfrog/src/org/smartfrog/services/management/DeployEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1033, 15428, 1435, 288, 2463, 1241, 31, 759, 2301, 381, 578, 21327, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1033, 15428, 1435, 288, 2463, 1241, 31, 759, 2301, 381, 578, 21327, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
map = new Square[width][height]; try { bsh.set("map", map); } catch (EvalError e) { throw new RuntimeException(e); }
setMap(new Square[width][height]);
public void setSize(int width, int height) { map = new Square[width][height]; try { bsh.set("map", map); } catch (EvalError e) { throw new RuntimeException(e); } }
48742 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48742/f5e5b1cad19d43ba4ce6f4093fe41cee46c09dfa/LevelConfig.java/clean/net/bluecow/robot/LevelConfig.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19106, 12, 474, 1835, 16, 509, 2072, 13, 288, 3639, 852, 273, 394, 22029, 63, 2819, 6362, 4210, 15533, 3639, 775, 288, 5411, 324, 674, 18, 542, 2932, 1458, 3113, 852, 1769, 3639, 289, 1044, 261, 13904, 668, 425, 13, 288, 5411, 604, 394, 3235, 12, 73, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19106, 12, 474, 1835, 16, 509, 2072, 13, 288, 3639, 852, 273, 394, 22029, 63, 2819, 6362, 4210, 15533, 3639, 775, 288, 5411, 324, 674, 18, 542, 2932, 1458, 3113, 852, 1769, 3639, 289, 1044, 261, 13904, 668, 425, 13, 288, 5411, 604, 394, 3235, 12, 73, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
right.setHeight(8);
right.setHeight(15); right.setWidth("200");
private void LineUpElements(IWContext iwc){ Form form = new Form(); try{ UserBusiness userBusiness = getUserBusiness(iwc); Table frameTable = new Table(3,3); frameTable.setWidth("100%"); frameTable.setHeight("100%"); //frameTable.setBorder(1); SelectionDoubleBox sdb = new SelectionDoubleBox(FIELDNAME_SELECTION_DOUBLE_BOX,"Not in","In"); SelectionBox left = sdb.getLeftBox(); left.setHeight(8); left.selectAllOnSubmit(); SelectionBox right = sdb.getRightBox(); right.setHeight(8); right.selectAllOnSubmit(); String stringUserId = iwc.getParameter(UserGroupList.PARAMETER_USER_ID); int userId = Integer.parseInt(stringUserId); form.addParameter(UserGroupList.PARAMETER_USER_ID,stringUserId); GroupBusiness groupBusiness = getGroupBusiness(iwc); Collection directGroups = userBusiness.getUserGroupsDirectlyRelated(userId); Iterator iter = null; if(directGroups != null){ iter = directGroups.iterator(); while (iter.hasNext()) { Group item = (Group) iter.next(); right.addElement(item.getPrimaryKey().toString(),groupBusiness.getNameOfGroupWithParentName(item)); } } // former:Collection notDirectGroups = userBusiness.getNonParentGroups(userId); User user = iwc.getCurrentUser(); Collection notDirectGroups = userBusiness.getUsersTopGroupNodesByViewAndOwnerPermissions(user, iwc); Iterator topGroupsIterator = notDirectGroups.iterator(); List allGroups = new ArrayList(); while (topGroupsIterator.hasNext()) { Group parentGroup = (Group) topGroupsIterator.next(); allGroups.add(parentGroup); Collection coll = groupBusiness.getChildGroupsRecursive(parentGroup); if (coll != null) allGroups.addAll(coll); } if(allGroups != null){ iter = allGroups.iterator(); while (iter.hasNext()) { Group item = (Group) iter.next(); left.addElement(item.getPrimaryKey().toString(),groupBusiness.getNameOfGroupWithParentName(item)); } } frameTable.setAlignment(2,2,"center"); frameTable.add("UserId: "+userId,2,1); frameTable.add(sdb,2,2); SubmitButton save = new SubmitButton(" Save ","save","true"); save.setAsImageButton(true); frameTable.add(save,2,3); frameTable.setAlignment(2,3,"right"); form.add(frameTable); } catch(Exception e){ add(new ExceptionWrapper(e,this)); e.printStackTrace(); } this.add(form); }
53236 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53236/2267f70c5cd601d8740ab91e00d86b4b3214e30e/UserGroupSetter.java/buggy/src/java/com/idega/user/presentation/UserGroupSetter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5377, 1211, 3471, 12, 45, 59, 1042, 25522, 71, 15329, 1377, 2748, 646, 273, 394, 2748, 5621, 3639, 775, 95, 3639, 2177, 13423, 729, 13423, 273, 4735, 13423, 12, 22315, 71, 1769, 3639, 3555, 2623, 1388, 273, 394, 3555, 12, 23, 16, 23, 1769, 3639, 2623, 1388, 18, 542, 2384, 2932, 6625, 9, 8863, 3639, 2623, 1388, 18, 542, 2686, 2932, 6625, 9, 8863, 3639, 368, 3789, 1388, 18, 542, 8107, 12, 21, 1769, 3639, 12977, 5265, 3514, 272, 1966, 273, 394, 12977, 5265, 3514, 12, 6776, 1985, 67, 1090, 15445, 67, 17088, 67, 16876, 10837, 1248, 316, 15937, 382, 8863, 3639, 12977, 3514, 2002, 273, 272, 1966, 18, 588, 3910, 3514, 5621, 3639, 2002, 18, 542, 2686, 12, 28, 1769, 3639, 2002, 18, 4025, 1595, 1398, 11620, 5621, 3639, 12977, 3514, 2145, 273, 272, 1966, 18, 588, 4726, 3514, 5621, 3639, 2145, 18, 542, 2686, 12, 3600, 1769, 2145, 18, 542, 2384, 2932, 6976, 8863, 3639, 2145, 18, 4025, 1595, 1398, 11620, 5621, 3639, 514, 533, 10502, 273, 25522, 71, 18, 588, 1662, 12, 21255, 682, 18, 9819, 67, 4714, 67, 734, 1769, 3639, 509, 6249, 273, 2144, 18, 2670, 1702, 12, 1080, 10502, 1769, 3639, 646, 18, 1289, 1662, 12, 21255, 682, 18, 9819, 67, 4714, 67, 734, 16, 1080, 10502, 1769, 7734, 3756, 13423, 1041, 13423, 273, 11751, 13423, 12, 22315, 71, 1769, 3639, 2200, 2657, 3621, 273, 729, 13423, 18, 588, 1299, 3621, 5368, 715, 8017, 12, 18991, 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, 3238, 918, 5377, 1211, 3471, 12, 45, 59, 1042, 25522, 71, 15329, 1377, 2748, 646, 273, 394, 2748, 5621, 3639, 775, 95, 3639, 2177, 13423, 729, 13423, 273, 4735, 13423, 12, 22315, 71, 1769, 3639, 3555, 2623, 1388, 273, 394, 3555, 12, 23, 16, 23, 1769, 3639, 2623, 1388, 18, 542, 2384, 2932, 6625, 9, 8863, 3639, 2623, 1388, 18, 542, 2686, 2932, 6625, 9, 8863, 3639, 368, 3789, 1388, 18, 542, 8107, 12, 21, 1769, 3639, 12977, 5265, 3514, 272, 1966, 273, 394, 12977, 5265, 3514, 12, 6776, 1985, 67, 1090, 15445, 67, 17088, 67, 16876, 10837, 1248, 316, 15937, 382, 8863, 3639, 12977, 3514, 2002, 273, 272, 1966, 18, 588, 3910, 3514, 5621, 3639, 2002, 18, 2 ]
public void remove(MenuComponent comp) { }
public synchronized void remove(int index) { items.removeElementAt(index); }
public void remove(MenuComponent comp) { } // FIXME
13625 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13625/42de8277e53eabea04a48598c12ed6d488412a7b/Menu.java/buggy/libjava/java/awt/Menu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 1206, 12, 474, 770, 13, 288, 1516, 18, 4479, 1046, 861, 12, 1615, 1769, 289, 368, 9852, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 1206, 12, 474, 770, 13, 288, 1516, 18, 4479, 1046, 861, 12, 1615, 1769, 289, 368, 9852, 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 ]
IASTExpression.Kind.POSTFIX_STATIC_CAST);
IASTExpression.Kind.POSTFIX_STATIC_CAST,key);
protected IASTExpression postfixExpression(IASTScope scope, CompletionKind kind) throws EndOfFileException, BacktrackException { IASTExpression firstExpression = null; boolean isTemplate = false; setCompletionValues( scope, kind, Key.EXPRESSION ); switch (LT(1)) { case IToken.t_typename : consume(IToken.t_typename); ITokenDuple nestedName = name(scope, CompletionKind.TYPE_REFERENCE); boolean templateTokenConsumed = false; if( LT(1) == IToken.t_template ) { consume( IToken.t_template ); templateTokenConsumed = true; } IToken current = mark(); ITokenDuple templateId = null; try { templateId = new TokenDuple( current, templateId(scope, CompletionKind.SINGLE_NAME_REFERENCE ) ); } catch( BacktrackException bt ) { if( templateTokenConsumed ) throw bt; backup( current ); } consume( IToken.tLPAREN ); if( templateIdScopes != null ){ templateIdScopes.push( new Integer( IToken.tLPAREN ) ); } IASTExpression expressionList = expression( scope, CompletionKind.TYPE_REFERENCE ); consume( IToken.tRPAREN ); if( templateIdScopes != null ){ templateIdScopes.pop(); } try { firstExpression = astFactory.createExpression( scope, (( templateId != null )? IASTExpression.Kind.POSTFIX_TYPENAME_TEMPLATEID : IASTExpression.Kind.POSTFIX_TYPENAME_IDENTIFIER ), expressionList, null, null, null, nestedName, EMPTY_STRING, null ); } catch (ASTSemanticException ase ) { throw backtrack; } catch (Exception e) { logException( "postfixExpression_1::createExpression()", e ); //$NON-NLS-1$ throw backtrack; } break; // simple-type-specifier ( assignment-expression , .. ) case IToken.t_char : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_CHAR); break; case IToken.t_wchar_t : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_WCHART); break; case IToken.t_bool : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_BOOL); break; case IToken.t_short : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_SHORT); break; case IToken.t_int : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_INT); break; case IToken.t_long : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_LONG); break; case IToken.t_signed : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_SIGNED); break; case IToken.t_unsigned : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_UNSIGNED); break; case IToken.t_float : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_FLOAT); break; case IToken.t_double : firstExpression = simpleTypeConstructorExpression( scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_DOUBLE); break; case IToken.t_dynamic_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_DYNAMIC_CAST); break; case IToken.t_static_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_STATIC_CAST); break; case IToken.t_reinterpret_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_REINTERPRET_CAST); break; case IToken.t_const_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_CONST_CAST); break; case IToken.t_typeid : consume(); consume(IToken.tLPAREN); if( templateIdScopes != null ){ templateIdScopes.push( new Integer( IToken.tLPAREN ) ); } boolean isTypeId = true; IASTExpression lhs = null; IASTTypeId typeId = null; try { typeId = typeId(scope, false, CompletionKind.TYPE_REFERENCE); } catch (BacktrackException b) { isTypeId = false; lhs = expression(scope, CompletionKind.TYPE_REFERENCE); } consume(IToken.tRPAREN); if( templateIdScopes != null ){ templateIdScopes.pop(); } try { firstExpression = astFactory.createExpression( scope, (isTypeId ? IASTExpression.Kind.POSTFIX_TYPEID_TYPEID : IASTExpression.Kind.POSTFIX_TYPEID_EXPRESSION), lhs, null, null, typeId, null, EMPTY_STRING, null); } catch (ASTSemanticException e6) { failParse(); throw backtrack; } catch (Exception e) { logException( "postfixExpression_2::createExpression()", e ); //$NON-NLS-1$ throw backtrack; } break; default : firstExpression = primaryExpression(scope, kind); } IASTExpression secondExpression = null; for (;;) { switch (LT(1)) { case IToken.tLBRACKET : // array access consume(IToken.tLBRACKET); if( templateIdScopes != null ){ templateIdScopes.push( new Integer( IToken.tLBRACKET ) ); } secondExpression = expression(scope, CompletionKind.SINGLE_NAME_REFERENCE); consume(IToken.tRBRACKET); if( templateIdScopes != null ){ templateIdScopes.pop(); } try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_SUBSCRIPT, firstExpression, secondExpression, null, null, null, EMPTY_STRING, null); } catch (ASTSemanticException e2) { failParse(); throw backtrack; } catch (Exception e) { logException( "postfixExpression_3::createExpression()", e ); //$NON-NLS-1$ throw backtrack; } break; case IToken.tLPAREN : // function call consume(IToken.tLPAREN); IASTNode context = null; if( firstExpression != null ) { if( firstExpression.getExpressionKind() == IASTExpression.Kind.ID_EXPRESSION ) setCurrentFunctionName( firstExpression.getIdExpression() ); else if( firstExpression.getRHSExpression() != null && firstExpression.getRHSExpression().getIdExpression() != null ) { setCurrentFunctionName( firstExpression.getRHSExpression().getIdExpression() ); context = astFactory.expressionToASTNode( scope, firstExpression.getLHSExpression() ); } } if( templateIdScopes != null ){ templateIdScopes.push( new Integer( IToken.tLPAREN ) ); } setCompletionValues(scope, CompletionKind.FUNCTION_REFERENCE, context ); secondExpression = expression(scope, CompletionKind.FUNCTION_REFERENCE); setCurrentFunctionName( EMPTY_STRING ); consume(IToken.tRPAREN); if( templateIdScopes != null ){ templateIdScopes.pop(); } try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_FUNCTIONCALL, firstExpression, secondExpression, null, null, null, EMPTY_STRING, null); } catch (ASTSemanticException e3) { failParse(); throw backtrack; } catch (Exception e) { logException( "postfixExpression_4::createExpression()", e ); //$NON-NLS-1$ throw backtrack; } break; case IToken.tINCR : consume(IToken.tINCR); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_INCREMENT, firstExpression, null, null, null, null, EMPTY_STRING, null); } catch (ASTSemanticException e1) { failParse(); throw backtrack; } catch (Exception e) { logException( "postfixExpression_5::createExpression()", e ); //$NON-NLS-1$ throw backtrack; } break; case IToken.tDECR : consume(); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_DECREMENT, firstExpression, null, null, null, null, EMPTY_STRING, null); } catch (ASTSemanticException e4) { failParse(); throw backtrack; } catch (Exception e) { logException( "postfixExpression_6::createExpression()", e ); //$NON-NLS-1$ throw backtrack; } break; case IToken.tDOT : // member access consume(IToken.tDOT); if( queryLookaheadCapability() ) if (LT(1) == IToken.t_template) { consume(IToken.t_template); isTemplate = true; } setCompletionValues(scope, CompletionKind.MEMBER_REFERENCE, KeywordSets.Key.EMPTY, firstExpression, isTemplate ); secondExpression = primaryExpression(scope, CompletionKind.MEMBER_REFERENCE); try { firstExpression = astFactory.createExpression( scope, (isTemplate ? IASTExpression.Kind.POSTFIX_DOT_TEMPL_IDEXPRESS : IASTExpression.Kind.POSTFIX_DOT_IDEXPRESSION), firstExpression, secondExpression, null, null, null, EMPTY_STRING, null); } catch (ASTSemanticException e5) { failParse(); throw backtrack; } catch (Exception e) { logException( "postfixExpression_7::createExpression()", e ); //$NON-NLS-1$ throw backtrack; } break; case IToken.tARROW : // member access consume(IToken.tARROW); if( queryLookaheadCapability() ) if (LT(1) == IToken.t_template) { consume(IToken.t_template); isTemplate = true; } setCompletionValues(scope, CompletionKind.MEMBER_REFERENCE, KeywordSets.Key.EMPTY, firstExpression, isTemplate ); secondExpression = primaryExpression(scope, CompletionKind.MEMBER_REFERENCE); try { firstExpression = astFactory.createExpression( scope, (isTemplate ? IASTExpression.Kind.POSTFIX_ARROW_TEMPL_IDEXP : IASTExpression.Kind.POSTFIX_ARROW_IDEXPRESSION), firstExpression, secondExpression, null, null, null, EMPTY_STRING, null); } catch (ASTSemanticException e) { failParse(); throw backtrack; } catch (Exception e) { logException( "postfixExpression_8::createExpression()", e ); //$NON-NLS-1$ throw backtrack; } break; default : return firstExpression; } } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1a5788e0dc8eb7824785a35eaf53c7373aa33bdb/ExpressionParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ExpressionParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 9053, 2300, 18923, 2300, 12, 45, 9053, 3876, 2146, 16, 20735, 5677, 3846, 13, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 288, 202, 565, 467, 9053, 2300, 1122, 2300, 273, 446, 31, 202, 565, 1250, 353, 2283, 273, 629, 31, 202, 377, 202, 565, 444, 11238, 1972, 12, 2146, 16, 3846, 16, 1929, 18, 19111, 11272, 202, 565, 1620, 261, 12050, 12, 21, 3719, 202, 565, 288, 202, 3639, 648, 467, 1345, 18, 88, 67, 12846, 1069, 294, 202, 5411, 7865, 12, 1285, 969, 18, 88, 67, 12846, 1069, 1769, 202, 5411, 467, 1345, 40, 2268, 4764, 461, 273, 508, 12, 4887, 16, 20735, 5677, 18, 2399, 67, 14617, 1769, 9506, 202, 6494, 1542, 1345, 20554, 273, 629, 31, 9506, 202, 430, 12, 11807, 12, 21, 13, 422, 467, 1345, 18, 88, 67, 3202, 262, 9506, 202, 95, 6862, 225, 7865, 12, 467, 1345, 18, 88, 67, 3202, 11272, 4405, 225, 1542, 1345, 20554, 273, 638, 31, 9506, 202, 97, 9506, 202, 1285, 969, 783, 273, 2267, 5621, 4697, 202, 1285, 969, 40, 2268, 1542, 548, 273, 446, 31, 9506, 202, 698, 9506, 202, 95, 6862, 202, 3202, 548, 273, 394, 3155, 40, 2268, 12, 783, 16, 1542, 548, 12, 4887, 16, 20735, 5677, 18, 20184, 67, 1985, 67, 14617, 262, 11272, 4697, 202, 97, 9506, 202, 14683, 12, 4297, 4101, 503, 10921, 262, 9506, 202, 95, 6862, 202, 430, 12, 1542, 1345, 20554, 262, 25083, 202, 12849, 10921, 31, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 9053, 2300, 18923, 2300, 12, 45, 9053, 3876, 2146, 16, 20735, 5677, 3846, 13, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 288, 202, 565, 467, 9053, 2300, 1122, 2300, 273, 446, 31, 202, 565, 1250, 353, 2283, 273, 629, 31, 202, 377, 202, 565, 444, 11238, 1972, 12, 2146, 16, 3846, 16, 1929, 18, 19111, 11272, 202, 565, 1620, 261, 12050, 12, 21, 3719, 202, 565, 288, 202, 3639, 648, 467, 1345, 18, 88, 67, 12846, 1069, 294, 202, 5411, 7865, 12, 1285, 969, 18, 88, 67, 12846, 1069, 1769, 202, 5411, 467, 1345, 40, 2268, 4764, 461, 273, 508, 12, 4887, 16, 20735, 5677, 18, 2399, 67, 14617, 1769, 9506, 202, 6494, 2 ]
OPT_DominatorsPhase dom = new OPT_DominatorsPhase();
OPT_DominatorsPhase dom = new OPT_DominatorsPhase(false);
void internalUpdateCFGFrequencies(OPT_IR ir) { // Create an up to date loop structure tree OPT_DominatorsPhase dom = new OPT_DominatorsPhase(); dom.perform(ir); OPT_LSTGraph lst = ir.HIRInfo.LoopStructureTree; if (lst == null) { throw new OPT_OptimizingCompilerException("null loop structure tree"); } // enumerate each basic block ... for (Enumeration e = ir.getBasicBlocks(); e.hasMoreElements(); ) { OPT_BasicBlock bb = (OPT_BasicBlock)e.nextElement(); // set the estimate count for this basic block int depth = lst.getLoopNestDepth(bb); if (DEBUG) VM.sysWrite("Depth is " + depth + "\n"); int freq = 1; for (int i=0; i<depth; i++) freq *= LOOP_MULTIPLIER; basicBlockMap.put(bb,new Double(freq)); } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/ff5097c680c76655e81aa216732f9158b59bddc9/OPT_LoopDepthEdgeCounts.java/buggy/rvm/src/vm/compilers/optimizing/instrumentation/OPT_LoopDepthEdgeCounts.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 2713, 1891, 19727, 42, 26387, 12, 15620, 67, 7937, 9482, 13, 288, 565, 368, 1788, 392, 731, 358, 1509, 2798, 3695, 2151, 565, 16456, 67, 8832, 30425, 11406, 4092, 273, 394, 16456, 67, 8832, 30425, 11406, 12, 5743, 1769, 565, 4092, 18, 16092, 12, 481, 1769, 565, 16456, 67, 48, 882, 4137, 9441, 273, 9482, 18, 44, 7937, 966, 18, 6452, 6999, 2471, 31, 565, 309, 261, 16923, 422, 446, 13, 288, 1377, 604, 394, 16456, 67, 13930, 6894, 9213, 503, 2932, 2011, 2798, 3695, 2151, 8863, 565, 289, 565, 368, 4241, 1517, 5337, 1203, 1372, 565, 364, 261, 21847, 425, 273, 9482, 18, 588, 8252, 6450, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 1377, 16456, 67, 8252, 1768, 7129, 273, 261, 15620, 67, 8252, 1768, 13, 73, 18, 4285, 1046, 5621, 1377, 368, 444, 326, 11108, 1056, 364, 333, 5337, 1203, 1377, 509, 3598, 273, 9441, 18, 588, 6452, 50, 395, 6148, 12, 9897, 1769, 1377, 309, 261, 9394, 13, 225, 202, 7397, 18, 9499, 3067, 2932, 6148, 353, 315, 397, 3598, 397, 1548, 82, 8863, 1377, 509, 7684, 273, 404, 31, 1377, 364, 261, 474, 277, 33, 20, 31, 277, 32, 5979, 31, 277, 27245, 225, 202, 10212, 6413, 1806, 3665, 67, 24683, 2053, 654, 31, 1377, 5337, 1768, 863, 18, 458, 12, 9897, 16, 2704, 3698, 12, 10212, 10019, 565, 289, 225, 289, 2, 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, 1, 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, 918, 2713, 1891, 19727, 42, 26387, 12, 15620, 67, 7937, 9482, 13, 288, 565, 368, 1788, 392, 731, 358, 1509, 2798, 3695, 2151, 565, 16456, 67, 8832, 30425, 11406, 4092, 273, 394, 16456, 67, 8832, 30425, 11406, 12, 5743, 1769, 565, 4092, 18, 16092, 12, 481, 1769, 565, 16456, 67, 48, 882, 4137, 9441, 273, 9482, 18, 44, 7937, 966, 18, 6452, 6999, 2471, 31, 565, 309, 261, 16923, 422, 446, 13, 288, 1377, 604, 394, 16456, 67, 13930, 6894, 9213, 503, 2932, 2011, 2798, 3695, 2151, 8863, 565, 289, 565, 368, 4241, 1517, 5337, 1203, 1372, 565, 364, 261, 21847, 425, 273, 9482, 18, 588, 8252, 6450, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 1377, 2 ]
private FredPlugin LoadPlugin(String filename) throws PluginNotFoundException { Class cls = null; if (filename.endsWith("*")) { filename = filename.substring(0,filename.length()-1) + "@http://downloads.freenetproject.org/alpha/plugins/" + filename.substring(filename.lastIndexOf(".")+1, filename.length()-1) + ".jar.url"; //System.out.println(filename); } if ((filename.indexOf("@") >= 0)) { // Open from external file try { String realURL = null; String realClass = null; // Load the jar-file String[] parts = filename.split("@"); if (parts.length != 2) { throw new PluginNotFoundException("Could not split at \"@\"."); } realClass = parts[0]; realURL = parts[1]; if (filename.endsWith(".url")) { // Load the txt-file BufferedReader in; URL url = new URL(parts[1]); URLConnection uc = url.openConnection(); in = new BufferedReader( new InputStreamReader(uc.getInputStream())); realURL = in.readLine().trim(); } // Load the class inside file URL[] serverURLs = new URL[]{new URL(realURL)}; ClassLoader cl = new URLClassLoader(serverURLs); // Handle automatic fetching of pluginclassname if (realClass.equals("*")) { if (realURL.startsWith("file:")) { URI liburi = new File(realURL.substring("file:".length())).toURI(); realURL = liburi.toString(); } URL url = new URL("jar:"+realURL+"!/"); JarURLConnection jarConnection = (JarURLConnection)url.openConnection(); JarFile jf = jarConnection.getJarFile(); //URLJarFile jf = new URLJarFile(new File(liburi)); //is = jf.getInputStream(jf.getJarEntry("META-INF/MANIFEST.MF")); //BufferedReader manifest = new BufferedReader(new InputStreamReader(cl.getResourceAsStream("/META-INF/MANIFEST.MF"))); //URL url = new URL(parts[1]); //URLConnection uc = cl.getResource("/META-INF/MANIFEST.MF").openConnection(); InputStream is = jf.getInputStream(jf.getJarEntry("META-INF/MANIFEST.MF")); BufferedReader in = new BufferedReader(new InputStreamReader(is)); String line; while ((line = in.readLine())!=null) { // System.err.println(line + "\t\t\t" + realClass); if (line.startsWith("Plugin-Main-Class: ")) { realClass = line.substring("Plugin-Main-Class: ".length()).trim(); } } //System.err.println("Real classname: " + realClass); } cls = cl.loadClass(realClass); } catch (Exception e) { throw new PluginNotFoundException("Initialization error:" + filename, e); } } else { // Load class try { cls = Class.forName(filename); } catch (ClassNotFoundException e) { throw new PluginNotFoundException(filename); } } if(cls == null) throw new PluginNotFoundException("Unknown error"); // Class loaded... Objectize it! Object o = null; try { o = cls.newInstance(); } catch (Exception e) { throw new PluginNotFoundException("Could not re-create plugin:" + filename, e); } // See if we have the right type if (!(o instanceof FredPlugin)) { throw new PluginNotFoundException("Not a plugin: " + filename); } return (FredPlugin)o; }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/17e782c52574053ccf0633c7188ae68e7c6f3f4d/PluginManager.java/buggy/src/freenet/pluginmanager/PluginManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 42, 1118, 3773, 2563, 3773, 12, 780, 3459, 13, 15069, 3773, 3990, 95, 797, 6429, 33, 2011, 31, 430, 12, 3459, 18, 5839, 1190, 2932, 7388, 3719, 95, 202, 3459, 33, 3459, 18, 28023, 12, 20, 16, 3459, 18, 2469, 1435, 17, 21, 27921, 202, 6, 36, 2505, 2207, 7813, 87, 18, 74, 2842, 278, 4406, 18, 3341, 19, 5429, 19, 8057, 4898, 15, 202, 3459, 18, 28023, 12, 3459, 18, 2722, 31985, 2932, 1199, 27921, 21, 16, 3459, 18, 2469, 1435, 17, 21, 27921, 202, 9654, 11930, 18, 718, 14432, 202, 759, 3163, 18, 659, 18, 8222, 12, 3459, 1769, 97, 430, 12443, 3459, 18, 31806, 2932, 36, 7923, 34, 33, 20, 3719, 95, 759, 3678, 2080, 9375, 7540, 2559, 95, 202, 780, 7688, 1785, 33, 2011, 31, 202, 780, 7688, 797, 33, 2011, 31, 202, 202, 759, 2563, 5787, 11930, 17, 768, 202, 780, 8526, 6019, 33, 3459, 18, 4939, 2932, 36, 8863, 202, 430, 12, 6019, 18, 2469, 5, 33, 22, 15329, 202, 202, 12849, 2704, 3773, 3990, 2932, 4445, 902, 4939, 270, 2412, 36, 2412, 1199, 1769, 202, 97, 202, 7688, 797, 33, 6019, 63, 20, 15533, 202, 7688, 1785, 33, 6019, 63, 21, 15533, 202, 202, 430, 12, 3459, 18, 5839, 1190, 2932, 18, 718, 6, 3719, 95, 202, 202, 759, 2563, 451, 278, 15239, 17, 768, 202, 202, 17947, 2514, 267, 31, 202, 202, 1785, 718, 33, 2704, 1785, 12, 6019, 63, 21, 19226, 14790, 5286, 33, 718, 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, 42, 1118, 3773, 2563, 3773, 12, 780, 3459, 13, 15069, 3773, 3990, 95, 797, 6429, 33, 2011, 31, 430, 12, 3459, 18, 5839, 1190, 2932, 7388, 3719, 95, 202, 3459, 33, 3459, 18, 28023, 12, 20, 16, 3459, 18, 2469, 1435, 17, 21, 27921, 202, 6, 36, 2505, 2207, 7813, 87, 18, 74, 2842, 278, 4406, 18, 3341, 19, 5429, 19, 8057, 4898, 15, 202, 3459, 18, 28023, 12, 3459, 18, 2722, 31985, 2932, 1199, 27921, 21, 16, 3459, 18, 2469, 1435, 17, 21, 27921, 202, 9654, 11930, 18, 718, 14432, 202, 759, 3163, 18, 659, 18, 8222, 12, 3459, 1769, 97, 430, 12443, 3459, 18, 31806, 2932, 36, 7923, 34, 33, 20, 3719, 95, 759, 2 ]
newResources.put(resource.getName(), resource);
newResources.put(resource.getShortName(), resource);
public synchronized void update() { if (!dir.exists()) { repositories = new Repository[0]; resources.clear(); return; } if (dir.lastModified() != lastModified) { lastModified = dir.lastModified(); File[] list = dir.listFiles(); ArrayList newRepositories = new ArrayList(list.length); HashMap newResources = new HashMap(list.length); for (int i = 0; i < list.length; i++) { if (list[i].isDirectory()) { // a nested directory aka child file repository newRepositories.add(new FileRepository(list[i], this)); } else if (list[i].getName().endsWith(".zip")) { // a nested zip repository newRepositories.add(new ZipRepository(list[i], this)); } else if (list[i].isFile()) { // a file resource FileResource resource = new FileResource(list[i], this); newResources.put(resource.getName(), resource); } } repositories = (Repository[]) newRepositories.toArray(new Repository[newRepositories.size()]); resources = newResources; } }
3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/73e377dde1801700541d910d78bcbe3b47f98693/FileRepository.java/clean/src/helma/framework/repository/FileRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1089, 1435, 288, 3639, 309, 16051, 1214, 18, 1808, 10756, 288, 5411, 14531, 273, 394, 6281, 63, 20, 15533, 5411, 2703, 18, 8507, 5621, 5411, 327, 31, 3639, 289, 3639, 309, 261, 1214, 18, 2722, 4575, 1435, 480, 12709, 13, 288, 5411, 12709, 273, 1577, 18, 2722, 4575, 5621, 5411, 1387, 8526, 666, 273, 1577, 18, 1098, 2697, 5621, 5411, 2407, 394, 18429, 273, 394, 2407, 12, 1098, 18, 2469, 1769, 5411, 4317, 394, 3805, 273, 394, 4317, 12, 1098, 18, 2469, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 1098, 63, 77, 8009, 291, 2853, 10756, 288, 10792, 368, 279, 4764, 1867, 28105, 1151, 585, 3352, 10792, 394, 18429, 18, 1289, 12, 2704, 1387, 3305, 12, 1098, 63, 77, 6487, 333, 10019, 7734, 289, 469, 309, 261, 1098, 63, 77, 8009, 17994, 7675, 5839, 1190, 2932, 18, 4450, 6, 3719, 288, 10792, 368, 279, 4764, 3144, 3352, 10792, 394, 18429, 18, 1289, 12, 2704, 8603, 3305, 12, 1098, 63, 77, 6487, 333, 10019, 7734, 289, 469, 309, 261, 1098, 63, 77, 8009, 291, 812, 10756, 288, 10792, 368, 279, 585, 1058, 10792, 1387, 1420, 1058, 273, 394, 1387, 1420, 12, 1098, 63, 77, 6487, 333, 1769, 10792, 394, 3805, 18, 458, 12, 3146, 18, 588, 29983, 9334, 1058, 1769, 7734, 289, 5411, 289, 5411, 14531, 273, 261, 3305, 63, 5717, 10792, 394, 18429, 18, 31447, 12, 2704, 6281, 63, 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, 918, 1089, 1435, 288, 3639, 309, 16051, 1214, 18, 1808, 10756, 288, 5411, 14531, 273, 394, 6281, 63, 20, 15533, 5411, 2703, 18, 8507, 5621, 5411, 327, 31, 3639, 289, 3639, 309, 261, 1214, 18, 2722, 4575, 1435, 480, 12709, 13, 288, 5411, 12709, 273, 1577, 18, 2722, 4575, 5621, 5411, 1387, 8526, 666, 273, 1577, 18, 1098, 2697, 5621, 5411, 2407, 394, 18429, 273, 394, 2407, 12, 1098, 18, 2469, 1769, 5411, 4317, 394, 3805, 273, 394, 4317, 12, 1098, 18, 2469, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 666, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 1098, 63, 77, 8009, 291, 2853, 10756, 288, 10792, 368, 279, 4764, 2 ]
return null;
return tabFolder.getControl();
public Control getControl() { // TODO Auto-generated method stub return null; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/947362c08342c2be69172786527fe703a723e912/TabbedStackPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/newapi/TabbedStackPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8888, 27174, 1435, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8888, 27174, 1435, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setURL((String)newValue);
setURL((String) newValue);
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case AttributePackage.IMAGE__TYPE: setType(((Integer)newValue).intValue()); return; case AttributePackage.IMAGE__URL: setURL((String)newValue); return; } eDynamicSet(eFeature, newValue); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/ImageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/ImageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 13603, 972, 2399, 30, 7734, 8811, 12443, 12, 4522, 13, 2704, 620, 2934, 474, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 13603, 972, 1785, 30, 7734, 444, 1785, 12443, 780, 13, 6129, 1769, 7734, 327, 31, 3639, 289, 3639, 425, 9791, 694, 12, 73, 4595, 16, 6129, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 13603, 972, 2399, 30, 7734, 8811, 12443, 12, 4522, 13, 2704, 620, 2934, 474, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 13603, 972, 1785, 30, 7734, 444, 1785, 12443, 780, 13, 6129, 1769, 7734, 327, 31, 3639, 289, 3639, 425, 9791, 694, 12, 73, 4595, 16, 6129, 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 ]
public void endEntity(String name) throws XNIException {
public void endEntity(String name, Augmentations augs) throws XNIException {
public void endEntity(String name) throws XNIException { try { // SAX2 extension if (fLexicalHandler != null) { fLexicalHandler.endEntity(name); } } catch (SAXException e) { throw new XNIException(e); } } // endEntity(String)
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/ee3cf4ff9e64a0ae2d3c850b7c9b40e51771781d/AbstractSAXParser.java/buggy/src/org/apache/xerces/parsers/AbstractSAXParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 1943, 12, 780, 508, 16, 432, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 775, 288, 5411, 368, 10168, 22, 2710, 5411, 309, 261, 74, 14756, 1706, 1503, 480, 446, 13, 288, 7734, 284, 14756, 1706, 1503, 18, 409, 1943, 12, 529, 1769, 5411, 289, 3639, 289, 3639, 1044, 261, 55, 2501, 503, 425, 13, 288, 5411, 604, 394, 1139, 50, 45, 503, 12, 73, 1769, 3639, 289, 565, 289, 368, 679, 1943, 12, 780, 13, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 1943, 12, 780, 508, 16, 432, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 775, 288, 5411, 368, 10168, 22, 2710, 5411, 309, 261, 74, 14756, 1706, 1503, 480, 446, 13, 288, 7734, 284, 14756, 1706, 1503, 18, 409, 1943, 12, 529, 1769, 5411, 289, 3639, 289, 3639, 1044, 261, 55, 2501, 503, 425, 13, 288, 5411, 604, 394, 1139, 50, 45, 503, 12, 73, 1769, 3639, 289, 565, 289, 368, 679, 1943, 12, 780, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (extFactory != null) { n = (Return)n.ext(extFactory.extReturn()); }
n = (Return)n.ext(extFactory.extReturn());
public Return Return(Position pos, Expr expr) { Return n = new Return_c(pos, expr); if (extFactory != null) { n = (Return)n.ext(extFactory.extReturn()); } return n; }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/27cff504b65da534a6e4e4ad3ce65fac3c7dbb26/NodeFactory_c.java/clean/src/polyglot/ast/NodeFactory_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2000, 2000, 12, 2555, 949, 16, 8074, 3065, 13, 288, 3639, 2000, 290, 273, 394, 2000, 67, 71, 12, 917, 16, 3065, 1769, 3639, 309, 261, 408, 1733, 480, 446, 13, 288, 5411, 290, 273, 261, 990, 13, 82, 18, 408, 12, 408, 1733, 18, 408, 990, 10663, 3639, 289, 3639, 327, 290, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2000, 2000, 12, 2555, 949, 16, 8074, 3065, 13, 288, 3639, 2000, 290, 273, 394, 2000, 67, 71, 12, 917, 16, 3065, 1769, 3639, 309, 261, 408, 1733, 480, 446, 13, 288, 5411, 290, 273, 261, 990, 13, 82, 18, 408, 12, 408, 1733, 18, 408, 990, 10663, 3639, 289, 3639, 327, 290, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
csmart.runExperimentBuilder(experiment, false, openForEditing);
csmart.runExperimentBuilder(experiment, false, true);
private void startExperimentBuilder(DefaultMutableTreeNode node, boolean openForEditing) { Object o = node.getUserObject(); Experiment experiment; if (o instanceof SocietyComponent) { SocietyComponent sc = (SocietyComponent) o; String name = "Experiment for " + sc.getSocietyName(); experiment = new Experiment(experimentNames.generateName(name), new SocietyComponent[] {sc}, new ImpactComponent[0], new Metric[0]); // new MetricComponent[0]); } else if (o instanceof ImpactComponent) { ImpactComponent impact = (ImpactComponent) o; String name = "Experiment for " + impact.getImpactName(); experiment = new Experiment(experimentNames.generateName(name), new SocietyComponent[0], new ImpactComponent[] {impact}, new Metric[0]); // new MetricComponent[0]); // } else if (o instanceof MetricComponent) { // MetricComponent metric = (MetricComponent) o; } else if (o instanceof Metric) { Metric metric = (Metric) o; String name = "Experiment for " + metric.getName(); experiment = new Experiment(experimentNames.generateName(name), new SocietyComponent[0], new ImpactComponent[0], new Metric[] {metric}); // new MetricComponent[] {metric}); } else if (o instanceof Experiment) { experiment = (Experiment) o; } else if (o instanceof String) { experiment = new Experiment(experimentNames.generateName(), getSocietyComponents(node), getImpacts(node), getMetrics(node)); } else { return; } if (o instanceof Experiment) { //Experiment already in tree } else { if (o instanceof String) { // Add experiment under the given node DefaultMutableTreeNode newNode = new DefaultMutableTreeNode(experiment); model.insertNodeInto(newNode, node, 0); // make the new node be the selected node workspace.setSelection(newNode); } else { // Add experiment as sibling of given node DefaultMutableTreeNode newNode = new DefaultMutableTreeNode(experiment, false); DefaultMutableTreeNode parentNode = (DefaultMutableTreeNode) node.getParent(); model.insertNodeInto(newNode, parentNode, parentNode.getIndex(node) + 1); // make the new node be the selected node workspace.setSelection(newNode); } experimentNames.add(experiment.getExperimentName()); experiment.addModificationListener(myModificationListener); } csmart.runExperimentBuilder(experiment, false, openForEditing); }
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/dd04afa6d185cab9f978250cef99ac8d75df5ef2/Organizer.java/clean/csmart/src/org/cougaar/tools/csmart/ui/viewer/Organizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 787, 22338, 1263, 12, 1868, 19536, 12513, 756, 16, 6862, 1377, 1250, 1696, 1290, 28029, 13, 288, 565, 1033, 320, 273, 756, 18, 588, 1299, 921, 5621, 565, 22844, 8724, 31, 565, 309, 261, 83, 1276, 348, 1882, 14369, 1841, 13, 288, 1377, 348, 1882, 14369, 1841, 888, 273, 261, 55, 1882, 14369, 1841, 13, 320, 31, 1377, 514, 508, 273, 315, 22338, 364, 315, 397, 888, 18, 588, 55, 1882, 14369, 461, 5621, 1377, 8724, 273, 394, 22844, 12, 18142, 1557, 18, 7163, 461, 12, 529, 3631, 6862, 225, 394, 348, 1882, 14369, 1841, 8526, 288, 1017, 5779, 6862, 225, 394, 9457, 621, 1841, 63, 20, 6487, 6862, 225, 394, 7279, 63, 20, 19226, 1377, 368, 6862, 225, 394, 7279, 1841, 63, 20, 19226, 565, 289, 469, 309, 261, 83, 1276, 9457, 621, 1841, 13, 288, 1377, 9457, 621, 1841, 15800, 273, 261, 22683, 621, 1841, 13, 320, 31, 1377, 514, 508, 273, 315, 22338, 364, 315, 397, 15800, 18, 588, 22683, 621, 461, 5621, 1377, 8724, 273, 394, 22844, 12, 18142, 1557, 18, 7163, 461, 12, 529, 3631, 6862, 225, 394, 348, 1882, 14369, 1841, 63, 20, 6487, 6862, 225, 394, 9457, 621, 1841, 8526, 288, 14532, 621, 5779, 6862, 225, 394, 7279, 63, 20, 19226, 1377, 368, 6862, 225, 394, 7279, 1841, 63, 20, 19226, 1377, 368, 565, 289, 469, 309, 261, 83, 1276, 7279, 1841, 13, 288, 1377, 368, 1377, 7279, 1841, 3999, 273, 261, 5396, 1841, 13, 320, 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, 3238, 918, 787, 22338, 1263, 12, 1868, 19536, 12513, 756, 16, 6862, 1377, 1250, 1696, 1290, 28029, 13, 288, 565, 1033, 320, 273, 756, 18, 588, 1299, 921, 5621, 565, 22844, 8724, 31, 565, 309, 261, 83, 1276, 348, 1882, 14369, 1841, 13, 288, 1377, 348, 1882, 14369, 1841, 888, 273, 261, 55, 1882, 14369, 1841, 13, 320, 31, 1377, 514, 508, 273, 315, 22338, 364, 315, 397, 888, 18, 588, 55, 1882, 14369, 461, 5621, 1377, 8724, 273, 394, 22844, 12, 18142, 1557, 18, 7163, 461, 12, 529, 3631, 6862, 225, 394, 348, 1882, 14369, 1841, 8526, 288, 1017, 5779, 6862, 225, 394, 9457, 621, 1841, 63, 20, 6487, 6862, 225, 394, 7279, 63, 20, 19226, 1377, 2 ]
setLayoutManager(GroupLayout.makeVStretch()); _modal = true;
setLayoutManager(GroupLayout.makeVert(GroupLayout.NONE, GroupLayout.TOP, GroupLayout.STRETCH)); setModal(true);
public OptionsView (BangContext ctx, LogonView parent) { super(ctx.getStyleSheet(), null); setLayoutManager(GroupLayout.makeVStretch()); _modal = true; _ctx = ctx; _parent = parent; _msgs = ctx.getMessageManager().getBundle("options"); addListener(new EscapeListener() { public void escapePressed() { dismiss(); } }); add(new BLabel(_msgs.get("m.title"))); BContainer cont = GroupLayout.makeHBox(GroupLayout.LEFT); cont.add(new BLabel(_msgs.get("m.video_mode"))); cont.add(_modes = new BComboBox()); _modes.addListener(_modelist); add(cont); cont = GroupLayout.makeHBox(GroupLayout.LEFT); cont.add(_fullscreen = new BCheckBox(_msgs.get("m.fullscreen_mode"))); _fullscreen.setSelected(Display.isFullscreen()); _fullscreen.addListener(_modelist); add(cont); cont = GroupLayout.makeHBox(GroupLayout.RIGHT); BButton btn; cont.add(btn = new BButton(_msgs.get("m.dismiss"), "dismiss")); btn.addListener(this); add(cont); _mode = Display.getDisplayMode(); refreshDisplayModes(); }
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/3199ea0506f5d58a885a9a4d45f0ebb91f210049/OptionsView.java/buggy/src/java/com/threerings/bang/client/OptionsView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5087, 1767, 261, 38, 539, 1042, 1103, 16, 1827, 265, 1767, 982, 13, 565, 288, 3639, 2240, 12, 5900, 18, 588, 2885, 8229, 9334, 446, 1769, 3639, 18479, 1318, 12, 1114, 3744, 18, 6540, 58, 510, 20783, 10663, 3639, 389, 17638, 273, 638, 31, 3639, 389, 5900, 273, 1103, 31, 3639, 389, 2938, 273, 982, 31, 3639, 389, 27439, 273, 1103, 18, 24906, 1318, 7675, 588, 3405, 2932, 2116, 8863, 3639, 12087, 12, 2704, 18025, 2223, 1435, 288, 5411, 1071, 918, 4114, 24624, 1435, 288, 7734, 29926, 5621, 5411, 289, 3639, 15549, 3639, 527, 12, 2704, 605, 2224, 24899, 27439, 18, 588, 2932, 81, 18, 2649, 6, 3719, 1769, 3639, 605, 2170, 466, 273, 15462, 18, 6540, 44, 3514, 12, 1114, 3744, 18, 10066, 1769, 3639, 466, 18, 1289, 12, 2704, 605, 2224, 24899, 27439, 18, 588, 2932, 81, 18, 9115, 67, 3188, 6, 3719, 1769, 3639, 466, 18, 1289, 24899, 19282, 273, 394, 605, 22199, 10663, 3639, 389, 19282, 18, 1289, 2223, 24899, 2284, 376, 1769, 3639, 527, 12, 1213, 1769, 3639, 466, 273, 15462, 18, 6540, 44, 3514, 12, 1114, 3744, 18, 10066, 1769, 3639, 466, 18, 1289, 24899, 2854, 9252, 273, 394, 605, 19174, 24899, 27439, 18, 588, 2932, 81, 18, 2854, 9252, 67, 3188, 6, 3719, 1769, 3639, 389, 2854, 9252, 18, 542, 7416, 12, 4236, 18, 291, 5080, 9252, 10663, 3639, 389, 2854, 9252, 18, 1289, 2223, 24899, 2284, 376, 1769, 3639, 527, 12, 1213, 1769, 3639, 466, 273, 15462, 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, 5087, 1767, 261, 38, 539, 1042, 1103, 16, 1827, 265, 1767, 982, 13, 565, 288, 3639, 2240, 12, 5900, 18, 588, 2885, 8229, 9334, 446, 1769, 3639, 18479, 1318, 12, 1114, 3744, 18, 6540, 58, 510, 20783, 10663, 3639, 389, 17638, 273, 638, 31, 3639, 389, 5900, 273, 1103, 31, 3639, 389, 2938, 273, 982, 31, 3639, 389, 27439, 273, 1103, 18, 24906, 1318, 7675, 588, 3405, 2932, 2116, 8863, 3639, 12087, 12, 2704, 18025, 2223, 1435, 288, 5411, 1071, 918, 4114, 24624, 1435, 288, 7734, 29926, 5621, 5411, 289, 3639, 15549, 3639, 527, 12, 2704, 605, 2224, 24899, 27439, 18, 588, 2932, 81, 18, 2649, 6, 3719, 1769, 3639, 605, 2170, 466, 273, 15462, 18, 6540, 2 ]
offset = currentContext.getOffset() - f.length() - 1;
offset = contextStack.getCurrentContext().getOffset() - f.length() - 1;
protected void poundInclude( int beginningOffset ) throws ScannerException { skipOverWhitespace(); int c = getChar(); int offset; StringBuffer fileName = new StringBuffer(); boolean useIncludePath = true; if (c == '<') { c = getChar(); while ((c != '>')) { fileName.append((char) c); c = getChar(); } } else if (c == '"') { c = getChar(); while ((c != '"')) { fileName.append((char) c); c = getChar(); } useIncludePath = false; // TO DO: Make sure the directory of the current file is in the // inclusion paths. } String f = fileName.toString(); if( quickScan ) { if( callback != null ) { offset = currentContext.getOffset() - f.length() - 1; // -1 for the end quote callback.inclusionBegin( f, offset, beginningOffset ); callback.inclusionEnd(); } } else handleInclusion(f.trim(), useIncludePath ); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0c47e3bed50dacbc9eca506b8a1cfa8454948a39/Scanner.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Scanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 293, 772, 8752, 12, 509, 8435, 2335, 262, 1216, 19074, 503, 288, 202, 202, 7457, 4851, 9431, 5621, 202, 202, 474, 276, 273, 23577, 5621, 202, 202, 474, 1384, 31, 202, 202, 780, 1892, 3968, 273, 394, 6674, 5621, 202, 202, 6494, 999, 8752, 743, 273, 638, 31, 202, 202, 430, 261, 71, 422, 2368, 6134, 288, 1082, 202, 71, 273, 23577, 5621, 1082, 202, 17523, 14015, 71, 480, 7481, 3719, 288, 9506, 202, 17812, 18, 6923, 12443, 3001, 13, 276, 1769, 9506, 202, 71, 273, 23577, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 71, 422, 4754, 13, 288, 1082, 202, 71, 273, 23577, 5621, 1082, 202, 17523, 14015, 71, 480, 4754, 3719, 288, 9506, 202, 17812, 18, 6923, 12443, 3001, 13, 276, 1769, 9506, 202, 71, 273, 23577, 5621, 1082, 202, 97, 1082, 202, 1202, 8752, 743, 273, 629, 31, 1875, 202, 759, 8493, 5467, 30, 4344, 3071, 326, 1867, 434, 326, 783, 585, 353, 316, 326, 1082, 202, 759, 26485, 2953, 18, 202, 202, 97, 9506, 202, 780, 284, 273, 3968, 18, 10492, 5621, 9506, 202, 430, 12, 9549, 7972, 262, 202, 202, 95, 1875, 202, 430, 12, 1348, 480, 446, 262, 1082, 202, 95, 9506, 202, 3348, 273, 819, 2624, 18, 588, 3935, 1042, 7675, 588, 2335, 1435, 300, 284, 18, 2469, 1435, 300, 404, 31, 368, 300, 21, 364, 326, 679, 3862, 6862, 9506, 202, 3394, 18, 267, 15335, 8149, 12, 284, 16, 1384, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 293, 772, 8752, 12, 509, 8435, 2335, 262, 1216, 19074, 503, 288, 202, 202, 7457, 4851, 9431, 5621, 202, 202, 474, 276, 273, 23577, 5621, 202, 202, 474, 1384, 31, 202, 202, 780, 1892, 3968, 273, 394, 6674, 5621, 202, 202, 6494, 999, 8752, 743, 273, 638, 31, 202, 202, 430, 261, 71, 422, 2368, 6134, 288, 1082, 202, 71, 273, 23577, 5621, 1082, 202, 17523, 14015, 71, 480, 7481, 3719, 288, 9506, 202, 17812, 18, 6923, 12443, 3001, 13, 276, 1769, 9506, 202, 71, 273, 23577, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 71, 422, 4754, 13, 288, 1082, 202, 71, 273, 23577, 5621, 1082, 202, 17523, 14015, 71, 2 ]
logger.debug("66666666666666 setting active to FALSE!");
public void itemSelected(SelectionEvent e) { // what address am I? logger.debug("00000000000 object hash code: " + super.hashCode()); // ignore events unless active logger.debug("11111111ITEM SELECTED: " + e); if (!active) { logger.debug("222222222 not active."); return; } else { logger.debug("222222222 ACTIVE!!!."); } Selectable s = e.getSelectableSource(); // don't care when tables (or anything else) are deselected if (!s.isSelected()) { logger.debug("333333333 not selected."); return; } if (s instanceof TablePane) { logger.debug("4444444444444 instance of TablePane."); if (pkTable == null) { pkTable = (TablePane) s; logger.debug("555555555555 Creating relationship: PK Table is "+pkTable); } else { fkTable = (TablePane) s; logger.debug("66666666666666 Creating relationship: FK Table is "+fkTable); doCreateRelationship(); // this might fail, but still set things back to "normal" pp.setCursor(null); logger.debug("66666666666666 setting active to FALSE!"); active = false; } } else { logger.debug("777777777777 not instance of TablePane."); if (logger.isDebugEnabled()) logger.debug("The user clicked on a non-table component: "+s); } }
53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/9f02dde8edeec34661e5cc475c6897e2ec6b3376/CreateRelationshipAction.java/buggy/src/ca/sqlpower/architect/swingui/action/CreateRelationshipAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 761, 7416, 12, 6233, 1133, 425, 13, 288, 202, 202, 759, 4121, 1758, 2125, 467, 35, 202, 202, 4901, 18, 4148, 2932, 12648, 3784, 733, 1651, 981, 30, 315, 397, 2240, 18, 2816, 1085, 10663, 1082, 202, 759, 2305, 2641, 3308, 2695, 202, 202, 4901, 18, 4148, 2932, 23680, 23680, 12674, 9111, 2056, 30, 315, 397, 425, 1769, 202, 202, 430, 16051, 3535, 13, 288, 1082, 202, 4901, 18, 4148, 2932, 3787, 3787, 3787, 28855, 486, 2695, 1199, 1769, 1082, 202, 2463, 31, 202, 202, 97, 469, 288, 1082, 202, 4901, 18, 4148, 2932, 3787, 3787, 3787, 28855, 21135, 25885, 1199, 1769, 6862, 202, 97, 202, 202, 31544, 272, 273, 425, 18, 588, 31544, 1830, 5621, 202, 202, 759, 2727, 1404, 7671, 1347, 4606, 261, 280, 6967, 469, 13, 854, 2832, 292, 828, 202, 202, 430, 16051, 87, 18, 291, 7416, 10756, 288, 1082, 202, 4901, 18, 4148, 2932, 18094, 18094, 23, 486, 3170, 1199, 1769, 25083, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 87, 1276, 3555, 8485, 13, 288, 1082, 202, 4901, 18, 4148, 2932, 6334, 6334, 6334, 6334, 6334, 6334, 24, 791, 434, 3555, 8485, 1199, 1769, 6862, 6862, 202, 430, 261, 5465, 1388, 422, 446, 13, 288, 9506, 202, 5465, 1388, 273, 261, 1388, 8485, 13, 272, 31, 9506, 202, 4901, 18, 4148, 2932, 27982, 27982, 27982, 21837, 5232, 30, 11327, 3555, 353, 13773, 5465, 1388, 1769, 1082, 202, 97, 469, 288, 9506, 202, 23120, 1388, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 761, 7416, 12, 6233, 1133, 425, 13, 288, 202, 202, 759, 4121, 1758, 2125, 467, 35, 202, 202, 4901, 18, 4148, 2932, 12648, 3784, 733, 1651, 981, 30, 315, 397, 2240, 18, 2816, 1085, 10663, 1082, 202, 759, 2305, 2641, 3308, 2695, 202, 202, 4901, 18, 4148, 2932, 23680, 23680, 12674, 9111, 2056, 30, 315, 397, 425, 1769, 202, 202, 430, 16051, 3535, 13, 288, 1082, 202, 4901, 18, 4148, 2932, 3787, 3787, 3787, 28855, 486, 2695, 1199, 1769, 1082, 202, 2463, 31, 202, 202, 97, 469, 288, 1082, 202, 4901, 18, 4148, 2932, 3787, 3787, 3787, 28855, 21135, 25885, 1199, 1769, 6862, 202, 97, 202, 202, 31544, 272, 273, 425, 18, 588, 31544, 1830, 2 ]
newExpression = createCollectionIterationText(forStatement );
newExpression = createCollectionIterationText(forStatement);
public void doFix(Project project, ProblemDescriptor descriptor) throws IncorrectOperationException{ final PsiElement forElement = descriptor.getPsiElement(); if(!(forElement.getParent() instanceof PsiForStatement)){ return; } final PsiForStatement forStatement = (PsiForStatement) forElement.getParent(); final String newExpression; if(isArrayLoopStatement(forStatement)){ newExpression = createArrayIterationText(forStatement); } else if(isCollectionLoopStatement(forStatement)){ newExpression = createCollectionIterationText(forStatement ); } else if(isIndexedListLoopStatement(forStatement)){ newExpression = createListIterationText(forStatement); } else{ return; } if (newExpression == null) { return; } replaceStatementAndShortenClassNames(forStatement, newExpression); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/9c59a0ba1e8fc5685a99bd20714c4dfa226d5c4c/ForCanBeForeachInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/ForCanBeForeachInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 741, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 7734, 1216, 657, 6746, 10602, 95, 5411, 727, 453, 7722, 1046, 364, 1046, 273, 4950, 18, 588, 52, 7722, 1046, 5621, 5411, 309, 12, 5, 12, 1884, 1046, 18, 588, 3054, 1435, 1276, 453, 7722, 1290, 3406, 3719, 95, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 1290, 3406, 364, 3406, 273, 10792, 261, 52, 7722, 1290, 3406, 13, 364, 1046, 18, 588, 3054, 5621, 5411, 727, 514, 394, 2300, 31, 5411, 309, 12, 291, 1076, 6452, 3406, 12, 1884, 3406, 3719, 95, 7734, 394, 2300, 273, 752, 1076, 10795, 1528, 12, 1884, 3406, 1769, 5411, 289, 469, 309, 12, 291, 2532, 6452, 3406, 12, 1884, 3406, 3719, 95, 7734, 394, 2300, 273, 752, 2532, 10795, 1528, 12, 1884, 3406, 7734, 11272, 5411, 289, 469, 309, 12, 291, 15034, 682, 6452, 3406, 12, 1884, 3406, 3719, 95, 7734, 394, 2300, 273, 752, 682, 10795, 1528, 12, 1884, 3406, 1769, 5411, 289, 469, 95, 7734, 327, 31, 5411, 289, 5411, 309, 261, 2704, 2300, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 1453, 3406, 1876, 4897, 275, 18127, 12, 1884, 3406, 16, 394, 2300, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 540, 1071, 918, 741, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 7734, 1216, 657, 6746, 10602, 95, 5411, 727, 453, 7722, 1046, 364, 1046, 273, 4950, 18, 588, 52, 7722, 1046, 5621, 5411, 309, 12, 5, 12, 1884, 1046, 18, 588, 3054, 1435, 1276, 453, 7722, 1290, 3406, 3719, 95, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 1290, 3406, 364, 3406, 273, 10792, 261, 52, 7722, 1290, 3406, 13, 364, 1046, 18, 588, 3054, 5621, 5411, 727, 514, 394, 2300, 31, 5411, 309, 12, 291, 1076, 6452, 3406, 12, 1884, 3406, 3719, 95, 7734, 394, 2300, 273, 752, 1076, 10795, 1528, 12, 1884, 3406, 1769, 5411, 289, 469, 309, 12, 291, 2532, 6452, 3406, 12, 2 ]
public File findFile(File i2find) {
public File findFile(Ruby ruby, File i2find) {
public File findFile(File i2find) { RubyArray lLoadPath = (RubyArray) getGlobalVar("$:"); int lPathNb = lLoadPath.getLength(); String l2Find = i2find.getPath(); for (int i = 0; i < lPathNb; i++) { String lCurPath = ((RubyString) lLoadPath.entry(i)).getValue(); File lCurFile = new File(lCurPath + File.separatorChar + l2Find); if (lCurFile.exists()) { i2find = lCurFile; break; } } if (i2find.exists()) { return i2find; } else { throw new RuntimeException("file " + i2find.getPath() + " can't be found!"); } }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/ca0297671a9134bbd35c936224da11609c37fa62/Ruby.java/clean/org/jruby/Ruby.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1387, 1104, 812, 12, 54, 10340, 22155, 16, 1387, 277, 22, 4720, 13, 288, 3639, 19817, 1076, 328, 2563, 743, 273, 261, 54, 10340, 1076, 13, 20591, 1537, 2932, 8, 2773, 1769, 3639, 509, 328, 743, 22816, 273, 328, 2563, 743, 18, 588, 1782, 5621, 3639, 514, 328, 22, 3125, 273, 277, 22, 4720, 18, 588, 743, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 328, 743, 22816, 31, 277, 27245, 288, 5411, 514, 328, 2408, 743, 273, 14015, 54, 10340, 780, 13, 328, 2563, 743, 18, 4099, 12, 77, 13, 2934, 24805, 5621, 5411, 1387, 328, 2408, 812, 273, 394, 1387, 12, 80, 2408, 743, 397, 1387, 18, 11287, 2156, 397, 328, 22, 3125, 1769, 5411, 309, 261, 80, 2408, 812, 18, 1808, 10756, 288, 7734, 277, 22, 4720, 273, 328, 2408, 812, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 309, 261, 77, 22, 4720, 18, 1808, 10756, 288, 5411, 327, 277, 22, 4720, 31, 3639, 289, 469, 288, 5411, 604, 394, 3235, 2932, 768, 315, 397, 277, 22, 4720, 18, 588, 743, 1435, 397, 315, 848, 1404, 506, 1392, 4442, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1387, 1104, 812, 12, 54, 10340, 22155, 16, 1387, 277, 22, 4720, 13, 288, 3639, 19817, 1076, 328, 2563, 743, 273, 261, 54, 10340, 1076, 13, 20591, 1537, 2932, 8, 2773, 1769, 3639, 509, 328, 743, 22816, 273, 328, 2563, 743, 18, 588, 1782, 5621, 3639, 514, 328, 22, 3125, 273, 277, 22, 4720, 18, 588, 743, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 328, 743, 22816, 31, 277, 27245, 288, 5411, 514, 328, 2408, 743, 273, 14015, 54, 10340, 780, 13, 328, 2563, 743, 18, 4099, 12, 77, 13, 2934, 24805, 5621, 5411, 1387, 328, 2408, 812, 273, 394, 1387, 12, 80, 2408, 743, 397, 1387, 18, 11287, 2156, 397, 328, 22, 2 ]
throw new BuildException( "You must specify at least one of targetOS, dirSep, or pathSep" );
throw new BuildException( "You must specify at least one of " + "targetOS, dirSep, or pathSep" );
private void validateSetup() throws BuildException { if( path == null ) { throw new BuildException( "You must specify a path to convert" ); } if( property == null ) { throw new BuildException( "You must specify a property" ); } // Must either have a target OS or both a dirSep and pathSep if( targetOS == null && pathSep == null && dirSep == null ) { throw new BuildException( "You must specify at least one of targetOS, dirSep, or pathSep" ); } // Determine the separator strings. The dirsep and pathsep attributes // override the targetOS settings. String dsep = File.separator; String psep = File.pathSeparator; if( targetOS != null ) { psep = targetWindows ? ";" : ":"; dsep = targetWindows ? "\\" : "/"; } if( pathSep != null ) { // override with pathsep= psep = pathSep; } if( dirSep != null ) { // override with dirsep= dsep = dirSep; } pathSep = psep; dirSep = dsep; }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/25253f3faa839d0341bdfe9eecb06d8791fcf8ea/PathConvert.java/clean/src/main/org/apache/tools/ant/taskdefs/PathConvert.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1954, 7365, 1435, 1216, 18463, 288, 3639, 309, 12, 589, 422, 446, 262, 288, 5411, 604, 394, 18463, 12, 315, 6225, 1297, 4800, 279, 589, 358, 1765, 6, 11272, 3639, 289, 3639, 309, 12, 1272, 422, 446, 262, 288, 5411, 604, 394, 18463, 12, 315, 6225, 1297, 4800, 279, 1272, 6, 11272, 3639, 289, 3639, 368, 6753, 3344, 1240, 279, 1018, 5932, 578, 3937, 279, 1577, 5097, 471, 589, 5097, 3639, 309, 12, 1018, 4618, 422, 446, 597, 589, 5097, 422, 446, 597, 1577, 5097, 422, 446, 262, 288, 5411, 604, 394, 18463, 12, 315, 6225, 1297, 4800, 622, 4520, 1245, 434, 315, 397, 315, 3299, 4618, 16, 1577, 5097, 16, 578, 589, 5097, 6, 11272, 3639, 289, 3639, 368, 10229, 326, 4182, 2064, 18, 225, 1021, 1577, 10814, 471, 589, 10814, 1677, 3639, 368, 3849, 326, 1018, 4618, 1947, 18, 3639, 514, 302, 10814, 273, 1387, 18, 11287, 31, 3639, 514, 293, 10814, 273, 1387, 18, 803, 6581, 31, 3639, 309, 12, 1018, 4618, 480, 446, 262, 288, 5411, 293, 10814, 273, 1018, 10399, 692, 11430, 294, 6153, 31, 5411, 302, 10814, 273, 1018, 10399, 692, 14520, 294, 4016, 31, 3639, 289, 3639, 309, 12, 589, 5097, 480, 446, 262, 288, 2398, 368, 3849, 598, 589, 10814, 33, 5411, 293, 10814, 273, 589, 5097, 31, 3639, 289, 3639, 309, 12, 1577, 5097, 480, 446, 262, 288, 2868, 368, 3849, 598, 1577, 10814, 33, 5411, 302, 10814, 273, 1577, 5097, 31, 3639, 289, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1954, 7365, 1435, 1216, 18463, 288, 3639, 309, 12, 589, 422, 446, 262, 288, 5411, 604, 394, 18463, 12, 315, 6225, 1297, 4800, 279, 589, 358, 1765, 6, 11272, 3639, 289, 3639, 309, 12, 1272, 422, 446, 262, 288, 5411, 604, 394, 18463, 12, 315, 6225, 1297, 4800, 279, 1272, 6, 11272, 3639, 289, 3639, 368, 6753, 3344, 1240, 279, 1018, 5932, 578, 3937, 279, 1577, 5097, 471, 589, 5097, 3639, 309, 12, 1018, 4618, 422, 446, 597, 589, 5097, 422, 446, 597, 1577, 5097, 422, 446, 262, 288, 5411, 604, 394, 18463, 12, 315, 6225, 1297, 4800, 622, 4520, 1245, 434, 315, 397, 315, 3299, 4618, 16, 1577, 5097, 16, 578, 589, 5097, 6, 11272, 2 ]
public boolean invApply(float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33) { PMatrix copy = new PMatrix(n00, n01, n02, n03, n10, n11, n12, n13, n20, n21, n22, n23, n30, n31, n32, n33);
public boolean invApply(PMatrix rhs) { PMatrix copy = new PMatrix(rhs);
public boolean invApply(float n00, float n01, float n02, float n03, float n10, float n11, float n12, float n13, float n20, float n21, float n22, float n23, float n30, float n31, float n32, float n33) { PMatrix copy = new PMatrix(n00, n01, n02, n03, n10, n11, n12, n13, n20, n21, n22, n23, n30, n31, n32, n33); PMatrix inverse = copy.invert(); if (inverse == null) return false; preApply(inverse); return true; }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/03598e79d2df4a06d130f55291a3f4511006d698/PMatrix.java/buggy/core/PMatrix.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2198, 7001, 12, 5659, 290, 713, 16, 1431, 290, 1611, 16, 1431, 290, 3103, 16, 1431, 290, 4630, 16, 12900, 1431, 290, 2163, 16, 1431, 290, 2499, 16, 1431, 290, 2138, 16, 1431, 290, 3437, 16, 12900, 1431, 290, 3462, 16, 1431, 290, 5340, 16, 1431, 290, 3787, 16, 1431, 290, 4366, 16, 12900, 1431, 290, 5082, 16, 1431, 290, 6938, 16, 1431, 290, 1578, 16, 1431, 290, 3707, 13, 288, 565, 453, 4635, 1610, 273, 394, 453, 4635, 12, 82, 713, 16, 290, 1611, 16, 290, 3103, 16, 290, 4630, 16, 1171, 9079, 290, 2163, 16, 290, 2499, 16, 290, 2138, 16, 290, 3437, 16, 1171, 9079, 290, 3462, 16, 290, 5340, 16, 290, 3787, 16, 290, 4366, 16, 1171, 9079, 290, 5082, 16, 290, 6938, 16, 290, 1578, 16, 290, 3707, 1769, 565, 453, 4635, 8322, 273, 1610, 18, 267, 1097, 5621, 565, 309, 261, 22552, 422, 446, 13, 327, 629, 31, 565, 675, 7001, 12, 22552, 1769, 565, 327, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2198, 7001, 12, 5659, 290, 713, 16, 1431, 290, 1611, 16, 1431, 290, 3103, 16, 1431, 290, 4630, 16, 12900, 1431, 290, 2163, 16, 1431, 290, 2499, 16, 1431, 290, 2138, 16, 1431, 290, 3437, 16, 12900, 1431, 290, 3462, 16, 1431, 290, 5340, 16, 1431, 290, 3787, 16, 1431, 290, 4366, 16, 12900, 1431, 290, 5082, 16, 1431, 290, 6938, 16, 1431, 290, 1578, 16, 1431, 290, 3707, 13, 288, 565, 453, 4635, 1610, 273, 394, 453, 4635, 12, 82, 713, 16, 290, 1611, 16, 290, 3103, 16, 290, 4630, 16, 1171, 9079, 290, 2163, 16, 290, 2499, 16, 290, 2138, 16, 290, 3437, 16, 1171, 9079, 290, 3462, 16, 290, 5340, 16, 290, 3787, 2 ]
RatingPair ratingPair = new RatingPair();
RatingPair ratingPair = ratingPairs[i];
private int updateRatings(Map trackMap, RatingPair[] ratingPairs) { int ratingsUpdated = 0; List newTracks = new ArrayList(); for (int i = 0; i < ratingPairs.length; i++) { RatingPair ratingPair = new RatingPair(); Track track = (Track) trackMap.get(ratingPair.trackId); if (ratingPair.rating == track.getRating()) { System.out.println("Was " + track.getRating() + " should be " + ratingPair.rating); // track.setRating(ratingPair.rating); ratingsUpdated++; } } return ratingsUpdated; }
11635 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11635/5145fb07873c6dbfa36d7c4dab28b8af83695256/RemoteBuddyServer.java/buggy/trunk/irate/irate/download/RemoteBuddyServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 1089, 29635, 899, 12, 863, 3298, 863, 16, 534, 1776, 4154, 8526, 13953, 10409, 13, 288, 565, 509, 15183, 899, 7381, 273, 374, 31, 565, 987, 394, 22138, 273, 394, 2407, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 13953, 10409, 18, 2469, 31, 277, 27245, 288, 1377, 534, 1776, 4154, 13953, 4154, 273, 13953, 10409, 63, 77, 15533, 1377, 11065, 3298, 273, 261, 4402, 13, 3298, 863, 18, 588, 12, 17326, 4154, 18, 4101, 548, 1769, 1377, 309, 261, 17326, 4154, 18, 17326, 422, 3298, 18, 588, 20388, 10756, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 14992, 315, 397, 3298, 18, 588, 20388, 1435, 397, 315, 1410, 506, 315, 397, 13953, 4154, 18, 17326, 1769, 3639, 368, 3298, 18, 542, 20388, 12, 17326, 4154, 18, 17326, 1769, 3639, 15183, 899, 7381, 9904, 31, 1377, 289, 565, 289, 565, 327, 15183, 899, 7381, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 1089, 29635, 899, 12, 863, 3298, 863, 16, 534, 1776, 4154, 8526, 13953, 10409, 13, 288, 565, 509, 15183, 899, 7381, 273, 374, 31, 565, 987, 394, 22138, 273, 394, 2407, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 13953, 10409, 18, 2469, 31, 277, 27245, 288, 1377, 534, 1776, 4154, 13953, 4154, 273, 13953, 10409, 63, 77, 15533, 1377, 11065, 3298, 273, 261, 4402, 13, 3298, 863, 18, 588, 12, 17326, 4154, 18, 4101, 548, 1769, 1377, 309, 261, 17326, 4154, 18, 17326, 422, 3298, 18, 588, 20388, 10756, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 14992, 315, 397, 3298, 18, 588, 20388, 1435, 397, 315, 1410, 506, 315, 397, 13953, 2 ]
public byte[] getContent(CmsObject cms, String templateFile, String elementName, Hashtable parameters, String templateSelector) throws CmsException { //return var byte[] returnProcess = null; // session will be created or fetched I_CmsSession session = (CmsSession) cms.getRequestContext().getSession(true); //create new workplace templatefile object CmsXmlWpTemplateFile template = new CmsXmlWpTemplateFile(cms, templateFile); //get parameters String selectbox = (String) parameters.get("selectbox"); String id = (String) parameters.get("id"); String idlock = (String) parameters.get("idlock"); String iddelete = (String) parameters.get("iddelete"); String idedit = (String) parameters.get("idedit"); String action = (String) parameters.get("action"); String ok = (String) parameters.get("ok"); if (action != null) parameters.put("action", action); //move id values to id, remove old markers if (idlock != null) { id = idlock; session.putValue("idlock", idlock); session.removeValue("idedit"); session.removeValue("idnew"); session.removeValue("iddelete"); } if (idedit != null) { id = idedit; session.putValue("idedit", idedit); session.removeValue("idlock"); session.removeValue("idnew"); session.removeValue("iddelete"); } if (iddelete != null) { id = iddelete; session.putValue("iddelete", iddelete); session.removeValue("idedit"); session.removeValue("idnew"); session.removeValue("idlock"); } if ((id != null) && (id.equals("new"))) { session.putValue("idnew", id); session.removeValue("idedit"); session.removeValue("idnew"); session.removeValue("iddelete"); session.removeValue("idlock"); } //get marker id from session String idsave = (String) session.getValue("idsave"); if (ok == null) idsave = null; //get marker for accessing the new dialog String idnewsave = (String) session.getValue("idnew"); //access to new dialog if ((id != null) && (id.equals("new")) || ((idsave != null) && (idsave.equals("new")))) { if (idsave != null) parameters.put("idsave", idsave); if (id != null) parameters.put("id", id); //process the "new entry" form returnProcess = getContentNew(cms, template, elementName, parameters, templateSelector); //finally retrun processed data return returnProcess; } //go to the appropriate getContent methods if ((selectbox == null) && (id == null) && (idsave == null) && (action == null)) { //process the head frame containing the filter returnProcess = getContentHead(cms, template, elementName, parameters, templateSelector); //finally return processed data return returnProcess; } else { //process the body frame containing the table if (selectbox != null) { //process the list output returnProcess = getContentList(cms, template, elementName, parameters, templateSelector); //finally return processed data return returnProcess; } else { //get marker for accessing the edit dialog String ideditsave = (String) session.getValue("idedit"); //go to the edit dialog if ((idedit != null) || (ideditsave != null)) { //store id parameters for edit dialog if (idsave != null) parameters.put("idsave", idsave); if (id != null) parameters.put("id", id); returnProcess = getContentEdit(cms, template, elementName, parameters, templateSelector); //finally return processed data return returnProcess; } else { //store id parameters for delete and lock if (idsave != null) { parameters.put("id", idsave); } else { parameters.put("id", id); } //get marker for accessing the delete dialog String iddeletesave = (String) session.getValue("iddelete"); //access delete dialog if (((iddelete != null) || (iddeletesave != null)) && (idlock == null)) { returnProcess = getContentDelete(cms, template, elementName, parameters, templateSelector); return returnProcess; } else { //access lock dialog returnProcess = getContentLock(cms, template, elementName, parameters, templateSelector); //finally return processed data return returnProcess; } } } }}
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/cdbe660ff2369bbca40eb27640604aa9a452cef3/A_Backoffice.java/clean/src/com/opencms/defaults/A_Backoffice.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 7229, 8526, 588, 1350, 12, 4747, 921, 6851, 16, 780, 3202, 812, 16, 780, 2956, 461, 16, 5582, 14544, 3977, 16, 780, 3202, 4320, 13, 15069, 4747, 503, 95, 9506, 202, 759, 2463, 1401, 202, 7229, 8526, 2463, 2227, 33, 2011, 31, 202, 202, 759, 3184, 20194, 70, 557, 266, 690, 280, 5754, 329, 202, 45, 67, 4747, 2157, 3184, 28657, 4747, 2157, 13, 6851, 18, 588, 21426, 7675, 588, 2157, 12, 3767, 1769, 202, 759, 27350, 275, 359, 1252, 30538, 278, 29761, 768, 1612, 202, 4747, 4432, 59, 84, 2283, 25579, 278, 29761, 33, 2704, 4747, 4432, 59, 84, 2283, 812, 12, 6851, 16, 3202, 812, 1769, 202, 759, 588, 3977, 202, 780, 4025, 2147, 28657, 780, 13, 3977, 18, 588, 2932, 4025, 2147, 8863, 202, 780, 350, 28657, 780, 13, 3977, 18, 588, 2932, 350, 8863, 202, 780, 350, 739, 28657, 780, 13, 3977, 18, 588, 2932, 350, 739, 8863, 202, 780, 1873, 929, 28657, 780, 13, 3977, 18, 588, 2932, 1873, 929, 8863, 202, 780, 13898, 305, 28657, 780, 13, 3977, 18, 588, 2932, 13898, 305, 8863, 202, 780, 1128, 28657, 780, 13, 3977, 18, 588, 2932, 1128, 8863, 202, 780, 601, 28657, 780, 13, 3977, 18, 588, 2932, 601, 8863, 202, 430, 12, 1128, 5, 33, 2011, 13, 202, 202, 3977, 18, 458, 2932, 1128, 3113, 1128, 1769, 202, 759, 8501, 350, 4531, 395, 839, 16, 4479, 1673, 22807, 202, 430, 12, 350, 739, 5, 33, 2011, 15329, 202, 202, 350, 33, 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, 7229, 8526, 588, 1350, 12, 4747, 921, 6851, 16, 780, 3202, 812, 16, 780, 2956, 461, 16, 5582, 14544, 3977, 16, 780, 3202, 4320, 13, 15069, 4747, 503, 95, 9506, 202, 759, 2463, 1401, 202, 7229, 8526, 2463, 2227, 33, 2011, 31, 202, 202, 759, 3184, 20194, 70, 557, 266, 690, 280, 5754, 329, 202, 45, 67, 4747, 2157, 3184, 28657, 4747, 2157, 13, 6851, 18, 588, 21426, 7675, 588, 2157, 12, 3767, 1769, 202, 759, 27350, 275, 359, 1252, 30538, 278, 29761, 768, 1612, 202, 4747, 4432, 59, 84, 2283, 25579, 278, 29761, 33, 2704, 4747, 4432, 59, 84, 2283, 812, 12, 6851, 16, 3202, 812, 1769, 202, 759, 588, 3977, 202, 780, 4025, 2147, 28657, 780, 2 ]
UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef();
UnicastServerRef sref = (UnicastServerRef) ((RemoteObject) obj).getRef();
public static boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException { if (obj instanceof RemoteObject) { deleteStub(obj); UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef(); return sref.unexportObject(obj, force); } else { //FIX ME ; } return true; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/392a873c7dc1067cc2cc414042ead4e3b43e4483/UnicastRemoteObject.java/buggy/core/src/classpath/java/java/rmi/server/UnicastRemoteObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 640, 6530, 921, 12, 5169, 1081, 16, 1250, 2944, 13, 377, 1216, 5823, 921, 503, 282, 288, 565, 309, 261, 2603, 1276, 6304, 921, 13, 1377, 288, 202, 3733, 11974, 12, 2603, 1769, 202, 984, 12544, 2081, 1957, 272, 1734, 273, 261, 984, 12544, 2081, 1957, 13, 12443, 5169, 921, 13, 2603, 2934, 588, 1957, 5621, 202, 2463, 272, 1734, 18, 318, 6530, 921, 12, 2603, 16, 2944, 1769, 1377, 289, 565, 469, 1377, 288, 1377, 368, 4563, 7733, 1377, 274, 1377, 289, 565, 327, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 640, 6530, 921, 12, 5169, 1081, 16, 1250, 2944, 13, 377, 1216, 5823, 921, 503, 282, 288, 565, 309, 261, 2603, 1276, 6304, 921, 13, 1377, 288, 202, 3733, 11974, 12, 2603, 1769, 202, 984, 12544, 2081, 1957, 272, 1734, 273, 261, 984, 12544, 2081, 1957, 13, 12443, 5169, 921, 13, 2603, 2934, 588, 1957, 5621, 202, 2463, 272, 1734, 18, 318, 6530, 921, 12, 2603, 16, 2944, 1769, 1377, 289, 565, 469, 1377, 288, 1377, 368, 4563, 7733, 1377, 274, 1377, 289, 565, 327, 638, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ClassLoader cl = ss.getContextClassLoader(); if (cl == null || cl == ss.getSystemClassLoader()) { cl = ObjectFactory.class.getClassLoader(); }
ClassLoader context = ss.getContextClassLoader(); ClassLoader system = ss.getSystemClassLoader();
public static ClassLoader findClassLoader() throws ConfigurationError { SecuritySupport ss = SecuritySupport.getInstance(); // Figure out which ClassLoader to use for loading the provider // class. If there is a Context ClassLoader then use it. ClassLoader cl = ss.getContextClassLoader(); if (cl == null || cl == ss.getSystemClassLoader()) { // Assert: we are on JDK 1.1 or we have no Context ClassLoader // so use the current ClassLoader or we have default (system) // Context ClassLoader so extend to current ClassLoader (normal // classloader will delegate back to system ClassLoader first) cl = ObjectFactory.class.getClassLoader(); } if (cl == null) { // Assert: we are on JDK 1.1 or we are on JDK 1.2 and loaded // by bootstrap ClassLoader so extend to System ClassLoader cl = ss.getSystemClassLoader(); } return cl; } // findClassLoader():ClassLoader
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/7a77c747d02d807cdf2fd78235bf395839faba9c/ObjectFactory.java/clean/src/org/apache/xerces/util/ObjectFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 9403, 1104, 7805, 1435, 3639, 1216, 27507, 565, 288, 540, 6036, 6289, 5202, 273, 6036, 6289, 18, 588, 1442, 5621, 3639, 368, 18818, 596, 1492, 9403, 358, 999, 364, 7153, 326, 2893, 3639, 368, 667, 18, 225, 971, 1915, 353, 279, 1772, 9403, 1508, 999, 518, 18, 3639, 9403, 927, 273, 5202, 18, 29120, 7805, 5621, 3639, 309, 261, 830, 422, 446, 747, 927, 422, 5202, 18, 588, 3163, 7805, 10756, 288, 5411, 368, 5452, 30, 732, 854, 603, 24387, 404, 18, 21, 578, 732, 1240, 1158, 1772, 9403, 5411, 368, 1427, 999, 326, 783, 9403, 578, 732, 1240, 805, 261, 4299, 13, 5411, 368, 1772, 9403, 1427, 2133, 358, 783, 9403, 261, 6130, 5411, 368, 20595, 903, 7152, 1473, 358, 2619, 9403, 1122, 13, 5411, 927, 273, 1033, 1733, 18, 1106, 18, 588, 7805, 5621, 3639, 289, 3639, 309, 261, 830, 422, 446, 13, 288, 5411, 368, 5452, 30, 732, 854, 603, 24387, 404, 18, 21, 578, 732, 854, 603, 24387, 404, 18, 22, 471, 4203, 5411, 368, 635, 7065, 9403, 1427, 2133, 358, 2332, 9403, 5411, 927, 273, 5202, 18, 588, 3163, 7805, 5621, 3639, 289, 3639, 327, 927, 31, 565, 289, 368, 1104, 7805, 13332, 7805, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 9403, 1104, 7805, 1435, 3639, 1216, 27507, 565, 288, 540, 6036, 6289, 5202, 273, 6036, 6289, 18, 588, 1442, 5621, 3639, 368, 18818, 596, 1492, 9403, 358, 999, 364, 7153, 326, 2893, 3639, 368, 667, 18, 225, 971, 1915, 353, 279, 1772, 9403, 1508, 999, 518, 18, 3639, 9403, 927, 273, 5202, 18, 29120, 7805, 5621, 3639, 309, 261, 830, 422, 446, 747, 927, 422, 5202, 18, 588, 3163, 7805, 10756, 288, 5411, 368, 5452, 30, 732, 854, 603, 24387, 404, 18, 21, 578, 732, 1240, 1158, 1772, 9403, 5411, 368, 1427, 999, 326, 783, 9403, 578, 732, 1240, 805, 261, 4299, 13, 5411, 368, 1772, 9403, 1427, 2133, 358, 783, 9403, 261, 6130, 5411, 368, 2 ]
public void setStereotype(Object handle, Object stereo) { if (handle instanceof MModelElement && (stereo instanceof MStereotype || stereo == null)) { MModelElement me = (MModelElement) handle; MStereotype stereotype = (MStereotype) stereo; MStereotype existingStereotype = me.getStereotype(); if (LOG.isInfoEnabled()) { if (existingStereotype == null) { LOG.info("About to give a stereotype to " + handle); } else { LOG.info("About to change stereotype on " + handle + " to <<" + existingStereotype.getName() + ">>"); } } if (existingStereotype == stereotype) { LOG.info("Stereotype is already set. Do nothing."); return; } if (LOG.isInfoEnabled()) { if (stereotype == null) { LOG.info("Removing any stereotype on " + handle); } else { LOG.info("Setting the stereotype on " + handle + " to <<" + stereotype.getName() + ">>"); } } // With this block in place save fails with an error // With this block removed save appears to work but // the save file does not record the stereotype if (stereotype != null && me.getModel() != stereotype.getModel()) { if (LOG.isInfoEnabled()) { LOG.info("Changing the stereotype namespace from " + stereotype.getModel() + " to " + me.getModel()); } stereotype.setNamespace(me.getModel()); } me.setStereotype(stereotype); return; } throw new IllegalArgumentException("handle: " + handle + " or stereo: " + stereo); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/678d65e5c58f815cdfefa9e7ca6efd2b7a6f3b9f/CoreHelperImpl.java/buggy/src_new/org/argouml/model/uml/CoreHelperImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13928, 387, 73, 10570, 12, 921, 1640, 16, 1033, 29558, 13, 288, 3639, 309, 261, 4110, 1276, 490, 1488, 1046, 597, 1171, 261, 334, 822, 83, 1276, 9238, 387, 73, 10570, 747, 29558, 422, 446, 3719, 288, 13491, 490, 1488, 1046, 1791, 273, 261, 49, 1488, 1046, 13, 1640, 31, 5411, 9238, 387, 73, 10570, 22890, 10570, 273, 261, 3537, 387, 73, 10570, 13, 29558, 31, 13491, 9238, 387, 73, 10570, 2062, 55, 387, 73, 10570, 273, 1791, 18, 588, 55, 387, 73, 10570, 5621, 13491, 309, 261, 4842, 18, 291, 966, 1526, 10756, 288, 7734, 309, 261, 11711, 55, 387, 73, 10570, 422, 446, 13, 288, 10792, 2018, 18, 1376, 2932, 24813, 358, 8492, 279, 22890, 10570, 358, 315, 397, 1640, 1769, 7734, 289, 469, 288, 10792, 2018, 18, 1376, 2932, 24813, 358, 2549, 22890, 10570, 603, 315, 397, 1640, 18701, 397, 315, 358, 2296, 6, 397, 2062, 55, 387, 73, 10570, 18, 17994, 1435, 397, 14402, 2984, 1769, 7734, 289, 5411, 289, 13491, 309, 261, 11711, 55, 387, 73, 10570, 422, 22890, 10570, 13, 288, 7734, 2018, 18, 1376, 2932, 55, 387, 73, 10570, 353, 1818, 444, 18, 2256, 5083, 1199, 1769, 7734, 327, 31, 5411, 289, 13491, 309, 261, 4842, 18, 291, 966, 1526, 10756, 288, 7734, 309, 261, 334, 822, 10570, 422, 446, 13, 288, 10792, 2018, 18, 1376, 2932, 18939, 1281, 22890, 10570, 603, 315, 397, 1640, 1769, 7734, 289, 469, 288, 10792, 2018, 18, 1376, 2932, 5568, 326, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13928, 387, 73, 10570, 12, 921, 1640, 16, 1033, 29558, 13, 288, 3639, 309, 261, 4110, 1276, 490, 1488, 1046, 597, 1171, 261, 334, 822, 83, 1276, 9238, 387, 73, 10570, 747, 29558, 422, 446, 3719, 288, 13491, 490, 1488, 1046, 1791, 273, 261, 49, 1488, 1046, 13, 1640, 31, 5411, 9238, 387, 73, 10570, 22890, 10570, 273, 261, 3537, 387, 73, 10570, 13, 29558, 31, 13491, 9238, 387, 73, 10570, 2062, 55, 387, 73, 10570, 273, 1791, 18, 588, 55, 387, 73, 10570, 5621, 13491, 309, 261, 4842, 18, 291, 966, 1526, 10756, 288, 7734, 309, 261, 11711, 55, 387, 73, 10570, 422, 446, 13, 288, 10792, 2018, 18, 1376, 2932, 24813, 358, 8492, 279, 2 ]
if (data != null || data.length() > 0) { String value = "<!-[CDATA" + node.getData() + "]]>";
if (data != null && data.length() > 0) { String value = "<!-[CDATA" + node.getData() + "]]>";
private void initCDATASectionNode(CDATASection node, DefaultMutableTreeNode mTreeNode) throws SAXException { String data = node.getData(); if (data != null || data.length() > 0) { String value = "<!-[CDATA" + node.getData() + "]]>"; XMLDefaultMutableTreeNode commentNode = new XMLDefaultMutableTreeNode(value, node); mTreeNode.add(commentNode); } }
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/07ad2c1be425a1a07e6150924838d6a8676c76c5/XMLDefaultMutableTreeNode.java/clean/src/components/org/apache/jmeter/visualizers/XMLDefaultMutableTreeNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 10160, 789, 3033, 794, 907, 12, 10160, 789, 3033, 794, 756, 16, 2989, 19536, 12513, 312, 12513, 13, 1216, 14366, 288, 202, 202, 780, 501, 273, 756, 18, 588, 751, 5621, 202, 202, 430, 261, 892, 480, 446, 747, 501, 18, 2469, 1435, 405, 374, 13, 288, 1082, 202, 780, 460, 273, 3532, 5, 17, 63, 18375, 6, 397, 756, 18, 588, 751, 1435, 397, 9850, 65, 2984, 31, 1082, 202, 4201, 1868, 19536, 12513, 2879, 907, 273, 394, 3167, 1868, 19536, 12513, 12, 1132, 16, 756, 1769, 1082, 202, 81, 12513, 18, 1289, 12, 3469, 907, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 10160, 789, 3033, 794, 907, 12, 10160, 789, 3033, 794, 756, 16, 2989, 19536, 12513, 312, 12513, 13, 1216, 14366, 288, 202, 202, 780, 501, 273, 756, 18, 588, 751, 5621, 202, 202, 430, 261, 892, 480, 446, 747, 501, 18, 2469, 1435, 405, 374, 13, 288, 1082, 202, 780, 460, 273, 3532, 5, 17, 63, 18375, 6, 397, 756, 18, 588, 751, 1435, 397, 9850, 65, 2984, 31, 1082, 202, 4201, 1868, 19536, 12513, 2879, 907, 273, 394, 3167, 1868, 19536, 12513, 12, 1132, 16, 756, 1769, 1082, 202, 81, 12513, 18, 1289, 12, 3469, 907, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private char[] washAlphabetIntoReplaceList(char[] alphabet){ String tmp,code; HashMap letters=new HashMap(alphabet.length); Object[] tmpCharacters; char[] washedArray; //System.out.println("Original:"); for(int i=0;i<alphabet.length;i++){ tmp=String.valueOf(alphabet[i]); //System.out.print(tmp); code=tf.transform(tmp); //System.out.print(" Coded as:"+code); if(!letters.containsKey(code)){ letters.put(code,new Character(alphabet[i])); //System.out.print(" add"); } //System.out.println(); } //System.out.print("Washed:"); tmpCharacters=letters.values().toArray(); washedArray=new char[tmpCharacters.length]; for(int i=0;i<tmpCharacters.length;i++){ washedArray[i]=((Character)tmpCharacters[i]).charValue(); //System.out.print(" "+washedArray[i]); } //System.out.println(); return washedArray; }
2469 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2469/5de0ddf5b7599b760ad712b7184612f7702d9d6d/GenericSpellDictionary.java/clean/src/com/swabunga/spell/engine/GenericSpellDictionary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 3001, 8526, 91, 961, 27316, 5952, 5729, 682, 12, 3001, 8526, 287, 8907, 15329, 780, 5645, 16, 710, 31, 2310, 49, 69, 1469, 5432, 33, 2704, 8658, 12, 287, 8907, 18, 2469, 1769, 921, 8526, 5645, 11600, 31, 3001, 8526, 91, 13912, 1076, 31, 759, 3163, 18, 659, 18, 8222, 2932, 8176, 2773, 1769, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 287, 8907, 18, 2469, 31, 77, 27245, 95, 5645, 33, 780, 18, 1132, 951, 12, 287, 8907, 63, 77, 19226, 759, 3163, 18, 659, 18, 1188, 12, 5645, 1769, 710, 33, 6632, 18, 6547, 12, 5645, 1769, 759, 3163, 18, 659, 18, 1188, 2932, 1085, 28831, 2773, 15, 710, 1769, 430, 12, 5, 26054, 18, 12298, 653, 12, 710, 3719, 95, 26054, 18, 458, 12, 710, 16, 2704, 7069, 12, 287, 8907, 63, 77, 5717, 1769, 759, 3163, 18, 659, 18, 1188, 2932, 1289, 8863, 97, 759, 3163, 18, 659, 18, 8222, 5621, 97, 759, 3163, 18, 659, 18, 1188, 2932, 59, 13912, 2773, 1769, 5645, 11600, 33, 26054, 18, 2372, 7675, 31447, 5621, 91, 13912, 1076, 33, 2704, 3001, 63, 5645, 11600, 18, 2469, 15533, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 5645, 11600, 18, 2469, 31, 77, 27245, 95, 91, 13912, 1076, 63, 77, 65, 33, 12443, 7069, 13, 5645, 11600, 63, 77, 65, 2934, 3001, 620, 5621, 759, 3163, 18, 659, 18, 1188, 2932, 6, 15, 91, 13912, 1076, 63, 77, 19226, 97, 759, 3163, 18, 659, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 3001, 8526, 91, 961, 27316, 5952, 5729, 682, 12, 3001, 8526, 287, 8907, 15329, 780, 5645, 16, 710, 31, 2310, 49, 69, 1469, 5432, 33, 2704, 8658, 12, 287, 8907, 18, 2469, 1769, 921, 8526, 5645, 11600, 31, 3001, 8526, 91, 13912, 1076, 31, 759, 3163, 18, 659, 18, 8222, 2932, 8176, 2773, 1769, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 287, 8907, 18, 2469, 31, 77, 27245, 95, 5645, 33, 780, 18, 1132, 951, 12, 287, 8907, 63, 77, 19226, 759, 3163, 18, 659, 18, 1188, 12, 5645, 1769, 710, 33, 6632, 18, 6547, 12, 5645, 1769, 759, 3163, 18, 659, 18, 1188, 2932, 1085, 28831, 2773, 15, 710, 1769, 430, 12, 5, 26054, 18, 2 ]
}
}
public int getViewCount() { return 0; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/View.java/buggy/core/src/classpath/javax/javax/swing/text/View.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 8893, 1380, 1435, 565, 288, 565, 327, 374, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 8893, 1380, 1435, 565, 288, 565, 327, 374, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
messageHolder = new WeavingAdaptorMessageHandler(new PrintWriter(System.err));
messageHolder = new WeavingAdaptorMessageHolder(new PrintWriter(System.err));
protected void createMessageHandler() { messageHolder = new WeavingAdaptorMessageHandler(new PrintWriter(System.err)); messageHandler = messageHolder; if (verbose) messageHandler.dontIgnore(IMessage.INFO); if (Boolean.getBoolean(SHOW_WEAVE_INFO_PROPERTY)) messageHandler.dontIgnore(IMessage.WEAVEINFO); info("AspectJ Weaver Version " + Version.text + " built on " + Version.time_text); //$NON-NLS-1$ }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/3cb2fd8d69a01c405f36b486831e5573d693ee2b/WeavingAdaptor.java/buggy/weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 23836, 1503, 1435, 288, 202, 202, 2150, 6064, 273, 394, 1660, 5339, 29888, 1079, 1503, 12, 2704, 14071, 12, 3163, 18, 370, 10019, 202, 202, 2150, 1503, 273, 883, 6064, 31, 202, 202, 430, 261, 11369, 13, 883, 1503, 18, 72, 1580, 3777, 12, 45, 1079, 18, 5923, 1769, 202, 202, 430, 261, 5507, 18, 588, 5507, 12, 16677, 67, 6950, 26714, 67, 5923, 67, 9900, 3719, 883, 1503, 18, 72, 1580, 3777, 12, 45, 1079, 18, 6950, 26714, 5923, 1769, 202, 202, 1376, 2932, 17468, 46, 1660, 21851, 4049, 315, 397, 4049, 18, 955, 397, 315, 6650, 603, 315, 397, 4049, 18, 957, 67, 955, 1769, 225, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 23836, 1503, 1435, 288, 202, 202, 2150, 6064, 273, 394, 1660, 5339, 29888, 1079, 1503, 12, 2704, 14071, 12, 3163, 18, 370, 10019, 202, 202, 2150, 1503, 273, 883, 6064, 31, 202, 202, 430, 261, 11369, 13, 883, 1503, 18, 72, 1580, 3777, 12, 45, 1079, 18, 5923, 1769, 202, 202, 430, 261, 5507, 18, 588, 5507, 12, 16677, 67, 6950, 26714, 67, 5923, 67, 9900, 3719, 883, 1503, 18, 72, 1580, 3777, 12, 45, 1079, 18, 6950, 26714, 5923, 1769, 202, 202, 1376, 2932, 17468, 46, 1660, 21851, 4049, 315, 397, 4049, 18, 955, 397, 315, 6650, 603, 315, 397, 4049, 18, 957, 67, 955, 1769, 225, 4329, 3993, 17, 5106, 17, 21, 8, 2 ]
return getEffectiveCodeFragmentFactory(psiContext).createCodeFragment(getEvaluationText(), psiContext, myProject);
final PsiCodeFragment fragment = getEffectiveCodeFragmentFactory(psiContext).createCodeFragment(getEvaluationText(), psiContext, myProject); fragment.forceResolveScope(GlobalSearchScope.allScope(myProject)); return fragment;
protected PsiCodeFragment getEvaluationCode(StackFrameContext context) throws EvaluateException { final PsiElement psiContext = PositionUtil.getContextElement(context); return getEffectiveCodeFragmentFactory(psiContext).createCodeFragment(getEvaluationText(), psiContext, myProject); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/89bfb20ccc0a34033cb5e97598f87c287a66cd34/WatchItemDescriptor.java/clean/debugger/impl/com/intellij/debugger/ui/impl/watch/WatchItemDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 453, 7722, 1085, 7456, 4774, 4531, 367, 1085, 12, 2624, 3219, 1042, 819, 13, 1216, 18176, 503, 288, 565, 727, 453, 7722, 1046, 23921, 1042, 273, 11010, 1304, 18, 29120, 1046, 12, 2472, 1769, 565, 727, 453, 7722, 1085, 7456, 5481, 273, 29006, 1085, 7456, 1733, 12, 24275, 1042, 2934, 2640, 1085, 7456, 12, 588, 13468, 1528, 9334, 23921, 1042, 16, 3399, 4109, 1769, 5481, 18, 5734, 8460, 3876, 12, 5160, 2979, 3876, 18, 454, 3876, 12, 4811, 4109, 10019, 327, 5481, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 453, 7722, 1085, 7456, 4774, 4531, 367, 1085, 12, 2624, 3219, 1042, 819, 13, 1216, 18176, 503, 288, 565, 727, 453, 7722, 1046, 23921, 1042, 273, 11010, 1304, 18, 29120, 1046, 12, 2472, 1769, 565, 727, 453, 7722, 1085, 7456, 5481, 273, 29006, 1085, 7456, 1733, 12, 24275, 1042, 2934, 2640, 1085, 7456, 12, 588, 13468, 1528, 9334, 23921, 1042, 16, 3399, 4109, 1769, 5481, 18, 5734, 8460, 3876, 12, 5160, 2979, 3876, 18, 454, 3876, 12, 4811, 4109, 10019, 327, 5481, 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 ]
if (jj_scan_token(LPAREN)) return true; if (jj_3R_61()) return true; return false; }
if (jj_scan_token(LPAREN)) return true; if (jj_3R_61()) return true; return false; }
final private boolean jj_3_19() { if (jj_scan_token(LPAREN)) return true; if (jj_3R_61()) return true; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/94275a63a29bc394e85b2f505b6478b6f7c76d82/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 3238, 1250, 10684, 67, 23, 67, 3657, 1435, 288, 3639, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 48, 15111, 3719, 327, 638, 31, 3639, 309, 261, 78, 78, 67, 23, 54, 67, 9498, 10756, 327, 638, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 3238, 1250, 10684, 67, 23, 67, 3657, 1435, 288, 3639, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 48, 15111, 3719, 327, 638, 31, 3639, 309, 261, 78, 78, 67, 23, 54, 67, 9498, 10756, 327, 638, 31, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Map parameterMap = request.getParameterMap();
public static RequestParameters extractParameters(ExternalContext.Request request) { RequestParameters requestParameters = new RequestParameters(); Map parameterMap = request.getParameterMap(); Map extraParameters = null; for (Iterator i = parameterMap.keySet().iterator(); i.hasNext();) { try { String encodedName = (String) i.next(); // Extract actual name and determine if it is a container or user parameter if (encodedName.startsWith(PARAM_PREFIX)) { String type = encodedName.substring(PARAM_PREFIX.length(), PARAM_PREFIX.length() + USER_PARAM_PREFIX.length()); boolean isUser = type.equals(USER_PARAM_PREFIX) || type.equals(ACTION_USER_PARAM_PREFIX); String portletIdString = encodedName.substring(PARAM_PREFIX.length() + USER_PARAM_PREFIX.length(), encodedName.indexOf('.')); int portletId = Integer.parseInt(portletIdString); String name = encodedName.substring(encodedName.indexOf('.') + 1); String[] values = (String[]) parameterMap.get(encodedName); if (type.equals(CONTAINER_PARAM_PREFIX) && name.equals(TARGET_NAME)) { // We found the special container parameter saying that a certain portlet is the target of a URL requestParameters.setTargetPortletId(portletId); if (ACTION_VALUE.equals(values[0])) { // We found that this must be an action URL requestParameters.setTargetIsAction(true); } } // Add parameter values if (isUser) requestParameters.addUserParameter(portletId, name, values); else requestParameters.addContainerParameter(portletId, name, values); } else { // Remember non-encoded parameters if (extraParameters == null) extraParameters = new HashMap(); extraParameters.put(encodedName, parameterMap.get(encodedName)); } } catch (Exception ex) { // Ignore invalid parameters ex.printStackTrace();// TEMP continue; } } return requestParameters; }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/ae1d0661cd6881846f830d97929a07c4ee98d979/PortletURLImpl.java/buggy/src/java/org/orbeon/oxf/portlet/PortletURLImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1567, 2402, 2608, 2402, 12, 6841, 1042, 18, 691, 590, 13, 288, 3639, 1567, 2402, 590, 2402, 273, 394, 1567, 2402, 5621, 7734, 1635, 2870, 2402, 273, 446, 31, 3639, 364, 261, 3198, 277, 273, 1569, 863, 18, 856, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 775, 288, 7734, 514, 3749, 461, 273, 261, 780, 13, 277, 18, 4285, 5621, 7734, 368, 8152, 3214, 508, 471, 4199, 309, 518, 353, 279, 1478, 578, 729, 1569, 7734, 309, 261, 10787, 461, 18, 17514, 1190, 12, 8388, 67, 6307, 3719, 288, 10792, 514, 618, 273, 3749, 461, 18, 28023, 12, 8388, 67, 6307, 18, 2469, 9334, 4655, 67, 6307, 18, 2469, 1435, 397, 7443, 67, 8388, 67, 6307, 18, 2469, 10663, 10792, 1250, 29302, 273, 618, 18, 14963, 12, 4714, 67, 8388, 67, 6307, 13, 747, 618, 18, 14963, 12, 12249, 67, 4714, 67, 8388, 67, 6307, 1769, 10792, 514, 13114, 548, 780, 273, 3749, 461, 18, 28023, 12, 8388, 67, 6307, 18, 2469, 1435, 397, 7443, 67, 8388, 67, 6307, 18, 2469, 9334, 3749, 461, 18, 31806, 2668, 1093, 10019, 10792, 509, 13114, 548, 273, 2144, 18, 2670, 1702, 12, 655, 1810, 548, 780, 1769, 10792, 514, 508, 273, 3749, 461, 18, 28023, 12, 10787, 461, 18, 31806, 2668, 1093, 13, 397, 404, 1769, 10792, 514, 8526, 924, 273, 261, 780, 63, 5717, 1569, 863, 18, 588, 12, 10787, 461, 1769, 10792, 309, 261, 723, 18, 14963, 12, 21395, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1567, 2402, 2608, 2402, 12, 6841, 1042, 18, 691, 590, 13, 288, 3639, 1567, 2402, 590, 2402, 273, 394, 1567, 2402, 5621, 7734, 1635, 2870, 2402, 273, 446, 31, 3639, 364, 261, 3198, 277, 273, 1569, 863, 18, 856, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 775, 288, 7734, 514, 3749, 461, 273, 261, 780, 13, 277, 18, 4285, 5621, 7734, 368, 8152, 3214, 508, 471, 4199, 309, 518, 353, 279, 1478, 578, 729, 1569, 7734, 309, 261, 10787, 461, 18, 17514, 1190, 12, 8388, 67, 6307, 3719, 288, 10792, 514, 618, 273, 3749, 461, 18, 28023, 12, 8388, 67, 6307, 18, 2469, 9334, 4655, 67, 6307, 18, 2469, 1435, 397, 2 ]
HashMap args = new HashMap(); args.put("highlight", "true"); args.put("highlightFields", "tv_text"); args.put("maxSnippets", "2");
HashMap<String,String> args = new HashMap<String,String>(); args.put("hl", "true"); args.put("hl.fl", "tv_text"); args.put("hl.snippets", "2");
public void testTermVecHighlight() { // do summarization using term vectors HashMap args = new HashMap(); args.put("highlight", "true"); args.put("highlightFields", "tv_text"); args.put("maxSnippets", "2"); TestHarness.LocalRequestFactory sumLRF = h.getRequestFactory( "standard",0,200,args); assertU(adoc("tv_text", "a long days night this should be a piece of text which is is is is is is is is is is is is is is is is is is is is is is is is isis is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is is sufficiently lengthly to produce multiple fragments which are not concatenated at all--we want two disjoint long fragments.", "id", "1")); assertU(commit()); assertU(optimize()); assertQ("Basic summarization", sumLRF.makeRequest("tv_text:long"), "//lst[@name='highlighting']/lst[@name='1']", "//lst[@name='1']/arr[@name='tv_text']/str[.='a <em>long</em> days night this should be a piece of text which']", "//arr[@name='tv_text']/str[.=' <em>long</em> fragments']" ); }
1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/a094b2bdbcf7dd42db15862143ba247fdf3aab42/HighlighterTest.java/buggy/src/test/org/apache/solr/HighlighterTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 4065, 12991, 16205, 1435, 288, 565, 368, 741, 2142, 3684, 1588, 1450, 2481, 10046, 565, 4317, 833, 273, 394, 4317, 5621, 565, 833, 18, 458, 2932, 15978, 3113, 315, 3767, 8863, 565, 833, 18, 458, 2932, 15978, 2314, 3113, 315, 24161, 67, 955, 8863, 565, 833, 18, 458, 2932, 1896, 10461, 16664, 3113, 315, 22, 8863, 565, 7766, 44, 1303, 403, 18, 2042, 691, 1733, 2142, 48, 12918, 273, 366, 18, 588, 691, 1733, 12, 1377, 315, 10005, 3113, 20, 16, 6976, 16, 1968, 1769, 3639, 1815, 57, 12, 4539, 2932, 24161, 67, 955, 3113, 315, 69, 1525, 4681, 290, 750, 333, 1410, 506, 279, 11151, 434, 977, 1492, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 291, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 18662, 715, 769, 715, 358, 11402, 3229, 14656, 1492, 854, 486, 22080, 622, 777, 413, 1814, 2545, 2795, 1015, 16452, 1525, 14656, 1199, 16, 5375, 315, 350, 3113, 315, 21, 7923, 1769, 565, 1815, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 4065, 12991, 16205, 1435, 288, 565, 368, 741, 2142, 3684, 1588, 1450, 2481, 10046, 565, 4317, 833, 273, 394, 4317, 5621, 565, 833, 18, 458, 2932, 15978, 3113, 315, 3767, 8863, 565, 833, 18, 458, 2932, 15978, 2314, 3113, 315, 24161, 67, 955, 8863, 565, 833, 18, 458, 2932, 1896, 10461, 16664, 3113, 315, 22, 8863, 565, 7766, 44, 1303, 403, 18, 2042, 691, 1733, 2142, 48, 12918, 273, 366, 18, 588, 691, 1733, 12, 1377, 315, 10005, 3113, 20, 16, 6976, 16, 1968, 1769, 3639, 1815, 57, 12, 4539, 2932, 24161, 67, 955, 3113, 315, 69, 1525, 4681, 290, 750, 333, 1410, 506, 279, 11151, 434, 977, 1492, 353, 353, 353, 353, 353, 353, 2 ]
Main.debug( "codeBaseURL = " + codeBaseURL );
Main.debug( "CL: Finally, codeBaseURL = " + codeBaseURL );
public KJASAppletClassLoader( String docBase, String codeBase ) { super( new URL[0] ); key = docBase + codeBase; archives = new Vector(); Main.debug( "Creating classloader with docBase = " + docBase + " and codeBase = " + codeBase ); try { //first determine what the real codeBase is: 3 cases //#1. codeBase is absolute URL- use that //#2. codeBase is relative to docBase, create url from those //#3. last resort, use docBase as the codeBase try { docBaseURL = new URL( docBase ); } catch ( MalformedURLException mue ) { return; } if(codeBase != null) { //we need to do this since codeBase should be a directory //and URLclassLoader assumes anything without a / on the end //is a jar file if( !codeBase.endsWith("/") ) codeBase = codeBase + "/"; try { codeBaseURL = new URL( codeBase ); } catch( MalformedURLException mue ) { try { codeBaseURL = new URL( docBaseURL, codeBase ); } catch( MalformedURLException mue2 ) {} } } if(codeBaseURL == null) { // codeBaseURL can not be null. This should not happen, // but if it does we fall back to document base // we do need to make sure that the docBaseURL is fixed if // it is something like http://www.foo.com/foo.asp // It's got to be a directory..... String file = docBaseURL.getFile(); if( file == null ) codeBaseURL = docBaseURL; else if( file.endsWith( "/" ) ) codeBaseURL = docBaseURL; else { //delete up to the ending '/' String urlString = docBaseURL.toString(); int dot_index = urlString.lastIndexOf( '/' ); String newfile = urlString.substring( 0, dot_index+1 ); codeBaseURL = new URL( newfile ); } } Main.debug( "codeBaseURL = " + codeBaseURL ); }catch( Exception e ) { Main.debug( "KJASAppletClassLoader caught an exception: " + e ); e.printStackTrace(); } }
1818 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1818/7b021b0f21aa7879a4559cf8fdd1a9bf63605362/KJASAppletClassLoader.java/clean/khtml/java/org/kde/kjas/server/KJASAppletClassLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1475, 46, 3033, 23696, 7805, 12, 514, 997, 2171, 16, 514, 981, 2171, 262, 565, 288, 3639, 2240, 12, 394, 1976, 63, 20, 65, 11272, 3639, 498, 273, 997, 2171, 397, 981, 2171, 31, 3639, 21997, 273, 394, 5589, 5621, 3639, 12740, 18, 4148, 12, 315, 11092, 20595, 598, 997, 2171, 273, 315, 397, 997, 2171, 397, 10792, 315, 471, 981, 2171, 273, 315, 397, 981, 2171, 11272, 3639, 775, 3639, 288, 5411, 368, 3645, 4199, 4121, 326, 2863, 981, 2171, 353, 30, 890, 6088, 5411, 368, 7, 21, 18, 981, 2171, 353, 4967, 1976, 17, 999, 716, 5411, 368, 7, 22, 18, 981, 2171, 353, 3632, 358, 997, 2171, 16, 752, 880, 628, 5348, 5411, 368, 7, 23, 18, 1142, 400, 499, 16, 999, 997, 2171, 487, 326, 981, 2171, 5411, 775, 5411, 288, 7734, 997, 29064, 273, 394, 1976, 12, 997, 2171, 11272, 5411, 289, 5411, 1044, 261, 20710, 312, 344, 262, 5411, 288, 7734, 327, 31, 5411, 289, 5411, 309, 12, 710, 2171, 480, 446, 13, 5411, 288, 7734, 368, 1814, 1608, 358, 741, 333, 3241, 981, 2171, 1410, 506, 279, 1867, 7734, 368, 464, 1976, 1106, 2886, 13041, 6967, 2887, 279, 342, 603, 326, 679, 7734, 368, 291, 279, 7334, 585, 7734, 309, 12, 401, 710, 2171, 18, 5839, 1190, 2932, 4898, 13, 262, 10792, 981, 2171, 273, 981, 2171, 397, 4016, 31, 7734, 775, 7734, 288, 10792, 981, 29064, 273, 394, 1976, 12, 981, 2171, 11272, 7734, 289, 1044, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1475, 46, 3033, 23696, 7805, 12, 514, 997, 2171, 16, 514, 981, 2171, 262, 565, 288, 3639, 2240, 12, 394, 1976, 63, 20, 65, 11272, 3639, 498, 273, 997, 2171, 397, 981, 2171, 31, 3639, 21997, 273, 394, 5589, 5621, 3639, 12740, 18, 4148, 12, 315, 11092, 20595, 598, 997, 2171, 273, 315, 397, 997, 2171, 397, 10792, 315, 471, 981, 2171, 273, 315, 397, 981, 2171, 11272, 3639, 775, 3639, 288, 5411, 368, 3645, 4199, 4121, 326, 2863, 981, 2171, 353, 30, 890, 6088, 5411, 368, 7, 21, 18, 981, 2171, 353, 4967, 1976, 17, 999, 716, 5411, 368, 7, 22, 18, 981, 2171, 353, 3632, 358, 997, 2171, 16, 752, 880, 628, 5348, 5411, 368, 2 ]
jjCheckNAddStates(19, 21);
jjCheckNAddStates(13, 15);
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 71; 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 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 4) kind = 4; jjCheckNAddStates(0, 8); } else if ((0x100003600L & l) != 0L) { if (kind > 1) kind = 1; } else if (curChar == 45) jjCheckNAddStates(9, 14); else if (curChar == 37) jjCheckNAddStates(15, 18); else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 26; else if (curChar == 36) { if (kind > 10) kind = 10; jjCheckNAdd(21); } else if (curChar == 40) jjCheckNAddStates(19, 21); else if (curChar == 46) jjCheckNAdd(6); if (curChar == 47) jjCheckNAddTwoStates(23, 24); else if (curChar == 48) jjstateSet[jjnewStateCnt++] = 2; break; case 1: if (curChar == 48) jjstateSet[jjnewStateCnt++] = 2; break; case 3: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(3, 4); break; case 5: if (curChar == 46) jjCheckNAdd(6); break; case 6: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(22, 24); break; case 8: if ((0x280000000000L & l) != 0L) jjCheckNAdd(9); break; case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(9, 10); break; case 11: if (curChar == 40) jjCheckNAddStates(19, 21); break; case 12: if ((0xfffffdffffffffffL & l) != 0L) jjCheckNAddStates(19, 21); break; case 14: if ((0x28000000400L & l) != 0L) jjCheckNAddStates(19, 21); break; case 15: if (curChar == 41 && kind > 9) kind = 9; break; case 16: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(25, 28); break; case 17: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(19, 21); break; case 18: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 19; break; case 19: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(17); break; case 20: if (curChar != 36) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 21: if ((0x3ff601000000000L & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 22: if (curChar == 47) jjCheckNAddTwoStates(23, 24); break; case 23: if (curChar == 46) jjCheckNAdd(24); break; case 24: if (curChar != 36) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 25: if ((0x3ff601000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 26: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 27; break; case 27: if (curChar != 36) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 28: if ((0x3ff601000000000L & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 29: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 26; break; case 30: if (curChar == 37) jjCheckNAddStates(15, 18); break; case 31: if ((0xfffffffffffffbffL & l) != 0L) jjCheckNAddTwoStates(31, 32); break; case 32: if (curChar == 10 && kind > 2) kind = 2; break; case 33: if ((0xffffffffffffdfffL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 13 && kind > 3) kind = 3; break; case 35: if (curChar == 45) jjCheckNAddStates(9, 14); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(36, 4); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if (curChar != 46) break; if (kind > 7) kind = 7; jjCheckNAddStates(29, 31); break; case 39: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(29, 31); break; case 41: if ((0x280000000000L & l) != 0L) jjCheckNAdd(42); break; case 42: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(42, 10); break; case 43: if (curChar == 46) jjCheckNAdd(44); break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(32, 34); break; case 46: if ((0x280000000000L & l) != 0L) jjCheckNAdd(47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(47, 10); break; case 48: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(48, 49); break; case 50: if ((0x280000000000L & l) != 0L) jjCheckNAdd(51); break; case 51: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(51, 10); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(35, 37); break; case 54: if ((0x280000000000L & l) != 0L) jjCheckNAdd(55); break; case 55: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(55, 10); break; case 56: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddStates(0, 8); break; case 57: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: if (curChar != 46) break; if (kind > 7) kind = 7; jjCheckNAddStates(38, 40); break; case 59: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(38, 40); break; case 61: if ((0x280000000000L & l) != 0L) jjCheckNAdd(62); break; case 62: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(62, 10); break; case 63: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x280000000000L & l) != 0L) jjCheckNAdd(66); break; case 66: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(66, 10); break; case 67: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(41, 43); break; case 69: if ((0x280000000000L & l) != 0L) jjCheckNAdd(70); break; case 70: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(70, 10); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 21: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 2: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(3); break; case 3: if ((0x7e0000007eL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(3, 4); break; case 4: if ((0x100000001000L & l) != 0L && kind > 4) kind = 4; break; case 7: if ((0x2000000020L & l) != 0L) jjAddStates(44, 45); break; case 10: if ((0x5000000050L & l) != 0L && kind > 7) kind = 7; break; case 12: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(19, 21); break; case 13: if (curChar == 92) jjAddStates(46, 48); break; case 14: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(19, 21); break; case 24: case 25: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 27: case 28: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 31: jjAddStates(49, 50); break; case 33: jjAddStates(51, 52); break; case 40: if ((0x2000000020L & l) != 0L) jjAddStates(53, 54); break; case 45: if ((0x2000000020L & l) != 0L) jjAddStates(55, 56); break; case 49: if ((0x2000000020L & l) != 0L) jjAddStates(57, 58); break; case 53: if ((0x2000000020L & l) != 0L) jjAddStates(59, 60); break; case 60: if ((0x2000000020L & l) != 0L) jjAddStates(61, 62); break; case 64: if ((0x2000000020L & l) != 0L) jjAddStates(63, 64); break; case 68: if ((0x2000000020L & l) != 0L) jjAddStates(65, 66); 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 0: case 21: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 12: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(19, 21); break; case 24: case 25: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 27: case 28: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 31: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(49, 50); break; case 33: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(51, 52); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 71 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/a70285238d45643e095fbf1c5a17749c92b693e7/PAParserTokenManager.java/buggy/src/com/lowagie/text/pdf/codec/postscript/PAParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 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, 26465, 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, 374, 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, 1059, 13, 13491, 3846, 273, 1059, 31, 5397, 10684, 1564, 50, 986, 7629, 12, 20, 16, 1725, 1769, 5375, 289, 5375, 469, 309, 14015, 20, 92, 23899, 5718, 713, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 404, 13, 13491, 3846, 273, 404, 31, 5375, 289, 5375, 469, 309, 261, 1397, 2156, 422, 12292, 13, 5397, 10684, 1564, 50, 986, 7629, 12, 29, 16, 5045, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 18091, 13, 5397, 10684, 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, 20, 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, 26465, 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 ]
match(input,22,FOLLOW_22_in_constraints1601); following.push(FOLLOW_opt_eol_in_constraints1603);
match(input,22,FOLLOW_22_in_constraints1646); following.push(FOLLOW_opt_eol_in_constraints1648);
public List constraints() throws RecognitionException { List constraints; constraints = new ArrayList(); try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:642:17: ( opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:642:17: opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol { following.push(FOLLOW_opt_eol_in_constraints1583); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:643:17: ( constraint[constraints] | predicate[constraints] ) int alt45=2; int LA45_0 = input.LA(1); if ( LA45_0==EOL||LA45_0==15 ) { alt45=1; } else if ( LA45_0==ID ) { int LA45_2 = input.LA(2); if ( LA45_2==30 ) { int LA45_3 = input.LA(3); if ( LA45_3==ID ) { int LA45_8 = input.LA(4); if ( LA45_8==50 ) { alt45=2; } else if ( LA45_8==EOL||LA45_8==15||(LA45_8>=22 && LA45_8<=23)||(LA45_8>=40 && LA45_8<=47) ) { alt45=1; } else { NoViableAltException nvae = new NoViableAltException("643:17: ( constraint[constraints] | predicate[constraints] )", 45, 8, input); throw nvae; } } else if ( LA45_3==EOL||LA45_3==15 ) { alt45=1; } else { NoViableAltException nvae = new NoViableAltException("643:17: ( constraint[constraints] | predicate[constraints] )", 45, 3, input); throw nvae; } } else if ( LA45_2==EOL||LA45_2==15||(LA45_2>=22 && LA45_2<=23)||(LA45_2>=40 && LA45_2<=47) ) { alt45=1; } else { NoViableAltException nvae = new NoViableAltException("643:17: ( constraint[constraints] | predicate[constraints] )", 45, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("643:17: ( constraint[constraints] | predicate[constraints] )", 45, 0, input); throw nvae; } switch (alt45) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:643:18: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1588); constraint(constraints); following.pop(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:643:42: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1591); predicate(constraints); following.pop(); } break; } // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:644:17: ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* loop47: do { int alt47=2; alt47 = dfa47.predict(input); switch (alt47) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:644:19: opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) { following.push(FOLLOW_opt_eol_in_constraints1599); opt_eol(); following.pop(); match(input,22,FOLLOW_22_in_constraints1601); following.push(FOLLOW_opt_eol_in_constraints1603); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:644:39: ( constraint[constraints] | predicate[constraints] ) int alt46=2; int LA46_0 = input.LA(1); if ( LA46_0==EOL||LA46_0==15 ) { alt46=1; } else if ( LA46_0==ID ) { int LA46_2 = input.LA(2); if ( LA46_2==30 ) { int LA46_3 = input.LA(3); if ( LA46_3==ID ) { int LA46_8 = input.LA(4); if ( LA46_8==50 ) { alt46=2; } else if ( LA46_8==EOL||LA46_8==15||(LA46_8>=22 && LA46_8<=23)||(LA46_8>=40 && LA46_8<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("644:39: ( constraint[constraints] | predicate[constraints] )", 46, 8, input); throw nvae; } } else if ( LA46_3==EOL||LA46_3==15 ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("644:39: ( constraint[constraints] | predicate[constraints] )", 46, 3, input); throw nvae; } } else if ( LA46_2==EOL||LA46_2==15||(LA46_2>=22 && LA46_2<=23)||(LA46_2>=40 && LA46_2<=47) ) { alt46=1; } else { NoViableAltException nvae = new NoViableAltException("644:39: ( constraint[constraints] | predicate[constraints] )", 46, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("644:39: ( constraint[constraints] | predicate[constraints] )", 46, 0, input); throw nvae; } switch (alt46) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:644:40: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1606); constraint(constraints); following.pop(); } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:644:64: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1609); predicate(constraints); following.pop(); } break; } } break; default : break loop47; } } while (true); following.push(FOLLOW_opt_eol_in_constraints1617); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return constraints; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/35c3932466a0269c296ae52afa8a1f8048a309d2/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 6237, 1435, 1216, 9539, 288, 6647, 987, 6237, 31, 540, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 1105, 22, 30, 4033, 30, 261, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 1105, 22, 30, 4033, 30, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 5411, 288, 5411, 3751, 18, 6206, 12, 29890, 67, 3838, 67, 30951, 67, 267, 67, 11967, 3600, 10261, 1769, 5411, 2153, 67, 30951, 5621, 5411, 3751, 18, 5120, 5621, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 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, 987, 6237, 1435, 1216, 9539, 288, 6647, 987, 6237, 31, 540, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 1105, 22, 30, 4033, 30, 261, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 2 ]
} else if (columnName.equals(JFritz.getMessage("date"))) {
} else if (columnName.equals("date")) {
public JFreeReport createReportDefinition() { report = new JFreeReport(); report.setName("JFritz-Anrufliste"); SimplePageDefinition pageDefinition = new SimplePageDefinition( createDINA4PaperLandscape()); report.setPageDefinition(pageDefinition); createColumnWidths(); report.setPageHeader(createPageHeader(report.getPageDefinition() .getWidth())); TextFieldElementFactory factory; final Image callInImage = Toolkit.getDefaultToolkit().getImage( getClass().getResource( "/de/moonflower/jfritz/resources/images/callin.png")); final Image callInFailedImage = Toolkit .getDefaultToolkit() .getImage( getClass() .getResource( "/de/moonflower/jfritz/resources/images/callinfailed.png")); final Image callOutImage = Toolkit.getDefaultToolkit().getImage( getClass().getResource( "/de/moonflower/jfritz/resources/images/callout.png")); // Set Font size to 8 Integer fontSize = new Integer(8); AbstractExpression exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object ob = getDataRow().get( jfritz.getCallerlist().getColumnName(0)); if (ob == null) return null; CallType callType = (CallType) ob; switch (callType.calltype) { case CallType.CALLIN: return callInImage; case CallType.CALLIN_FAILED: return callInFailedImage; case CallType.CALLOUT: return callOutImage; default: return null; } }; }; exp.setName("print_type"); report.addExpression(exp); exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object ob = getDataRow().get( jfritz.getCallerlist().getColumnName(1)); if (ob == null) { return ""; } return ob; } }; exp.setName("print_date"); report.addExpression(exp); exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object ob = getDataRow().get( jfritz.getCallerlist().getColumnName(2)); if (ob == null) { return ""; } return ob; } }; exp.setName("print_callbycall"); report.addExpression(exp); exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object number = getDataRow().get( jfritz.getCallerlist().getColumnName(3)); if (number == null) { return ""; } return number.toString(); }; }; exp.setName("print_number"); report.addExpression(exp); exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object person = getDataRow().get( jfritz.getCallerlist().getColumnName(4)); if (person == null) return ""; return ((Person) person).getFullname(); }; }; exp.setName("print_personname"); report.addExpression(exp); exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object obj = getDataRow().get( jfritz.getCallerlist().getColumnName(5)); if (obj == null) return ""; String port = (String) obj; String portStr = ""; if (port.equals("4")) portStr = "ISDN"; else if (port.equals("0")) portStr = "FON 1"; else if (port.equals("1")) portStr = "FON 2"; else if (port.equals("2")) portStr = "FON 3"; else if (port.equals("")) portStr = ""; else portStr = "Port " + port; return portStr; }; }; exp.setName("print_port"); report.addExpression(exp); exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object obj = getDataRow().get( jfritz.getCallerlist().getColumnName(6)); if (obj == null) return ""; String route = (String) obj; return route; }; }; exp.setName("print_route"); report.addExpression(exp); exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object obj = getDataRow().get( jfritz.getCallerlist().getColumnName(7)); if (obj == null) return ""; int duration = Integer.parseInt(obj.toString()); return Integer.toString(duration / 60) + " min"; }; }; exp.setName("print_duration"); report.addExpression(exp); exp = new AbstractExpression() { /** * */ private static final long serialVersionUID = 1L; public Object getValue() { Object obj = getDataRow().get( jfritz.getCallerlist().getColumnName(8)); if (obj == null) return ""; return obj.toString(); }; }; exp.setName("print_comment"); report.addExpression(exp); /** * // Drucke Kosten exp = new AbstractExpression() { public Object * getValue() { Object obj = getDataRow().get( * jfritz.getCallerlist().getColumnName(8)); if (obj == null) return * null; if (Double.parseDouble(obj.toString()) == -1) { return * "Unbekannt"; } else if (Double.parseDouble(obj.toString()) == -2) { * return "Freiminuten"; } else return obj.toString() + " ct"; }; }; * exp.setName("print_cost"); report.addExpression(exp); */ for (int i = 0; i < jfritz.getJframe().getCallerTable() .getColumnCount(); i++) { String columnName = jfritz.getJframe().getCallerTable() .getColumnModel().getColumn(i).getHeaderValue().toString(); if (columnName.equals(JFritz.getMessage("type"))) { ImageElement imageElement = ImageFieldElementFactory .createImageDataRowElement("Type-Element", new Rectangle2D.Float(columnStart[i] + 2, 2, 14, 14), "print_type", true, false); imageElement.setDynamicContent(false); report.getItemBand().addElement(imageElement); } else if (columnName.equals(JFritz.getMessage("date"))) { factory = new DateFieldElementFactory(); factory.setFontSize(fontSize); factory.setName(jfritz.getCallerlist().getColumnName(i)); factory .setAbsolutePosition(new Point2D.Float(columnStart[i], 2)); factory.setMinimumSize(new Dimension(columnWidth[i], 14)); factory.setMaximumSize(new Dimension(100, 14)); factory.setColor(Color.black); factory.setHorizontalAlignment(ElementAlignment.CENTER); factory.setVerticalAlignment(ElementAlignment.MIDDLE); factory.setNullString("-"); factory.setFieldname("print_date"); report.getItemBand().addElement(factory.createElement()); } else { factory = new TextFieldElementFactory(); factory.setFontSize(fontSize); factory.setName(jfritz.getCallerlist().getColumnName(i)); factory .setAbsolutePosition(new Point2D.Float(columnStart[i], 2)); factory.setMinimumSize(new Dimension(columnWidth[i], 14)); factory.setColor(Color.BLACK); factory.setHorizontalAlignment(ElementAlignment.CENTER); factory.setVerticalAlignment(ElementAlignment.MIDDLE); factory.setNullString(" "); if (columnName.equals("Call-By-Call")) { factory.setFieldname("print_callbycall"); } else if (columnName.equals(JFritz.getMessage("number"))) { factory.setFieldname("print_number"); } else if (columnName.equals(JFritz.getMessage("participant"))) { factory.setFieldname("print_personname"); } else if (columnName.equals(JFritz.getMessage("port"))) { factory.setFieldname("print_port"); } else if (columnName.equals(JFritz.getMessage("route"))) { factory.setFieldname("print_route"); } else if (columnName.equals(JFritz.getMessage("duration"))) { factory.setFieldname("print_duration"); } else if (columnName.equals("Kommentar")) { factory.setFieldname("print_comment"); } report.getItemBand().addElement(factory.createElement()); } // Rand zeichnen ShapeElement selement = StaticShapeElementFactory .createRectangleShapeElement("back", Color .decode("#000000"), new BasicStroke(0), new Rectangle2D.Float(columnStart[i], 0, columnWidth[i], 18), true, false); report.getItemBand().addElement(selement); } return report; }
7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/a57c435b09b751df035134b319edcf3a213f772a/PrintCallerList.java/buggy/jfritz/src/de/moonflower/jfritz/utils/PrintCallerList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 804, 9194, 4820, 752, 4820, 1852, 1435, 288, 3639, 2605, 273, 394, 804, 9194, 4820, 5621, 3639, 2605, 18, 542, 461, 2932, 46, 42, 583, 94, 17, 979, 86, 696, 1098, 73, 8863, 3639, 4477, 1964, 1852, 1363, 1852, 273, 394, 4477, 1964, 1852, 12, 7734, 752, 21329, 37, 24, 27339, 29398, 12476, 10663, 3639, 2605, 18, 542, 1964, 1852, 12, 2433, 1852, 1769, 3639, 752, 1494, 22407, 5621, 3639, 2605, 18, 542, 1964, 1864, 12, 2640, 1964, 1864, 12, 6006, 18, 588, 1964, 1852, 1435, 7734, 263, 588, 2384, 1435, 10019, 3639, 26866, 1046, 1733, 3272, 31, 3639, 727, 3421, 745, 382, 2040, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 2040, 12, 7734, 2900, 7675, 588, 1420, 12, 13491, 2206, 323, 19, 8683, 265, 2426, 264, 19, 78, 74, 583, 94, 19, 4683, 19, 7369, 19, 1991, 267, 18, 6446, 7923, 1769, 3639, 727, 3421, 745, 382, 2925, 2040, 273, 13288, 8691, 7734, 263, 588, 1868, 6364, 8691, 1435, 7734, 263, 588, 2040, 12, 13491, 2900, 1435, 27573, 263, 588, 1420, 12, 4766, 3639, 2206, 323, 19, 8683, 265, 2426, 264, 19, 78, 74, 583, 94, 19, 4683, 19, 7369, 19, 1991, 267, 7307, 18, 6446, 7923, 1769, 3639, 727, 3421, 745, 1182, 2040, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 2040, 12, 7734, 2900, 7675, 588, 1420, 12, 13491, 2206, 323, 19, 8683, 265, 2426, 264, 19, 78, 74, 583, 94, 19, 4683, 19, 7369, 19, 771, 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, 804, 9194, 4820, 752, 4820, 1852, 1435, 288, 3639, 2605, 273, 394, 804, 9194, 4820, 5621, 3639, 2605, 18, 542, 461, 2932, 46, 42, 583, 94, 17, 979, 86, 696, 1098, 73, 8863, 3639, 4477, 1964, 1852, 1363, 1852, 273, 394, 4477, 1964, 1852, 12, 7734, 752, 21329, 37, 24, 27339, 29398, 12476, 10663, 3639, 2605, 18, 542, 1964, 1852, 12, 2433, 1852, 1769, 3639, 752, 1494, 22407, 5621, 3639, 2605, 18, 542, 1964, 1864, 12, 2640, 1964, 1864, 12, 6006, 18, 588, 1964, 1852, 1435, 7734, 263, 588, 2384, 1435, 10019, 3639, 26866, 1046, 1733, 3272, 31, 3639, 727, 3421, 745, 382, 2040, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 2040, 12, 7734, 2 ]
center = container.get3DCenter();
center = GeometryTools.get3DCenter(container);
public AcceleratedRenderer3DModel(AtomContainer container) { Atom[] atoms = container.getAtoms(); Bond[] bonds = container.getBonds(); int i,j; Sphere sphere; TransformGroup transformgroup; for(i=0; i<atoms.length; i++) { //System.out.println("OZ["+i+"]="+atoms[i].getElement().getAtomicNumber()); sphere = getAtomObject(0.2, atomcolors[atoms[i].getAtomicNumber()]); atomObjects.addElement(sphere); transformgroup = new TransformGroup(getShiftTransformation(atoms[i].getPoint3d())); transformgroup.addChild(sphere); atomTransfroms.addElement(transformgroup); root.addChild(transformgroup); } Cylinder cylinder; try { double[][] cm = ConnectionMatrix.getMatrix(container); for(i=0; i<cm.length; i++) for(j=0; j<i; j++) if (cm[i][j]>0) { cylinder = getBondObject(0.05, /*Color.darkGray*/Color.gray); bondObjects.addElement(cylinder); transformgroup = new TransformGroup(getStrainTransformation( atoms[i].getPoint3d(), atoms[j].getPoint3d())); transformgroup.addChild(cylinder); atomTransfroms.addElement(transformgroup); root.addChild(transformgroup); } } catch (Exception e) { e.printStackTrace(); } center = container.get3DCenter(); center.negate(); setTransformation(center, 1, 0, 0); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/a711f314772068502a3ee14680a12c3c2be4a630/AcceleratedRenderer3DModel.java/clean/src/org/openscience/cdk/renderer/AcceleratedRenderer3DModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15980, 292, 19007, 6747, 23, 40, 1488, 12, 3641, 2170, 1478, 13, 202, 95, 202, 202, 3641, 8526, 9006, 273, 1478, 18, 588, 14280, 5621, 202, 202, 9807, 8526, 15692, 273, 1478, 18, 588, 26090, 5621, 202, 202, 474, 277, 16, 78, 31, 202, 202, 22747, 20041, 31, 202, 202, 4059, 1114, 2510, 1655, 31, 202, 202, 1884, 12, 77, 33, 20, 31, 277, 32, 14937, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 51, 62, 9614, 15, 77, 9078, 65, 1546, 15, 14937, 63, 77, 8009, 21336, 7675, 588, 23102, 1854, 10663, 1082, 202, 87, 9346, 273, 12358, 921, 12, 20, 18, 22, 16, 3179, 9724, 63, 14937, 63, 77, 8009, 588, 23102, 1854, 1435, 19226, 1082, 202, 7466, 4710, 18, 1289, 1046, 12, 87, 9346, 1769, 1082, 202, 6547, 1655, 273, 394, 11514, 1114, 12, 588, 10544, 15292, 12, 14937, 63, 77, 8009, 588, 2148, 23, 72, 1435, 10019, 1082, 202, 6547, 1655, 18, 1289, 1763, 12, 87, 9346, 1769, 1082, 202, 7466, 1429, 2080, 87, 18, 1289, 1046, 12, 6547, 1655, 1769, 1082, 202, 3085, 18, 1289, 1763, 12, 6547, 1655, 1769, 202, 202, 97, 202, 202, 17992, 80, 14055, 27331, 14055, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 9056, 63, 6362, 65, 5003, 273, 4050, 4635, 18, 588, 4635, 12, 3782, 1769, 1082, 202, 1884, 12, 77, 33, 20, 31, 277, 32, 7670, 18, 2469, 31, 277, 27245, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 15980, 292, 19007, 6747, 23, 40, 1488, 12, 3641, 2170, 1478, 13, 202, 95, 202, 202, 3641, 8526, 9006, 273, 1478, 18, 588, 14280, 5621, 202, 202, 9807, 8526, 15692, 273, 1478, 18, 588, 26090, 5621, 202, 202, 474, 277, 16, 78, 31, 202, 202, 22747, 20041, 31, 202, 202, 4059, 1114, 2510, 1655, 31, 202, 202, 1884, 12, 77, 33, 20, 31, 277, 32, 14937, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 51, 62, 9614, 15, 77, 9078, 65, 1546, 15, 14937, 63, 77, 8009, 21336, 7675, 588, 23102, 1854, 10663, 1082, 202, 87, 9346, 273, 12358, 921, 12, 20, 18, 22, 16, 3179, 9724, 2 ]
return "TestComponent";
return this;
public Object getComponent() { return "TestComponent"; }
14435 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14435/c2432c3302c233055c571ee23e97f59d68b5c02c/TestTag.java/clean/plexus-marmalade-factory/src/test/java/org/codehaus/plexus/component/factory/marmalade/TestTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 10322, 1435, 288, 3639, 327, 333, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 10322, 1435, 288, 3639, 327, 333, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void run() { _recentDocFrame.pokeDocument(active); _switchDefScrollPane(); boolean isModified = active.isModifiedSinceSave(); boolean canCompile = (!isModified && !active.isUntitled()); _saveAction.setEnabled(!canCompile); _revertAction.setEnabled(!active.isUntitled()); int pos = _currentDefPane.getCaretPosition(); _currentDefPane.getErrorCaretListener().updateHighlight(pos); _setCurrentDirectory(active); updateFileTitle(); _currentDefPane.requestFocusInWindow(); _posListener.updateLocation(); if (isModified) _model.getDocumentNavigator().repaint(); try { active.revertIfModifiedOnDisk(); } catch (FileMovedException fme) { _showFileMovedError(fme); } catch (IOException e) { _showIOError(e); } if (_findReplace.isDisplayed()) { _findReplace.stopListening(); _findReplace.beginListeningTo(_currentDefPane); }
public void run() { _currentDefPane.getUndoAction().updateUndoState(); _currentDefPane.getRedoAction().updateRedoState();
public void run() { _recentDocFrame.pokeDocument(active); _switchDefScrollPane(); boolean isModified = active.isModifiedSinceSave(); boolean canCompile = (!isModified && !active.isUntitled()); _saveAction.setEnabled(!canCompile); _revertAction.setEnabled(!active.isUntitled()); // Update error highlights int pos = _currentDefPane.getCaretPosition(); _currentDefPane.getErrorCaretListener().updateHighlight(pos); // Update FileChoosers' directory _setCurrentDirectory(active); // Update title and position updateFileTitle(); _currentDefPane.requestFocusInWindow(); _posListener.updateLocation(); // update display (adding "*") in navigatgorPane if (isModified) _model.getDocumentNavigator().repaint(); try { active.revertIfModifiedOnDisk(); } catch (FileMovedException fme) { _showFileMovedError(fme); } catch (IOException e) { _showIOError(e); } // Change Find/Replace to the new defpane if (_findReplace.isDisplayed()) { _findReplace.stopListening(); _findReplace.beginListeningTo(_currentDefPane); //uninstallFindReplaceDialog(_findReplace); //installFindReplaceDialog(_findReplace); } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/5096aaab648cea3686054749f4edbb0813185db1/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 389, 20872, 1759, 3219, 18, 84, 3056, 2519, 12, 3535, 1769, 1850, 389, 9610, 3262, 26360, 5621, 10792, 1250, 22502, 273, 2695, 18, 291, 29943, 4755, 5621, 1850, 1250, 848, 9937, 273, 16051, 291, 4575, 597, 401, 3535, 18, 291, 57, 496, 305, 1259, 10663, 1850, 389, 5688, 1803, 18, 542, 1526, 12, 5, 4169, 9937, 1769, 1850, 389, 266, 1097, 1803, 18, 542, 1526, 12, 5, 3535, 18, 291, 57, 496, 305, 1259, 10663, 10792, 368, 2315, 555, 8839, 87, 1850, 509, 949, 273, 389, 2972, 3262, 8485, 18, 588, 39, 20731, 2555, 5621, 1850, 389, 2972, 3262, 8485, 18, 588, 668, 39, 20731, 2223, 7675, 2725, 16205, 12, 917, 1769, 10792, 368, 2315, 1387, 9636, 538, 414, 11, 1867, 1850, 389, 542, 3935, 2853, 12, 3535, 1769, 10792, 368, 2315, 2077, 471, 1754, 1850, 1089, 812, 4247, 5621, 1850, 389, 2972, 3262, 8485, 18, 2293, 9233, 382, 3829, 5621, 1850, 389, 917, 2223, 18, 2725, 2735, 5621, 10792, 368, 1089, 2562, 261, 3439, 10971, 13, 316, 290, 4911, 270, 3022, 8485, 1850, 309, 261, 291, 4575, 13, 389, 2284, 18, 588, 2519, 22817, 7675, 14462, 1598, 5621, 10792, 775, 288, 2695, 18, 266, 1097, 2047, 4575, 31663, 5621, 289, 1850, 1044, 261, 812, 25317, 503, 284, 3501, 13, 288, 389, 4500, 812, 25317, 668, 12, 74, 3501, 1769, 289, 1850, 1044, 261, 14106, 425, 13, 288, 389, 4500, 4294, 668, 12, 73, 1769, 289, 10792, 368, 7576, 4163, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 389, 20872, 1759, 3219, 18, 84, 3056, 2519, 12, 3535, 1769, 1850, 389, 9610, 3262, 26360, 5621, 10792, 1250, 22502, 273, 2695, 18, 291, 29943, 4755, 5621, 1850, 1250, 848, 9937, 273, 16051, 291, 4575, 597, 401, 3535, 18, 291, 57, 496, 305, 1259, 10663, 1850, 389, 5688, 1803, 18, 542, 1526, 12, 5, 4169, 9937, 1769, 1850, 389, 266, 1097, 1803, 18, 542, 1526, 12, 5, 3535, 18, 291, 57, 496, 305, 1259, 10663, 10792, 368, 2315, 555, 8839, 87, 1850, 509, 949, 273, 389, 2972, 3262, 8485, 18, 588, 39, 20731, 2555, 5621, 1850, 389, 2972, 3262, 8485, 18, 588, 668, 39, 20731, 2223, 7675, 2725, 16205, 12, 917, 1769, 2 ]
style.setPageBreakAfter( IStyle.CSS_AUTO_VALUE );
protected boolean needPageBreakAfter( ) { if ( content == null ) { return false; } IStyle style = content.getStyle( ); String pageBreak = style.getPageBreakAfter( ); if ( IStyle.CSS_ALWAYS_VALUE == pageBreak || IStyle.CSS_LEFT_VALUE == pageBreak || IStyle.CSS_RIGHT_VALUE == pageBreak ) { style.setPageBreakAfter( IStyle.CSS_AUTO_VALUE ); return true; } return false; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/225ed5b0ac2a75f3f67edcc9e392b2a3dd935fb5/PDFAbstractLM.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFAbstractLM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1608, 1964, 7634, 4436, 12, 262, 202, 95, 202, 202, 430, 261, 913, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 45, 2885, 2154, 273, 913, 18, 588, 2885, 12, 11272, 202, 202, 780, 1363, 7634, 273, 2154, 18, 588, 1964, 7634, 4436, 12, 11272, 202, 202, 430, 261, 467, 2885, 18, 10276, 67, 1013, 29295, 67, 4051, 422, 1363, 7634, 9506, 202, 20081, 467, 2885, 18, 10276, 67, 10066, 67, 4051, 422, 1363, 7634, 9506, 202, 20081, 467, 2885, 18, 10276, 67, 11847, 67, 4051, 422, 1363, 7634, 262, 202, 202, 95, 1082, 202, 4060, 18, 542, 1964, 7634, 4436, 12, 467, 2885, 18, 10276, 67, 18909, 67, 4051, 11272, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1608, 1964, 7634, 4436, 12, 262, 202, 95, 202, 202, 430, 261, 913, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 45, 2885, 2154, 273, 913, 18, 588, 2885, 12, 11272, 202, 202, 780, 1363, 7634, 273, 2154, 18, 588, 1964, 7634, 4436, 12, 11272, 202, 202, 430, 261, 467, 2885, 18, 10276, 67, 1013, 29295, 67, 4051, 422, 1363, 7634, 9506, 202, 20081, 467, 2885, 18, 10276, 67, 10066, 67, 4051, 422, 1363, 7634, 9506, 202, 20081, 467, 2885, 18, 10276, 67, 11847, 67, 4051, 422, 1363, 7634, 262, 202, 202, 95, 1082, 202, 4060, 18, 542, 1964, 7634, 4436, 12, 467, 2885, 18, 10276, 67, 2 ]
x0 = x;
if (edge.y1 > y) { previous = edge;
protected void rawFillShape(ArrayList segs, double minX, double minY, double maxX, double maxY) { // This is an implementation of a polygon scanline conversion algorithm // described here: // http://www.cs.berkeley.edu/~ug/slide/pipeline/assignments/scan/ // Create table of all edges. // The edge buckets, sorted and indexed by their Y values. ArrayList[] edgeTable = new ArrayList[(int) Math.ceil(maxY) - (int) Math.ceil(minY) + 1]; for (Iterator i = segs.iterator(); i.hasNext();) { PolyEdge edge = (PolyEdge) i.next(); // Horizontal edges are not needed and make things only more // complicated. Skip them. if (Math.ceil(edge.y0) == Math.ceil(edge.y1)) continue; int yindex = (int) ((int) Math.ceil(edge.y0) - (int) Math.ceil(minY)); if (edgeTable[yindex] == null) // Create bucket when needed. edgeTable[yindex] = new ArrayList(); edgeTable[yindex].add(edge); // Add edge to the bucket of its line. } // TODO: The following could be useful for a future optimization.// // Sort all the edges in the edge table within their buckets.// for (int y = 0; y < edgeTable.length; y++)// {// if (edgeTable[y] != null)// Collections.sort(edgeTable[y]);// } // The activeEdges list contains all the edges of the current scanline // ordered by their intersection points with this scanline. ArrayList activeEdges = new ArrayList(); PolyEdgeComparator comparator = new PolyEdgeComparator(); // Scan all relevant lines. int minYInt = (int) Math.ceil(minY); for (int y = minYInt; y <= maxY; y++) { ArrayList bucket = edgeTable[y - minYInt]; // Update all the x intersections in the current activeEdges table // and remove entries that are no longer in the scanline. for (Iterator i = activeEdges.iterator(); i.hasNext();) { PolyEdge edge = (PolyEdge) i.next(); if (y >= edge.y0 && y >= edge.y1) i.remove(); else { edge.xIntersection += edge.slope; //edge.xIntersection = edge.x0 + edge.slope * (y - edge.y0); //System.err.println("edge.xIntersection: " + edge.xIntersection); } } if (bucket != null) activeEdges.addAll(bucket); // Sort current edges. We are using a bubble sort, because the order // of the intersections will not change in most situations. They // will only change, when edges intersect each other. int size = activeEdges.size(); if (size > 1) { for (int i = 1; i < size; i++) { PolyEdge e1 = (PolyEdge) activeEdges.get(i - 1); PolyEdge e2 = (PolyEdge) activeEdges.get(i); if (comparator.compare(e1, e2) > 0) { // Swap e2 with its left neighbor until it 'fits'. int j = i; do { activeEdges.set(j, e1); activeEdges.set(j - 1, e2); j--; if (j >= 1) e1 = (PolyEdge) activeEdges.get(j - 1); } while (j >= 1 && comparator.compare(e1, e2) > 0); } } } // Now draw all pixels inside the polygon. int x0 = 0; // Gets initialized in the first else branch below. boolean active = false; //System.err.println("scanline: " + y); for (Iterator i = activeEdges.iterator(); i.hasNext();) { PolyEdge edge = (PolyEdge) i.next(); //System.err.println("edge: " + edge); int x = (int) edge.xIntersection; if (active) { fillScanline(x0, x, y); active = false; } else { x0 = x; active = true; } } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/abad947539d38da7392ff914207d1bb7d5538320/AbstractGraphics2D.java/buggy/core/src/classpath/gnu/gnu/java/awt/java2d/AbstractGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1831, 8026, 8500, 12, 19558, 23114, 16, 1645, 21586, 16, 1645, 21355, 16, 17311, 1645, 21482, 16, 1645, 21509, 13, 225, 288, 565, 368, 1220, 353, 392, 4471, 434, 279, 7154, 4135, 1369, 4105, 4886, 565, 368, 11893, 2674, 30, 565, 368, 1062, 2207, 5591, 18, 2143, 18, 744, 79, 292, 402, 18, 28049, 19, 98, 637, 19, 26371, 19, 14511, 19, 24326, 19, 9871, 19, 565, 368, 1788, 1014, 434, 777, 5231, 18, 565, 368, 1021, 3591, 9169, 16, 3115, 471, 8808, 635, 3675, 1624, 924, 18, 565, 2407, 8526, 3591, 1388, 273, 394, 2407, 63, 12, 474, 13, 2361, 18, 311, 330, 12, 1896, 61, 13, 4766, 1850, 300, 261, 474, 13, 2361, 18, 311, 330, 12, 1154, 61, 13, 397, 404, 15533, 565, 364, 261, 3198, 277, 273, 23114, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 1377, 288, 3639, 18394, 6098, 3591, 273, 261, 12487, 6098, 13, 277, 18, 4285, 5621, 3639, 368, 21190, 5231, 854, 486, 3577, 471, 1221, 9198, 1338, 1898, 3639, 368, 31312, 18, 6611, 2182, 18, 3639, 309, 261, 10477, 18, 311, 330, 12, 7126, 18, 93, 20, 13, 422, 2361, 18, 311, 330, 12, 7126, 18, 93, 21, 3719, 1850, 1324, 31, 3639, 509, 677, 1615, 273, 261, 474, 13, 14015, 474, 13, 2361, 18, 311, 330, 12, 7126, 18, 93, 20, 13, 300, 261, 474, 13, 2361, 18, 311, 330, 12, 1154, 61, 10019, 3639, 309, 261, 7126, 1388, 63, 93, 1615, 65, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1831, 8026, 8500, 12, 19558, 23114, 16, 1645, 21586, 16, 1645, 21355, 16, 17311, 1645, 21482, 16, 1645, 21509, 13, 225, 288, 565, 368, 1220, 353, 392, 4471, 434, 279, 7154, 4135, 1369, 4105, 4886, 565, 368, 11893, 2674, 30, 565, 368, 1062, 2207, 5591, 18, 2143, 18, 744, 79, 292, 402, 18, 28049, 19, 98, 637, 19, 26371, 19, 14511, 19, 24326, 19, 9871, 19, 565, 368, 1788, 1014, 434, 777, 5231, 18, 565, 368, 1021, 3591, 9169, 16, 3115, 471, 8808, 635, 3675, 1624, 924, 18, 565, 2407, 8526, 3591, 1388, 273, 394, 2407, 63, 12, 474, 13, 2361, 18, 311, 330, 12, 1896, 61, 13, 4766, 1850, 300, 261, 474, 13, 2361, 18, 2 ]
PlatformUI.getWorkbench().getActivitySupport().getActivityManager() .removeActivityManagerListener(this);
unhookListeners();
public void dispose() { PluginAction pluginAction = (PluginAction) getAction(); if (pluginAction != null) { pluginAction.disposeDelegate(); } PlatformUI.getWorkbench().getActivitySupport().getActivityManager() .removeActivityManagerListener(this); disposeIdentifier(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/44393a7a2ae58002bdb75e357e0ab70250356f3d/PluginActionContributionItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PluginActionContributionItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 6258, 1803, 1909, 1803, 273, 261, 3773, 1803, 13, 12473, 5621, 3639, 309, 261, 4094, 1803, 480, 446, 13, 288, 5411, 1909, 1803, 18, 2251, 4150, 9586, 5621, 3639, 289, 3639, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 6193, 6289, 7675, 588, 6193, 1318, 1435, 7734, 263, 4479, 6193, 1318, 2223, 12, 2211, 1769, 3639, 15825, 3004, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 6258, 1803, 1909, 1803, 273, 261, 3773, 1803, 13, 12473, 5621, 3639, 309, 261, 4094, 1803, 480, 446, 13, 288, 5411, 1909, 1803, 18, 2251, 4150, 9586, 5621, 3639, 289, 3639, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 6193, 6289, 7675, 588, 6193, 1318, 1435, 7734, 263, 4479, 6193, 1318, 2223, 12, 2211, 1769, 3639, 15825, 3004, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEquals("trunk/src/File.java", command.getPath());
assertEquals("trunk/src/File.java", command.getCompletePath());
public void testGetCompletePath() { SVNBaseCommand command = new SVNBaseCommand(); command.setPath("trunk/src/File.java"); assertEquals("trunk/src/File.java", command.getPath()); }
50734 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50734/8b1cb4fca667e0f6a8d0723f39174a89b790cc6b/SVNBaseCommandTest.java/clean/dev/java/testsrc/de/berlios/sventon/ctrl/SVNBaseCommandTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 967, 6322, 743, 1435, 288, 565, 29537, 50, 2171, 2189, 1296, 273, 394, 29537, 50, 2171, 2189, 5621, 565, 1296, 18, 542, 743, 2932, 26133, 19, 4816, 19, 812, 18, 6290, 8863, 565, 1815, 8867, 2932, 26133, 19, 4816, 19, 812, 18, 6290, 3113, 1296, 18, 588, 6322, 743, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 967, 6322, 743, 1435, 288, 565, 29537, 50, 2171, 2189, 1296, 273, 394, 29537, 50, 2171, 2189, 5621, 565, 1296, 18, 542, 743, 2932, 26133, 19, 4816, 19, 812, 18, 6290, 8863, 565, 1815, 8867, 2932, 26133, 19, 4816, 19, 812, 18, 6290, 3113, 1296, 18, 588, 6322, 743, 10663, 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 ]
region = new Composite(parent, SWT.NONE);
region = new Composite(parent, SWT.NONE) { /* * (non-Javadoc) * * @see org.eclipse.swt.widgets.Composite#computeSize(int, int, * boolean) */ public Point computeSize(int wHint, int hHint, boolean changed) { Point size = super.computeSize(wHint, hHint, changed); size.y = TrimUtil.TRIM_DEFAULT_HEIGHT; return size; } };
public Control createContents(Composite parent, WorkbenchWindow window) { workbenchWindow = window; region = new Composite(parent, SWT.NONE); GridLayout gl = new GridLayout(); gl.marginHeight = 0; gl.marginWidth = 0; gl.numColumns = 3; region.setLayout(gl); viewer = new ProgressCanvasViewer(region, SWT.NO_FOCUS, 1, 36); viewer.setUseHashlookup(true); Control viewerControl = viewer.getControl(); GridData gd = new GridData(GridData.FILL_BOTH); gd.widthHint = viewer.getSizeHints().x; viewerControl.setLayoutData(gd); int widthPreference = AnimationManager.getInstance() .getPreferredWidth() + 25; item = new ProgressAnimationItem(this); item.createControl(region); item.setAnimationContainer(new AnimationItem.IAnimationContainer() { /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.AnimationItem.IAnimationContainer#animationDone() */ public void animationDone() { //Add an extra refresh to the viewer in case //of stale input if the controls are not disposed if (viewer.getControl().isDisposed()) { return; } viewer.refresh(); } /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.AnimationItem.IAnimationContainer#animationStart() */ public void animationStart() { // Nothing by default here. } }); Control itemControl = item.getControl(); gd = new GridData(GridData.FILL_VERTICAL); gd.widthHint = widthPreference; itemControl.setLayoutData(gd); viewerControl.addMouseListener(new MouseAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseAdapter#mouseDoubleClick(org.eclipse.swt.events.MouseEvent) */ public void mouseDoubleClick(MouseEvent e) { processDoubleClick(); } }); //Never show debug info IContentProvider provider = new ProgressViewerContentProvider(viewer, false,false); viewer.setContentProvider(provider); viewer.setInput(provider); viewer.setLabelProvider(new ProgressViewerLabelProvider(viewerControl)); viewer.setSorter(ProgressManagerUtil.getProgressViewerSorter()); return region; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/be13d383ecbd3c2af345454ca21d172771a9fa1f/ProgressRegion.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressRegion.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8888, 752, 6323, 12, 9400, 982, 16, 4147, 22144, 3829, 2742, 13, 288, 3639, 1440, 22144, 3829, 273, 2742, 31, 3639, 3020, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 13, 288, 1748, 380, 261, 5836, 17, 24060, 13, 380, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 18148, 18, 9400, 7, 9200, 1225, 12, 474, 16, 509, 16, 380, 1377, 1250, 13, 1195, 1071, 4686, 3671, 1225, 12, 474, 341, 7002, 16, 509, 366, 7002, 16, 1250, 3550, 13, 288, 4686, 963, 273, 2240, 18, 9200, 1225, 12, 91, 7002, 16, 366, 7002, 16, 3550, 1769, 963, 18, 93, 273, 7105, 1304, 18, 6566, 49, 67, 5280, 67, 14595, 31, 327, 963, 31, 289, 289, 31, 540, 7145, 3744, 5118, 273, 394, 7145, 3744, 5621, 3639, 5118, 18, 10107, 2686, 273, 374, 31, 3639, 5118, 18, 10107, 2384, 273, 374, 31, 3639, 5118, 18, 2107, 3380, 273, 890, 31, 3639, 3020, 18, 542, 3744, 12, 7043, 1769, 3639, 14157, 273, 394, 10980, 12971, 18415, 12, 6858, 16, 348, 8588, 18, 3417, 67, 3313, 39, 3378, 16, 404, 16, 6580, 1769, 3639, 14157, 18, 542, 3727, 2310, 8664, 12, 3767, 1769, 3639, 8888, 14157, 3367, 273, 14157, 18, 588, 3367, 5621, 3639, 7145, 751, 15551, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 15551, 18, 2819, 7002, 273, 14157, 18, 588, 1225, 13368, 7675, 92, 31, 3639, 14157, 3367, 18, 542, 3744, 751, 12, 19016, 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, 8888, 752, 6323, 12, 9400, 982, 16, 4147, 22144, 3829, 2742, 13, 288, 3639, 1440, 22144, 3829, 273, 2742, 31, 3639, 3020, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 13, 288, 1748, 380, 261, 5836, 17, 24060, 13, 380, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 18148, 18, 9400, 7, 9200, 1225, 12, 474, 16, 509, 16, 380, 1377, 1250, 13, 1195, 1071, 4686, 3671, 1225, 12, 474, 341, 7002, 16, 509, 366, 7002, 16, 1250, 3550, 13, 288, 4686, 963, 273, 2240, 18, 9200, 1225, 12, 91, 7002, 16, 366, 7002, 16, 3550, 1769, 963, 18, 93, 273, 7105, 1304, 18, 6566, 49, 67, 5280, 67, 14595, 31, 327, 963, 2 ]
public void updateDefaults(String startingUrl) throws UnsupportedEncodingException{
public void updateDefaults(String startingUrl, String maxHits) throws UnsupportedEncodingException{
public void updateDefaults(String startingUrl) throws UnsupportedEncodingException{// String serverName = startingUrl.substring(0, startingUrl.indexOf("?")); startingUrl = startingUrl.substring(startingUrl.indexOf("?") + 1); String[] options = startingUrl.split("&"); for(String option: options){ String key = option.substring(0, option.indexOf("=")); String value = URLDecoder.decode(option.substring(option.indexOf("=") + 1), "UTF-8"); if (key == null) continue; if (key.equals("short_desc")) { summaryPattern.setText(value); } else if(key.equals("short_desc_type")){ if(value.equals("allwordssubstr")) value = "all words"; else if(value.equals("anywordssubstr")) value = "any word"; int index = 0; for(String item: summaryOperation.getItems()){ if(item.compareTo(value) == 0) break; index++; } if(index < summaryOperation.getItemCount()){ summaryOperation.select(index); } } else if(key.equals("product")){ String [] sel = product.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; product.setSelection(selList.toArray(sel)); } else if(key.equals("component")){ String [] sel = component.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; component.setSelection(selList.toArray(sel)); } else if(key.equals("version")){ String [] sel = version.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; version.setSelection(selList.toArray(sel)); } else if(key.equals("target_milestone")){ //XXX String [] sel = target.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; target.setSelection(selList.toArray(sel)); } else if(key.equals("version")){ String [] sel = version.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; version.setSelection(selList.toArray(sel)); } else if(key.equals("long_desc_type")){ if(value.equals("allwordssubstr")) value = "all words"; else if(value.equals("anywordssubstr")) value = "any word"; int index = 0; for(String item: commentOperation.getItems()){ if(item.compareTo(value) == 0) break; index++; } if(index < commentOperation.getItemCount()){ commentOperation.select(index); } } else if(key.equals("long_desc")){ commentPattern.setText(value); } else if(key.equals("bug_status")){ String [] sel = status.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; status.setSelection(selList.toArray(sel)); } else if(key.equals("resolution")){ String [] sel = resolution.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; resolution.setSelection(selList.toArray(sel)); } else if(key.equals("bug_severity")){ String [] sel = severity.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; severity.setSelection(selList.toArray(sel)); } else if(key.equals("priority")){ String [] sel = priority.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; priority.setSelection(selList.toArray(sel)); } else if(key.equals("ref_platform")){ String [] sel = hardware.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; hardware.setSelection(selList.toArray(sel)); } else if(key.equals("op_sys")){ String [] sel = os.getSelection(); List<String> selList = Arrays.asList(sel); selList = new ArrayList<String>(selList); selList.add(value); sel = new String[selList.size()]; os.setSelection(selList.toArray(sel)); } else if(key.equals("emailassigned_to1")){ // HACK: email buttons assumed to be in same position if(value.equals("1")) emailButton[0].setSelection(true); else emailButton[0].setSelection(false); } else if(key.equals("emailreporter1")){ // HACK: email buttons assumed to be in same position if(value.equals("1")) emailButton[1].setSelection(true); else emailButton[1].setSelection(false); } else if(key.equals("emailcc1") ){ // HACK: email buttons assumed to be in same position if(value.equals("1")) emailButton[2].setSelection(true); else emailButton[2].setSelection(false); } else if(key.equals("emaillongdesc1")){ // HACK: email buttons assumed to be in same position if(value.equals("1")) emailButton[3].setSelection(true); else emailButton[3].setSelection(false); } else if(key.equals("emailtype1")){ int index = 0; for(String item: emailOperation.getItems()){ if(item.compareTo(value) == 0) break; index++; } if(index < emailOperation.getItemCount()){ emailOperation.select(index); } } else if(key.equals("email1")){ emailPattern.setText(value); } else if(key.equals("changedin")){ daysText.setText(value); } } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/c86b4b86e3124c91e13224b1b0cf8a7c53014ad6/BugzillaQueryDialog.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaQueryDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1089, 7019, 12, 780, 5023, 1489, 13, 1216, 15367, 95, 759, 1082, 202, 780, 10926, 273, 5023, 1489, 18, 28023, 12, 20, 16, 5023, 1489, 18, 31806, 2932, 7225, 10019, 1082, 202, 18526, 1489, 273, 5023, 1489, 18, 28023, 12, 18526, 1489, 18, 31806, 2932, 7225, 13, 397, 404, 1769, 1082, 202, 780, 8526, 702, 273, 5023, 1489, 18, 4939, 2932, 10, 8863, 1082, 202, 1884, 12, 780, 1456, 30, 702, 15329, 9506, 202, 780, 498, 273, 1456, 18, 28023, 12, 20, 16, 1456, 18, 31806, 2932, 1546, 10019, 9506, 202, 780, 460, 273, 1976, 7975, 18, 3922, 12, 3482, 18, 28023, 12, 3482, 18, 31806, 2932, 1546, 13, 397, 404, 3631, 315, 5159, 17, 28, 8863, 9506, 202, 430, 261, 856, 422, 446, 13, 6862, 202, 17143, 31, 6862, 9506, 202, 430, 261, 856, 18, 14963, 2932, 6620, 67, 5569, 6, 3719, 288, 6862, 202, 7687, 3234, 18, 542, 1528, 12, 1132, 1769, 9506, 202, 97, 469, 309, 12, 856, 18, 14963, 2932, 6620, 67, 5569, 67, 723, 6, 3719, 95, 6862, 202, 430, 12, 1132, 18, 14963, 2932, 454, 1095, 1049, 373, 701, 6, 3719, 25083, 202, 1132, 273, 315, 454, 4511, 14432, 6862, 202, 12107, 309, 12, 1132, 18, 14963, 2932, 2273, 1095, 1049, 373, 701, 6, 3719, 25083, 202, 1132, 273, 315, 2273, 2076, 14432, 6862, 202, 474, 770, 273, 374, 31, 6862, 202, 1884, 12, 780, 761, 30, 4916, 2988, 18, 588, 3126, 10756, 95, 25083, 202, 430, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1089, 7019, 12, 780, 5023, 1489, 13, 1216, 15367, 95, 759, 1082, 202, 780, 10926, 273, 5023, 1489, 18, 28023, 12, 20, 16, 5023, 1489, 18, 31806, 2932, 7225, 10019, 1082, 202, 18526, 1489, 273, 5023, 1489, 18, 28023, 12, 18526, 1489, 18, 31806, 2932, 7225, 13, 397, 404, 1769, 1082, 202, 780, 8526, 702, 273, 5023, 1489, 18, 4939, 2932, 10, 8863, 1082, 202, 1884, 12, 780, 1456, 30, 702, 15329, 9506, 202, 780, 498, 273, 1456, 18, 28023, 12, 20, 16, 1456, 18, 31806, 2932, 1546, 10019, 9506, 202, 780, 460, 273, 1976, 7975, 18, 3922, 12, 3482, 18, 28023, 12, 3482, 18, 31806, 2932, 1546, 13, 397, 404, 3631, 315, 5159, 17, 2 ]
for (int i = 0;i < args.length;i++)
stream.SendInteger(args.length,2); for (int i = 0; i < args.length; i++)
private Object fastpathV3(int fnid, boolean resulttype, FastpathArg[] args) throws SQLException { // added Oct 7 1998 to give us thread safety synchronized (stream) { // send the function call try { int l_msgLen = 0; l_msgLen += 16; for (int i=0;i < args.length;i++) l_msgLen += args[i].sendSize(); stream.SendChar('F'); stream.SendInteger(l_msgLen,4); stream.SendInteger(fnid, 4); stream.SendInteger(1,2); stream.SendInteger(1,2); stream.SendInteger(args.length,2); for (int i = 0;i < args.length;i++) args[i].send(stream); stream.SendInteger(1,2); // This is needed, otherwise data can be lost stream.flush(); } catch (IOException ioe) { throw new PSQLException("postgresql.fp.send", PSQLState.COMMUNICATION_ERROR, new Integer(fnid), ioe); } // Now handle the result // Now loop, reading the results Object result = null; // our result PSQLException error = null; int c; boolean l_endQuery = false; while (!l_endQuery) { c = stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify int pid = stream.ReceiveInteger(4); String msg = stream.ReceiveString(conn.getEncoding()); conn.addNotification(new org.postgresql.core.Notification(msg, pid)); break; //------------------------------ // Error message returned case 'E': int l_elen = stream.ReceiveIntegerR(4); String totalMessage = conn.getEncoding().decode(stream.Receive(l_elen-4)); PSQLException l_error = PSQLException.parseServerError(totalMessage); if (error != null) { error.setNextException(l_error); } else { error = l_error; } break; //------------------------------ // Notice from backend case 'N': int l_nlen = stream.ReceiveIntegerR(4); conn.addWarning(conn.getEncoding().decode(stream.Receive(l_nlen-4))); break; case 'V': int l_msgLen = stream.ReceiveIntegerR(4); int l_valueLen = stream.ReceiveIntegerR(4); if (l_valueLen == -1) { //null value } else if (l_valueLen == 0) { result = new byte[0]; } else { // Return an Integer if if (resulttype) result = new Integer(stream.ReceiveIntegerR(l_valueLen)); else { byte buf[] = new byte[l_valueLen]; stream.Receive(buf, 0, l_valueLen); result = buf; } } break; case 'Z': //TODO: use size better if (stream.ReceiveIntegerR(4) != 5) throw new PSQLException("postgresql.con.setup", PSQLState.CONNECTION_UNABLE_TO_CONNECT); //TODO: handle transaction status char l_tStatus = (char)stream.ReceiveChar(); l_endQuery = true; break; default: throw new PSQLException("postgresql.fp.protocol", PSQLState.COMMUNICATION_ERROR, new Character((char)c)); } } if ( error != null ) throw error; return result; } }
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/e4955c2ec365daaae6e3eab730e0686ebbf009cc/Fastpath.java/buggy/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1033, 14469, 58, 23, 12, 474, 2295, 350, 16, 1250, 563, 723, 16, 9545, 803, 4117, 8526, 833, 13, 1216, 6483, 202, 95, 202, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 202, 202, 22043, 261, 3256, 13, 202, 202, 95, 1082, 202, 759, 1366, 326, 445, 745, 1082, 202, 698, 1082, 202, 95, 9506, 202, 474, 328, 67, 3576, 2891, 273, 374, 31, 9506, 202, 80, 67, 3576, 2891, 1011, 2872, 31, 9506, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 411, 833, 18, 2469, 31, 77, 27245, 6862, 202, 80, 67, 3576, 2891, 1011, 833, 63, 77, 8009, 4661, 1225, 5621, 6862, 6862, 202, 3256, 18, 3826, 2156, 2668, 42, 8284, 9506, 202, 3256, 18, 3826, 4522, 12, 80, 67, 3576, 2891, 16, 24, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 4293, 350, 16, 1059, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 21, 16, 22, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 21, 16, 22, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 1968, 18, 2469, 16, 22, 1769, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 77, 411, 833, 18, 2469, 31, 77, 27245, 6862, 202, 1968, 63, 77, 8009, 4661, 12, 3256, 1769, 6862, 9506, 202, 3256, 18, 3826, 4522, 12, 21, 16, 22, 1769, 6862, 202, 759, 1220, 353, 3577, 16, 3541, 501, 848, 506, 13557, 9506, 202, 3256, 18, 11330, 5621, 1082, 202, 97, 1082, 202, 14683, 261, 14106, 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, 1033, 14469, 58, 23, 12, 474, 2295, 350, 16, 1250, 563, 723, 16, 9545, 803, 4117, 8526, 833, 13, 1216, 6483, 202, 95, 202, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 202, 202, 22043, 261, 3256, 13, 202, 202, 95, 1082, 202, 759, 1366, 326, 445, 745, 1082, 202, 698, 1082, 202, 95, 9506, 202, 474, 328, 67, 3576, 2891, 273, 374, 31, 9506, 202, 80, 67, 3576, 2891, 1011, 2872, 31, 9506, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 411, 833, 18, 2469, 31, 77, 27245, 6862, 202, 80, 67, 3576, 2891, 1011, 833, 63, 77, 8009, 4661, 1225, 5621, 6862, 6862, 202, 3256, 18, 3826, 2156, 2668, 2 ]
projects = updatesRequired.toArray(); updatesRequired.clear(); } for (int i = 0; i < projects.length; i++) { updateModule((IProject) projects[i]);
} finally { Object[] projects = null; synchronized (this) { if (pauseCount > 0) { pauseCount--; } if (pauseCount > 0) { return; } projects = moduleUpdatesRequired.toArray(); moduleUpdatesRequired.clear(); } for (int i = 0; i < projects.length; i++) { updateModule((IProject) projects[i]); }
public void resumeUpdates() { Object[] projects = null; synchronized (this) { if (pauseCount > 0) { pauseCount--; } if (pauseCount > 0) { return; } projects = updatesRequired.toArray(); updatesRequired.clear(); } for (int i = 0; i < projects.length; i++) { updateModule((IProject) projects[i]); } }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/1f5f098f6e7201def9ea60512e48305472873b9d/J2EEComponentClasspathUpdater.java/buggy/plugins/org.eclipse.jst.j2ee/common/org/eclipse/jst/j2ee/internal/common/classpath/J2EEComponentClasspathUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10774, 5121, 1435, 288, 202, 202, 921, 8526, 10137, 273, 446, 31, 202, 202, 22043, 261, 2211, 13, 288, 1082, 202, 430, 261, 19476, 1380, 405, 374, 13, 288, 9506, 202, 19476, 1380, 413, 31, 1082, 202, 97, 1082, 202, 430, 261, 19476, 1380, 405, 374, 13, 288, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 13582, 273, 4533, 3705, 18, 31447, 5621, 1082, 202, 14703, 3705, 18, 8507, 5621, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 10137, 18, 2469, 31, 277, 27245, 288, 1082, 202, 2725, 3120, 12443, 45, 4109, 13, 10137, 63, 77, 19226, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10774, 5121, 1435, 288, 202, 202, 921, 8526, 10137, 273, 446, 31, 202, 202, 22043, 261, 2211, 13, 288, 1082, 202, 430, 261, 19476, 1380, 405, 374, 13, 288, 9506, 202, 19476, 1380, 413, 31, 1082, 202, 97, 1082, 202, 430, 261, 19476, 1380, 405, 374, 13, 288, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 13582, 273, 4533, 3705, 18, 31447, 5621, 1082, 202, 14703, 3705, 18, 8507, 5621, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 10137, 18, 2469, 31, 277, 27245, 288, 1082, 202, 2725, 3120, 12443, 45, 4109, 13, 10137, 63, 77, 19226, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100 ]
null);
"");
public void left(LinkedModeModel environment, int flags) { final BracketLevel level= (BracketLevel) fBracketLevelStack.pop(); if (flags != ILinkedModeListener.EXTERNAL_MODIFICATION) return; // remove brackets final ISourceViewer sourceViewer= getSourceViewer(); final IDocument document= sourceViewer.getDocument(); if (document instanceof IDocumentExtension) { IDocumentExtension extension= (IDocumentExtension) document; extension.registerPostNotificationReplace(null, new IDocumentExtension.IReplace() { public void perform(IDocument d, IDocumentListener owner) { if ((level.fFirstPosition.isDeleted || level.fFirstPosition.length == 0) && !level.fSecondPosition.isDeleted && level.fSecondPosition.offset == level.fFirstPosition.offset) { try { document.replace(level.fSecondPosition.offset, level.fSecondPosition.length, null); } catch (BadLocationException e) { JavaPlugin.log(e); } } if (fBracketLevelStack.size() == 0) { document.removePositionUpdater(fUpdater); try { document.removePositionCategory(CATEGORY); } catch (BadPositionCategoryException e) { JavaPlugin.log(e); } } } }); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/4f593ab7c4969563c9aff9cd19b1a78b566567a7/CompilationUnitEditor.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2002, 12, 13174, 2309, 1488, 3330, 16, 509, 2943, 13, 288, 1082, 202, 6385, 605, 6278, 2355, 1801, 33, 261, 11450, 2355, 13, 284, 11450, 2355, 2624, 18, 5120, 5621, 1082, 202, 430, 261, 7133, 480, 467, 13174, 2309, 2223, 18, 2294, 11702, 67, 6720, 14865, 13, 9506, 202, 2463, 31, 1082, 202, 759, 1206, 15597, 1082, 202, 6385, 467, 1830, 18415, 1084, 18415, 33, 7889, 18415, 5621, 1082, 202, 6385, 1599, 504, 650, 1668, 33, 1084, 18415, 18, 588, 2519, 5621, 1082, 202, 430, 261, 5457, 1276, 1599, 504, 650, 3625, 13, 288, 9506, 202, 734, 504, 650, 3625, 2710, 33, 261, 734, 504, 650, 3625, 13, 1668, 31, 9506, 202, 6447, 18, 4861, 3349, 4386, 5729, 12, 2011, 16, 394, 1599, 504, 650, 3625, 18, 45, 5729, 1435, 288, 6862, 202, 482, 918, 3073, 12, 734, 504, 650, 302, 16, 1599, 504, 650, 2223, 3410, 13, 288, 25083, 202, 430, 14015, 2815, 18, 74, 3759, 2555, 18, 291, 7977, 747, 1801, 18, 74, 3759, 2555, 18, 2469, 422, 374, 13, 6862, 9506, 202, 10, 10, 401, 2815, 18, 74, 8211, 2555, 18, 291, 7977, 6862, 9506, 202, 10, 10, 1801, 18, 74, 8211, 2555, 18, 3348, 422, 1801, 18, 74, 3759, 2555, 18, 3348, 13, 25083, 202, 95, 6862, 1082, 202, 698, 288, 6862, 9506, 202, 5457, 18, 2079, 12, 2815, 18, 74, 8211, 2555, 18, 3348, 16, 6862, 6862, 6862, 1801, 18, 74, 8211, 2555, 18, 2469, 16, 6862, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2002, 12, 13174, 2309, 1488, 3330, 16, 509, 2943, 13, 288, 1082, 202, 6385, 605, 6278, 2355, 1801, 33, 261, 11450, 2355, 13, 284, 11450, 2355, 2624, 18, 5120, 5621, 1082, 202, 430, 261, 7133, 480, 467, 13174, 2309, 2223, 18, 2294, 11702, 67, 6720, 14865, 13, 9506, 202, 2463, 31, 1082, 202, 759, 1206, 15597, 1082, 202, 6385, 467, 1830, 18415, 1084, 18415, 33, 7889, 18415, 5621, 1082, 202, 6385, 1599, 504, 650, 1668, 33, 1084, 18415, 18, 588, 2519, 5621, 1082, 202, 430, 261, 5457, 1276, 1599, 504, 650, 3625, 13, 288, 9506, 202, 734, 504, 650, 3625, 2710, 33, 261, 734, 504, 650, 3625, 13, 1668, 31, 9506, 202, 6447, 18, 4861, 2 ]
f = f.resolve();
f = resolve(f);
public void visitAPUTSTATIC(jq_StaticField f) { super.visitAPUTSTATIC(f); f = f.resolve(); mod.add(f); }
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/d12f1e1bc9744829efc71c43906f1f511c2f07d2/ModRefAnalysis.java/clean/joeq_core/joeq/Compiler/BytecodeAnalysis/ModRefAnalysis.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 2203, 1693, 22741, 12, 78, 85, 67, 5788, 974, 284, 13, 288, 3639, 2240, 18, 11658, 2203, 1693, 22741, 12, 74, 1769, 3639, 284, 273, 2245, 12, 74, 1769, 3639, 681, 18, 1289, 12, 74, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 2203, 1693, 22741, 12, 78, 85, 67, 5788, 974, 284, 13, 288, 3639, 2240, 18, 11658, 2203, 1693, 22741, 12, 74, 1769, 3639, 284, 273, 2245, 12, 74, 1769, 3639, 681, 18, 1289, 12, 74, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
tf.setValue((String)tabNames.get(0));
tf.setValue((String)tabNames.get(i));
public void doShowLayout(FormEvent event) { PortletRequest req = event.getPortletRequest(); PortletResponse res = event.getPortletResponse(); ListBoxBean themeLB = event.getListBoxBean("themeLB"); String theme = layoutMgr.getTheme(req); themeLB.clear(); String themes = getPortletSettings().getAttribute("supported-themes"); StringTokenizer st = new StringTokenizer(themes, ","); while (st.hasMoreTokens()) { ListBoxItemBean lb = new ListBoxItemBean(); String val = (String)st.nextElement(); lb.setValue(val.trim()); if (val.trim().equalsIgnoreCase(theme)) lb.setSelected(true); themeLB.addBean(lb); } // put tab configuration in request List tabNames = layoutMgr.getTabNames(req); String tabName = event.getHiddenFieldBean("tabHF").getValue(); if (tabName == null) { tabName = (String)tabNames.get(0); System.err.println("Set tab: " + tabName); event.getHiddenFieldBean("tabHF").setValue(tabName); } else { System.err.println("found a tab: " + tabName); } ListBoxBean seltabsLB = event.getListBoxBean("seltabsLB"); seltabsLB.clear(); TableCellBean tabsTC = event.getTableCellBean("tabsTC"); for (int i = 0; i < tabNames.size(); i++) { ListBoxItemBean item = new ListBoxItemBean(); item.setValue((String)tabNames.get(i)); item.setName(String.valueOf(i)); seltabsLB.addBean(item); TextFieldBean tf = new TextFieldBean(); tf.setBeanId("tab" + i); tf.setValue((String)tabNames.get(0)); tabsTC.addBean(tf); if ((tabNames.get(i)).equals(tabName)) item.setSelected(true); } ListBoxBean deltabsLB = event.getListBoxBean("deltabsLB"); deltabsLB.clear(); for (int i = 0; i < tabNames.size(); i++) { ListBoxItemBean item = new ListBoxItemBean(); item.setValue((String)tabNames.get(i)); item.setName(String.valueOf(i)); deltabsLB.addBean(item); } //req.setAttribute("tabNames", tabNames); // put sub tab configuration in request List subtabNames = layoutMgr.getSubTabNames(req, tabName); String subtabName = event.getHiddenFieldBean("subtabHF").getValue(); if (subtabName == null) { subtabName = (String)subtabNames.get(0); event.getHiddenFieldBean("subtabHF").setValue(subtabName); } ListBoxBean selsubtabsLB = event.getListBoxBean("selsubtabsLB"); selsubtabsLB.clear(); TableCellBean subtabsTC = event.getTableCellBean("subtabsTC"); for (int i = 0; i < subtabNames.size(); i++) { ListBoxItemBean item = new ListBoxItemBean(); item.setValue((String)subtabNames.get(i)); //item.setName(String.valueOf(i)); selsubtabsLB.addBean(item); TextFieldBean tf = new TextFieldBean(); tf.setBeanId("subtab" + i); tf.setValue((String)subtabNames.get(i)); subtabsTC.addBean(tf); if ((subtabNames.get(i)).equals(subtabName)) item.setSelected(true); } ListBoxBean delsubtabsLB = event.getListBoxBean("delsubtabsLB"); delsubtabsLB.clear(); for (int i = 0; i < subtabNames.size(); i++) { ListBoxItemBean item = new ListBoxItemBean(); item.setValue((String)subtabNames.get(i)); item.setName(String.valueOf(i)); delsubtabsLB.addBean(item); } //req.setAttribute("subtabNames", subtabNames); // create portlet frame layout FrameBean frame = event.getFrameBean("portletLayout"); DefaultTableModel model = new DefaultTableModel(); System.err.println(subtabName); PortletTableLayout table = layoutMgr.getPortletLayout(req, subtabName); PortletComponent c = null; int j = 0; // this needs fixing with the portlets available to the user and not the ones that are // already in their layout List pnames = layoutMgr.getSubscribedPortlets(req); if (table != null) { List rowlayouts = table.getPortletComponents(); Iterator it = rowlayouts.iterator(); int k = 0; // iterate over <row-layout> while (it.hasNext()) { c = (PortletComponent)it.next(); if (c instanceof PortletRowLayout) { TableRowBean tr = new TableRowBean(); PortletRowLayout row = (PortletRowLayout)c; List collayouts = row.getPortletComponents(); Iterator colit = collayouts.iterator(); // iterate over <column-layout> while (colit.hasNext()) { c = (PortletComponent)colit.next(); if (c instanceof PortletColumnLayout) { PortletColumnLayout col = (PortletColumnLayout)c; List pframes = col.getPortletComponents(); if (pframes.isEmpty()) { TableCellBean tc = new TableCellBean(); ListBoxBean lb = new ListBoxBean(); lb.setBeanId("portletframeLB" + j); Iterator pnit = pnames.iterator(); // Create a listbox with all portlets available while (pnit.hasNext()) { String concID = (String)pnit.next(); ListBoxItemBean item = new ListBoxItemBean(); item.setName(concID); int li = concID.lastIndexOf("."); String display = concID.substring(0, li); li = display.lastIndexOf("."); display = display.substring(li+1); item.setValue(display); lb.addBean(item); } tc.addBean(lb); tr.addBean(tc); } else { Iterator pit = pframes.iterator(); // iterate over <portlet-frame> -- in principle should be one while (pit.hasNext()) { TableCellBean tc = new TableCellBean(); c = (PortletComponent)pit.next(); if (c instanceof PortletFrame) { PortletFrame pframe = (PortletFrame)c; ListBoxBean lb = new ListBoxBean(); lb.setBeanId("portletframeLB" + j); Iterator pnit = pnames.iterator(); // Create a listbox with all portlets available while (pnit.hasNext()) { String concID = (String)pnit.next(); ListBoxItemBean item = new ListBoxItemBean(); item.setName(concID); int li = concID.lastIndexOf("."); String display = concID.substring(0, li); li = display.lastIndexOf("."); display = display.substring(li+1); item.setValue(display); if (pframe.getPortletClass().equals(concID)) item.setSelected(true); lb.addBean(item); } tc.addBean(lb); tr.addBean(tc); j++; } else { log.error("Unable to find a <portlet-frame> beneath the <portlet-column> in descriptor"); } } } } } TableCellBean tc = new TableCellBean(); ActionSubmitBean delrow = new ActionSubmitBean(); delrow.setValue(this.getLocalizedText(req, "LAYOUT_DELROW")); DefaultPortletAction portletAction = new DefaultPortletAction("delTableRow"); portletAction.addParameter("idx", String.valueOf(k)); PortletURI uri = res.createURI(); uri.addAction(portletAction); delrow.setName(uri.toString()); delrow.setAction(portletAction.toString()); ActionSubmitBean newcell = new ActionSubmitBean(); portletAction = new DefaultPortletAction("addNewPortlet"); portletAction.addParameter("idx", String.valueOf(k)); uri = res.createURI(); uri.addAction(portletAction); newcell.setName(uri.toString()); newcell.setAction(portletAction.toString()); newcell.setValue(this.getLocalizedText(req, "LAYOUT_ADDPORTLET")); tc.addBean(delrow); tc.addBean(newcell); tr.addBean(tc); model.addTableRowBean(tr); k++; } } frame.setTableModel(model); } else { log.error("Unable to find a <table-layout> beneath the <portlet-tab title=" + (String)subtabNames.get(0) + " in descriptor"); } setNextState(req, VIEW_JSP); }
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/f644f9ba6c9c5f629104d0db8f10699603d8236e/LayoutManagerPortlet.java/clean/src/org/gridlab/gridsphere/portlets/core/layout/LayoutManagerPortlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 5706, 3744, 12, 1204, 1133, 871, 13, 288, 3639, 21305, 691, 1111, 273, 871, 18, 588, 18566, 691, 5621, 3639, 21305, 1064, 400, 273, 871, 18, 588, 18566, 1064, 5621, 3639, 987, 3514, 3381, 5006, 12995, 273, 871, 18, 588, 682, 3514, 3381, 2932, 7997, 12995, 8863, 3639, 514, 5006, 273, 3511, 9455, 18, 588, 8335, 12, 3658, 1769, 3639, 5006, 12995, 18, 8507, 5621, 3639, 514, 15455, 273, 11036, 1810, 2628, 7675, 588, 1499, 2932, 4127, 17, 17328, 8863, 3639, 16370, 384, 273, 394, 16370, 12, 17328, 16, 5753, 1769, 3639, 1323, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 5411, 987, 3514, 1180, 3381, 7831, 273, 394, 987, 3514, 1180, 3381, 5621, 5411, 514, 1244, 273, 261, 780, 13, 334, 18, 4285, 1046, 5621, 5411, 7831, 18, 542, 620, 12, 1125, 18, 5290, 10663, 5411, 309, 261, 1125, 18, 5290, 7675, 14963, 5556, 12, 7997, 3719, 7831, 18, 542, 7416, 12, 3767, 1769, 5411, 5006, 12995, 18, 1289, 3381, 12, 20404, 1769, 3639, 289, 3639, 368, 1378, 3246, 1664, 316, 590, 3639, 987, 3246, 1557, 273, 3511, 9455, 18, 588, 5661, 1557, 12, 3658, 1769, 3639, 514, 3246, 461, 273, 871, 18, 588, 9345, 974, 3381, 2932, 7032, 44, 42, 20387, 24805, 5621, 3639, 309, 261, 7032, 461, 422, 446, 13, 288, 5411, 3246, 461, 273, 261, 780, 13, 7032, 1557, 18, 588, 12, 20, 1769, 5411, 2332, 18, 370, 18, 8222, 2932, 694, 3246, 30, 315, 397, 3246, 461, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 5706, 3744, 12, 1204, 1133, 871, 13, 288, 3639, 21305, 691, 1111, 273, 871, 18, 588, 18566, 691, 5621, 3639, 21305, 1064, 400, 273, 871, 18, 588, 18566, 1064, 5621, 3639, 987, 3514, 3381, 5006, 12995, 273, 871, 18, 588, 682, 3514, 3381, 2932, 7997, 12995, 8863, 3639, 514, 5006, 273, 3511, 9455, 18, 588, 8335, 12, 3658, 1769, 3639, 5006, 12995, 18, 8507, 5621, 3639, 514, 15455, 273, 11036, 1810, 2628, 7675, 588, 1499, 2932, 4127, 17, 17328, 8863, 3639, 16370, 384, 273, 394, 16370, 12, 17328, 16, 5753, 1769, 3639, 1323, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 5411, 987, 3514, 1180, 3381, 7831, 273, 394, 987, 3514, 1180, 3381, 5621, 5411, 2 ]
if (Pooka.isDebug()) System.out.println("firing connection event."); Object[] listeners = eventListeners.getListenerList(); for (int i = listeners.length-2; i>=0; i-=2) {
public void fireConnectionEvent(ConnectionEvent e) { // from the EventListenerList javadoc, including comments. if (Pooka.isDebug()) System.out.println("firing connection event."); // Guaranteed to return a non-null array Object[] listeners = eventListeners.getListenerList(); // Process the listeners last to first, notifying // those that are interested in this event for (int i = listeners.length-2; i>=0; i-=2) { if (Pooka.isDebug()) System.out.println("listeners[" + i + "] is " + listeners[i] ); if (listeners[i]==ConnectionListener.class) { if (Pooka.isDebug()) System.out.println("check. it's a connection listener."); ConnectionListener listener = (ConnectionListener) listeners[i+1]; if (e.getType() == ConnectionEvent.CLOSED) listener.closed(e); else if (e.getType() == ConnectionEvent.DISCONNECTED) listener.disconnected(e); else if (e.getType() == ConnectionEvent.OPENED) listener.opened(e); } } }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/ff0a0cf7309fbaf4be64661e867d47999594b128/FolderInfo.java/buggy/net/suberic/pooka/FolderInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 309, 261, 52, 1184, 69, 18, 291, 2829, 10756, 2332, 18, 659, 18, 8222, 2932, 74, 11256, 1459, 871, 1199, 1769, 225, 1033, 8526, 4679, 273, 871, 5583, 18, 588, 2223, 682, 5621, 282, 364, 261, 474, 277, 273, 4679, 18, 2469, 17, 22, 31, 277, 34, 33, 20, 31, 277, 17, 33, 22, 13, 288, 282, 309, 261, 52, 1184, 69, 18, 291, 2829, 10756, 2332, 18, 659, 18, 8222, 2932, 74, 11256, 1459, 871, 1199, 1769, 225, 1033, 8526, 4679, 273, 871, 5583, 18, 588, 2223, 682, 5621, 282, 364, 261, 474, 277, 273, 4679, 18, 2469, 17, 22, 31, 277, 34, 33, 20, 31, 277, 17, 33, 22, 13, 288, 1071, 918, 4452, 1952, 1133, 12, 1952, 1133, 425, 13, 288, 202, 759, 628, 326, 22090, 682, 30829, 16, 6508, 5678, 18, 202, 430, 261, 52, 1184, 69, 18, 291, 2829, 10756, 202, 225, 309, 261, 52, 1184, 69, 18, 291, 2829, 10756, 2332, 18, 659, 18, 8222, 2932, 74, 11256, 1459, 871, 1199, 1769, 225, 1033, 8526, 4679, 273, 871, 5583, 18, 588, 2223, 682, 5621, 282, 364, 261, 474, 277, 273, 4679, 18, 2469, 17, 22, 31, 277, 34, 33, 20, 31, 277, 17, 33, 22, 13, 288, 282, 309, 261, 52, 1184, 69, 18, 291, 2829, 10756, 2332, 18, 659, 18, 8222, 2932, 74, 11256, 1459, 871, 1199, 1769, 225, 1033, 8526, 4679, 273, 871, 5583, 18, 588, 2223, 682, 5621, 282, 364, 261, 474, 277, 273, 4679, 18, 2469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 309, 261, 52, 1184, 69, 18, 291, 2829, 10756, 2332, 18, 659, 18, 8222, 2932, 74, 11256, 1459, 871, 1199, 1769, 225, 1033, 8526, 4679, 273, 871, 5583, 18, 588, 2223, 682, 5621, 282, 364, 261, 474, 277, 273, 4679, 18, 2469, 17, 22, 31, 277, 34, 33, 20, 31, 277, 17, 33, 22, 13, 288, 282, 309, 261, 52, 1184, 69, 18, 291, 2829, 10756, 2332, 18, 659, 18, 8222, 2932, 74, 11256, 1459, 871, 1199, 1769, 225, 1033, 8526, 4679, 273, 871, 5583, 18, 588, 2223, 682, 5621, 282, 364, 261, 474, 277, 273, 4679, 18, 2469, 17, 22, 31, 277, 34, 33, 20, 31, 277, 17, 33, 22, 13, 288, 1071, 918, 4452, 1952, 1133, 2 ]
((RubyFixnum) arg1).setValue(((RubyFixnum) arg1).getValue() + 1);
((RubyFixnum) arg1).setValue(RubyNumeric.fix2long(arg1) + 1);
public static RubyObject each_with_index_i(Ruby ruby, RubyObject blockArg, RubyObject arg1, RubyObject self) { ruby.yield(RubyArray.newArray(ruby, blockArg, arg1)); ((RubyFixnum) arg1).setValue(((RubyFixnum) arg1).getValue() + 1); return ruby.getNil(); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyEnumerable.java/buggy/org/jruby/RubyEnumerable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 921, 1517, 67, 1918, 67, 1615, 67, 77, 12, 54, 10340, 22155, 16, 19817, 921, 1203, 4117, 16, 19817, 921, 1501, 21, 16, 19817, 921, 365, 13, 288, 3639, 22155, 18, 23604, 12, 54, 10340, 1076, 18, 2704, 1076, 12, 27768, 16, 1203, 4117, 16, 1501, 21, 10019, 3639, 14015, 54, 10340, 8585, 2107, 13, 1501, 21, 2934, 542, 620, 12, 54, 10340, 9902, 18, 904, 22, 5748, 12, 3175, 21, 13, 397, 404, 1769, 3639, 327, 22155, 18, 588, 12616, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 921, 1517, 67, 1918, 67, 1615, 67, 77, 12, 54, 10340, 22155, 16, 19817, 921, 1203, 4117, 16, 19817, 921, 1501, 21, 16, 19817, 921, 365, 13, 288, 3639, 22155, 18, 23604, 12, 54, 10340, 1076, 18, 2704, 1076, 12, 27768, 16, 1203, 4117, 16, 1501, 21, 10019, 3639, 14015, 54, 10340, 8585, 2107, 13, 1501, 21, 2934, 542, 620, 12, 54, 10340, 9902, 18, 904, 22, 5748, 12, 3175, 21, 13, 397, 404, 1769, 3639, 327, 22155, 18, 588, 12616, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]