rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
sequencelengths
256
256
attention_mask
sequencelengths
256
256
labels
sequencelengths
128
128
private ScopeInfoDocument genScopeInfoDocument(final String siid, final boolean includeActivityInfo) { if (siid == null) throw new InvalidRequestException("Must specifiy scope instance id."); final Long siidl; try { siidl = new Long(siid); } catch (NumberFormatException nfe) { throw new InvalidRequestException("Invalid scope instance id."); } ScopeInfoDocument ret = ScopeInfoDocument.Factory.newInstance(); final TScopeInfo ii = ret.addNewScopeInfo(); ii.setSiid(siid); dbexec(new BpelDatabase.Callable<Object>() { public Object run(BpelDAOConnection conn) throws Exception { ScopeDAO instance = conn.getScope(siidl); if (instance == null) throw new InvalidRequestException("Scope not found: " + siidl); // TODO: deal with "ERROR" state information. fillScopeInfo(ii,instance,includeActivityInfo); return null; } }); return ret; }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/13b12d6781c1697fae8cb160760f4c39f0fbc68e/ProcessAndInstanceManagementImpl.java/clean/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 5468, 966, 2519, 3157, 3876, 966, 2519, 12, 6385, 514, 7533, 350, 16, 727, 1250, 2341, 6193, 966, 13, 288, 430, 261, 7722, 350, 422, 446, 13, 12849, 394, 22636, 2932, 10136, 857, 704, 93, 2146, 791, 612, 1199, 1769, 6385, 3407, 7533, 350, 80, 31, 698, 288, 7722, 350, 80, 273, 394, 3407, 12, 7722, 350, 1769, 97, 1044, 261, 1854, 9291, 25386, 13, 288, 12849, 394, 22636, 2932, 1941, 2146, 791, 612, 1199, 1769, 97, 3876, 966, 2519, 325, 273, 5468, 966, 2519, 18, 1733, 18, 2704, 1442, 5621, 6385, 399, 3876, 966, 6072, 273, 325, 18, 1289, 1908, 3876, 966, 5621, 2835, 18, 542, 55, 77, 350, 12, 7722, 350, 1769, 1966, 4177, 12, 2704, 605, 84, 292, 4254, 18, 11452, 32, 921, 34, 1435, 288, 482, 1033, 1086, 12, 38, 84, 292, 18485, 1952, 1487, 13, 1216, 1185, 288, 3876, 18485, 791, 273, 1487, 18, 588, 3876, 12, 7722, 350, 80, 1769, 430, 261, 1336, 422, 446, 13, 12849, 394, 22636, 2932, 3876, 486, 1392, 30, 315, 397, 7533, 350, 80, 1769, 759, 2660, 30, 10490, 598, 315, 3589, 6, 919, 1779, 18, 5935, 3876, 966, 12, 2835, 16, 1336, 16, 6702, 6193, 966, 1769, 2463, 446, 31, 9090, 1769, 2463, 325, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 5468, 966, 2519, 3157, 3876, 966, 2519, 12, 6385, 514, 7533, 350, 16, 727, 1250, 2341, 6193, 966, 13, 288, 430, 261, 7722, 350, 422, 446, 13, 12849, 394, 22636, 2932, 10136, 857, 704, 93, 2146, 791, 612, 1199, 1769, 6385, 3407, 7533, 350, 80, 31, 698, 288, 7722, 350, 80, 273, 394, 3407, 12, 7722, 350, 1769, 97, 1044, 261, 1854, 9291, 25386, 13, 288, 12849, 394, 22636, 2932, 1941, 2146, 791, 612, 1199, 1769, 97, 3876, 966, 2519, 325, 273, 5468, 966, 2519, 18, 1733, 18, 2704, 1442, 5621, 6385, 399, 3876, 966, 6072, 273, 325, 18, 1289, 1908, 3876, 966, 5621, 2835, 18, 542, 55, 77, 350, 12, 7722, 350, 1769, 1966, 4177, 12, 2704, 2 ]
logln("==test_03: UnrecoverableKeyException==");
public void testUnrecoverableKeyException03() { logln("==test_03: UnrecoverableKeyException=="); String msg = null; UnrecoverableKeyException tE = new UnrecoverableKeyException(msg); assertTrue(errNotExc, tE instanceof UnrecoverableKeyException); assertNull("getMessage() must return null.", tE.getMessage()); assertNull("getCause() must return null", tE.getCause()); try { throw tE; } catch (Exception e) { assertTrue(createErr(tE, e), tE.equals(e)); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/a9fd98c8fca0593ca0da8ba774c48808f903f221/UnrecoverableKeyExceptionTest.java/buggy/modules/security2/test/common/unit/java/security/UnrecoverableKeyExceptionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 984, 25864, 21914, 4630, 1435, 288, 2868, 514, 1234, 273, 446, 31, 3639, 1351, 25864, 21914, 268, 41, 273, 394, 1351, 25864, 21914, 12, 3576, 1769, 3639, 1815, 5510, 12, 370, 1248, 29924, 16, 268, 41, 1276, 1351, 25864, 21914, 1769, 3639, 1815, 2041, 2932, 24906, 1435, 1297, 327, 446, 1199, 16, 268, 41, 18, 24906, 10663, 3639, 1815, 2041, 2932, 588, 10683, 1435, 1297, 327, 446, 3113, 268, 41, 18, 588, 10683, 10663, 3639, 775, 288, 5411, 604, 268, 41, 31, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 1815, 5510, 12, 2640, 2524, 12, 88, 41, 16, 425, 3631, 268, 41, 18, 14963, 12, 73, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1842, 984, 25864, 21914, 4630, 1435, 288, 2868, 514, 1234, 273, 446, 31, 3639, 1351, 25864, 21914, 268, 41, 273, 394, 1351, 25864, 21914, 12, 3576, 1769, 3639, 1815, 5510, 12, 370, 1248, 29924, 16, 268, 41, 1276, 1351, 25864, 21914, 1769, 3639, 1815, 2041, 2932, 24906, 1435, 1297, 327, 446, 1199, 16, 268, 41, 18, 24906, 10663, 3639, 1815, 2041, 2932, 588, 10683, 1435, 1297, 327, 446, 3113, 268, 41, 18, 588, 10683, 10663, 3639, 775, 288, 5411, 604, 268, 41, 31, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 1815, 5510, 12, 2640, 2524, 12, 88, 41, 16, 425, 3631, 268, 41, 18, 14963, 12, 73, 10019, 3639, 289, 565, 289, 2, -100, -100 ]
private boolean deliver(MailImpl mail, Session session) { try { if (isDebug) { log("Attempting to deliver " + mail.getName()); } MimeMessage message = mail.getMessage(); //Create an array of the recipients as InternetAddress objects Collection recipients = mail.getRecipients(); InternetAddress addr[] = new InternetAddress[recipients.size()]; int j = 0; for (Iterator i = recipients.iterator(); i.hasNext(); j++) { MailAddress rcpt = (MailAddress)i.next(); addr[j] = rcpt.toInternetAddress(); } if (addr.length <= 0) { log("No recipients specified... not sure how this could have happened."); return true; } //Figure out which servers to try to send to. This collection // will hold all the possible target servers Iterator targetServers = null; if (gatewayServer == null) { MailAddress rcpt = (MailAddress) recipients.iterator().next(); String host = rcpt.getHost(); //Lookup the possible targets targetServers = getMailetContext().getSMTPHostAddresses(host); if (!targetServers.hasNext()) { log("No mail server found for: " + host); StringBuffer exceptionBuffer = new StringBuffer(128) .append("There are no DNS entries for the hostname ") .append(host) .append(". I cannot determine where to send this message."); return failMessage(mail, new MessagingException(exceptionBuffer.toString()), false); } } else { targetServers = getGatewaySMTPHostAddresses(gatewayServer); } MessagingException lastError = null; while ( targetServers.hasNext()) { try { HostAddress outgoingMailServer = (HostAddress) targetServers.next(); StringBuffer logMessageBuffer = new StringBuffer(256) .append("Attempting delivery of ") .append(mail.getName()) .append(" to host ") .append(outgoingMailServer.getHostName()) .append(" at ") .append(outgoingMailServer.getHost()) .append(" for addresses ") .append(Arrays.asList(addr)); log(logMessageBuffer.toString()); Properties props = session.getProperties(); if (mail.getSender() == null) { props.put("mail.smtp.from", "<>"); } else { String sender = mail.getSender().toString(); props.put("mail.smtp.from", sender); } //Many of these properties are only in later JavaMail versions //"mail.smtp.ehlo" //default true //"mail.smtp.auth" //default false //"mail.smtp.dsn.ret" //default to nothing... appended as RET= after MAIL FROM line. //"mail.smtp.dsn.notify" //default to nothing...appended as NOTIFY= after RCPT TO line. Transport transport = null; try { transport = session.getTransport(outgoingMailServer); try { transport.connect(); } catch (MessagingException me) { // Any error on connect should cause the mailet to attempt // to connect to the next SMTP server associated with this // MX record. Just log the exception. We'll worry about // failing the message at the end of the loop. log(me.getMessage()); continue; } // if the transport is a SMTPTransport (from sun) some // performance enhancement can be done. if (transport instanceof SMTPTransport) { SMTPTransport smtpTransport = (SMTPTransport) transport; // if the message is alredy 8bit or binary and the // server doesn't support the 8bit extension it has // to be converted to 7bit. Javamail api don't do // that conversion, but it is required to be a // rfc-compliant smtp server. if (!smtpTransport.supportsExtension("8BITMIME")) { try { convertTo7Bit(message); } catch (IOException e) { // An error has occured during the 7bit conversion. // The error is logged and the message is sent anyway. log("Error during the conversion to 7 bit.", e); } } } else { // If the transport is not the one // developed by Sun we are not sure of how it handles the 8 bit mime stuff, // so I convert the message to 7bit. try { convertTo7Bit(message); } catch (IOException e) { log("Error during the conversion to 7 bit.", e); } } transport.sendMessage(message, addr); } finally { if (transport != null) { transport.close(); transport = null; } } logMessageBuffer = new StringBuffer(256) .append("Mail (") .append(mail.getName()) .append(") sent successfully to ") .append(outgoingMailServer.getHostName()) .append(" at ") .append(outgoingMailServer.getHost()) .append(" for ") .append(mail.getRecipients()); log(logMessageBuffer.toString()); return true; } catch (SendFailedException sfe) { logSendFailedException(sfe); if (sfe.getValidSentAddresses() != null) { Address[] validSent = sfe.getValidSentAddresses(); if (validSent.length > 0) { StringBuffer logMessageBuffer = new StringBuffer(256) .append("Mail (") .append(mail.getName()) .append(") sent successfully for ") .append(Arrays.asList(validSent)); log(logMessageBuffer.toString()); } } /* SMTPSendFailedException introduced in JavaMail 1.3.2, and provides detailed protocol reply code for the operation */ if (sfe instanceof SMTPSendFailedException) { SMTPSendFailedException ssfe = (SMTPSendFailedException) sfe; // if 5xx, terminate this delivery attempt by re-throwing the exception. if (ssfe.getReturnCode() >= 500 && ssfe.getReturnCode() <= 599) throw sfe; } if (sfe.getValidUnsentAddresses() != null && sfe.getValidUnsentAddresses().length > 0) { if (isDebug) log("Send failed, " + sfe.getValidUnsentAddresses().length + " valid addresses remain, continuing with any other servers"); lastError = sfe; continue; } else { // There are no valid addresses left to send, so rethrow throw sfe; } } catch (MessagingException me) { //MessagingException are horribly difficult to figure out what actually happened. StringBuffer exceptionBuffer = new StringBuffer(256) .append("Exception delivering message (") .append(mail.getName()) .append(") - ") .append(me.getMessage()); log(exceptionBuffer.toString()); if ((me.getNextException() != null) && (me.getNextException() instanceof java.io.IOException)) { //This is more than likely a temporary failure // If it's an IO exception with no nested exception, it's probably // some socket or weird I/O related problem. lastError = me; continue; } // This was not a connection or I/O error particular to one // SMTP server of an MX set. Instead, it is almost certainly // a protocol level error. In this case we assume that this // is an error we'd encounter with any of the SMTP servers // associated with this MX record, and we pass the exception // to the code in the outer block that determines its severity. throw me; } } // end while //If we encountered an exception while looping through, //throw the last MessagingException we caught. We only //do this if we were unable to send the message to any //server. If sending eventually succeeded, we exit //deliver() though the return at the end of the try //block. if (lastError != null) { throw lastError; } } catch (SendFailedException sfe) { logSendFailedException(sfe); Collection recipients = mail.getRecipients(); boolean deleteMessage = false; /* * If you send a message that has multiple invalid * addresses, you'll get a top-level SendFailedException * that that has the valid, valid-unsent, and invalid * address lists, with all of the server response messages * will be contained within the nested exceptions. [Note: * the content of the nested exceptions is implementation * dependent.] * * sfe.getInvalidAddresses() should be considered permanent. * sfe.getValidUnsentAddresses() should be considered temporary. * * JavaMail v1.3 properly populates those collections based * upon the 4xx and 5xx response codes to RCPT TO. Some * servers, such as Yahoo! don't respond to the RCPT TO, * and provide a 5xx reply after DATA. In that case, we * will pick up the failure from SMTPSendFailedException. * */ /* SMTPSendFailedException introduced in JavaMail 1.3.2, and provides detailed protocol reply code for the operation */ if (sfe instanceof SMTPSendFailedException) { // If we got an SMTPSendFailedException, use its RetCode to determine default permanent/temporary failure SMTPSendFailedException ssfe = (SMTPSendFailedException) sfe; deleteMessage = (ssfe.getReturnCode() >= 500 && ssfe.getReturnCode() <= 599); } else { // Sometimes we'll get a normal SendFailedException with nested SMTPAddressFailedException, so use the latter RetCode MessagingException me = sfe; Exception ne; while ((ne = me.getNextException()) != null && ne instanceof MessagingException) { me = (MessagingException)ne; if (me instanceof SMTPAddressFailedException) { SMTPAddressFailedException ssfe = (SMTPAddressFailedException)me; deleteMessage = (ssfe.getReturnCode() >= 500 && ssfe.getReturnCode() <= 599); } } } // log the original set of intended recipients if (isDebug) log("Recipients: " + recipients); if (sfe.getInvalidAddresses() != null) { Address[] address = sfe.getInvalidAddresses(); if (address.length > 0) { recipients.clear(); for (int i = 0; i < address.length; i++) { try { recipients.add(new MailAddress(address[i].toString())); } catch (ParseException pe) { // this should never happen ... we should have // caught malformed addresses long before we // got to this code. log("Can't parse invalid address: " + pe.getMessage()); } } if (isDebug) log("Invalid recipients: " + recipients); deleteMessage = failMessage(mail, sfe, true); } } if (sfe.getValidUnsentAddresses() != null) { Address[] address = sfe.getValidUnsentAddresses(); if (address.length > 0) { recipients.clear(); for (int i = 0; i < address.length; i++) { try { recipients.add(new MailAddress(address[i].toString())); } catch (ParseException pe) { // this should never happen ... we should have // caught malformed addresses long before we // got to this code. log("Can't parse unsent address: " + pe.getMessage()); } } if (isDebug) log("Unsent recipients: " + recipients); if (sfe instanceof SMTPSendFailedException) { SMTPSendFailedException ssfe = (SMTPSendFailedException) sfe; deleteMessage = failMessage(mail, sfe, ssfe.getReturnCode() >= 500 && ssfe.getReturnCode() <= 599); } else { deleteMessage = failMessage(mail, sfe, false); } } } return deleteMessage; } catch (MessagingException ex) { // We should do a better job checking this... if the failure is a general // connect exception, this is less descriptive than more specific SMTP command // failure... have to lookup and see what are the various Exception // possibilities // Unable to deliver message after numerous tries... fail accordingly // We check whether this is a 5xx error message, which // indicates a permanent failure (like account doesn't exist // or mailbox is full or domain is setup wrong). // We fail permanently if this was a 5xx error return failMessage(mail, ex, ('5' == ex.getMessage().charAt(0))); } /* If we get here, we've exhausted the loop of servers without * sending the message or throwing an exception. One case * where this might happen is if we get a MessagingException on * each transport.connect(), e.g., if there is only one server * and we get a connect exception. */ return failMessage(mail, new MessagingException("No mail server(s) available at this time."), false); }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/68ee495ec72bf6b2b5dcb0549d319fa50bbd661e/RemoteDelivery.java/clean/trunk/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 11795, 12, 6759, 2828, 4791, 16, 3877, 1339, 13, 288, 3639, 775, 288, 5411, 309, 261, 291, 2829, 13, 288, 7734, 613, 2932, 23089, 358, 11795, 315, 397, 4791, 18, 17994, 10663, 5411, 289, 5411, 22059, 1079, 883, 273, 4791, 18, 24906, 5621, 5411, 368, 1684, 392, 526, 434, 326, 12045, 487, 21352, 1887, 2184, 5411, 2200, 12045, 273, 4791, 18, 588, 22740, 5621, 5411, 21352, 1887, 3091, 8526, 273, 394, 21352, 1887, 63, 27925, 18, 1467, 1435, 15533, 5411, 509, 525, 273, 374, 31, 5411, 364, 261, 3198, 277, 273, 12045, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 525, 27245, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 77, 18, 4285, 5621, 7734, 3091, 63, 78, 65, 273, 4519, 337, 18, 869, 26562, 1887, 5621, 5411, 289, 5411, 309, 261, 4793, 18, 2469, 1648, 374, 13, 288, 7734, 613, 2932, 2279, 12045, 1269, 2777, 486, 3071, 3661, 333, 3377, 1240, 17497, 1199, 1769, 7734, 327, 638, 31, 5411, 289, 5411, 368, 42, 15906, 596, 1492, 7084, 358, 775, 358, 1366, 358, 18, 225, 1220, 1849, 5411, 368, 225, 903, 6887, 777, 326, 3323, 1018, 7084, 5411, 4498, 1018, 11913, 273, 446, 31, 5411, 309, 261, 11127, 2081, 422, 446, 13, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 12045, 18, 9838, 7675, 4285, 5621, 7734, 514, 1479, 273, 4519, 337, 18, 588, 2594, 5621, 7734, 368, 6609, 326, 3323, 5774, 7734, 1018, 11913, 273, 31991, 278, 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, 11795, 12, 6759, 2828, 4791, 16, 3877, 1339, 13, 288, 3639, 775, 288, 5411, 309, 261, 291, 2829, 13, 288, 7734, 613, 2932, 23089, 358, 11795, 315, 397, 4791, 18, 17994, 10663, 5411, 289, 5411, 22059, 1079, 883, 273, 4791, 18, 24906, 5621, 5411, 368, 1684, 392, 526, 434, 326, 12045, 487, 21352, 1887, 2184, 5411, 2200, 12045, 273, 4791, 18, 588, 22740, 5621, 5411, 21352, 1887, 3091, 8526, 273, 394, 21352, 1887, 63, 27925, 18, 1467, 1435, 15533, 5411, 509, 525, 273, 374, 31, 5411, 364, 261, 3198, 277, 273, 12045, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 525, 27245, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 77, 18, 4285, 2 ]
natBiz.updateUserPersonalID(ssn,newSsnOrName);
try { User user = uBiz.getUser(ssn); if (user != null) { user.setPersonalID(newSsnOrName); } } catch (FinderException e1) { e1.printStackTrace(); }
protected boolean storeNationRegisterEntry() throws RemoteException, CreateException { //variables String symbol = getProperty(COLUMN_SYMBOL); String oldId = getProperty(COLUMN_OLD_ID); String ssn = getProperty(COLUMN_SSN); String familyId = getProperty(COLUMN_FAMILY_ID); String name = getProperty(COLUMN_NAME); String commune = getProperty(COLUMN_COMMUNE); String street = getProperty(COLUMN_STREET); String building = getProperty(COLUMN_BUILDING); String floor = getProperty(COLUMN_FLOOR); String sex = getProperty(COLUMN_SEX); String maritialStatus = getProperty(COLUMN_MARITIAL_STATUS); String empty = getProperty(COLUMN_EMPTY); String prohibitMarking = getProperty(COLUMN_NO_MAIL); String nationality = getProperty(COLUMN_NATIONALITY); String placeOfBirth = getProperty(COLUMN_PLACE_OF_BIRTH); String spouseSSN = getProperty(COLUMN_SPOUSE_SSN); String fate = getProperty(COLUMN_STATUS); String parish = getProperty(COLUMN_PARISH); String po = getProperty(COLUMN_PO); String address = getProperty(COLUMN_ADDRESS); String addressCode = getProperty(COLUMN_ADDRESS_CODE); String dateOfModification = getProperty(COLUMN_DATE_OF_MODIFICATION); String placementCode = getProperty(COLUMN_PLACEMENT_CODE); String dateOfCreation = getProperty(COLUMN_DATE_OF_CREATION); String lastDomesticAddress = getProperty(COLUMN_LAST_DOMESTIC_ADDRESS); String agentSsn = getProperty(COLUMN_AGENT_SSN); String sNew = getProperty(COLUMN_NEW); String addressName = getProperty(COLUMN_ADDRESS_NAME); String dateOfDeletion = getProperty(COLUMN_DATE_OF_DELETION); String newSsnOrName = getProperty(COLUMN_NEW_SSN_OR_NAME); String dateOfBirth = getProperty(COLUMN_DATE_OF_BIRTH); Group group; // System.out.println("ssn = " + ssn); boolean success = true; if (ssn == null || ssn.equals("")) return false; if (!relationsOnly) { //initialize business beans and data homes group = getGroupForPostalCode(po); success = natBiz.updateEntry(symbol,oldId,ssn,familyId,name,commune,street,building, floor,sex,maritialStatus,empty,prohibitMarking, nationality,placeOfBirth,spouseSSN,fate,parish,po,address, addressCode, dateOfModification, placementCode, dateOfCreation, lastDomesticAddress, agentSsn, sNew, addressName, dateOfDeletion, newSsnOrName, dateOfBirth, group); if(FATE_DECEASED.equalsIgnoreCase(fate)){ User user; try { user = uBiz.getUser(ssn); } catch (FinderException e) { e.printStackTrace(); return false; } FamilyLogic familyService = getMemberFamilyLogic(); IWTimestamp dom = new IWTimestamp(); if (dateOfModification != null && !"".equals(dateOfModification.trim())) { dom = new IWTimestamp(dateOfModification); } else { dom = IWTimestamp.RightNow(); } familyService.registerAsDeceased(user, dom.getDate(), performer); } if(FATE_CHANGE_PERSONAL_ID.equalsIgnoreCase(fate)){ natBiz.updateUserPersonalID(ssn,newSsnOrName); return true; } if (FATE_REMOVED.equalsIgnoreCase(fate)) { try { User user = uBiz.getUser(ssn); uBiz.deleteUser(user,performer); } catch (Exception e) { e.printStackTrace(); return false; } return true; } if(FATE_CHANGE_OLD_ID.equalsIgnoreCase(fate)){ natBiz.updateUserOldID(oldId,ssn); return true; } if (postalCodeFix) { try { // User user = uBiz.getUser(ssn); if (postalCodeFix) { natBiz.updateUserAddress(uBiz.getUser(ssn), uBiz, address, po); } return true; } catch (Exception e){ return false; } } } // Family is marked as affected, and needs to be updated affectedFamilies.add(familyId); try { // Users previous family is marked as affected, and needs to be updated affectedFamilies.add(getFamilyMemberHome().findBySSN(ssn).getFamilyNr()); } catch (IDORelationshipException e) { e.printStackTrace(); } catch (FinderException e) { //FinderExxception is ignored, since not all users have a family } return success; }
14545 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14545/d52e57a9e553f9088c965d5d87a1f86c885f581f/NationalRegisterFileImportHandlerBean.java/buggy/src/java/is/idega/block/nationalregister/business/NationalRegisterFileImportHandlerBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1707, 50, 367, 3996, 1622, 1435, 1216, 18361, 16, 1788, 503, 288, 202, 202, 759, 7528, 202, 202, 780, 3273, 273, 3911, 12, 11009, 67, 22093, 1769, 202, 202, 780, 1592, 548, 273, 3911, 12, 11009, 67, 11846, 67, 734, 1769, 202, 202, 780, 5202, 82, 273, 3911, 12, 11009, 67, 1260, 50, 1769, 202, 202, 780, 6755, 548, 273, 3911, 12, 11009, 67, 25002, 25554, 67, 734, 1769, 202, 202, 780, 508, 273, 3911, 12, 11009, 67, 1985, 1769, 202, 202, 780, 1543, 7556, 273, 3911, 12, 11009, 67, 4208, 49, 2124, 41, 1769, 202, 202, 780, 19382, 273, 3911, 12, 11009, 67, 882, 862, 1584, 1769, 202, 202, 780, 10504, 273, 3911, 12, 11009, 67, 20215, 1360, 1769, 202, 202, 780, 6346, 273, 3911, 12, 11009, 67, 42, 1502, 916, 1769, 202, 202, 780, 19631, 273, 3911, 12, 11009, 67, 1090, 60, 1769, 202, 202, 780, 21282, 305, 649, 1482, 273, 3911, 12, 11009, 67, 19772, 1285, 6365, 67, 8608, 1769, 202, 202, 780, 1008, 273, 3911, 12, 11009, 67, 13625, 1769, 202, 202, 780, 450, 31597, 3882, 310, 273, 3911, 12, 11009, 67, 3417, 67, 18191, 1769, 202, 202, 780, 290, 367, 7919, 273, 3911, 12, 11009, 67, 50, 2689, 1013, 4107, 1769, 202, 202, 780, 3166, 951, 25791, 273, 3911, 12, 11009, 67, 12134, 67, 3932, 67, 38, 7937, 2455, 1769, 202, 202, 780, 25204, 1202, 1260, 50, 273, 3911, 12, 11009, 67, 55, 2419, 8001, 67, 1260, 50, 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, 1250, 1707, 50, 367, 3996, 1622, 1435, 1216, 18361, 16, 1788, 503, 288, 202, 202, 759, 7528, 202, 202, 780, 3273, 273, 3911, 12, 11009, 67, 22093, 1769, 202, 202, 780, 1592, 548, 273, 3911, 12, 11009, 67, 11846, 67, 734, 1769, 202, 202, 780, 5202, 82, 273, 3911, 12, 11009, 67, 1260, 50, 1769, 202, 202, 780, 6755, 548, 273, 3911, 12, 11009, 67, 25002, 25554, 67, 734, 1769, 202, 202, 780, 508, 273, 3911, 12, 11009, 67, 1985, 1769, 202, 202, 780, 1543, 7556, 273, 3911, 12, 11009, 67, 4208, 49, 2124, 41, 1769, 202, 202, 780, 19382, 273, 3911, 12, 11009, 67, 882, 862, 1584, 1769, 202, 202, 780, 10504, 273, 3911, 12, 2 ]
private void readFeaturesInfo() { long featuresStamp = BootLoader.getCurrentPlatformConfiguration().getFeaturesChangeStamp(); IDialogSettings settings = WorkbenchPlugin.getDefault().getDialogSettings(); boolean newFeatures = true; try { newFeatures = settings.getLong(FEATURES_CHANGE_STAMP) != featuresStamp; } catch (NumberFormatException e) { } if(newFeatures) settings.put(FEATURES_CHANGE_STAMP,featuresStamp); String[] oldFeaturesArray = settings.getArray(INSTALLED_FEATURES); List oldFeatures = null; if (oldFeaturesArray != null) oldFeatures = Arrays.asList(oldFeaturesArray); ArrayList aboutInfos = new ArrayList(); ArrayList newAboutInfos = new ArrayList(); if(newFeatures) { //Keep all references to VersionedIdentifier. Do not want to activate //update plugin unless needed. VersionedIdentifier featureEntries[] = collectFeatures(); String[] idArray = new String[featureEntries.length]; for (int i = 0; i < featureEntries.length; i++) { VersionedIdentifier entry = (VersionedIdentifier)featureEntries[i]; String id = entry.getIdentifier(); PluginVersionIdentifier vid = entry.getVersion(); String versionedId = id + ":" + vid; idArray[i] = versionedId; try { AboutInfo info = new AboutInfo(id, vid); aboutInfos.add(info); if (oldFeatures != null && !oldFeatures.contains(versionedId)) // only report a feature as new if we have a previous record of old features newAboutInfos.add(info); } catch (RuntimeException e) { if (WorkbenchPlugin.DEBUG) // only report ini problems if the -debug command line argument is used WorkbenchPlugin.log("Error parsing version \"" + vid + "\" for plugin: " + id + " in Workbench.readFeaturesInfo()"); // continue } } settings.put(INSTALLED_FEATURES, idArray); } // ensure a consistent ordering Collections.sort(aboutInfos, new Comparator() { Collator coll = Collator.getInstance(); public int compare(Object a, Object b) { AboutInfo infoA = (AboutInfo) a; AboutInfo infoB = (AboutInfo) b; int c = coll.compare(infoA.getFeatureId(), infoB.getFeatureId()); if (c == 0) { c = infoA.getVersionId().isGreaterThan(infoB.getVersionId()) ? 1 : -1; } return c; } }); featuresInfo = new AboutInfo[aboutInfos.size()]; aboutInfos.toArray(featuresInfo); for (int i = 0; i < featuresInfo.length; i++) { try { featuresInfo[i].readINIFile(); // Exclude any feature for which there is no corresponding plug-in if (featuresInfo[i].getDescriptor() == null) { aboutInfos.remove(featuresInfo[i]); newAboutInfos.remove(featuresInfo[i]); } } catch (CoreException e) { if (WorkbenchPlugin.DEBUG) // only report ini problems if the -debug command line argument is used WorkbenchPlugin.log("Error reading about info file for feature: " + featuresInfo[i].getFeatureId(), e.getStatus()); //$NON-NLS-1$ } } newFeaturesInfo = new AboutInfo[newAboutInfos.size()]; newAboutInfos.toArray(newFeaturesInfo); if (aboutInfos.size() < featuresInfo.length) { featuresInfo = new AboutInfo[aboutInfos.size()]; aboutInfos.toArray(featuresInfo); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/25425fe3505bc6f62e9021f3f79e33d77a752241/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 855, 8696, 966, 1435, 288, 202, 202, 5748, 4467, 8860, 273, 26254, 2886, 18, 588, 3935, 8201, 1750, 7675, 588, 8696, 3043, 8860, 5621, 202, 202, 734, 3529, 2628, 1947, 273, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 6353, 2628, 5621, 202, 202, 6494, 394, 8696, 273, 638, 31, 202, 202, 698, 288, 1082, 202, 2704, 8696, 273, 1947, 18, 588, 3708, 12, 18257, 55, 67, 14473, 67, 12192, 13, 480, 4467, 8860, 31, 202, 202, 97, 225, 1044, 261, 1854, 9291, 425, 13, 288, 202, 202, 97, 202, 202, 430, 12, 2704, 8696, 13, 1082, 202, 4272, 18, 458, 12, 18257, 55, 67, 14473, 67, 12192, 16, 7139, 8860, 1769, 6862, 202, 780, 8526, 1592, 8696, 1076, 273, 1947, 18, 588, 1076, 12, 19784, 27751, 67, 18257, 55, 1769, 202, 202, 682, 1592, 8696, 273, 446, 31, 202, 202, 430, 261, 1673, 8696, 1076, 480, 446, 13, 9506, 1592, 8696, 273, 5647, 18, 345, 682, 12, 1673, 8696, 1076, 1769, 202, 202, 19558, 2973, 7655, 273, 394, 2407, 5621, 202, 202, 19558, 394, 24813, 7655, 273, 394, 2407, 5621, 6862, 9506, 202, 430, 12, 2704, 8696, 13, 288, 1082, 202, 759, 11523, 777, 5351, 358, 18607, 3004, 18, 2256, 486, 2545, 358, 10235, 1082, 202, 759, 2725, 1909, 3308, 3577, 18, 1082, 202, 23676, 3004, 2572, 5400, 8526, 273, 3274, 8696, 5621, 1082, 202, 780, 8526, 612, 1076, 273, 394, 514, 63, 7238, 5400, 18, 2469, 15533, 9506, 202, 1884, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 855, 8696, 966, 1435, 288, 202, 202, 5748, 4467, 8860, 273, 26254, 2886, 18, 588, 3935, 8201, 1750, 7675, 588, 8696, 3043, 8860, 5621, 202, 202, 734, 3529, 2628, 1947, 273, 4147, 22144, 3773, 18, 588, 1868, 7675, 588, 6353, 2628, 5621, 202, 202, 6494, 394, 8696, 273, 638, 31, 202, 202, 698, 288, 1082, 202, 2704, 8696, 273, 1947, 18, 588, 3708, 12, 18257, 55, 67, 14473, 67, 12192, 13, 480, 4467, 8860, 31, 202, 202, 97, 225, 1044, 261, 1854, 9291, 425, 13, 288, 202, 202, 97, 202, 202, 430, 12, 2704, 8696, 13, 1082, 202, 4272, 18, 458, 12, 18257, 55, 67, 14473, 67, 12192, 16, 7139, 8860, 1769, 6862, 202, 780, 2 ]
public double asin(double d) {
public static double asin(double d) {
public double asin(double d) { if ((d != d) || (d > 1.0) || (d < -1.0)) return Double.NaN; return Math.asin(d); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/82efeb07bf03c350832626dc9d3e0233a3b0f851/NativeMath.java/buggy/org/mozilla/javascript/NativeMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1645, 487, 267, 12, 9056, 302, 13, 288, 3639, 309, 14015, 72, 480, 302, 13, 1171, 747, 261, 72, 405, 404, 18, 20, 13, 7734, 747, 261, 72, 411, 300, 21, 18, 20, 3719, 5411, 327, 3698, 18, 21172, 31, 3639, 327, 2361, 18, 345, 267, 12, 72, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1645, 487, 267, 12, 9056, 302, 13, 288, 3639, 309, 14015, 72, 480, 302, 13, 1171, 747, 261, 72, 405, 404, 18, 20, 13, 7734, 747, 261, 72, 411, 300, 21, 18, 20, 3719, 5411, 327, 3698, 18, 21172, 31, 3639, 327, 2361, 18, 345, 267, 12, 72, 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 ]
commandIdsByCategoryId = new HashMap(); for (Iterator iterator = commandService.getDefinedCommandIds() .iterator(); iterator.hasNext();) { final Command command = commandService .getCommand((String) iterator.next()); if (!isActive(command)) { continue; } try { String categoryId = command.getCategory().getId(); Collection commandIds = (Collection) commandIdsByCategoryId .get(categoryId); if (commandIds == null) { commandIds = new HashSet(); commandIdsByCategoryId.put(categoryId, commandIds); } commandIds.add(command.getId()); } catch (NotDefinedException eNotDefined) { } }
public final void setVisible(final boolean visible) { if (visible == true) { Map contextsByName = new HashMap(); for (Iterator iterator = contextService.getDefinedContextIds() .iterator(); iterator.hasNext();) { Context context = contextService.getContext((String) iterator .next()); try { String name = context.getName(); Collection contexts = (Collection) contextsByName.get(name); if (contexts == null) { contexts = new HashSet(); contextsByName.put(name, contexts); } contexts.add(context); } catch (final NotDefinedException e) { // Do nothing. } } Map categoriesByName = new HashMap(); for (Iterator iterator = commandService.getDefinedCategoryIds() .iterator(); iterator.hasNext();) { Category category = commandService .getCategory((String) iterator.next()); try { String name = category.getName(); Collection categories = (Collection) categoriesByName .get(name); if (categories == null) { categories = new HashSet(); categoriesByName.put(name, categories); } categories.add(category); } catch (NotDefinedException eNotDefined) { // Do nothing } } Map commandsByName = new HashMap(); for (Iterator iterator = commandService.getDefinedCommandIds() .iterator(); iterator.hasNext();) { Command command = commandService.getCommand((String) iterator .next()); if (!isActive(command)) { continue; } try { String name = command.getName(); Collection commands = (Collection) commandsByName.get(name); if (commands == null) { commands = new HashSet(); commandsByName.put(name, commands); } commands.add(command); } catch (NotDefinedException eNotDefined) { // Do nothing } } Map schemesByName = new HashMap(); final Scheme[] definedSchemes = bindingService.getDefinedSchemes(); for (int i = 0; i < definedSchemes.length; i++) { final Scheme scheme = definedSchemes[i]; try { String name = scheme.getName(); Collection schemes = (Collection) schemesByName.get(name); if (schemes == null) { schemes = new HashSet(); schemesByName.put(name, schemes); } schemes.add(scheme); } catch (final NotDefinedException e) { // Do nothing. } } contextIdsByUniqueName = new HashMap(); contextUniqueNamesById = new HashMap(); for (Iterator iterator = contextsByName.entrySet().iterator(); iterator .hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); String name = (String) entry.getKey(); Set contexts = (Set) entry.getValue(); Iterator iterator2 = contexts.iterator(); if (contexts.size() == 1) { Context context = (Context) iterator2.next(); contextIdsByUniqueName.put(name, context.getId()); contextUniqueNamesById.put(context.getId(), name); } else { while (iterator2.hasNext()) { Context context = (Context) iterator2.next(); String uniqueName = MessageFormat.format( Util.translateString(RESOURCE_BUNDLE, "uniqueName"), new Object[] { name, //$NON-NLS-1$ context.getId() }); contextIdsByUniqueName.put(uniqueName, context.getId()); contextUniqueNamesById.put(context.getId(), uniqueName); } } } categoryIdsByUniqueName = new HashMap(); categoryUniqueNamesById = new HashMap(); for (Iterator iterator = categoriesByName.entrySet().iterator(); iterator .hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); String name = (String) entry.getKey(); Set categories = (Set) entry.getValue(); Iterator iterator2 = categories.iterator(); if (categories.size() == 1) { Category category = (Category) iterator2.next(); categoryIdsByUniqueName.put(name, category.getId()); categoryUniqueNamesById.put(category.getId(), name); } else { while (iterator2.hasNext()) { Category category = (Category) iterator2.next(); String uniqueName = MessageFormat.format( Util.translateString(RESOURCE_BUNDLE, "uniqueName"), new Object[] { name, //$NON-NLS-1$ category.getId() }); categoryIdsByUniqueName.put(uniqueName, category .getId()); categoryUniqueNamesById.put(category.getId(), uniqueName); } } } schemeIdsByUniqueName = new HashMap(); schemeUniqueNamesById = new HashMap(); for (Iterator iterator = schemesByName.entrySet().iterator(); iterator .hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); String name = (String) entry.getKey(); Set keyConfigurations = (Set) entry.getValue(); Iterator iterator2 = keyConfigurations.iterator(); if (keyConfigurations.size() == 1) { Scheme scheme = (Scheme) iterator2.next(); schemeIdsByUniqueName.put(name, scheme.getId()); schemeUniqueNamesById.put(scheme.getId(), name); } else { while (iterator2.hasNext()) { Scheme scheme = (Scheme) iterator2.next(); String uniqueName = MessageFormat.format( Util.translateString(RESOURCE_BUNDLE, "uniqueName"), new Object[] { name, //$NON-NLS-1$ scheme.getId() }); schemeIdsByUniqueName.put(uniqueName, scheme.getId()); schemeUniqueNamesById.put(scheme.getId(), uniqueName); } } } Scheme activeScheme = bindingService.getActiveScheme(); commandIdsByCategoryId = new HashMap(); for (Iterator iterator = commandService.getDefinedCommandIds() .iterator(); iterator.hasNext();) { final Command command = commandService .getCommand((String) iterator.next()); if (!isActive(command)) { continue; } try { String categoryId = command.getCategory().getId(); Collection commandIds = (Collection) commandIdsByCategoryId .get(categoryId); if (commandIds == null) { commandIds = new HashSet(); commandIdsByCategoryId.put(categoryId, commandIds); } commandIds.add(command.getId()); } catch (NotDefinedException eNotDefined) { // Do nothing } } // Make an internal copy of the binding manager, for local changes. try { for (int i = 0; i < definedSchemes.length; i++) { final Scheme scheme = definedSchemes[i]; final Scheme copy = localChangeManager.getScheme(scheme .getId()); copy.define(scheme.getName(), scheme.getDescription(), scheme.getParentId()); } localChangeManager.setActiveScheme(bindingService .getActiveScheme()); } catch (final NotDefinedException e) { throw new Error( "There is a programmer error in the keys preference page"); //$NON-NLS-1$ } localChangeManager.setLocale(bindingService.getLocale()); localChangeManager.setPlatform(bindingService.getPlatform()); localChangeManager.setBindings(bindingService.getBindings()); // Populate the category combo box. List categoryNames = new ArrayList(categoryIdsByUniqueName.keySet()); Collections.sort(categoryNames, Collator.getInstance()); if (commandIdsByCategoryId.containsKey(null)) { categoryNames.add(0, Util.translateString(RESOURCE_BUNDLE, "other")); //$NON-NLS-1$ } comboCategory.setItems((String[]) categoryNames .toArray(new String[categoryNames.size()])); comboCategory.clearSelection(); comboCategory.deselectAll(); if (commandIdsByCategoryId.containsKey(null) || !categoryNames.isEmpty()) { comboCategory.select(0); } // Populate the scheme combo box. List schemeNames = new ArrayList(schemeIdsByUniqueName.keySet()); Collections.sort(schemeNames, Collator.getInstance()); comboScheme.setItems((String[]) schemeNames .toArray(new String[schemeNames.size()])); setScheme(activeScheme); // Update the entire page. update(true); } super.setVisible(visible); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/030388c4de752d205b9688c365d4e94f2ac90640/KeysPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/KeysPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 16697, 12, 6385, 1250, 6021, 13, 288, 202, 202, 430, 261, 8613, 422, 638, 13, 288, 1082, 202, 863, 5781, 5911, 273, 394, 4317, 5621, 1082, 202, 1884, 261, 3198, 2775, 273, 819, 1179, 18, 588, 8116, 1042, 2673, 1435, 6862, 202, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 1042, 819, 273, 819, 1179, 18, 29120, 12443, 780, 13, 2775, 25083, 202, 18, 4285, 10663, 9506, 202, 698, 288, 6862, 202, 780, 508, 273, 819, 18, 17994, 5621, 6862, 202, 2532, 5781, 273, 261, 2532, 13, 5781, 5911, 18, 588, 12, 529, 1769, 6862, 202, 430, 261, 18332, 422, 446, 13, 288, 25083, 202, 18332, 273, 394, 6847, 5621, 25083, 202, 18332, 5911, 18, 458, 12, 529, 16, 5781, 1769, 6862, 202, 97, 6862, 202, 18332, 18, 1289, 12, 2472, 1769, 9506, 202, 97, 1044, 261, 6385, 2288, 8116, 503, 425, 13, 288, 6862, 202, 759, 2256, 5083, 18, 9506, 202, 97, 1082, 202, 97, 1082, 202, 863, 6477, 5911, 273, 394, 4317, 5621, 1082, 202, 1884, 261, 3198, 2775, 273, 1296, 1179, 18, 588, 8116, 4457, 2673, 1435, 6862, 202, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 4457, 3150, 273, 1296, 1179, 25083, 202, 18, 588, 4457, 12443, 780, 13, 2775, 18, 4285, 10663, 9506, 202, 698, 288, 6862, 202, 780, 508, 273, 3150, 18, 17994, 5621, 6862, 202, 2532, 6477, 273, 261, 2532, 13, 6477, 5911, 6862, 1082, 202, 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, 225, 202, 482, 727, 918, 16697, 12, 6385, 1250, 6021, 13, 288, 202, 202, 430, 261, 8613, 422, 638, 13, 288, 1082, 202, 863, 5781, 5911, 273, 394, 4317, 5621, 1082, 202, 1884, 261, 3198, 2775, 273, 819, 1179, 18, 588, 8116, 1042, 2673, 1435, 6862, 202, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 1042, 819, 273, 819, 1179, 18, 29120, 12443, 780, 13, 2775, 25083, 202, 18, 4285, 10663, 9506, 202, 698, 288, 6862, 202, 780, 508, 273, 819, 18, 17994, 5621, 6862, 202, 2532, 5781, 273, 261, 2532, 13, 5781, 5911, 18, 588, 12, 529, 1769, 6862, 202, 430, 261, 18332, 422, 446, 13, 288, 25083, 202, 18332, 273, 394, 6847, 5621, 2 ]
public IStatus execute(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info) throws ExecutionException { Assert.isNotNull(operation); // error if operation is invalid if (!operation.canExecute()) { return IOperationHistory.OPERATION_INVALID_STATUS; } /* * If we are in the middle of an open batch, then we will add this * operation's contexts to the open operation rather than add the * operation to the history. We will still execute it, but will dispose * of it afterward. Operations triggered during an operation are assumed * to be model-related and we assume the undo of this related operation * will be triggered automatically by the undo of the batching * operation. */ boolean merging = false; if (openComposite != null) { // the composite shouldn't be executed explicitly while it is still // open if (openComposite == operation) { return IOperationHistory.OPERATION_INVALID_STATUS; } openComposite.add(operation); merging = true; } /* * Execute the operation */ if (!merging) notifyAboutToExecute(operation); IStatus status; try { status = operation.execute(monitor, info); } catch (OperationCanceledException e) { status = Status.CANCEL_STATUS; } catch (ExecutionException e) { notifyNotOK(operation); throw e; } catch (Exception e) { notifyNotOK(operation); throw new ExecutionException( "While executing the operation, an exception occurred", e); //$NON-NLS-1$ } // if successful, the notify listeners are notified and the operation is // added to the history if (!merging) { if (status.isOK()) { notifyDone(operation); // Only add the operation to the history if it can indeed be // undone. // This conservatism is added to support the integration of // existing // frameworks (such as Refactoring) that may be using a history // to execute // all operations, even those that are not undoable. // See bug #84444 if (operation.canUndo()) { add(operation); } } else { notifyNotOK(operation); } } else { // dispose of this operation since it is not to be kept in the // history operation.dispose(); } // all other severities are not interpreted. Simply return the status. return status; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/6ed55bf13812d560205c1b00eb562c4b4f631565/DefaultOperationHistory.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 1836, 12, 45, 31224, 429, 2988, 1674, 16, 1082, 202, 45, 5491, 7187, 6438, 16, 467, 13716, 429, 1123, 13, 1082, 202, 15069, 20205, 288, 202, 202, 8213, 18, 291, 5962, 12, 7624, 1769, 202, 202, 759, 555, 309, 1674, 353, 2057, 202, 202, 430, 16051, 7624, 18, 4169, 5289, 10756, 288, 1082, 202, 2463, 1665, 1193, 5623, 18, 22040, 67, 9347, 67, 8608, 31, 202, 202, 97, 202, 202, 20308, 1082, 380, 971, 732, 854, 316, 326, 7689, 434, 392, 1696, 2581, 16, 1508, 732, 903, 527, 333, 1082, 380, 1674, 1807, 5781, 358, 326, 1696, 1674, 9178, 2353, 527, 326, 1082, 380, 1674, 358, 326, 4927, 18, 1660, 903, 4859, 1836, 518, 16, 1496, 903, 15825, 1082, 380, 434, 518, 1839, 2913, 18, 25938, 10861, 4982, 392, 1674, 854, 12034, 1082, 380, 358, 506, 938, 17, 9243, 471, 732, 6750, 326, 15436, 434, 333, 3746, 1674, 1082, 380, 903, 506, 10861, 6635, 635, 326, 15436, 434, 326, 2581, 310, 1082, 380, 1674, 18, 1082, 1195, 202, 202, 6494, 17256, 273, 629, 31, 202, 202, 430, 261, 3190, 9400, 480, 446, 13, 288, 1082, 202, 759, 326, 9635, 12044, 1404, 506, 7120, 8122, 1323, 518, 353, 4859, 1082, 202, 759, 1696, 1082, 202, 430, 261, 3190, 9400, 422, 1674, 13, 288, 9506, 202, 2463, 1665, 1193, 5623, 18, 22040, 67, 9347, 67, 8608, 31, 1082, 202, 97, 1082, 202, 3190, 9400, 18, 1289, 12, 7624, 1769, 1082, 202, 6592, 1998, 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, 467, 1482, 1836, 12, 45, 31224, 429, 2988, 1674, 16, 1082, 202, 45, 5491, 7187, 6438, 16, 467, 13716, 429, 1123, 13, 1082, 202, 15069, 20205, 288, 202, 202, 8213, 18, 291, 5962, 12, 7624, 1769, 202, 202, 759, 555, 309, 1674, 353, 2057, 202, 202, 430, 16051, 7624, 18, 4169, 5289, 10756, 288, 1082, 202, 2463, 1665, 1193, 5623, 18, 22040, 67, 9347, 67, 8608, 31, 202, 202, 97, 202, 202, 20308, 1082, 380, 971, 732, 854, 316, 326, 7689, 434, 392, 1696, 2581, 16, 1508, 732, 903, 527, 333, 1082, 380, 1674, 1807, 5781, 358, 326, 1696, 1674, 9178, 2353, 527, 326, 1082, 380, 1674, 358, 326, 4927, 18, 1660, 903, 4859, 1836, 518, 2 ]
throw new ClassNotFoundException(className, x);
public Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException { if (loader == null) loader = Thread.currentThread().getContextClassLoader(); String p_useCodebaseOnly = System.getProperty("java.rmi.server.useCodebaseOnly"); boolean useCodebaseOnly = p_useCodebaseOnly != null && p_useCodebaseOnly.trim().equalsIgnoreCase("true"); try { if (remoteCodebase != null && !useCodebaseOnly) return RMIClassLoader.loadClass(remoteCodebase, className); } catch (Exception e) { // This failed but try others. } try { if (remoteCodebase == null || useCodebaseOnly) return RMIClassLoader.loadClass(remoteCodebase, className); } catch (Exception e) { // This failed but try others. } if (loader != null) return Class.forName(className, true, loader); throw new ClassNotFoundException(className + " at " + remoteCodebase); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/8aca770e8d35da673d8eb49f99ed69d9e4077aca/UtilDelegateImpl.java/clean/gnu/javax/rmi/CORBA/UtilDelegateImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 293, 440, 933, 76, 492, 394, 10403, 12, 12434, 16, 619, 1769, 3905, 345, 20244, 492, 394, 10403, 12, 12434, 16, 619, 1769, 16038, 12, 780, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 2658, 16, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 514, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 2632, 1085, 1969, 16, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 9403, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 4088, 13, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 20244, 492, 394, 10403, 12, 12434, 16, 619, 1769, 10403, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 288, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 309, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 261, 6714, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 422, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 446, 13, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 604, 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, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 293, 440, 933, 76, 492, 394, 10403, 12, 12434, 16, 619, 1769, 3905, 345, 20244, 492, 394, 10403, 12, 12434, 16, 619, 1769, 16038, 12, 780, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 2658, 16, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 514, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 2632, 1085, 1969, 16, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 604, 394, 10403, 12, 12434, 16, 619, 1769, 9403, 12849, 394, 10403, 12, 12434, 16, 619, 1769, 4088, 13, 12849, 394, 10403, 2 ]
}
}
public void addExpectedMissing( Object key ) { myKeys.addExpected(key); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/ExpectationMap.java/clean/jmock/core/src/org/jmock/expectation/ExpectationMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 6861, 4841, 12, 1033, 498, 262, 288, 202, 202, 4811, 2396, 18, 1289, 6861, 12, 856, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 6861, 4841, 12, 1033, 498, 262, 288, 202, 202, 4811, 2396, 18, 1289, 6861, 12, 856, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int jsHandler = classFile.markHandler(acquireLabel()); short exceptionObject = getNewWordLocal(); astore(exceptionObject); aload(savedVariableObject); astore(variableObjectLocal); aload(exceptionObject); releaseWordLocal(exceptionObject); addScriptRuntimeInvoke("unwrapJavaScriptException", "(Lorg/mozilla/javascript/JavaScriptException;)", "Ljava/lang/Object;");
private void visitTryCatchFinally(Node node, Node child) { /* Save the variable object, in case there are with statements * enclosed by the try block and we catch some exception. * We'll restore it for the catch block so that catch block * statements get the right scope. */ // OPT we only need to do this if there are enclosed WITH // statements; could statically check and omit this if there aren't any. // XXX OPT Maybe instead do syntactic transforms to associate // each 'with' with a try/finally block that does the exitwith. // For that matter: Why do we have leavewith? // XXX does Java have any kind of MOV(reg, reg)? short savedVariableObject = getNewWordLocal(); aload(variableObjectLocal); astore(savedVariableObject); /* * Generate the code for the tree; most of the work is done in IRFactory * and NodeTransformer; Codegen just adds the java handlers for the * javascript catch and finally clauses. */ // need to set the stack top to 1 to account for the incoming exception int startLabel = markLabel(acquireLabel(), (short)1); visitStatement(node); while (child != null) { generateCodeFromNode(child, node, -1, -1); child = child.getNextSibling(); } Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); // control flow skips the handlers int realEnd = acquireLabel(); addByteCode(ByteCode.GOTO, realEnd); // javascript handler; unwrap exception and GOTO to javascript // catch area. if (catchTarget != null) { int jsHandler = classFile.markHandler(acquireLabel()); // MS JVM gets cranky if the exception object is left on the stack short exceptionObject = getNewWordLocal(); astore(exceptionObject); // reset the variable object local aload(savedVariableObject); astore(variableObjectLocal); aload(exceptionObject); releaseWordLocal(exceptionObject); // unwrap the exception... addScriptRuntimeInvoke("unwrapJavaScriptException", "(Lorg/mozilla/javascript/JavaScriptException;)", "Ljava/lang/Object;"); // get the label to goto int catchLabel = ((Integer)catchTarget.getProp(Node.LABEL_PROP)).intValue(); addByteCode(ByteCode.GOTO, catchLabel); // mark the handler classFile.addExceptionHandler (startLabel, catchLabel, jsHandler, "org/mozilla/javascript/JavaScriptException"); /* we also need to catch EcmaErrors and feed the associated error object to the handler */ jsHandler = classFile.markHandler(acquireLabel()); exceptionObject = getNewWordLocal(); astore(exceptionObject); aload(savedVariableObject); astore(variableObjectLocal); aload(exceptionObject); addVirtualInvoke("org/mozilla/javascript/EcmaError", "getErrorObject", "()", "Lorg/mozilla/javascript/Scriptable;"); releaseWordLocal(exceptionObject); addByteCode(ByteCode.GOTO, catchLabel); classFile.addExceptionHandler (startLabel, catchLabel, jsHandler, "org/mozilla/javascript/EcmaError"); } // finally handler; catch all exceptions, store to a local; JSR to // the finally, then re-throw. if (finallyTarget != null) { int finallyHandler = classFile.markHandler(acquireLabel()); // reset the variable object local aload(savedVariableObject); astore(variableObjectLocal); short exnLocal = itsLocalAllocationBase++; astore(exnLocal); // get the label to JSR to int finallyLabel = ((Integer)finallyTarget.getProp(Node.LABEL_PROP)).intValue(); addByteCode(ByteCode.JSR, finallyLabel); // rethrow aload(exnLocal); addByteCode(ByteCode.ATHROW); // mark the handler classFile.addExceptionHandler(startLabel, finallyLabel, finallyHandler, null); // catch any } releaseWordLocal(savedVariableObject); markLabel(realEnd); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/f7a0fa338c9770cfddd37fbddd87bffd69e5df22/Codegen.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 7833, 14842, 29987, 12, 907, 756, 16, 2029, 1151, 13, 288, 3639, 1748, 7074, 326, 2190, 733, 16, 316, 648, 1915, 854, 598, 6317, 540, 380, 25636, 635, 326, 775, 1203, 471, 732, 1044, 2690, 1520, 18, 540, 380, 1660, 5614, 5217, 518, 364, 326, 1044, 1203, 1427, 716, 1044, 1203, 540, 380, 6317, 336, 326, 2145, 2146, 18, 540, 1195, 3639, 368, 16456, 732, 1338, 1608, 358, 741, 333, 309, 1915, 854, 25636, 13601, 3639, 368, 6317, 31, 3377, 760, 1230, 866, 471, 14088, 333, 309, 1915, 11526, 1404, 1281, 18, 3639, 368, 11329, 16456, 14024, 3560, 741, 1393, 21844, 13680, 358, 13251, 3639, 368, 1517, 296, 1918, 11, 598, 279, 775, 19, 23417, 1203, 716, 1552, 326, 2427, 1918, 18, 3639, 368, 2457, 716, 15177, 30, 225, 3497, 93, 741, 732, 1240, 884, 842, 359, 483, 35, 3639, 368, 11329, 1552, 5110, 1240, 1281, 3846, 434, 16070, 58, 12, 1574, 16, 960, 9945, 3639, 3025, 5198, 3092, 921, 273, 12654, 3944, 2042, 5621, 3639, 279, 945, 12, 6105, 921, 2042, 1769, 3639, 279, 2233, 12, 14077, 3092, 921, 1769, 3639, 1748, 540, 380, 6654, 326, 981, 364, 326, 2151, 31, 4486, 434, 326, 1440, 353, 2731, 316, 15908, 1733, 540, 380, 471, 2029, 8319, 31, 225, 3356, 4507, 2537, 4831, 326, 2252, 4919, 364, 326, 540, 380, 11341, 1044, 471, 3095, 14093, 18, 225, 1195, 3639, 368, 1608, 358, 444, 326, 2110, 1760, 358, 404, 358, 2236, 364, 326, 6935, 1520, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 7833, 14842, 29987, 12, 907, 756, 16, 2029, 1151, 13, 288, 3639, 1748, 7074, 326, 2190, 733, 16, 316, 648, 1915, 854, 598, 6317, 540, 380, 25636, 635, 326, 775, 1203, 471, 732, 1044, 2690, 1520, 18, 540, 380, 1660, 5614, 5217, 518, 364, 326, 1044, 1203, 1427, 716, 1044, 1203, 540, 380, 6317, 336, 326, 2145, 2146, 18, 540, 1195, 3639, 368, 16456, 732, 1338, 1608, 358, 741, 333, 309, 1915, 854, 25636, 13601, 3639, 368, 6317, 31, 3377, 760, 1230, 866, 471, 14088, 333, 309, 1915, 11526, 1404, 1281, 18, 3639, 368, 11329, 16456, 14024, 3560, 741, 1393, 21844, 13680, 358, 13251, 3639, 368, 1517, 296, 1918, 11, 598, 279, 775, 19, 23417, 2 ]
"V");
"Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.ASTORE_1); cfw.add(ByteCode.ALOAD_0); cfw.add(ByteCode.ALOAD_1); cfw.add(ByteCode.PUTFIELD, adapterName, "self", "Lorg/mozilla/javascript/Scriptable;");
private static void generateEmptyCtor(ClassFileWriter cfw, String adapterName, String superName, String scriptClassName) { cfw.startMethod("<init>", "()V", ClassFileWriter.ACC_PUBLIC); // Invoke base class constructor cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.INVOKESPECIAL, superName, "<init>", "()", "V"); // Load script class cfw.add(ByteCode.NEW, scriptClassName); cfw.add(ByteCode.DUP); cfw.add(ByteCode.INVOKESPECIAL, scriptClassName, "<init>", "()", "V"); // Run script and save resulting scope cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/ScriptRuntime", "runScript", "(Lorg/mozilla/javascript/Script;)", "Lorg/mozilla/javascript/Scriptable;"); cfw.add(ByteCode.ASTORE_1); // Save the Scriptable in instance variable "self" cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.ALOAD_1); // the Scriptable cfw.add(ByteCode.PUTFIELD, adapterName, "self", "Lorg/mozilla/javascript/Scriptable;"); // Set the prototype of the js object to be a LiveConnect // wrapper of the generated class's object cfw.add(ByteCode.ALOAD_1); // the Scriptable cfw.add(ByteCode.ALOAD_0); // this cfw.add(ByteCode.INVOKESTATIC, "org/mozilla/javascript/ScriptRuntime", "setAdapterProto", "(Lorg/mozilla/javascript/Scriptable;" + "Ljava/lang/Object;)", "V"); cfw.add(ByteCode.RETURN); cfw.stopMethod((short)20, null); // TODO: magic number "20" }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/394383a65dd802c3dde5b8a2f99b406cd7527b4f/JavaAdapter.java/clean/org/mozilla/javascript/JavaAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2103, 1921, 27425, 12, 797, 812, 2289, 6080, 91, 16, 514, 4516, 461, 16, 4766, 6647, 514, 2240, 461, 16, 514, 2728, 3834, 13, 377, 288, 3639, 6080, 91, 18, 1937, 1305, 2932, 32, 2738, 2984, 16, 25605, 58, 3113, 30614, 2289, 18, 31414, 67, 14939, 1769, 7734, 368, 14373, 1026, 667, 3885, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 225, 368, 333, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 706, 17691, 3991, 10106, 6365, 16, 2240, 461, 16, 3532, 2738, 2984, 16, 25605, 3113, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 225, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 9053, 8607, 67, 21, 1769, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 21, 1769, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 4762, 6776, 16, 4516, 461, 16, 315, 2890, 3113, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 7734, 368, 4444, 2728, 667, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 12917, 16, 2728, 3834, 1769, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 30387, 1769, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 706, 17691, 3991, 10106, 6365, 16, 2728, 3834, 16, 3532, 2738, 2984, 16, 25605, 3113, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 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, 918, 2103, 1921, 27425, 12, 797, 812, 2289, 6080, 91, 16, 514, 4516, 461, 16, 4766, 6647, 514, 2240, 461, 16, 514, 2728, 3834, 13, 377, 288, 3639, 6080, 91, 18, 1937, 1305, 2932, 32, 2738, 2984, 16, 25605, 58, 3113, 30614, 2289, 18, 31414, 67, 14939, 1769, 7734, 368, 14373, 1026, 667, 3885, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 225, 368, 333, 3639, 6080, 91, 18, 1289, 12, 3216, 1085, 18, 706, 17691, 3991, 10106, 6365, 16, 2240, 461, 16, 3532, 2738, 2984, 16, 25605, 3113, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 225, 6080, 91, 18, 1289, 12, 3216, 2 ]
public org.quickfix.field.BenchmarkPrice getBenchmarkPrice() throws FieldNotFound { org.quickfix.field.BenchmarkPrice value = new org.quickfix.field.BenchmarkPrice();
public quickfix.field.BenchmarkPrice getBenchmarkPrice() throws FieldNotFound { quickfix.field.BenchmarkPrice value = new quickfix.field.BenchmarkPrice();
public org.quickfix.field.BenchmarkPrice getBenchmarkPrice() throws FieldNotFound { org.quickfix.field.BenchmarkPrice value = new org.quickfix.field.BenchmarkPrice(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteRequest.java/buggy/src/java/src/quickfix/fix44/QuoteRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 2882, 9737, 5147, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 2882, 9737, 5147, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 30672, 5147, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case Context.FEATURE_STRICT_MODE:
case Context.FEATURE_STRICT_VARS: case Context.FEATURE_STRICT_EVAL:
protected boolean hasFeature(Context cx, int featureIndex) { switch (featureIndex) { case Context.FEATURE_STRICT_MODE: return strictMode; } return super.hasFeature(cx, featureIndex); }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/20d9c33ab6d93fbe8c74f8c7fe04403277218a56/ShellContextFactory.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/ShellContextFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 711, 4595, 12, 1042, 9494, 16, 509, 2572, 1016, 13, 565, 288, 3639, 1620, 261, 7238, 1016, 13, 288, 1850, 648, 1772, 18, 18257, 67, 30776, 67, 26088, 30, 648, 1772, 18, 18257, 67, 30776, 67, 41, 2669, 30, 5411, 327, 5490, 2309, 31, 3639, 289, 3639, 327, 2240, 18, 5332, 4595, 12, 71, 92, 16, 2572, 1016, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 711, 4595, 12, 1042, 9494, 16, 509, 2572, 1016, 13, 565, 288, 3639, 1620, 261, 7238, 1016, 13, 288, 1850, 648, 1772, 18, 18257, 67, 30776, 67, 26088, 30, 648, 1772, 18, 18257, 67, 30776, 67, 41, 2669, 30, 5411, 327, 5490, 2309, 31, 3639, 289, 3639, 327, 2240, 18, 5332, 4595, 12, 71, 92, 16, 2572, 1016, 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 ]
JavaProjectHelper.addRTJar(fgJavaTestProject);
fgJRELibrary= JavaProjectHelper.addRTJar(fgJavaTestProject);
protected void setUp() throws Exception { super.setUp(); if (JavaPlugin.getActivePage() != null) JavaPlugin.getActivePage().close(); // Closed perspective is NOT restored in tearDown()! if (fgJavaTestProject != null && fgJavaTestProject.exists()) { int breakpointTarget= 0; breakpointTarget++; } fgJavaTestProject= JavaProjectHelper.createJavaProject("TestProject"+System.currentTimeMillis(), "bin"); JavaProjectHelper.addRTJar(fgJavaTestProject); fgRoot= JavaProjectHelper.addSourceContainer(fgJavaTestProject, CONTAINER); fgPackageP= fgRoot.createPackageFragment("p", true, null); //set compiler options on project Map options= fgJavaTestProject.getOptions(false); JavaProjectHelper.set15CompilerOptions(options); fgJavaTestProject.setOptions(options); // Global options: configured globally in super.setUp(): //JavaCore.setOptions(TestOptions.getFormatterOptions()); //TestOptions.initializeCodeGenerationOptions(); //JavaPlugin.getDefault().getCodeTemplateStore().load(); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/e4d0298389b7e713bc175fe0f0a60fc7e81fd8da/RefactoringTestSetup.java/buggy/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/RefactoringTestSetup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 430, 261, 5852, 3773, 18, 588, 3896, 1964, 1435, 480, 446, 13, 1082, 202, 5852, 3773, 18, 588, 3896, 1964, 7675, 4412, 5621, 368, 25582, 26651, 353, 4269, 18751, 316, 268, 2091, 4164, 1435, 5, 9506, 202, 430, 261, 2137, 5852, 4709, 4109, 480, 446, 597, 10186, 5852, 4709, 4109, 18, 1808, 10756, 288, 1082, 202, 474, 18820, 2326, 33, 374, 31, 18820, 2326, 9904, 31, 202, 202, 97, 202, 202, 2137, 5852, 4709, 4109, 33, 5110, 4109, 2276, 18, 2640, 5852, 4109, 2932, 4709, 4109, 6, 15, 3163, 18, 2972, 28512, 9334, 315, 4757, 8863, 202, 202, 5852, 4109, 2276, 18, 1289, 12185, 10813, 12, 2137, 5852, 4709, 4109, 1769, 202, 202, 2137, 2375, 33, 5110, 4109, 2276, 18, 1289, 1830, 2170, 12, 2137, 5852, 4709, 4109, 16, 8020, 16843, 1769, 202, 202, 2137, 2261, 52, 33, 10186, 2375, 18, 2640, 2261, 7456, 2932, 84, 3113, 638, 16, 446, 1769, 9506, 202, 759, 542, 5274, 702, 603, 1984, 202, 202, 863, 702, 33, 10186, 5852, 4709, 4109, 18, 588, 1320, 12, 5743, 1769, 202, 202, 5852, 4109, 2276, 18, 542, 3600, 9213, 1320, 12, 2116, 1769, 202, 202, 2137, 5852, 4709, 4109, 18, 542, 1320, 12, 2116, 1769, 9506, 202, 759, 8510, 702, 30, 4351, 25654, 316, 2240, 18, 542, 1211, 13332, 202, 202, 759, 5852, 4670, 18, 542, 1320, 12, 4709, 1320, 18, 588, 5074, 1320, 10663, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 430, 261, 5852, 3773, 18, 588, 3896, 1964, 1435, 480, 446, 13, 1082, 202, 5852, 3773, 18, 588, 3896, 1964, 7675, 4412, 5621, 368, 25582, 26651, 353, 4269, 18751, 316, 268, 2091, 4164, 1435, 5, 9506, 202, 430, 261, 2137, 5852, 4709, 4109, 480, 446, 597, 10186, 5852, 4709, 4109, 18, 1808, 10756, 288, 1082, 202, 474, 18820, 2326, 33, 374, 31, 18820, 2326, 9904, 31, 202, 202, 97, 202, 202, 2137, 5852, 4709, 4109, 33, 5110, 4109, 2276, 18, 2640, 5852, 4109, 2932, 4709, 4109, 6, 15, 3163, 18, 2972, 28512, 9334, 315, 4757, 8863, 202, 202, 5852, 4109, 2276, 2 ]
return Boolean.valueOf(o0.compareTo(o1) < 0);
return o0.equals(o1) ? Boolean.FALSE : Boolean.TRUE;
public Object evaluate(Evaluator evaluator, Exp[] args) { String o0 = getStringArg(evaluator, args, 0, null); String o1 = getStringArg(evaluator, args, 1, null); if (o0 == null || o1 == null) { return null; } return Boolean.valueOf(o0.compareTo(o1) < 0); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/8ce2540c398f87f14f1a0a792bb7fcaef78a148a/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 5956, 12, 15876, 18256, 16, 7784, 8526, 833, 13, 288, 7734, 514, 320, 20, 273, 4997, 4117, 12, 14168, 639, 16, 833, 16, 374, 16, 446, 1769, 7734, 514, 320, 21, 273, 4997, 4117, 12, 14168, 639, 16, 833, 16, 404, 16, 446, 1769, 7734, 309, 261, 83, 20, 422, 446, 747, 320, 21, 422, 446, 13, 288, 10792, 327, 446, 31, 7734, 289, 7734, 327, 320, 20, 18, 14963, 12, 83, 21, 13, 692, 3411, 18, 21053, 294, 3411, 18, 18724, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2398, 1071, 1033, 5956, 12, 15876, 18256, 16, 7784, 8526, 833, 13, 288, 7734, 514, 320, 20, 273, 4997, 4117, 12, 14168, 639, 16, 833, 16, 374, 16, 446, 1769, 7734, 514, 320, 21, 273, 4997, 4117, 12, 14168, 639, 16, 833, 16, 404, 16, 446, 1769, 7734, 309, 261, 83, 20, 422, 446, 747, 320, 21, 422, 446, 13, 288, 10792, 327, 446, 31, 7734, 289, 7734, 327, 320, 20, 18, 14963, 12, 83, 21, 13, 692, 3411, 18, 21053, 294, 3411, 18, 18724, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void setModuleRepositories(String modulename, String[] repositories) throws CmsException { String[] retValue = null; if (!hasAccess()) { throw new CmsException("No access to perform the action 'setModuleRepositories'", CmsException.C_REGISTRY_ERROR); } try { Element module = getModuleElement(modulename); Element repository = (Element) (module.getElementsByTagName("repository").item(0)); // delete all subnodes while(repository .hasChildNodes()) { repository .removeChild(repository .getFirstChild()); } // create the new repository for(int i = 0; i < repositories.length; i++) { Element path = m_xmlReg.createElement("path"); path.appendChild(m_xmlReg.createTextNode(repositories[i])); repository .appendChild(path); } // save the registry saveRegistry(); } catch (Exception exc) { exc.printStackTrace(); // ignore the exception - reg is not welformed }}
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/95ab7d79230b29ea49fca1679c6a57cf53243597/CmsRegistry.java/buggy/src/com/opencms/file/CmsRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 444, 3120, 18429, 12, 780, 31961, 16, 514, 8526, 14531, 13, 1216, 11228, 288, 202, 780, 8526, 21236, 273, 446, 31, 202, 430, 16051, 5332, 1862, 10756, 288, 202, 202, 12849, 394, 11228, 2932, 2279, 2006, 358, 3073, 326, 1301, 296, 542, 3120, 18429, 11, 3113, 11228, 18, 39, 67, 5937, 25042, 67, 3589, 1769, 202, 97, 202, 698, 288, 202, 202, 1046, 1605, 273, 11251, 1046, 12, 1711, 332, 1069, 1769, 202, 202, 1046, 3352, 273, 261, 1046, 13, 261, 2978, 18, 588, 3471, 10401, 2932, 9071, 20387, 1726, 12, 20, 10019, 202, 202, 759, 1430, 777, 720, 4690, 202, 202, 17523, 12, 9071, 263, 5332, 22460, 10756, 288, 1082, 202, 9071, 263, 4479, 1763, 12, 9071, 263, 588, 3759, 1763, 10663, 202, 202, 97, 202, 202, 759, 752, 326, 394, 3352, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 14531, 18, 2469, 31, 277, 27245, 288, 1082, 202, 1046, 589, 273, 312, 67, 2902, 1617, 18, 2640, 1046, 2932, 803, 8863, 1082, 202, 803, 18, 6923, 1763, 12, 81, 67, 2902, 1617, 18, 2640, 17299, 12, 26626, 63, 77, 5717, 1769, 1082, 202, 9071, 263, 6923, 1763, 12, 803, 1769, 202, 202, 97, 202, 202, 759, 1923, 326, 4023, 1082, 202, 5688, 4243, 5621, 202, 97, 1044, 261, 503, 3533, 13, 288, 202, 202, 10075, 18, 1188, 6332, 5621, 202, 202, 759, 2305, 326, 1520, 300, 960, 353, 486, 341, 292, 7312, 202, 9090, 2, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 444, 3120, 18429, 12, 780, 31961, 16, 514, 8526, 14531, 13, 1216, 11228, 288, 202, 780, 8526, 21236, 273, 446, 31, 202, 430, 16051, 5332, 1862, 10756, 288, 202, 202, 12849, 394, 11228, 2932, 2279, 2006, 358, 3073, 326, 1301, 296, 542, 3120, 18429, 11, 3113, 11228, 18, 39, 67, 5937, 25042, 67, 3589, 1769, 202, 97, 202, 698, 288, 202, 202, 1046, 1605, 273, 11251, 1046, 12, 1711, 332, 1069, 1769, 202, 202, 1046, 3352, 273, 261, 1046, 13, 261, 2978, 18, 588, 3471, 10401, 2932, 9071, 20387, 1726, 12, 20, 10019, 202, 202, 759, 1430, 777, 720, 4690, 202, 202, 17523, 12, 9071, 263, 5332, 22460, 10756, 288, 1082, 202, 9071, 263, 4479, 1763, 12, 2 ]
new CodeSnippetParser(problemReporter, evaluationContext, this.options.parseLiteralExpressionsAsConstants, codeSnippetStart, codeSnippetEnd);
new CodeSnippetParser(problemReporter, evaluationContext, this.options.parseLiteralExpressionsAsConstants, this.options.getAssertMode(), codeSnippetStart, codeSnippetEnd);
public CodeSnippetCompiler( INameEnvironment environment, IErrorHandlingPolicy policy, ConfigurableOption[] settings, ICompilerRequestor requestor, IProblemFactory problemFactory, EvaluationContext evaluationContext, int codeSnippetStart, int codeSnippetEnd) { super(environment, policy, settings, requestor, problemFactory); this.parser = new CodeSnippetParser(problemReporter, evaluationContext, this.options.parseLiteralExpressionsAsConstants, codeSnippetStart, codeSnippetEnd); this.parseThreshold = 1; // fully parse only the code snippet compilation unit}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/2aa51948b1d182868074055df3bd1567fc296c80/CodeSnippetCompiler.java/buggy/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetCompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3356, 19614, 9213, 12, 202, 202, 45, 461, 5494, 3330, 16, 3196, 202, 45, 668, 14701, 2582, 3329, 16, 3196, 202, 31660, 1895, 8526, 1947, 16, 3196, 202, 45, 9213, 691, 280, 590, 280, 16, 3196, 202, 45, 13719, 1733, 6199, 1733, 16, 202, 202, 13468, 1042, 9873, 1042, 16, 202, 202, 474, 981, 19614, 1685, 16, 202, 202, 474, 981, 19614, 1638, 13, 288, 202, 9565, 12, 10274, 16, 3329, 16, 1947, 16, 590, 280, 16, 6199, 1733, 1769, 202, 2211, 18, 4288, 273, 3196, 202, 2704, 3356, 19614, 2678, 12, 18968, 13289, 16, 9873, 1042, 16, 333, 18, 2116, 18, 2670, 6177, 8927, 1463, 2918, 16, 981, 19614, 1685, 16, 981, 19614, 1638, 1769, 202, 2211, 18, 2670, 7614, 273, 404, 31, 368, 7418, 1109, 1338, 326, 981, 13016, 8916, 2836, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3356, 19614, 9213, 12, 202, 202, 45, 461, 5494, 3330, 16, 3196, 202, 45, 668, 14701, 2582, 3329, 16, 3196, 202, 31660, 1895, 8526, 1947, 16, 3196, 202, 45, 9213, 691, 280, 590, 280, 16, 3196, 202, 45, 13719, 1733, 6199, 1733, 16, 202, 202, 13468, 1042, 9873, 1042, 16, 202, 202, 474, 981, 19614, 1685, 16, 202, 202, 474, 981, 19614, 1638, 13, 288, 202, 9565, 12, 10274, 16, 3329, 16, 1947, 16, 590, 280, 16, 6199, 1733, 1769, 202, 2211, 18, 4288, 273, 3196, 202, 2704, 3356, 19614, 2678, 12, 18968, 13289, 16, 9873, 1042, 16, 333, 18, 2116, 18, 2670, 6177, 8927, 1463, 2918, 16, 981, 19614, 1685, 16, 981, 19614, 1638, 1769, 202, 2211, 2 ]
Map model;
public ModelAndView handleActionResponse( GroovyObject controller,Object returnValue,String closurePropertyName, String viewName) { boolean viewNameBlank = (viewName == null || viewName.length() == 0); // reset the metaclass ModelAndView explicityModelAndView = (ModelAndView)controller.getProperty(ControllerDynamicMethods.MODEL_AND_VIEW_PROPERTY); Boolean renderView = (Boolean)controller.getProperty(ControllerDynamicMethods.RENDER_VIEW_PROPERTY); FlashScope fs = this.grailsAttributes.getFlashScope((HttpServletRequest)controller.getProperty(ControllerDynamicMethods.REQUEST_PROPERTY)); if(fs.containsKey(ChainDynamicMethod.PROPERTY_CHAIN_MODEL)) { this.chainModel = (Map)fs.get(ChainDynamicMethod.PROPERTY_CHAIN_MODEL); if(this.chainModel == null) this.chainModel = Collections.EMPTY_MAP; } if(renderView == null) renderView = Boolean.TRUE; if(!renderView.booleanValue()) { return null; } else if(explicityModelAndView != null) { return explicityModelAndView; } else if (returnValue == null) { if (viewNameBlank) { return null; } else { Map model; if(!this.chainModel.isEmpty()) { model = new CompositeMap(this.chainModel, new BeanMap(controller)); } else { model = new BeanMap(controller); } return new ModelAndView(viewName, model); } } else if (returnValue instanceof Map) { // remove any Proxy wrappers and set the adaptee as the value Map returnModel = (Map)returnValue; Map model; removeProxiesFromModelObjects(returnModel); if(!this.chainModel.isEmpty()) { returnModel.putAll(this.chainModel); } return new ModelAndView(viewName, returnModel); } else if (returnValue instanceof ModelAndView) { ModelAndView modelAndView = (ModelAndView)returnValue; // remove any Proxy wrappers and set the adaptee as the value Map modelMap = modelAndView.getModel(); removeProxiesFromModelObjects(modelMap); if(!this.chainModel.isEmpty()) { modelAndView.addAllObjects(this.chainModel); } if (modelAndView.getView() == null && modelAndView.getViewName() == null) { if (viewNameBlank) { throw new NoViewNameDefinedException("ModelAndView instance returned by and no view name defined by nor for closure on property [" + closurePropertyName + "] in controller [" + controller.getClass() + "]!"); } else { modelAndView.setViewName(viewName); } } return modelAndView; } else { Map model; if(!this.chainModel.isEmpty()) { model = new CompositeMap(this.chainModel, new BeanMap(controller)); } else { model = new BeanMap(controller); } ModelAndView modelAndView = new ModelAndView(viewName, model); return modelAndView; } }
53275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53275/03eb7c0b6e4194b14465191a5045e08915a4af07/SimpleGrailsControllerHelper.java/buggy/src/web/org/codehaus/groovy/grails/web/servlet/mvc/SimpleGrailsControllerHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3164, 1876, 1767, 1640, 1803, 1064, 12, 20841, 921, 2596, 16, 921, 7750, 16, 780, 7213, 13073, 16, 514, 22244, 13, 288, 3639, 1250, 22244, 7796, 273, 261, 1945, 461, 422, 446, 747, 22244, 18, 2469, 1435, 422, 374, 1769, 3639, 368, 2715, 326, 2191, 1106, 3639, 3164, 1876, 1767, 431, 20458, 1488, 1876, 1767, 273, 261, 1488, 1876, 1767, 13, 5723, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 17391, 67, 4307, 67, 12145, 67, 9900, 1769, 3639, 3411, 1743, 1767, 273, 261, 5507, 13, 5723, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 25230, 67, 12145, 67, 9900, 1769, 3639, 15014, 3876, 2662, 273, 333, 18, 2752, 14573, 2498, 18, 588, 11353, 3876, 12443, 2940, 18572, 13, 5723, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 5519, 67, 9900, 10019, 3639, 309, 12, 2556, 18, 12298, 653, 12, 3893, 9791, 1305, 18, 9900, 67, 1792, 6964, 67, 17391, 3719, 288, 5411, 333, 18, 5639, 1488, 273, 261, 863, 13, 2556, 18, 588, 12, 3893, 9791, 1305, 18, 9900, 67, 1792, 6964, 67, 17391, 1769, 5411, 309, 12, 2211, 18, 5639, 1488, 422, 446, 13, 7734, 333, 18, 5639, 1488, 273, 5737, 18, 13625, 67, 8352, 31, 3639, 289, 3639, 309, 12, 5902, 1767, 422, 446, 13, 1743, 1767, 273, 3411, 18, 18724, 31, 3639, 309, 12, 5, 5902, 1767, 18, 6494, 620, 10756, 288, 5411, 327, 446, 31, 3639, 289, 3639, 469, 309, 12, 338, 20458, 1488, 1876, 1767, 480, 446, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3164, 1876, 1767, 1640, 1803, 1064, 12, 20841, 921, 2596, 16, 921, 7750, 16, 780, 7213, 13073, 16, 514, 22244, 13, 288, 3639, 1250, 22244, 7796, 273, 261, 1945, 461, 422, 446, 747, 22244, 18, 2469, 1435, 422, 374, 1769, 3639, 368, 2715, 326, 2191, 1106, 3639, 3164, 1876, 1767, 431, 20458, 1488, 1876, 1767, 273, 261, 1488, 1876, 1767, 13, 5723, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 17391, 67, 4307, 67, 12145, 67, 9900, 1769, 3639, 3411, 1743, 1767, 273, 261, 5507, 13, 5723, 18, 588, 1396, 12, 2933, 9791, 4712, 18, 25230, 67, 12145, 67, 9900, 1769, 3639, 15014, 3876, 2662, 273, 333, 18, 2752, 14573, 2498, 18, 588, 11353, 3876, 12443, 2940, 2 ]
cat.debug("filter set to: "); cat.debug(_filterCombo.getSelectedItem()); }
cat.debug("filter set to: "); cat.debug(_filterCombo.getSelectedItem()); }
public void setFilter() { cat.debug("filter set to: "); cat.debug(_filterCombo.getSelectedItem()); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/TablePanel.java/buggy/src_new/org/argouml/ui/TablePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 22855, 1435, 288, 565, 6573, 18, 4148, 2932, 2188, 444, 358, 30, 315, 1769, 565, 6573, 18, 4148, 24899, 2188, 16156, 18, 588, 7416, 1180, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 22855, 1435, 288, 565, 6573, 18, 4148, 2932, 2188, 444, 358, 30, 315, 1769, 565, 6573, 18, 4148, 24899, 2188, 16156, 18, 588, 7416, 1180, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
showStereotype = Configuration .getBoolean(Notation.KEY_SHOW_STEREOTYPES, false);
showStereotype = Configuration.getBoolean(Notation.KEY_SHOW_STEREOTYPES, false);
public void fireTreeWillExpand(TreePath path) { showStereotype = Configuration .getBoolean(Notation.KEY_SHOW_STEREOTYPES, false); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/1de82fde02a61c9bdec214aae29c615c3554fab5/DisplayTextTree.java/clean/src_new/org/argouml/ui/DisplayTextTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4452, 2471, 13670, 12271, 12, 2471, 743, 589, 13, 288, 7734, 2405, 55, 387, 73, 10570, 273, 4659, 3639, 263, 588, 5507, 12, 14818, 18, 3297, 67, 16677, 67, 22857, 41, 1974, 1738, 55, 16, 629, 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, 4452, 2471, 13670, 12271, 12, 2471, 743, 589, 13, 288, 7734, 2405, 55, 387, 73, 10570, 273, 4659, 3639, 263, 588, 5507, 12, 14818, 18, 3297, 67, 16677, 67, 22857, 41, 1974, 1738, 55, 16, 629, 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 ]
} catch(Exception e) { e.printStackTrace(); } }
} catch (Exception e) { e.printStackTrace(); } }
public void doGet(HttpServletRequest req, HttpServletResponse res) { try { _logFile = req.getQueryString(); if(_logFile == null || _logFile.equals("")) _logFile = getLastBuildLogFilename(); else _logFile += ".xml"; _logFile = _logDir + "\\" + _logFile; PrintWriter out = res.getWriter(); res.setContentType("text/html"); out.println("<html>"); out.println("<head><title>" + _title + "</title></head>"); out.println("<body link=\"#FFFFFF\" vlink=\"#FFFFFF\" background=\"" + _imageDir + "/bluebg.gif\" topmargin=\"0\" leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\">"); out.println("<table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" width=\"98%\">"); out.println(" <tr>"); out.println(" <td>&nbsp;</td>"); out.println(" <td background=\"" + _imageDir + "/bluestripestop.gif\"><img src=\"" + _imageDir + "/blank20.gif\" border=\"0\"></td>"); out.println(" </tr>"); out.println(" <tr>"); out.println(" <td width=\"180\" valign=\"top\"><img src=\"" + _imageDir + "/" + _logo + "\" border=\"0\"><br><table border=\"0\" align=\"center\" width=\"98%\"><tr><td>"); out.println("<font face=\"arial\" size=\"2\" color=\"#FFFFFF\">"); // ***** print current build info (when did we start the running build?) ***** printCurrentBuildStatus(out); out.println("<br>&nbsp;<br><b>Previous Builds:</b><br>"); // ***** all logs for navigation ***** printLogsAsLinks(out); out.println(" </td></tr></table></td>"); out.println(" <td valign=\"top\" bgcolor=\"#FFFFFF\" width=\"640\">"); out.println(" &nbsp;<br>"); // ***** transform build xml to html ***** transformBuildLogToHTML(out); out.println(" &nbsp;<br>"); out.println(" </td>"); out.println(" </tr>"); out.println(" <tr>"); out.println(" <td>&nbsp;</td>"); out.println(" <td background=\"" + _imageDir + "/bluestripesbottom.gif\"><img src=\"" + _imageDir + "/blank20.gif\" border=\"0\"></td>"); out.println(" </tr>"); out.println("</table>"); out.println("</body>"); out.println("</html>"); } catch(Exception e) { e.printStackTrace(); } }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/f0588371da669d2e50fd4ef52d25895934abfd8b/BuildServlet.java/buggy/main/src/net/sourceforge/cruisecontrol/BuildServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 288, 1377, 775, 288, 540, 389, 1330, 812, 273, 1111, 18, 588, 15276, 5621, 540, 309, 24899, 1330, 812, 422, 446, 747, 389, 1330, 812, 18, 14963, 2932, 6, 3719, 5411, 389, 1330, 812, 273, 7595, 3116, 1343, 5359, 5621, 540, 469, 5411, 389, 1330, 812, 1011, 3552, 2902, 14432, 540, 389, 1330, 812, 273, 389, 1330, 1621, 397, 14520, 397, 389, 1330, 812, 31, 540, 14071, 596, 273, 400, 18, 588, 2289, 5621, 540, 400, 18, 542, 8046, 2932, 955, 19, 2620, 8863, 540, 596, 18, 8222, 2932, 32, 2620, 2984, 1769, 540, 596, 18, 8222, 2932, 32, 1978, 4438, 2649, 2984, 397, 389, 2649, 397, 6823, 2649, 4695, 1978, 2984, 1769, 540, 596, 18, 8222, 2932, 32, 3432, 1692, 5189, 7, 18343, 2412, 331, 1232, 5189, 7, 18343, 2412, 5412, 13186, 397, 389, 2730, 1621, 397, 2206, 14081, 12370, 18, 13905, 2412, 1760, 10107, 5189, 20, 2412, 2002, 10107, 5189, 20, 2412, 7333, 4210, 5189, 20, 2412, 7333, 2819, 5189, 20, 21121, 1769, 540, 596, 18, 8222, 2932, 32, 2121, 5795, 5189, 20, 2412, 5689, 5189, 5693, 2412, 2484, 9598, 5189, 20, 2412, 2484, 14080, 5189, 20, 2412, 1835, 5189, 10689, 9, 21121, 1769, 540, 596, 18, 8222, 2932, 282, 411, 313, 2984, 1769, 540, 596, 18, 8222, 2932, 1377, 411, 4465, 22393, 10600, 27922, 4465, 2984, 1769, 540, 596, 18, 8222, 2932, 1377, 411, 4465, 5412, 13186, 397, 389, 2730, 1621, 397, 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, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 288, 1377, 775, 288, 540, 389, 1330, 812, 273, 1111, 18, 588, 15276, 5621, 540, 309, 24899, 1330, 812, 422, 446, 747, 389, 1330, 812, 18, 14963, 2932, 6, 3719, 5411, 389, 1330, 812, 273, 7595, 3116, 1343, 5359, 5621, 540, 469, 5411, 389, 1330, 812, 1011, 3552, 2902, 14432, 540, 389, 1330, 812, 273, 389, 1330, 1621, 397, 14520, 397, 389, 1330, 812, 31, 540, 14071, 596, 273, 400, 18, 588, 2289, 5621, 540, 400, 18, 542, 8046, 2932, 955, 19, 2620, 8863, 540, 596, 18, 8222, 2932, 32, 2620, 2984, 1769, 540, 596, 18, 8222, 2932, 32, 1978, 4438, 2649, 2984, 397, 389, 2649, 397, 2 ]
void innerUpdate(){ Logger.minor(this, "Update() called"); synchronized(this) { if((result == null) || hasBeenBlown) { Logger.minor(this, "Returning: result="+result+", isAutoUpdateAllowed="+isAutoUpdateAllowed+", hasBeenBlown="+hasBeenBlown); return; } this.revocationDNFCounter = 0; this.finalCheck = true; } System.err.println("Searching for revocation key"); this.queueFetchRevocation(100); synchronized(this) { while(revocationDNFCounter < 3) { System.err.println("Revocation counter: "+revocationDNFCounter); if(this.hasBeenBlown) { Logger.error(this, "The revocation key has been found on the network : blocking auto-update"); return; } try { wait(100*1000); } catch (InterruptedException e) { // Ignore } } } System.err.println("Update in progress"); Logger.normal(this, "Update in progress"); try{ ArrayBucket bucket = (ArrayBucket) result.asBucket(); byte[] data = bucket.toByteArray(); File fRunning = new File("freenet-cvs-snapshot.jar"); File fNew = new File("freenet-cvs-snapshot.jar.new"); boolean nastyRestart = false; if(File.separatorChar != '\\') { // Do nothing. } else { nastyRestart = true; Properties p = WrapperManager.getProperties(); String cp1 = p.getProperty("wrapper.java.classpath.1"); if(cp1.equals("freenet-cvs-snapshot.jar")) { // Cool! } else if(cp1.equals("freenet-cvs-snapshot.jar.new")) { // Swapped; we are running .new File tmp = fRunning; fRunning = fNew; fNew = tmp; } else { cp1 = p.getProperty("wrapper.java.classpath.2"); if(cp1.equals("freenet-cvs-snapshot.jar")) { // Cool! } else if(cp1.equals("freenet-cvs-snapshot.jar.new")) { // Swapped; we are running .new File tmp = fRunning; fRunning = fNew; fNew = tmp; } else { Logger.error(this, "Cannot restart on Windows due to non-standard config file!"); System.err.println("Cannot restart on Windows due to non-standard config file!"); return; } } } fNew.delete(); FileOutputStream fos = new FileOutputStream(fNew); fos.write(data); fos.flush(); fos.close(); System.out.println("################## File written! "+cg.getURI().getSuggestedEdition()+ " " +fNew.getAbsolutePath()); if(!nastyRestart) { // Easy way. if(!fNew.renameTo(fRunning)) { fRunning.delete(); if(!fNew.renameTo(fRunning)) { System.err.println("ERROR renaming the file!"); return; } } } else { // Hard way. if(!WrapperManager.isControlledByNativeWrapper()) { Logger.error(this, "Cannot update because not running under wrapper"); System.err.println("Cannot update because not running under wrapper"); return; } try { File oldConfig = new File("wrapper.conf"); File newConfig = new File("wrapper.conf.new"); FileInputStream fis = new FileInputStream(oldConfig); BufferedInputStream bis = new BufferedInputStream(fis); InputStreamReader isr = new InputStreamReader(bis); BufferedReader br = new BufferedReader(isr); fos = new FileOutputStream(newConfig); OutputStreamWriter osw = new OutputStreamWriter(fos); BufferedWriter bw = new BufferedWriter(osw); String line; boolean succeeded = false; boolean stillSucceeded = false; while((line = br.readLine()) != null) { if(line.equals("wrapper.java.classpath.1="+fRunning.getName())) { bw.write("wrapper.java.classpath.1="+fNew.getName()+"\r\n"); succeeded = true; } else if(line.equals("wrapper.java.classpath.2="+fRunning.getName())) { bw.write("wrapper.java.classpath.2="+fNew.getName()+"\r\n"); succeeded = true; } else { if(line.equals("wrapper.restart.reload_configuration=TRUE")) stillSucceeded = true; bw.write(line+"\r\n"); } } bw.close(); br.close(); if(!succeeded) { System.err.println("Not able to update because of non-standard config"); Logger.error(this, "Not able to update because of non-standard config"); return; } if(!stillSucceeded) { System.err.println("Not able to update because of non-standard or old config, add a line saying \"wrapper.restart.reload_configuration=TRUE\""); Logger.error(this, "Not able to update because of non-standard or old config, add a line saying \"wrapper.restart.reload_configuration=TRUE\""); return; } if(!newConfig.renameTo(oldConfig)) { oldConfig.delete(); if(!newConfig.renameTo(oldConfig)) { System.err.println("Failed to rename over old config: update failed."); Logger.error(this, "Failed to rename over old config: update failed."); return; } } // New config installed. } catch (IOException e) { Logger.error(this, "Not able to update because of I/O error: "+e, e); System.err.println("Not able to update because of I/O error: "+e); } } if(node.getNodeStarter()!=null) { System.err.println("Restarting because of update"); node.getNodeStarter().restart(); } else{ System.out.println("New version has been downloaded: please restart your node!"); node.exit(); } System.err.println("WTF? Restart returned!?"); }catch(Exception e){ Logger.error(this, "Error while updating the node : "+e); System.out.println("Exception : "+e); e.printStackTrace(); } }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/0ce52e9ff1e0048c34e8d11f2ad596bc8936f6e9/NodeUpdater.java/clean/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 3443, 1891, 1435, 95, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 1891, 1435, 2566, 8863, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12443, 2088, 422, 446, 13, 747, 711, 25931, 38, 821, 82, 13, 288, 9506, 202, 3328, 18, 17364, 12, 2211, 16, 315, 28365, 30, 563, 1546, 15, 2088, 15, 3113, 27079, 1891, 5042, 1546, 15, 291, 4965, 1891, 5042, 15, 3113, 711, 25931, 38, 821, 82, 1546, 15, 5332, 25931, 38, 821, 82, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 2211, 18, 9083, 4431, 8609, 4488, 2096, 273, 374, 31, 1082, 202, 2211, 18, 6385, 1564, 273, 638, 31, 202, 202, 97, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 2979, 310, 364, 24158, 498, 8863, 202, 202, 2211, 18, 4000, 5005, 28691, 12, 6625, 1769, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 17523, 12, 9083, 4431, 8609, 4488, 2096, 411, 890, 13, 288, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 28691, 3895, 30, 13773, 9083, 4431, 8609, 4488, 2096, 1769, 9506, 202, 430, 12, 2211, 18, 5332, 25931, 38, 821, 82, 13, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 1986, 24158, 498, 711, 2118, 1392, 603, 326, 2483, 294, 9445, 3656, 17, 2725, 8863, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 698, 288, 6862, 202, 7048, 12, 6625, 14, 18088, 1769, 9506, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 759, 8049, 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, 6459, 3443, 1891, 1435, 95, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 1891, 1435, 2566, 8863, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12443, 2088, 422, 446, 13, 747, 711, 25931, 38, 821, 82, 13, 288, 9506, 202, 3328, 18, 17364, 12, 2211, 16, 315, 28365, 30, 563, 1546, 15, 2088, 15, 3113, 27079, 1891, 5042, 1546, 15, 291, 4965, 1891, 5042, 15, 3113, 711, 25931, 38, 821, 82, 1546, 15, 5332, 25931, 38, 821, 82, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 2211, 18, 9083, 4431, 8609, 4488, 2096, 273, 374, 31, 1082, 202, 2211, 18, 6385, 1564, 273, 638, 31, 202, 202, 97, 9506, 202, 3163, 18, 2 ]
public void loadString(String uiScript) throws IOException, JavaScriptException {
public void loadString(String uiScript, String scriptLabel) {
public void loadString(String uiScript) throws IOException, JavaScriptException { try { if (scope == null) initGameObjects(); Context.enter().evaluateReader(scope, new StringReader(uiScript), "<debug command>", 1, null); } finally { Context.exit(); } }
49579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49579/d458cbcc4bdacff31b4d5c44b111474feeae77ae/TestUI.java/clean/Javolin/source/org/volity/testbench/TestUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 780, 12, 780, 5915, 3651, 13, 3639, 1216, 1860, 16, 11905, 503, 288, 3639, 775, 288, 5411, 309, 261, 4887, 422, 446, 13, 1208, 12496, 4710, 5621, 5411, 1772, 18, 2328, 7675, 21024, 2514, 12, 4887, 16, 394, 26227, 12, 4881, 3651, 3631, 7734, 3532, 4148, 1296, 2984, 16, 404, 16, 446, 1769, 3639, 289, 3095, 288, 5411, 1772, 18, 8593, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 780, 12, 780, 5915, 3651, 13, 3639, 1216, 1860, 16, 11905, 503, 288, 3639, 775, 288, 5411, 309, 261, 4887, 422, 446, 13, 1208, 12496, 4710, 5621, 5411, 1772, 18, 2328, 7675, 21024, 2514, 12, 4887, 16, 394, 26227, 12, 4881, 3651, 3631, 7734, 3532, 4148, 1296, 2984, 16, 404, 16, 446, 1769, 3639, 289, 3095, 288, 5411, 1772, 18, 8593, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
synchronized (DeploymentScanner.this) { while (run) { scanNow(); try { DeploymentScanner.this.wait(scanInterval); } catch (InterruptedException e) { }
while (shouldScannerThreadRun()) { scanNow(); try { Thread.sleep(getScanInterval()); } catch (InterruptedException e) {
public void run() { synchronized (DeploymentScanner.this) { while (run) { scanNow(); try { DeploymentScanner.this.wait(scanInterval); } catch (InterruptedException e) { } } } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9dec1e65b86ed59fa73afe4649feb2901444ef38/DeploymentScanner.java/buggy/modules/core/src/java/org/apache/geronimo/deployment/scanner/DeploymentScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 1086, 1435, 288, 10792, 3852, 261, 6733, 11338, 18, 2211, 13, 288, 13491, 1323, 261, 2681, 13, 288, 18701, 4135, 8674, 5621, 18701, 775, 288, 27573, 8587, 11338, 18, 2211, 18, 7048, 12, 9871, 4006, 1769, 18701, 289, 1044, 261, 24485, 503, 425, 13, 288, 18701, 289, 13491, 289, 10792, 289, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1171, 1071, 918, 1086, 1435, 288, 10792, 3852, 261, 6733, 11338, 18, 2211, 13, 288, 13491, 1323, 261, 2681, 13, 288, 18701, 4135, 8674, 5621, 18701, 775, 288, 27573, 8587, 11338, 18, 2211, 18, 7048, 12, 9871, 4006, 1769, 18701, 289, 1044, 261, 24485, 503, 425, 13, 288, 18701, 289, 13491, 289, 10792, 289, 7734, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void createReportDocument( String reportdesign, String reportdocument ) throws Exception {
protected void createReportDocument(String reportdesign, String reportdocument) throws Exception {
protected void createReportDocument( String reportdesign, String reportdocument ) throws Exception { // open an report archive, it is a folder archive. IDocArchiveWriter archive = new FileArchiveWriter( reportdocument ); // open the report runnable to execute. IReportRunnable report = engine.openReportDesign( reportdesign ); // create an IRunTask IRunTask runTask = engine.createRunTask( report ); // execute the report to create the report document. runTask.setAppContext( new HashMap( ) ); runTask.run( archive ); // close the task, release the resource. runTask.close( ); }
58644 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58644/f95765db8aeaaa95338c91e90adb7711900440d0/DataExtractionTaskTest.java/clean/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/DataExtractionTaskTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 4820, 2519, 12, 514, 2605, 16934, 16, 1082, 202, 780, 2605, 5457, 262, 1216, 1185, 202, 95, 202, 202, 759, 1696, 392, 2605, 5052, 16, 518, 353, 279, 3009, 5052, 18, 202, 202, 734, 504, 7465, 2289, 5052, 273, 394, 1387, 7465, 2289, 12, 2605, 5457, 11272, 202, 202, 759, 1696, 326, 2605, 14685, 358, 1836, 18, 202, 202, 45, 4820, 20013, 2605, 273, 4073, 18, 3190, 4820, 15478, 12, 2605, 16934, 11272, 202, 202, 759, 752, 392, 467, 1997, 2174, 202, 202, 45, 1997, 2174, 1086, 2174, 273, 4073, 18, 2640, 1997, 2174, 12, 2605, 11272, 202, 202, 759, 1836, 326, 2605, 358, 752, 326, 2605, 1668, 18, 202, 202, 2681, 2174, 18, 542, 3371, 1042, 12, 394, 4317, 12, 262, 11272, 202, 202, 2681, 2174, 18, 2681, 12, 5052, 11272, 202, 202, 759, 1746, 326, 1562, 16, 3992, 326, 1058, 18, 202, 202, 2681, 2174, 18, 4412, 12, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 4820, 2519, 12, 514, 2605, 16934, 16, 1082, 202, 780, 2605, 5457, 262, 1216, 1185, 202, 95, 202, 202, 759, 1696, 392, 2605, 5052, 16, 518, 353, 279, 3009, 5052, 18, 202, 202, 734, 504, 7465, 2289, 5052, 273, 394, 1387, 7465, 2289, 12, 2605, 5457, 11272, 202, 202, 759, 1696, 326, 2605, 14685, 358, 1836, 18, 202, 202, 45, 4820, 20013, 2605, 273, 4073, 18, 3190, 4820, 15478, 12, 2605, 16934, 11272, 202, 202, 759, 752, 392, 467, 1997, 2174, 202, 202, 45, 1997, 2174, 1086, 2174, 273, 4073, 18, 2640, 1997, 2174, 12, 2605, 11272, 202, 202, 759, 1836, 326, 2605, 358, 752, 326, 2605, 1668, 18, 202, 202, 2681, 2174, 18, 2 ]
this.title = title; }
}
DialogMarkerProperties(Shell parentShell, String title) { super(parentShell); setShellStyle(getShellStyle() | SWT.RESIZE); this.title = title; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/5dfab9acd886f09a1ca9341cff1d740dc40e3c35/DialogMarkerProperties.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 17242, 7078, 2297, 12, 13220, 982, 13220, 16, 514, 2077, 13, 288, 3639, 2240, 12, 2938, 13220, 1769, 3639, 444, 13220, 2885, 12, 588, 13220, 2885, 1435, 571, 348, 8588, 18, 862, 4574, 1769, 3639, 333, 18, 2649, 273, 2077, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 17242, 7078, 2297, 12, 13220, 982, 13220, 16, 514, 2077, 13, 288, 3639, 2240, 12, 2938, 13220, 1769, 3639, 444, 13220, 2885, 12, 588, 13220, 2885, 1435, 571, 348, 8588, 18, 862, 4574, 1769, 3639, 333, 18, 2649, 273, 2077, 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 ]
}else{
} else {
public static String handleDynamicRules(CmsObject cms, String link, int modus, Vector paramterOnly){ // first get the ruleset Vector dynRules = null; Vector nameRules = null; if(modus == C_MODUS_EXTERN){ dynRules = m_dynamicExportRulesExtern; nameRules = m_dynamicExportNameRulesExtern; }else{ dynRules = m_dynamicExportRulesOnline; nameRules = m_dynamicExportNameRules; } String retValue = link; int count; StringBuffer result = null; if(dynRules != null){ for(int i=0; i<dynRules.size(); i++){ result = new StringBuffer(); count = c_perlUtil.substitute(result, (String)dynRules.elementAt(i), link); if(count != 0){ paramterOnly.add(new Boolean(false)); retValue = result.toString(); if(CmsObject.getStaticExportProperties().isExportDefault()){ return retValue; }else{ // default is dynamic if(modus == C_MODUS_EXTERN){ if(!link.equals(retValue)){ return retValue; } }else{ if(!retValue.startsWith(CmsObject.getStaticExportProperties().getUrlPrefixArray()[0])){ return retValue; } link = retValue; } } } } } // here we can start the parameters if it will be exported if(CmsObject.getStaticExportProperties().isExportDefault() || modus == C_MODUS_EXTERN){ link = substituteLinkParameter(cms, link); retValue = link; }else if( link.startsWith(CmsObject.getStaticExportProperties().getUrlPrefixArray()[0])){ link = link.substring(CmsObject.getStaticExportProperties().getUrlPrefixArray()[0].length()); link = substituteLinkParameter(cms, link); link = CmsObject.getStaticExportProperties().getUrlPrefixArray()[0] + link; retValue = link; } // now for the name replacement rules if(nameRules != null){ for(int i=0; i<nameRules.size(); i++){ retValue = c_perlUtil.substitute((String)nameRules.elementAt(i), link); if(!retValue.equals(link)){ paramterOnly.add(new Boolean(false)); return retValue; } } } // nothing changed paramterOnly.add(new Boolean(true)); return retValue; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/6a0c9ffe86a710b8029c987072b2834016b13a30/CmsStaticExport.java/buggy/src/com/opencms/file/CmsStaticExport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 1640, 9791, 4478, 12, 4747, 921, 6166, 16, 514, 1692, 16, 509, 681, 407, 16, 5589, 579, 387, 3386, 15329, 3639, 368, 1122, 336, 326, 25303, 3639, 5589, 19417, 4478, 273, 446, 31, 3639, 5589, 508, 4478, 273, 446, 31, 3639, 309, 12, 1711, 407, 422, 385, 67, 6720, 3378, 67, 2294, 6519, 15329, 5411, 19417, 4478, 273, 312, 67, 14507, 6144, 4478, 29764, 31, 5411, 508, 4478, 273, 312, 67, 14507, 6144, 461, 4478, 29764, 31, 3639, 289, 469, 288, 5411, 19417, 4478, 273, 312, 67, 14507, 6144, 4478, 16860, 31, 5411, 508, 4478, 273, 312, 67, 14507, 6144, 461, 4478, 31, 3639, 289, 3639, 514, 21236, 273, 1692, 31, 3639, 509, 1056, 31, 3639, 6674, 563, 273, 446, 31, 3639, 309, 12, 28595, 4478, 480, 446, 15329, 5411, 364, 12, 474, 277, 33, 20, 31, 277, 32, 28595, 4478, 18, 1467, 5621, 277, 27245, 95, 7734, 563, 273, 394, 6674, 5621, 7734, 1056, 273, 276, 67, 457, 80, 1304, 18, 1717, 17207, 12, 2088, 16, 261, 780, 13, 28595, 4478, 18, 2956, 861, 12, 77, 3631, 1692, 1769, 7734, 309, 12, 1883, 480, 374, 15329, 10792, 579, 387, 3386, 18, 1289, 12, 2704, 3411, 12, 5743, 10019, 10792, 21236, 273, 563, 18, 10492, 5621, 10792, 309, 12, 4747, 921, 18, 588, 5788, 6144, 2297, 7675, 291, 6144, 1868, 10756, 95, 13491, 327, 21236, 31, 10792, 289, 469, 288, 13491, 368, 805, 353, 5976, 13491, 309, 12, 1711, 407, 422, 385, 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, 514, 1640, 9791, 4478, 12, 4747, 921, 6166, 16, 514, 1692, 16, 509, 681, 407, 16, 5589, 579, 387, 3386, 15329, 3639, 368, 1122, 336, 326, 25303, 3639, 5589, 19417, 4478, 273, 446, 31, 3639, 5589, 508, 4478, 273, 446, 31, 3639, 309, 12, 1711, 407, 422, 385, 67, 6720, 3378, 67, 2294, 6519, 15329, 5411, 19417, 4478, 273, 312, 67, 14507, 6144, 4478, 29764, 31, 5411, 508, 4478, 273, 312, 67, 14507, 6144, 461, 4478, 29764, 31, 3639, 289, 469, 288, 5411, 19417, 4478, 273, 312, 67, 14507, 6144, 4478, 16860, 31, 5411, 508, 4478, 273, 312, 67, 14507, 6144, 461, 4478, 31, 3639, 289, 3639, 514, 21236, 273, 1692, 31, 3639, 509, 1056, 31, 2 ]
public void verifyKey(VerifyEvent event) { // TODO separate math mode from normal typing? // early pruning to slow down normal typing as little as possible if (!event.doit) return; switch (event.character) { case '(': case '{': case '[': case '$': case '"': case '.': case '\b': break; default: return; } IDocument document = sourceViewer.getDocument(); final Point selection = sourceViewer.getSelectedRange(); final int offset = selection.x; final int length = selection.y; final char character = event.character; try { char next = ' '; char last = ' '; try { next = document.getChar(offset); last = document.getChar(offset-1); } catch (BadLocationException e) { // Could happen if this is the beginning or end of a document } if (last == '\\') return; if (character == '"') { // Replace quotation marks if (!TexlipsePlugin.getDefault().getPreferenceStore().getBoolean(TexlipseProperties.TEX_REPLACE_QUOTES)) return; String mark; if (Character.isWhitespace(last)) { mark = getQuotes(true); } else if (Character.isWhitespace(next)) { mark = getQuotes(false); } else { return; } document.replace(offset, length, mark); sourceViewer.setSelectedRange(offset + mark.length(), 0); event.doit = false; return; } // ----- if (character == '\b') { if (last == '}' && offset > 4) { // \={o} or \'{\i} int distance; if (document.getChar(offset-5) == '\\') { distance = 5; } else if (offset > 5 && document.getChar(offset-6) == '\\') { distance = 6; } else { return; } String deletion = document.get(offset - distance, distance); // TODO Pattern simpleCommandPattern = Pattern.compile("\\\\.\\{\\\\?\\w\\}"); Matcher m = simpleCommandPattern.matcher(deletion); if (m.matches()) { document.replace(offset - distance, distance, ""); event.doit = false; } } else if (Character.isLetter(last)) { // FIXME can't handle unicode // \'a if (offset > 2 && document.getChar(offset-3) == '\\') { // "\\\\.\\w" document.replace(offset - 3, 3, ""); event.doit = false; } } return; } if (character == '.') { if (last == '.' && document.getChar(offset-2) == '.') { String replacement = "\\ldots"; document.replace(offset-2, length+2, replacement); sourceViewer.setSelectedRange(offset + replacement.length() - 2, 0); event.doit = false; } return; } // ----- if (!TexlipsePlugin.getDefault().getPreferenceStore().getBoolean(TexlipseProperties.TEX_BRACKET_COMPLETION)) return; if (Character.isWhitespace(next) || isBracket(next)) { // For a dollar sign we need a whitespace before and after the letter if (character == '$' && !Character.isWhitespace(last)) return; } else { return; } final char closingCharacter = getPeerCharacter(character); final StringBuffer buffer = new StringBuffer(); buffer.append(character); buffer.append(closingCharacter); document.replace(offset, length, buffer.toString()); // The code below does the fancy "templateish" enter-to-exit-braces BracketLevel level = new BracketLevel(); fBracketLevelStack.push(level); LinkedPositionGroup group = new LinkedPositionGroup(); group.addPosition(new LinkedPosition(document, offset + 1, 0, LinkedPositionGroup.NO_STOP)); LinkedModeModel model = new LinkedModeModel(); model.addLinkingListener(this); model.addGroup(group); model.forceInstall(); level.fOffset = offset; level.fLength = 2; // set up position tracking for our magic peers if (fBracketLevelStack.size() == 1) { document.addPositionCategory(CATEGORY); document.addPositionUpdater(fUpdater); } level.fFirstPosition = new Position(offset, 1); level.fSecondPosition = new Position(offset + 1, 1); document.addPosition(CATEGORY, level.fFirstPosition); document.addPosition(CATEGORY, level.fSecondPosition); level.fUI= new EditorLinkedModeUI(model, sourceViewer); level.fUI.setSimpleMode(true); level.fUI.setExitPolicy(new ExitPolicy(closingCharacter, (char) 0, fBracketLevelStack, sourceViewer)); level.fUI.setExitPosition(sourceViewer, offset + 2, 0, Integer.MAX_VALUE); level.fUI.setCyclingMode(LinkedModeUI.CYCLE_NEVER); level.fUI.enter(); IRegion newSelection = level.fUI.getSelectedRegion(); sourceViewer.setSelectedRange(newSelection.getOffset(), newSelection.getLength()); event.doit = false; } catch (BadLocationException e) { } catch (BadPositionCategoryException e) { } }
48893 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48893/deecd6269643d7c913361976527126932fb8a0a3/BracketInserter.java/clean/source/net/sourceforge/texlipse/editor/BracketInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3929, 653, 12, 8097, 1133, 871, 13, 288, 3639, 368, 2660, 9004, 4233, 1965, 628, 2212, 13408, 35, 3639, 368, 11646, 846, 13036, 358, 11816, 2588, 2212, 13408, 487, 12720, 487, 3323, 3639, 309, 16051, 2575, 18, 2896, 305, 13, 327, 31, 3639, 1620, 261, 2575, 18, 11560, 13, 288, 3639, 648, 7321, 30, 3639, 648, 2292, 4278, 3639, 648, 8375, 30, 3639, 648, 3365, 4278, 3639, 648, 2119, 4278, 3639, 648, 2611, 30, 3639, 648, 2337, 70, 4278, 5411, 898, 31, 3639, 805, 30, 5411, 327, 31, 3639, 289, 3639, 1599, 504, 650, 1668, 273, 1084, 18415, 18, 588, 2519, 5621, 7734, 727, 4686, 4421, 273, 1084, 18415, 18, 588, 7416, 2655, 5621, 3639, 727, 509, 1384, 273, 4421, 18, 92, 31, 3639, 727, 509, 769, 273, 4421, 18, 93, 31, 7734, 727, 1149, 3351, 273, 871, 18, 11560, 31, 3639, 775, 288, 5411, 1149, 1024, 273, 296, 12386, 5411, 1149, 1142, 273, 296, 12386, 5411, 775, 288, 7734, 1024, 273, 1668, 18, 588, 2156, 12, 3348, 1769, 7734, 1142, 273, 1668, 18, 588, 2156, 12, 3348, 17, 21, 1769, 5411, 289, 1044, 261, 6434, 2735, 503, 425, 13, 288, 7734, 368, 14312, 5865, 309, 333, 353, 326, 8435, 578, 679, 434, 279, 1668, 5411, 289, 5411, 309, 261, 2722, 422, 5282, 13, 7734, 327, 31, 5411, 309, 261, 11560, 422, 4754, 13, 288, 7734, 368, 6910, 4914, 367, 13999, 7734, 309, 16051, 16733, 10472, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 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, 3929, 653, 12, 8097, 1133, 871, 13, 288, 3639, 368, 2660, 9004, 4233, 1965, 628, 2212, 13408, 35, 3639, 368, 11646, 846, 13036, 358, 11816, 2588, 2212, 13408, 487, 12720, 487, 3323, 3639, 309, 16051, 2575, 18, 2896, 305, 13, 327, 31, 3639, 1620, 261, 2575, 18, 11560, 13, 288, 3639, 648, 7321, 30, 3639, 648, 2292, 4278, 3639, 648, 8375, 30, 3639, 648, 3365, 4278, 3639, 648, 2119, 4278, 3639, 648, 2611, 30, 3639, 648, 2337, 70, 4278, 5411, 898, 31, 3639, 805, 30, 5411, 327, 31, 3639, 289, 3639, 1599, 504, 650, 1668, 273, 1084, 18415, 18, 588, 2519, 5621, 7734, 727, 4686, 4421, 273, 1084, 18415, 18, 588, 7416, 2655, 5621, 3639, 727, 2 ]
src=msg.getSrc(); if(loopback && multicast && src != null && local_addr.equals(src)) { continue; } thread_pool.execute(new IncomingMessage(msg));
submitToThreadPool(msg, multicast);
public void run() { short version; boolean is_message_list, multicast; byte flags; ExposedByteArrayInputStream in_stream=null; ExposedBufferedInputStream buf_in_stream=null; DataInputStream dis=null; try { in_stream=new ExposedByteArrayInputStream(buf, offset, length); buf_in_stream=new ExposedBufferedInputStream(in_stream); dis=new DataInputStream(buf_in_stream); version=dis.readShort(); if(Version.compareTo(version) == false) { if(warn) { StringBuffer sb=new StringBuffer(); sb.append("packet from ").append(sender).append(" has different version (").append(version); sb.append(") from ours (").append(Version.printVersion()).append("). "); if(discard_incompatible_packets) sb.append("Packet is discarded"); else sb.append("This may cause problems"); log.warn(sb); } if(discard_incompatible_packets) return; } flags=dis.readByte(); is_message_list=(flags & LIST) == LIST; multicast=(flags & MULTICAST) == MULTICAST; Message msg; Address src; if(is_message_list) { // used if message bundling is enabled List l=bufferToList(dis, dest, multicast); for(Enumeration en=l.elements(); en.hasMoreElements();) { msg=(Message)en.nextElement(); src=msg.getSrc(); if(loopback && multicast && src != null && local_addr.equals(src)) { continue; // drop message that was already looped back and delivered } thread_pool.execute(new IncomingMessage(msg)); } } else { msg=bufferToMessage(dis, dest, sender, multicast); src=msg.getSrc(); if(loopback && multicast && src != null && local_addr.equals(src)) { ; // drop message that was already looped back and delivered } else thread_pool.execute(new IncomingMessage(msg)); } } catch(QueueClosedException closed_ex) { ; // swallow exception } catch(Throwable t) { if(log.isErrorEnabled()) log.error("failed unmarshalling message", t); } finally { Util.close(dis); Util.close(buf_in_stream); Util.close(in_stream); } }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/9e2f7adc7d8258594deee0b114a2fba6814fc0aa/TP.java/buggy/src/org/jgroups/protocols/TP.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 3025, 5375, 1177, 31, 5411, 1250, 7734, 353, 67, 2150, 67, 1098, 16, 24470, 31, 5411, 1160, 10402, 2943, 31, 5411, 1312, 7423, 8826, 4348, 225, 316, 67, 3256, 33, 2011, 31, 5411, 1312, 7423, 17947, 4348, 282, 1681, 67, 267, 67, 3256, 33, 2011, 31, 5411, 29382, 2868, 1015, 33, 2011, 31, 5411, 775, 288, 7734, 316, 67, 3256, 33, 2704, 1312, 7423, 8826, 4348, 12, 4385, 16, 1384, 16, 769, 1769, 7734, 1681, 67, 267, 67, 3256, 33, 2704, 1312, 7423, 17947, 4348, 12, 267, 67, 3256, 1769, 7734, 1015, 33, 2704, 29382, 12, 4385, 67, 267, 67, 3256, 1769, 7734, 1177, 33, 2251, 18, 896, 4897, 5621, 7734, 309, 12, 1444, 18, 9877, 774, 12, 1589, 13, 422, 629, 13, 288, 10792, 309, 12, 8935, 13, 288, 13491, 6674, 2393, 33, 2704, 6674, 5621, 13491, 2393, 18, 6923, 2932, 11482, 628, 315, 2934, 6923, 12, 15330, 2934, 6923, 2932, 711, 3775, 1177, 7566, 2934, 6923, 12, 1589, 1769, 13491, 2393, 18, 6923, 2932, 13, 628, 3134, 87, 7566, 2934, 6923, 12, 1444, 18, 1188, 1444, 1435, 2934, 6923, 2932, 2934, 315, 1769, 13491, 309, 12, 31992, 67, 267, 10943, 67, 28717, 13, 18701, 2393, 18, 6923, 2932, 6667, 353, 20076, 8863, 13491, 469, 18701, 2393, 18, 6923, 2932, 2503, 2026, 4620, 9688, 8863, 13491, 613, 18, 8935, 12, 18366, 1769, 10792, 289, 10792, 309, 12, 31992, 67, 267, 10943, 67, 28717, 13, 13491, 327, 31, 7734, 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, 540, 1071, 918, 1086, 1435, 288, 5411, 3025, 5375, 1177, 31, 5411, 1250, 7734, 353, 67, 2150, 67, 1098, 16, 24470, 31, 5411, 1160, 10402, 2943, 31, 5411, 1312, 7423, 8826, 4348, 225, 316, 67, 3256, 33, 2011, 31, 5411, 1312, 7423, 17947, 4348, 282, 1681, 67, 267, 67, 3256, 33, 2011, 31, 5411, 29382, 2868, 1015, 33, 2011, 31, 5411, 775, 288, 7734, 316, 67, 3256, 33, 2704, 1312, 7423, 8826, 4348, 12, 4385, 16, 1384, 16, 769, 1769, 7734, 1681, 67, 267, 67, 3256, 33, 2704, 1312, 7423, 17947, 4348, 12, 267, 67, 3256, 1769, 7734, 1015, 33, 2704, 29382, 12, 4385, 67, 267, 67, 3256, 1769, 7734, 1177, 33, 2251, 18, 896, 4897, 5621, 7734, 309, 2 ]
number = new PhoneNumber(field[3]);
number = new PhoneNumber(field[3], jfritz);
public Call parseCallFritzboxNewCSV(String line) { String[] field = line.split(PATTERN_CSV); Call call; CallType calltype; Date calldate; PhoneNumber number; // check if line has correct amount of entries if (field.length != 7) { if (field.length != 1) Debug.err("Invalid CSV format, incorrect number fields!"); return null; } // Call type if ((field[0].equals("1"))) { calltype = new CallType("call_in"); } else if ((field[0].equals("2"))) { calltype = new CallType("call_in_failed"); } else if ((field[0].equals("3"))) { calltype = new CallType("call_out"); } else { Debug.err("Invalid Call type in CSV entry!"); //$NON-NLS-1$ return null; } // Call date and time if (field[1] != null) { try { calldate = new SimpleDateFormat("dd.MM.yy HH:mm").parse(field[1]); //$NON-NLS-1$ } catch (ParseException e) { Debug.err("Invalid date format in csv entry!"); //$NON-NLS-1$ return null; } } else { Debug.err("Invalid date format in csv entry!"); //$NON-NLS-1$ return null; } // Phone number if (!field[3].equals("")) number = new PhoneNumber(field[3]); else number = null; // split the duration into two stings, hours:minutes String[] time = field[6].split(":"); // make the call object // change the port to fit the jfritz naming convention if (field[4].equals("FON 1")) { field[4] = "0"; } else if (field[4].equals("FON 2")) { field[4] = "1"; } else if (field[4].equals("FON 3")) { field[4] = "2"; } else if (field[4].equals("Durchwahl")) { field[4] = "3"; } else if (field[4].equals("FON S0")) { field[4] = "4"; } else if (field[4].equals("DATA S0")) { field[4] = "36"; } // Parse the SIP Provider and save it correctly if (field[5].startsWith("Internet: ")) { Enumeration en = jfritz.getSIPProviderTableModel() .getProviderList().elements(); while (en.hasMoreElements()) { SipProvider sipProvider = (SipProvider) en.nextElement(); if (sipProvider.getNumber().equals(field[5].substring(10))) { field[5] = "SIP" + sipProvider.getProviderID(); break; } } } // make the call object and exit call = new Call(jfritz, calltype, calldate, number, field[4], field[5], Integer.parseInt(time[0]) * 3600 + Integer.parseInt(time[1]) * 60); return call; }
7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/9a1f86c9f423bb055102f0d5b191a9dccb808150/CallerList.java/clean/jfritz/src/de/moonflower/jfritz/callerlist/CallerList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3049, 1109, 1477, 42, 583, 94, 2147, 1908, 16570, 12, 780, 980, 13, 288, 202, 202, 780, 8526, 652, 273, 980, 18, 4939, 12, 10831, 67, 16570, 1769, 202, 202, 1477, 745, 31, 202, 202, 1477, 559, 745, 723, 31, 202, 202, 1626, 745, 712, 31, 202, 202, 16943, 1300, 31, 202, 202, 759, 866, 309, 980, 711, 3434, 3844, 434, 3222, 202, 202, 430, 261, 1518, 18, 2469, 480, 2371, 13, 288, 1082, 202, 430, 261, 1518, 18, 2469, 480, 404, 13, 9506, 202, 2829, 18, 370, 2932, 1941, 10381, 740, 16, 11332, 1300, 1466, 4442, 1769, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 759, 3049, 618, 202, 202, 430, 14015, 1518, 63, 20, 8009, 14963, 2932, 21, 6, 20349, 288, 1082, 202, 1991, 723, 273, 394, 3049, 559, 2932, 1991, 67, 267, 8863, 202, 202, 97, 469, 309, 14015, 1518, 63, 20, 8009, 14963, 2932, 22, 6, 20349, 288, 1082, 202, 1991, 723, 273, 394, 3049, 559, 2932, 1991, 67, 267, 67, 7307, 8863, 202, 202, 97, 469, 309, 14015, 1518, 63, 20, 8009, 14963, 2932, 23, 6, 20349, 288, 1082, 202, 1991, 723, 273, 394, 3049, 559, 2932, 1991, 67, 659, 8863, 202, 202, 97, 469, 288, 1082, 202, 2829, 18, 370, 2932, 1941, 3049, 618, 316, 10381, 1241, 4442, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 759, 3049, 1509, 471, 813, 202, 202, 430, 261, 1518, 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, 3049, 1109, 1477, 42, 583, 94, 2147, 1908, 16570, 12, 780, 980, 13, 288, 202, 202, 780, 8526, 652, 273, 980, 18, 4939, 12, 10831, 67, 16570, 1769, 202, 202, 1477, 745, 31, 202, 202, 1477, 559, 745, 723, 31, 202, 202, 1626, 745, 712, 31, 202, 202, 16943, 1300, 31, 202, 202, 759, 866, 309, 980, 711, 3434, 3844, 434, 3222, 202, 202, 430, 261, 1518, 18, 2469, 480, 2371, 13, 288, 1082, 202, 430, 261, 1518, 18, 2469, 480, 404, 13, 9506, 202, 2829, 18, 370, 2932, 1941, 10381, 740, 16, 11332, 1300, 1466, 4442, 1769, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 759, 3049, 618, 202, 202, 430, 14015, 1518, 2 ]
navHandler.setButtonNavigation(MouseEvent.BUTTON1_MASK, FLY_STATE); navHandler.setButtonNavigation(MouseEvent.BUTTON2_MASK, TILT_STATE); navHandler.setButtonNavigation(MouseEvent.BUTTON3_MASK, PAN_STATE);
viewHandler.setButtonNavigation(MouseEvent.BUTTON1_MASK, FLY_STATE); viewHandler.setButtonNavigation(MouseEvent.BUTTON2_MASK, TILT_STATE); viewHandler.setButtonNavigation(MouseEvent.BUTTON3_MASK, PAN_STATE);
public MouseIconDemo() { super("MouseIconDemo test window"); navTypeLabel = new Label("Navigation state: <none>"); add(navTypeLabel, BorderLayout.SOUTH); viewHandler = new MouseViewHandler(); viewHandler.setCanvas(canvas); navHandler.setButtonNavigation(MouseEvent.BUTTON1_MASK, FLY_STATE); navHandler.setButtonNavigation(MouseEvent.BUTTON2_MASK, TILT_STATE); navHandler.setButtonNavigation(MouseEvent.BUTTON3_MASK, PAN_STATE); NavigationStateManager nav_mgr = new NavigationStateManager(canvas); nav_mgr.setNavigationStateListener(this); nav_mgr.setMouseHandler(viewHandler); nav_mgr.setNavigationState(FLY_STATE); buildScene(); }
46075 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46075/8a772b067d45d2eb4b0500d476d98ba808ab71bd/MouseIconDemo.java/buggy/examples/navigation/MouseIconDemo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 17013, 5554, 27126, 1435, 565, 288, 3639, 2240, 2932, 9186, 5554, 27126, 1842, 2742, 8863, 3639, 8775, 559, 2224, 273, 394, 5287, 2932, 14301, 919, 30, 411, 6102, 2984, 1769, 3639, 527, 12, 11589, 559, 2224, 16, 30814, 18, 3584, 5844, 1769, 3639, 1476, 1503, 273, 394, 17013, 1767, 1503, 5621, 3639, 1476, 1503, 18, 542, 12971, 12, 15424, 1769, 3639, 8775, 1503, 18, 542, 3616, 14301, 12, 9186, 1133, 18, 20068, 21, 67, 11704, 16, 478, 7076, 67, 7998, 1769, 3639, 8775, 1503, 18, 542, 3616, 14301, 12, 9186, 1133, 18, 20068, 22, 67, 11704, 16, 399, 2627, 56, 67, 7998, 1769, 3639, 8775, 1503, 18, 542, 3616, 14301, 12, 9186, 1133, 18, 20068, 23, 67, 11704, 16, 453, 1258, 67, 7998, 1769, 3639, 22924, 1119, 1318, 8775, 67, 13552, 273, 394, 22924, 1119, 1318, 12, 15424, 1769, 3639, 8775, 67, 13552, 18, 542, 14301, 1119, 2223, 12, 2211, 1769, 3639, 8775, 67, 13552, 18, 542, 9186, 1503, 12, 1945, 1503, 1769, 3639, 8775, 67, 13552, 18, 542, 14301, 1119, 12, 42, 7076, 67, 7998, 1769, 3639, 1361, 14370, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 17013, 5554, 27126, 1435, 565, 288, 3639, 2240, 2932, 9186, 5554, 27126, 1842, 2742, 8863, 3639, 8775, 559, 2224, 273, 394, 5287, 2932, 14301, 919, 30, 411, 6102, 2984, 1769, 3639, 527, 12, 11589, 559, 2224, 16, 30814, 18, 3584, 5844, 1769, 3639, 1476, 1503, 273, 394, 17013, 1767, 1503, 5621, 3639, 1476, 1503, 18, 542, 12971, 12, 15424, 1769, 3639, 8775, 1503, 18, 542, 3616, 14301, 12, 9186, 1133, 18, 20068, 21, 67, 11704, 16, 478, 7076, 67, 7998, 1769, 3639, 8775, 1503, 18, 542, 3616, 14301, 12, 9186, 1133, 18, 20068, 22, 67, 11704, 16, 399, 2627, 56, 67, 7998, 1769, 3639, 8775, 1503, 18, 542, 3616, 14301, 12, 9186, 1133, 18, 20068, 23, 67, 2 ]
&& (ProjectManager .getManager() .getCurrentProject() .getActiveDiagram()
&& (ProjectManager.getManager().getCurrentProject() .getActiveDiagram()
public boolean shouldBeEnabled() { return ( super.shouldBeEnabled() && (ProjectManager .getManager() .getCurrentProject() .getActiveDiagram() instanceof UMLClassDiagram) && "action.layout-automatic".equals(_tabName)); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/bd2bc14bd41d6e4018fc6ac64fd5de3812c4e21f/ActionLayout.java/clean/src_new/org/argouml/uml/ui/ActionLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1410, 1919, 1526, 1435, 288, 3639, 327, 261, 202, 202, 9565, 18, 13139, 1919, 1526, 1435, 7734, 597, 261, 4109, 1318, 10792, 263, 588, 1318, 1435, 10792, 263, 588, 3935, 4109, 1435, 10792, 263, 588, 3896, 14058, 1940, 1435, 10792, 1276, 587, 1495, 797, 14058, 1940, 13, 7734, 597, 315, 1128, 18, 6741, 17, 5854, 4941, 9654, 14963, 24899, 7032, 461, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1410, 1919, 1526, 1435, 288, 3639, 327, 261, 202, 202, 9565, 18, 13139, 1919, 1526, 1435, 7734, 597, 261, 4109, 1318, 10792, 263, 588, 1318, 1435, 10792, 263, 588, 3935, 4109, 1435, 10792, 263, 588, 3896, 14058, 1940, 1435, 10792, 1276, 587, 1495, 797, 14058, 1940, 13, 7734, 597, 315, 1128, 18, 6741, 17, 5854, 4941, 9654, 14963, 24899, 7032, 461, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
initScriptFunction(cx, scope, idata.languageVersion, idata.itsName, idata.argNames, idata.argCount);
initScriptFunction(cx, scope, idata.itsName);
private void initInterpretedFunction(Context cx, Scriptable scope) { initScriptFunction(cx, scope, idata.languageVersion, idata.itsName, idata.argNames, idata.argCount); if (idata.itsRegExpLiterals != null) { functionRegExps = createRegExpWraps(cx, scope); } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/993454366a57fd32ee051c61ff3a0658292d84f2/InterpretedFunction.java/buggy/js/rhino/src/org/mozilla/javascript/InterpretedFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 2465, 15089, 329, 2083, 12, 1042, 9494, 16, 22780, 2146, 13, 565, 288, 3639, 1208, 3651, 2083, 12, 71, 92, 16, 2146, 16, 612, 396, 18, 4923, 1444, 16, 612, 396, 18, 1282, 461, 16, 21821, 612, 396, 18, 3175, 1557, 16, 612, 396, 18, 3175, 1380, 1769, 3639, 309, 261, 350, 396, 18, 1282, 13673, 48, 11235, 480, 446, 13, 288, 5411, 445, 1617, 424, 1121, 273, 752, 13673, 20785, 12, 71, 92, 16, 2146, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 2465, 15089, 329, 2083, 12, 1042, 9494, 16, 22780, 2146, 13, 565, 288, 3639, 1208, 3651, 2083, 12, 71, 92, 16, 2146, 16, 612, 396, 18, 4923, 1444, 16, 612, 396, 18, 1282, 461, 16, 21821, 612, 396, 18, 3175, 1557, 16, 612, 396, 18, 3175, 1380, 1769, 3639, 309, 261, 350, 396, 18, 1282, 13673, 48, 11235, 480, 446, 13, 288, 5411, 445, 1617, 424, 1121, 273, 752, 13673, 20785, 12, 71, 92, 16, 2146, 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 ]
initializeRuntime(runtime, filename); Node parsedScript = getParsedScript(runtime, reader, filename); runtime.eval(parsedScript);
runInterpreter(runtime, reader, filename); return 0; } catch (SystemExit e) { RubyFixnum status = (RubyFixnum)e.getException().getInstanceVariable("status"); return RubyNumeric.fix2int(status);
private static int runInterpreter(Reader reader, String filename) { Ruby runtime = Ruby.getDefaultInstance(); int status = 0; try { initializeRuntime(runtime, filename); Node parsedScript = getParsedScript(runtime, reader, filename); runtime.eval(parsedScript); } catch (RaiseException rExcptn) { runtime.printError(rExcptn.getException()); status = 1; } catch (ThrowJump throwJump) { runtime.printError(throwJump.getNameError()); status = 1; } runtime.tearDown(); return status; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/b23daaf392467ac2ccb6e6201c1cff058e788c40/Main.java/clean/src/org/jruby/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 1086, 30010, 12, 2514, 2949, 16, 514, 1544, 13, 288, 3639, 19817, 3099, 273, 19817, 18, 588, 1868, 1442, 5621, 3639, 509, 1267, 273, 374, 31, 3639, 775, 288, 5411, 4046, 5576, 12, 9448, 16, 1544, 1769, 5411, 2029, 2707, 3651, 273, 25406, 3651, 12, 9448, 16, 2949, 16, 1544, 1769, 5411, 3099, 18, 8622, 12, 10817, 3651, 1769, 3639, 289, 1044, 261, 30570, 503, 436, 29924, 337, 82, 13, 288, 5411, 3099, 18, 1188, 668, 12, 86, 29924, 337, 82, 18, 588, 503, 10663, 5411, 1267, 273, 404, 31, 3639, 289, 1044, 261, 8282, 26743, 604, 26743, 13, 288, 5411, 3099, 18, 1188, 668, 12, 12849, 26743, 18, 17994, 668, 10663, 5411, 1267, 273, 404, 31, 3639, 289, 3639, 3099, 18, 736, 297, 4164, 5621, 3639, 327, 1267, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 1086, 30010, 12, 2514, 2949, 16, 514, 1544, 13, 288, 3639, 19817, 3099, 273, 19817, 18, 588, 1868, 1442, 5621, 3639, 509, 1267, 273, 374, 31, 3639, 775, 288, 5411, 4046, 5576, 12, 9448, 16, 1544, 1769, 5411, 2029, 2707, 3651, 273, 25406, 3651, 12, 9448, 16, 2949, 16, 1544, 1769, 5411, 3099, 18, 8622, 12, 10817, 3651, 1769, 3639, 289, 1044, 261, 30570, 503, 436, 29924, 337, 82, 13, 288, 5411, 3099, 18, 1188, 668, 12, 86, 29924, 337, 82, 18, 588, 503, 10663, 5411, 1267, 273, 404, 31, 3639, 289, 1044, 261, 8282, 26743, 604, 26743, 13, 288, 5411, 3099, 18, 1188, 668, 12, 12849, 26743, 18, 17994, 668, 10663, 5411, 1267, 273, 2 ]
public Iterable<ValueType> allValueNumbers() {
public Collection<ValueType> allValueNumbers() {
public Iterable<ValueType> allValueNumbers() { if (slotList == null) return Collections.EMPTY_LIST; return Collections.unmodifiableCollection(slotList); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/0b63fd56124a48539e1cfd49dfa6df150514c23b/Frame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/Frame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6725, 32, 17930, 34, 777, 620, 10072, 1435, 288, 202, 202, 430, 261, 14194, 682, 422, 446, 13, 327, 5737, 18, 13625, 67, 7085, 31, 202, 202, 2463, 5737, 18, 318, 13388, 2532, 12, 14194, 682, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 6725, 32, 17930, 34, 777, 620, 10072, 1435, 288, 202, 202, 430, 261, 14194, 682, 422, 446, 13, 327, 5737, 18, 13625, 67, 7085, 31, 202, 202, 2463, 5737, 18, 318, 13388, 2532, 12, 14194, 682, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void createControl(Composite parent) { final AnimationManager manager = AnimationManager.getInstance(); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground( parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); imageCanvas.setToolTipText(ProgressMessages.getString("AnimationItem.HoverHelp")); //$NON-NLS-1$ imageCanvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent event) { paintImage( event, manager.getImage(), manager.getImageData()[0]); } }); imageCanvasGC = new GC(imageCanvas); imageCanvas.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { imageCanvasGC.dispose(); } }); imageCanvas.addMouseListener(new MouseListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseListener#mouseDoubleClick(org.eclipse.swt.events.MouseEvent) */ public void mouseDoubleClick(MouseEvent arg0) { toggleFloatingWindow(); } /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseListener#mouseDown(org.eclipse.swt.events.MouseEvent) */ public void mouseDown(MouseEvent arg0) { //Do nothing } /* * (non-Javadoc) * * @see org.eclipse.swt.events.MouseListener#mouseUp(org.eclipse.swt.events.MouseEvent) */ public void mouseUp(MouseEvent arg0) { //Do nothing } }); imageCanvas .getAccessible() .addAccessibleControlListener(new AccessibleControlAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getValue(org.eclipse.swt.accessibility.AccessibleControlEvent) */ public void getValue(AccessibleControlEvent arg0) { if (manager.isAnimated()) arg0.result = ProgressMessages.getString("AnimationItem.InProgressStatus"); //$NON-NLS-1$ else arg0.result = ProgressMessages.getString("AnimationItem.NotRunningStatus"); //$NON-NLS-1$ } }); imageCanvas.addHelpListener(new HelpListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.HelpListener#helpRequested(org.eclipse.swt.events.HelpEvent) */ public void helpRequested(HelpEvent e) { // XXX Auto-generated method stub } }); manager.addItem(this); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a23a2f7d8af51ae4aaa0ae21daaa81f092725969/AnimationItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 2640, 3367, 12, 799, 1724, 881, 817, 15329, 202, 202, 6385, 10816, 49, 940, 1035, 1063, 33, 10816, 1318, 18, 588, 1442, 5621, 202, 202, 759, 2568, 90, 689, 538, 13606, 5787, 2730, 18, 202, 202, 2730, 12971, 33, 2704, 12971, 12, 2938, 16, 55, 8588, 18, 9826, 1769, 202, 202, 2730, 12971, 18, 542, 8199, 12, 1082, 202, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 59, 734, 3264, 67, 8720, 20166, 10019, 202, 202, 2730, 12971, 18, 542, 29250, 1528, 12, 5491, 5058, 18, 588, 780, 2932, 10816, 1180, 18, 21184, 6696, 7923, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 2730, 12971, 18, 1289, 12699, 2223, 12, 2704, 12699, 2223, 1435, 95, 1082, 202, 482, 6459, 84, 1598, 3367, 12, 12699, 1133, 2575, 15329, 9506, 202, 84, 1598, 2040, 12, 6862, 202, 2575, 16, 6862, 202, 4181, 18, 588, 2040, 9334, 6862, 202, 4181, 18, 588, 2040, 751, 1435, 63, 20, 19226, 1082, 202, 97, 202, 202, 22938, 202, 202, 2730, 12971, 15396, 33, 2704, 15396, 12, 2730, 12971, 1769, 202, 202, 2730, 12971, 18, 1289, 1669, 4150, 2223, 12, 2704, 1669, 4150, 2223, 1435, 95, 1082, 202, 482, 6459, 6587, 1669, 7423, 12, 1669, 4150, 1133, 73, 15329, 9506, 202, 2730, 12971, 15396, 18, 2251, 4150, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 2730, 12971, 18, 1289, 9186, 2223, 12, 2704, 9186, 2223, 1435, 95, 1082, 202, 20308, 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, 6459, 2640, 3367, 12, 799, 1724, 881, 817, 15329, 202, 202, 6385, 10816, 49, 940, 1035, 1063, 33, 10816, 1318, 18, 588, 1442, 5621, 202, 202, 759, 2568, 90, 689, 538, 13606, 5787, 2730, 18, 202, 202, 2730, 12971, 33, 2704, 12971, 12, 2938, 16, 55, 8588, 18, 9826, 1769, 202, 202, 2730, 12971, 18, 542, 8199, 12, 1082, 202, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 59, 734, 3264, 67, 8720, 20166, 10019, 202, 202, 2730, 12971, 18, 542, 29250, 1528, 12, 5491, 5058, 18, 588, 780, 2932, 10816, 1180, 18, 21184, 6696, 7923, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 2730, 12971, 18, 2 ]
addHeaderInclude(sourceTU, headerTU, text, new SubProgressMonitor(monitor, 50));
includeString = getHeaderIncludeString(sourceTU, headerTU, text, new SubProgressMonitor(monitor, 50)); if (includeString != null) { if (oldContents != null && hasInclude(oldContents, includeString)) { includeString = null; } } } if (includeString != null) { if (oldContents != null) { int insertionPos = getIncludeInsertionPos(oldContents); if (insertionPos == -1) { text.append(oldContents); text.append(fLineDelimiter); text.append(includeString); text.append(fLineDelimiter); } else { text.append(oldContents.substring(0, insertionPos)); text.append(includeString); text.append(fLineDelimiter); text.append(oldContents.substring(insertionPos)); } } else { text.append(includeString); text.append(fLineDelimiter); } text.append(fLineDelimiter); } else if (oldContents != null) { text.append(oldContents);
public String constructSourceFileContent(ITranslationUnit sourceTU, ITranslationUnit headerTU, List publicMethods, List protectedMethods, List privateMethods, IProgressMonitor monitor) { monitor.beginTask(NewClassWizardMessages.getString("NewClassCodeGeneration.createType.task.source"), 150); //$NON-NLS-1$ //TODO should use code templates StringBuffer text = new StringBuffer(); if (headerTU != null) { addHeaderInclude(sourceTU, headerTU, text, new SubProgressMonitor(monitor, 50)); text.append(fLineDelimiter); } //TODO sort methods (eg constructor always first?) if (publicMethods.isEmpty() && protectedMethods.isEmpty() && privateMethods.isEmpty()) { // no methods } else { if (fNamespace != null) { beginNamespace(text); } addMethodBodies(publicMethods, protectedMethods, privateMethods, text, new SubProgressMonitor(monitor, 50)); if (fNamespace != null) { endNamespace(text); } } String newContents = text.toString(); monitor.done(); return newContents; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0feec5d746509786a6956197b6ef69891abf1347/NewClassCodeGenerator.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/classwizard/NewClassCodeGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 4872, 1830, 25391, 12, 45, 6717, 2802, 1084, 56, 57, 16, 467, 6717, 2802, 1446, 56, 57, 16, 987, 1071, 4712, 16, 987, 4750, 4712, 16, 987, 3238, 4712, 16, 467, 5491, 7187, 6438, 13, 288, 3639, 6438, 18, 10086, 2174, 12, 1908, 797, 27130, 5058, 18, 588, 780, 2932, 1908, 797, 1085, 13842, 18, 2640, 559, 18, 4146, 18, 3168, 6, 3631, 18478, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 368, 6241, 1410, 999, 981, 5539, 3639, 6674, 977, 273, 394, 6674, 5621, 3639, 309, 261, 3374, 56, 57, 480, 446, 13, 288, 5411, 2341, 780, 273, 7911, 8752, 780, 12, 3168, 56, 57, 16, 1446, 56, 57, 16, 977, 16, 394, 2592, 5491, 7187, 12, 10259, 16, 6437, 10019, 309, 261, 6702, 780, 480, 446, 13, 288, 225, 309, 261, 1673, 6323, 480, 446, 597, 711, 8752, 12, 1673, 6323, 16, 2341, 780, 3719, 288, 225, 2341, 780, 273, 446, 31, 289, 289, 289, 225, 309, 261, 6702, 780, 480, 446, 13, 288, 309, 261, 1673, 6323, 480, 446, 13, 288, 509, 12626, 1616, 273, 7854, 1571, 29739, 1616, 12, 1673, 6323, 1769, 309, 261, 6387, 285, 1616, 422, 300, 21, 13, 288, 977, 18, 6923, 12, 1673, 6323, 1769, 977, 18, 6923, 12, 74, 1670, 12007, 1769, 977, 18, 6923, 12, 6702, 780, 1769, 977, 18, 6923, 12, 74, 1670, 12007, 1769, 289, 469, 288, 977, 18, 6923, 12, 1673, 6323, 18, 28023, 12, 20, 16, 12626, 1616, 10019, 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, 4872, 1830, 25391, 12, 45, 6717, 2802, 1084, 56, 57, 16, 467, 6717, 2802, 1446, 56, 57, 16, 987, 1071, 4712, 16, 987, 4750, 4712, 16, 987, 3238, 4712, 16, 467, 5491, 7187, 6438, 13, 288, 3639, 6438, 18, 10086, 2174, 12, 1908, 797, 27130, 5058, 18, 588, 780, 2932, 1908, 797, 1085, 13842, 18, 2640, 559, 18, 4146, 18, 3168, 6, 3631, 18478, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 368, 6241, 1410, 999, 981, 5539, 3639, 6674, 977, 273, 394, 6674, 5621, 3639, 309, 261, 3374, 56, 57, 480, 446, 13, 288, 5411, 2341, 780, 273, 7911, 8752, 780, 12, 3168, 56, 57, 16, 1446, 56, 57, 16, 977, 16, 394, 2592, 2 ]
ruleArray[i * 2] = WorkspaceUndoSupport.getWorkspaceRuleFactory()
ruleArray[i * 2] = WorkspaceUndoUtil.getWorkspaceRuleFactory()
protected ISchedulingRule getExecuteSchedulingRule() { ISchedulingRule[] ruleArray = new ISchedulingRule[resourceDescriptions.length * 2]; for (int i = 0; i < resourceDescriptions.length; i++) { IResource resource = resourceDescriptions[i].createResourceHandle(); ruleArray[i * 2] = WorkspaceUndoSupport.getWorkspaceRuleFactory() .createRule(resource); ruleArray[i * 2 + 1] = WorkspaceUndoSupport .getWorkspaceRuleFactory().modifyRule(resource); } return MultiRule.combine(ruleArray); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/97ef6dcf33ba5bdca2e9f1069bc34ae96b207337/AbstractCreateResourcesOperation.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/undo/AbstractCreateResourcesOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4437, 13252, 2175, 336, 5289, 25401, 2175, 1435, 288, 202, 202, 5127, 13252, 2175, 8526, 1720, 1076, 273, 394, 4437, 13252, 2175, 63, 3146, 16844, 18, 2469, 380, 576, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1058, 16844, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 1420, 1058, 273, 1058, 16844, 63, 77, 8009, 2640, 1420, 3259, 5621, 1082, 202, 5345, 1076, 63, 77, 380, 576, 65, 273, 14396, 31224, 6289, 18, 588, 8241, 2175, 1733, 1435, 6862, 202, 18, 2640, 2175, 12, 3146, 1769, 1082, 202, 5345, 1076, 63, 77, 380, 576, 397, 404, 65, 273, 14396, 31224, 6289, 6862, 202, 18, 588, 8241, 2175, 1733, 7675, 17042, 2175, 12, 3146, 1769, 202, 202, 97, 202, 202, 2463, 5991, 2175, 18, 14082, 12, 5345, 1076, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4437, 13252, 2175, 336, 5289, 25401, 2175, 1435, 288, 202, 202, 5127, 13252, 2175, 8526, 1720, 1076, 273, 394, 4437, 13252, 2175, 63, 3146, 16844, 18, 2469, 380, 576, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1058, 16844, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 1420, 1058, 273, 1058, 16844, 63, 77, 8009, 2640, 1420, 3259, 5621, 1082, 202, 5345, 1076, 63, 77, 380, 576, 65, 273, 14396, 31224, 6289, 18, 588, 8241, 2175, 1733, 1435, 6862, 202, 18, 2640, 2175, 12, 3146, 1769, 1082, 202, 5345, 1076, 63, 77, 380, 576, 397, 404, 65, 273, 14396, 31224, 6289, 6862, 202, 18, 588, 8241, 2175, 1733, 7675, 17042, 2175, 2 ]
jjCheckNAddStates(0, 2);
jjCheckNAddStates(10, 12);
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 78; 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 > 52) kind = 52; jjCheckNAdd(53); } else if ((0x100002600L & l) != 0L) { if (kind > 26) kind = 26; jjCheckNAdd(9); } else if (curChar == 36) { if (kind > 13) kind = 13; jjCheckNAddTwoStates(65, 66); } else if (curChar == 45) jjCheckNAdd(53); else if (curChar == 33) { if (kind > 44) kind = 44; } else if (curChar == 61) jjstateSet[jjnewStateCnt++] = 45; else if (curChar == 62) jjstateSet[jjnewStateCnt++] = 43; else if (curChar == 60) jjstateSet[jjnewStateCnt++] = 40; else if (curChar == 38) jjstateSet[jjnewStateCnt++] = 30; else if (curChar == 39) jjCheckNAddStates(0, 2); else if (curChar == 34) jjCheckNAddStates(3, 5); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 7; else if (curChar == 41) { if (kind > 9) kind = 9; jjCheckNAddStates(6, 8); } if ((0x2400L & l) != 0L) { if (kind > 30) kind = 30; } else if (curChar == 33) jjstateSet[jjnewStateCnt++] = 49; else if (curChar == 62) { if (kind > 40) kind = 40; } else if (curChar == 60) { if (kind > 38) kind = 38; } if (curChar == 13) jjstateSet[jjnewStateCnt++] = 28; break; case 1: if ((0x100000200L & l) != 0L) jjCheckNAddStates(6, 8); break; case 2: if ((0x2400L & l) != 0L && kind > 9) kind = 9; break; case 3: if (curChar == 10 && kind > 9) kind = 9; break; case 4: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 3; break; case 5: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 6; break; case 6: if ((0xfffffff7ffffffffL & l) != 0L && kind > 16) kind = 16; break; case 7: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 5; break; case 8: if (curChar == 35) jjstateSet[jjnewStateCnt++] = 7; break; case 9: if ((0x100002600L & l) == 0L) break; if (kind > 26) kind = 26; jjCheckNAdd(9); break; case 10: if (curChar == 34) jjCheckNAddStates(3, 5); break; case 11: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(3, 5); break; case 12: if (curChar == 34 && kind > 27) kind = 27; break; case 14: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(3, 5); break; case 15: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(9, 12); break; case 16: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(3, 5); break; case 17: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 18; break; case 18: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(16); break; case 19: if (curChar == 32) jjAddStates(13, 14); break; case 20: if (curChar == 10) jjCheckNAddStates(3, 5); break; case 21: if (curChar == 39) jjCheckNAddStates(0, 2); break; case 22: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(0, 2); break; case 24: if (curChar == 32) jjAddStates(15, 16); break; case 25: if (curChar == 10) jjCheckNAddStates(0, 2); break; case 26: if (curChar == 39 && kind > 27) kind = 27; break; case 27: if ((0x2400L & l) != 0L && kind > 30) kind = 30; break; case 28: if (curChar == 10 && kind > 30) kind = 30; break; case 29: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 28; break; case 30: if (curChar == 38 && kind > 36) kind = 36; break; case 31: if (curChar == 38) jjstateSet[jjnewStateCnt++] = 30; break; case 39: if (curChar == 60 && kind > 38) kind = 38; break; case 40: if (curChar == 61 && kind > 39) kind = 39; break; case 41: if (curChar == 60) jjstateSet[jjnewStateCnt++] = 40; break; case 42: if (curChar == 62 && kind > 40) kind = 40; break; case 43: if (curChar == 61 && kind > 41) kind = 41; break; case 44: if (curChar == 62) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 61 && kind > 42) kind = 42; break; case 46: if (curChar == 61) jjstateSet[jjnewStateCnt++] = 45; break; case 49: if (curChar == 61 && kind > 43) kind = 43; break; case 50: if (curChar == 33) jjstateSet[jjnewStateCnt++] = 49; break; case 51: if (curChar == 33 && kind > 44) kind = 44; break; case 52: if (curChar == 45) jjCheckNAdd(53); break; case 53: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 52) kind = 52; jjCheckNAdd(53); break; case 55: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 55) kind = 55; jjstateSet[jjnewStateCnt++] = 55; break; case 58: if ((0x3ff000000000000L & l) != 0L) jjAddStates(17, 18); break; case 62: if (curChar == 36 && kind > 13) kind = 13; break; case 64: if (curChar == 36) jjCheckNAddTwoStates(65, 66); break; case 66: if (curChar == 33 && kind > 14) kind = 14; break; case 67: if (curChar != 36) break; if (kind > 13) kind = 13; jjCheckNAddTwoStates(65, 66); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 55) kind = 55; jjCheckNAdd(55); } else if (curChar == 92) jjCheckNAddStates(19, 22); else if (curChar == 123) jjstateSet[jjnewStateCnt++] = 57; else if (curChar == 124) jjstateSet[jjnewStateCnt++] = 35; if (curChar == 110) jjAddStates(23, 24); else if (curChar == 103) jjAddStates(25, 26); else if (curChar == 108) jjAddStates(27, 28); else if (curChar == 101) jjstateSet[jjnewStateCnt++] = 47; else if (curChar == 111) jjstateSet[jjnewStateCnt++] = 37; else if (curChar == 97) jjstateSet[jjnewStateCnt++] = 33; break; case 6: if (kind > 16) kind = 16; break; case 11: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(3, 5); break; case 13: if (curChar == 92) jjAddStates(29, 33); break; case 14: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(3, 5); break; case 22: jjAddStates(0, 2); break; case 23: if (curChar == 92) jjAddStates(15, 16); break; case 32: if (curChar == 100 && kind > 36) kind = 36; break; case 33: if (curChar == 110) jjstateSet[jjnewStateCnt++] = 32; break; case 34: if (curChar == 97) jjstateSet[jjnewStateCnt++] = 33; break; case 35: if (curChar == 124 && kind > 37) kind = 37; break; case 36: if (curChar == 124) jjstateSet[jjnewStateCnt++] = 35; break; case 37: if (curChar == 114 && kind > 37) kind = 37; break; case 38: if (curChar == 111) jjstateSet[jjnewStateCnt++] = 37; break; case 47: if (curChar == 113 && kind > 42) kind = 42; break; case 48: if (curChar == 101) jjstateSet[jjnewStateCnt++] = 47; break; case 54: case 55: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 55) kind = 55; jjCheckNAdd(55); break; case 56: if (curChar == 123) jjstateSet[jjnewStateCnt++] = 57; break; case 57: case 58: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(58, 59); break; case 59: if (curChar == 125 && kind > 56) kind = 56; break; case 60: if (curChar == 92) jjCheckNAddStates(19, 22); break; case 61: if (curChar == 92) jjCheckNAddTwoStates(61, 62); break; case 63: if (curChar == 92) jjCheckNAddTwoStates(63, 64); break; case 65: if (curChar == 92) jjAddStates(34, 35); break; case 68: if (curChar == 108) jjAddStates(27, 28); break; case 69: if (curChar == 116 && kind > 38) kind = 38; break; case 70: if (curChar == 101 && kind > 39) kind = 39; break; case 71: if (curChar == 103) jjAddStates(25, 26); break; case 72: if (curChar == 116 && kind > 40) kind = 40; break; case 73: if (curChar == 101 && kind > 41) kind = 41; break; case 74: if (curChar == 110) jjAddStates(23, 24); break; case 75: if (curChar == 101 && kind > 43) kind = 43; break; case 76: if (curChar == 116 && kind > 44) kind = 44; break; case 77: if (curChar == 111) jjstateSet[jjnewStateCnt++] = 76; 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 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 16) kind = 16; break; case 11: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(3, 5); break; case 22: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(0, 2); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 78 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/5b85dc5e122a5bdf3ea90d4f89cebe71413fc26b/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 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, 22860, 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, 18106, 13, 13491, 3846, 273, 18106, 31, 5397, 10684, 1564, 50, 986, 12, 8643, 1769, 5375, 289, 5375, 469, 309, 14015, 20, 92, 23899, 5558, 713, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 10659, 13, 13491, 3846, 273, 10659, 31, 5397, 10684, 1564, 50, 986, 12, 29, 1769, 5375, 289, 5375, 469, 309, 261, 1397, 2156, 422, 6580, 13, 5375, 288, 5397, 309, 261, 9224, 405, 5958, 13, 13491, 3846, 273, 5958, 31, 5397, 10684, 1564, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 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, 22860, 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 ]
CurrentPage currentPage = (CurrentPage)
CurrentPage2 currentPage = (CurrentPage2)
public void dialogDismissed(Dialog d) { if (d == passDialog || d == uniDialog) { return; } if(findDialog.wasClosed()) { System.out.println("Find Dialog Closed"); } else { String searchString = findDialog.getTextField().getText(); if(searchString == null) { System.out.println("Java ERROR - SearchString not received from Dialog Box" + searchString); } else if(searchString.equals("")) { System.out.println("Clear button selected"); try { CurrentPage currentPage = (CurrentPage) browserControl.queryInterface(BrowserControl.CURRENT_PAGE_NAME); currentPage.resetFind(); } catch (Exception e) { System.out.println(e.getMessage()); } } else { System.out.println("Tring to Find String - " + searchString); System.out.println("Parameters are - Backwrads = " + findDialog.backwards + " and Matchcase = " + findDialog.matchcase); try { CurrentPage currentPage = (CurrentPage) browserControl.queryInterface(BrowserControl.CURRENT_PAGE_NAME); currentPage.findInPage(searchString, !findDialog.backwards, findDialog.matchcase); } catch (Exception e) { System.out.println(e.getMessage()); } } }}
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/8fe43ad62a9bc8c93aaf088f374eb7b08f06db35/EMWindow.java/buggy/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 6176, 1669, 11173, 730, 12, 6353, 302, 13, 288, 565, 309, 261, 72, 422, 1342, 6353, 747, 302, 422, 7738, 6353, 13, 288, 3639, 327, 31, 565, 289, 225, 309, 12, 4720, 6353, 18, 17416, 7395, 10756, 288, 565, 2332, 18, 659, 18, 8222, 2932, 3125, 17242, 25582, 8863, 225, 289, 225, 469, 288, 565, 514, 1623, 780, 273, 1104, 6353, 18, 588, 16157, 7675, 588, 1528, 5621, 565, 309, 12, 3072, 780, 422, 446, 13, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 5852, 5475, 300, 5167, 780, 486, 5079, 628, 17242, 8549, 6, 397, 4697, 1623, 780, 1769, 565, 289, 565, 469, 309, 12, 3072, 780, 18, 14963, 2932, 6, 3719, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 9094, 3568, 3170, 8863, 1377, 775, 288, 1850, 6562, 1964, 22, 15117, 273, 261, 3935, 1964, 22, 13, 2868, 4748, 3367, 18, 2271, 1358, 12, 9132, 3367, 18, 15487, 67, 11219, 67, 1985, 1769, 1850, 15117, 18, 6208, 3125, 5621, 1377, 289, 1377, 1044, 261, 503, 425, 13, 288, 1850, 2332, 18, 659, 18, 8222, 12, 73, 18, 24906, 10663, 1377, 289, 565, 289, 565, 469, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 1070, 310, 358, 4163, 514, 282, 300, 225, 315, 397, 1623, 780, 1769, 1377, 2332, 18, 659, 18, 8222, 2932, 2402, 854, 565, 300, 4297, 91, 354, 2377, 273, 315, 397, 1104, 6353, 18, 823, 6397, 397, 315, 471, 4639, 3593, 273, 315, 397, 1104, 6353, 18, 1916, 3593, 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, 1071, 918, 6176, 1669, 11173, 730, 12, 6353, 302, 13, 288, 565, 309, 261, 72, 422, 1342, 6353, 747, 302, 422, 7738, 6353, 13, 288, 3639, 327, 31, 565, 289, 225, 309, 12, 4720, 6353, 18, 17416, 7395, 10756, 288, 565, 2332, 18, 659, 18, 8222, 2932, 3125, 17242, 25582, 8863, 225, 289, 225, 469, 288, 565, 514, 1623, 780, 273, 1104, 6353, 18, 588, 16157, 7675, 588, 1528, 5621, 565, 309, 12, 3072, 780, 422, 446, 13, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 5852, 5475, 300, 5167, 780, 486, 5079, 628, 17242, 8549, 6, 397, 4697, 1623, 780, 1769, 565, 289, 565, 469, 309, 12, 3072, 780, 18, 14963, 2932, 6, 3719, 288, 1377, 2332, 18, 2 ]
currentElement.setAttributeNode(attr);
currentElement.setAttributeNodeNS(attr);
public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException { final Element currentElement = (Element) fDOMValidatorHelper.getCurrentElement(); final NamedNodeMap attrMap = currentElement.getAttributes(); final int oldLength = attrMap.getLength(); // If it's a Xerces DOM store type information for attributes, set idness, etc.. if (fDocumentImpl != null) { AttrImpl attr; for (int i = 0; i < oldLength; ++i) { attr = (AttrImpl) attrMap.item(i); // write type information to this attribute AttributePSVI attrPSVI = (AttributePSVI) attributes.getAugmentations(i).getItem (Constants.ATTRIBUTE_PSVI); if (attrPSVI != null) { if (processAttributePSVI(attr, attrPSVI)) { ((ElementImpl) currentElement).setIdAttributeNode (attr, true); } } } } final int newLength = attributes.getLength(); // Add default/fixed attributes if (newLength > oldLength) { if (fDocumentImpl == null) { for (int i = oldLength; i < newLength; ++i) { attributes.getName(i, fAttributeQName); currentElement.setAttributeNS(fAttributeQName.uri, fAttributeQName.rawname, attributes.getValue(i)); } } // If it's a Xerces DOM store type information for attributes, set idness, etc.. else { for (int i = oldLength; i < newLength; ++i) { attributes.getName(i, fAttributeQName); AttrImpl attr = (AttrImpl) fDocumentImpl.createAttributeNS(fAttributeQName.uri, fAttributeQName.rawname, fAttributeQName.localpart); attr.setValue(attributes.getValue(i)); // write type information to this attribute AttributePSVI attrPSVI = (AttributePSVI) attributes.getAugmentations(i).getItem (Constants.ATTRIBUTE_PSVI); if (attrPSVI != null) { if (processAttributePSVI(attr, attrPSVI)) { ((ElementImpl) currentElement).setIdAttributeNode (attr, true); } } attr.setSpecified(false); currentElement.setAttributeNode(attr); } } } }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/6ee2e49cece3ca7892bea23fd3032ea365038dfb/DOMResultAugmentor.java/clean/src/org/apache/xerces/jaxp/validation/DOMResultAugmentor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 13688, 930, 16, 3167, 2498, 1677, 16, 5411, 432, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 727, 3010, 22993, 273, 261, 1046, 13, 284, 8168, 5126, 2276, 18, 588, 3935, 1046, 5621, 3639, 727, 9796, 907, 863, 1604, 863, 273, 22993, 18, 588, 2498, 5621, 7734, 727, 509, 1592, 1782, 273, 1604, 863, 18, 588, 1782, 5621, 3639, 368, 971, 518, 1807, 279, 1139, 264, 764, 4703, 1707, 618, 1779, 364, 1677, 16, 444, 612, 4496, 16, 5527, 838, 3639, 309, 261, 74, 2519, 2828, 480, 446, 13, 288, 5411, 11289, 2828, 1604, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1592, 1782, 31, 965, 77, 13, 288, 7734, 1604, 273, 261, 3843, 2828, 13, 1604, 863, 18, 1726, 12, 77, 1769, 27573, 368, 1045, 618, 1779, 358, 333, 1566, 7734, 3601, 5857, 4136, 1604, 5857, 4136, 273, 261, 1499, 5857, 4136, 13, 1677, 18, 588, 37, 14870, 1012, 12, 77, 2934, 588, 1180, 261, 2918, 18, 11616, 67, 5857, 4136, 1769, 7734, 309, 261, 1747, 5857, 4136, 480, 446, 13, 288, 10792, 309, 261, 2567, 1499, 5857, 4136, 12, 1747, 16, 1604, 5857, 4136, 3719, 288, 13491, 14015, 1046, 2828, 13, 22993, 2934, 542, 548, 1499, 907, 261, 1747, 16, 638, 1769, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 7734, 727, 509, 394, 1782, 273, 1677, 18, 588, 1782, 5621, 3639, 368, 1436, 805, 19, 12429, 1677, 3639, 309, 261, 2704, 1782, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 13688, 930, 16, 3167, 2498, 1677, 16, 5411, 432, 14870, 1012, 279, 9024, 13, 1216, 1139, 50, 45, 503, 288, 3639, 727, 3010, 22993, 273, 261, 1046, 13, 284, 8168, 5126, 2276, 18, 588, 3935, 1046, 5621, 3639, 727, 9796, 907, 863, 1604, 863, 273, 22993, 18, 588, 2498, 5621, 7734, 727, 509, 1592, 1782, 273, 1604, 863, 18, 588, 1782, 5621, 3639, 368, 971, 518, 1807, 279, 1139, 264, 764, 4703, 1707, 618, 1779, 364, 1677, 16, 444, 612, 4496, 16, 5527, 838, 3639, 309, 261, 74, 2519, 2828, 480, 446, 13, 288, 5411, 11289, 2828, 1604, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1592, 1782, 31, 965, 77, 2 ]
if (entry != null) return new ZipEntryClassFile(zipFile, entry); else return null;
if (entry != null) return new ZipEntryClassFile(this, entry); else return null;
public ClassFile find(String name) { String key = name.replace('.', '/') + ".class"; ZipEntry entry = zipFile.getEntry(key); if (entry != null) return new ZipEntryClassFile(zipFile, entry); else return null; }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/837c97b0dd4854b8dbc0075c94b6226fa49f1803/ClassPathManager.java/clean/weaver/src/org/aspectj/weaver/bcel/ClassPathManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 30614, 1104, 12, 780, 508, 13, 288, 1082, 202, 780, 498, 273, 508, 18, 2079, 2668, 1093, 16, 2023, 13, 397, 3552, 1106, 14432, 1082, 202, 9141, 1622, 1241, 273, 19450, 18, 588, 1622, 12, 856, 1769, 1082, 202, 430, 261, 4099, 480, 446, 13, 327, 394, 23652, 797, 812, 12, 4450, 812, 16, 1241, 1769, 1082, 202, 12107, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3196, 202, 482, 30614, 1104, 12, 780, 508, 13, 288, 1082, 202, 780, 498, 273, 508, 18, 2079, 2668, 1093, 16, 2023, 13, 397, 3552, 1106, 14432, 1082, 202, 9141, 1622, 1241, 273, 19450, 18, 588, 1622, 12, 856, 1769, 1082, 202, 430, 261, 4099, 480, 446, 13, 327, 394, 23652, 797, 812, 12, 4450, 812, 16, 1241, 1769, 1082, 202, 12107, 327, 446, 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 ]
initList(false); for (SpansCell cell = first; more && cell!=null; cell=cell.next) { more = cell.skipTo(target); } if (more) { listToQueue(); }
initList(target);
public boolean skipTo(int target) throws IOException { if (firstTime) { // initialize initList(false); for (SpansCell cell = first; more && cell!=null; cell=cell.next) { more = cell.skipTo(target); // skip all } if (more) { listToQueue(); } firstTime = false; } else { // normal case while (more && min().doc() < target) { // skip as needed more = min().skipTo(target); if (more) queue.adjustTop(); } } // Get rid of cached slop value. totalSlop = -1; if (more) { if (atMatch()) // at a match? return true; return next(); // no, scan } return false; }
45239 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45239/fb9ec4b5e9820d53bd160fad4400685610f6bcb3/NearSpans.java/buggy/WEB-INF/contrib/xtf-lucene/src/java/org/apache/lucene/search/spans/NearSpans.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2488, 774, 12, 474, 1018, 13, 1216, 1860, 288, 565, 309, 261, 3645, 950, 13, 288, 17311, 368, 4046, 1377, 1208, 682, 12, 5743, 1769, 1377, 364, 261, 17798, 4020, 2484, 273, 1122, 31, 1898, 597, 2484, 5, 33, 2011, 31, 2484, 33, 3855, 18, 4285, 13, 288, 3639, 1898, 273, 2484, 18, 7457, 774, 12, 3299, 1769, 9079, 368, 2488, 777, 1377, 289, 1377, 309, 261, 10161, 13, 288, 3639, 666, 774, 3183, 5621, 1377, 289, 1377, 1122, 950, 273, 629, 31, 565, 289, 469, 288, 4766, 1377, 368, 2212, 648, 1377, 1323, 261, 10161, 597, 1131, 7675, 2434, 1435, 411, 1018, 13, 288, 1377, 368, 2488, 487, 3577, 3639, 1898, 273, 1131, 7675, 7457, 774, 12, 3299, 1769, 3639, 309, 261, 10161, 13, 1850, 2389, 18, 13362, 3401, 5621, 1377, 289, 565, 289, 3639, 368, 968, 10911, 434, 3472, 30748, 460, 18, 565, 2078, 55, 16884, 273, 300, 21, 31, 3639, 309, 261, 10161, 13, 288, 1377, 309, 261, 270, 2060, 10756, 17311, 368, 622, 279, 845, 35, 3639, 327, 638, 31, 1377, 327, 1024, 5621, 17311, 368, 1158, 16, 4135, 565, 289, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 1250, 2488, 774, 12, 474, 1018, 13, 1216, 1860, 288, 565, 309, 261, 3645, 950, 13, 288, 17311, 368, 4046, 1377, 1208, 682, 12, 5743, 1769, 1377, 364, 261, 17798, 4020, 2484, 273, 1122, 31, 1898, 597, 2484, 5, 33, 2011, 31, 2484, 33, 3855, 18, 4285, 13, 288, 3639, 1898, 273, 2484, 18, 7457, 774, 12, 3299, 1769, 9079, 368, 2488, 777, 1377, 289, 1377, 309, 261, 10161, 13, 288, 3639, 666, 774, 3183, 5621, 1377, 289, 1377, 1122, 950, 273, 629, 31, 565, 289, 469, 288, 4766, 1377, 368, 2212, 648, 1377, 1323, 261, 10161, 597, 1131, 7675, 2434, 1435, 411, 1018, 13, 288, 1377, 368, 2488, 487, 3577, 3639, 1898, 273, 1131, 7675, 7457, 2 ]
keyMnemonic[functions.getSelectedIndex()]));
mnemonicData[functions.getSelectedIndex()]));
private void setNewKeyStrokes(KeyEvent ke) { if (!macros && !special) { if (isLinux) mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke,isAltGr); else mapper.setKeyStroke(keyMnemonic[functions.getSelectedIndex()],ke); strokeDesc.setText(mapper.getKeyStrokeDesc( keyMnemonic[functions.getSelectedIndex()])); } else { if (macros) { System.out.println((String)functions.getSelectedValue()); if (isLinux) mapper.setKeyStroke((String)functions.getSelectedValue(),ke,isAltGr); else mapper.setKeyStroke((String)functions.getSelectedValue(),ke); strokeDesc.setText(mapper.getKeyStrokeDesc( (String)functions.getSelectedValue())); } if (special) { System.out.println((String)functions.getSelectedValue()); String k = ""; k += ((String)functions.getSelectedValue()).charAt(7); if (isLinux) mapper.setKeyStroke(k,ke,isAltGr); else mapper.setKeyStroke(k,ke); strokeDesc.setText(mapper.getKeyStrokeDesc(k)); } } mods = true; }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/93e6a881b5eb94adc18e4cf3d7aba4aeabc5b4c0/KeyConfigure.java/buggy/src/org/tn5250j/tools/KeyConfigure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 19469, 653, 510, 3250, 281, 12, 653, 1133, 12519, 13, 288, 1377, 309, 16051, 5821, 6973, 597, 401, 9371, 13, 288, 540, 309, 261, 291, 19475, 13, 5411, 5815, 18, 542, 653, 14602, 12, 856, 29668, 20918, 63, 10722, 18, 588, 7416, 1016, 1435, 6487, 4491, 16, 291, 10655, 20799, 1769, 540, 469, 5411, 5815, 18, 542, 653, 14602, 12, 856, 29668, 20918, 63, 10722, 18, 588, 7416, 1016, 1435, 6487, 4491, 1769, 540, 11040, 4217, 18, 542, 1528, 12, 13919, 18, 588, 653, 14602, 4217, 12, 21821, 12883, 20918, 751, 63, 10722, 18, 588, 7416, 1016, 1435, 5717, 1769, 1377, 289, 1377, 469, 288, 540, 309, 261, 5821, 6973, 13, 288, 5411, 2332, 18, 659, 18, 8222, 12443, 780, 13, 10722, 18, 588, 7416, 620, 10663, 5411, 309, 261, 291, 19475, 13, 9079, 5815, 18, 542, 653, 14602, 12443, 780, 13, 10722, 18, 588, 7416, 620, 9334, 4491, 16, 291, 10655, 20799, 1769, 5411, 469, 9079, 5815, 18, 542, 653, 14602, 12443, 780, 13, 10722, 18, 588, 7416, 620, 9334, 4491, 1769, 5411, 11040, 4217, 18, 542, 1528, 12, 13919, 18, 588, 653, 14602, 4217, 12, 17311, 261, 780, 13, 10722, 18, 588, 7416, 620, 1435, 10019, 540, 289, 540, 309, 261, 9371, 13, 288, 5411, 2332, 18, 659, 18, 8222, 12443, 780, 13, 10722, 18, 588, 7416, 620, 10663, 5411, 514, 417, 273, 1408, 31, 5411, 417, 1011, 14015, 780, 13, 10722, 18, 588, 7416, 620, 1435, 2934, 3001, 861, 12, 27, 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, 918, 19469, 653, 510, 3250, 281, 12, 653, 1133, 12519, 13, 288, 1377, 309, 16051, 5821, 6973, 597, 401, 9371, 13, 288, 540, 309, 261, 291, 19475, 13, 5411, 5815, 18, 542, 653, 14602, 12, 856, 29668, 20918, 63, 10722, 18, 588, 7416, 1016, 1435, 6487, 4491, 16, 291, 10655, 20799, 1769, 540, 469, 5411, 5815, 18, 542, 653, 14602, 12, 856, 29668, 20918, 63, 10722, 18, 588, 7416, 1016, 1435, 6487, 4491, 1769, 540, 11040, 4217, 18, 542, 1528, 12, 13919, 18, 588, 653, 14602, 4217, 12, 21821, 12883, 20918, 751, 63, 10722, 18, 588, 7416, 1016, 1435, 5717, 1769, 1377, 289, 1377, 469, 288, 540, 309, 261, 5821, 6973, 13, 288, 5411, 2332, 18, 659, 2 ]
AST __t1483 = _t;
AST __t1468 = _t;
public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t1411 = _t; AST tmp344_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1411; _t = _t.getNextSibling(); break; } case AAMSG: { AST __t1412 = _t; AST tmp345_AST_in = (AST)_t; match(_t,AAMSG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1412; _t = _t.getNextSibling(); break; } case ABSOLUTE: { AST __t1413 = _t; AST tmp346_AST_in = (AST)_t; match(_t,ABSOLUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1413; _t = _t.getNextSibling(); break; } case ALIAS: { AST __t1414 = _t; AST tmp347_AST_in = (AST)_t; match(_t,ALIAS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1414; _t = _t.getNextSibling(); break; } case ASC: { AST __t1415 = _t; AST tmp348_AST_in = (AST)_t; match(_t,ASC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1415; _t = _t.getNextSibling(); break; } case BASE64DECODE: { AST __t1416 = _t; AST tmp349_AST_in = (AST)_t; match(_t,BASE64DECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1416; _t = _t.getNextSibling(); break; } case BASE64ENCODE: { AST __t1417 = _t; AST tmp350_AST_in = (AST)_t; match(_t,BASE64ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1417; _t = _t.getNextSibling(); break; } case CANDO: { AST __t1418 = _t; AST tmp351_AST_in = (AST)_t; match(_t,CANDO); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1418; _t = _t.getNextSibling(); break; } case CANQUERY: { AST __t1419 = _t; AST tmp352_AST_in = (AST)_t; match(_t,CANQUERY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1419; _t = _t.getNextSibling(); break; } case CANSET: { AST __t1420 = _t; AST tmp353_AST_in = (AST)_t; match(_t,CANSET); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1420; _t = _t.getNextSibling(); break; } case CAPS: { AST __t1421 = _t; AST tmp354_AST_in = (AST)_t; match(_t,CAPS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1421; _t = _t.getNextSibling(); break; } case CHR: { AST __t1422 = _t; AST tmp355_AST_in = (AST)_t; match(_t,CHR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1422; _t = _t.getNextSibling(); break; } case CODEPAGECONVERT: { AST __t1423 = _t; AST tmp356_AST_in = (AST)_t; match(_t,CODEPAGECONVERT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1423; _t = _t.getNextSibling(); break; } case COLLATE: { AST __t1424 = _t; AST tmp357_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1424; _t = _t.getNextSibling(); break; } case COMPARE: { AST __t1425 = _t; AST tmp358_AST_in = (AST)_t; match(_t,COMPARE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1425; _t = _t.getNextSibling(); break; } case CONNECTED: { AST __t1426 = _t; AST tmp359_AST_in = (AST)_t; match(_t,CONNECTED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1426; _t = _t.getNextSibling(); break; } case COUNTOF: { AST __t1427 = _t; AST tmp360_AST_in = (AST)_t; match(_t,COUNTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1427; _t = _t.getNextSibling(); break; } case CURRENTRESULTROW: { AST __t1428 = _t; AST tmp361_AST_in = (AST)_t; match(_t,CURRENTRESULTROW); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1428; _t = _t.getNextSibling(); break; } case DATE: { AST __t1429 = _t; AST tmp362_AST_in = (AST)_t; match(_t,DATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1429; _t = _t.getNextSibling(); break; } case DATETIME: { AST __t1430 = _t; AST tmp363_AST_in = (AST)_t; match(_t,DATETIME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1430; _t = _t.getNextSibling(); break; } case DATETIMETZ: { AST __t1431 = _t; AST tmp364_AST_in = (AST)_t; match(_t,DATETIMETZ); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1431; _t = _t.getNextSibling(); break; } case DAY: { AST __t1432 = _t; AST tmp365_AST_in = (AST)_t; match(_t,DAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1432; _t = _t.getNextSibling(); break; } case DBCODEPAGE: { AST __t1433 = _t; AST tmp366_AST_in = (AST)_t; match(_t,DBCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1433; _t = _t.getNextSibling(); break; } case DBCOLLATION: { AST __t1434 = _t; AST tmp367_AST_in = (AST)_t; match(_t,DBCOLLATION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1434; _t = _t.getNextSibling(); break; } case DBPARAM: { AST __t1435 = _t; AST tmp368_AST_in = (AST)_t; match(_t,DBPARAM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1435; _t = _t.getNextSibling(); break; } case DBRESTRICTIONS: { AST __t1436 = _t; AST tmp369_AST_in = (AST)_t; match(_t,DBRESTRICTIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1436; _t = _t.getNextSibling(); break; } case DBTASKID: { AST __t1437 = _t; AST tmp370_AST_in = (AST)_t; match(_t,DBTASKID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1437; _t = _t.getNextSibling(); break; } case DBTYPE: { AST __t1438 = _t; AST tmp371_AST_in = (AST)_t; match(_t,DBTYPE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1438; _t = _t.getNextSibling(); break; } case DBVERSION: { AST __t1439 = _t; AST tmp372_AST_in = (AST)_t; match(_t,DBVERSION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1439; _t = _t.getNextSibling(); break; } case DECIMAL: { AST __t1440 = _t; AST tmp373_AST_in = (AST)_t; match(_t,DECIMAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1440; _t = _t.getNextSibling(); break; } case DECRYPT: { AST __t1441 = _t; AST tmp374_AST_in = (AST)_t; match(_t,DECRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1441; _t = _t.getNextSibling(); break; } case DYNAMICNEXTVALUE: { AST __t1442 = _t; AST tmp375_AST_in = (AST)_t; match(_t,DYNAMICNEXTVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1442; _t = _t.getNextSibling(); break; } case ENCODE: { AST __t1443 = _t; AST tmp376_AST_in = (AST)_t; match(_t,ENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1443; _t = _t.getNextSibling(); break; } case ENCRYPT: { AST __t1444 = _t; AST tmp377_AST_in = (AST)_t; match(_t,ENCRYPT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1444; _t = _t.getNextSibling(); break; } case EXP: { AST __t1445 = _t; AST tmp378_AST_in = (AST)_t; match(_t,EXP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1445; _t = _t.getNextSibling(); break; } case FILL: { AST __t1446 = _t; AST tmp379_AST_in = (AST)_t; match(_t,FILL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1446; _t = _t.getNextSibling(); break; } case FIRST: { AST __t1447 = _t; AST tmp380_AST_in = (AST)_t; match(_t,FIRST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1447; _t = _t.getNextSibling(); break; } case FIRSTOF: { AST __t1448 = _t; AST tmp381_AST_in = (AST)_t; match(_t,FIRSTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1448; _t = _t.getNextSibling(); break; } case GENERATEPBEKEY: { AST __t1449 = _t; AST tmp382_AST_in = (AST)_t; match(_t,GENERATEPBEKEY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1449; _t = _t.getNextSibling(); break; } case GETBITS: { AST __t1450 = _t; AST tmp383_AST_in = (AST)_t; match(_t,GETBITS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1450; _t = _t.getNextSibling(); break; } case GETBYTE: { AST __t1451 = _t; AST tmp384_AST_in = (AST)_t; match(_t,GETBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1451; _t = _t.getNextSibling(); break; } case GETBYTEORDER: { AST __t1452 = _t; AST tmp385_AST_in = (AST)_t; match(_t,GETBYTEORDER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1452; _t = _t.getNextSibling(); break; } case GETBYTES: { AST __t1453 = _t; AST tmp386_AST_in = (AST)_t; match(_t,GETBYTES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1453; _t = _t.getNextSibling(); break; } case GETCOLLATIONS: { AST __t1454 = _t; AST tmp387_AST_in = (AST)_t; match(_t,GETCOLLATIONS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1454; _t = _t.getNextSibling(); break; } case GETDOUBLE: { AST __t1455 = _t; AST tmp388_AST_in = (AST)_t; match(_t,GETDOUBLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1455; _t = _t.getNextSibling(); break; } case GETFLOAT: { AST __t1456 = _t; AST tmp389_AST_in = (AST)_t; match(_t,GETFLOAT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1456; _t = _t.getNextSibling(); break; } case GETLICENSE: { AST __t1457 = _t; AST tmp390_AST_in = (AST)_t; match(_t,GETLICENSE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1457; _t = _t.getNextSibling(); break; } case GETLONG: { AST __t1458 = _t; AST tmp391_AST_in = (AST)_t; match(_t,GETLONG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1458; _t = _t.getNextSibling(); break; } case GETPOINTERVALUE: { AST __t1459 = _t; AST tmp392_AST_in = (AST)_t; match(_t,GETPOINTERVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1459; _t = _t.getNextSibling(); break; } case GETSHORT: { AST __t1460 = _t; AST tmp393_AST_in = (AST)_t; match(_t,GETSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1460; _t = _t.getNextSibling(); break; } case GETSIZE: { AST __t1461 = _t; AST tmp394_AST_in = (AST)_t; match(_t,GETSIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1461; _t = _t.getNextSibling(); break; } case GETSTRING: { AST __t1462 = _t; AST tmp395_AST_in = (AST)_t; match(_t,GETSTRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1462; _t = _t.getNextSibling(); break; } case GETUNSIGNEDSHORT: { AST __t1463 = _t; AST tmp396_AST_in = (AST)_t; match(_t,GETUNSIGNEDSHORT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1463; _t = _t.getNextSibling(); break; } case HEXDECODE: { AST __t1464 = _t; AST tmp397_AST_in = (AST)_t; match(_t,HEXDECODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1464; _t = _t.getNextSibling(); break; } case HEXENCODE: { AST __t1465 = _t; AST tmp398_AST_in = (AST)_t; match(_t,HEXENCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1465; _t = _t.getNextSibling(); break; } case INDEX: { AST __t1466 = _t; AST tmp399_AST_in = (AST)_t; match(_t,INDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1466; _t = _t.getNextSibling(); break; } case INTEGER: { AST __t1467 = _t; AST tmp400_AST_in = (AST)_t; match(_t,INTEGER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1467; _t = _t.getNextSibling(); break; } case INTERVAL: { AST __t1468 = _t; AST tmp401_AST_in = (AST)_t; match(_t,INTERVAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1468; _t = _t.getNextSibling(); break; } case ISCODEPAGEFIXED: { AST __t1469 = _t; AST tmp402_AST_in = (AST)_t; match(_t,ISCODEPAGEFIXED); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1469; _t = _t.getNextSibling(); break; } case ISCOLUMNCODEPAGE: { AST __t1470 = _t; AST tmp403_AST_in = (AST)_t; match(_t,ISCOLUMNCODEPAGE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1470; _t = _t.getNextSibling(); break; } case ISLEADBYTE: { AST __t1471 = _t; AST tmp404_AST_in = (AST)_t; match(_t,ISLEADBYTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1471; _t = _t.getNextSibling(); break; } case ISODATE: { AST __t1472 = _t; AST tmp405_AST_in = (AST)_t; match(_t,ISODATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1472; _t = _t.getNextSibling(); break; } case KBLABEL: { AST __t1473 = _t; AST tmp406_AST_in = (AST)_t; match(_t,KBLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1473; _t = _t.getNextSibling(); break; } case KEYCODE: { AST __t1474 = _t; AST tmp407_AST_in = (AST)_t; match(_t,KEYCODE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1474; _t = _t.getNextSibling(); break; } case KEYFUNCTION: { AST __t1475 = _t; AST tmp408_AST_in = (AST)_t; match(_t,KEYFUNCTION); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1475; _t = _t.getNextSibling(); break; } case KEYLABEL: { AST __t1476 = _t; AST tmp409_AST_in = (AST)_t; match(_t,KEYLABEL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1476; _t = _t.getNextSibling(); break; } case KEYWORD: { AST __t1477 = _t; AST tmp410_AST_in = (AST)_t; match(_t,KEYWORD); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1477; _t = _t.getNextSibling(); break; } case KEYWORDALL: { AST __t1478 = _t; AST tmp411_AST_in = (AST)_t; match(_t,KEYWORDALL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1478; _t = _t.getNextSibling(); break; } case LAST: { AST __t1479 = _t; AST tmp412_AST_in = (AST)_t; match(_t,LAST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1479; _t = _t.getNextSibling(); break; } case LASTOF: { AST __t1480 = _t; AST tmp413_AST_in = (AST)_t; match(_t,LASTOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1480; _t = _t.getNextSibling(); break; } case LC: { AST __t1481 = _t; AST tmp414_AST_in = (AST)_t; match(_t,LC); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1481; _t = _t.getNextSibling(); break; } case LEFTTRIM: { AST __t1482 = _t; AST tmp415_AST_in = (AST)_t; match(_t,LEFTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1482; _t = _t.getNextSibling(); break; } case LIBRARY: { AST __t1483 = _t; AST tmp416_AST_in = (AST)_t; match(_t,LIBRARY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1483; _t = _t.getNextSibling(); break; } case LISTEVENTS: { AST __t1484 = _t; AST tmp417_AST_in = (AST)_t; match(_t,LISTEVENTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1484; _t = _t.getNextSibling(); break; } case LISTQUERYATTRS: { AST __t1485 = _t; AST tmp418_AST_in = (AST)_t; match(_t,LISTQUERYATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1485; _t = _t.getNextSibling(); break; } case LISTSETATTRS: { AST __t1486 = _t; AST tmp419_AST_in = (AST)_t; match(_t,LISTSETATTRS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1486; _t = _t.getNextSibling(); break; } case LISTWIDGETS: { AST __t1487 = _t; AST tmp420_AST_in = (AST)_t; match(_t,LISTWIDGETS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1487; _t = _t.getNextSibling(); break; } case LOADPICTURE: { AST __t1488 = _t; AST tmp421_AST_in = (AST)_t; match(_t,LOADPICTURE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1488; _t = _t.getNextSibling(); break; } case LOG: { AST __t1489 = _t; AST tmp422_AST_in = (AST)_t; match(_t,LOG); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1489; _t = _t.getNextSibling(); break; } case LOGICAL: { AST __t1490 = _t; AST tmp423_AST_in = (AST)_t; match(_t,LOGICAL); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1490; _t = _t.getNextSibling(); break; } case LOOKUP: { AST __t1491 = _t; AST tmp424_AST_in = (AST)_t; match(_t,LOOKUP); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1491; _t = _t.getNextSibling(); break; } case MAXIMUM: { AST __t1492 = _t; AST tmp425_AST_in = (AST)_t; match(_t,MAXIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1492; _t = _t.getNextSibling(); break; } case MD5DIGEST: { AST __t1493 = _t; AST tmp426_AST_in = (AST)_t; match(_t,MD5DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1493; _t = _t.getNextSibling(); break; } case MEMBER: { AST __t1494 = _t; AST tmp427_AST_in = (AST)_t; match(_t,MEMBER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1494; _t = _t.getNextSibling(); break; } case MINIMUM: { AST __t1495 = _t; AST tmp428_AST_in = (AST)_t; match(_t,MINIMUM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1495; _t = _t.getNextSibling(); break; } case MONTH: { AST __t1496 = _t; AST tmp429_AST_in = (AST)_t; match(_t,MONTH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1496; _t = _t.getNextSibling(); break; } case NORMALIZE: { AST __t1497 = _t; AST tmp430_AST_in = (AST)_t; match(_t,NORMALIZE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1497; _t = _t.getNextSibling(); break; } case NUMENTRIES: { AST __t1498 = _t; AST tmp431_AST_in = (AST)_t; match(_t,NUMENTRIES); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1498; _t = _t.getNextSibling(); break; } case NUMRESULTS: { AST __t1499 = _t; AST tmp432_AST_in = (AST)_t; match(_t,NUMRESULTS); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1499; _t = _t.getNextSibling(); break; } case OSGETENV: { AST __t1500 = _t; AST tmp433_AST_in = (AST)_t; match(_t,OSGETENV); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1500; _t = _t.getNextSibling(); break; } case PDBNAME: { AST __t1501 = _t; AST tmp434_AST_in = (AST)_t; match(_t,PDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1501; _t = _t.getNextSibling(); break; } case PROGRAMNAME: { AST __t1502 = _t; AST tmp435_AST_in = (AST)_t; match(_t,PROGRAMNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1502; _t = _t.getNextSibling(); break; } case QUERYOFFEND: { AST __t1503 = _t; AST tmp436_AST_in = (AST)_t; match(_t,QUERYOFFEND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1503; _t = _t.getNextSibling(); break; } case QUOTER: { AST __t1504 = _t; AST tmp437_AST_in = (AST)_t; match(_t,QUOTER); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1504; _t = _t.getNextSibling(); break; } case RINDEX: { AST __t1505 = _t; AST tmp438_AST_in = (AST)_t; match(_t,RINDEX); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1505; _t = _t.getNextSibling(); break; } case RANDOM: { AST __t1506 = _t; AST tmp439_AST_in = (AST)_t; match(_t,RANDOM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1506; _t = _t.getNextSibling(); break; } case REPLACE: { AST __t1507 = _t; AST tmp440_AST_in = (AST)_t; match(_t,REPLACE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1507; _t = _t.getNextSibling(); break; } case RGBVALUE: { AST __t1508 = _t; AST tmp441_AST_in = (AST)_t; match(_t,RGBVALUE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1508; _t = _t.getNextSibling(); break; } case RIGHTTRIM: { AST __t1509 = _t; AST tmp442_AST_in = (AST)_t; match(_t,RIGHTTRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1509; _t = _t.getNextSibling(); break; } case ROUND: { AST __t1510 = _t; AST tmp443_AST_in = (AST)_t; match(_t,ROUND); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1510; _t = _t.getNextSibling(); break; } case SDBNAME: { AST __t1511 = _t; AST tmp444_AST_in = (AST)_t; match(_t,SDBNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1511; _t = _t.getNextSibling(); break; } case SEARCH: { AST __t1512 = _t; AST tmp445_AST_in = (AST)_t; match(_t,SEARCH); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1512; _t = _t.getNextSibling(); break; } case SETDBCLIENT: { AST __t1513 = _t; AST tmp446_AST_in = (AST)_t; match(_t,SETDBCLIENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1513; _t = _t.getNextSibling(); break; } case SETUSERID: { AST __t1514 = _t; AST tmp447_AST_in = (AST)_t; match(_t,SETUSERID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1514; _t = _t.getNextSibling(); break; } case SHA1DIGEST: { AST __t1515 = _t; AST tmp448_AST_in = (AST)_t; match(_t,SHA1DIGEST); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1515; _t = _t.getNextSibling(); break; } case SQRT: { AST __t1516 = _t; AST tmp449_AST_in = (AST)_t; match(_t,SQRT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1516; _t = _t.getNextSibling(); break; } case SSLSERVERNAME: { AST __t1517 = _t; AST tmp450_AST_in = (AST)_t; match(_t,SSLSERVERNAME); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1517; _t = _t.getNextSibling(); break; } case STRING: { AST __t1518 = _t; AST tmp451_AST_in = (AST)_t; match(_t,STRING); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1518; _t = _t.getNextSibling(); break; } case SUBSTITUTE: { AST __t1519 = _t; AST tmp452_AST_in = (AST)_t; match(_t,SUBSTITUTE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1519; _t = _t.getNextSibling(); break; } case TOROWID: { AST __t1520 = _t; AST tmp453_AST_in = (AST)_t; match(_t,TOROWID); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1520; _t = _t.getNextSibling(); break; } case TRIM: { AST __t1521 = _t; AST tmp454_AST_in = (AST)_t; match(_t,TRIM); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1521; _t = _t.getNextSibling(); break; } case TRUNCATE: { AST __t1522 = _t; AST tmp455_AST_in = (AST)_t; match(_t,TRUNCATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1522; _t = _t.getNextSibling(); break; } case TYPEOF: { AST __t1523 = _t; AST tmp456_AST_in = (AST)_t; match(_t,TYPEOF); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1523; _t = _t.getNextSibling(); break; } case VALIDEVENT: { AST __t1524 = _t; AST tmp457_AST_in = (AST)_t; match(_t,VALIDEVENT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1524; _t = _t.getNextSibling(); break; } case VALIDHANDLE: { AST __t1525 = _t; AST tmp458_AST_in = (AST)_t; match(_t,VALIDHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1525; _t = _t.getNextSibling(); break; } case VALIDOBJECT: { AST __t1526 = _t; AST tmp459_AST_in = (AST)_t; match(_t,VALIDOBJECT); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1526; _t = _t.getNextSibling(); break; } case WEEKDAY: { AST __t1527 = _t; AST tmp460_AST_in = (AST)_t; match(_t,WEEKDAY); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1527; _t = _t.getNextSibling(); break; } case WIDGETHANDLE: { AST __t1528 = _t; AST tmp461_AST_in = (AST)_t; match(_t,WIDGETHANDLE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1528; _t = _t.getNextSibling(); break; } case YEAR: { AST __t1529 = _t; AST tmp462_AST_in = (AST)_t; match(_t,YEAR); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t1529; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1501, 644, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1501, 644, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 432, 2226, 15650, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3461, 2499, 273, 389, 88, 31, 1082, 202, 9053, 1853, 5026, 24, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 37, 2226, 15650, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 12125, 1968, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 67, 88, 273, 1001, 88, 3461, 2499, 31, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 432, 2192, 30820, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3461, 2138, 273, 389, 88, 31, 1082, 202, 9053, 1853, 25574, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 37, 2192, 30820, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 12125, 1968, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1501, 644, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1501, 644, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 432, 2226, 15650, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3461, 2499, 273, 389, 88, 31, 1082, 202, 9053, 1853, 5026, 24, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 37, 2226, 15650, 1769, 1082, 202, 67, 88, 2 ]
errors.add(ex);
public void run() { try { Statement stmt = con.createStatement(); for (int i = 0; i < loopCount; i++) { stmt.execute(query); } stmt.close(); } catch (SQLException ex) { ex.printStackTrace(); errors.add(ex); } }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/e579e9d2c4bd95204ffd4a248d95d158aede7bfd/SAfeTest.java/clean/src/test/net/sourceforge/jtds/test/SAfeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 1086, 1435, 288, 10792, 775, 288, 13491, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 13491, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2798, 1380, 31, 277, 27245, 288, 18701, 3480, 18, 8837, 12, 2271, 1769, 13491, 289, 13491, 3480, 18, 4412, 5621, 10792, 289, 1044, 261, 23116, 431, 13, 288, 13491, 431, 18, 1188, 6332, 5621, 4766, 6647, 289, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 1086, 1435, 288, 10792, 775, 288, 13491, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 13491, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2798, 1380, 31, 277, 27245, 288, 18701, 3480, 18, 8837, 12, 2271, 1769, 13491, 289, 13491, 3480, 18, 4412, 5621, 10792, 289, 1044, 261, 23116, 431, 13, 288, 13491, 431, 18, 1188, 6332, 5621, 4766, 6647, 289, 7734, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jj_la1[21] = jj_gen; break label_7;
jj_la1[23] = jj_gen; break label_9;
final public void EnumBody() throws ParseException { /*@bgen(jjtree) EnumBody */ ASTEnumBody jjtn000 = new ASTEnumBody(this, JJTENUMBODY); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(LBRACE); switch (jj_nt.kind) { case IDENTIFIER: EnumConstant(); label_6: while (true) { if (jj_2_2(2)) { ; } else { break label_6; } jj_consume_token(COMMA); EnumConstant(); } break; default: jj_la1[19] = jj_gen; ; } switch (jj_nt.kind) { case COMMA: jj_consume_token(COMMA); break; default: jj_la1[20] = jj_gen; ; } switch (jj_nt.kind) { case SEMICOLON: jj_consume_token(SEMICOLON); label_7: while (true) { switch (jj_nt.kind) { case ABSTRACT: case BOOLEAN: case BYTE: case CHAR: case CLASS: case DOUBLE: case FINAL: case FLOAT: case INT: case INTERFACE: case LONG: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case SHORT: case STATIC: case SYNCHRONIZED: case TRANSIENT: case VOID: case VOLATILE: case STRICTFP: case IDENTIFIER: case LBRACE: case SEMICOLON: case AT: case LT: ; break; default: jj_la1[21] = jj_gen; break label_7; } ClassOrInterfaceBodyDeclaration(); } break; default: jj_la1[22] = jj_gen; ; } jj_consume_token(RBRACE); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 6057, 2250, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 6057, 2250, 1195, 225, 9183, 3572, 2250, 10684, 5088, 3784, 273, 394, 9183, 3572, 2250, 12, 2211, 16, 804, 46, 56, 16509, 16691, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 12995, 9254, 1769, 1377, 1620, 261, 78, 78, 67, 496, 18, 9224, 13, 288, 1377, 648, 26765, 30, 3639, 6057, 6902, 5621, 3639, 1433, 67, 26, 30, 3639, 1323, 261, 3767, 13, 288, 1850, 309, 261, 78, 78, 67, 22, 67, 22, 12, 22, 3719, 288, 5411, 274, 1850, 289, 469, 288, 5411, 898, 1433, 67, 26, 31, 1850, 289, 1850, 10684, 67, 21224, 67, 2316, 12, 4208, 5535, 1769, 1850, 6057, 6902, 5621, 3639, 289, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 3657, 65, 273, 10684, 67, 4507, 31, 3639, 274, 1377, 289, 1377, 1620, 261, 78, 78, 67, 496, 18, 9224, 13, 288, 1377, 648, 17373, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 4208, 5535, 1769, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 3462, 65, 273, 10684, 67, 4507, 31, 3639, 274, 1377, 289, 1377, 1620, 261, 78, 78, 67, 496, 18, 9224, 13, 288, 1377, 648, 3174, 22972, 1741, 673, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 1090, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 6057, 2250, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 6057, 2250, 1195, 225, 9183, 3572, 2250, 10684, 5088, 3784, 273, 394, 9183, 3572, 2250, 12, 2211, 16, 804, 46, 56, 16509, 16691, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 12995, 9254, 1769, 1377, 1620, 261, 78, 78, 67, 496, 18, 9224, 13, 288, 1377, 648, 26765, 30, 3639, 6057, 6902, 5621, 3639, 1433, 67, 26, 30, 3639, 1323, 261, 3767, 13, 288, 1850, 309, 261, 78, 78, 67, 22, 67, 22, 12, 22, 3719, 2 ]
dev=(Device)PatchEdit.deviceList.get (k);
dev=(Device)PatchEdit.appConfig.getDevice (k);
public Patch[] dissect () { Device dev; int looplength; Patch[] patarray=null; StringBuffer patchString= new StringBuffer ("F0"); for (int k=1;k<16;k++) { if (sysex[k]<16) patchString.append ("0"); patchString.append (Integer.toHexString (sysex[k])); } for (int k=0;k<PatchEdit.deviceList.size ();k++) { // Do it for all converters. They should be at the beginning of the driver list! dev=(Device)PatchEdit.deviceList.get (k); for (int j=0;j<dev.driverList.size ();j++) { if (!(dev.driverList.get (j) instanceof Converter)) continue; if (!((Driver)(dev.driverList.get (j))).supportsPatch (patchString,this)) { // Try, until one converter was successfull continue; } patarray=((Converter)(dev.driverList.get (j))).extractPatch (this); if (patarray!=null) { break; } } // k++; } if (patarray!=null) { // Conversion was sucessfull, we have at least one converted patch looplength=patarray.length; } else { // No conversion. Try just the original patch.... looplength=1; patarray=new Patch[1]; patarray[0]=this; } return patarray; }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/ef2f8c35d6ec786be7521d894b88ee90554fb83c/Patch.java/buggy/JSynthLib/core/Patch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 12042, 8526, 1015, 5709, 1832, 565, 288, 3639, 6077, 4461, 31, 3639, 509, 437, 83, 412, 1288, 31, 3639, 12042, 8526, 9670, 1126, 33, 2011, 31, 3639, 6674, 4729, 780, 33, 394, 6674, 7566, 42, 20, 8863, 3639, 364, 261, 474, 417, 33, 21, 31, 79, 32, 2313, 31, 79, 27245, 3639, 288, 5411, 309, 261, 9009, 20909, 63, 79, 65, 32, 2313, 13, 4729, 780, 18, 6923, 7566, 20, 8863, 5411, 4729, 780, 18, 6923, 261, 4522, 18, 869, 14866, 261, 9009, 20909, 63, 79, 5717, 1769, 3639, 289, 7734, 364, 261, 474, 417, 33, 20, 31, 79, 32, 7332, 4666, 18, 5964, 682, 18, 1467, 261, 1769, 79, 27245, 3639, 288, 368, 2256, 518, 364, 777, 19414, 18, 16448, 1410, 506, 622, 326, 8435, 434, 326, 3419, 666, 5, 5411, 4461, 28657, 3654, 13, 7332, 4666, 18, 2910, 809, 18, 588, 3654, 261, 79, 1769, 5411, 364, 261, 474, 525, 33, 20, 31, 78, 32, 5206, 18, 7407, 682, 18, 1467, 261, 1769, 78, 27245, 5411, 288, 7734, 309, 16051, 12, 5206, 18, 7407, 682, 18, 588, 261, 78, 13, 1276, 14768, 3719, 10792, 1324, 31, 7734, 309, 16051, 12443, 4668, 21433, 5206, 18, 7407, 682, 18, 588, 261, 78, 3719, 2934, 28064, 7332, 261, 2272, 780, 16, 2211, 3719, 7734, 288, 368, 6161, 16, 3180, 1245, 6027, 1703, 2216, 2854, 10792, 1324, 31, 7734, 289, 7734, 9670, 1126, 33, 12443, 5072, 21433, 5206, 18, 7407, 682, 18, 588, 261, 78, 3719, 2934, 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, 12042, 8526, 1015, 5709, 1832, 565, 288, 3639, 6077, 4461, 31, 3639, 509, 437, 83, 412, 1288, 31, 3639, 12042, 8526, 9670, 1126, 33, 2011, 31, 3639, 6674, 4729, 780, 33, 394, 6674, 7566, 42, 20, 8863, 3639, 364, 261, 474, 417, 33, 21, 31, 79, 32, 2313, 31, 79, 27245, 3639, 288, 5411, 309, 261, 9009, 20909, 63, 79, 65, 32, 2313, 13, 4729, 780, 18, 6923, 7566, 20, 8863, 5411, 4729, 780, 18, 6923, 261, 4522, 18, 869, 14866, 261, 9009, 20909, 63, 79, 5717, 1769, 3639, 289, 7734, 364, 261, 474, 417, 33, 20, 31, 79, 32, 7332, 4666, 18, 5964, 682, 18, 1467, 261, 1769, 79, 27245, 3639, 288, 368, 2256, 518, 364, 2 ]
getCms().writePropertyObject(filename, newNavText);
String oldStructureValue = oldNavText.getStructureValue(); String newStructureValue = newNavText.getStructureValue(); if (CmsStringUtil.isEmpty(oldStructureValue)) { oldStructureValue = CmsProperty.C_DELETE_VALUE; } if (CmsStringUtil.isEmpty(newStructureValue)) { newStructureValue = CmsProperty.C_DELETE_VALUE; } String oldResourceValue = oldNavText.getResourceValue(); String newResourceValue = newNavText.getResourceValue(); if (CmsStringUtil.isEmpty(oldResourceValue)) { oldResourceValue = CmsProperty.C_DELETE_VALUE; } if (CmsStringUtil.isEmpty(newResourceValue)) { newResourceValue = CmsProperty.C_DELETE_VALUE; } if (!oldResourceValue.equals(newResourceValue) || !oldStructureValue.equals(newStructureValue)) { getCms().writePropertyObject(getParamResource(), newNavText); }
public void actionChangeNav() throws JspException { // save initialized instance of this class in request attribute for included sub-elements getJsp().getRequest().setAttribute(C_SESSION_WORKPLACE_CLASS, this); // get request parameters String filename = getParamResource(); String newText = getParamNavtext(); String selectedPosString = getParamNavpos(); try { // lock resource if autolock is enabled checkLock(getParamResource()); // save the new NavText if not null if (newText != null) { CmsProperty newNavText = new CmsProperty(); newNavText.setName(I_CmsConstants.C_PROPERTY_NAVTEXT); CmsProperty oldNavText = getCms().readPropertyObject(filename, I_CmsConstants.C_PROPERTY_NAVTEXT, false); if (oldNavText.isNullProperty()) { // property value was not already set if (OpenCms.getWorkplaceManager().isDefaultPropertiesOnStructure()) { newNavText.setStructureValue(newText); } else { newNavText.setResourceValue(newText); } } else { if (oldNavText.getStructureValue() != null) { newNavText.setStructureValue(newText); newNavText.setResourceValue(oldNavText.getResourceValue()); } else { newNavText.setResourceValue(newText); } } getCms().writePropertyObject(filename, newNavText); } // determine the selected position float selectedPos = -1; try { selectedPos = Float.parseFloat(selectedPosString); } catch (Exception e) { // can usually be ignored if (OpenCms.getLog(this).isInfoEnabled()) { OpenCms.getLog(this).info(e); } } // only update the position if a change is requested if (selectedPos != -1) { CmsProperty newNavPos = new CmsProperty(); newNavPos.setName(I_CmsConstants.C_PROPERTY_NAVPOS); CmsProperty oldNavPos = getCms().readPropertyObject(filename, I_CmsConstants.C_PROPERTY_NAVPOS, false); if (oldNavPos.isNullProperty()) { // property value was not already set if (OpenCms.getWorkplaceManager().isDefaultPropertiesOnStructure()) { newNavPos.setStructureValue(selectedPosString); } else { newNavPos.setResourceValue(selectedPosString); } } else { if (oldNavPos.getStructureValue() != null) { newNavPos.setStructureValue(selectedPosString); newNavPos.setResourceValue(oldNavPos.getResourceValue()); } else { newNavPos.setResourceValue(selectedPosString); } } getCms().writePropertyObject(filename, newNavPos); } } catch (CmsException e) { // error during chnav, show error dialog setParamErrorstack(e.getStackTraceAsString()); setParamMessage(key("error.message." + getParamDialogtype())); setParamReasonSuggestion(getErrorSuggestionDefault()); getJsp().include(C_FILE_DIALOG_SCREEN_ERROR); } // chnav operation was successful, return to workplace actionCloseDialog(); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/5248e8432a76242bd1cf189e1a350fb26abb6c2b/CmsChnav.java/buggy/src/org/opencms/workplace/commons/CmsChnav.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1301, 3043, 12599, 1435, 1216, 27485, 288, 7734, 368, 1923, 6454, 791, 434, 333, 667, 316, 590, 1566, 364, 5849, 720, 17, 6274, 3639, 31162, 7675, 588, 691, 7675, 542, 1499, 12, 39, 67, 7042, 67, 10566, 12134, 67, 5237, 16, 333, 1769, 7734, 368, 336, 590, 1472, 3639, 514, 1544, 273, 9027, 1420, 5621, 3639, 514, 394, 1528, 273, 9027, 12599, 955, 5621, 3639, 514, 3170, 1616, 780, 273, 9027, 12599, 917, 5621, 7734, 775, 288, 2398, 368, 2176, 1058, 309, 2059, 355, 975, 353, 3696, 5411, 866, 2531, 12, 588, 786, 1420, 10663, 5411, 368, 1923, 326, 394, 423, 842, 1528, 309, 486, 446, 5411, 309, 261, 2704, 1528, 480, 446, 13, 288, 7734, 18505, 394, 12599, 1528, 273, 394, 18505, 5621, 7734, 394, 12599, 1528, 18, 542, 461, 12, 45, 67, 4747, 2918, 18, 39, 67, 9900, 67, 50, 5856, 5151, 1769, 7734, 18505, 1592, 12599, 1528, 273, 14413, 7675, 896, 1396, 921, 12, 3459, 16, 467, 67, 4747, 2918, 18, 39, 67, 9900, 67, 50, 5856, 5151, 16, 629, 1769, 7734, 309, 261, 1673, 12599, 1528, 18, 291, 2041, 1396, 10756, 288, 10792, 368, 1272, 460, 1703, 486, 1818, 444, 10792, 309, 261, 3678, 4747, 18, 588, 16514, 1318, 7675, 291, 1868, 2297, 1398, 6999, 10756, 288, 13491, 394, 12599, 1528, 18, 542, 6999, 620, 12, 2704, 1528, 1769, 10792, 289, 469, 288, 13491, 394, 12599, 1528, 18, 542, 1420, 620, 12, 2704, 1528, 1769, 10792, 289, 4766, 7682, 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, 1301, 3043, 12599, 1435, 1216, 27485, 288, 7734, 368, 1923, 6454, 791, 434, 333, 667, 316, 590, 1566, 364, 5849, 720, 17, 6274, 3639, 31162, 7675, 588, 691, 7675, 542, 1499, 12, 39, 67, 7042, 67, 10566, 12134, 67, 5237, 16, 333, 1769, 7734, 368, 336, 590, 1472, 3639, 514, 1544, 273, 9027, 1420, 5621, 3639, 514, 394, 1528, 273, 9027, 12599, 955, 5621, 3639, 514, 3170, 1616, 780, 273, 9027, 12599, 917, 5621, 7734, 775, 288, 2398, 368, 2176, 1058, 309, 2059, 355, 975, 353, 3696, 5411, 866, 2531, 12, 588, 786, 1420, 10663, 5411, 368, 1923, 326, 394, 423, 842, 1528, 309, 486, 446, 5411, 309, 261, 2704, 1528, 480, 446, 13, 288, 7734, 2 ]
form.setSize(WIDTH, HEIGHT);
form.setSize(UserInterface.WIDTH, UserInterface.HEIGHT);
public static void main(String[] args) { MTOMClient form = new MTOMClient("MTOM Sample Client"); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); int left = (screenSize.width - WIDTH) / 2; int top = (screenSize.height - HEIGHT) / 2; form.setLocation(left, top); form.setSize(WIDTH, HEIGHT); form.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); form.setVisible(true); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/34f81527b4b0c1ac52d4f7811cc91e48a96e83f8/MTOMClient.java/buggy/modules/samples/src/sample/mtom/filetransfer/client/MTOMClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 22068, 1872, 1227, 646, 273, 394, 22068, 1872, 1227, 2932, 6152, 1872, 11474, 2445, 8863, 3639, 13037, 5518, 1225, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 7956, 1225, 5621, 3639, 509, 2002, 273, 261, 9252, 1225, 18, 2819, 300, 22631, 13, 342, 576, 31, 3639, 509, 1760, 273, 261, 9252, 1225, 18, 4210, 300, 4194, 7700, 13, 342, 576, 31, 3639, 646, 18, 542, 2735, 12, 4482, 16, 1760, 1769, 3639, 646, 18, 542, 1225, 12, 1299, 1358, 18, 10023, 16, 21369, 18, 14595, 1769, 3639, 646, 18, 542, 1868, 4605, 2988, 12, 3829, 2918, 18, 28682, 67, 673, 67, 13384, 1769, 3639, 646, 18, 542, 6207, 12, 3767, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 22068, 1872, 1227, 646, 273, 394, 22068, 1872, 1227, 2932, 6152, 1872, 11474, 2445, 8863, 3639, 13037, 5518, 1225, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 7956, 1225, 5621, 3639, 509, 2002, 273, 261, 9252, 1225, 18, 2819, 300, 22631, 13, 342, 576, 31, 3639, 509, 1760, 273, 261, 9252, 1225, 18, 4210, 300, 4194, 7700, 13, 342, 576, 31, 3639, 646, 18, 542, 2735, 12, 4482, 16, 1760, 1769, 3639, 646, 18, 542, 1225, 12, 1299, 1358, 18, 10023, 16, 21369, 18, 14595, 1769, 3639, 646, 18, 542, 1868, 4605, 2988, 12, 3829, 2918, 18, 28682, 67, 673, 67, 13384, 1769, 3639, 646, 2 ]
public int getParameterCount() {
public int getParameterCount(){
public int getParameterCount() { return varStart; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/13c17e9f4326e4e47b5e45bd238e7e6dc3c09063/VariableTable.java/clean/js/rhino/org/mozilla/javascript/VariableTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 5575, 1380, 1435, 565, 288, 3639, 327, 569, 1685, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 5575, 1380, 1435, 565, 288, 3639, 327, 569, 1685, 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 ]
public void mHexDigit() throws RecognitionException { try { ruleNestingLevel++; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1342:12: ( ('0'..'9'|'a'..'f'|'A'..'F')) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1342:12: ('0'..'9'|'a'..'f'|'A'..'F') { if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { input.consume(); failed=false; } else { if (backtracking>0) {failed=true; return ;} MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse; } } } finally { ruleNestingLevel--; } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/63bc7036e62ae854cec463d59712c173f74e984c/DRLLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7037, 10907, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 1720, 50, 10100, 2355, 9904, 31, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3437, 9452, 30, 2138, 30, 261, 7707, 20, 11, 838, 11, 29, 11, 16637, 69, 11, 838, 11, 74, 11, 16637, 37, 11, 838, 11, 42, 26112, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3437, 9452, 30, 2138, 30, 7707, 20, 11, 838, 11, 29, 11, 16637, 69, 11, 838, 11, 74, 11, 16637, 37, 11, 838, 11, 42, 6134, 5411, 288, 5411, 309, 261, 261, 2630, 18, 2534, 12, 21, 13, 34, 2218, 20, 11, 597, 810, 18, 2534, 12, 21, 13, 32, 2218, 29, 6134, 20081, 12, 2630, 18, 2534, 12, 21, 13, 34, 2218, 37, 11, 597, 810, 18, 2534, 12, 21, 13, 32, 2218, 42, 6134, 20081, 12, 2630, 18, 2534, 12, 21, 13, 34, 2218, 69, 11, 597, 810, 18, 2534, 12, 21, 13, 32, 2218, 74, 6134, 262, 288, 7734, 810, 18, 21224, 5621, 5411, 2535, 33, 5743, 31, 5411, 289, 5411, 469, 288, 7734, 309, 261, 823, 6440, 34, 20, 13, 288, 7307, 33, 3767, 31, 327, 274, 97, 7734, 28102, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7037, 10907, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 1720, 50, 10100, 2355, 9904, 31, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3437, 9452, 30, 2138, 30, 261, 7707, 20, 11, 838, 11, 29, 11, 16637, 69, 11, 838, 11, 74, 11, 16637, 37, 11, 838, 11, 42, 26112, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3437, 9452, 30, 2138, 30, 7707, 2 ]
checkIsBigInteger(val, "Wrong Q field");
DerUtil.checkIsBigInteger(val, "Wrong Q field");
public PrivateKey decodePrivateKey(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); BigInteger version, p, q, g, x; DERReader der = new DERReader(input); try { DERValue derPKI = der.read(); checkIsConstructed(derPKI, "Wrong PrivateKeyInfo field"); DERValue derVersion = der.read(); if (! (derVersion.getValue() instanceof BigInteger)) throw new InvalidParameterException("Wrong Version field"); version = (BigInteger) derVersion.getValue(); if (version.compareTo(BigInteger.ZERO) != 0) throw new InvalidParameterException("Unexpected Version: " + version); DERValue derAlgoritmID = der.read(); checkIsConstructed(derAlgoritmID, "Wrong AlgorithmIdentifier field"); DERValue derOID = der.read(); OID algOID = (OID) derOID.getValue(); if (! algOID.equals(DH_ALG_OID)) throw new InvalidParameterException("Unexpected OID: " + algOID); DERValue derParams = der.read(); checkIsConstructed(derParams, "Wrong DSS Parameters field"); DERValue val = der.read(); checkIsBigInteger(val, "Wrong P field"); p = (BigInteger) val.getValue(); val = der.read(); checkIsBigInteger(val, "Wrong G field"); g = (BigInteger) val.getValue(); val = der.read(); checkIsBigInteger(val, "Wrong Q field"); q = (BigInteger) val.getValue(); val = der.read(); byte[] xBytes = (byte[]) val.getValue(); x = new BigInteger(1, xBytes); } catch (IOException e) { InvalidParameterException y = new InvalidParameterException(); y.initCause(e); throw y; } return new GnuDHPrivateKey(Registry.PKCS8_ENCODING_ID, q, p, g, x); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/DHKeyPairPKCS8Codec.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 14018, 2495, 10824, 12, 7229, 8526, 810, 13, 225, 288, 565, 309, 261, 2630, 422, 446, 13, 1377, 604, 394, 26669, 2932, 1210, 1731, 10685, 4269, 506, 446, 8863, 565, 10246, 1177, 16, 293, 16, 1043, 16, 314, 16, 619, 31, 565, 21801, 2514, 4854, 273, 394, 21801, 2514, 12, 2630, 1769, 565, 775, 1377, 288, 3639, 21801, 620, 4854, 8784, 45, 273, 4854, 18, 896, 5621, 3639, 866, 2520, 7249, 329, 12, 765, 8784, 45, 16, 315, 13634, 14018, 966, 652, 8863, 3639, 21801, 620, 4854, 1444, 273, 4854, 18, 896, 5621, 3639, 309, 16051, 261, 765, 1444, 18, 24805, 1435, 1276, 10246, 3719, 1850, 604, 394, 26669, 2932, 13634, 4049, 652, 8863, 3639, 1177, 273, 261, 24198, 13, 4854, 1444, 18, 24805, 5621, 3639, 309, 261, 1589, 18, 9877, 774, 12, 24198, 18, 24968, 13, 480, 374, 13, 1850, 604, 394, 26669, 2932, 7762, 4049, 30, 315, 397, 1177, 1769, 3639, 21801, 620, 4854, 1067, 3022, 305, 81, 734, 273, 4854, 18, 896, 5621, 3639, 866, 2520, 7249, 329, 12, 765, 1067, 3022, 305, 81, 734, 16, 315, 13634, 15067, 3004, 652, 8863, 3639, 21801, 620, 4854, 12945, 273, 4854, 18, 896, 5621, 3639, 18026, 11989, 12945, 273, 261, 12945, 13, 4854, 12945, 18, 24805, 5621, 3639, 309, 16051, 11989, 12945, 18, 14963, 12, 16501, 67, 1013, 43, 67, 12945, 3719, 1850, 604, 394, 26669, 2932, 7762, 18026, 30, 315, 397, 11989, 12945, 1769, 3639, 21801, 620, 4854, 1370, 273, 4854, 18, 896, 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, 14018, 2495, 10824, 12, 7229, 8526, 810, 13, 225, 288, 565, 309, 261, 2630, 422, 446, 13, 1377, 604, 394, 26669, 2932, 1210, 1731, 10685, 4269, 506, 446, 8863, 565, 10246, 1177, 16, 293, 16, 1043, 16, 314, 16, 619, 31, 565, 21801, 2514, 4854, 273, 394, 21801, 2514, 12, 2630, 1769, 565, 775, 1377, 288, 3639, 21801, 620, 4854, 8784, 45, 273, 4854, 18, 896, 5621, 3639, 866, 2520, 7249, 329, 12, 765, 8784, 45, 16, 315, 13634, 14018, 966, 652, 8863, 3639, 21801, 620, 4854, 1444, 273, 4854, 18, 896, 5621, 3639, 309, 16051, 261, 765, 1444, 18, 24805, 1435, 1276, 10246, 3719, 1850, 604, 394, 26669, 2932, 13634, 4049, 652, 8863, 3639, 1177, 273, 2 ]
return getLocation( sc, oValue ) - sc.getStart( );
return getLocation( sc, dValue ) - sc.getStart( );
public static final double getNormalizedLocation( AutoScale sc, Object oValue ) throws ChartException, IllegalArgumentException { return getLocation( sc, oValue ) - sc.getStart( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/0dbe8d6814b393e6b534d8d9dc409fff1a8f3cce/Methods.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/Methods.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1645, 336, 15577, 2735, 12, 8064, 5587, 888, 16, 1082, 202, 921, 320, 620, 262, 1216, 14804, 503, 16, 2754, 202, 95, 202, 202, 2463, 13312, 12, 888, 16, 320, 620, 262, 300, 888, 18, 588, 1685, 12, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1645, 336, 15577, 2735, 12, 8064, 5587, 888, 16, 1082, 202, 921, 320, 620, 262, 1216, 14804, 503, 16, 2754, 202, 95, 202, 202, 2463, 13312, 12, 888, 16, 320, 620, 262, 300, 888, 18, 588, 1685, 12, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 handleMapChange(IObservableMap source, MapDiff diff) {
public void handleMapChange(MapChangeEvent event) { MapDiff diff = event.diff;
public void handleMapChange(IObservableMap source, MapDiff diff) { for (Iterator it = diff.getAddedKeys().iterator(); it.hasNext();) { Object addedKey = it.next(); addMapping(addedKey, diff.getNewValue(addedKey)); } for (Iterator it = diff.getChangedKeys().iterator(); it.hasNext();) { Object changedKey = it.next(); removeMapping(changedKey, diff.getOldValue(changedKey)); addMapping(changedKey, diff.getNewValue(changedKey)); } for (Iterator it = diff.getRemovedKeys().iterator(); it.hasNext();) { Object removedKey = it.next(); removeMapping(removedKey, diff.getOldValue(removedKey)); } fireMapChange(diff); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/6aecdb31231a8602dbf72944625703c440949c78/BidirectionalMap.java/buggy/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/map/BidirectionalMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1640, 863, 3043, 12, 4294, 3745, 863, 1084, 16, 1635, 5938, 3122, 13, 288, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 8602, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3096, 653, 273, 518, 18, 4285, 5621, 9506, 202, 1289, 3233, 12, 9665, 653, 16, 3122, 18, 588, 1908, 620, 12, 9665, 653, 10019, 1082, 202, 97, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 5033, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3550, 653, 273, 518, 18, 4285, 5621, 9506, 202, 4479, 3233, 12, 6703, 653, 16, 3122, 18, 588, 7617, 620, 12, 6703, 653, 10019, 9506, 202, 1289, 3233, 12, 6703, 653, 16, 3122, 18, 588, 1908, 620, 12, 6703, 653, 10019, 1082, 202, 97, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 10026, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3723, 653, 273, 518, 18, 4285, 5621, 9506, 202, 4479, 3233, 12, 14923, 653, 16, 3122, 18, 588, 7617, 620, 12, 14923, 653, 10019, 1082, 202, 97, 1082, 202, 12179, 863, 3043, 12, 5413, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3196, 202, 482, 918, 1640, 863, 3043, 12, 4294, 3745, 863, 1084, 16, 1635, 5938, 3122, 13, 288, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 8602, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3096, 653, 273, 518, 18, 4285, 5621, 9506, 202, 1289, 3233, 12, 9665, 653, 16, 3122, 18, 588, 1908, 620, 12, 9665, 653, 10019, 1082, 202, 97, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 5033, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3550, 653, 273, 518, 18, 4285, 5621, 9506, 202, 4479, 3233, 12, 6703, 653, 16, 3122, 18, 588, 7617, 620, 12, 6703, 653, 10019, 2 ]
samples[i][ndx] = (byte) (maxValue == 0 ? (cm % 255) : cm);
samples[i][ndx] = (short) (maxValue == 0 ? (cm % 255) : cm);
public static void unpackBytes(byte[][] samples, int startIndex, byte[] bytes, int[] bitsPerSample, int photoInterp, int[] colorMap, boolean littleEndian, long maxValue, int planar, int strip, int numStrips) throws FormatException { if (planar == 2) { planarUnpack(samples, startIndex, bytes, bitsPerSample, photoInterp, littleEndian, strip, numStrips); return; } int totalBits = 0; for (int i=0; i<bitsPerSample.length; i++) totalBits += bitsPerSample[i]; int sampleCount = 8 * bytes.length / totalBits; if (DEBUG) { debug("unpacking " + sampleCount + " samples (startIndex=" + startIndex + "; totalBits=" + totalBits + "; numBytes=" + bytes.length + ")"); } if (startIndex + sampleCount > samples[0].length) { int trunc = startIndex + sampleCount - samples[0].length; if (DEBUG) debug("WARNING: truncated " + trunc + " extra samples"); sampleCount -= trunc; } int counter = 0; // rules on incrementing the index: // 1) if the planar configuration is set to 1 (interleaved), then add one // to the index // 2) if the planar configuration is set to 2 (separated), then go to // j + (i*(bytes.length / sampleCount)) int bps0 = bitsPerSample[0]; int bpsPow = (int) Math.pow(2, bps0); int numBytes = bps0 / 8; boolean noDiv8 = bps0 % 8 != 0; boolean bps8 = bps0 == 8; int index = 0; for (int j=0; j<sampleCount; j++) { for (int i=0; i<samples.length; i++) { if (noDiv8) { // bits per sample is not a multiple of 8 // // while images in this category are not in violation of baseline // TIFF specs, it's a bad idea to write bits per sample values that // aren't divisible by 8 // -- MELISSA TODO -- improve this as time permits if (index == bytes.length) { //throw new FormatException("bad index : i = " + i + ", j = " + j); index--; } byte b = bytes[index]; index++; // if (planar == 2) index = j + (i*(bytes.length / samples.length)); // index computed mod bitsPerSample.length to avoid problems with // RGB palette int offset = (bps0 * (samples.length*j + i)) % 8; if (offset <= (8 - (bps0 % 8))) index--; if (i == 0) counter++; if (counter % 4 == 0 && i == 0) index++; int ndx = startIndex + j; samples[i][ndx] = (byte) (b < 0 ? 256 + b : b); if (photoInterp == WHITE_IS_ZERO || photoInterp == CMYK) { samples[i][ndx] = (byte) (255 - samples[i][ndx]); // invert colors } else if (photoInterp == RGB_PALETTE) { int x = b < 0 ? 256 + b : b; int red = colorMap[x % colorMap.length]; int green = colorMap[(x + bpsPow) % colorMap.length]; int blue = colorMap[(x + 2*bpsPow) % colorMap.length]; int[] components = {red, green, blue}; samples[i][ndx] = (byte) components[i]; } } else if (bps8) { // special case handles 8-bit data more quickly //if (planar == 2) { index = j+(i*(bytes.length / samples.length)); } byte b = bytes[index]; index++; int ndx = startIndex + j; samples[i][ndx] = (byte) (b < 0 ? 256 + b : b); if (photoInterp == WHITE_IS_ZERO) { // invert color value samples[i][ndx] = (byte) (255 - samples[i][ndx]); } else if (photoInterp == RGB_PALETTE) { index--; int x = b < 0 ? 256 + b : b;// int red = colorMap[x];// int green = colorMap[x + bpsPow];// int blue = colorMap[x + 2*bpsPow];// int[] components = {red, green, blue};// samples[i][ndx] = (byte) components[i];// if (maxValue == 0) {// samples[i][ndx] = (byte) (components[i] % 255);// } int cndx = i == 0 ? x : (i == 1 ? (x + bpsPow) : (x + 2*bpsPow)); int cm = colorMap[cndx]; samples[i][ndx] = (byte) (maxValue == 0 ? (cm % 255) : cm); } else if (photoInterp == CMYK) { samples[i][ndx] = (byte) (255 - samples[i][ndx]); } else if (photoInterp == Y_CB_CR) { // 1) YCbCrSubSampling -- deal with varying chroma/luma dims // 2) YCbCrPositioning if (i == bitsPerSample.length - 1) { int lumaRed = colorMap[0]; int lumaGreen = colorMap[1]; int lumaBlue = colorMap[2]; int red = (int) (samples[2][ndx]*(2 - 2*lumaRed) + samples[0][ndx]); int blue = (int) (samples[1][ndx]*(2 - 2*lumaBlue) + samples[0][ndx]); int green = (int) (samples[0][ndx] - lumaBlue*blue - lumaRed*red); if (lumaGreen != 0) green = (int) (green / lumaGreen); samples[0][ndx] = (byte) (red - colorMap[4]); samples[1][ndx] = (byte) (green - colorMap[6]); samples[2][ndx] = (byte) (blue - colorMap[8]); } } } else { byte[] b = new byte[numBytes]; if (numBytes + index < bytes.length) { System.arraycopy(bytes, index, b, 0, numBytes); } else { System.arraycopy(bytes, bytes.length - numBytes, b, 0, numBytes); } index += numBytes; int ndx = startIndex + j; samples[i][ndx] = (byte) DataTools.bytesToLong(b, !littleEndian); if (photoInterp == WHITE_IS_ZERO) { // invert color value long max = 1; for (int q=0; q<numBytes; q++) max *= 8; samples[i][ndx] = (byte) (max - samples[i][ndx]); } else if (photoInterp == RGB_PALETTE) { // will fix this later throw new FormatException("16 bit RGB palette not supported"); /* int x = DataTools.bytesToInt(b, littleEndian) % colorMap.length; int red = colorMap[x]; int green = colorMap[(x + bpsPow) % colorMap.length]; int blue = colorMap[(x + 2*bpsPow) % colorMap.length]; int[] components = {red, green, blue}; samples[i][ndx] = (byte) components[i]; if (samples[i][ndx] == 0) { samples[i][ndx] = (byte) (components[i] % 255); } */ } else if (photoInterp == CMYK) { samples[i][ndx] = (byte) (255 - samples[i][ndx]); } } } if ((photoInterp == RGB_PALETTE) && (bps0 == 8)) index++; } }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/86b3568b073b11484ea718fd55cb74ce4f115a24/TiffTools.java/buggy/loci/formats/TiffTools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 6167, 2160, 12, 7229, 63, 6362, 65, 5216, 16, 509, 10588, 16, 565, 1160, 8526, 1731, 16, 509, 8526, 4125, 2173, 8504, 16, 509, 10701, 2465, 84, 16, 509, 8526, 2036, 863, 16, 565, 1250, 328, 10609, 16, 1525, 18666, 16, 509, 4995, 297, 16, 509, 2569, 16, 509, 818, 1585, 7146, 13, 565, 1216, 4077, 503, 225, 288, 565, 309, 261, 7088, 297, 422, 576, 13, 288, 1377, 4995, 297, 23649, 12, 7319, 16, 10588, 16, 1731, 16, 4125, 2173, 8504, 16, 10701, 2465, 84, 16, 3639, 328, 10609, 16, 2569, 16, 818, 1585, 7146, 1769, 1377, 327, 31, 565, 289, 565, 509, 2078, 6495, 273, 374, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 6789, 2173, 8504, 18, 2469, 31, 277, 27245, 2078, 6495, 1011, 4125, 2173, 8504, 63, 77, 15533, 565, 509, 3296, 1380, 273, 1725, 380, 1731, 18, 2469, 342, 2078, 6495, 31, 565, 309, 261, 9394, 13, 288, 1377, 1198, 2932, 17309, 310, 315, 397, 3296, 1380, 397, 315, 5216, 261, 1937, 1016, 1546, 397, 10588, 397, 3639, 13636, 2078, 6495, 1546, 397, 2078, 6495, 397, 13636, 18633, 1546, 397, 1731, 18, 2469, 397, 7310, 1769, 565, 289, 565, 309, 261, 1937, 1016, 397, 3296, 1380, 405, 5216, 63, 20, 8009, 2469, 13, 288, 1377, 509, 6956, 273, 10588, 397, 3296, 1380, 300, 5216, 63, 20, 8009, 2469, 31, 1377, 309, 261, 9394, 13, 1198, 2932, 9511, 30, 15282, 315, 397, 6956, 397, 315, 2870, 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, 918, 6167, 2160, 12, 7229, 63, 6362, 65, 5216, 16, 509, 10588, 16, 565, 1160, 8526, 1731, 16, 509, 8526, 4125, 2173, 8504, 16, 509, 10701, 2465, 84, 16, 509, 8526, 2036, 863, 16, 565, 1250, 328, 10609, 16, 1525, 18666, 16, 509, 4995, 297, 16, 509, 2569, 16, 509, 818, 1585, 7146, 13, 565, 1216, 4077, 503, 225, 288, 565, 309, 261, 7088, 297, 422, 576, 13, 288, 1377, 4995, 297, 23649, 12, 7319, 16, 10588, 16, 1731, 16, 4125, 2173, 8504, 16, 10701, 2465, 84, 16, 3639, 328, 10609, 16, 2569, 16, 818, 1585, 7146, 1769, 1377, 327, 31, 565, 289, 565, 509, 2078, 6495, 273, 374, 31, 565, 364, 261, 474, 277, 33, 2 ]
setModified(true);
public void setCreateDate(Date createDate) { if (((createDate == null) && (_createDate != null)) || ((createDate != null) && (_createDate == null)) || ((createDate != null) && (_createDate != null) && !createDate.equals(_createDate))) { _createDate = createDate; setModified(true); } }
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/f4d6afc6707f57fd84bf6b624f0c119657b0a766/PhoneModel.java/clean/portal-ejb/src/com/liferay/portal/model/PhoneModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 1684, 1626, 12, 1626, 752, 1626, 13, 288, 202, 202, 430, 261, 12443, 2640, 1626, 422, 446, 13, 597, 261, 67, 2640, 1626, 480, 446, 3719, 747, 9506, 202, 12443, 2640, 1626, 480, 446, 13, 597, 261, 67, 2640, 1626, 422, 446, 3719, 747, 9506, 202, 12443, 2640, 1626, 480, 446, 13, 597, 261, 67, 2640, 1626, 480, 446, 13, 597, 9506, 202, 5, 2640, 1626, 18, 14963, 24899, 2640, 1626, 20349, 288, 1082, 202, 67, 2640, 1626, 273, 752, 1626, 31, 1082, 202, 542, 4575, 12, 3767, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 444, 1684, 1626, 12, 1626, 752, 1626, 13, 288, 202, 202, 430, 261, 12443, 2640, 1626, 422, 446, 13, 597, 261, 67, 2640, 1626, 480, 446, 3719, 747, 9506, 202, 12443, 2640, 1626, 480, 446, 13, 597, 261, 67, 2640, 1626, 422, 446, 3719, 747, 9506, 202, 12443, 2640, 1626, 480, 446, 13, 597, 261, 67, 2640, 1626, 480, 446, 13, 597, 9506, 202, 5, 2640, 1626, 18, 14963, 24899, 2640, 1626, 20349, 288, 1082, 202, 67, 2640, 1626, 273, 752, 1626, 31, 1082, 202, 542, 4575, 12, 3767, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
updatable.fireChange(0, null, null, 0);
updatable.fireChange(0, null, null, 1);
public void testFireChangeEvent() { IChangeListener changeListenerMock = (IChangeListener) Mocks .createMock(IChangeListener.class, new Mocks.EqualityComparator() { public boolean equals(Object o1, Object o2) { ChangeEvent changeEvent1 = (ChangeEvent) o1; ChangeEvent changeEvent2 = (ChangeEvent) o2; return changeEvent1.getChangeType() == changeEvent2 .getChangeType() && changeEvent1.getPosition() == changeEvent2 .getPosition() && changeEvent1.getOldValue() == changeEvent2 .getOldValue() && changeEvent1.getNewValue() == changeEvent2 .getNewValue(); } }); updatable.addChangeListener(changeListenerMock); Object o1 = new Object(); Object o2 = new Object(); changeListenerMock.handleChange(new ChangeEvent(updatable, 0, null, null, 0)); changeListenerMock.handleChange(new ChangeEvent(updatable, 0, null, null, 0)); changeListenerMock.handleChange(new ChangeEvent(updatable, ChangeEvent.CHANGE, o1, o2, 0)); changeListenerMock.handleChange(new ChangeEvent(updatable, ChangeEvent.CHANGE, o1, o2, 42)); Mocks.startChecking(changeListenerMock); updatable.fireChange(0, null, null); updatable.fireChange(0, null, null, 0); updatable.fireChange(ChangeEvent.CHANGE, o1, o2); updatable.fireChange(ChangeEvent.CHANGE, o1, o2, 42); Mocks.verify(changeListenerMock); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/8e24cfaf621b1fa7bd87153d13f3570eebc6cd34/UpdatableTest.java/clean/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/UpdatableTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9723, 20930, 1435, 288, 202, 202, 45, 15744, 2549, 2223, 9865, 273, 261, 45, 15744, 13, 7867, 87, 9506, 202, 18, 2640, 9865, 12, 45, 15744, 18, 1106, 16, 25083, 202, 2704, 7867, 87, 18, 20273, 5559, 1435, 288, 6862, 1082, 202, 482, 1250, 1606, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 6862, 9506, 202, 20930, 2549, 1133, 21, 273, 261, 20930, 13, 320, 21, 31, 6862, 9506, 202, 20930, 2549, 1133, 22, 273, 261, 20930, 13, 320, 22, 31, 6862, 9506, 202, 2463, 2549, 1133, 21, 18, 588, 3043, 559, 1435, 422, 2549, 1133, 22, 6862, 25083, 202, 18, 588, 3043, 559, 1435, 6862, 25083, 202, 10, 10, 2549, 1133, 21, 18, 588, 2555, 1435, 422, 2549, 1133, 22, 6862, 6862, 9506, 202, 18, 588, 2555, 1435, 6862, 25083, 202, 10, 10, 2549, 1133, 21, 18, 588, 7617, 620, 1435, 422, 2549, 1133, 22, 6862, 6862, 9506, 202, 18, 588, 7617, 620, 1435, 6862, 25083, 202, 10, 10, 2549, 1133, 21, 18, 588, 1908, 620, 1435, 422, 2549, 1133, 22, 6862, 6862, 9506, 202, 18, 588, 1908, 620, 5621, 6862, 1082, 202, 97, 25083, 202, 22938, 202, 202, 416, 3404, 429, 18, 1289, 15744, 12, 3427, 2223, 9865, 1769, 202, 202, 921, 320, 21, 273, 394, 1033, 5621, 202, 202, 921, 320, 22, 273, 394, 1033, 5621, 202, 202, 3427, 2223, 9865, 18, 4110, 3043, 12, 2704, 7576, 1133, 12, 416, 3404, 429, 16, 374, 16, 446, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 9723, 20930, 1435, 288, 202, 202, 45, 15744, 2549, 2223, 9865, 273, 261, 45, 15744, 13, 7867, 87, 9506, 202, 18, 2640, 9865, 12, 45, 15744, 18, 1106, 16, 25083, 202, 2704, 7867, 87, 18, 20273, 5559, 1435, 288, 6862, 1082, 202, 482, 1250, 1606, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 6862, 9506, 202, 20930, 2549, 1133, 21, 273, 261, 20930, 13, 320, 21, 31, 6862, 9506, 202, 20930, 2549, 1133, 22, 273, 261, 20930, 13, 320, 22, 31, 6862, 9506, 202, 2463, 2549, 1133, 21, 18, 588, 3043, 559, 1435, 422, 2549, 1133, 22, 6862, 25083, 202, 18, 588, 3043, 559, 1435, 6862, 25083, 202, 10, 10, 2549, 1133, 2 ]
}
}
public void testFailOutsideError() { myExpectation.setExpected(100.0, 1.0); try { myExpectation.setActual(102.0); fail("Should fail fast on double"); } catch (AssertionFailedError ex) { //expected } }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/ExpectationDoubleValueTest.java/buggy/jmock/core/src/test/jmock/expectation/ExpectationDoubleValueTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3754, 28018, 668, 1435, 288, 202, 202, 4811, 11988, 367, 18, 542, 6861, 12, 6625, 18, 20, 16, 404, 18, 20, 1769, 202, 202, 698, 288, 1082, 202, 4811, 11988, 367, 18, 542, 11266, 12, 20481, 18, 20, 1769, 1082, 202, 6870, 2932, 14309, 2321, 4797, 603, 1645, 8863, 202, 202, 97, 202, 202, 14683, 261, 14979, 2925, 668, 431, 13, 288, 1082, 202, 759, 3825, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3754, 28018, 668, 1435, 288, 202, 202, 4811, 11988, 367, 18, 542, 6861, 12, 6625, 18, 20, 16, 404, 18, 20, 1769, 202, 202, 698, 288, 1082, 202, 4811, 11988, 367, 18, 542, 11266, 12, 20481, 18, 20, 1769, 1082, 202, 6870, 2932, 14309, 2321, 4797, 603, 1645, 8863, 202, 202, 97, 202, 202, 14683, 261, 14979, 2925, 668, 431, 13, 288, 1082, 202, 759, 3825, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH));
n.putIntProp(Node.ISNUMBER_PROP, Node.BOTH);
int rewriteForNumberVariables(Node n) { switch (n.getType()) { case TokenStream.POP : { Node child = n.getFirstChild(); int type = rewriteForNumberVariables(child); if (type == TypeEvent.NumberType) n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); return TypeEvent.NoType; } case TokenStream.NUMBER : n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); return TypeEvent.NumberType; case TokenStream.GETVAR : { OptLocalVariable theVar = (OptLocalVariable)(n.getProp(Node.VARIABLE_PROP)); if (theVar != null) { if (inDirectCallFunction && theVar.isParameter()) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); return TypeEvent.NumberType; } else if (theVar.isNumber()) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); return TypeEvent.NumberType; } } return TypeEvent.NoType; } case TokenStream.INC : case TokenStream.DEC : { Node child = n.getFirstChild(); // will be a GETVAR or GETPROP if (child.getType() == TokenStream.GETVAR) { OptLocalVariable theVar = (OptLocalVariable)(child.getProp(Node.VARIABLE_PROP)); if ((theVar != null) && theVar.isNumber()) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); markDCPNumberContext(child); return TypeEvent.NumberType; } else return TypeEvent.NoType; } else return TypeEvent.NoType; } case TokenStream.SETVAR : { Node lChild = n.getFirstChild(); Node rChild = lChild.getNextSibling(); int rType = rewriteForNumberVariables(rChild); OptLocalVariable theVar = (OptLocalVariable)(n.getProp(Node.VARIABLE_PROP)); if (inDirectCallFunction && theVar.isParameter()) { if (rType == TypeEvent.NumberType) { if (!convertParameter(rChild)) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); return TypeEvent.NumberType; } markDCPNumberContext(rChild); return TypeEvent.NoType; } else return rType; } else { if ((theVar != null) && theVar.isNumber()) { if (rType != TypeEvent.NumberType) { n.removeChild(rChild); Node newRChild = new Node(TokenStream.CONVERT, rChild); newRChild.putProp(Node.TYPE_PROP, Double.class); n.addChildToBack(newRChild); } n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); markDCPNumberContext(rChild); return TypeEvent.NumberType; } else { if (rType == TypeEvent.NumberType) { if (!convertParameter(rChild)) { n.removeChild(rChild); Node newRChild = new Node(TokenStream.CONVERT, rChild); newRChild.putProp(Node.TYPE_PROP, Object.class); n.addChildToBack(newRChild); } } return TypeEvent.NoType; } } } case TokenStream.RELOP : { Node lChild = n.getFirstChild(); Node rChild = lChild.getNextSibling(); int lType = rewriteForNumberVariables(lChild); int rType = rewriteForNumberVariables(rChild); markDCPNumberContext(lChild); markDCPNumberContext(rChild); if ((n.getInt() == TokenStream.INSTANCEOF) || (n.getInt() == TokenStream.IN)) { if (lType == TypeEvent.NumberType) { if (!convertParameter(lChild)) { n.removeChild(lChild); Node nuChild = new Node(TokenStream.CONVERT, lChild); nuChild.putProp(Node.TYPE_PROP, Object.class); n.addChildToFront(nuChild); } } if (rType == TypeEvent.NumberType) { if (!convertParameter(rChild)) { n.removeChild(rChild); Node nuChild = new Node(TokenStream.CONVERT, rChild); nuChild.putProp(Node.TYPE_PROP, Object.class); n.addChildToBack(nuChild); } } } else { if (convertParameter(lChild)) { if (convertParameter(rChild)) { return TypeEvent.NoType; } else { if (rType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.RIGHT)); } } } else { if (convertParameter(rChild)) { if (lType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.LEFT)); } } else { if (lType == TypeEvent.NumberType) { if (rType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); } else { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.LEFT)); } } else { if (rType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.RIGHT)); } } } } } // we actually build a boolean value return TypeEvent.NoType; } case TokenStream.ADD : { Node lChild = n.getFirstChild(); Node rChild = lChild.getNextSibling(); int lType = rewriteForNumberVariables(lChild); int rType = rewriteForNumberVariables(rChild); if (convertParameter(lChild)) { if (convertParameter(rChild)) { return TypeEvent.NoType; } else { if (rType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP,new Integer(Node.RIGHT)); } } } else { if (convertParameter(rChild)) { if (lType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP,new Integer(Node.LEFT)); } } else { if (lType == TypeEvent.NumberType) { if (rType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP,new Integer(Node.BOTH)); return TypeEvent.NumberType; } else { n.putProp(Node.ISNUMBER_PROP,new Integer(Node.LEFT)); } } else { if (rType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP,new Integer(Node.RIGHT)); } } } } return TypeEvent.NoType; } case TokenStream.BITXOR : case TokenStream.BITOR : case TokenStream.BITAND : case TokenStream.RSH : case TokenStream.LSH : case TokenStream.SUB : case TokenStream.MUL : case TokenStream.DIV : case TokenStream.MOD : { Node lChild = n.getFirstChild(); Node rChild = lChild.getNextSibling(); int lType = rewriteForNumberVariables(lChild); int rType = rewriteForNumberVariables(rChild); markDCPNumberContext(lChild); markDCPNumberContext(rChild); if (lType == TypeEvent.NumberType) { if (rType == TypeEvent.NumberType) { n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); return TypeEvent.NumberType; } else { if (!convertParameter(rChild)) { n.removeChild(rChild); Node newRChild = new Node(TokenStream.CONVERT, rChild); newRChild.putProp(Node.TYPE_PROP, Double.class); n.addChildToBack(newRChild); n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); } return TypeEvent.NumberType; } } else { if (rType == TypeEvent.NumberType) { if (!convertParameter(lChild)) { n.removeChild(lChild); Node newLChild = new Node(TokenStream.CONVERT, lChild); newLChild.putProp(Node.TYPE_PROP, Double.class); n.addChildToFront(newLChild); n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); } return TypeEvent.NumberType; } else { if (!convertParameter(lChild)) { n.removeChild(lChild); Node newLChild = new Node(TokenStream.CONVERT, lChild); newLChild.putProp(Node.TYPE_PROP, Double.class); n.addChildToFront(newLChild); } if (!convertParameter(rChild)) { n.removeChild(rChild); Node newRChild = new Node(TokenStream.CONVERT, rChild); newRChild.putProp(Node.TYPE_PROP, Double.class); n.addChildToBack(newRChild); } n.putProp(Node.ISNUMBER_PROP, new Integer(Node.BOTH)); return TypeEvent.NumberType; } } } case TokenStream.SETELEM : { Node arrayBase = n.getFirstChild(); Node arrayIndex = arrayBase.getNextSibling(); Node rValue = arrayIndex.getNextSibling(); int baseType = rewriteForNumberVariables(arrayBase); if (baseType == TypeEvent.NumberType) {// can never happen ??? if (!convertParameter(arrayBase)) { n.removeChild(arrayBase); Node nuChild = new Node(TokenStream.CONVERT, arrayBase); nuChild.putProp(Node.TYPE_PROP, Object.class); n.addChildToFront(nuChild); } } int indexType = rewriteForNumberVariables(arrayIndex); if (indexType == TypeEvent.NumberType) { // setting the ISNUMBER_PROP signals the codegen // to use the scriptRuntime.setElem that takes // a double index n.putProp(Node.ISNUMBER_PROP, new Integer(Node.LEFT)); markDCPNumberContext(arrayIndex); } int rValueType = rewriteForNumberVariables(rValue); if (rValueType == TypeEvent.NumberType) { if (!convertParameter(rValue)) { n.removeChild(rValue); Node nuChild = new Node(TokenStream.CONVERT, rValue); nuChild.putProp(Node.TYPE_PROP, Object.class); n.addChildToBack(nuChild); } } return TypeEvent.NoType; } case TokenStream.GETELEM : { Node arrayBase = n.getFirstChild(); Node arrayIndex = arrayBase.getNextSibling(); int baseType = rewriteForNumberVariables(arrayBase); if (baseType == TypeEvent.NumberType) {// can never happen ??? if (!convertParameter(arrayBase)) { n.removeChild(arrayBase); Node nuChild = new Node(TokenStream.CONVERT, arrayBase); nuChild.putProp(Node.TYPE_PROP, Object.class); n.addChildToFront(nuChild); } } int indexType = rewriteForNumberVariables(arrayIndex); if (indexType == TypeEvent.NumberType) { // setting the ISNUMBER_PROP signals the codegen // to use the scriptRuntime.getElem that takes // a double index n.putProp(Node.ISNUMBER_PROP, new Integer(Node.RIGHT)); markDCPNumberContext(arrayIndex); } return TypeEvent.NoType; } case TokenStream.CALL : { FunctionNode target = (FunctionNode)n.getProp(Node.DIRECTCALL_PROP); if (target != null) {/* we leave each child as a Number if it can be. The codegen will handle moving the pairs of parameters.*/ Node child = n.getFirstChild(); // the function rewriteForNumberVariables(child); child = child.getNextSibling(); // the 'this' object rewriteForNumberVariables(child); child = child.getNextSibling(); // the first arg while (child != null) { int type = rewriteForNumberVariables(child); if (type == TypeEvent.NumberType) { markDCPNumberContext(child); } child = child.getNextSibling(); } return TypeEvent.NoType; } // else fall thru... } default : { Node child = n.getFirstChild(); while (child != null) { Node nextChild = child.getNextSibling(); int type = rewriteForNumberVariables(child); if (type == TypeEvent.NumberType) { if (!convertParameter(child)) { n.removeChild(child); Node nuChild = new Node(TokenStream.CONVERT, child); nuChild.putProp(Node.TYPE_PROP, Object.class); if (nextChild == null) n.addChildToBack(nuChild); else n.addChildBefore(nuChild, nextChild); } } child = nextChild; } return TypeEvent.NoType; } } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/7f850f6162d49fce5f2a418eb4b32ba1cf9d58bf/Optimizer.java/buggy/src/org/mozilla/javascript/optimizer/Optimizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 10738, 1290, 1854, 6158, 12, 907, 290, 13, 565, 288, 3639, 1620, 261, 82, 18, 588, 559, 10756, 288, 5411, 648, 3155, 1228, 18, 30374, 294, 288, 10792, 2029, 1151, 273, 290, 18, 588, 3759, 1763, 5621, 10792, 509, 618, 273, 10738, 1290, 1854, 6158, 12, 3624, 1769, 10792, 309, 261, 723, 422, 1412, 1133, 18, 1854, 559, 13, 13491, 290, 18, 458, 1702, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 16, 2029, 18, 38, 18307, 1769, 5397, 327, 1412, 1133, 18, 2279, 559, 31, 7734, 289, 5411, 648, 3155, 1228, 18, 9931, 294, 7734, 290, 18, 458, 1702, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 16, 2029, 18, 38, 18307, 1769, 7734, 327, 1412, 1133, 18, 1854, 559, 31, 5411, 648, 3155, 1228, 18, 3264, 7716, 294, 288, 10792, 12056, 2042, 3092, 326, 1537, 7682, 273, 261, 6179, 2042, 3092, 21433, 82, 18, 588, 4658, 12, 907, 18, 16444, 67, 15811, 10019, 10792, 309, 261, 5787, 1537, 480, 446, 13, 288, 13491, 309, 261, 267, 5368, 1477, 2083, 597, 326, 1537, 18, 291, 1662, 10756, 288, 18701, 290, 18, 458, 1702, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 16, 2029, 18, 38, 18307, 1769, 18701, 327, 1412, 1133, 18, 1854, 559, 31, 13491, 289, 13491, 469, 18701, 309, 261, 5787, 1537, 18, 291, 1854, 10756, 288, 27573, 290, 18, 458, 1702, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 16, 2029, 18, 38, 18307, 1769, 27573, 327, 1412, 1133, 18, 1854, 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, 509, 10738, 1290, 1854, 6158, 12, 907, 290, 13, 565, 288, 3639, 1620, 261, 82, 18, 588, 559, 10756, 288, 5411, 648, 3155, 1228, 18, 30374, 294, 288, 10792, 2029, 1151, 273, 290, 18, 588, 3759, 1763, 5621, 10792, 509, 618, 273, 10738, 1290, 1854, 6158, 12, 3624, 1769, 10792, 309, 261, 723, 422, 1412, 1133, 18, 1854, 559, 13, 13491, 290, 18, 458, 1702, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 16, 2029, 18, 38, 18307, 1769, 5397, 327, 1412, 1133, 18, 2279, 559, 31, 7734, 289, 5411, 648, 3155, 1228, 18, 9931, 294, 7734, 290, 18, 458, 1702, 4658, 12, 907, 18, 5127, 9931, 67, 15811, 16, 2029, 18, 38, 18307, 1769, 7734, 327, 1412, 2 ]
return Messages.getString( "BaseDataDefinitionComponent.Tooltip.InputValueExpression" );
return tooltipWhenBlank;
private String getTooltipForDataText( String queryText ) { if ( queryText.trim( ).length( ) == 0 ) { return Messages.getString( "BaseDataDefinitionComponent.Tooltip.InputValueExpression" ); //$NON-NLS-1$ } return queryText; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/6f208d3ad7887dd94167299ada5f4b6ac65a6a2a/BaseDataDefinitionComponent.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/BaseDataDefinitionComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 19478, 8440, 1290, 751, 1528, 12, 514, 843, 1528, 262, 202, 95, 202, 202, 430, 261, 843, 1528, 18, 5290, 12, 262, 18, 2469, 12, 262, 422, 374, 262, 202, 202, 95, 1082, 202, 2463, 11915, 9434, 7796, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 2463, 843, 1528, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 19478, 8440, 1290, 751, 1528, 12, 514, 843, 1528, 262, 202, 95, 202, 202, 430, 261, 843, 1528, 18, 5290, 12, 262, 18, 2469, 12, 262, 422, 374, 262, 202, 202, 95, 1082, 202, 2463, 11915, 9434, 7796, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 2463, 843, 1528, 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 ]
public abstract NodeSet getNodesEqualTo( NodeSet context, DocumentSet docs, int relation, String expr );
public abstract NodeSet getNodesEqualTo( NodeSet context, DocumentSet docs, int relation, String expr);
public abstract NodeSet getNodesEqualTo( NodeSet context, DocumentSet docs, int relation, String expr );
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/bfcf33dba9c98234a0edaa282c8909b27b6a6ac4/DBBroker.java/clean/src/org/exist/storage/DBBroker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 2029, 694, 24495, 5812, 774, 12, 2029, 694, 819, 16, 4319, 694, 3270, 16, 509, 2533, 16, 514, 3065, 11272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 2029, 694, 24495, 5812, 774, 12, 2029, 694, 819, 16, 4319, 694, 3270, 16, 509, 2533, 16, 514, 3065, 11272, 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 ]
break;
continue Loop;
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; String[] strings = idata.itsStringTable; int pc = 0; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; Loop: for (;;) { try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); int pcNew = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcNew >= 0) { // Has catch block doCatch = true; } } if (pcNew < 0) { pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcNew < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // Notify instruction observer if necessary // and point pc and pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = pcNew; continue Loop; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); javaException = new JavaScriptException(value, idata.itsSourceFile, sourceLine); exceptionPC = pc - 1; if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getJavaCatchPC(iCode); continue Loop; } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); stack[stackTop--] = null; continue Loop; } pc += 2; break; } case Token.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 1 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } int newPC; Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; newPC = getJavaCatchPC(iCode); } else { // Normal return from GOSUB newPC = (int)sDbl[LOCAL_SHFT + slot]; } pcPrevBranch = pc = newPC; continue Loop; } case Token.POP : stack[stackTop] = null; stackTop--; break; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; break; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; break; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; break; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; break; } case Token.BINDNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case Token.SETNAME : { String name = strings[getIndex(iCode, pc)]; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, name); pc += 2; break; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); break; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); break; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); break; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; break; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; break; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); int count = getIndex(iCode, pc + 4); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 6; break; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case Icode_TYPEOFNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case Icode_NAME_AND_THIS : { String name = strings[getIndex(iCode, pc)]; boolean skipGetThis = (0 != iCode[pc + 2]); stackTop = do_nameAndThis(stack, stackTop, scope, name, skipGetThis); pc += 3; break; } case Token.STRING : stack[++stackTop] = strings[getIndex(iCode, pc)]; pc += 2; break; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; break; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; break; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; break; case Token.NAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.name(scope, name); pc += 2; break; } case Icode_NAMEINC : case Icode_NAMEDEC : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, name, op == Icode_NAMEINC); pc += 2; break; } case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; break; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case Token.NULL : stack[++stackTop] = null; break; case Token.THIS : stack[++stackTop] = thisObj; break; case Token.THISFN : stack[++stackTop] = fnOrScript; break; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; break; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; break; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; break; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; break; case Token.CATCH_SCOPE : { String name = strings[getIndex(iCode, pc)]; stack[stackTop] = ScriptRuntime.newCatchScope(name, stack[stackTop]); pc += 2; break; } case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; break; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; break; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); break; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; break; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; break; } case Icode_SCOPE : stack[++stackTop] = scope; break; case Icode_CLOSURE : { int i = getIndex(iCode, pc); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; break; } case Token.REGEXP : { int i = getIndex(iCode, pc); Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[i]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[i]; } stack[++stackTop] = regexp; pc += 2; break; } case Icode_LITERAL_NEW : { int i = getInt(iCode, pc); ++stackTop; stack[stackTop] = new Object[i]; sDbl[stackTop] = 0; pc += 4; break; } case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; break; } case Token.ARRAYLIT : case Token.OBJECTLIT : { int offset = getInt(iCode, pc); Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.ARRAYLIT) { int[] skipIndexces = null; if (offset >= 0) { skipIndexces = (int[])idata.literalIds[offset]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } else { Object[] ids = (Object[])idata.literalIds[offset]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } stack[stackTop] = val; pc += 4; break; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; break; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } // end of interpreter switch } } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } javaException = ex; exceptionPC = pc; pc = getJavaCatchPC(iCode); continue Loop; } } cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/34e9dc56b7553f450b9015c8f4135584139686cf/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
datetime = imcref.getAdminTemplateFromSubDirectoryOfDirectory( "checkbox_datetime.html", user, tempV, "103", templetUrl.getName());
datetime = imcref.getTemplateFromSubDirectoryOfDirectory( "checkbox_datetime.html", user, tempV, "103", templetUrl.getName());
private synchronized void createSettingsPage(HttpServletRequest req, HttpServletResponse res, String metaId, imcode.server.user.UserDomainObject user, ChatMember member) throws IOException { Vector vect = new Vector(); File templetUrl = super.getExternalTemplateFolder(req, user); IMCServiceInterface imcref = ApplicationServer.getIMCServiceInterface(); String[] arr; if (true)//(checkboxText == null) { //we dont have them so we have to get them from db arr = imcref.sqlProcedure("C_GetChatParameters", new String[]{"" + metaId}); if (arr.length != 7) { return; } StringBuffer reload = new StringBuffer(""); if (arr[1].equals("3")) { boolean autoRefreshEnabled = member.isAutoRefreshEnabled(); Vector tempV = new Vector(); tempV.add("#checked#"); if (autoRefreshEnabled) { tempV.add("checked"); } else { tempV.add(""); } reload.append(imcref.getAdminTemplateFromSubDirectoryOfDirectory( "checkbox_reload.html", user, tempV, "103", templetUrl.getName())); reload.append(createOptionCode(member.getRefreshTime() + "", ChatCreator.createUpdateTimeV())); reload.append("</select> sekund <br>"); } String entrance = ""; if (arr[2].equals("3")) { boolean showEnterAndLeaveMessages = member.isShowEnterAndLeaveMessagesEnabled(); Vector tempV = new Vector(); tempV.add("#checked#"); if (showEnterAndLeaveMessages) { tempV.add("checked"); } else { tempV.add(""); } entrance = imcref.getAdminTemplateFromSubDirectoryOfDirectory( "checkbox_entrance.html", user, tempV, "103", templetUrl.getName()); } String privat = ""; if (arr[3].equals("3")) { boolean showPrivateMessagesEnabled = member.isShowPrivateMessagesEnabled(); Vector tempV = new Vector(); tempV.add("#checked#"); if (showPrivateMessagesEnabled) { tempV.add("checked"); } else { tempV.add(""); } privat = imcref.getAdminTemplateFromSubDirectoryOfDirectory( "checkbox_private.html", user, tempV, "103", templetUrl.getName()); } String datetime = ""; if (arr[5].equals("3")) { boolean showDateTimesEnabled = member.isShowDateTimesEnabled(); Vector tempV = new Vector(); tempV.add("#checked#"); if (showDateTimesEnabled) { tempV.add("checked"); } else { tempV.add(""); } datetime = imcref.getAdminTemplateFromSubDirectoryOfDirectory( "checkbox_datetime.html", user, tempV, "103", templetUrl.getName()); } String font = ""; if (arr[6].equals("3")) { int fontSize = member.getFontSize(); Vector tempV = new Vector(); for (int i = 1; i < 8; i++) { tempV.add("#" + i + "#"); if (i == fontSize) { tempV.add("checked"); } else { tempV.add(""); } } font = imcref.getAdminTemplateFromSubDirectoryOfDirectory( "buttons_font.html", user, tempV, "103", templetUrl.getName()); } vect.add("#reload#"); vect.add(reload.toString()); vect.add("#entrance#"); vect.add(entrance); vect.add("#private#"); vect.add(privat); vect.add("#datetime#"); vect.add(datetime); vect.add("#font#"); vect.add(font); } this.sendHtml(req, res, vect, SETTINGS_TEMPLATE, null); }//end createSettingsPage
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/ad377e1666afe055ff7402850f0d10196cb46451/ChatControl.java/clean/server/src/com/imcode/imcms/servlet/chat/ChatControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 752, 2628, 1964, 12, 2940, 18572, 1111, 16, 12446, 400, 16, 4766, 1171, 514, 2191, 548, 16, 709, 710, 18, 3567, 18, 1355, 18, 1299, 3748, 921, 729, 16, 16903, 4419, 3140, 13, 5411, 1216, 1860, 288, 3639, 5589, 21623, 273, 394, 5589, 5621, 3639, 1387, 1022, 1469, 1489, 273, 2240, 18, 588, 6841, 2283, 3899, 12, 3658, 16, 729, 1769, 3639, 6246, 39, 18348, 709, 71, 1734, 273, 4257, 2081, 18, 588, 3445, 39, 18348, 5621, 3639, 514, 8526, 2454, 31, 3639, 309, 261, 3767, 13, 759, 12, 12017, 1528, 422, 446, 13, 3639, 288, 5411, 368, 1814, 14046, 1240, 2182, 1427, 732, 1240, 358, 336, 2182, 628, 1319, 5411, 2454, 273, 709, 71, 1734, 18, 4669, 17213, 2932, 39, 67, 967, 14163, 2402, 3113, 394, 514, 63, 7073, 3660, 397, 2191, 548, 22938, 5411, 309, 261, 5399, 18, 2469, 480, 2371, 13, 288, 7734, 327, 31, 5411, 289, 5411, 6674, 7749, 273, 394, 6674, 2932, 8863, 5411, 309, 261, 5399, 63, 21, 8009, 14963, 2932, 23, 6, 3719, 288, 7734, 1250, 3656, 8323, 1526, 273, 3140, 18, 291, 4965, 8323, 1526, 5621, 7734, 5589, 1906, 58, 273, 394, 5589, 5621, 7734, 1906, 58, 18, 1289, 2932, 7, 4532, 7, 8863, 7734, 309, 261, 6079, 8323, 1526, 13, 288, 10792, 1906, 58, 18, 1289, 2932, 4532, 8863, 7734, 289, 469, 288, 10792, 1906, 58, 18, 1289, 2932, 8863, 7734, 289, 7734, 7749, 18, 6923, 12, 381, 71, 1734, 18, 588, 4446, 2283, 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, 3852, 918, 752, 2628, 1964, 12, 2940, 18572, 1111, 16, 12446, 400, 16, 4766, 1171, 514, 2191, 548, 16, 709, 710, 18, 3567, 18, 1355, 18, 1299, 3748, 921, 729, 16, 16903, 4419, 3140, 13, 5411, 1216, 1860, 288, 3639, 5589, 21623, 273, 394, 5589, 5621, 3639, 1387, 1022, 1469, 1489, 273, 2240, 18, 588, 6841, 2283, 3899, 12, 3658, 16, 729, 1769, 3639, 6246, 39, 18348, 709, 71, 1734, 273, 4257, 2081, 18, 588, 3445, 39, 18348, 5621, 3639, 514, 8526, 2454, 31, 3639, 309, 261, 3767, 13, 759, 12, 12017, 1528, 422, 446, 13, 3639, 288, 5411, 368, 1814, 14046, 1240, 2182, 1427, 732, 1240, 358, 336, 2182, 628, 1319, 5411, 2454, 273, 709, 71, 2 ]
Subject subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);
Subject subj = null; try { subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT); } catch (SubjectNotFoundException e1) { e1.printStackTrace(); }
public void testDeleteNS0WithChildStem() { Subject subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT); GrouperSession s = GrouperSession.start(subj); // Create ns0 GrouperStem ns0 = GrouperStem.create( s, Constants.ns0s, Constants.ns0e ); // Create ns1 GrouperStem ns1 = GrouperStem.create( s, Constants.ns1s, Constants.ns1e ); // Delete ns0 try { GrouperStem.delete(s, ns0); Assert.fail("delete ns0 with child stem"); } catch (RuntimeException e) { Assert.assertTrue("delete ns with child stem0", true); } s.stop(); }
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/299be707e24937a76973f84a9cb849e117e6129a/TestStemsDelete.java/buggy/grouper/java/tests/test/edu/internet2/middleware/grouper/TestStemsDelete.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2613, 3156, 20, 1190, 1763, 28771, 1435, 288, 565, 9912, 15333, 273, 446, 31, 775, 288, 15333, 273, 9912, 1733, 18, 588, 6638, 12, 2918, 18, 3085, 45, 16, 5245, 18, 3085, 56, 1769, 289, 1044, 261, 6638, 3990, 425, 21, 13, 288, 225, 425, 21, 18, 1188, 6332, 5621, 289, 565, 3756, 264, 2157, 272, 273, 3756, 264, 2157, 18, 1937, 12, 1717, 78, 1769, 565, 368, 1788, 3153, 20, 565, 3756, 264, 28771, 3153, 20, 273, 3756, 264, 28771, 18, 2640, 12, 7682, 272, 16, 5245, 18, 2387, 20, 87, 16, 5245, 18, 2387, 20, 73, 15604, 11272, 565, 368, 1788, 3153, 21, 565, 3756, 264, 28771, 3153, 21, 273, 3756, 264, 28771, 18, 2640, 12, 7682, 272, 16, 5245, 18, 2387, 21, 87, 16, 5245, 18, 2387, 21, 73, 15604, 11272, 565, 368, 2504, 3153, 20, 565, 775, 288, 1377, 3756, 264, 28771, 18, 3733, 12, 87, 16, 3153, 20, 1769, 1377, 5452, 18, 6870, 2932, 3733, 3153, 20, 598, 1151, 13119, 8863, 565, 289, 1044, 261, 11949, 425, 13, 288, 1377, 5452, 18, 11231, 5510, 2932, 3733, 3153, 598, 1151, 13119, 20, 3113, 638, 1769, 565, 289, 565, 272, 18, 5681, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 1842, 2613, 3156, 20, 1190, 1763, 28771, 1435, 288, 565, 9912, 15333, 273, 446, 31, 775, 288, 15333, 273, 9912, 1733, 18, 588, 6638, 12, 2918, 18, 3085, 45, 16, 5245, 18, 3085, 56, 1769, 289, 1044, 261, 6638, 3990, 425, 21, 13, 288, 225, 425, 21, 18, 1188, 6332, 5621, 289, 565, 3756, 264, 2157, 272, 273, 3756, 264, 2157, 18, 1937, 12, 1717, 78, 1769, 565, 368, 1788, 3153, 20, 565, 3756, 264, 28771, 3153, 20, 273, 3756, 264, 28771, 18, 2640, 12, 7682, 272, 16, 5245, 18, 2387, 20, 87, 16, 5245, 18, 2387, 20, 73, 15604, 11272, 565, 368, 1788, 3153, 21, 565, 3756, 264, 28771, 3153, 21, 273, 3756, 264, 28771, 2 ]
if ( moduleHandle != libraryHandle && !moduleHandle.isInclude( libraryHandle ) )
String namespace = getLibraryNamespace( moduleHandle, libraryPath ); if ( namespace != null )
public static boolean includeLibrary( ModuleHandle moduleHandle, LibraryHandle libraryHandle ) throws DesignFileException, SemanticException { if ( moduleHandle != libraryHandle && !moduleHandle.isInclude( libraryHandle ) ) { String defaultName = new File( libraryHandle.getFileName( ) ).getName( ) .split( File.separator + "." )[0]; if ( SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ) .getLibrary( defaultName ) != null ) { ImportLibraryDialog dialog = new ImportLibraryDialog( defaultName ); if ( dialog.open( ) == Dialog.OK ) { moduleHandle.includeLibrary( DEUtil.getRelativedPath( moduleHandle.getFileName( ), libraryHandle.getFileName( ) ), (String) dialog.getResult( ) ); ExceptionHandler.openMessageBox( MSG_DIALOG_TITLE, MessageFormat.format( MSG_DIALOG_MSG, new String[]{ libraryHandle.getFileName( ) } ), SWT.ICON_INFORMATION ); return true; } return false; } moduleHandle.includeLibrary( DEUtil.getRelativedPath( moduleHandle.getFileName( ), libraryHandle.getFileName( ) ), defaultName ); ExceptionHandler.openMessageBox( MSG_DIALOG_TITLE, MessageFormat.format( MSG_DIALOG_MSG, new String[]{ libraryHandle.getFileName( ) } ), SWT.ICON_INFORMATION ); return true; } return true; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c4093a03b7bd14d5811d9e04a09ced3a222e949a/UIUtil.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 2341, 9313, 12, 5924, 3259, 1605, 3259, 16, 1082, 202, 9313, 3259, 5313, 3259, 262, 1216, 29703, 812, 503, 16, 1082, 202, 13185, 9941, 503, 202, 95, 202, 202, 430, 261, 1605, 3259, 480, 5313, 3259, 9506, 202, 10, 10, 401, 2978, 3259, 18, 291, 8752, 12, 5313, 3259, 262, 262, 202, 202, 95, 1082, 202, 780, 805, 461, 273, 394, 1387, 12, 5313, 3259, 18, 588, 4771, 12, 262, 262, 18, 17994, 12, 262, 6862, 202, 18, 4939, 12, 1387, 18, 11287, 397, 4585, 262, 63, 20, 15533, 1082, 202, 430, 261, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 6862, 202, 18, 588, 4820, 15478, 3259, 12, 262, 6862, 202, 18, 588, 9313, 12, 805, 461, 262, 480, 446, 262, 1082, 202, 95, 9506, 202, 5010, 9313, 6353, 6176, 273, 394, 6164, 9313, 6353, 12, 805, 461, 11272, 9506, 202, 430, 261, 6176, 18, 3190, 12, 262, 422, 17242, 18, 3141, 262, 9506, 202, 95, 6862, 202, 2978, 3259, 18, 6702, 9313, 12, 2030, 1304, 18, 588, 1971, 270, 2950, 743, 12, 1605, 3259, 18, 588, 4771, 12, 262, 16, 6862, 1082, 202, 12083, 3259, 18, 588, 4771, 12, 262, 262, 16, 6862, 1082, 202, 12, 780, 13, 6176, 18, 588, 1253, 12, 262, 11272, 6862, 202, 18894, 18, 3190, 27647, 12, 13771, 67, 2565, 18683, 67, 14123, 16, 6862, 1082, 202, 1079, 1630, 18, 2139, 12, 13771, 67, 2565, 18683, 67, 11210, 16, 394, 514, 63, 7073, 6862, 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, 760, 1250, 2341, 9313, 12, 5924, 3259, 1605, 3259, 16, 1082, 202, 9313, 3259, 5313, 3259, 262, 1216, 29703, 812, 503, 16, 1082, 202, 13185, 9941, 503, 202, 95, 202, 202, 430, 261, 1605, 3259, 480, 5313, 3259, 9506, 202, 10, 10, 401, 2978, 3259, 18, 291, 8752, 12, 5313, 3259, 262, 262, 202, 202, 95, 1082, 202, 780, 805, 461, 273, 394, 1387, 12, 5313, 3259, 18, 588, 4771, 12, 262, 262, 18, 17994, 12, 262, 6862, 202, 18, 4939, 12, 1387, 18, 11287, 397, 4585, 262, 63, 20, 15533, 1082, 202, 430, 261, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 6862, 202, 18, 588, 4820, 15478, 3259, 12, 262, 6862, 202, 18, 588, 2 ]
if ( fieldIndex.getCount() <= 2 ) {
if ( fieldIndex.getCount() <= THRESHOLD_TO_HASH - 1 ) {
public void removeObjectSink(final ObjectSink sink) { if ( sink.getClass() == AlphaNode.class ) { final AlphaNode alphaNode = (AlphaNode) sink; final AlphaNodeFieldConstraint fieldConstraint = alphaNode.getConstraint(); if ( fieldConstraint.getClass() == LiteralConstraint.class ) { final LiteralConstraint literalConstraint = (LiteralConstraint) fieldConstraint; final Evaluator evaluator = literalConstraint.getEvaluator(); final Object value = literalConstraint.getField().getValue(); if ( evaluator.getOperator() == Operator.EQUAL ) { final int index = literalConstraint.getFieldExtractor().getIndex(); final FieldIndex fieldIndex = unregisterFieldIndex( index ); if ( fieldIndex.isHashed() ) { this.hashKey.setIndex( index ); this.hashKey.setValue( value ); this.hashedSinkMap.remove( this.hashKey ); if ( fieldIndex.getCount() <= 2 ) { // we have less than three so unhash unHashSinks( fieldIndex ); } } else { this.hashableSinks.remove( (ObjectSinkNode) sink ); } if ( this.hashableSinks.isEmpty() ) { this.hashableSinks = null; } return; } } } this.otherSinks.remove( (ObjectSinkNode) sink ); if ( this.otherSinks.isEmpty() ) { this.otherSinks = null; } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/3bb9845f4c7f0ffca0c1dbd2eba6c6da6d7d5d5f/CompositeObjectSinkAdapter.java/buggy/drools-core/src/main/java/org/drools/reteoo/CompositeObjectSinkAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 921, 11326, 12, 6385, 1033, 11326, 9049, 13, 288, 3639, 309, 261, 9049, 18, 588, 797, 1435, 422, 24277, 907, 18, 1106, 262, 288, 5411, 727, 24277, 907, 4190, 907, 273, 261, 9690, 907, 13, 9049, 31, 5411, 727, 24277, 907, 974, 5806, 652, 5806, 273, 4190, 907, 18, 588, 5806, 5621, 5411, 309, 261, 652, 5806, 18, 588, 797, 1435, 422, 14392, 5806, 18, 1106, 262, 288, 7734, 727, 14392, 5806, 7158, 5806, 273, 261, 6177, 5806, 13, 652, 5806, 31, 7734, 727, 31956, 18256, 273, 7158, 5806, 18, 588, 15876, 5621, 7734, 727, 1033, 460, 273, 7158, 5806, 18, 588, 974, 7675, 24805, 5621, 7734, 309, 261, 18256, 18, 588, 5592, 1435, 422, 11097, 18, 12853, 262, 288, 10792, 727, 509, 770, 273, 7158, 5806, 18, 588, 974, 10958, 7675, 588, 1016, 5621, 10792, 727, 2286, 1016, 31762, 273, 10232, 974, 1016, 12, 770, 11272, 10792, 309, 261, 31762, 18, 291, 2310, 329, 1435, 262, 288, 13491, 333, 18, 2816, 653, 18, 542, 1016, 12, 770, 11272, 13491, 333, 18, 2816, 653, 18, 542, 620, 12, 460, 11272, 13491, 333, 18, 2816, 329, 11326, 863, 18, 4479, 12, 333, 18, 2816, 653, 11272, 13491, 309, 261, 31762, 18, 588, 1380, 1435, 1648, 7662, 20798, 67, 4296, 67, 15920, 300, 404, 262, 288, 18701, 368, 732, 1240, 5242, 2353, 8925, 1427, 640, 2816, 18701, 640, 2310, 11326, 87, 12, 31762, 11272, 13491, 289, 10792, 289, 469, 288, 13491, 333, 18, 2816, 429, 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, 1206, 921, 11326, 12, 6385, 1033, 11326, 9049, 13, 288, 3639, 309, 261, 9049, 18, 588, 797, 1435, 422, 24277, 907, 18, 1106, 262, 288, 5411, 727, 24277, 907, 4190, 907, 273, 261, 9690, 907, 13, 9049, 31, 5411, 727, 24277, 907, 974, 5806, 652, 5806, 273, 4190, 907, 18, 588, 5806, 5621, 5411, 309, 261, 652, 5806, 18, 588, 797, 1435, 422, 14392, 5806, 18, 1106, 262, 288, 7734, 727, 14392, 5806, 7158, 5806, 273, 261, 6177, 5806, 13, 652, 5806, 31, 7734, 727, 31956, 18256, 273, 7158, 5806, 18, 588, 15876, 5621, 7734, 727, 1033, 460, 273, 7158, 5806, 18, 588, 974, 7675, 24805, 5621, 7734, 309, 261, 18256, 18, 588, 5592, 1435, 422, 2 ]
runTests(new TestDescriptor[]{ new TestDescriptor(TEST1, "bad", 1, rule), new TestDescriptor(TEST2, "good", 0, rule), }); }
runTests(rule); }
public void testAll() { runTests(new TestDescriptor[]{ new TestDescriptor(TEST1, "bad", 1, rule), new TestDescriptor(TEST2, "good", 0, rule), }); }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/4e45de9075eeb015245ff09f8f8c58cf0f98bbf3/PackageCaseTest.java/buggy/pmd/regress/test/net/sourceforge/pmd/rules/PackageCaseTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1595, 1435, 288, 3639, 1086, 14650, 12, 2704, 7766, 3187, 63, 7073, 5411, 394, 7766, 3187, 12, 16961, 21, 16, 315, 8759, 3113, 404, 16, 1720, 3631, 5411, 394, 7766, 3187, 12, 16961, 22, 16, 315, 19747, 3113, 374, 16, 1720, 3631, 3639, 15549, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1595, 1435, 288, 3639, 1086, 14650, 12, 2704, 7766, 3187, 63, 7073, 5411, 394, 7766, 3187, 12, 16961, 21, 16, 315, 8759, 3113, 404, 16, 1720, 3631, 5411, 394, 7766, 3187, 12, 16961, 22, 16, 315, 19747, 3113, 374, 16, 1720, 3631, 3639, 15549, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(list.head() == list.tail()) {
if(list.head() == list.tail() && i != list.head()) {
public synchronized void update(UpdatableSortedLinkedListItem i) { Logger.minor(this, "Update("+i+") on "+this); if(i.compareTo(list.tail()) == 0) return; if(i.compareTo(list.tail()) > 0) { list.remove(i); list.push(i); return; } if(i.compareTo(list.head()) < 0) { list.remove(i); list.unshift(i); return; } if(list.head() == list.tail()) { Logger.error(this, "Only 1 element: "+list.head()+" and updating "+i+" on "+this, new Exception("error")); add(i); return; } // Forwards or backwards? UpdatableSortedLinkedListItem next = (UpdatableSortedLinkedListItem) list.next(i); UpdatableSortedLinkedListItem prev = (UpdatableSortedLinkedListItem) list.prev(i); if(next == null || prev == null) { Logger.error(this, "next="+next+" prev="+prev+" for update("+i+") on "+this, new Exception("error")); return; } if(next.compareTo(i) > 0 && prev.compareTo(i) < 0) return; // already exactly where it should be if(next != null && i.compareTo(next) > 0) { // i > next while(true) { prev = next; next = (UpdatableSortedLinkedListItem) list.next(next); if(next == null) { throw new NullPointerException("impossible - we checked"); } if(i.compareTo(next) < 0 && i.compareTo(prev) > 0) { list.remove(i); list.insertNext(prev, i); return; } } } else { // i < next while(true) { next = prev; prev = (UpdatableSortedLinkedListItem) list.prev(prev); if(next == null) { throw new NullPointerException("impossible - we checked"); } if(i.compareTo(next) < 0 && i.compareTo(prev) > 0) { list.remove(i); list.insertNext(prev, i); return; } } } }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/8707969864a8fc5c76b305d6a9b5438889fcb044/UpdatableSortedLinkedList.java/clean/src/freenet/support/UpdatableSortedLinkedList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1089, 12, 1211, 3404, 429, 11739, 13174, 13575, 277, 13, 288, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 1891, 2932, 15, 77, 15, 7923, 603, 13773, 2211, 1769, 3639, 309, 12, 77, 18, 9877, 774, 12, 1098, 18, 13101, 10756, 422, 374, 13, 327, 31, 3639, 309, 12, 77, 18, 9877, 774, 12, 1098, 18, 13101, 10756, 405, 374, 13, 288, 5411, 666, 18, 4479, 12, 77, 1769, 5411, 666, 18, 6206, 12, 77, 1769, 5411, 327, 31, 3639, 289, 3639, 309, 12, 77, 18, 9877, 774, 12, 1098, 18, 1978, 10756, 411, 374, 13, 288, 5411, 666, 18, 4479, 12, 77, 1769, 5411, 666, 18, 13858, 12, 77, 1769, 5411, 327, 31, 3639, 289, 3639, 309, 12, 1098, 18, 1978, 1435, 422, 666, 18, 13101, 1435, 597, 277, 480, 666, 18, 1978, 10756, 288, 5411, 4242, 18, 1636, 12, 2211, 16, 315, 3386, 404, 930, 30, 13773, 1098, 18, 1978, 1435, 9078, 471, 9702, 13773, 77, 9078, 603, 13773, 2211, 16, 394, 1185, 2932, 1636, 7923, 1769, 5411, 527, 12, 77, 1769, 5411, 327, 31, 3639, 289, 3639, 368, 2457, 6397, 578, 12727, 35, 3639, 1948, 3404, 429, 11739, 13174, 13575, 1024, 273, 261, 1211, 3404, 429, 11739, 13174, 13575, 13, 666, 18, 4285, 12, 77, 1769, 3639, 1948, 3404, 429, 11739, 13174, 13575, 2807, 273, 261, 1211, 3404, 429, 11739, 13174, 13575, 13, 666, 18, 10001, 12, 77, 1769, 3639, 309, 12, 4285, 422, 446, 747, 2807, 422, 446, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1089, 12, 1211, 3404, 429, 11739, 13174, 13575, 277, 13, 288, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 1891, 2932, 15, 77, 15, 7923, 603, 13773, 2211, 1769, 3639, 309, 12, 77, 18, 9877, 774, 12, 1098, 18, 13101, 10756, 422, 374, 13, 327, 31, 3639, 309, 12, 77, 18, 9877, 774, 12, 1098, 18, 13101, 10756, 405, 374, 13, 288, 5411, 666, 18, 4479, 12, 77, 1769, 5411, 666, 18, 6206, 12, 77, 1769, 5411, 327, 31, 3639, 289, 3639, 309, 12, 77, 18, 9877, 774, 12, 1098, 18, 1978, 10756, 411, 374, 13, 288, 5411, 666, 18, 4479, 12, 77, 1769, 5411, 666, 18, 13858, 12, 77, 1769, 5411, 327, 31, 3639, 2 ]
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { } }); filterComboViewer.setLabelProvider(new LabelProvider(){ public String getText(Object inputElement) { DbType dbType = (DbType)inputElement; return dbType.getName(); } }); filterComboViewer.setInput(dbTypeList);
public void inputChanged( Viewer viewer, Object oldInput, Object newInput ) { } } ); filterComboViewer.setLabelProvider( new LabelProvider( ) { public String getText( Object inputElement ) { DbType dbType = (DbType) inputElement; return dbType.getName( ); } } ); filterComboViewer.setInput( dbTypeList );
private void setFilterComboContents(ComboViewer filterComboViewer) { if( filterComboViewer == null ) { return; } ArrayList dbTypeList = new ArrayList(); DbType tableType = new DbType(DbType.TABLE_TYPE, JdbcPlugin.getResourceString("tablepage.text.tabletype")); DbType viewType = new DbType(DbType.VIEW_TYPE, JdbcPlugin.getResourceString("tablepage.text.viewtype")); DbType allType = new DbType(DbType.ALL_TYPE, JdbcPlugin.getResourceString("tablepage.text.All")); DbType procedureType = new DbType(DbType.PROCEDURE_TYPE,JdbcPlugin.getResourceString("tablepage.text.procedure")); // Populate the Types of Data bases objects which can be retrieved dbTypeList.add( allType ); dbTypeList.add( tableType ); dbTypeList.add( viewType ); if ( metaDataProvider.isProcedureSupported( ) ) dbTypeList.add( procedureType ); filterComboViewer.setContentProvider(new IStructuredContentProvider(){ public Object[] getElements(Object inputElement) { if(inputElement != null) { return ((ArrayList)inputElement).toArray(); } return new DbType[]{}; } public void dispose() { // TODO Auto-generated method stub } public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { // TODO Auto-generated method stub } }); filterComboViewer.setLabelProvider(new LabelProvider(){ public String getText(Object inputElement) { DbType dbType = (DbType)inputElement; return dbType.getName(); } }); filterComboViewer.setInput(dbTypeList); // Set the Default selection to the First Item , which is "All" filterComboViewer.getCombo().select(0); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/8887f296b0d9adc032ae9020f3349938893f43a3/SQLDataSetEditorPage.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 22855, 16156, 6323, 12, 16156, 18415, 1034, 16156, 18415, 13, 202, 95, 202, 202, 430, 12, 1034, 16156, 18415, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 19558, 29771, 682, 273, 394, 2407, 5621, 9506, 202, 4331, 559, 1014, 559, 225, 273, 394, 8408, 559, 12, 4331, 559, 18, 7775, 67, 2399, 16, 24209, 3773, 18, 588, 1420, 780, 2932, 2121, 2433, 18, 955, 18, 7032, 1810, 388, 7923, 1769, 202, 202, 4331, 559, 1476, 559, 273, 394, 8408, 559, 12, 4331, 559, 18, 12145, 67, 2399, 16, 24209, 3773, 18, 588, 1420, 780, 2932, 2121, 2433, 18, 955, 18, 1945, 723, 7923, 1769, 202, 202, 4331, 559, 777, 559, 273, 394, 8408, 559, 12, 4331, 559, 18, 4685, 67, 2399, 16, 24209, 3773, 18, 588, 1420, 780, 2932, 2121, 2433, 18, 955, 18, 1595, 7923, 1769, 202, 202, 4331, 559, 12131, 559, 273, 394, 8408, 559, 12, 4331, 559, 18, 3373, 23552, 4830, 67, 2399, 16, 25316, 3773, 18, 588, 1420, 780, 2932, 2121, 2433, 18, 955, 18, 685, 8153, 7923, 1769, 202, 202, 759, 22254, 326, 7658, 434, 1910, 8337, 2184, 1492, 848, 506, 10295, 202, 202, 1966, 559, 682, 18, 1289, 12, 777, 559, 11272, 202, 202, 1966, 559, 682, 18, 1289, 12, 1014, 559, 11272, 202, 202, 1966, 559, 682, 18, 1289, 12, 1476, 559, 11272, 202, 202, 430, 261, 11651, 2249, 18, 291, 17213, 7223, 12, 262, 262, 1082, 202, 1966, 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, 22855, 16156, 6323, 12, 16156, 18415, 1034, 16156, 18415, 13, 202, 95, 202, 202, 430, 12, 1034, 16156, 18415, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 19558, 29771, 682, 273, 394, 2407, 5621, 9506, 202, 4331, 559, 1014, 559, 225, 273, 394, 8408, 559, 12, 4331, 559, 18, 7775, 67, 2399, 16, 24209, 3773, 18, 588, 1420, 780, 2932, 2121, 2433, 18, 955, 18, 7032, 1810, 388, 7923, 1769, 202, 202, 4331, 559, 1476, 559, 273, 394, 8408, 559, 12, 4331, 559, 18, 12145, 67, 2399, 16, 24209, 3773, 18, 588, 1420, 780, 2932, 2121, 2433, 18, 955, 18, 1945, 723, 7923, 1769, 202, 202, 4331, 559, 2 ]
result.add(new NodeProxy((DocumentImpl) i.next(), -1));
result.add(new NodeProxy((DocumentImpl) i.next(), -1, Node.DOCUMENT_NODE));
public Sequence eval( Sequence contextSequence, Item contextItem) throws XPathException { DocumentSet docs = null; Sequence result = null; if (getArgumentCount() == 0) { if(cached != null) { result = cached; docs = cached.getDocumentSet(); } else { docs = new DocumentSet(); context.getBroker().getAllDocuments(docs); } } else { List args = getParameterValues(contextSequence, contextItem); boolean cacheIsValid = false; if(cachedArgs != null) cacheIsValid = compareArguments(cachedArgs, args); if(cacheIsValid) { result = cached; docs = cached.getDocumentSet(); } else { docs = new DocumentSet(); for(int i = 0; i < args.size(); i++) { String next = (String)args.get(i); if(next.length() == 0) throw new XPathException("Invalid argument to fn:doc function: empty string is not allowed here."); if(next.charAt(0) != '/') next = context.getBaseURI() + '/' + next; try { DocumentImpl doc = (DocumentImpl) context.getBroker().getDocument(next); if(doc != null) { docs.add(doc); } } catch (PermissionDeniedException e) { throw new XPathException("Permission denied: unable to load document " + next); } } cachedArgs = args; } } try { docs.lock(false); // wait for pending updates if(result == null) { result = new ExtArrayNodeSet(docs.getLength(), 1); for (Iterator i = docs.iterator(); i.hasNext();) { result.add(new NodeProxy((DocumentImpl) i.next(), -1)); } } } catch (LockException e) { throw new XPathException(getASTNode(), "Could not acquire lock on document set."); } finally { docs.unlock(false); } cached = result; return result; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ddc6ab496ae303f007a96cb80352f3352974cbcf/ExtDocument.java/clean/src/org/exist/xquery/functions/ExtDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8370, 5302, 12, 202, 202, 4021, 819, 4021, 16, 202, 202, 1180, 819, 1180, 13, 202, 202, 15069, 10172, 503, 288, 202, 565, 4319, 694, 3270, 273, 446, 31, 202, 565, 8370, 563, 273, 446, 31, 202, 565, 309, 261, 588, 1379, 1380, 1435, 422, 374, 13, 288, 202, 3639, 309, 12, 7097, 480, 446, 13, 288, 202, 5411, 563, 273, 3472, 31, 202, 5411, 3270, 273, 3472, 18, 588, 2519, 694, 5621, 202, 3639, 289, 469, 288, 1082, 3639, 3270, 273, 394, 4319, 694, 5621, 1082, 3639, 819, 18, 588, 11194, 7675, 588, 1595, 12922, 12, 8532, 1769, 202, 3639, 289, 202, 565, 289, 469, 288, 1082, 565, 987, 833, 273, 5575, 1972, 12, 2472, 4021, 16, 819, 1180, 1769, 1082, 202, 6494, 1247, 20536, 273, 629, 31, 1082, 202, 430, 12, 7097, 2615, 480, 446, 13, 9506, 565, 1247, 20536, 273, 3400, 4628, 12, 7097, 2615, 16, 833, 1769, 1082, 202, 430, 12, 2493, 20536, 13, 288, 9506, 565, 563, 273, 3472, 31, 9506, 565, 3270, 273, 3472, 18, 588, 2519, 694, 5621, 1082, 202, 97, 469, 288, 9506, 202, 8532, 273, 394, 4319, 694, 5621, 9506, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 833, 18, 1467, 5621, 277, 27245, 288, 6862, 202, 780, 1024, 273, 261, 780, 13, 1968, 18, 588, 12, 77, 1769, 6862, 202, 430, 12, 4285, 18, 2469, 1435, 422, 374, 13, 25083, 202, 12849, 394, 10172, 503, 2932, 1941, 1237, 358, 2295, 30, 2434, 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, 8370, 5302, 12, 202, 202, 4021, 819, 4021, 16, 202, 202, 1180, 819, 1180, 13, 202, 202, 15069, 10172, 503, 288, 202, 565, 4319, 694, 3270, 273, 446, 31, 202, 565, 8370, 563, 273, 446, 31, 202, 565, 309, 261, 588, 1379, 1380, 1435, 422, 374, 13, 288, 202, 3639, 309, 12, 7097, 480, 446, 13, 288, 202, 5411, 563, 273, 3472, 31, 202, 5411, 3270, 273, 3472, 18, 588, 2519, 694, 5621, 202, 3639, 289, 469, 288, 1082, 3639, 3270, 273, 394, 4319, 694, 5621, 1082, 3639, 819, 18, 588, 11194, 7675, 588, 1595, 12922, 12, 8532, 1769, 202, 3639, 289, 202, 565, 289, 469, 288, 1082, 565, 987, 833, 273, 5575, 1972, 12, 2472, 2 ]
builder.append(" [");
builder.append(" :");
public String toString() { @NonNls StringBuilder builder = StringBuilderSpinAllocator.alloc(); try { builder.append("AntTarget: "); builder.append(getName()); if (getDescription() != null) { builder.append(" ["); builder.append(getDescription()); builder.append(']'); } final AntTarget[] targets = getDependsTargets(); if (targets.length > 0) { builder.append(" -> ["); for (AntTarget target : targets) { builder.append(' '); builder.append(target.getName()); } builder.append(" ]"); } return builder.toString(); } finally { StringBuilderSpinAllocator.dispose(builder); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/9e97c372bd20a134201ed8582953dd57e10e0ee6/AntTargetImpl.java/buggy/plugins/ant/src/com/intellij/lang/ant/psi/impl/AntTargetImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 288, 565, 632, 3989, 50, 3251, 3225, 2089, 273, 3225, 3389, 267, 21156, 18, 9853, 5621, 565, 775, 288, 1377, 2089, 18, 6923, 2932, 14925, 2326, 30, 315, 1769, 1377, 2089, 18, 6923, 12, 17994, 10663, 1377, 309, 261, 588, 3291, 1435, 480, 446, 13, 288, 3639, 2089, 18, 6923, 2932, 294, 8863, 3639, 2089, 18, 6923, 12, 588, 3291, 10663, 3639, 2089, 18, 6923, 2668, 3864, 1769, 1377, 289, 1377, 727, 18830, 2326, 8526, 5774, 273, 336, 4584, 87, 9432, 5621, 1377, 309, 261, 11358, 18, 2469, 405, 374, 13, 288, 3639, 2089, 18, 6923, 2932, 317, 8247, 1769, 3639, 364, 261, 14925, 2326, 1018, 294, 5774, 13, 288, 1850, 2089, 18, 6923, 2668, 28005, 1850, 2089, 18, 6923, 12, 3299, 18, 17994, 10663, 3639, 289, 3639, 2089, 18, 6923, 2932, 308, 8863, 1377, 289, 1377, 327, 2089, 18, 10492, 5621, 565, 289, 565, 3095, 288, 1377, 3225, 3389, 267, 21156, 18, 2251, 4150, 12, 9574, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 288, 565, 632, 3989, 50, 3251, 3225, 2089, 273, 3225, 3389, 267, 21156, 18, 9853, 5621, 565, 775, 288, 1377, 2089, 18, 6923, 2932, 14925, 2326, 30, 315, 1769, 1377, 2089, 18, 6923, 12, 17994, 10663, 1377, 309, 261, 588, 3291, 1435, 480, 446, 13, 288, 3639, 2089, 18, 6923, 2932, 294, 8863, 3639, 2089, 18, 6923, 12, 588, 3291, 10663, 3639, 2089, 18, 6923, 2668, 3864, 1769, 1377, 289, 1377, 727, 18830, 2326, 8526, 5774, 273, 336, 4584, 87, 9432, 5621, 1377, 309, 261, 11358, 18, 2469, 405, 374, 13, 288, 3639, 2089, 18, 6923, 2932, 317, 8247, 1769, 3639, 364, 261, 14925, 2326, 1018, 294, 5774, 13, 288, 1850, 2089, 18, 6923, 2 ]
return (EReference)seriesDefinitionEClass.getEStructuralFeatures().get(3);
return (EReference) seriesDefinitionEClass.getEStructuralFeatures().get(4);
public EReference getSeriesDefinition_Series() { return (EReference)seriesDefinitionEClass.getEStructuralFeatures().get(3); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/DataPackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/DataPackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 512, 2404, 336, 6485, 1852, 67, 6485, 1435, 565, 288, 3639, 327, 261, 41, 2404, 13, 4166, 1852, 5720, 18, 588, 41, 14372, 8696, 7675, 588, 12, 24, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 512, 2404, 336, 6485, 1852, 67, 6485, 1435, 565, 288, 3639, 327, 261, 41, 2404, 13, 4166, 1852, 5720, 18, 588, 41, 14372, 8696, 7675, 588, 12, 24, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (spoon.transMeta.nrSelectedSteps()==0) return;
if (spoon.transMeta.nrSelectedSteps() == 0) return;
private void allignright() { if (spoon.transMeta.nrSelectedSteps()==0) return; StepMeta steps[] = new StepMeta[spoon.transMeta.nrSelectedSteps()]; Point before[] = new Point[spoon.transMeta.nrSelectedSteps()]; Point after[] = new Point[spoon.transMeta.nrSelectedSteps()]; int nr = 0; int max = -99999; // First look for the maximum x coordinate... for (int i = 0; i < spoon.transMeta.nrSteps(); i++) { StepMeta stepMeta = spoon.transMeta.getStep(i); if (stepMeta.isSelected()) { Point p = stepMeta.getLocation(); if (p.x > max) max = p.x; } } // Then apply the coordinate... for (int i = 0; i < spoon.transMeta.nrSteps(); i++) { StepMeta stepMeta = spoon.transMeta.getStep(i); if (stepMeta.isSelected()) { steps[nr] = stepMeta; Point p = stepMeta.getLocation(); before[nr] = new Point(p.x, p.y); stepMeta.setLocation(max, p.y); after[nr] = new Point(max, p.y); nr++; } } spoon.addUndoPosition(steps, spoon.transMeta.getStepIndexes(steps), before, after ); redraw(); }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/4c5fc43499d6aea289fc4add14911510282627c9/SpoonGraph.java/clean/src/be/ibridge/kettle/spoon/SpoonGraph.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 777, 724, 4083, 1435, 565, 288, 3639, 309, 261, 87, 1631, 265, 18, 2338, 2781, 18, 11611, 7416, 11811, 1435, 422, 374, 13, 327, 31, 3639, 8693, 2781, 6075, 8526, 273, 394, 8693, 2781, 63, 87, 1631, 265, 18, 2338, 2781, 18, 11611, 7416, 11811, 1435, 15533, 3639, 4686, 1865, 8526, 282, 273, 394, 4686, 63, 87, 1631, 265, 18, 2338, 2781, 18, 11611, 7416, 11811, 1435, 15533, 3639, 4686, 1839, 8526, 565, 273, 394, 4686, 63, 87, 1631, 265, 18, 2338, 2781, 18, 11611, 7416, 11811, 1435, 15533, 3639, 509, 9884, 273, 374, 31, 3639, 509, 943, 273, 300, 31463, 31, 3639, 368, 5783, 2324, 364, 326, 4207, 619, 7799, 2777, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 25204, 265, 18, 2338, 2781, 18, 11611, 11811, 5621, 277, 27245, 3639, 288, 5411, 8693, 2781, 2235, 2781, 273, 25204, 265, 18, 2338, 2781, 18, 588, 4160, 12, 77, 1769, 5411, 309, 261, 4119, 2781, 18, 291, 7416, 10756, 5411, 288, 7734, 4686, 293, 273, 2235, 2781, 18, 588, 2735, 5621, 7734, 309, 261, 84, 18, 92, 405, 943, 13, 943, 273, 293, 18, 92, 31, 5411, 289, 3639, 289, 3639, 368, 9697, 2230, 326, 7799, 2777, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 25204, 265, 18, 2338, 2781, 18, 11611, 11811, 5621, 277, 27245, 3639, 288, 5411, 8693, 2781, 2235, 2781, 273, 25204, 265, 18, 2338, 2781, 18, 588, 4160, 12, 77, 1769, 5411, 309, 261, 4119, 2781, 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, 777, 724, 4083, 1435, 565, 288, 3639, 309, 261, 87, 1631, 265, 18, 2338, 2781, 18, 11611, 7416, 11811, 1435, 422, 374, 13, 327, 31, 3639, 8693, 2781, 6075, 8526, 273, 394, 8693, 2781, 63, 87, 1631, 265, 18, 2338, 2781, 18, 11611, 7416, 11811, 1435, 15533, 3639, 4686, 1865, 8526, 282, 273, 394, 4686, 63, 87, 1631, 265, 18, 2338, 2781, 18, 11611, 7416, 11811, 1435, 15533, 3639, 4686, 1839, 8526, 565, 273, 394, 4686, 63, 87, 1631, 265, 18, 2338, 2781, 18, 11611, 7416, 11811, 1435, 15533, 3639, 509, 9884, 273, 374, 31, 3639, 509, 943, 273, 300, 31463, 31, 3639, 368, 5783, 2324, 364, 326, 4207, 619, 7799, 2777, 3639, 364, 261, 474, 2 ]
return myFile.getParent();
return myFile.getPath();
public String getPath() { if (myVirtualFile != null && myVirtualFile.isValid()) { return myVirtualFile.getPath(); } else { return myFile.getParent(); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/fefdfb765765ca795334a11de6fa8085713a3d4d/FilePathImpl.java/clean/source/com/intellij/openapi/vcs/FilePathImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 4339, 1435, 288, 565, 309, 261, 4811, 6466, 812, 480, 446, 597, 3399, 6466, 812, 18, 26810, 10756, 288, 1377, 327, 3399, 6466, 812, 18, 588, 743, 5621, 565, 289, 565, 469, 288, 1377, 327, 3399, 812, 18, 588, 743, 5621, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 4339, 1435, 288, 565, 309, 261, 4811, 6466, 812, 480, 446, 597, 3399, 6466, 812, 18, 26810, 10756, 288, 1377, 327, 3399, 6466, 812, 18, 588, 743, 5621, 565, 289, 565, 469, 288, 1377, 327, 3399, 812, 18, 588, 743, 5621, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
buf.append("set [property[=value]]");
buf.append("set [ property[=value ] ] <cr>");
protected static void appendSet(StringBuffer buf) { appendIndent(buf, 1); buf.append("set [property[=value]]"); buf.append('\n'); appendIndent(buf, 2); buf.append("With no args, prints all mondrian properties and values."); buf.append('\n'); appendIndent(buf, 2); buf.append("With \"property\" prints property's value."); buf.append('\n'); appendIndent(buf, 2); buf.append("With \"all\" prints all properties' values."); buf.append('\n'); appendIndent(buf, 2); buf.append("With \"property=value\" set property to that value."); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/829999bd5d0b66b826a808b7c58358f398b081b5/CmdRunner.java/clean/src/main/mondrian/tui/CmdRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 714, 694, 12, 780, 1892, 1681, 13, 288, 3639, 714, 7790, 12, 4385, 16, 404, 1769, 3639, 1681, 18, 6923, 2932, 542, 306, 1272, 63, 33, 1132, 308, 308, 411, 3353, 2984, 1769, 3639, 1681, 18, 6923, 2668, 64, 82, 8284, 3639, 714, 7790, 12, 4385, 16, 576, 1769, 3639, 1681, 18, 6923, 2932, 1190, 1158, 833, 16, 14971, 777, 312, 1434, 566, 304, 1790, 471, 924, 1199, 1769, 3639, 1681, 18, 6923, 2668, 64, 82, 8284, 3639, 714, 7790, 12, 4385, 16, 576, 1769, 3639, 1681, 18, 6923, 2932, 1190, 1239, 4468, 2412, 14971, 1272, 1807, 460, 1199, 1769, 3639, 1681, 18, 6923, 2668, 64, 82, 8284, 3639, 714, 7790, 12, 4385, 16, 576, 1769, 3639, 1681, 18, 6923, 2932, 1190, 1239, 454, 2412, 14971, 777, 1790, 11, 924, 1199, 1769, 3639, 1681, 18, 6923, 2668, 64, 82, 8284, 3639, 714, 7790, 12, 4385, 16, 576, 1769, 3639, 1681, 18, 6923, 2932, 1190, 1239, 4468, 33, 1132, 2412, 444, 1272, 358, 716, 460, 1199, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 714, 694, 12, 780, 1892, 1681, 13, 288, 3639, 714, 7790, 12, 4385, 16, 404, 1769, 3639, 1681, 18, 6923, 2932, 542, 306, 1272, 63, 33, 1132, 308, 308, 411, 3353, 2984, 1769, 3639, 1681, 18, 6923, 2668, 64, 82, 8284, 3639, 714, 7790, 12, 4385, 16, 576, 1769, 3639, 1681, 18, 6923, 2932, 1190, 1158, 833, 16, 14971, 777, 312, 1434, 566, 304, 1790, 471, 924, 1199, 1769, 3639, 1681, 18, 6923, 2668, 64, 82, 8284, 3639, 714, 7790, 12, 4385, 16, 576, 1769, 3639, 1681, 18, 6923, 2932, 1190, 1239, 4468, 2412, 14971, 1272, 1807, 460, 1199, 1769, 3639, 1681, 18, 6923, 2668, 64, 82, 8284, 3639, 714, 7790, 12, 4385, 16, 576, 2 ]
public boolean completedHandshake(long thisBootID, byte[] data, int offset, int length, BlockCipher encCipher, byte[] encKey, Peer replyTo, boolean unverified) { long now = System.currentTimeMillis(); arkFetcher.stop(); synchronized(this) { completedHandshake = true; handshakeCount = 0; bogusNoderef = false; isConnected = true; } try { // First, the new noderef processNewNoderef(data, offset, length); } catch (FSParseException e1) { synchronized(this) { bogusNoderef = true; } Logger.error(this, "Failed to parse new noderef for "+this+": "+e1, e1); // Treat as invalid version } synchronized(this) { isRoutable = true; } if(reverseInvalidVersion()) { try { node.setNewestPeerLastGoodVersion(Version.getArbitraryBuildNumber(getLastGoodVersion())); } catch (NumberFormatException e) { // ignore } Logger.normal(this, "Not connecting to "+this+" - reverse invalid version "+Version.getVersionString()+" for peer's lastGoodversion: "+getLastGoodVersion()); synchronized(this) { verifiedIncompatibleNewerVersion = true; isRoutable = false; } node.peers.disconnected(this); } else { synchronized(this) { verifiedIncompatibleNewerVersion = false; } } if(invalidVersion()) { Logger.normal(this, "Not connecting to "+this+" - invalid version "+getVersion()); synchronized(this) { verifiedIncompatibleOlderVersion = true; isRoutable = false; } node.peers.disconnected(this); } else { synchronized(this) { verifiedIncompatibleOlderVersion = false; } } setPeerNodeStatus(now); KeyTracker newTracker = new KeyTracker(this, encCipher, encKey); changedIP(replyTo); boolean bootIDChanged = false; synchronized(this) { bootIDChanged = (thisBootID != this.bootID); this.bootID = thisBootID; } if(bootIDChanged) { synchronized(this) { connectedTime = now; Logger.minor(this, "Changed boot ID from "+bootID+" to "+thisBootID+" for "+getPeer()); } boolean previousTrackerIsNull = true; synchronized(this) { previousTrackerIsNull = (previousTracker == null); } if(!previousTrackerIsNull) { KeyTracker old = null; synchronized(this) { old = previousTracker; previousTracker = null; } old.completelyDeprecated(newTracker); } synchronized(this) { previousTracker = null; } boolean currentTrackerIsNull = true; synchronized(this) { currentTrackerIsNull = (currentTracker == null); } if(!currentTrackerIsNull) { KeyTracker old = null; synchronized(this) { old = currentTracker; currentTracker = null; } old.completelyDeprecated(newTracker); } node.lm.lostOrRestartedNode(this); } // else it's a rekey if(unverified) { synchronized(this) { unverifiedTracker = newTracker; ctx = null; } Logger.minor(this, "sentHandshake() being called for unverifiedTracker: "+getPeer()); sentHandshake(); } else { synchronized(this) { previousTracker = currentTracker; currentTracker = newTracker; unverifiedTracker = null; } boolean previousTrackerIsNull = true; synchronized(this) { previousTrackerIsNull = (previousTracker == null); } if(!previousTrackerIsNull) { KeyTracker localPreviousTracker = null; synchronized(this) { localPreviousTracker = previousTracker; } localPreviousTracker.deprecated(); } synchronized(this) { neverConnected = false; peerAddedTime = 0; // don't store anymore } setPeerNodeStatus(now); synchronized(this) { ctx = null; } } if(!isConnected()) node.peers.disconnected(this); synchronized(this) { Logger.normal(this, "Completed handshake with "+this+" on "+replyTo+" - current: "+currentTracker+" old: "+previousTracker+" unverified: "+unverifiedTracker+" bootID: "+thisBootID+" getName(): "+getName()); } try { receivedPacket(unverified); } catch (NotConnectedException e) { Logger.error(this, "Disconnected in completedHandshake with "+this); return true; // i suppose } if(isConnected()) { node.peers.addConnectedPeer(this); } synchronized(this) { sentInitialMessages = false; } return true; }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/9ea509d6b77109eb95d09ad3d429f5c67c98b90b/PeerNode.java/clean/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6494, 13615, 14545, 12, 9379, 658, 291, 15817, 734, 16, 7229, 8526, 892, 16, 474, 3348, 16, 474, 2469, 16, 1768, 13896, 1331, 13896, 16, 7229, 8526, 1331, 653, 16, 6813, 10629, 774, 16, 6494, 318, 19685, 15329, 202, 5748, 3338, 33, 3163, 18, 2972, 28512, 5621, 202, 1313, 16855, 18, 5681, 5621, 202, 22043, 12, 2211, 15329, 202, 202, 13615, 14545, 33, 3767, 31, 202, 202, 2349, 7478, 1380, 33, 20, 31, 202, 70, 28774, 50, 369, 822, 74, 33, 5743, 31, 1082, 202, 291, 8932, 33, 3767, 31, 97, 202, 202, 698, 95, 1082, 202, 759, 3759, 16, 15991, 359, 19888, 822, 74, 1082, 202, 2567, 1908, 50, 369, 822, 74, 12, 892, 16, 3348, 16, 2469, 1769, 202, 202, 97, 14683, 12, 4931, 13047, 73, 21, 15329, 1082, 202, 22043, 12, 2211, 15329, 9506, 202, 70, 28774, 50, 369, 822, 74, 33, 3767, 31, 1082, 202, 97, 1082, 202, 3328, 18, 1636, 12, 2211, 10837, 2925, 3669, 5913, 275, 359, 19888, 822, 1403, 280, 6, 15, 2211, 9078, 2773, 15, 73, 21, 16, 73, 21, 1769, 1082, 202, 759, 56, 6150, 345, 5387, 1589, 202, 202, 97, 202, 22043, 12, 2211, 15329, 202, 291, 4583, 429, 33, 3767, 31, 97, 202, 202, 430, 12, 9845, 1941, 1444, 10756, 95, 1082, 202, 698, 95, 9506, 202, 2159, 18, 542, 1908, 395, 6813, 3024, 18195, 1444, 12, 1444, 18, 588, 686, 3682, 3345, 3116, 1854, 12, 588, 3024, 18195, 1444, 1435, 10019, 1082, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6494, 13615, 14545, 12, 9379, 658, 291, 15817, 734, 16, 7229, 8526, 892, 16, 474, 3348, 16, 474, 2469, 16, 1768, 13896, 1331, 13896, 16, 7229, 8526, 1331, 653, 16, 6813, 10629, 774, 16, 6494, 318, 19685, 15329, 202, 5748, 3338, 33, 3163, 18, 2972, 28512, 5621, 202, 1313, 16855, 18, 5681, 5621, 202, 22043, 12, 2211, 15329, 202, 202, 13615, 14545, 33, 3767, 31, 202, 202, 2349, 7478, 1380, 33, 20, 31, 202, 70, 28774, 50, 369, 822, 74, 33, 5743, 31, 1082, 202, 291, 8932, 33, 3767, 31, 97, 202, 202, 698, 95, 1082, 202, 759, 3759, 16, 15991, 359, 19888, 822, 74, 1082, 202, 2567, 1908, 50, 369, 822, 74, 12, 892, 16, 3348, 16, 2 ]
private static String readLine(FSDataInputStream in) throws IOException { StringBuffer buffer = new StringBuffer();
public static long readLine(InputStream in, OutputStream out) throws IOException { long bytes = 0;
private static String readLine(FSDataInputStream in) throws IOException { StringBuffer buffer = new StringBuffer(); while (true) { int b = in.read(); if (b == -1) break; char c = (char)b; // bug: this assumes eight-bit characters. if (c == '\n') break; if (c == '\r') { long curPos = in.getPos(); char nextC = (char)in.read(); if (nextC != '\n') { in.seek(curPos); } break; } buffer.append(c); } return buffer.toString(); }
55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/48264173e88fdcd9b42c4d801117c3b7cb289242/TextInputFormat.java/clean/src/java/org/apache/hadoop/mapred/TextInputFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 514, 12273, 12, 4931, 751, 4348, 316, 13, 1216, 1860, 288, 565, 6674, 1613, 273, 394, 6674, 5621, 565, 1323, 261, 3767, 13, 288, 1377, 509, 324, 273, 316, 18, 896, 5621, 1377, 309, 261, 70, 422, 300, 21, 13, 3639, 898, 31, 1377, 1149, 276, 273, 261, 3001, 13, 70, 31, 2868, 368, 7934, 30, 333, 13041, 425, 750, 17, 3682, 3949, 18, 1377, 309, 261, 71, 422, 2337, 82, 6134, 3639, 898, 31, 2868, 309, 261, 71, 422, 2337, 86, 6134, 288, 9079, 1525, 662, 1616, 273, 316, 18, 588, 1616, 5621, 3639, 1149, 1024, 39, 273, 261, 3001, 13, 267, 18, 896, 5621, 3639, 309, 261, 4285, 39, 480, 2337, 82, 6134, 288, 1850, 316, 18, 16508, 12, 1397, 1616, 1769, 3639, 289, 3639, 898, 31, 1377, 289, 1377, 1613, 18, 6923, 12, 71, 1769, 565, 289, 3639, 327, 1613, 18, 10492, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 514, 12273, 12, 4931, 751, 4348, 316, 13, 1216, 1860, 288, 565, 6674, 1613, 273, 394, 6674, 5621, 565, 1323, 261, 3767, 13, 288, 1377, 509, 324, 273, 316, 18, 896, 5621, 1377, 309, 261, 70, 422, 300, 21, 13, 3639, 898, 31, 1377, 1149, 276, 273, 261, 3001, 13, 70, 31, 2868, 368, 7934, 30, 333, 13041, 425, 750, 17, 3682, 3949, 18, 1377, 309, 261, 71, 422, 2337, 82, 6134, 3639, 898, 31, 2868, 309, 261, 71, 422, 2337, 86, 6134, 288, 9079, 1525, 662, 1616, 273, 316, 18, 588, 1616, 5621, 3639, 1149, 1024, 39, 273, 261, 3001, 13, 267, 18, 896, 5621, 3639, 309, 261, 4285, 39, 480, 2337, 82, 6134, 288, 2 ]
view.getSaveButton().setEnabled(isName);
view.getSaveButton().setEnabled(true);
public void insertUpdate(DocumentEvent e) { view.getSaveButton().setEnabled(isName); }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5d253e1d8b8b563bd79074b962fe0a01fca0a091/CategoryEditorManager.java/clean/SRC/org/openmicroscopy/shoola/agents/datamng/editors/category/CategoryEditorManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2243, 1891, 12, 2519, 1133, 425, 13, 202, 95, 202, 202, 1945, 18, 588, 4755, 3616, 7675, 542, 1526, 12, 291, 461, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2243, 1891, 12, 2519, 1133, 425, 13, 202, 95, 202, 202, 1945, 18, 588, 4755, 3616, 7675, 542, 1526, 12, 291, 461, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
updateBuildActions(autoBuild);
updateBuildActions();
public void run() { updateBuildActions(autoBuild); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/cf6dbe88c16d566306439f0a3a20accff5b1cafb/WorkbenchActionBuilder.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 11794, 1071, 918, 1086, 1435, 288, 27573, 1089, 3116, 6100, 5621, 18701, 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 ]
[ 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, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 11794, 1071, 918, 1086, 1435, 288, 27573, 1089, 3116, 6100, 5621, 18701, 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 ]
URL confURL = null; if (confFile.indexOf(":") > 0) { confURL = new URL(confFile); } else { confURL = new File(confFile).toURL(); }
if (mainLogger.isLoggable(Level.INFO)) mainLogger.info("ADDING MARTREGISTRY FOR " + confFile ); URL confURL = InputSourceUtil.getURLForString(confFile);
public void addMartRegistry(String confFile) throws ConfigurationException, MalformedURLException { URL confURL = null; if (confFile.indexOf(":") > 0) { //URL confURL = new URL(confFile); } else { //File confURL = new File(confFile).toURL(); } if (confURL == null) throw new ConfigurationException("Could not parse " + confFile + " into a URL\n"); RegistryDSViewAdaptor adaptor = new RegistryDSViewAdaptor(confURL); adaptorManager.add(adaptor); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/364cd4dccf149e64fd52fecaef1fb50bf7510c21/MartShell.java/buggy/src/java/org/ensembl/mart/shell/MartShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 49, 485, 4243, 12, 780, 2195, 812, 13, 1216, 22196, 16, 20710, 288, 202, 202, 1785, 2195, 1785, 273, 446, 31, 202, 202, 430, 261, 3923, 812, 18, 31806, 2932, 2773, 13, 405, 374, 13, 288, 1082, 202, 759, 1785, 1082, 202, 3923, 1785, 273, 394, 1976, 12, 3923, 812, 1769, 202, 202, 97, 469, 288, 1082, 202, 759, 812, 1082, 202, 3923, 1785, 273, 394, 1387, 12, 3923, 812, 2934, 869, 1785, 5621, 202, 202, 97, 202, 202, 430, 261, 3923, 1785, 422, 446, 13, 1082, 202, 12849, 394, 22196, 2932, 4445, 486, 1109, 315, 397, 2195, 812, 397, 315, 1368, 279, 1976, 64, 82, 8863, 202, 202, 4243, 3948, 1767, 29888, 9087, 273, 394, 5438, 3948, 1767, 29888, 12, 3923, 1785, 1769, 202, 202, 19195, 280, 1318, 18, 1289, 12, 19195, 280, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 482, 918, 527, 49, 485, 4243, 12, 780, 2195, 812, 13, 1216, 22196, 16, 20710, 288, 202, 202, 1785, 2195, 1785, 273, 446, 31, 202, 202, 430, 261, 3923, 812, 18, 31806, 2932, 2773, 13, 405, 374, 13, 288, 1082, 202, 759, 1785, 1082, 202, 3923, 1785, 273, 394, 1976, 12, 3923, 812, 1769, 202, 202, 97, 469, 288, 1082, 202, 759, 812, 1082, 202, 3923, 1785, 273, 394, 1387, 12, 3923, 812, 2934, 869, 1785, 5621, 202, 202, 97, 202, 202, 430, 261, 3923, 1785, 422, 446, 13, 1082, 202, 12849, 394, 22196, 2932, 4445, 486, 1109, 315, 397, 2195, 812, 397, 315, 1368, 279, 1976, 64, 82, 8863, 202, 202, 4243, 3948, 1767, 29888, 9087, 2 ]
protected ClassNode classDeclaration(String packageName, CSTNode classRoot) throws ParserException { int modifiers = modifiers(classRoot.getChild(0));
protected ClassNode classDeclaration( ClassNode context, CSTNode reduction ) throws ParserException {
protected ClassNode classDeclaration(String packageName, CSTNode classRoot) throws ParserException { int modifiers = modifiers(classRoot.getChild(0)); String className = identifier(classRoot.getChild(1)); String superClassName = "java.lang.Object"; if (matches(classRoot.getChild(2), Token.KEYWORD_EXTENDS)) { superClassName = resolvedQualifiedNameNotNull(classRoot.getChild(2).getChild(0)); } else { superClassName = "java.lang.Object"; } String[] interfaceNames = EMPTY_STRING_ARRAY; if (matches(classRoot.getChild(3), Token.KEYWORD_IMPLEMENTS)) { interfaceNames = resolvedQualifiedNames(classRoot.getChild(3).getChildren()); } /** @todo parser * do we think the parser can iterate through the * interface names and find any MixinNodes avaiilable * and pass those into the AST? * * Maybe loading the class for the interface name and then * we could check if it extends the groovy.lang.Mixin * interface */ MixinNode[] mixinNames = MixinNode.EMPTY_ARRAY; String fqClassName = null; if (packageName == null || packageName.trim().equals("")) { fqClassName = className; } else { fqClassName = packageName.trim() + "." + className; } ClassNode classNode = new ClassNode(fqClassName, modifiers, superClassName, interfaceNames, mixinNames); classNode.setCSTNode(classRoot.getChild(1)); CSTNode[] bodyRoots = classRoot.getChild(4).getChildren(); for (int i = 0; i < bodyRoots.length; ++i) { if (matches(bodyRoots[i], Token.KEYWORD_PROPERTY)) { addPropertyDeclaration(classNode, bodyRoots[i]); } } for (int i = 0; i < bodyRoots.length; ++i) { if (matches(bodyRoots[i], Token.SYNTH_METHOD)) { methodDeclaration(classNode, bodyRoots[i]); } } return classNode; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/64e65829fa69dec52d9653087f9d6e65e59b9028/ASTBuilder.java/clean/src/main/org/codehaus/groovy/syntax/parser/ASTBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 19769, 667, 6094, 12, 780, 9929, 16, 385, 882, 907, 667, 2375, 13, 1216, 27990, 288, 3639, 509, 10429, 273, 10429, 12, 1106, 2375, 18, 588, 1763, 12, 20, 10019, 3639, 514, 2658, 273, 2756, 12, 1106, 2375, 18, 588, 1763, 12, 21, 10019, 3639, 514, 2240, 3834, 273, 315, 6290, 18, 4936, 18, 921, 14432, 3639, 309, 261, 8436, 12, 1106, 2375, 18, 588, 1763, 12, 22, 3631, 3155, 18, 28813, 67, 4142, 1157, 3948, 3719, 288, 5411, 2240, 3834, 273, 4640, 12345, 5962, 12, 1106, 2375, 18, 588, 1763, 12, 22, 2934, 588, 1763, 12, 20, 10019, 3639, 289, 3639, 469, 288, 5411, 2240, 3834, 273, 315, 6290, 18, 4936, 18, 921, 14432, 3639, 289, 3639, 514, 8526, 1560, 1557, 273, 8984, 67, 5804, 67, 8552, 31, 3639, 309, 261, 8436, 12, 1106, 2375, 18, 588, 1763, 12, 23, 3631, 3155, 18, 28813, 67, 9883, 7618, 55, 3719, 288, 5411, 1560, 1557, 273, 4640, 8708, 1557, 12, 1106, 2375, 18, 588, 1763, 12, 23, 2934, 588, 4212, 10663, 3639, 289, 3639, 1783, 632, 9012, 2082, 540, 380, 741, 732, 15507, 326, 2082, 848, 7401, 3059, 326, 540, 380, 1560, 1257, 471, 1104, 1281, 490, 10131, 3205, 1712, 10658, 330, 429, 540, 380, 471, 1342, 5348, 1368, 326, 9183, 35, 540, 380, 540, 380, 14024, 7153, 326, 667, 364, 326, 1560, 508, 471, 1508, 540, 380, 732, 3377, 866, 309, 518, 3231, 326, 24955, 18, 4936, 18, 14439, 540, 380, 1560, 540, 1195, 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, 4750, 19769, 667, 6094, 12, 780, 9929, 16, 385, 882, 907, 667, 2375, 13, 1216, 27990, 288, 3639, 509, 10429, 273, 10429, 12, 1106, 2375, 18, 588, 1763, 12, 20, 10019, 3639, 514, 2658, 273, 2756, 12, 1106, 2375, 18, 588, 1763, 12, 21, 10019, 3639, 514, 2240, 3834, 273, 315, 6290, 18, 4936, 18, 921, 14432, 3639, 309, 261, 8436, 12, 1106, 2375, 18, 588, 1763, 12, 22, 3631, 3155, 18, 28813, 67, 4142, 1157, 3948, 3719, 288, 5411, 2240, 3834, 273, 4640, 12345, 5962, 12, 1106, 2375, 18, 588, 1763, 12, 22, 2934, 588, 1763, 12, 20, 10019, 3639, 289, 3639, 469, 288, 5411, 2240, 3834, 273, 315, 6290, 18, 4936, 18, 921, 14432, 3639, 289, 2 ]
null, "setTitle");
null, "setTitleExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[9]; try { result[0] = new PropertyDescriptor("alt", ELHiddenTag.class, null, "setAlt"); result[1] = new PropertyDescriptor("altKey", ELHiddenTag.class, null, "setAltKey"); // This attribute has a non-standard mapping. result[2] = new PropertyDescriptor("indexed", ELHiddenTag.class, null, "setIndexedExpr"); result[3] = new PropertyDescriptor("name", ELHiddenTag.class, null, "setName"); result[4] = new PropertyDescriptor("property", ELHiddenTag.class, null, "setProperty"); result[5] = new PropertyDescriptor("title", ELHiddenTag.class, null, "setTitle"); result[6] = new PropertyDescriptor("titleKey", ELHiddenTag.class, null, "setTitleKey"); result[7] = new PropertyDescriptor("value", ELHiddenTag.class, null, "setValue"); // This attribute has a non-standard mapping. result[8] = new PropertyDescriptor("write", ELHiddenTag.class, null, "setWriteExpr"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/2dbb705eab3659c5c2ceb6398f2eec56e1f6994d/ELHiddenTagBeanInfo.java/clean/struts-el/src/share/org/apache/strutsel/taglib/html/ELHiddenTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 29, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 2390, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 2390, 653, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 653, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 19626, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15034, 4742, 8863, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 529, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 461, 8863, 5411, 563, 63, 24, 65, 273, 394, 26761, 2932, 4468, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1396, 8863, 5411, 563, 63, 25, 65, 273, 394, 26761, 2932, 2649, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 4247, 4742, 8863, 5411, 563, 63, 26, 65, 273, 394, 26761, 2932, 2649, 653, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 4247, 653, 8863, 5411, 563, 63, 27, 65, 273, 394, 26761, 2932, 1132, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 620, 8863, 5411, 368, 1220, 1566, 711, 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, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 29, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 2390, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 2390, 653, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 653, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 19626, 3113, 14801, 9345, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 15034, 4742, 8863, 5411, 563, 63, 23, 65, 2 ]
public DataflowAnalysis<Fact> getAnalysis() { return analysis; }
public AnalysisType getAnalysis() { return analysis; }
public DataflowAnalysis<Fact> getAnalysis() { return analysis; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/bde26a7bc832c82feca11808478dc25e6983ada6/Dataflow.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/Dataflow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1910, 2426, 9418, 32, 9766, 34, 336, 9418, 1435, 288, 327, 6285, 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, 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, 225, 202, 482, 1910, 2426, 9418, 32, 9766, 34, 336, 9418, 1435, 288, 327, 6285, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (char c = support.read();; c = support.read()) { switch (c) { case 'i' : options |= ReOptions.RE_OPTION_IGNORECASE; continue; case 'x' : options |= ReOptions.RE_OPTION_EXTENDED; continue; case 'p' : errorHandler.handleError(IErrors.WARN, position, Messages.getString("opsolete_slash_p_option")); options |= ReOptions.RE_OPTION_POSIXLINE; continue; case 'm' : options |= ReOptions.RE_OPTION_MULTILINE; continue; case 'o' : once = true; break; case 'n' : kcode = 16; continue; case 'e' : kcode = 32; continue; case 's' : kcode = 48; continue; case 'u' : kcode = 64; continue; default : support.unread(); } break; }
for (char c = support.read();; c = support.read()) { switch (c) { case 'i' : options |= ReOptions.RE_OPTION_IGNORECASE; continue; case 'x' : options |= ReOptions.RE_OPTION_EXTENDED; continue; case 'p' : errorHandler.handleError(IErrors.WARN, position, Messages.getString("opsolete_slash_p_option")); options |= ReOptions.RE_OPTION_POSIXLINE; continue; case 'm' : options |= ReOptions.RE_OPTION_MULTILINE; continue; case 'o' : once = true; break; case 'n' : kcode = 16; continue; case 'e' : kcode = 32; continue; case 's' : kcode = 48; continue; case 'u' : kcode = 64; continue; default : support.unread(); } break; }
private int parseRegexp(char closeQuote, char openQuote) { ISourcePosition position = support.getPosition(); DRegexpNode list = new DRegexpNode(position); StringToken token = new StringToken(support, errorHandler, position); int nest = 0; boolean lDyn = false; for (char c = support.read(); c != '\0' && (c != closeQuote || nest != 0); c = support.read()) { switch (c) { case '#' : try { lDyn = parseExpressionString(list, closeQuote, token) || lDyn; } catch (EOFException e) { errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_regexp")); //$NON-NLS-1$ return 0; } continue; case '\\' : try { token.appendEscape(closeQuote); } catch (EOFException e) { return 0; } continue; case '\0' : errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_regexp")); //$NON-NLS-1$ return 0; default : if (openQuote != '\0') { if (c == openQuote) { nest++; } else if (c == closeQuote) { nest--; } } } token.append(c); } int options = 0; boolean once = false; byte kcode = 0; for (char c = support.read();; c = support.read()) { switch (c) { case 'i' : options |= ReOptions.RE_OPTION_IGNORECASE; continue; case 'x' : options |= ReOptions.RE_OPTION_EXTENDED; continue; case 'p' : // /p is obsolete errorHandler.handleError(IErrors.WARN, position, Messages.getString("opsolete_slash_p_option")); //$NON-NLS-1$ options |= ReOptions.RE_OPTION_POSIXLINE; continue; case 'm' : options |= ReOptions.RE_OPTION_MULTILINE; continue; case 'o' : once = true; break; case 'n' : kcode = 16; continue; case 'e' : kcode = 32; continue; case 's' : kcode = 48; continue; case 'u' : kcode = 64; continue; default : support.unread(); } break; } lexState = LexState.EXPR_END; if(lDyn) { if (token.getLength() > 0) { list.add(new StrNode(token.getPosition(), token.getToken())); } list.setOptions(options | kcode); list.setOnce(once); yaccValue = list; return Token.tDREGEXP; } //Benoit: this is not needed, I think that if we arrive here //(if the string is not dynamic) there is only one element in the list //and it is the content of token /* StringBuffer buffer = new StringBuffer(); Iterator iter = list.iterator(); while (iter.hasNext()) { Object next = iter.next(); if (next instanceof StrNode) { buffer.append(((StrNode) next).getValue()); } else { list.setOptions(options | kcode); list.setOnce(once); yaccValue = list; return Token.tDREGEXP; } } yaccValue = new RegexpNode(position, buffer.toString(), options | kcode); */ yaccValue = new RegexpNode(position, token.getToken(), options | kcode); return Token.tREGEXP; }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1109, 14621, 12, 3001, 1746, 10257, 16, 1149, 1696, 10257, 13, 288, 202, 202, 45, 1830, 2555, 1754, 273, 2865, 18, 588, 2555, 5621, 202, 202, 40, 14621, 907, 666, 273, 394, 463, 14621, 907, 12, 3276, 1769, 202, 202, 780, 1345, 1147, 273, 394, 514, 1345, 12, 13261, 16, 17227, 16, 1754, 1769, 202, 202, 474, 15095, 273, 374, 31, 202, 202, 6494, 328, 10419, 273, 629, 31, 202, 202, 1884, 261, 3001, 276, 273, 2865, 18, 896, 5621, 276, 480, 2337, 20, 11, 597, 261, 71, 480, 1746, 10257, 747, 15095, 480, 374, 1769, 276, 273, 2865, 18, 896, 10756, 288, 1082, 202, 9610, 261, 71, 13, 288, 9506, 202, 3593, 6501, 294, 6862, 202, 698, 288, 25083, 202, 80, 10419, 273, 30838, 780, 12, 1098, 16, 1746, 10257, 16, 1147, 13, 747, 328, 10419, 31, 6862, 202, 97, 1044, 261, 12706, 503, 425, 13, 288, 25083, 202, 1636, 1503, 18, 4110, 668, 12, 45, 4229, 18, 31075, 900, 67, 3589, 16, 1754, 16, 4838, 18, 588, 780, 2932, 318, 29133, 67, 17745, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2463, 374, 31, 6862, 202, 97, 6862, 202, 17143, 31, 9506, 202, 3593, 5282, 294, 6862, 202, 698, 288, 25083, 202, 2316, 18, 6923, 8448, 12, 4412, 10257, 1769, 6862, 202, 97, 1044, 261, 12706, 503, 425, 13, 288, 25083, 202, 2463, 374, 31, 6862, 202, 97, 6862, 202, 17143, 31, 9506, 202, 3593, 2337, 20, 11, 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, 509, 1109, 14621, 12, 3001, 1746, 10257, 16, 1149, 1696, 10257, 13, 288, 202, 202, 45, 1830, 2555, 1754, 273, 2865, 18, 588, 2555, 5621, 202, 202, 40, 14621, 907, 666, 273, 394, 463, 14621, 907, 12, 3276, 1769, 202, 202, 780, 1345, 1147, 273, 394, 514, 1345, 12, 13261, 16, 17227, 16, 1754, 1769, 202, 202, 474, 15095, 273, 374, 31, 202, 202, 6494, 328, 10419, 273, 629, 31, 202, 202, 1884, 261, 3001, 276, 273, 2865, 18, 896, 5621, 276, 480, 2337, 20, 11, 597, 261, 71, 480, 1746, 10257, 747, 15095, 480, 374, 1769, 276, 273, 2865, 18, 896, 10756, 288, 1082, 202, 9610, 261, 71, 13, 288, 9506, 202, 3593, 6501, 294, 2 ]
if (p.getNumeric().getValue() <= 0) { int columnIndex = parent.getCurrentColumnIndex();
if (columnIndex <= 0) {
public Property get(int subpropId, PropertyList propertyList, boolean tryInherit, boolean tryDefault) throws PropertyException { Property p = super.get(0, propertyList, tryInherit, tryDefault); FObj fo = propertyList.getFObj(); TableFObj parent = (TableFObj) propertyList.getParentFObj(); if (p.getNumeric().getValue() <= 0) { int columnIndex = parent.getCurrentColumnIndex(); fo.getLogger().warn("Specified negative or zero value for " + "column-number on " + fo.getName() + ": " + p.getNumeric().getValue() + " forced to " + columnIndex); return new NumberProperty(columnIndex); } //TODO: check for non-integer value and round //if column-number was explicitly specified, force the parent's current //column index to the specified value, so that the updated index will //be the correct initial value for the next cell (see Rec 7.26.8) if (propertyList.getExplicit(Constants.PR_COLUMN_NUMBER) != null) { parent.setCurrentColumnIndex(p.getNumeric().getValue()); } return p; }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/fdd79240dc04e01c6f1977b6a80a84e85ac28354/ColumnNumberPropertyMaker.java/buggy/src/java/org/apache/fop/fo/properties/ColumnNumberPropertyMaker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4276, 336, 12, 474, 720, 5986, 548, 16, 4276, 682, 1272, 682, 16, 13491, 1250, 775, 14216, 16, 1250, 775, 1868, 13, 2398, 1216, 4276, 503, 288, 7734, 4276, 293, 273, 2240, 18, 588, 12, 20, 16, 1272, 682, 16, 775, 14216, 16, 775, 1868, 1769, 3639, 478, 2675, 18261, 273, 1272, 682, 18, 588, 42, 2675, 5621, 3639, 3555, 42, 2675, 982, 273, 261, 1388, 42, 2675, 13, 1272, 682, 18, 588, 3054, 42, 2675, 5621, 7734, 309, 261, 84, 18, 588, 9902, 7675, 24805, 1435, 1648, 374, 13, 288, 5411, 509, 14882, 273, 982, 18, 588, 3935, 21689, 5621, 5411, 18261, 18, 588, 3328, 7675, 8935, 2932, 17068, 6092, 578, 3634, 460, 364, 315, 10792, 397, 315, 2827, 17, 2696, 603, 315, 397, 18261, 18, 17994, 1435, 397, 6398, 315, 10792, 397, 293, 18, 588, 9902, 7675, 24805, 1435, 397, 315, 13852, 358, 315, 5397, 397, 14882, 1769, 5411, 327, 394, 3588, 1396, 12, 2827, 1016, 1769, 3639, 289, 3639, 368, 6241, 30, 866, 364, 1661, 17, 7745, 460, 471, 3643, 7734, 368, 430, 1057, 17, 2696, 1703, 8122, 1269, 16, 2944, 326, 982, 1807, 783, 3639, 368, 2827, 770, 358, 326, 1269, 460, 16, 1427, 716, 326, 3526, 770, 903, 3639, 368, 2196, 326, 3434, 2172, 460, 364, 326, 1024, 2484, 261, 5946, 7776, 2371, 18, 5558, 18, 28, 13, 3639, 309, 261, 4468, 682, 18, 588, 17186, 12, 2918, 18, 8025, 67, 11009, 67, 9931, 13, 480, 446, 13, 288, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4276, 336, 12, 474, 720, 5986, 548, 16, 4276, 682, 1272, 682, 16, 13491, 1250, 775, 14216, 16, 1250, 775, 1868, 13, 2398, 1216, 4276, 503, 288, 7734, 4276, 293, 273, 2240, 18, 588, 12, 20, 16, 1272, 682, 16, 775, 14216, 16, 775, 1868, 1769, 3639, 478, 2675, 18261, 273, 1272, 682, 18, 588, 42, 2675, 5621, 3639, 3555, 42, 2675, 982, 273, 261, 1388, 42, 2675, 13, 1272, 682, 18, 588, 3054, 42, 2675, 5621, 7734, 309, 261, 84, 18, 588, 9902, 7675, 24805, 1435, 1648, 374, 13, 288, 5411, 509, 14882, 273, 982, 18, 588, 3935, 21689, 5621, 5411, 18261, 18, 588, 3328, 7675, 8935, 2932, 17068, 6092, 578, 3634, 460, 364, 315, 10792, 2 ]
if (OpenCms.getLog(this).isInfoEnabled()) { OpenCms.getLog(this).info(exc); }
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request) { // fill the parameter values in the get/set methods fillParamValues(request); // set the dialog type setParamDialogtype(EDITOR_TYPE); // Initialize a page object from the temporary file if (getParamTempfile() != null && !"null".equals(getParamTempfile())) { try { m_file = getCms().readFile(this.getParamTempfile(), CmsResourceFilter.ALL); m_page = CmsXmlPage.unmarshal(getCms(), m_file); } catch (CmsException e) { // error during initialization try { showErrorPage(this, e, "read"); } catch (JspException exc) { // ignore this exception } } } // set the action for the JSP switch if (EDITOR_SAVE.equals(getParamAction())) { setAction(ACTION_SAVE); } else if (EDITOR_SAVEEXIT.equals(getParamAction())) { setAction(ACTION_SAVEEXIT); } else if (EDITOR_SAVEACTION.equals(getParamAction())) { setAction(ACTION_SAVEACTION); try { actionDirectEdit(); } catch (Exception e) { // ignore this exception } } else if (EDITOR_EXIT.equals(getParamAction())) { setAction(ACTION_EXIT); } else if (EDITOR_CHANGE_ELEMENT.equals(getParamAction())) { setAction(ACTION_SHOW); actionChangeBodyElement(); } else if (EDITOR_SHOW.equals(getParamAction())) { setAction(ACTION_SHOW); } else if (EDITOR_PREVIEW.equals(getParamAction())) { setAction(ACTION_PREVIEW); } else { // initial call of editor, initialize page and page parameters setAction(ACTION_DEFAULT); try { // lock resource if autolock is enabled in configuration if ("true".equals(getParamDirectedit())) { // set a temporary lock in direct edit mode checkLock(getParamResource(), CmsLock.C_MODE_TEMP); } else { // set common lock checkLock(getParamResource()); } // create the temporary file setParamTempfile(createTempFile()); // initialize a page object from the created temporary file m_file = getCms().readFile(this.getParamTempfile(), CmsResourceFilter.ALL); m_page = CmsXmlPage.unmarshal(getCms(), m_file); } catch (CmsException e) { // error during initialization try { showErrorPage(this, e, "read"); } catch (JspException exc) { // ignore this exception } } // set the initial body language & name if not given in request parameters if (getParamElementlanguage() == null) { initBodyElementLanguage(); } if (getParamElementname() == null) { initBodyElementName(null); } // initialize the editor content initContent(); } // prepare the content String for the editor prepareContent(false); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/c6379369f45ccca2476b93d19fe4066df46f1eed/CmsSimplePageEditor.java/buggy/src/org/opencms/workplace/editor/CmsSimplePageEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 225, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 225, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 225, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 4750, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 918, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 1208, 16514, 691, 1972, 12, 4747, 16514, 2628, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 1947, 16, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 9984, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 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, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 225, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 225, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 225, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 291, 966, 1526, 10756, 288, 10319, 18, 588, 1343, 12, 2211, 2934, 1376, 12, 10075, 1769, 289, 4750, 309, 261, 3678, 4747, 18, 588, 2 ]
public int hashCode() {
public int hashCode() {
public int hashCode() { return super.hashCode(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e3f7218be7244f0de74b2230a33469c2bf32546b/Inet6Address.java/buggy/core/src/classpath/java/java/net/Inet6Address.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 13374, 1435, 288, 202, 202, 2463, 2240, 18, 2816, 1085, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 509, 13374, 1435, 288, 202, 202, 2463, 2240, 18, 2816, 1085, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super.doTearDown(); getDecoratorManager().removeListener(this); }
super.doTearDown(); getDecoratorManager().removeListener(this); }
protected void doTearDown() throws Exception { super.doTearDown(); getDecoratorManager().removeListener(this); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7946b6460d44217ceadf6c1b4e0462e195d53d80/DecoratorTestCase.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/decorators/DecoratorTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 56, 2091, 4164, 1435, 1216, 1185, 288, 3639, 2240, 18, 2896, 56, 2091, 4164, 5621, 3639, 336, 10361, 1318, 7675, 4479, 2223, 12, 2211, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 56, 2091, 4164, 1435, 1216, 1185, 288, 3639, 2240, 18, 2896, 56, 2091, 4164, 5621, 3639, 336, 10361, 1318, 7675, 4479, 2223, 12, 2211, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.error("No UID: " + path); return false;
if (fallback) { log.warn("Fallback: " + path); return storage.delete(new UID(path.toString()), path); } else { log.error("No UID: " + path); return false; }
public boolean delete(Path path) { if(map.isCollection(path)) { log.warn("Node is a collection and hence cannot be deleted: " + path); return false; } UID uid = getUID(path); if (uid == null) { log.error("No UID: " + path); return false; } return map.delete(path) && storage.delete(uid, path); }
45870 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45870/5c6a28a9e0bc8c4cdad46fb04529fd0ba0a0c52c/Repository.java/buggy/src/core/java/org/wyona/yarep/core/Repository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1430, 12, 743, 589, 13, 288, 3639, 309, 12, 1458, 18, 291, 2532, 12, 803, 3719, 288, 5411, 613, 18, 8935, 2932, 907, 353, 279, 1849, 471, 20356, 2780, 506, 4282, 30, 315, 397, 589, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 10034, 4555, 273, 336, 3060, 12, 803, 1769, 3639, 309, 261, 1911, 422, 446, 13, 288, 5411, 613, 18, 1636, 2932, 2279, 10034, 30, 315, 397, 589, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 327, 852, 18, 3733, 12, 803, 13, 597, 2502, 18, 3733, 12, 1911, 16, 589, 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, 1250, 1430, 12, 743, 589, 13, 288, 3639, 309, 12, 1458, 18, 291, 2532, 12, 803, 3719, 288, 5411, 613, 18, 8935, 2932, 907, 353, 279, 1849, 471, 20356, 2780, 506, 4282, 30, 315, 397, 589, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 10034, 4555, 273, 336, 3060, 12, 803, 1769, 3639, 309, 261, 1911, 422, 446, 13, 288, 5411, 613, 18, 1636, 2932, 2279, 10034, 30, 315, 397, 589, 1769, 5411, 327, 629, 31, 3639, 289, 3639, 327, 852, 18, 3733, 12, 803, 13, 597, 2502, 18, 3733, 12, 1911, 16, 589, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TaskStatus status) {
TaskStatus status, JobTrackerMetrics metrics) {
public synchronized void updateTaskStatus(TaskInProgress tip, TaskStatus status) { double oldProgress = tip.getProgress(); // save old progress tip.updateStatus(status); // update tip LOG.debug("Taking progress for " + tip.getTIPId() + " from " + oldProgress + " to " + tip.getProgress()); // // Update JobInProgress status // double progressDelta = tip.getProgress() - oldProgress; if (tip.isMapTask()) { if (maps.length == 0) { this.status.setMapProgress(1.0f); } else { this.status.mapProgress += (progressDelta / maps.length); } } else { if (reduces.length == 0) { this.status.setReduceProgress(1.0f); } else { this.status.reduceProgress += (progressDelta / reduces.length); } } }
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/4189fcaa4fd604a9a0bde17e216d475a1329703d/JobInProgress.java/buggy/src/java/org/apache/hadoop/mapred/JobInProgress.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1089, 2174, 1482, 12, 2174, 13434, 9529, 16, 4766, 9079, 29628, 1267, 16, 3956, 8135, 5653, 4309, 13, 288, 540, 1645, 1592, 5491, 273, 9529, 18, 588, 5491, 5621, 282, 368, 1923, 1592, 4007, 3639, 9529, 18, 2725, 1482, 12, 2327, 1769, 1171, 368, 1089, 9529, 3639, 2018, 18, 4148, 2932, 56, 6159, 4007, 364, 315, 397, 9529, 18, 588, 56, 2579, 548, 1435, 397, 315, 628, 315, 397, 5375, 1592, 5491, 397, 315, 358, 315, 397, 9529, 18, 588, 5491, 10663, 3639, 368, 3639, 368, 2315, 3956, 13434, 1267, 3639, 368, 3639, 1645, 4007, 9242, 273, 9529, 18, 588, 5491, 1435, 300, 1592, 5491, 31, 3639, 309, 261, 14587, 18, 291, 863, 2174, 10756, 288, 1850, 309, 261, 10711, 18, 2469, 422, 374, 13, 288, 5411, 333, 18, 2327, 18, 542, 863, 5491, 12, 21, 18, 20, 74, 1769, 1850, 289, 469, 288, 5411, 333, 18, 2327, 18, 1458, 5491, 1011, 261, 8298, 9242, 342, 7565, 18, 2469, 1769, 1850, 289, 3639, 289, 469, 288, 1850, 309, 261, 1118, 89, 764, 18, 2469, 422, 374, 13, 288, 5411, 333, 18, 2327, 18, 542, 12944, 5491, 12, 21, 18, 20, 74, 1769, 1850, 289, 469, 288, 5411, 333, 18, 2327, 18, 12498, 5491, 1011, 261, 8298, 9242, 342, 30568, 18, 2469, 1769, 1850, 289, 3639, 289, 565, 289, 565, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1089, 2174, 1482, 12, 2174, 13434, 9529, 16, 4766, 9079, 29628, 1267, 16, 3956, 8135, 5653, 4309, 13, 288, 540, 1645, 1592, 5491, 273, 9529, 18, 588, 5491, 5621, 282, 368, 1923, 1592, 4007, 3639, 9529, 18, 2725, 1482, 12, 2327, 1769, 1171, 368, 1089, 9529, 3639, 2018, 18, 4148, 2932, 56, 6159, 4007, 364, 315, 397, 9529, 18, 588, 56, 2579, 548, 1435, 397, 315, 628, 315, 397, 5375, 1592, 5491, 397, 315, 358, 315, 397, 9529, 18, 588, 5491, 10663, 3639, 368, 3639, 368, 2315, 3956, 13434, 1267, 3639, 368, 3639, 1645, 4007, 9242, 273, 9529, 18, 588, 5491, 1435, 300, 1592, 5491, 31, 3639, 309, 261, 14587, 18, 291, 863, 2174, 10756, 2 ]
this.clientTransaction.myTimer = new LingerTimer(this.clientTransaction); sipStack.timer.schedule(myTimer,SIPTransactionStack.CONNECTION_LINGER_TIME*1000);
this.clientTransaction.myTimer = new LingerTimer( this.clientTransaction); sipStack.timer.schedule(myTimer, SIPTransactionStack.CONNECTION_LINGER_TIME * 1000);
public void run() { // If the transaction has terminated, if (clientTransaction.isTerminated()) { if (LogWriter.needsLogging) { sipStack.logWriter.logMessage( "removing = " + clientTransaction + " isReliable " + clientTransaction.isReliable() ); } sipStack.removeTransaction(clientTransaction); try { this.cancel(); } catch (IllegalStateException ex) { if ( ! this.sipStack.isAlive()) return; } // Client transaction terminated. Kill connection if // this is a TCP after the linger timer has expired. // The linger timer is needed to allow any pending requests to return responses. if ( ( ! this.sipStack.cacheClientConnections ) && clientTransaction.isReliable() && -- ((TCPMessageChannel) clientTransaction.encapsulatedChannel).useCount == 0 ) { // Let the connection linger for a while and then close it. this.clientTransaction.myTimer = new LingerTimer(this.clientTransaction); sipStack.timer.schedule(myTimer,SIPTransactionStack.CONNECTION_LINGER_TIME*1000); } else { // Cache the client connections so dont close the connection. if (LogWriter.needsLogging && clientTransaction.isReliable()) sipStack.logWriter.logMessage( "Client Use Count = " + ((TCPMessageChannel) clientTransaction.encapsulatedChannel).useCount); } // If this transaction has not // terminated, } else { // Fire the transaction timer. clientTransaction.fireTimer(); } }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/48d0f5aefaaec7a6c6f768504e4d3fcffcc8313f/SIPClientTransaction.java/clean/trunk/src/gov/nist/javax/sip/stack/SIPClientTransaction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 13491, 368, 971, 326, 2492, 711, 14127, 16, 5411, 309, 261, 2625, 3342, 18, 291, 21888, 10756, 288, 27573, 309, 261, 1343, 2289, 18, 20600, 7735, 13, 288, 10792, 10341, 2624, 18, 1330, 2289, 18, 1330, 1079, 12, 315, 2764, 13767, 225, 273, 315, 397, 1004, 3342, 397, 315, 353, 1971, 2214, 315, 397, 8227, 1004, 3342, 18, 291, 1971, 2214, 1435, 11272, 7734, 289, 7734, 10341, 2624, 18, 4479, 3342, 12, 2625, 3342, 1769, 4766, 565, 775, 288, 10792, 333, 18, 10996, 5621, 7734, 289, 1044, 261, 12195, 5060, 431, 13, 288, 10792, 309, 261, 401, 333, 18, 28477, 2624, 18, 291, 10608, 10756, 327, 31, 7734, 289, 4766, 7734, 368, 2445, 2492, 14127, 18, 20520, 1459, 309, 7734, 368, 333, 353, 279, 9911, 1839, 326, 328, 6658, 5441, 711, 7708, 18, 7734, 368, 1021, 328, 6658, 5441, 353, 3577, 358, 1699, 1281, 4634, 3285, 358, 327, 7220, 18, 7734, 309, 261, 225, 261, 401, 333, 18, 28477, 2624, 18, 2493, 1227, 9314, 262, 7734, 597, 1004, 3342, 18, 291, 1971, 2214, 1435, 7734, 597, 1493, 14015, 13891, 1079, 2909, 13, 1004, 3342, 18, 1331, 6679, 11799, 2909, 2934, 1202, 1380, 422, 374, 262, 288, 10792, 368, 10559, 326, 1459, 328, 6658, 364, 279, 1323, 471, 1508, 1746, 518, 18, 10792, 333, 18, 2625, 3342, 18, 4811, 6777, 273, 394, 511, 6658, 6777, 12, 2211, 18, 2625, 3342, 1769, 10792, 10341, 2624, 18, 12542, 18, 10676, 12, 4811, 6777, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 13491, 368, 971, 326, 2492, 711, 14127, 16, 5411, 309, 261, 2625, 3342, 18, 291, 21888, 10756, 288, 27573, 309, 261, 1343, 2289, 18, 20600, 7735, 13, 288, 10792, 10341, 2624, 18, 1330, 2289, 18, 1330, 1079, 12, 315, 2764, 13767, 225, 273, 315, 397, 1004, 3342, 397, 315, 353, 1971, 2214, 315, 397, 8227, 1004, 3342, 18, 291, 1971, 2214, 1435, 11272, 7734, 289, 7734, 10341, 2624, 18, 4479, 3342, 12, 2625, 3342, 1769, 4766, 565, 775, 288, 10792, 333, 18, 10996, 5621, 7734, 289, 1044, 261, 12195, 5060, 431, 13, 288, 10792, 309, 261, 401, 333, 18, 28477, 2624, 18, 291, 10608, 10756, 327, 31, 7734, 289, 4766, 7734, 368, 2445, 2 ]
addMouseListener(new MyMouseAdapter());
addMouseListener(new MyMouseAdapter()); addMouseMotionListener(new MyMouseMotionAdapter());
public CheckboxList(Object[] args) { super(args); setCellRenderer(new CheckboxListCellRenderer()); addMouseListener(new MyMouseAdapter()); }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/441bcb635eb5b023a3244fdb2122e067279f6a4a/PMDOptionPane.java/clean/pmd-jedit/PMDPlugin/src/net/sourceforge/pmd/jedit/PMDOptionPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 29213, 682, 12, 921, 8526, 833, 13, 288, 5411, 2240, 12, 1968, 1769, 5411, 444, 4020, 6747, 12, 2704, 29213, 682, 4020, 6747, 10663, 5411, 527, 9186, 2223, 12, 2704, 8005, 9186, 4216, 10663, 527, 9186, 29360, 2223, 12, 2704, 8005, 9186, 29360, 4216, 10663, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 29213, 682, 12, 921, 8526, 833, 13, 288, 5411, 2240, 12, 1968, 1769, 5411, 444, 4020, 6747, 12, 2704, 29213, 682, 4020, 6747, 10663, 5411, 527, 9186, 2223, 12, 2704, 8005, 9186, 4216, 10663, 527, 9186, 29360, 2223, 12, 2704, 8005, 9186, 29360, 4216, 10663, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return innerHandleProbeRequest(src, id, lid, target, best, nearest, htl, counter, true);
return innerHandleProbeRequest(src, id, lid, target, best, nearest, htl, counter, true, true);
private boolean handleProbeRequest(Message m, PeerNode src) { long id = m.getLong(DMT.UID); Long lid = new Long(id); double target = m.getDouble(DMT.TARGET_LOCATION); double best = m.getDouble(DMT.BEST_LOCATION); double nearest = m.getDouble(DMT.NEAREST_LOCATION); short htl = m.getShort(DMT.HTL); short counter = m.getShort(DMT.COUNTER); if(logMINOR) Logger.minor(this, "Probe request: "+id+" "+target+" "+best+" "+nearest+" "+htl+" "+counter); synchronized(recentProbeContexts) { if(recentProbeRequestIDs.contains(lid)) { // Reject: Loop Message reject = DMT.createFNPProbeRejected(id, target, nearest, best, counter, htl, DMT.PROBE_REJECTED_LOOP); try { src.sendAsync(reject, null, 0, null); } catch (NotConnectedException e) { Logger.error(this, "Not connected rejecting a Probe request from "+src); } return true; } else Logger.minor(this, "Probe request "+id+" not already present"); recentProbeRequestIDs.push(lid); while(recentProbeRequestIDs.size() > MAX_PROBE_IDS) { Object o = recentProbeRequestIDs.pop(); Logger.minor(this, "Probe request popped "+o); } } return innerHandleProbeRequest(src, id, lid, target, best, nearest, htl, counter, true); }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/121fda8de1ecefc4552e09f8024930befd711df9/NodeDispatcher.java/clean/src/freenet/node/NodeDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1640, 21042, 691, 12, 1079, 312, 16, 10669, 907, 1705, 13, 288, 202, 202, 5748, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 202, 202, 3708, 328, 350, 273, 394, 3407, 12, 350, 1769, 202, 202, 9056, 1018, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 16374, 67, 15277, 1769, 202, 202, 9056, 3796, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 5948, 882, 67, 15277, 1769, 202, 202, 9056, 11431, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 5407, 9332, 882, 67, 15277, 1769, 202, 202, 6620, 366, 6172, 273, 312, 18, 588, 4897, 12, 40, 6152, 18, 5062, 48, 1769, 202, 202, 6620, 3895, 273, 312, 18, 588, 4897, 12, 40, 6152, 18, 7240, 654, 1769, 202, 202, 430, 12, 1330, 6236, 916, 13, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 21042, 590, 30, 13773, 350, 9078, 13773, 3299, 9078, 13773, 12729, 9078, 13773, 25785, 9078, 13773, 647, 80, 9078, 13773, 7476, 1769, 202, 202, 22043, 12, 20872, 21042, 15518, 13, 288, 1082, 202, 430, 12, 20872, 21042, 691, 5103, 18, 12298, 12, 80, 350, 3719, 288, 9506, 202, 759, 20159, 30, 9720, 9506, 202, 1079, 4925, 273, 463, 6152, 18, 2640, 19793, 52, 21042, 19902, 12, 350, 16, 1018, 16, 11431, 16, 3796, 16, 3895, 16, 366, 6172, 16, 463, 6152, 18, 3373, 5948, 67, 862, 5304, 2056, 67, 28677, 1769, 9506, 202, 698, 288, 6862, 202, 4816, 18, 4661, 2771, 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, 1250, 1640, 21042, 691, 12, 1079, 312, 16, 10669, 907, 1705, 13, 288, 202, 202, 5748, 612, 273, 312, 18, 588, 3708, 12, 40, 6152, 18, 3060, 1769, 202, 202, 3708, 328, 350, 273, 394, 3407, 12, 350, 1769, 202, 202, 9056, 1018, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 16374, 67, 15277, 1769, 202, 202, 9056, 3796, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 5948, 882, 67, 15277, 1769, 202, 202, 9056, 11431, 273, 312, 18, 588, 5265, 12, 40, 6152, 18, 5407, 9332, 882, 67, 15277, 1769, 202, 202, 6620, 366, 6172, 273, 312, 18, 588, 4897, 12, 40, 6152, 18, 5062, 48, 1769, 202, 202, 6620, 3895, 273, 312, 2 ]
consume(Token.RIGHT_PARENTHESIS);
consume( Types.RIGHT_PARENTHESIS );
protected CSTNode ifStatement() throws ReadException, SyntaxException, ExceptionCollector { // // Process the if clause CSTNode statement = rootNode(Token.KEYWORD_IF); consume(Token.LEFT_PARENTHESIS); try { statement.addChild(expression()); } catch( SyntaxException e ) { collector.add( e ); recover( GENERAL_CLAUSE_TERMINATOR ); } consume(Token.RIGHT_PARENTHESIS); statement.addChild( statementBody(false) ); // // If the else clause is present: // if it is an else if, recurse // otherwise, build the else node directly. if( lt() == Token.KEYWORD_ELSE ) { if( lt(2) == Token.KEYWORD_IF ) { consume(Token.KEYWORD_ELSE); statement.addChild( ifStatement() ); } else { CSTNode last = rootNode(Token.KEYWORD_ELSE); statement.addChild( last ); last.addChild( statementBody(false) ); } } return statement; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/64e65829fa69dec52d9653087f9d6e65e59b9028/Parser.java/clean/src/main/org/codehaus/groovy/syntax/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 385, 882, 907, 309, 3406, 1435, 1216, 2720, 503, 16, 11517, 503, 16, 1185, 7134, 288, 3639, 368, 3639, 368, 4389, 326, 309, 6591, 3639, 385, 882, 907, 3021, 273, 10181, 12, 1345, 18, 28813, 67, 5501, 1769, 3639, 7865, 12, 1345, 18, 10066, 67, 14943, 3900, 15664, 1769, 3639, 775, 288, 5411, 3021, 18, 1289, 1763, 12, 8692, 10663, 3639, 289, 3639, 1044, 12, 11517, 503, 425, 262, 288, 5411, 8543, 18, 1289, 12, 425, 11272, 5411, 5910, 12, 13679, 1013, 67, 15961, 8001, 67, 29516, 3575, 11272, 3639, 289, 3639, 7865, 12, 7658, 18, 11847, 67, 14943, 3900, 15664, 11272, 3639, 3021, 18, 1289, 1763, 12, 3021, 2250, 12, 5743, 13, 11272, 3639, 368, 3639, 368, 971, 326, 469, 6591, 353, 3430, 30, 3639, 368, 282, 309, 518, 353, 392, 469, 309, 16, 11502, 3639, 368, 282, 3541, 16, 1361, 326, 469, 756, 5122, 18, 3639, 309, 12, 13489, 1435, 422, 3155, 18, 28813, 67, 2247, 1090, 262, 288, 5411, 309, 12, 13489, 12, 22, 13, 422, 3155, 18, 28813, 67, 5501, 262, 288, 7734, 7865, 12, 1345, 18, 28813, 67, 2247, 1090, 1769, 7734, 3021, 18, 1289, 1763, 12, 309, 3406, 1435, 11272, 5411, 289, 5411, 469, 288, 7734, 385, 882, 907, 1142, 273, 10181, 12, 1345, 18, 28813, 67, 2247, 1090, 1769, 7734, 3021, 18, 1289, 1763, 12, 1142, 11272, 7734, 1142, 18, 1289, 1763, 12, 3021, 2250, 12, 5743, 13, 11272, 5411, 289, 3639, 289, 3639, 327, 3021, 31, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 385, 882, 907, 309, 3406, 1435, 1216, 2720, 503, 16, 11517, 503, 16, 1185, 7134, 288, 3639, 368, 3639, 368, 4389, 326, 309, 6591, 3639, 385, 882, 907, 3021, 273, 10181, 12, 1345, 18, 28813, 67, 5501, 1769, 3639, 7865, 12, 1345, 18, 10066, 67, 14943, 3900, 15664, 1769, 3639, 775, 288, 5411, 3021, 18, 1289, 1763, 12, 8692, 10663, 3639, 289, 3639, 1044, 12, 11517, 503, 425, 262, 288, 5411, 8543, 18, 1289, 12, 425, 11272, 5411, 5910, 12, 13679, 1013, 67, 15961, 8001, 67, 29516, 3575, 11272, 3639, 289, 3639, 7865, 12, 7658, 18, 11847, 67, 14943, 3900, 15664, 11272, 3639, 3021, 18, 1289, 1763, 12, 3021, 2250, 12, 5743, 13, 11272, 3639, 368, 3639, 2 ]
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { if( keySpec instanceof RSAPublicKeySpec ) { RSAPublicKeySpec spec = (RSAPublicKeySpec) keySpec; // Generate a DER RSA public key SEQUENCE seq = new SEQUENCE(); seq.addElement( new INTEGER(spec.getModulus())); seq.addElement( new INTEGER(spec.getPublicExponent())); return PK11PubKey.fromRaw( PrivateKey.RSA, ASN1Util.encode(seq) ); } else if( keySpec instanceof DSAPublicKeySpec ) { // We need to import both the public value and the PQG parameters. // The only way to get all that information to NSS is through // a SubjectPublicKeyInfo. So we encode all the information // into an SPKI and then throw that down to NSS. // This operation is very computationally expensive and wasteful. DSAPublicKeySpec spec = (DSAPublicKeySpec) keySpec; SEQUENCE pqg = new SEQUENCE(); pqg.addElement( new INTEGER(spec.getP()) ); pqg.addElement( new INTEGER(spec.getQ()) ); pqg.addElement( new INTEGER(spec.getG()) ); OBJECT_IDENTIFIER oid = null; try { oid = SignatureAlgorithm.DSASignature.toOID(); } catch(NoSuchAlgorithmException ex ) { Assert.notReached("no such algorithm as DSA?"); } AlgorithmIdentifier algID = new AlgorithmIdentifier( oid, pqg ); INTEGER publicValue = new INTEGER(spec.getY()); byte[] encodedPublicValue = ASN1Util.encode(publicValue); SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo( algID, new BIT_STRING(encodedPublicValue, 0) ); return PK11PubKey.fromSPKI( ASN1Util.encode(spki) ); } else if( keySpec instanceof X509EncodedKeySpec ) { // // SubjectPublicKeyInfo // X509EncodedKeySpec spec = (X509EncodedKeySpec) keySpec; return PK11PubKey.fromSPKI( spec.getEncoded() ); } throw new InvalidKeySpecException("Unsupported KeySpec type: " + keySpec.getClass().getName()); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/564626af0d5970bc751e0d2895e9cfbaa295a5de/KeyFactorySpi1_2.java/clean/security/jss/org/mozilla/jss/provider/java/security/KeyFactorySpi1_2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 11951, 4073, 4625, 4782, 12, 653, 1990, 498, 1990, 13, 1377, 1216, 1962, 653, 1990, 503, 282, 288, 1377, 309, 12, 498, 1990, 1276, 14746, 2203, 24312, 1990, 262, 288, 540, 14746, 2203, 24312, 1990, 857, 273, 261, 13225, 2203, 24312, 1990, 13, 498, 1990, 31, 540, 368, 6654, 279, 21801, 13470, 1071, 498, 540, 27118, 3833, 273, 394, 27118, 5621, 540, 3833, 18, 1289, 1046, 12, 394, 16481, 12, 2793, 18, 588, 1739, 17284, 1435, 10019, 540, 3833, 18, 1289, 1046, 12, 394, 16481, 12, 2793, 18, 588, 4782, 17972, 1435, 10019, 540, 327, 11327, 2499, 17924, 18, 2080, 4809, 12, 14018, 18, 15248, 16, 18598, 21, 1304, 18, 3015, 12, 5436, 13, 11272, 1377, 289, 469, 309, 12, 498, 1990, 1276, 8678, 2203, 24312, 1990, 262, 288, 540, 368, 1660, 1608, 358, 1930, 3937, 326, 1071, 460, 471, 326, 453, 53, 43, 1472, 18, 540, 368, 1021, 1338, 4031, 358, 336, 777, 716, 1779, 358, 423, 1260, 353, 3059, 540, 368, 279, 9912, 9632, 966, 18, 6155, 732, 2017, 777, 326, 1779, 540, 368, 1368, 392, 348, 8784, 45, 471, 1508, 604, 716, 2588, 358, 423, 1260, 18, 540, 368, 1220, 1674, 353, 8572, 16039, 1230, 19326, 471, 341, 14725, 2706, 18, 540, 8678, 2203, 24312, 1990, 857, 273, 261, 3948, 2203, 24312, 1990, 13, 498, 1990, 31, 540, 27118, 14619, 75, 273, 394, 27118, 5621, 540, 14619, 75, 18, 1289, 1046, 12, 394, 16481, 12, 2793, 18, 588, 52, 10756, 11272, 540, 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, 4750, 11951, 4073, 4625, 4782, 12, 653, 1990, 498, 1990, 13, 1377, 1216, 1962, 653, 1990, 503, 282, 288, 1377, 309, 12, 498, 1990, 1276, 14746, 2203, 24312, 1990, 262, 288, 540, 14746, 2203, 24312, 1990, 857, 273, 261, 13225, 2203, 24312, 1990, 13, 498, 1990, 31, 540, 368, 6654, 279, 21801, 13470, 1071, 498, 540, 27118, 3833, 273, 394, 27118, 5621, 540, 3833, 18, 1289, 1046, 12, 394, 16481, 12, 2793, 18, 588, 1739, 17284, 1435, 10019, 540, 3833, 18, 1289, 1046, 12, 394, 16481, 12, 2793, 18, 588, 4782, 17972, 1435, 10019, 540, 327, 11327, 2499, 17924, 18, 2080, 4809, 12, 14018, 18, 15248, 16, 18598, 21, 1304, 18, 3015, 12, 5436, 13, 11272, 1377, 289, 2 ]
}
}
public void showURL(String url, JEditorPane pane) { try { pane.setPage(url); //show(); } catch (IOException e) { System.err.println("Attempted to read a bad URL: " + url); } }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/6a10e8a12a9e36fd86dca4ab464b69d566e3150f/HelpWindow.java/buggy/src/jeliot/gui/HelpWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 1785, 12, 780, 880, 16, 804, 6946, 8485, 13618, 13, 288, 3639, 775, 288, 5411, 13618, 18, 542, 1964, 12, 718, 1769, 5411, 368, 4500, 5621, 3639, 289, 540, 1044, 261, 14106, 425, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 28788, 358, 855, 279, 5570, 1976, 30, 315, 397, 880, 1769, 3639, 289, 377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 1785, 12, 780, 880, 16, 804, 6946, 8485, 13618, 13, 288, 3639, 775, 288, 5411, 13618, 18, 542, 1964, 12, 718, 1769, 5411, 368, 4500, 5621, 3639, 289, 540, 1044, 261, 14106, 425, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 28788, 358, 855, 279, 5570, 1976, 30, 315, 397, 880, 1769, 3639, 289, 377, 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 ]
{ return null; }
{ return null; }
public Object caseLegend(Legend object) { return null; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/bdab78403751f288b76844a99f50b999c34fb491/LayoutSwitch.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/util/LayoutSwitch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 648, 16812, 12, 16812, 733, 13, 565, 288, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1033, 648, 16812, 12, 16812, 733, 13, 565, 288, 3639, 327, 446, 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 ]
List result = null;
ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();
public List run(Integer degreeCurricularPlanID) { List result = null; ISuportePersistente sp = null; try { sp = PersistenceSupportFactory.getDefaultPersistenceSupport(); } catch (Exception e) { e.printStackTrace(); } IPersistentDegreeCurricularPlan degreeCurricularPlanDAO = sp .getIPersistentDegreeCurricularPlan(); IPersistentExecutionYear executionYearDAO = sp.getIPersistentExecutionYear(); Date end = null; Date start = null; //End date of the current year try { end = executionYearDAO.readCurrentExecutionYear().getEndDate(); } catch (Exception e) { e.printStackTrace(); } //Start date of the degree curricular plan try { start = ((DegreeCurricularPlan) (degreeCurricularPlanDAO.readByOID( DegreeCurricularPlan.class, degreeCurricularPlanID))).getInitialDate(); } catch (Exception e) { e.printStackTrace(); } List executionYears = null; try { executionYears = executionYearDAO.readExecutionYearsInPeriod(start, end); } catch (ExcepcaoPersistencia e1) { // TODO Auto-generated catch block e1.printStackTrace(); } result = (List) CollectionUtils.collect(executionYears, new Transformer() { public Object transform(Object input) { IExecutionYear executionYear = (IExecutionYear) input; InfoExecutionYear infoExecutionYear = (InfoExecutionYear) Cloner.get(executionYear); return infoExecutionYear; } }); return result; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/199ef89a679cc218799b0c7535f25fcd3244d7b5/ReadExecutionYearsByDegreeCurricularPlanID.java/clean/src/net/sourceforge/fenixedu/applicationTier/Servico/commons/ReadExecutionYearsByDegreeCurricularPlanID.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 1086, 12, 4522, 10782, 2408, 1512, 2490, 5365, 734, 13, 288, 3639, 467, 3088, 499, 73, 11906, 73, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 3639, 467, 3088, 499, 73, 11906, 73, 1694, 273, 446, 31, 3639, 775, 288, 5411, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 3639, 2971, 6572, 22885, 2408, 1512, 2490, 5365, 10782, 2408, 1512, 2490, 5365, 18485, 273, 1694, 7734, 263, 588, 2579, 6572, 22885, 2408, 1512, 2490, 5365, 5621, 3639, 2971, 6572, 3210, 5593, 4588, 5593, 18485, 273, 1694, 18, 588, 2579, 6572, 3210, 5593, 5621, 3639, 2167, 679, 273, 446, 31, 3639, 2167, 787, 273, 446, 31, 3639, 368, 1638, 1509, 434, 326, 783, 3286, 3639, 775, 288, 5411, 679, 273, 4588, 5593, 18485, 18, 896, 3935, 3210, 5593, 7675, 588, 24640, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 3639, 368, 1685, 1509, 434, 326, 10782, 662, 1512, 2490, 4995, 3639, 775, 288, 5411, 787, 273, 14015, 22885, 2408, 1512, 2490, 5365, 13, 261, 21361, 2408, 1512, 2490, 5365, 18485, 18, 896, 858, 12945, 12, 10792, 463, 1332, 992, 2408, 1512, 2490, 5365, 18, 1106, 16, 10782, 2408, 1512, 2490, 5365, 734, 3719, 2934, 588, 4435, 1626, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 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, 987, 1086, 12, 4522, 10782, 2408, 1512, 2490, 5365, 734, 13, 288, 3639, 467, 3088, 499, 73, 11906, 73, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 3639, 467, 3088, 499, 73, 11906, 73, 1694, 273, 446, 31, 3639, 775, 288, 5411, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 3639, 2971, 6572, 22885, 2408, 1512, 2490, 5365, 10782, 2408, 1512, 2490, 5365, 18485, 273, 1694, 7734, 263, 588, 2579, 6572, 22885, 2408, 1512, 2490, 5365, 5621, 3639, 2971, 6572, 3210, 5593, 4588, 5593, 18485, 273, 1694, 18, 588, 2579, 6572, 3210, 5593, 5621, 3639, 2 ]