rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
getFolderDisplayUI().showStatusMessage(Pooka.getProperty("error.UIDFolder.validityMismatch", "Error: validity not correct. reloading...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("error.UIDFolder.validityMismatch", "Error: validity not correct. reloading...")); getCache().invalidateCache(); getCache().setUIDValidity(uidValidity);
getFolderDisplayUI().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Comparing new messages to current list...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Comparing new messages to current list...")); long[] addedUids = cache.getAddedMessages(uids, uidValidity); if (Pooka.isDebug()) System.out.println("synchronizing--addedUids.length = " + addedUids.length); if (addedUids.length > 0) { Message[] addedMsgs = ((UIDFolder)getFolder()).getMessagesByUID(addedUids); MessageCountEvent mce = new MessageCountEvent(getFolder(), MessageCountEvent.ADDED, false, addedMsgs); messagesAdded(mce); } long[] removedUids = cache.getRemovedMessages(uids, uidValidity); if (Pooka.isDebug()) System.out.println("synchronizing--removedUids.length = " + removedUids.length); if (removedUids.length > 0) { Message[] removedMsgs = new Message[removedUids.length]; for (int i = 0 ; i < removedUids.length; i++) { removedMsgs[i] = getMessageInfoByUid(removedUids[i]).getRealMessage(); } MessageCountEvent mce = new MessageCountEvent(getFolder(), MessageCountEvent.REMOVED, false, removedMsgs); messagesRemoved(mce); } updateFlags(uids, messages, cacheUidValidity); } finally { if (getFolderDisplayUI() != null) { getFolderDisplayUI().clearStatusMessage(); getFolderDisplayUI().setBusy(false); } else Pooka.getUIFactory().clearStatus();
public void synchronizeCache() throws MessagingException { if (Pooka.isDebug()) System.out.println("synchronizing cache."); if (getFolderDisplayUI() != null) getFolderDisplayUI().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Re-synchronizing with folder...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Re-synchronizing with folder...")); long cacheUidValidity = getCache().getUIDValidity(); if (uidValidity != cacheUidValidity) { if (getFolderDisplayUI() != null) getFolderDisplayUI().showStatusMessage(Pooka.getProperty("error.UIDFolder.validityMismatch", "Error: validity not correct. reloading...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("error.UIDFolder.validityMismatch", "Error: validity not correct. reloading...")); getCache().invalidateCache(); getCache().setUIDValidity(uidValidity); } if (getFolderDisplayUI() != null) getFolderDisplayUI().showStatusMessage(Pooka.getProperty("message.CachingFolder.synchronizing.writingChanges", "Writing local changes to server...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("message.CachingFolder.synchronizing.writingChanges", "Writing local changes to server...")); // first write all the changes that we made back to the server. getCache().writeChangesToServer(getFolder()); if (getFolderDisplayUI() != null) getFolderDisplayUI().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing.loading", "Loading messages from folder...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing.loading", "Loading messages from folder...")); FetchProfile fp = new FetchProfile(); fp.add(FetchProfile.Item.ENVELOPE); fp.add(FetchProfile.Item.FLAGS); fp.add(UIDFolder.FetchProfileItem.UID); Message[] messages = getFolder().getMessages(); getFolder().fetch(messages, fp); long[] uids = new long[messages.length]; for (int i = 0; i < messages.length; i++) { uids[i] = ((UIDFolder)getFolder()).getUID(messages[i]); } if (Pooka.isDebug()) System.out.println("synchronizing--uids.length = " + uids.length); if (getFolderDisplayUI() != null) getFolderDisplayUI().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Comparing new messages to current list...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Comparing new messages to current list...")); long[] addedUids = cache.getAddedMessages(uids, uidValidity); if (Pooka.isDebug()) System.out.println("synchronizing--addedUids.length = " + addedUids.length); if (addedUids.length > 0) { Message[] addedMsgs = ((UIDFolder)getFolder()).getMessagesByUID(addedUids); MessageCountEvent mce = new MessageCountEvent(getFolder(), MessageCountEvent.ADDED, false, addedMsgs); messagesAdded(mce); } long[] removedUids = cache.getRemovedMessages(uids, uidValidity); if (Pooka.isDebug()) System.out.println("synchronizing--removedUids.length = " + removedUids.length); if (removedUids.length > 0) { Message[] removedMsgs = new Message[removedUids.length]; for (int i = 0 ; i < removedUids.length; i++) { removedMsgs[i] = getMessageInfoByUid(removedUids[i]).getRealMessage(); } MessageCountEvent mce = new MessageCountEvent(getFolder(), MessageCountEvent.REMOVED, false, removedMsgs); messagesRemoved(mce); } updateFlags(uids, messages, cacheUidValidity); if (getFolderDisplayUI() != null) getFolderDisplayUI().clearStatusMessage(); else Pooka.getUIFactory().clearStatus(); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/42ac8102e7ae8f3e47484c22f4467d39cb29f9ea/CachingFolderInfo.java/buggy/net/suberic/pooka/cache/CachingFolderInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16978, 1649, 1435, 1216, 23794, 503, 288, 202, 430, 261, 52, 1184, 69, 18, 291, 2829, 10756, 202, 565, 2332, 18, 659, 18, 8222, 2932, 87, 2600, 6894, 1247, 1199, 1769, 202, 430, 261, 588, 3899, 4236, 5370, 1435, 480, 446, 13, 202, 565, 29001, 4236, 5370, 7675, 4500, 1482, 1079, 12, 52, 1184, 69, 18, 588, 1396, 2932, 2150, 18, 3060, 3899, 18, 87, 2600, 6894, 3113, 315, 426, 17, 87, 2600, 6894, 598, 3009, 7070, 10019, 202, 12107, 202, 565, 453, 1184, 69, 18, 588, 5370, 1733, 7675, 4500, 1482, 1079, 12, 52, 1184, 69, 18, 588, 1396, 2932, 2150, 18, 3060, 3899, 18, 87, 2600, 6894, 3113, 315, 426, 17, 87, 2600, 6894, 598, 3009, 7070, 10019, 202, 5748, 1247, 11994, 19678, 273, 8577, 7675, 588, 3060, 19678, 5621, 202, 430, 261, 1911, 19678, 480, 1247, 11994, 19678, 13, 288, 202, 565, 309, 261, 588, 3899, 4236, 5370, 1435, 480, 446, 13, 202, 202, 588, 3899, 4236, 5370, 7675, 4500, 1482, 1079, 12, 52, 1184, 69, 18, 588, 1396, 2932, 1636, 18, 3060, 3899, 18, 877, 560, 16901, 3113, 315, 668, 30, 225, 13800, 486, 3434, 18, 225, 7749, 310, 7070, 10019, 202, 565, 469, 3196, 202, 52, 1184, 69, 18, 588, 5370, 1733, 7675, 4500, 1482, 1079, 12, 52, 1184, 69, 18, 588, 1396, 2932, 1636, 18, 3060, 3899, 18, 877, 560, 16901, 3113, 315, 668, 30, 225, 13800, 486, 3434, 18, 225, 7749, 310, 7070, 10019, 202, 565, 8577, 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, 16978, 1649, 1435, 1216, 23794, 503, 288, 202, 430, 261, 52, 1184, 69, 18, 291, 2829, 10756, 202, 565, 2332, 18, 659, 18, 8222, 2932, 87, 2600, 6894, 1247, 1199, 1769, 202, 430, 261, 588, 3899, 4236, 5370, 1435, 480, 446, 13, 202, 565, 29001, 4236, 5370, 7675, 4500, 1482, 1079, 12, 52, 1184, 69, 18, 588, 1396, 2932, 2150, 18, 3060, 3899, 18, 87, 2600, 6894, 3113, 315, 426, 17, 87, 2600, 6894, 598, 3009, 7070, 10019, 202, 12107, 202, 565, 453, 1184, 69, 18, 588, 5370, 1733, 7675, 4500, 1482, 1079, 12, 52, 1184, 69, 18, 588, 1396, 2932, 2150, 18, 3060, 3899, 18, 87, 2600, 6894, 3113, 315, 426, 17, 87, 2600, 6894, 2 ]
protected int[] parse(String str, int[] date) throws Exception{
protected int[] parse(String str, int[] date) throws SchemaDateTimeException{
protected int[] parse(String str, int[] date) throws Exception{ resetBuffer(str); //create structure to hold an object if ( date == null ) { date = new int[TOTAL_SIZE]; } resetDateObj(date); // get date getDate(fStart, fEnd, date); parseTimeZone (fEnd, date); //validate and normalize if ( !validateDateTime(date) ) { //REVISIT: should we throw an exeption? // we should not try normalizing in this case .. throw new Exception ("Not valid date"); } else if ( date[utc]!=0 && date[utc]!='Z' ) { normalize(date); } return date; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/38d73cf7c0d35586a71e68d0fe233c425d82b6bd/DateDatatypeValidator.java/buggy/src/org/apache/xerces/validators/datatype/DateDatatypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 8526, 1109, 12, 780, 609, 16, 509, 8526, 1509, 13, 1216, 4611, 5096, 503, 95, 3639, 2715, 1892, 12, 701, 1769, 3639, 368, 2640, 3695, 358, 6887, 392, 733, 3639, 309, 261, 1509, 422, 446, 262, 288, 5411, 1509, 273, 394, 509, 63, 28624, 67, 4574, 15533, 3639, 289, 3639, 2715, 1626, 2675, 12, 712, 1769, 3639, 368, 336, 1509, 3639, 10713, 12, 74, 1685, 16, 284, 1638, 16, 1509, 1769, 3639, 1109, 16760, 261, 74, 1638, 16, 1509, 1769, 3639, 368, 5662, 471, 3883, 3639, 309, 261, 401, 5662, 5096, 12, 712, 13, 262, 288, 5411, 368, 862, 26780, 1285, 30, 1410, 732, 604, 392, 15073, 375, 35, 5411, 368, 540, 732, 1410, 486, 775, 2212, 6894, 316, 333, 648, 6116, 5411, 604, 394, 1185, 7566, 1248, 923, 1509, 8863, 3639, 289, 3639, 469, 309, 261, 1509, 63, 17892, 65, 5, 33, 20, 597, 1509, 63, 17892, 65, 5, 2218, 62, 11, 262, 288, 5411, 3883, 12, 712, 1769, 3639, 289, 3639, 327, 1509, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 8526, 1109, 12, 780, 609, 16, 509, 8526, 1509, 13, 1216, 4611, 5096, 503, 95, 3639, 2715, 1892, 12, 701, 1769, 3639, 368, 2640, 3695, 358, 6887, 392, 733, 3639, 309, 261, 1509, 422, 446, 262, 288, 5411, 1509, 273, 394, 509, 63, 28624, 67, 4574, 15533, 3639, 289, 3639, 2715, 1626, 2675, 12, 712, 1769, 3639, 368, 336, 1509, 3639, 10713, 12, 74, 1685, 16, 284, 1638, 16, 1509, 1769, 3639, 1109, 16760, 261, 74, 1638, 16, 1509, 1769, 3639, 368, 5662, 471, 3883, 3639, 309, 261, 401, 5662, 5096, 12, 712, 13, 262, 288, 5411, 368, 862, 26780, 1285, 30, 1410, 732, 604, 392, 15073, 375, 35, 5411, 368, 540, 732, 1410, 486, 775, 2 ]
while (it.hasNext()) {
while (it.hasNext()) {
public static MultiStatus createFromXml(Element multistatusElement) { if (!DomUtil.matches(multistatusElement, XML_MULTISTATUS, NAMESPACE)) { throw new IllegalArgumentException("DAV:multistatus element expected."); } MultiStatus multistatus = new MultiStatus(); ElementIterator it = DomUtil.getChildren(multistatusElement, XML_RESPONSE, NAMESPACE); while (it.hasNext()) { Element respElem = it.nextElement(); MultiStatusResponse response = MultiStatusResponse.createFromXml(respElem); multistatus.addResponse(response); } // optional response description on the multistatus element multistatus.setResponseDescription(DomUtil.getChildText(multistatusElement, XML_RESPONSEDESCRIPTION, NAMESPACE)); return multistatus; }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/53a93ea28bdff89ee1f658aa37cc28a9c840e5cc/MultiStatus.java/clean/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/MultiStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 5991, 1482, 9492, 4432, 12, 1046, 1778, 376, 996, 1046, 13, 288, 202, 430, 16051, 8832, 1304, 18, 8436, 12, 5421, 376, 996, 1046, 16, 3167, 67, 12845, 5511, 5134, 16, 18494, 3719, 288, 202, 565, 604, 394, 2754, 2932, 17735, 30, 5421, 376, 996, 930, 2665, 1199, 1769, 202, 97, 3639, 5991, 1482, 1778, 376, 996, 273, 394, 5991, 1482, 5621, 3639, 3010, 3198, 518, 273, 12965, 1304, 18, 588, 4212, 12, 5421, 376, 996, 1046, 16, 3167, 67, 14508, 16, 18494, 1769, 202, 17523, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 3010, 1718, 7498, 273, 518, 18, 4285, 1046, 5621, 5411, 5991, 1482, 1064, 766, 273, 5991, 1482, 1064, 18, 2640, 1265, 4432, 12, 12243, 7498, 1769, 5411, 1778, 376, 996, 18, 1289, 1064, 12, 2740, 1769, 202, 97, 202, 759, 3129, 766, 2477, 603, 326, 1778, 376, 996, 930, 202, 5421, 376, 996, 18, 542, 1064, 3291, 12, 8832, 1304, 18, 588, 1763, 1528, 12, 5421, 376, 996, 1046, 16, 3167, 67, 14508, 15911, 16, 18494, 10019, 3639, 327, 1778, 376, 996, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 5991, 1482, 9492, 4432, 12, 1046, 1778, 376, 996, 1046, 13, 288, 202, 430, 16051, 8832, 1304, 18, 8436, 12, 5421, 376, 996, 1046, 16, 3167, 67, 12845, 5511, 5134, 16, 18494, 3719, 288, 202, 565, 604, 394, 2754, 2932, 17735, 30, 5421, 376, 996, 930, 2665, 1199, 1769, 202, 97, 3639, 5991, 1482, 1778, 376, 996, 273, 394, 5991, 1482, 5621, 3639, 3010, 3198, 518, 273, 12965, 1304, 18, 588, 4212, 12, 5421, 376, 996, 1046, 16, 3167, 67, 14508, 16, 18494, 1769, 202, 17523, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 3010, 1718, 7498, 273, 518, 18, 4285, 1046, 5621, 5411, 5991, 1482, 1064, 766, 273, 5991, 1482, 1064, 18, 2640, 1265, 4432, 2 ]
public byte[] rleUncompress(byte[] input) throws FormatException { if (input.length < 8) return prevPixels; // read the 4 byte chunk length; this should equal input.length int length = DataTools.bytesToInt(input, 0, 4, little); // now read the header // if the header is 0, we uncompress the remaining bytes // otherwise, read extra header information to determine which // scanlines to uncompress int header = DataTools.bytesToInt(input, 4, 2, little); int off = 0; // offset into output int start = 0; int pt = 6; int numLines = height; byte[] output = new byte[width * height * (bitsPerPixel / 8)]; if ((header & 0x0008) == 0x0008) { start = DataTools.bytesToInt(input, pt, 2, little); // skip 2 bytes pt += 4; numLines = DataTools.bytesToInt(input, pt, 2, little); // skip 2 bytes pt += 4; // copy appropriate lines from prevPixels for (int i=0; i<start; i++) { off = i * width * (bitsPerPixel / 8); System.arraycopy(prevPixels, off, output, off, width * (bitsPerPixel / 8)); } off += (width * (bitsPerPixel / 8)); for (int i=(start+numLines); i<height; i++) { int offset = i * width * (bitsPerPixel / 8); System.arraycopy(prevPixels, offset, output, offset, width * (bitsPerPixel / 8)); } } else throw new FormatException("Unsupported header : " + header); // uncompress the remaining scanlines byte skip = 0; // number of bytes to skip byte rle = 0; // RLE code int rowPointer = start * (width * (bitsPerPixel / 8)); for (int i=0; i<numLines; i++) { skip = input[pt]; if (prevPixels != null) { try { System.arraycopy(prevPixels, off, output, off, (skip) * (bitsPerPixel / 8)); } catch (ArrayIndexOutOfBoundsException e) { } } off = rowPointer + ((skip) * (bitsPerPixel / 8)); pt++; while (true) { rle = input[pt]; pt++; if (rle == 0) { skip = input[pt]; if (prevPixels != null) { try { System.arraycopy(prevPixels, off, output, off, (skip-1) * (bitsPerPixel / 8)); } catch (ArrayIndexOutOfBoundsException e) { } } off += ((skip-1) * (bitsPerPixel / 8)); pt++; } else if (rle == -1) break; else if (rle < -1) { // unpack next pixel and copy it to output -(rle) times for (int j=0; j<(-1*rle); j++) { if (off < output.length) { System.arraycopy(input, pt, output, off, bitsPerPixel / 8); off += (bitsPerPixel / 8); } else j = (-1*rle); } pt += (bitsPerPixel / 8); } else { // copy (rle) pixels to output System.arraycopy(input, pt, output, off, rle*(bitsPerPixel / 8)); pt += rle*(bitsPerPixel / 8); off += rle*(bitsPerPixel / 8); } } rowPointer += (width * (bitsPerPixel / 8)); } if (prevPixels != null) { for (int i=0; i<output.length; i++) { if (output[i] == 0) output[i] = prevPixels[i]; } } return output; }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/5e79a1290f53a10251fc235924d8df41580454ef/QTReader.java/clean/loci/formats/QTReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 8526, 436, 298, 984, 14706, 12, 7229, 8526, 810, 13, 1216, 4077, 503, 288, 565, 309, 261, 2630, 18, 2469, 411, 1725, 13, 327, 2807, 18079, 31, 565, 368, 855, 326, 1059, 1160, 2441, 769, 31, 333, 1410, 3959, 810, 18, 2469, 565, 509, 769, 273, 1910, 10348, 18, 3890, 17864, 12, 2630, 16, 374, 16, 1059, 16, 12720, 1769, 565, 368, 2037, 855, 326, 1446, 565, 368, 309, 326, 1446, 353, 374, 16, 732, 12704, 1028, 326, 4463, 1731, 565, 368, 3541, 16, 855, 2870, 1446, 1779, 358, 4199, 1492, 565, 368, 4135, 3548, 358, 12704, 1028, 565, 509, 1446, 273, 1910, 10348, 18, 3890, 17864, 12, 2630, 16, 1059, 16, 576, 16, 12720, 1769, 565, 509, 3397, 273, 374, 31, 368, 1384, 1368, 876, 565, 509, 787, 273, 374, 31, 565, 509, 5818, 273, 1666, 31, 565, 509, 818, 5763, 273, 2072, 31, 565, 1160, 8526, 876, 273, 394, 1160, 63, 2819, 380, 2072, 380, 261, 6789, 2173, 9037, 342, 1725, 13, 15533, 565, 309, 14015, 3374, 473, 374, 92, 3784, 28, 13, 422, 374, 92, 3784, 28, 13, 288, 1377, 787, 273, 1910, 10348, 18, 3890, 17864, 12, 2630, 16, 5818, 16, 576, 16, 12720, 1769, 1377, 368, 2488, 576, 1731, 1377, 5818, 1011, 1059, 31, 1377, 818, 5763, 273, 1910, 10348, 18, 3890, 17864, 12, 2630, 16, 5818, 16, 576, 16, 12720, 1769, 1377, 368, 2488, 576, 1731, 1377, 5818, 1011, 1059, 31, 1377, 368, 1610, 5505, 2362, 628, 2807, 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, 1160, 8526, 436, 298, 984, 14706, 12, 7229, 8526, 810, 13, 1216, 4077, 503, 288, 565, 309, 261, 2630, 18, 2469, 411, 1725, 13, 327, 2807, 18079, 31, 565, 368, 855, 326, 1059, 1160, 2441, 769, 31, 333, 1410, 3959, 810, 18, 2469, 565, 509, 769, 273, 1910, 10348, 18, 3890, 17864, 12, 2630, 16, 374, 16, 1059, 16, 12720, 1769, 565, 368, 2037, 855, 326, 1446, 565, 368, 309, 326, 1446, 353, 374, 16, 732, 12704, 1028, 326, 4463, 1731, 565, 368, 3541, 16, 855, 2870, 1446, 1779, 358, 4199, 1492, 565, 368, 4135, 3548, 358, 12704, 1028, 565, 509, 1446, 273, 1910, 10348, 18, 3890, 17864, 12, 2630, 16, 1059, 16, 576, 16, 12720, 1769, 2 ]
match(LITERAL_default); if ( inputState.guessing==0 ) { name= "default"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_function:
match(LITERAL_let); if ( inputState.guessing==0 ) { name= "let"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_default:
public final String reservedKeywords() throws RecognitionException, TokenStreamException { String name; returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST reservedKeywords_AST = null; name= null; switch ( LA(1)) { case LITERAL_element: { org.exist.xquery.parser.XQueryAST tmp334_AST = null; tmp334_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp334_AST); match(LITERAL_element); if ( inputState.guessing==0 ) { name = "element"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_to: { org.exist.xquery.parser.XQueryAST tmp335_AST = null; tmp335_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp335_AST); match(LITERAL_to); if ( inputState.guessing==0 ) { name = "to"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_div: { org.exist.xquery.parser.XQueryAST tmp336_AST = null; tmp336_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp336_AST); match(LITERAL_div); if ( inputState.guessing==0 ) { name= "div"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_mod: { org.exist.xquery.parser.XQueryAST tmp337_AST = null; tmp337_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp337_AST); match(LITERAL_mod); if ( inputState.guessing==0 ) { name= "mod"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_text: { org.exist.xquery.parser.XQueryAST tmp338_AST = null; tmp338_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp338_AST); match(LITERAL_text); if ( inputState.guessing==0 ) { name= "text"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_node: { org.exist.xquery.parser.XQueryAST tmp339_AST = null; tmp339_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp339_AST); match(LITERAL_node); if ( inputState.guessing==0 ) { name= "node"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_or: { org.exist.xquery.parser.XQueryAST tmp340_AST = null; tmp340_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp340_AST); match(LITERAL_or); if ( inputState.guessing==0 ) { name= "or"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_and: { org.exist.xquery.parser.XQueryAST tmp341_AST = null; tmp341_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp341_AST); match(LITERAL_and); if ( inputState.guessing==0 ) { name= "and"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_child: { org.exist.xquery.parser.XQueryAST tmp342_AST = null; tmp342_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp342_AST); match(LITERAL_child); if ( inputState.guessing==0 ) { name= "child"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_parent: { org.exist.xquery.parser.XQueryAST tmp343_AST = null; tmp343_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp343_AST); match(LITERAL_parent); if ( inputState.guessing==0 ) { name= "parent"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_self: { org.exist.xquery.parser.XQueryAST tmp344_AST = null; tmp344_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp344_AST); match(LITERAL_self); if ( inputState.guessing==0 ) { name= "self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_attribute: { org.exist.xquery.parser.XQueryAST tmp345_AST = null; tmp345_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp345_AST); match(LITERAL_attribute); if ( inputState.guessing==0 ) { name= "attribute"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_comment: { org.exist.xquery.parser.XQueryAST tmp346_AST = null; tmp346_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp346_AST); match(LITERAL_comment); if ( inputState.guessing==0 ) { name= "comment"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_document: { org.exist.xquery.parser.XQueryAST tmp347_AST = null; tmp347_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp347_AST); match(LITERAL_document); if ( inputState.guessing==0 ) { name= "document"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 142: { org.exist.xquery.parser.XQueryAST tmp348_AST = null; tmp348_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp348_AST); match(142); if ( inputState.guessing==0 ) { name= "document-node"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_collection: { org.exist.xquery.parser.XQueryAST tmp349_AST = null; tmp349_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp349_AST); match(LITERAL_collection); if ( inputState.guessing==0 ) { name= "collection"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ancestor: { org.exist.xquery.parser.XQueryAST tmp350_AST = null; tmp350_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp350_AST); match(LITERAL_ancestor); if ( inputState.guessing==0 ) { name= "ancestor"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_descendant: { org.exist.xquery.parser.XQueryAST tmp351_AST = null; tmp351_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp351_AST); match(LITERAL_descendant); if ( inputState.guessing==0 ) { name= "descendant"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 154: { org.exist.xquery.parser.XQueryAST tmp352_AST = null; tmp352_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp352_AST); match(154); if ( inputState.guessing==0 ) { name= "descendant-or-self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 159: { org.exist.xquery.parser.XQueryAST tmp353_AST = null; tmp353_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp353_AST); match(159); if ( inputState.guessing==0 ) { name= "ancestor-or-self"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 160: { org.exist.xquery.parser.XQueryAST tmp354_AST = null; tmp354_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp354_AST); match(160); if ( inputState.guessing==0 ) { name= "preceding-sibling"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 155: { org.exist.xquery.parser.XQueryAST tmp355_AST = null; tmp355_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp355_AST); match(155); if ( inputState.guessing==0 ) { name= "following-sibling"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_following: { org.exist.xquery.parser.XQueryAST tmp356_AST = null; tmp356_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp356_AST); match(LITERAL_following); if ( inputState.guessing==0 ) { name = "following"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_preceding: { org.exist.xquery.parser.XQueryAST tmp357_AST = null; tmp357_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp357_AST); match(LITERAL_preceding); if ( inputState.guessing==0 ) { name = "preceding"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_item: { org.exist.xquery.parser.XQueryAST tmp358_AST = null; tmp358_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp358_AST); match(LITERAL_item); if ( inputState.guessing==0 ) { name= "item"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_empty: { org.exist.xquery.parser.XQueryAST tmp359_AST = null; tmp359_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp359_AST); match(LITERAL_empty); if ( inputState.guessing==0 ) { name= "empty"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_version: { org.exist.xquery.parser.XQueryAST tmp360_AST = null; tmp360_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp360_AST); match(LITERAL_version); if ( inputState.guessing==0 ) { name= "version"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_xquery: { org.exist.xquery.parser.XQueryAST tmp361_AST = null; tmp361_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp361_AST); match(LITERAL_xquery); if ( inputState.guessing==0 ) { name= "xquery"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_variable: { org.exist.xquery.parser.XQueryAST tmp362_AST = null; tmp362_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp362_AST); match(LITERAL_variable); if ( inputState.guessing==0 ) { name= "variable"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_namespace: { org.exist.xquery.parser.XQueryAST tmp363_AST = null; tmp363_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp363_AST); match(LITERAL_namespace); if ( inputState.guessing==0 ) { name= "namespace"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_if: { org.exist.xquery.parser.XQueryAST tmp364_AST = null; tmp364_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp364_AST); match(LITERAL_if); if ( inputState.guessing==0 ) { name= "if"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_then: { org.exist.xquery.parser.XQueryAST tmp365_AST = null; tmp365_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp365_AST); match(LITERAL_then); if ( inputState.guessing==0 ) { name= "then"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_else: { org.exist.xquery.parser.XQueryAST tmp366_AST = null; tmp366_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp366_AST); match(LITERAL_else); if ( inputState.guessing==0 ) { name= "else"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_for: { org.exist.xquery.parser.XQueryAST tmp367_AST = null; tmp367_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp367_AST); match(LITERAL_for); if ( inputState.guessing==0 ) { name= "for"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_let: { org.exist.xquery.parser.XQueryAST tmp368_AST = null; tmp368_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp368_AST); match(LITERAL_let); if ( inputState.guessing==0 ) { name= "let"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_default: { org.exist.xquery.parser.XQueryAST tmp369_AST = null; tmp369_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp369_AST); match(LITERAL_default); if ( inputState.guessing==0 ) { name= "default"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_function: { org.exist.xquery.parser.XQueryAST tmp370_AST = null; tmp370_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp370_AST); match(LITERAL_function); if ( inputState.guessing==0 ) { name= "function"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_external: { org.exist.xquery.parser.XQueryAST tmp371_AST = null; tmp371_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp371_AST); match(LITERAL_external); if ( inputState.guessing==0 ) { name = "external"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_as: { org.exist.xquery.parser.XQueryAST tmp372_AST = null; tmp372_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp372_AST); match(LITERAL_as); if ( inputState.guessing==0 ) { name = "as"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_union: { org.exist.xquery.parser.XQueryAST tmp373_AST = null; tmp373_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp373_AST); match(LITERAL_union); if ( inputState.guessing==0 ) { name = "union"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_intersect: { org.exist.xquery.parser.XQueryAST tmp374_AST = null; tmp374_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp374_AST); match(LITERAL_intersect); if ( inputState.guessing==0 ) { name = "intersect"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_except: { org.exist.xquery.parser.XQueryAST tmp375_AST = null; tmp375_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp375_AST); match(LITERAL_except); if ( inputState.guessing==0 ) { name = "except"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_order: { org.exist.xquery.parser.XQueryAST tmp376_AST = null; tmp376_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp376_AST); match(LITERAL_order); if ( inputState.guessing==0 ) { name = "order"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_by: { org.exist.xquery.parser.XQueryAST tmp377_AST = null; tmp377_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp377_AST); match(LITERAL_by); if ( inputState.guessing==0 ) { name = "by"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_some: { org.exist.xquery.parser.XQueryAST tmp378_AST = null; tmp378_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp378_AST); match(LITERAL_some); if ( inputState.guessing==0 ) { name = "some"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_every: { org.exist.xquery.parser.XQueryAST tmp379_AST = null; tmp379_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp379_AST); match(LITERAL_every); if ( inputState.guessing==0 ) { name = "every"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_is: { org.exist.xquery.parser.XQueryAST tmp380_AST = null; tmp380_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp380_AST); match(LITERAL_is); if ( inputState.guessing==0 ) { name = "is"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_isnot: { org.exist.xquery.parser.XQueryAST tmp381_AST = null; tmp381_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp381_AST); match(LITERAL_isnot); if ( inputState.guessing==0 ) { name = "isnot"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_module: { org.exist.xquery.parser.XQueryAST tmp382_AST = null; tmp382_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp382_AST); match(LITERAL_module); if ( inputState.guessing==0 ) { name = "module"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_import: { org.exist.xquery.parser.XQueryAST tmp383_AST = null; tmp383_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp383_AST); match(LITERAL_import); if ( inputState.guessing==0 ) { name = "import"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_at: { org.exist.xquery.parser.XQueryAST tmp384_AST = null; tmp384_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp384_AST); match(LITERAL_at); if ( inputState.guessing==0 ) { name = "at"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_cast: { org.exist.xquery.parser.XQueryAST tmp385_AST = null; tmp385_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp385_AST); match(LITERAL_cast); if ( inputState.guessing==0 ) { name = "cast"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_return: { org.exist.xquery.parser.XQueryAST tmp386_AST = null; tmp386_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp386_AST); match(LITERAL_return); if ( inputState.guessing==0 ) { name = "return"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_instance: { org.exist.xquery.parser.XQueryAST tmp387_AST = null; tmp387_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp387_AST); match(LITERAL_instance); if ( inputState.guessing==0 ) { name = "instance"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_of: { org.exist.xquery.parser.XQueryAST tmp388_AST = null; tmp388_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp388_AST); match(LITERAL_of); if ( inputState.guessing==0 ) { name = "of"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_declare: { org.exist.xquery.parser.XQueryAST tmp389_AST = null; tmp389_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp389_AST); match(LITERAL_declare); if ( inputState.guessing==0 ) { name = "declare"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_collation: { org.exist.xquery.parser.XQueryAST tmp390_AST = null; tmp390_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp390_AST); match(LITERAL_collation); if ( inputState.guessing==0 ) { name = "collation"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_xmlspace: { org.exist.xquery.parser.XQueryAST tmp391_AST = null; tmp391_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp391_AST); match(LITERAL_xmlspace); if ( inputState.guessing==0 ) { name = "xmlspace"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_preserve: { org.exist.xquery.parser.XQueryAST tmp392_AST = null; tmp392_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp392_AST); match(LITERAL_preserve); if ( inputState.guessing==0 ) { name = "preserve"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_strip: { org.exist.xquery.parser.XQueryAST tmp393_AST = null; tmp393_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp393_AST); match(LITERAL_strip); if ( inputState.guessing==0 ) { name = "strip"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ordering: { org.exist.xquery.parser.XQueryAST tmp394_AST = null; tmp394_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp394_AST); match(LITERAL_ordering); if ( inputState.guessing==0 ) { name = "ordering"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_construction: { org.exist.xquery.parser.XQueryAST tmp395_AST = null; tmp395_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp395_AST); match(LITERAL_construction); if ( inputState.guessing==0 ) { name = "construction"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ordered: { org.exist.xquery.parser.XQueryAST tmp396_AST = null; tmp396_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp396_AST); match(LITERAL_ordered); if ( inputState.guessing==0 ) { name = "ordered"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_unordered: { org.exist.xquery.parser.XQueryAST tmp397_AST = null; tmp397_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp397_AST); match(LITERAL_unordered); if ( inputState.guessing==0 ) { name = "unordered"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_typeswitch: { org.exist.xquery.parser.XQueryAST tmp398_AST = null; tmp398_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp398_AST); match(LITERAL_typeswitch); if ( inputState.guessing==0 ) { name = "typeswitch"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_encoding: { org.exist.xquery.parser.XQueryAST tmp399_AST = null; tmp399_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp399_AST); match(LITERAL_encoding); if ( inputState.guessing==0 ) { name = "encoding"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 63: { org.exist.xquery.parser.XQueryAST tmp400_AST = null; tmp400_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp400_AST); match(63); if ( inputState.guessing==0 ) { name = "base-uri"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = reservedKeywords_AST; return name; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/10544e5ec103a411822c6180ed81ef38eab15de8/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 514, 225, 8735, 14149, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 202, 202, 780, 508, 31, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 8735, 14149, 67, 9053, 273, 446, 31, 202, 202, 529, 33, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2956, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 3707, 24, 67, 9053, 273, 446, 31, 1082, 202, 5645, 3707, 24, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 3707, 24, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 2956, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 529, 273, 315, 2956, 14432, 1082, 202, 97, 1082, 202, 18898, 14149, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 2972, 9053, 18, 3085, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 511, 18454, 67, 869, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 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, 514, 225, 8735, 14149, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 202, 202, 780, 508, 31, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 8735, 14149, 67, 9053, 273, 446, 31, 202, 202, 529, 33, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2956, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 3707, 24, 67, 9053, 273, 446, 31, 1082, 202, 5645, 3707, 24, 67, 9053, 273, 261, 3341, 18, 2 ]
if (lc != null && lc.size() != retVal.getDefaultPixels().getSizeC())
if (lc != null && lc.size() == retVal.getDefaultPixels().getSizeC())
public ImageData retrieveImage(int id, ImageData retVal) throws DSOutOfServiceException, DSAccessException { //Make a new retVal if none was provided. if (retVal == null) retVal = new ImageData(); //Define the criteria by which the object graph is pulled out. Criteria c = ImageMapper.buildImageCriteria(id); //Load the graph defined by criteria. Image image = (Image) gateway.retrieveData(Image.class, c); //Put the server data into the corresponding client object. if (image == null) return retVal; ImageMapper.fillImage(image, retVal); //retrieve the realSize of a pixels. c = PixelsMapper.buildPixelsDimensionCriteria(id); Dimensions pixelDim = (Dimensions) gateway.retrieveSTSData("Dimensions", c); if (pixelDim != null) PixelsMapper.fillPixelsDimensions(pixelDim, retVal.getDefaultPixels()); c = PixelsMapper.buildLogicalChannelCriteria( STSMapper.IMAGE_GRANULARITY, id); List lc = (List) gateway.retrieveListSTSData("LogicalChannel", c); //need to fix problem if no logical channel(shouldn't happen) if (lc != null && lc.size() != retVal.getDefaultPixels().getSizeC()) retVal.setChannels(ImageMapper.fillImageChannels(lc)); else retVal.setChannels(ImageMapper.fillDefaultImageChannels( retVal.getDefaultPixels().getSizeC())); //Can be an empty data object. return retVal; }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a44d8080256cccc4fed6a1e9925c5e4177ac6b89/DMSAdapter.java/clean/SRC/org/openmicroscopy/shoola/env/data/DMSAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3421, 751, 4614, 2040, 12, 474, 612, 16, 3421, 751, 12197, 13, 202, 202, 15069, 8678, 11224, 15133, 16, 8678, 9773, 565, 288, 202, 202, 759, 6464, 279, 394, 12197, 309, 6555, 1703, 2112, 18, 377, 202, 430, 261, 1349, 3053, 422, 446, 13, 12197, 273, 394, 3421, 751, 5621, 202, 202, 759, 11644, 326, 3582, 635, 1492, 326, 733, 2667, 353, 30741, 596, 18, 202, 202, 7231, 276, 273, 3421, 4597, 18, 3510, 2040, 7231, 12, 350, 1769, 25083, 202, 759, 2563, 326, 2667, 2553, 635, 3582, 18, 202, 202, 2040, 1316, 273, 261, 2040, 13, 6878, 18, 17466, 751, 12, 2040, 18, 1106, 16, 276, 1769, 202, 202, 759, 6426, 326, 1438, 501, 1368, 326, 4656, 1004, 733, 18, 3639, 309, 261, 2730, 422, 446, 13, 327, 12197, 31, 3639, 3421, 4597, 18, 5935, 2040, 12, 2730, 16, 12197, 1769, 3639, 368, 17466, 326, 2863, 1225, 434, 279, 8948, 18, 3639, 276, 273, 26070, 87, 4597, 18, 3510, 18079, 8611, 7231, 12, 350, 1769, 3639, 463, 23124, 4957, 5225, 273, 2398, 261, 10796, 13, 6878, 18, 17466, 882, 55, 751, 2932, 10796, 3113, 276, 1769, 3639, 309, 261, 11743, 5225, 480, 446, 13, 5411, 26070, 87, 4597, 18, 5935, 18079, 10796, 12, 11743, 5225, 16, 5397, 12197, 18, 588, 1868, 18079, 10663, 3639, 276, 273, 26070, 87, 4597, 18, 3510, 17955, 2909, 7231, 12, 7734, 2347, 55, 4597, 18, 13603, 67, 6997, 1258, 19545, 4107, 16, 612, 1769, 3639, 987, 9109, 273, 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, 377, 1071, 3421, 751, 4614, 2040, 12, 474, 612, 16, 3421, 751, 12197, 13, 202, 202, 15069, 8678, 11224, 15133, 16, 8678, 9773, 565, 288, 202, 202, 759, 6464, 279, 394, 12197, 309, 6555, 1703, 2112, 18, 377, 202, 430, 261, 1349, 3053, 422, 446, 13, 12197, 273, 394, 3421, 751, 5621, 202, 202, 759, 11644, 326, 3582, 635, 1492, 326, 733, 2667, 353, 30741, 596, 18, 202, 202, 7231, 276, 273, 3421, 4597, 18, 3510, 2040, 7231, 12, 350, 1769, 25083, 202, 759, 2563, 326, 2667, 2553, 635, 3582, 18, 202, 202, 2040, 1316, 273, 261, 2040, 13, 6878, 18, 17466, 751, 12, 2040, 18, 1106, 16, 276, 1769, 202, 202, 759, 6426, 326, 1438, 501, 1368, 326, 2 ]
status = BugzillaOfflineStatus.SAVED;
status = RepositoryTaskSyncState.SYNCHRONIZED;
public BugzillaOfflineStatus add(final BugzillaReport entry, boolean forceSync) throws CoreException { BugzillaOfflineStatus status = BugzillaOfflineStatus.SAVED; try { String handle = AbstractRepositoryTask.getHandle(entry.getRepositoryUrl(), entry.getId()); ITask task = MylarTaskListPlugin.getTaskListManager().getTaskList().getTask(handle); if (task != null && task instanceof AbstractRepositoryTask) { AbstractRepositoryTask repositoryTask = (AbstractRepositoryTask) task; TaskRepository repository = MylarTaskListPlugin.getRepositoryManager().getRepository(repositoryTask.getRepositoryKind(), repositoryTask.getRepositoryUrl()); if(repository == null) { throw new Exception("No repository associated with task. Unable to retrieve timezone information."); } TimeZone repositoryTimeZone = DateUtil.getTimeZone(repository.getTimeZoneId()); int index = -1; if ((index = find(entry.getRepositoryUrl(), entry.getId())) >= 0) { BugzillaReport oldBug = list.get(index); if (repositoryTask.getLastSynchronized() == null || entry.getLastModified(repositoryTimeZone).compareTo(repositoryTask.getLastSynchronized()) > 0 || forceSync) { if (oldBug.hasChanges()) { PlatformUI.getWorkbench().getDisplay().syncExec(new Runnable() { public void run() { updateLocalCopy = MessageDialog .openQuestion( null, "Update Local Copy", "Local copy of Report " + entry.getId() + " on " + entry.getRepositoryUrl() + " has changes.\nWould you like to override local changes? \n\nNote: if you select No, only the new comment will be saved with the updated bug, all other changes will be lost."); } }); if (!updateLocalCopy) { ((BugzillaReport) entry).setNewComment(((BugzillaReport) oldBug).getNewComment()); ((BugzillaReport) entry).setHasChanged(true); status = BugzillaOfflineStatus.CONFLICT; } else { ((BugzillaReport) entry).setHasChanged(false); status = BugzillaOfflineStatus.SAVED; } } else { if (forceSync) { status = BugzillaOfflineStatus.SAVED; } else { status = BugzillaOfflineStatus.SAVED_WITH_INCOMMING_CHANGES; } } list.remove(index); if (entry.hasChanges() && status != BugzillaOfflineStatus.CONFLICT) { status = BugzillaOfflineStatus.SAVED_WITH_OUTGOING_CHANGES; } list.add(entry); writeFile(); } } else { // report doesn't exist in offline reports list.add(entry); writeFile(); } repositoryTask.setLastSynchronized(entry.getLastModified(repositoryTimeZone)); } } catch (Exception e) { e.printStackTrace(); IStatus runtimestatus = new Status(IStatus.ERROR, BugzillaUiPlugin.PLUGIN_ID, IStatus.OK, "failed to add offline report", e); throw new CoreException(runtimestatus); } return status; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/70c9f3bb8d345dca7657801fbf2f7ea03f6458d8/OfflineReportsFile.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/OfflineReportsFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16907, 15990, 23106, 1482, 527, 12, 6385, 16907, 15990, 4820, 1241, 16, 1250, 2944, 4047, 13, 1216, 30015, 288, 202, 202, 19865, 15990, 23106, 1482, 1267, 273, 16907, 15990, 23106, 1482, 18, 5233, 12135, 31, 202, 202, 698, 288, 1082, 202, 780, 1640, 273, 4115, 3305, 2174, 18, 588, 3259, 12, 4099, 18, 588, 3305, 1489, 9334, 1241, 18, 26321, 10663, 1082, 202, 1285, 835, 1562, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 588, 2174, 12, 4110, 1769, 25083, 202, 430, 261, 4146, 480, 446, 597, 1562, 1276, 4115, 3305, 2174, 13, 288, 9506, 202, 7469, 3305, 2174, 3352, 2174, 273, 261, 7469, 3305, 2174, 13, 1562, 31, 6862, 9506, 202, 2174, 3305, 3352, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 9071, 2174, 18, 588, 3305, 5677, 9334, 3352, 2174, 18, 588, 3305, 1489, 10663, 6862, 9506, 202, 430, 12, 9071, 422, 446, 13, 288, 6862, 202, 12849, 394, 1185, 2932, 2279, 3352, 3627, 598, 1562, 18, 18640, 358, 4614, 6371, 1779, 1199, 1769, 9506, 202, 97, 6862, 9506, 202, 16760, 3352, 16760, 273, 2167, 1304, 18, 588, 16760, 12, 9071, 18, 588, 16760, 548, 10663, 6862, 6862, 9506, 202, 474, 770, 273, 300, 21, 31, 9506, 202, 430, 14015, 1615, 273, 1104, 12, 4099, 18, 588, 3305, 1489, 9334, 1241, 18, 26321, 1435, 3719, 1545, 374, 13, 288, 6862, 202, 19865, 15990, 4820, 1592, 19865, 273, 666, 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, 16907, 15990, 23106, 1482, 527, 12, 6385, 16907, 15990, 4820, 1241, 16, 1250, 2944, 4047, 13, 1216, 30015, 288, 202, 202, 19865, 15990, 23106, 1482, 1267, 273, 16907, 15990, 23106, 1482, 18, 5233, 12135, 31, 202, 202, 698, 288, 1082, 202, 780, 1640, 273, 4115, 3305, 2174, 18, 588, 3259, 12, 4099, 18, 588, 3305, 1489, 9334, 1241, 18, 26321, 10663, 1082, 202, 1285, 835, 1562, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 2174, 682, 1318, 7675, 588, 2174, 682, 7675, 588, 2174, 12, 4110, 1769, 25083, 202, 430, 261, 4146, 480, 446, 597, 1562, 1276, 4115, 3305, 2174, 13, 288, 9506, 202, 7469, 3305, 2174, 3352, 2174, 273, 261, 7469, 3305, 2174, 13, 1562, 2 ]
in = new BufferedReader(new InputStreamReader(new URL(url).openStream())); BugReport bug = BugParser.parseBug(in, id, BugzillaPlugin.getDefault().getServerName(), BugzillaPreferences.is218(), BugzillaPreferences.getUserName(), BugzillaPreferences.getPassword()); return bug;
URL bugUrl = new URL(url); URLConnection cntx = BugzillaPlugin.getDefault().getUrlConnection(bugUrl); if(cntx != null){ InputStream input = cntx.getInputStream(); if(input != null) { in = new BufferedReader(new InputStreamReader(input)); BugReport bug = BugParser.parseBug(in, id, BugzillaPlugin.getDefault().getServerName(), BugzillaPreferences.is218(), BugzillaPreferences.getUserName(), BugzillaPreferences.getPassword()); return bug; } } return null;
public BugReport getBug(int id) throws IOException, MalformedURLException, LoginException { BufferedReader in = null; try { // connect to the bugzilla server SSLContext ctx = SSLContext.getInstance("TLS"); javax.net.ssl.TrustManager[] tm = new javax.net.ssl.TrustManager[]{new TrustAll()}; ctx.init(null, tm, null); HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory()); // create a new input stream for getting the bug String url = bugzillaUrl + "/show_bug.cgi?id=" + id; // allow the use to only see the operations that they can do to a bug if they have // their user name and password in the preferences if(BugzillaPreferences.getUserName() != null && !BugzillaPreferences.getUserName().equals("") && BugzillaPreferences.getPassword() != null && !BugzillaPreferences.getPassword().equals("")) { /* * The UnsupportedEncodingException exception for * URLEncoder.encode() should not be thrown, since every * implementation of the Java platform is required to support * the standard charset "UTF-8" */ url += "&GoAheadAndLogIn=1&Bugzilla_login=" + URLEncoder.encode(BugzillaPreferences.getUserName(), "UTF-8") + "&Bugzilla_password=" + URLEncoder.encode(BugzillaPreferences.getPassword(), "UTF-8"); } in = new BufferedReader(new InputStreamReader(new URL(url).openStream())); // get the actual bug fron the server and return it BugReport bug = BugParser.parseBug(in, id, BugzillaPlugin.getDefault().getServerName(), BugzillaPreferences.is218(), BugzillaPreferences.getUserName(), BugzillaPreferences.getPassword()); return bug; } catch (MalformedURLException e) { throw e; } catch (IOException e) { throw e; } catch(LoginException e) { throw e; } catch(Exception e) { // throw an exception if there is a problem reading the bug from the server throw new IOException(e.getMessage()); } finally { try{ if(in != null) in.close(); }catch(IOException e) { BugzillaPlugin.log(new Status(IStatus.ERROR, IBugzillaConstants.PLUGIN_ID,IStatus.ERROR,"Problem closing the stream", e)); } } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/0282a0bed26a92a6b98cf857cd27fa3c1fbdc15a/BugzillaRepository.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16907, 4820, 2882, 637, 12, 474, 612, 13, 1216, 1860, 16, 20710, 16, 11744, 503, 202, 95, 202, 202, 17947, 2514, 316, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 759, 3077, 358, 326, 7934, 15990, 1438, 1082, 202, 6745, 1042, 1103, 273, 26886, 18, 588, 1442, 2932, 9905, 8863, 25083, 202, 28384, 18, 2758, 18, 8157, 18, 14146, 1318, 8526, 6118, 273, 394, 6863, 18, 2758, 18, 8157, 18, 14146, 1318, 63, 7073, 2704, 20246, 1595, 17767, 31, 1082, 202, 5900, 18, 2738, 12, 2011, 16, 6118, 16, 446, 1769, 1082, 202, 22077, 14790, 18, 542, 1868, 1260, 25831, 1733, 12, 5900, 18, 588, 4534, 1733, 10663, 25083, 202, 759, 752, 279, 394, 810, 1407, 364, 8742, 326, 7934, 25083, 202, 780, 880, 273, 7934, 15990, 1489, 397, 2206, 4500, 67, 925, 18, 19062, 35, 350, 1546, 397, 612, 31, 9506, 202, 759, 1699, 326, 999, 358, 1338, 2621, 326, 5295, 716, 2898, 848, 741, 358, 279, 7934, 309, 2898, 1240, 1082, 202, 759, 3675, 729, 508, 471, 2201, 316, 326, 12750, 1082, 202, 430, 12, 19865, 15990, 12377, 18, 588, 15296, 1435, 480, 446, 597, 401, 19865, 15990, 12377, 18, 588, 15296, 7675, 14963, 2932, 7923, 597, 16907, 15990, 12377, 18, 588, 3913, 1435, 480, 446, 597, 401, 19865, 15990, 12377, 18, 588, 3913, 7675, 14963, 2932, 6, 3719, 1082, 202, 95, 9506, 202, 20308, 6862, 380, 1021, 15367, 1520, 364, 6862, 380, 1976, 7204, 18, 3015, 1435, 1410, 486, 506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16907, 4820, 2882, 637, 12, 474, 612, 13, 1216, 1860, 16, 20710, 16, 11744, 503, 202, 95, 202, 202, 17947, 2514, 316, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 759, 3077, 358, 326, 7934, 15990, 1438, 1082, 202, 6745, 1042, 1103, 273, 26886, 18, 588, 1442, 2932, 9905, 8863, 25083, 202, 28384, 18, 2758, 18, 8157, 18, 14146, 1318, 8526, 6118, 273, 394, 6863, 18, 2758, 18, 8157, 18, 14146, 1318, 63, 7073, 2704, 20246, 1595, 17767, 31, 1082, 202, 5900, 18, 2738, 12, 2011, 16, 6118, 16, 446, 1769, 1082, 202, 22077, 14790, 18, 542, 1868, 1260, 25831, 1733, 12, 5900, 18, 588, 4534, 1733, 10663, 25083, 202, 759, 752, 279, 394, 810, 2 ]
public long getFieldAsLong(int tag) { return getFieldAsLong(tag, 0);
public long getFieldAsLong(int tag, int index) { Integer i = (Integer)fieldIndex.get(new Integer(tag)); return (fields[i.intValue()]).getAsLong(index);
public long getFieldAsLong(int tag) { return getFieldAsLong(tag, 0); }
49628 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49628/a1be1248844086c581b24a58b65c7367a0c8b697/TIFFDirectory.java/buggy/src/share/classes/com/sun/media/jai/codec/TIFFDirectory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1525, 5031, 1463, 3708, 12, 474, 1047, 13, 288, 3639, 327, 5031, 1463, 3708, 12, 2692, 16, 374, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1525, 5031, 1463, 3708, 12, 474, 1047, 13, 288, 3639, 327, 5031, 1463, 3708, 12, 2692, 16, 374, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (this.useTab) { this.indentationLevel = preferences.initial_indentation_level; } else { this.indentationLevel = preferences.initial_indentation_level * this.tabSize; }
this.indentationLevel = preferences.initial_indentation_level * this.indentationSize;
public void setLineSeparatorAndIdentationLevel(DefaultCodeFormatterOptions preferences) { this.lineSeparator = preferences.line_separator; if (this.useTab) { this.indentationLevel = preferences.initial_indentation_level; } else { this.indentationLevel = preferences.initial_indentation_level * this.tabSize; } }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/89bcdbe3377ffa239857ce6e220c3e9a2f048f0c/Scribe.java/clean/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 26482, 6581, 1876, 6106, 367, 2355, 12, 1868, 1085, 5074, 1320, 12750, 13, 288, 202, 202, 2211, 18, 1369, 6581, 273, 12750, 18, 1369, 67, 11287, 31, 202, 202, 430, 261, 2211, 18, 1202, 5661, 13, 288, 1082, 202, 2211, 18, 9355, 367, 2355, 273, 12750, 18, 6769, 67, 9355, 367, 67, 2815, 31, 202, 202, 97, 469, 288, 1082, 202, 2211, 18, 9355, 367, 2355, 273, 12750, 18, 6769, 67, 9355, 367, 67, 2815, 380, 333, 18, 7032, 1225, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 26482, 6581, 1876, 6106, 367, 2355, 12, 1868, 1085, 5074, 1320, 12750, 13, 288, 202, 202, 2211, 18, 1369, 6581, 273, 12750, 18, 1369, 67, 11287, 31, 202, 202, 430, 261, 2211, 18, 1202, 5661, 13, 288, 1082, 202, 2211, 18, 9355, 367, 2355, 273, 12750, 18, 6769, 67, 9355, 367, 67, 2815, 31, 202, 202, 97, 469, 288, 1082, 202, 2211, 18, 9355, 367, 2355, 273, 12750, 18, 6769, 67, 9355, 367, 67, 2815, 380, 333, 18, 7032, 1225, 31, 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 ]
negativeSuffix = buf.toString();
buf.sync(); negativeSuffix = buf.getBuffer().toString(); negativeSuffixRanges = buf.getRanges(); negativeSuffixAttrs = buf.getAttributes();
private final void applyPatternWithSymbols (String pattern, DecimalFormatSymbols syms) { // Initialize to the state the parser expects. negativePrefix = ""; negativeSuffix = ""; positivePrefix = ""; positiveSuffix = ""; decimalSeparatorAlwaysShown = false; groupingSize = 0; minExponentDigits = 0; multiplier = 1; useExponentialNotation = false; groupingUsed = false; maximumFractionDigits = 0; maximumIntegerDigits = 309; minimumFractionDigits = 0; minimumIntegerDigits = 1; StringBuffer buf = new StringBuffer (); String patChars = patternChars (syms); int max = pattern.length(); int index = scanFix (pattern, 0, buf, patChars, syms, false); positivePrefix = buf.toString(); index = scanFormat (pattern, index, patChars, syms, true); index = scanFix (pattern, index, buf, patChars, syms, true); positiveSuffix = buf.toString(); if (index == pattern.length()) { // No negative info. negativePrefix = null; negativeSuffix = null; } else { if (pattern.charAt(index) != syms.getPatternSeparator()) throw new IllegalArgumentException ("separator character " + "expected - index: " + index); index = scanFix (pattern, index + 1, buf, patChars, syms, false); negativePrefix = buf.toString(); // We parse the negative format for errors but we don't let // it side-effect this object. index = scanFormat (pattern, index, patChars, syms, false); index = scanFix (pattern, index, buf, patChars, syms, true); negativeSuffix = buf.toString(); if (index != pattern.length()) throw new IllegalArgumentException ("end of pattern expected " + "- index: " + index); } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/acb928c05726e6c04a7ad32d764d8be623314a39/DecimalFormat.java/clean/libraries/javalib/java/text/DecimalFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 918, 2230, 3234, 1190, 14821, 261, 780, 1936, 16, 25083, 1377, 29665, 14821, 24367, 13, 225, 288, 565, 368, 9190, 358, 326, 919, 326, 2082, 10999, 18, 565, 6092, 2244, 273, 1408, 31, 565, 6092, 5791, 273, 1408, 31, 565, 6895, 2244, 273, 1408, 31, 565, 6895, 5791, 273, 1408, 31, 565, 6970, 6581, 18806, 27042, 273, 629, 31, 565, 12116, 1225, 273, 374, 31, 565, 1131, 17972, 9537, 273, 374, 31, 565, 15027, 273, 404, 31, 565, 999, 17972, 649, 14818, 273, 629, 31, 565, 12116, 6668, 273, 629, 31, 565, 4207, 13724, 9537, 273, 374, 31, 565, 4207, 4522, 9537, 273, 5196, 29, 31, 565, 5224, 13724, 9537, 273, 374, 31, 565, 5224, 4522, 9537, 273, 404, 31, 565, 6674, 1681, 273, 394, 6674, 261, 1769, 565, 514, 9670, 7803, 273, 1936, 7803, 261, 9009, 959, 1769, 565, 509, 943, 273, 1936, 18, 2469, 5621, 565, 509, 770, 273, 4135, 8585, 261, 4951, 16, 374, 16, 1681, 16, 9670, 7803, 16, 24367, 16, 629, 1769, 565, 6895, 2244, 273, 1681, 18, 10492, 5621, 565, 770, 273, 4135, 1630, 261, 4951, 16, 770, 16, 9670, 7803, 16, 24367, 16, 638, 1769, 565, 770, 273, 4135, 8585, 261, 4951, 16, 770, 16, 1681, 16, 9670, 7803, 16, 24367, 16, 638, 1769, 565, 6895, 5791, 273, 1681, 18, 10492, 5621, 565, 309, 261, 1615, 422, 1936, 18, 2469, 10756, 1377, 288, 202, 759, 2631, 6092, 1123, 18, 202, 13258, 2244, 273, 446, 31, 202, 13258, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 918, 2230, 3234, 1190, 14821, 261, 780, 1936, 16, 25083, 1377, 29665, 14821, 24367, 13, 225, 288, 565, 368, 9190, 358, 326, 919, 326, 2082, 10999, 18, 565, 6092, 2244, 273, 1408, 31, 565, 6092, 5791, 273, 1408, 31, 565, 6895, 2244, 273, 1408, 31, 565, 6895, 5791, 273, 1408, 31, 565, 6970, 6581, 18806, 27042, 273, 629, 31, 565, 12116, 1225, 273, 374, 31, 565, 1131, 17972, 9537, 273, 374, 31, 565, 15027, 273, 404, 31, 565, 999, 17972, 649, 14818, 273, 629, 31, 565, 12116, 6668, 273, 629, 31, 565, 4207, 13724, 9537, 273, 374, 31, 565, 4207, 4522, 9537, 273, 5196, 29, 31, 565, 5224, 13724, 9537, 273, 374, 31, 565, 5224, 4522, 2 ]
while (bytesWritten != contentLength) { len = is.read(buffer); if (len != -1) { baos.write(buffer, 0, len); bytesWritten += len; if (contentLengthNotSet) { contentLength = bytesWritten;
if(contentLengthNotSet) { logger.error("Header Content-Length not set on http request. Will still read content until end of stream."); while (bytesWritten != contentLength) { len = is.read(buffer); if (len != -1) { baos.write(buffer, 0, len); bytesWritten += len; if (contentLengthNotSet) { contentLength = bytesWritten; }
protected byte[] parseRequest(InputStream is, Properties p) throws IOException { byte[] payload; String line = null; try { line = HttpParser.readLine(is); } catch (SocketException e) { return null; } catch (SocketTimeoutException e) { return null; } if (line == null) { return null; } int space1 = line.indexOf(" "); int space2 = line.indexOf(" ", space1 + 1); if (space1 == -1 || space2 == -1) { throw new IOException("Http message header line is malformed: " + line); } String method = line.substring(0, space1); String request = line.substring(space1 + 1, space2); String httpVersion = line.substring(space2 + 1); p.setProperty(HttpConnector.HTTP_METHOD_PROPERTY, method); p.setProperty(HttpConnector.HTTP_REQUEST_PROPERTY, request); p.setProperty(HttpConnector.HTTP_VERSION_PROPERTY, httpVersion); // Read headers from the request as set them as properties on the event Header[] headers = HttpParser.parseHeaders(is); String name; for (int i = 0; i < headers.length; i++) { name = headers[i].getName(); if (name.startsWith("X-" + MuleProperties.PROPERTY_PREFIX)) { name = name.substring(2); } p.setProperty(name, headers[i].getValue()); } if (method.equals(HttpConstants.METHOD_GET)) { payload = request.getBytes(); } else { boolean contentLengthNotSet = p.getProperty(HttpConstants.HEADER_CONTENT_LENGTH, null) == null; int contentLength = Integer.parseInt(p.getProperty(HttpConstants.HEADER_CONTENT_LENGTH, String.valueOf(1024 * 32))); byte[] buffer = new byte[contentLength]; ByteArrayOutputStream baos = new ByteArrayOutputStream(); int len = 0; int bytesWritten = 0; // Ensure we read all bytes, http connections may be slow // to send all bytes in consistent stream. I've only seen // this when using Axis... while (bytesWritten != contentLength) { len = is.read(buffer); if (len != -1) { baos.write(buffer, 0, len); bytesWritten += len; if (contentLengthNotSet) { contentLength = bytesWritten; } } } payload = baos.toByteArray(); baos.close(); } return payload; }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/be4adf27466e701efbee021c2468e30e2e26392b/HttpMessageReceiver.java/buggy/providers/http/src/java/org/mule/providers/http/HttpMessageReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1160, 8526, 1109, 691, 12, 4348, 353, 16, 6183, 293, 13, 1216, 1860, 565, 288, 3639, 1160, 8526, 2385, 31, 3639, 514, 980, 273, 446, 31, 3639, 775, 288, 5411, 980, 273, 2541, 2678, 18, 896, 1670, 12, 291, 1769, 3639, 289, 1044, 261, 4534, 503, 425, 13, 288, 5411, 327, 446, 31, 3639, 289, 1044, 261, 4534, 22195, 425, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 1369, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 509, 3476, 21, 273, 980, 18, 31806, 2932, 315, 1769, 3639, 509, 3476, 22, 273, 980, 18, 31806, 2932, 3104, 3476, 21, 397, 404, 1769, 3639, 309, 261, 2981, 21, 422, 300, 21, 747, 3476, 22, 422, 300, 21, 13, 288, 5411, 604, 394, 1860, 2932, 2940, 883, 1446, 980, 353, 17458, 30, 315, 397, 980, 1769, 3639, 289, 3639, 514, 707, 273, 980, 18, 28023, 12, 20, 16, 3476, 21, 1769, 3639, 514, 590, 273, 980, 18, 28023, 12, 2981, 21, 397, 404, 16, 3476, 22, 1769, 3639, 514, 1062, 1444, 273, 980, 18, 28023, 12, 2981, 22, 397, 404, 1769, 3639, 293, 18, 542, 1396, 12, 2940, 7487, 18, 3693, 67, 5327, 67, 9900, 16, 707, 1769, 3639, 293, 18, 542, 1396, 12, 2940, 7487, 18, 3693, 67, 5519, 67, 9900, 16, 590, 1769, 3639, 293, 18, 542, 1396, 12, 2940, 7487, 18, 3693, 67, 5757, 67, 9900, 16, 1062, 1444, 1769, 3639, 368, 2720, 1607, 628, 326, 590, 487, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1160, 8526, 1109, 691, 12, 4348, 353, 16, 6183, 293, 13, 1216, 1860, 565, 288, 3639, 1160, 8526, 2385, 31, 3639, 514, 980, 273, 446, 31, 3639, 775, 288, 5411, 980, 273, 2541, 2678, 18, 896, 1670, 12, 291, 1769, 3639, 289, 1044, 261, 4534, 503, 425, 13, 288, 5411, 327, 446, 31, 3639, 289, 1044, 261, 4534, 22195, 425, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 1369, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 509, 3476, 21, 273, 980, 18, 31806, 2932, 315, 1769, 3639, 509, 3476, 22, 273, 980, 18, 31806, 2932, 3104, 3476, 21, 397, 404, 1769, 3639, 309, 261, 2981, 21, 422, 300, 21, 747, 2 ]
if (jj_3R_208()) return true;
if (jj_scan_token(COMMA)) return true; if (jj_3R_82()) return true;
final private boolean jj_3R_195() { if (jj_3R_208()) return true; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/b068fe5a79db07a544f081402e946a51a0f553c2/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 31677, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 4208, 5535, 3719, 327, 638, 31, 309, 261, 78, 78, 67, 23, 54, 67, 11149, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 31677, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 4208, 5535, 3719, 327, 638, 31, 309, 261, 78, 78, 67, 23, 54, 67, 11149, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void createFileWindow(Dim.SourceInfo sourceInfo, int line) {
protected void createFileWindow(Dim.SourceInfo sourceInfo, int line) {
void createFileWindow(Dim.SourceInfo sourceInfo, int line) { boolean activate = true; String url = sourceInfo.url(); FileWindow w = new FileWindow(this, sourceInfo); fileWindows.put(url, w); if (line != -1) { if (currentWindow != null) { currentWindow.setPosition(-1); } try { w.setPosition(w.textArea.getLineStartOffset(line-1)); } catch (BadLocationException exc) { try { w.setPosition(w.textArea.getLineStartOffset(0)); } catch (BadLocationException ee) { w.setPosition(-1); } } } desk.add(w); if (line != -1) { currentWindow = w; } menubar.addFile(url); w.setVisible(true); if (activate) { try { w.setMaximum(true); w.setSelected(true); w.moveToFront(); } catch (Exception exc) { } } }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/aa29c493e59404f8c5a2c30a8f715250a43b947a/SwingGui.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 21266, 3829, 12, 5225, 18, 1830, 966, 1084, 966, 16, 509, 980, 13, 288, 3639, 1250, 10235, 273, 638, 31, 3639, 514, 880, 273, 1084, 966, 18, 718, 5621, 3639, 1387, 3829, 341, 273, 394, 1387, 3829, 12, 2211, 16, 1084, 966, 1769, 3639, 585, 10399, 18, 458, 12, 718, 16, 341, 1769, 3639, 309, 261, 1369, 480, 300, 21, 13, 288, 5411, 309, 261, 2972, 3829, 480, 446, 13, 288, 7734, 783, 3829, 18, 542, 2555, 19236, 21, 1769, 5411, 289, 5411, 775, 288, 7734, 341, 18, 542, 2555, 12, 91, 18, 955, 5484, 18, 588, 1670, 1685, 2335, 12, 1369, 17, 21, 10019, 5411, 289, 1044, 261, 6434, 2735, 503, 3533, 13, 288, 7734, 775, 288, 10792, 341, 18, 542, 2555, 12, 91, 18, 955, 5484, 18, 588, 1670, 1685, 2335, 12, 20, 10019, 7734, 289, 1044, 261, 6434, 2735, 503, 14657, 13, 288, 10792, 341, 18, 542, 2555, 19236, 21, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 2832, 79, 18, 1289, 12, 91, 1769, 3639, 309, 261, 1369, 480, 300, 21, 13, 288, 5411, 783, 3829, 273, 341, 31, 3639, 289, 3639, 21247, 373, 297, 18, 1289, 812, 12, 718, 1769, 3639, 341, 18, 542, 6207, 12, 3767, 1769, 3639, 309, 261, 10014, 13, 288, 5411, 775, 288, 7734, 341, 18, 542, 13528, 12, 3767, 1769, 7734, 341, 18, 542, 7416, 12, 3767, 1769, 7734, 341, 18, 8501, 774, 9580, 5621, 5411, 289, 1044, 261, 503, 3533, 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, 4750, 918, 21266, 3829, 12, 5225, 18, 1830, 966, 1084, 966, 16, 509, 980, 13, 288, 3639, 1250, 10235, 273, 638, 31, 3639, 514, 880, 273, 1084, 966, 18, 718, 5621, 3639, 1387, 3829, 341, 273, 394, 1387, 3829, 12, 2211, 16, 1084, 966, 1769, 3639, 585, 10399, 18, 458, 12, 718, 16, 341, 1769, 3639, 309, 261, 1369, 480, 300, 21, 13, 288, 5411, 309, 261, 2972, 3829, 480, 446, 13, 288, 7734, 783, 3829, 18, 542, 2555, 19236, 21, 1769, 5411, 289, 5411, 775, 288, 7734, 341, 18, 542, 2555, 12, 91, 18, 955, 5484, 18, 588, 1670, 1685, 2335, 12, 1369, 17, 21, 10019, 5411, 289, 1044, 261, 6434, 2735, 503, 3533, 13, 288, 7734, 2 ]
Assert.assert(pointer!=null);
Assert._assert(pointer!=null);
protected PK11SymKey(byte[] pointer) { Assert.assert(pointer!=null); keyProxy = new SymKeyProxy(pointer); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/6ddc297e30f1af6609057abe4502eaa3ba3bb664/PK11SymKey.java/clean/security/jss/org/mozilla/jss/pkcs11/PK11SymKey.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 11327, 2499, 11901, 653, 12, 7229, 8526, 4407, 13, 288, 3639, 5452, 6315, 11231, 12, 10437, 5, 33, 2011, 1769, 3639, 498, 3886, 225, 273, 394, 10042, 653, 3886, 12, 10437, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 11327, 2499, 11901, 653, 12, 7229, 8526, 4407, 13, 288, 3639, 5452, 6315, 11231, 12, 10437, 5, 33, 2011, 1769, 3639, 498, 3886, 225, 273, 394, 10042, 653, 3886, 12, 10437, 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 ]
return RubyBoolean.newBoolean(recv.getRuntime(),
return recv.getRuntime().newBoolean(
public static IRubyObject exist_p(IRubyObject recv, RubyString filename) { return RubyBoolean.newBoolean(recv.getRuntime(), new File(filename.getValue()).exists()); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyFileTest.java/buggy/src/org/jruby/RubyFileTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 1005, 67, 84, 12, 7937, 10340, 921, 10665, 16, 19817, 780, 1544, 13, 288, 3639, 327, 10665, 18, 588, 5576, 7675, 2704, 5507, 12, 1171, 394, 1387, 12, 3459, 18, 24805, 1435, 2934, 1808, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 1005, 67, 84, 12, 7937, 10340, 921, 10665, 16, 19817, 780, 1544, 13, 288, 3639, 327, 10665, 18, 588, 5576, 7675, 2704, 5507, 12, 1171, 394, 1387, 12, 3459, 18, 24805, 1435, 2934, 1808, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for(row = 0; row < ColumnValues.length ; ++row) { Vector thisRow = new Vector(6); Integer OriginalPosition = new Integer((String)ColumnValues[row][1]); for(col = 0; col < ((Vector)mVecVec.elementAt(row)).size(); ++col) { thisRow.addElement(((Vector)mVecVec.elementAt(OriginalPosition.intValue())).elementAt(col)); } SortedVector.addElement(thisRow); }
for(row = 0; row < ColumnValues.length ; ++row) { Vector thisRow = new Vector(6); Integer OriginalPosition = new Integer((String)ColumnValues[row][1]); for(col = 0; col < ((Vector)mVecVec.elementAt(row)).size(); ++col) { thisRow.addElement(((Vector)mVecVec.elementAt(OriginalPosition.intValue())).elementAt(col)); } SortedVector.addElement(thisRow); }
public void sortData(int column) { Object[][] ColumnValues = new String [mVecVec.size()][2]; int row; int col; for(row = 0 ; row < mVecVec.size() ; ++row) { ColumnValues[row][0] = (((Vector)mVecVec.elementAt(row)).elementAt(column)); ColumnValues[row][1] = new Integer(row).toString(); } System.out.println("Values before sorting"); for(row = 0; row < ColumnValues.length ; ++row) { System.out.println(ColumnValues[row][0] + " row: " + ColumnValues[row][1]); } QSort sorter = new QSort(new Comparer() { public int compare(Object a, Object b) { int returnValue; try { returnValue = (((String[])a)[0]).compareTo(((String[])b)[0]); } catch (NullPointerException e) { returnValue = 1; } return returnValue; } }); sorter.sort(ColumnValues); System.out.println("Values after sorting"); for(row = 0; row < ColumnValues.length ; ++row) { System.out.println(ColumnValues[row][0] + " row: " + ColumnValues[row][1]); } Vector SortedVector = new Vector(); for(row = 0; row < ColumnValues.length ; ++row) { Vector thisRow = new Vector(6); Integer OriginalPosition = new Integer((String)ColumnValues[row][1]); for(col = 0; col < ((Vector)mVecVec.elementAt(row)).size(); ++col) { thisRow.addElement(((Vector)mVecVec.elementAt(OriginalPosition.intValue())).elementAt(col)); } SortedVector.addElement(thisRow); } mVecVec = SortedVector; System.out.println("Hello"); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/clean/grendel/addressbook/AddressBook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1524, 751, 12, 474, 1057, 13, 288, 5411, 1033, 63, 6362, 65, 4753, 1972, 273, 394, 514, 306, 81, 12991, 12991, 18, 1467, 1435, 6362, 22, 15533, 5411, 509, 1027, 31, 5411, 509, 645, 31, 5411, 364, 12, 492, 273, 374, 274, 1027, 411, 312, 12991, 12991, 18, 1467, 1435, 274, 965, 492, 13, 288, 7734, 4753, 1972, 63, 492, 6362, 20, 65, 273, 261, 12443, 5018, 13, 81, 12991, 12991, 18, 2956, 861, 12, 492, 13, 2934, 2956, 861, 12, 2827, 10019, 7734, 4753, 1972, 63, 492, 6362, 21, 65, 273, 394, 2144, 12, 492, 2934, 10492, 5621, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 2932, 1972, 1865, 9602, 8863, 5411, 364, 12, 492, 273, 374, 31, 1027, 411, 4753, 1972, 18, 2469, 274, 965, 492, 13, 288, 7734, 2332, 18, 659, 18, 8222, 12, 1494, 1972, 63, 492, 6362, 20, 65, 397, 315, 1027, 30, 315, 397, 4753, 1972, 63, 492, 6362, 21, 19226, 5411, 289, 5411, 2238, 4416, 19867, 273, 394, 2238, 4416, 12, 2704, 1286, 21804, 1435, 288, 4766, 4202, 1071, 509, 3400, 12, 921, 279, 16, 1033, 324, 13, 288, 4766, 1850, 509, 7750, 31, 4766, 1850, 775, 288, 4766, 5411, 7750, 273, 261, 12443, 780, 63, 5717, 69, 25146, 20, 65, 2934, 9877, 774, 12443, 12, 780, 63, 5717, 70, 25146, 20, 19226, 4766, 1850, 289, 4766, 1850, 1044, 261, 2041, 9992, 425, 13, 288, 4766, 5411, 7750, 273, 404, 31, 4766, 1850, 289, 4766, 1850, 327, 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, 1524, 751, 12, 474, 1057, 13, 288, 5411, 1033, 63, 6362, 65, 4753, 1972, 273, 394, 514, 306, 81, 12991, 12991, 18, 1467, 1435, 6362, 22, 15533, 5411, 509, 1027, 31, 5411, 509, 645, 31, 5411, 364, 12, 492, 273, 374, 274, 1027, 411, 312, 12991, 12991, 18, 1467, 1435, 274, 965, 492, 13, 288, 7734, 4753, 1972, 63, 492, 6362, 20, 65, 273, 261, 12443, 5018, 13, 81, 12991, 12991, 18, 2956, 861, 12, 492, 13, 2934, 2956, 861, 12, 2827, 10019, 7734, 4753, 1972, 63, 492, 6362, 21, 65, 273, 394, 2144, 12, 492, 2934, 10492, 5621, 5411, 289, 5411, 2332, 18, 659, 18, 8222, 2932, 1972, 1865, 9602, 8863, 5411, 364, 12, 492, 2 ]
tokenPropList.add(words[1]); if(!words[3].equals("O")) spanList.add(new CharSpan(start,end,words[3],curDocID)); }
tokenPropList.add(words[1]); if(!words[3].equals("O")) spanList.add(new CharSpan(start,end,words[3],curDocID)); }
public void loadWordPerLineFile(TextBase base, File file) throws IOException, FileNotFoundException { this.tokenizer = new Tokenizer(Tokenizer.SPLIT, " "); if (labels == null) labels = new BasicTextLabels(base); String id = file.getName(); LineNumberReader in = new LineNumberReader(new FileReader(file)); String line; this.textBase = base; StringBuffer buf = new StringBuffer(""); int docNum = 1, start = 0, end = 0; curDocID = id + "-" + docNum; spanList = new ArrayList(); tokenPropList = new ArrayList(); while((line = in.readLine()) != null) { String[] words = line.split("\\s"); if(!(words[0].equals("-DOCSTART-"))) { if(words.length > 2) { start = buf.length(); buf.append(words[0]+" "); end = buf.length()-1; tokenPropList.add(words[1]); if(!words[3].equals("O")) spanList.add(new CharSpan(start,end,words[3],curDocID)); } }else { this.tokenizer = new Tokenizer(Tokenizer.SPLIT, " "); addDocument(buf.toString()); spanList = new ArrayList(); tokenPropList = new ArrayList(); buf = new StringBuffer(""); docNum++; curDocID = id + "-" + docNum; } } in.close(); }
51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/e6f5547ded82a315c0b8bcee96ff61710888c5a2/TextBaseLoader.java/clean/src/edu/cmu/minorthird/text/TextBaseLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 3944, 2173, 1670, 812, 12, 1528, 2171, 1026, 16, 1387, 585, 13, 1216, 1860, 16, 13707, 565, 288, 202, 2211, 18, 2316, 1824, 273, 394, 26702, 12, 10524, 18, 17482, 16, 315, 315, 1769, 202, 430, 261, 5336, 422, 446, 13, 202, 565, 3249, 273, 394, 7651, 1528, 5888, 12, 1969, 1769, 202, 780, 612, 273, 585, 18, 17994, 5621, 202, 31063, 2514, 316, 273, 394, 5377, 1854, 2514, 12, 2704, 23010, 12, 768, 10019, 202, 780, 980, 31, 202, 2211, 18, 955, 2171, 273, 1026, 31, 202, 780, 1892, 1681, 273, 394, 6674, 2932, 8863, 202, 474, 997, 2578, 273, 404, 16, 787, 273, 374, 16, 679, 273, 374, 31, 202, 1397, 1759, 734, 273, 612, 397, 7514, 397, 997, 2578, 31, 202, 3969, 682, 273, 394, 2407, 5621, 202, 2316, 4658, 682, 273, 394, 2407, 5621, 202, 17523, 12443, 1369, 273, 316, 18, 896, 1670, 10756, 480, 446, 13, 288, 202, 282, 514, 8526, 4511, 273, 980, 18, 4939, 2932, 1695, 87, 8863, 202, 282, 309, 12, 5, 12, 3753, 63, 20, 8009, 14963, 2932, 17, 19693, 7570, 10951, 20349, 288, 202, 4202, 309, 12, 3753, 18, 2469, 405, 576, 13, 288, 1082, 282, 787, 273, 1681, 18, 2469, 5621, 1082, 282, 1681, 18, 6923, 12, 3753, 63, 20, 3737, 6, 315, 1769, 1082, 282, 679, 273, 1681, 18, 2469, 1435, 17, 21, 31, 1082, 565, 1082, 26924, 282, 1147, 4658, 682, 18, 1289, 12, 3753, 63, 21, 19226, 1082, 282, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 3944, 2173, 1670, 812, 12, 1528, 2171, 1026, 16, 1387, 585, 13, 1216, 1860, 16, 13707, 565, 288, 202, 2211, 18, 2316, 1824, 273, 394, 26702, 12, 10524, 18, 17482, 16, 315, 315, 1769, 202, 430, 261, 5336, 422, 446, 13, 202, 565, 3249, 273, 394, 7651, 1528, 5888, 12, 1969, 1769, 202, 780, 612, 273, 585, 18, 17994, 5621, 202, 31063, 2514, 316, 273, 394, 5377, 1854, 2514, 12, 2704, 23010, 12, 768, 10019, 202, 780, 980, 31, 202, 2211, 18, 955, 2171, 273, 1026, 31, 202, 780, 1892, 1681, 273, 394, 6674, 2932, 8863, 202, 474, 997, 2578, 273, 404, 16, 787, 273, 374, 16, 679, 273, 374, 31, 202, 1397, 1759, 734, 2 ]
Stage produceStage(MethodFrame m) { //the getVarCount method is changed to a constant for a while //because it is not set properly in our situation. //Actually it is not easy to know how many variables there are. //This is handled in the Stage class. Stage stage = new Stage(m.getMethodName()); stage.setFont(stageFont); stage.calculateSize(typeValWidth[8] + 60, valueHeight + 8 + variableInsets.top + variableInsets.bottom); stage.setBackground(new Color(0xFFCCCC)); stage.setShadow(6); stage.setShadowImage(shadowImage); return stage; }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/7dbe4fad8c95ecd3fdb6d4198de685889c8517d9/ActorFactory.java/clean/src/jeliot/theatre/ActorFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 16531, 11402, 8755, 12, 1305, 3219, 312, 13, 288, 759, 5787, 22381, 1380, 707, 353, 3550, 358, 279, 5381, 364, 279, 1323, 759, 26274, 518, 353, 486, 444, 8214, 316, 3134, 20886, 18, 759, 2459, 3452, 518, 353, 486, 12779, 358, 5055, 3661, 4906, 3152, 1915, 854, 18, 759, 2503, 353, 7681, 316, 326, 16531, 667, 18, 8755, 6009, 273, 394, 16531, 12, 81, 18, 588, 11666, 10663, 12869, 18, 542, 5711, 12, 12869, 5711, 1769, 12869, 18, 11162, 1225, 12, 723, 3053, 2384, 63, 28, 65, 397, 4752, 16, 1132, 2686, 397, 1725, 397, 6105, 382, 4424, 18, 3669, 397, 6105, 382, 4424, 18, 9176, 1769, 12869, 18, 542, 8199, 12, 2704, 5563, 12, 20, 6356, 6743, 6743, 10019, 12869, 18, 542, 12957, 12, 26, 1769, 12869, 18, 542, 12957, 2040, 12, 19119, 2040, 1769, 2463, 6009, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 16531, 11402, 8755, 12, 1305, 3219, 312, 13, 288, 759, 5787, 22381, 1380, 707, 353, 3550, 358, 279, 5381, 364, 279, 1323, 759, 26274, 518, 353, 486, 444, 8214, 316, 3134, 20886, 18, 759, 2459, 3452, 518, 353, 486, 12779, 358, 5055, 3661, 4906, 3152, 1915, 854, 18, 759, 2503, 353, 7681, 316, 326, 16531, 667, 18, 8755, 6009, 273, 394, 16531, 12, 81, 18, 588, 11666, 10663, 12869, 18, 542, 5711, 12, 12869, 5711, 1769, 12869, 18, 11162, 1225, 12, 723, 3053, 2384, 63, 28, 65, 397, 4752, 16, 1132, 2686, 397, 1725, 397, 6105, 382, 4424, 18, 3669, 397, 6105, 382, 4424, 18, 9176, 1769, 12869, 18, 542, 8199, 12, 2704, 5563, 12, 20, 6356, 6743, 6743, 2 ]
String explicitAcct = getAccountId().equals(zc.getAuthtokenAccountId()) ? null : getAccountId();
String explicitAcct = getAccountId().equals(zsc.getAuthtokenAccountId()) ? null : getAccountId();
public Element putNotifications(ZimbraSoapContext zc, Element ctxt, int lastKnownSeqno) { if (ctxt == null) return null; Mailbox mbox; try { mbox = Mailbox.getMailboxByAccountId(getAccountId()); } catch (ServiceException e) { ZimbraLog.session.warn("error fetching mailbox for account " + getAccountId(), e); return ctxt; } String explicitAcct = getAccountId().equals(zc.getAuthtokenAccountId()) ? null : getAccountId(); // must lock the Mailbox before locking the Session to avoid deadlock // because ToXML functions can now call back into the Mailbox synchronized (mbox) { synchronized (this) { // send the <change> block // <change token="555" [acct="4f778920-1a84-11da-b804-6b188d2a20c4"]/> ctxt.addUniqueElement(ZimbraSoapContext.E_CHANGE) .addAttribute(ZimbraSoapContext.A_CHANGE_ID, mbox.getLastChangeID()) .addAttribute(ZimbraSoapContext.A_ACCOUNT_ID, explicitAcct); if (mSentChanges.size() > 100) { // cover ourselves in case a client is doing something really stupid... ZimbraLog.session.warn("Notification Change List abnormally long, misbehaving client."); mSentChanges.clear(); } // first, clear any PM's we now know the client has received for (Iterator<PendingModifications> iter = mSentChanges.iterator(); iter.hasNext(); ) { PendingModifications pm = iter.next(); if (pm.getSeqNo() <= lastKnownSeqno) iter.remove();// assert(pm.getSeqNo() > lastKnownSeqno); } if (mNotify) { if (mChanges.hasNotifications()) { assert(mChanges.getSeqNo() >= 1); int newSeqNo = mChanges.getSeqNo() + 1; mSentChanges.add(mChanges); mChanges = new PendingModifications(newSeqNo); } // drop out if notify is off or if there is nothing to send if (mSentChanges.isEmpty()) return ctxt; // mChanges must be empty at this point (everything moved into the mSentChanges list) assert(!mChanges.hasNotifications()); // send all the old changes for (PendingModifications pm : mSentChanges) putPendingModifications(zc, pm, ctxt, mbox, explicitAcct); } } } return ctxt; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/82e67e13f71419ffded554909843cc965289a387/SoapSession.java/clean/ZimbraServer/src/java/com/zimbra/cs/session/SoapSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3010, 1378, 14111, 12, 62, 381, 15397, 20601, 1042, 998, 71, 16, 3010, 14286, 16, 509, 1142, 11925, 6926, 2135, 13, 288, 3639, 309, 261, 20364, 422, 446, 13, 5411, 327, 446, 31, 3639, 11542, 2147, 312, 2147, 31, 3639, 775, 288, 5411, 312, 2147, 273, 11542, 2147, 18, 588, 30239, 858, 14594, 12, 588, 14594, 10663, 3639, 289, 1044, 261, 15133, 425, 13, 288, 5411, 2285, 381, 15397, 1343, 18, 3184, 18, 8935, 2932, 1636, 16191, 14187, 364, 2236, 315, 397, 336, 14594, 9334, 425, 1769, 5411, 327, 14286, 31, 3639, 289, 3639, 514, 5515, 9988, 299, 273, 336, 14594, 7675, 14963, 12, 94, 1017, 18, 588, 7150, 647, 969, 14594, 10756, 692, 446, 294, 336, 14594, 5621, 3639, 368, 1297, 2176, 326, 11542, 2147, 1865, 18887, 326, 3877, 358, 4543, 8363, 739, 3639, 368, 282, 2724, 2974, 4201, 4186, 848, 2037, 745, 1473, 1368, 326, 11542, 2147, 3639, 3852, 261, 81, 2147, 13, 288, 5411, 3852, 261, 2211, 13, 288, 7734, 368, 1366, 326, 411, 3427, 34, 1203, 7734, 368, 411, 3427, 1147, 1546, 2539, 25, 6, 306, 1077, 299, 1546, 24, 74, 4700, 6675, 3462, 17, 21, 69, 5193, 17, 2499, 2414, 17, 70, 28, 3028, 17, 26, 70, 2643, 28, 72, 22, 69, 3462, 71, 24, 11929, 21259, 7734, 14286, 18, 1289, 6303, 1046, 12, 62, 381, 15397, 20601, 1042, 18, 41, 67, 14473, 13, 10792, 263, 1289, 1499, 12, 62, 381, 15397, 20601, 1042, 18, 37, 67, 14473, 67, 734, 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, 3010, 1378, 14111, 12, 62, 381, 15397, 20601, 1042, 998, 71, 16, 3010, 14286, 16, 509, 1142, 11925, 6926, 2135, 13, 288, 3639, 309, 261, 20364, 422, 446, 13, 5411, 327, 446, 31, 3639, 11542, 2147, 312, 2147, 31, 3639, 775, 288, 5411, 312, 2147, 273, 11542, 2147, 18, 588, 30239, 858, 14594, 12, 588, 14594, 10663, 3639, 289, 1044, 261, 15133, 425, 13, 288, 5411, 2285, 381, 15397, 1343, 18, 3184, 18, 8935, 2932, 1636, 16191, 14187, 364, 2236, 315, 397, 336, 14594, 9334, 425, 1769, 5411, 327, 14286, 31, 3639, 289, 3639, 514, 5515, 9988, 299, 273, 336, 14594, 7675, 14963, 12, 94, 1017, 18, 588, 7150, 647, 969, 14594, 10756, 692, 446, 294, 336, 2 ]
return upperLimit.compareTo(arg) > 0; }
return upperLimit.compareTo(arg) > 0; }
public boolean eval( Object arg ) { return upperLimit.compareTo(arg) > 0; }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/IsLessThan.java/buggy/jmock/core/src/org/jmock/core/constraint/IsLessThan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 5302, 12, 1033, 1501, 262, 288, 202, 202, 2463, 3854, 3039, 18, 9877, 774, 12, 3175, 13, 405, 374, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 5302, 12, 1033, 1501, 262, 288, 202, 202, 2463, 3854, 3039, 18, 9877, 774, 12, 3175, 13, 405, 374, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fos.write(line + "\n");
fos.write(line + LINE_SEPARATOR);
private void writeTemplate(Object cls, String path, BufferedWriter fos) { String templatePathName = path + "/templates/"; String fileName = Model.getFacade().getName(cls); String tagTemplatePathName = Model.getFacade().getTaggedValueValue(cls, "TemplatePath"); String authorTag = Model.getFacade().getTaggedValueValue(cls, "author"); String emailTag = Model.getFacade().getTaggedValueValue(cls, "email"); if (tagTemplatePathName != null && tagTemplatePathName.length() > 0) templatePathName = tagTemplatePathName; if (generatorPass == HEADER_PASS) { templatePathName = templatePathName + "header_template"; fileName = fileName + ".h"; } else { templatePathName = templatePathName + "cpp_template"; fileName = fileName + ".cpp"; } File templateFile = new File(templatePathName); if (templateFile.exists()) { boolean eof = false; BufferedReader templateFileReader = null; try { templateFileReader = new BufferedReader(new FileReader( templateFile.getAbsolutePath())); while (!eof) { String lineStr = templateFileReader.readLine(); if (lineStr == null) { eof = true; } else { StringBuffer line = new StringBuffer(lineStr); replaceToken(line, "|FILENAME|", fileName); replaceToken(line, "|DATE|", getDate()); replaceToken(line, "|YEAR|", getYear()); replaceToken(line, "|AUTHOR|", authorTag); replaceToken(line, "|EMAIL|", emailTag); fos.write(line + "\n"); } } templateFileReader.close(); } catch (IOException exp) { } finally { try { if (templateFileReader != null) templateFileReader.close(); } catch (IOException exp) { LOG.error("FAILED: " + templateFile.getPath()); } } } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/c394f84b1db32fc3dd57c0a1956729d3451131bf/GeneratorCpp.java/clean/modules/cpp/src/org/argouml/language/cpp/generator/GeneratorCpp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 2283, 12, 921, 2028, 16, 514, 589, 16, 22490, 17615, 13, 288, 3639, 514, 20534, 461, 273, 589, 397, 2206, 8502, 4898, 31, 3639, 514, 3968, 273, 3164, 18, 588, 12467, 7675, 17994, 12, 6429, 1769, 3639, 514, 1047, 2283, 743, 461, 273, 5411, 3164, 18, 588, 12467, 7675, 588, 18674, 620, 620, 12, 6429, 16, 315, 2283, 743, 8863, 3639, 514, 2869, 1805, 273, 3164, 18, 588, 12467, 7675, 588, 18674, 620, 620, 12, 6429, 16, 315, 4161, 8863, 3639, 514, 2699, 1805, 273, 3164, 18, 588, 12467, 7675, 588, 18674, 620, 620, 12, 6429, 16, 315, 3652, 8863, 3639, 309, 261, 2692, 2283, 743, 461, 480, 446, 597, 1047, 2283, 743, 461, 18, 2469, 1435, 405, 374, 13, 5411, 20534, 461, 273, 1047, 2283, 743, 461, 31, 3639, 309, 261, 8812, 6433, 422, 11659, 67, 10884, 13, 288, 5411, 20534, 461, 273, 20534, 461, 397, 315, 3374, 67, 3202, 14432, 5411, 3968, 273, 3968, 397, 3552, 76, 14432, 3639, 289, 3639, 469, 288, 5411, 20534, 461, 273, 20534, 461, 397, 315, 4057, 84, 67, 3202, 14432, 5411, 3968, 273, 3968, 397, 3552, 4057, 84, 14432, 3639, 289, 7734, 1387, 28215, 273, 394, 1387, 12, 3202, 743, 461, 1769, 3639, 309, 261, 3202, 812, 18, 1808, 10756, 288, 5411, 1250, 14813, 273, 629, 31, 5411, 10633, 28215, 2514, 273, 446, 31, 5411, 775, 288, 7734, 28215, 2514, 273, 10792, 394, 10633, 12, 2704, 23010, 12, 13491, 28215, 18, 588, 10368, 743, 1435, 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, 1045, 2283, 12, 921, 2028, 16, 514, 589, 16, 22490, 17615, 13, 288, 3639, 514, 20534, 461, 273, 589, 397, 2206, 8502, 4898, 31, 3639, 514, 3968, 273, 3164, 18, 588, 12467, 7675, 17994, 12, 6429, 1769, 3639, 514, 1047, 2283, 743, 461, 273, 5411, 3164, 18, 588, 12467, 7675, 588, 18674, 620, 620, 12, 6429, 16, 315, 2283, 743, 8863, 3639, 514, 2869, 1805, 273, 3164, 18, 588, 12467, 7675, 588, 18674, 620, 620, 12, 6429, 16, 315, 4161, 8863, 3639, 514, 2699, 1805, 273, 3164, 18, 588, 12467, 7675, 588, 18674, 620, 620, 12, 6429, 16, 315, 3652, 8863, 3639, 309, 261, 2692, 2283, 743, 461, 480, 446, 597, 1047, 2283, 743, 461, 18, 2 ]
System.err.println("does not contain valid response?"); System.err.println(ti);
if (psl.survivor.ProcessorMain.debug) System.err.println("does not contain valid response?"); if (psl.survivor.ProcessorMain.debug) System.err.println(ti);
public void handleMessage(Object o) { System.out.println("&&&&&&&&& Received Message:\n"+o); if (o instanceof VTransportContainer) { VTransportContainer t = (VTransportContainer) o; if (t.isPingResponse()) { t.setName(t.getSourceName()); t.setHostName(t.getSourceHostName()); t.setPort(t.getSourcePort()); t.setSourceName(_processor.getName()); t.setSourceHostName(_processor.getHostName()); t.setSourcePort(_processor.getPort()); Integer ti = new Integer(t.getIdentifier()); synchronized(_pingRequests) { if (_pingRequests.contains(ti)) { _pingRequests.remove(ti); } else { System.err.println("does not contain ping response?"); } } } else if (t.isValidResponse()) { t.setName(t.getSourceName()); t.setHostName(t.getSourceHostName()); t.setPort(t.getSourcePort()); t.setSourceName(_processor.getName()); t.setSourceHostName(_processor.getHostName()); t.setSourcePort(_processor.getPort()); Integer ti = new Integer(t.getIdentifier()); synchronized(_validRequests) { if (_validRequests.contains(ti)) { _validRequests.remove(ti); } else { System.err.println("does not contain valid response?"); System.err.println(ti); } } } else if (t.isReplicatorPingResponse()) { t.setName(t.getSourceName()); t.setHostName(t.getSourceHostName()); t.setPort(t.getSourcePort()); t.setSourceName(_processor.getName()); t.setSourceHostName(_processor.getHostName()); t.setSourcePort(_processor.getPort()); synchronized(_replicatorPingRequests) { if (_replicatorPingRequests.contains(t)) { _replicatorPingRequests.remove(t); } else { System.err.println("does not contain ping reponse?"); } } } else if (t.isReplicatorPing()) { if (_replicator.ping()) { t.setReplicatorPingResponse(); t.setName(t.getSourceName()); t.setHostName(t.getSourceHostName()); t.setPort(t.getSourcePort()); t.setSourceName(_processor.getName()); t.setSourceHostName(_processor.getHostName()); t.setSourcePort(_processor.getPort()); sendMessage(t); } } else if (t.isPing()) { if (_processor.ping()) { t.setPingResponse(); t.setName(t.getSourceName()); t.setHostName(t.getSourceHostName()); t.setPort(t.getSourcePort()); t.setSourceName(_processor.getName()); t.setSourceHostName(_processor.getHostName()); t.setSourcePort(_processor.getPort()); sendMessage(t); } } else if (t.isValid()) { if (_processor.valid()) { t.setValidResponse(); t.setName(t.getSourceName()); t.setHostName(t.getSourceHostName()); t.setPort(t.getSourcePort()); t.setSourceName(_processor.getName()); t.setSourceHostName(_processor.getHostName()); t.setSourcePort(_processor.getPort()); sendMessage(t); } } else if (t.isAlertExecutingTask()) { _replicator.alertExecutingTask (t.getAlertExecutingTaskVersion()); } else if (t.isAlertDoneExecutingTask()) { _replicator.alertDoneExecutingTask (t.getAlertDoneExecutingTaskVersion()); } else if (t.isReplicate()) { _replicator.replicated(t.getReplicatedVersion(), t.getReplicatedQueue()); } else if (t.isMediate()) { // TODO implement this and make sure it gets used } else if (t.isExecuteTask()) { _processor.executeTask(t.getExecuteTask()); } else if (t.isFindRemoteProcessor()) { _processor.findRemoteProcessor (t.getFindRemoteProcessor1(), t.getFindRemoteProcessor2()); } else if (t.isAddToCloud()) { _processor.alertNewHandle(t.getAddToCloud()); } else if (t.isSendNewHandle()) { _processor.addProcessor(t.getSendNewHandle()); } else if (t.isSendPool()) { _processor.addPool(t.getSendPool()); } } else if (o instanceof RTransportContainer) { } else if (o instanceof TPTransportContainer) { } }
14654 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14654/148c88c35160155b8309e6ce2d62c703cd114d1a/MessageHandler.java/clean/net/MessageHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 1079, 12, 921, 320, 13, 288, 202, 3163, 18, 659, 18, 8222, 2932, 10, 10, 10, 10, 10, 10, 10, 10, 10, 21066, 2350, 5581, 82, 6, 15, 83, 1769, 202, 430, 261, 83, 1276, 776, 6568, 2170, 13, 288, 202, 565, 776, 6568, 2170, 268, 273, 261, 58, 6568, 2170, 13, 320, 31, 202, 565, 309, 261, 88, 18, 291, 17223, 1064, 10756, 288, 202, 202, 88, 18, 542, 461, 12, 88, 18, 588, 1830, 461, 10663, 202, 202, 88, 18, 542, 20946, 12, 88, 18, 588, 1830, 20946, 10663, 202, 202, 88, 18, 542, 2617, 12, 88, 18, 588, 1830, 2617, 10663, 202, 202, 88, 18, 542, 1830, 461, 24899, 8700, 18, 17994, 10663, 202, 202, 88, 18, 542, 1830, 20946, 24899, 8700, 18, 588, 20946, 10663, 202, 202, 88, 18, 542, 1830, 2617, 24899, 8700, 18, 588, 2617, 10663, 202, 202, 4522, 11374, 273, 394, 2144, 12, 88, 18, 588, 3004, 10663, 202, 202, 22043, 24899, 1382, 6421, 13, 288, 1082, 565, 309, 261, 67, 1382, 6421, 18, 12298, 12, 9096, 3719, 288, 1082, 202, 67, 1382, 6421, 18, 4479, 12, 9096, 1769, 1082, 565, 289, 469, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 20657, 486, 912, 10087, 766, 7225, 1769, 1082, 565, 289, 202, 202, 97, 202, 565, 289, 469, 309, 261, 88, 18, 26810, 1064, 10756, 288, 202, 202, 88, 18, 542, 461, 12, 88, 18, 588, 1830, 461, 10663, 202, 202, 88, 18, 542, 20946, 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, 1640, 1079, 12, 921, 320, 13, 288, 202, 3163, 18, 659, 18, 8222, 2932, 10, 10, 10, 10, 10, 10, 10, 10, 10, 21066, 2350, 5581, 82, 6, 15, 83, 1769, 202, 430, 261, 83, 1276, 776, 6568, 2170, 13, 288, 202, 565, 776, 6568, 2170, 268, 273, 261, 58, 6568, 2170, 13, 320, 31, 202, 565, 309, 261, 88, 18, 291, 17223, 1064, 10756, 288, 202, 202, 88, 18, 542, 461, 12, 88, 18, 588, 1830, 461, 10663, 202, 202, 88, 18, 542, 20946, 12, 88, 18, 588, 1830, 20946, 10663, 202, 202, 88, 18, 542, 2617, 12, 88, 18, 588, 1830, 2617, 10663, 202, 202, 88, 18, 542, 1830, 461, 24899, 8700, 18, 17994, 2 ]
FetcherContext fetchContext, ClientMetadata dm, int recursionLevel,
ClientMetadata dm, int recursionLevel,
public abstract Bucket getMetadata(ArchiveContext archiveContext, FetcherContext fetchContext, ClientMetadata dm, int recursionLevel, boolean dontEnterImplicitArchives) throws ArchiveFailureException, ArchiveRestartException, MetadataParseException, FetchException;
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/d32229c02576d531c915059f111c468591f30e84/ArchiveHandler.java/buggy/src/freenet/client/ArchiveHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8770, 7408, 11159, 12, 7465, 1042, 5052, 1042, 16, 1082, 202, 1227, 2277, 9113, 16, 509, 13917, 2355, 16, 1875, 202, 6494, 14046, 10237, 15787, 12269, 3606, 13, 1082, 202, 15069, 13124, 14389, 16, 13124, 15057, 503, 16, 1082, 202, 2277, 13047, 16, 8065, 503, 31, 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, 225, 202, 482, 8770, 7408, 11159, 12, 7465, 1042, 5052, 1042, 16, 1082, 202, 1227, 2277, 9113, 16, 509, 13917, 2355, 16, 1875, 202, 6494, 14046, 10237, 15787, 12269, 3606, 13, 1082, 202, 15069, 13124, 14389, 16, 13124, 15057, 503, 16, 1082, 202, 2277, 13047, 16, 8065, 503, 31, 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 this.maxInsertions;
return maxInsertions;
public int getMaxInsertions() { return this.maxInsertions; }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/FCPQueueManager.java/clean/src/thaw/fcp/FCPQueueManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 7288, 4600, 1115, 1435, 288, 202, 202, 2463, 333, 18, 1896, 4600, 1115, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 7288, 4600, 1115, 1435, 288, 202, 202, 2463, 333, 18, 1896, 4600, 1115, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
fTypeNameMap.put(info.getName(), typeCollection);
fTypeNameMap.put(newType.getName(), typeCollection);
public synchronized void insert(ITypeInfo info) { // check if enclosing types are already in cache IQualifiedTypeName typeName = info.getQualifiedTypeName().getEnclosingTypeName(); if (typeName != null) { while (!typeName.isEmpty()) { boolean foundType = false; Collection typeCollection = (Collection) fTypeNameMap.get(typeName.getName()); if (typeCollection == null) { typeCollection = new HashSet(); fTypeNameMap.put(typeName.getName(), typeCollection); } else { for (Iterator typeIter = typeCollection.iterator(); typeIter.hasNext(); ) { ITypeInfo curr = (ITypeInfo) typeIter.next(); if (curr.getQualifiedTypeName().equals(typeName)) { foundType = true; break; } } } if (!foundType) { // create a dummy type to take this place (type 0 == unknown) ITypeInfo dummyType = new TypeInfo(0, typeName, this); typeCollection.add(dummyType); } typeName = typeName.removeLastSegments(1); } } Collection typeCollection = (Collection) fTypeNameMap.get(info.getName()); if (typeCollection == null) { typeCollection = new HashSet(); fTypeNameMap.put(info.getName(), typeCollection); } typeCollection.add(info); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/ccfe7d8f5fb16ffce595bc26621d085f534ba238/TypeCache.java/clean/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/TypeCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 2243, 12, 45, 17305, 1123, 13, 288, 202, 202, 759, 866, 309, 16307, 1953, 854, 1818, 316, 1247, 202, 202, 45, 8708, 7947, 8173, 273, 1123, 18, 588, 8708, 7947, 7675, 588, 21594, 7947, 5621, 202, 202, 430, 261, 723, 461, 480, 446, 13, 288, 1082, 202, 17523, 16051, 723, 461, 18, 291, 1921, 10756, 288, 9506, 202, 6494, 1392, 559, 273, 629, 31, 9506, 202, 2532, 618, 2532, 273, 261, 2532, 13, 284, 7947, 863, 18, 588, 12, 723, 461, 18, 17994, 10663, 9506, 202, 430, 261, 723, 2532, 422, 446, 13, 288, 6862, 202, 723, 2532, 273, 394, 6847, 5621, 6862, 202, 74, 7947, 863, 18, 458, 12, 723, 461, 18, 17994, 9334, 618, 2532, 1769, 9506, 202, 97, 469, 288, 6862, 202, 1884, 261, 3198, 618, 2360, 273, 618, 2532, 18, 9838, 5621, 618, 2360, 18, 5332, 2134, 5621, 262, 288, 25083, 202, 45, 17305, 4306, 273, 261, 45, 17305, 13, 618, 2360, 18, 4285, 5621, 25083, 202, 430, 261, 17016, 18, 588, 8708, 7947, 7675, 14963, 12, 723, 461, 3719, 288, 6862, 1082, 202, 7015, 559, 273, 638, 31, 6862, 1082, 202, 8820, 31, 25083, 202, 97, 6862, 202, 97, 9506, 202, 97, 9506, 202, 430, 16051, 7015, 559, 13, 288, 6862, 202, 759, 752, 279, 9609, 618, 358, 4862, 333, 3166, 261, 723, 374, 422, 5917, 13, 6862, 202, 45, 17305, 9609, 559, 273, 394, 1412, 966, 12, 20, 16, 8173, 16, 333, 1769, 6862, 202, 723, 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, 3852, 918, 2243, 12, 45, 17305, 1123, 13, 288, 202, 202, 759, 866, 309, 16307, 1953, 854, 1818, 316, 1247, 202, 202, 45, 8708, 7947, 8173, 273, 1123, 18, 588, 8708, 7947, 7675, 588, 21594, 7947, 5621, 202, 202, 430, 261, 723, 461, 480, 446, 13, 288, 1082, 202, 17523, 16051, 723, 461, 18, 291, 1921, 10756, 288, 9506, 202, 6494, 1392, 559, 273, 629, 31, 9506, 202, 2532, 618, 2532, 273, 261, 2532, 13, 284, 7947, 863, 18, 588, 12, 723, 461, 18, 17994, 10663, 9506, 202, 430, 261, 723, 2532, 422, 446, 13, 288, 6862, 202, 723, 2532, 273, 394, 6847, 5621, 6862, 202, 74, 7947, 863, 18, 458, 12, 723, 461, 18, 17994, 2 ]
if (!(ad instanceof DataObjectAdapter)) {
if (ad == null || !(ad instanceof DataObjectAdapter)) {
Session(MetadataRoot root, ConnectionSource source, int database) { m_root = root; m_source = source; m_database = database; com.redhat.persistence.engine.rdbms.ConnectionSource src = new com.redhat.persistence.engine.rdbms.ConnectionSource() { public Connection acquire() { return m_source.acquire(); } public void release(Connection conn) { m_source.release(conn); } }; switch (m_database) { case DbHelper.DB_ORACLE: m_engine = new RDBMSEngine(src, new OracleWriter(), m_prof); break; case DbHelper.DB_POSTGRES: m_engine = new RDBMSEngine(src, new PostgresWriter(), m_prof); break; default: DbHelper.unsupportedDatabaseError("persistence"); m_engine = null; break; } m_qs = new RDBMSQuerySource(); m_ssn = this.new PSession(m_root.getRoot(), m_engine, m_qs); m_ctx = new TransactionContext(this); m_ssn.addAfterActivate(new AfterActivate()); m_beforeFP = new FlushEventProcessor(true); m_afterFP = new FlushEventProcessor(false); m_ssn.addBeforeFlush(m_beforeFP); m_ssn.addAfterFlush(m_afterFP); Root r = m_root.getRoot(); synchronized (r) { Adapter ad = r.getAdapter(DataObjectImpl.class); if (!(ad instanceof DataObjectAdapter)) { ad = new DataObjectAdapter(); r.addAdapter(DataObjectImpl.class, ad); r.addAdapter(PropertyMap.class, ad); r.addAdapter(null, ad); } } }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/b9f3e00ccac7f050940559909efe26f3d27f5b32/Session.java/clean/archive/packaging/src/com/arsdigita/persistence/Session.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3877, 12, 2277, 2375, 1365, 16, 4050, 1830, 1084, 16, 509, 2063, 13, 288, 3639, 312, 67, 3085, 273, 1365, 31, 3639, 312, 67, 3168, 273, 1084, 31, 3639, 312, 67, 6231, 273, 2063, 31, 3639, 532, 18, 1118, 11304, 18, 24854, 18, 8944, 18, 86, 1966, 959, 18, 1952, 1830, 1705, 273, 5411, 394, 532, 18, 1118, 11304, 18, 24854, 18, 8944, 18, 86, 1966, 959, 18, 1952, 1830, 1435, 288, 7734, 1071, 4050, 10533, 1435, 288, 10792, 327, 312, 67, 3168, 18, 1077, 1039, 5621, 7734, 289, 7734, 1071, 918, 3992, 12, 1952, 1487, 13, 288, 10792, 312, 67, 3168, 18, 9340, 12, 4646, 1769, 7734, 289, 5411, 289, 31, 3639, 1620, 261, 81, 67, 6231, 13, 288, 3639, 648, 8408, 2276, 18, 2290, 67, 916, 2226, 900, 30, 5411, 312, 67, 8944, 273, 394, 534, 2290, 3537, 4410, 12, 4816, 16, 394, 28544, 2289, 9334, 312, 67, 16121, 1769, 5411, 898, 31, 3639, 648, 8408, 2276, 18, 2290, 67, 3798, 43, 7031, 30, 5411, 312, 67, 8944, 273, 394, 534, 2290, 3537, 4410, 12, 4816, 16, 394, 5616, 14107, 2289, 9334, 312, 67, 16121, 1769, 5411, 898, 31, 3639, 805, 30, 5411, 8408, 2276, 18, 24666, 4254, 668, 2932, 24854, 8863, 5411, 312, 67, 8944, 273, 446, 31, 5411, 898, 31, 3639, 289, 3639, 312, 67, 12926, 273, 394, 534, 2290, 3537, 1138, 1830, 5621, 3639, 312, 67, 1049, 82, 273, 333, 18, 2704, 453, 2157, 12, 81, 67, 3085, 18, 588, 2375, 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, 3877, 12, 2277, 2375, 1365, 16, 4050, 1830, 1084, 16, 509, 2063, 13, 288, 3639, 312, 67, 3085, 273, 1365, 31, 3639, 312, 67, 3168, 273, 1084, 31, 3639, 312, 67, 6231, 273, 2063, 31, 3639, 532, 18, 1118, 11304, 18, 24854, 18, 8944, 18, 86, 1966, 959, 18, 1952, 1830, 1705, 273, 5411, 394, 532, 18, 1118, 11304, 18, 24854, 18, 8944, 18, 86, 1966, 959, 18, 1952, 1830, 1435, 288, 7734, 1071, 4050, 10533, 1435, 288, 10792, 327, 312, 67, 3168, 18, 1077, 1039, 5621, 7734, 289, 7734, 1071, 918, 3992, 12, 1952, 1487, 13, 288, 10792, 312, 67, 3168, 18, 9340, 12, 4646, 1769, 7734, 289, 5411, 289, 31, 3639, 1620, 261, 81, 67, 6231, 2 ]
(dcv.qualifier==null ? "=null" : " LIKE \"" + dcv.qualifier + "\"") +
(dcv.qualifier == null ? "=null" : " LIKE \"" + dcv.qualifier + "\"") +
public void update() throws SQLException, AuthorizeException { // FIXME: Check authorisation DatabaseManager.update(ourContext, itemRow); // Redo bundle mappings if they've changed if (bundlesChanged) { // Remove any existing mappings DatabaseManager.updateQuery(ourContext, "delete from item2bundle where item_id=" + getID()); // Add new mappings Iterator i = bundles.iterator(); while (i.hasNext()) { Bundle b = (Bundle) i.next(); TableRow mappingRow = DatabaseManager.create(ourContext, "item2bundle"); mappingRow.setColumn("bundle_id", b.getID()); mappingRow.setColumn("item_id", getID()); DatabaseManager.update(ourContext,mappingRow); } bundlesChanged = false; } // Redo Dublin Core if it's changed if (dublinCoreChanged) { // Remove existing DC removeDCFromDatabase(); // Add in-memory DC Iterator i = dublinCore.iterator(); while (i.hasNext()) { DCValue dcv = (DCValue) i.next(); // Get the DC Type // FIXME: Maybe should use RegistryManager? String query = "select * from dctyperegistry where element " + "LIKE \"" + dcv.element + "\" AND qualifier" + (dcv.qualifier==null ? "=null" : " LIKE \"" + dcv.qualifier + "\"") + ";"; TableRow dcTypeRow = DatabaseManager.querySingle(ourContext, "dctyperegistry", query); if (dcTypeRow==null) { // Bad DC field // FIXME: An error? log.warn(LogManager.getHeader(ourContext, "bad_dc", "Bad DC field. element: \"" + (dcv.element==null ? "null" : dcv.element) + "\" qualifier: \"" + (dcv.qualifier==null ? "null" : dcv.qualifier) + "\" value: \"" + (dcv.value==null ? "null" : dcv.value) + "\"")); } else { // Write DCValue TableRow valueRow = DatabaseManager.create(ourContext, "dcvalue"); valueRow.setColumn("text_value", dcv.value); valueRow.setColumn("text_lang", dcv.language); DatabaseManager.update(ourContext, valueRow); // Write mapping TableRow mappingRow = DatabaseManager.create(ourContext, "item2dcvalue"); mappingRow.setColumn("item_id", getID()); mappingRow.setColumn("dc_value_id", valueRow.getIntColumn("dc_value_id")); mappingRow.setColumn("dc_type_id", dcTypeRow.getIntColumn("dc_type_id")); DatabaseManager.update(ourContext, mappingRow); } } dublinCoreChanged = false; } }
52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/85c7430ba7691f831fafc420459d280408310eb9/Item.java/buggy/dspace/src/org/dspace/content/Item.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1435, 3639, 1216, 6483, 16, 23859, 503, 565, 288, 3639, 368, 9852, 30, 2073, 2869, 10742, 7734, 5130, 1318, 18, 2725, 12, 477, 1042, 16, 761, 1999, 1769, 7734, 368, 4621, 83, 3440, 7990, 309, 2898, 8081, 3550, 3639, 309, 261, 22773, 5033, 13, 3639, 288, 5411, 368, 3581, 1281, 2062, 7990, 5411, 5130, 1318, 18, 2725, 1138, 12, 477, 1042, 16, 7734, 315, 3733, 628, 761, 22, 9991, 1625, 761, 67, 350, 1546, 397, 14744, 10663, 5411, 368, 1436, 394, 7990, 5411, 4498, 277, 273, 11408, 18, 9838, 5621, 5411, 1323, 261, 77, 18, 5332, 2134, 10756, 5411, 288, 7734, 8539, 324, 273, 261, 3405, 13, 277, 18, 4285, 5621, 7734, 3555, 1999, 2874, 1999, 273, 5130, 1318, 18, 2640, 12, 477, 1042, 16, 10792, 315, 1726, 22, 9991, 8863, 7734, 2874, 1999, 18, 542, 1494, 2932, 9991, 67, 350, 3113, 324, 18, 588, 734, 10663, 7734, 2874, 1999, 18, 542, 1494, 2932, 1726, 67, 350, 3113, 14744, 10663, 7734, 5130, 1318, 18, 2725, 12, 477, 1042, 16, 6770, 1999, 1769, 5411, 289, 5411, 11408, 5033, 273, 629, 31, 3639, 289, 3639, 368, 4621, 83, 31760, 4586, 309, 518, 1807, 3550, 3639, 309, 261, 72, 29056, 4670, 5033, 13, 3639, 288, 5411, 368, 3581, 2062, 21533, 5411, 1206, 5528, 1265, 4254, 5621, 5411, 368, 1436, 316, 17, 7858, 21533, 5411, 4498, 277, 273, 302, 29056, 4670, 18, 9838, 5621, 13491, 1323, 261, 77, 18, 5332, 2134, 10756, 5411, 288, 7734, 21533, 620, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1435, 3639, 1216, 6483, 16, 23859, 503, 565, 288, 3639, 368, 9852, 30, 2073, 2869, 10742, 7734, 5130, 1318, 18, 2725, 12, 477, 1042, 16, 761, 1999, 1769, 7734, 368, 4621, 83, 3440, 7990, 309, 2898, 8081, 3550, 3639, 309, 261, 22773, 5033, 13, 3639, 288, 5411, 368, 3581, 1281, 2062, 7990, 5411, 5130, 1318, 18, 2725, 1138, 12, 477, 1042, 16, 7734, 315, 3733, 628, 761, 22, 9991, 1625, 761, 67, 350, 1546, 397, 14744, 10663, 5411, 368, 1436, 394, 7990, 5411, 4498, 277, 273, 11408, 18, 9838, 5621, 5411, 1323, 261, 77, 18, 5332, 2134, 10756, 5411, 288, 7734, 8539, 324, 273, 261, 3405, 13, 277, 18, 4285, 5621, 7734, 3555, 1999, 2874, 2 ]
input = System.in.read(); if ((input >= 49 && input <=51) ||input == -1)
input = System.in.read(); if (((input >= 49) && (input <= 51)) || (input == -1)) {
public void run (String[] args) { int input = 0; boolean display = true; boolean displayft = false; int totalNbBodies = 4; int maxIter = 10000; String xmlFileName ; // Set arguments as read on command line switch (args.length){ case 0 : usage(); System.out.println("No xml descriptor specified - aborting"); quit(); case 2 : if (args[1].equals("-nodisplay")){ display = false; System.out.println(" Running with options set to 4 bodies, 1000 iterations, display off"); break; } else if (args[1].equals("-displayft")){ displayft=true; System.out.println(" Running with options set to 4 bodies, 1000 iterations, fault-tolerance display on"); break; } case 3 : totalNbBodies = Integer.parseInt(args[1]); maxIter = Integer.parseInt(args[2]); break; case 4 : if (args[1].equals("-nodisplay")){ display = false; totalNbBodies = Integer.parseInt(args[2]); maxIter = Integer.parseInt(args[3]); break; } else if (args[1].equals("-displayft")){ displayft=true; totalNbBodies = Integer.parseInt(args[2]); maxIter = Integer.parseInt(args[3]); break; } // else : don't break, which means go to the default case default : usage(); System.out.println(" Running with options set to 4 bodies, 1000 iterations, display on"); } xmlFileName = args[0]; System.out.println(" 1 : Simplest version, one-to-one communication and master"); System.out.println(" 2 : group communication and master"); System.out.println(" 3 : group communication, odd-even-synchronization"); if (displayft){ System.out.print("Choose which version you want to run [123] : "); try { while ( true ) { // Read a character from keyboard input = System.in.read(); if ((input >= 49 && input <=51) ||input == -1) break; } } catch (IOException ioe) { abort (ioe); } }else{ System.out.println(" 4 : group communication, oospmd synchronization"); System.out.println(" 5 : Barnes-Hut, and oospmd"); System.out.print("Choose which version you want to run [12345] : "); try { while ( true ) { // Read a character from keyboard input = System.in.read(); if ((input >= 49 && input <=53) ||input == -1) break; } } catch (IOException ioe) { abort(ioe); } } System.out.println ("Thank you!"); // If need be, create a displayer Displayer displayer = null; if (display) { try { displayer = (Displayer) (ProActive.newActive( Displayer.class.getName(), new Object[] { new Integer(totalNbBodies) , new Boolean (displayft)})); } catch (ActiveObjectCreationException e) { abort (e);} catch (NodeException e) { abort (e);} } // Construct deployment-related variables: pad & nodes descriptorPad = null; VirtualNode vnode; try { descriptorPad = ProActive.getProactiveDescriptor(xmlFileName); } catch (ProActiveException e) { abort(e); } descriptorPad.activateMappings(); vnode = descriptorPad.getVirtualNode("Workers"); Node[] nodes = null; try { nodes = vnode.getNodes(); } catch (NodeException e) { abort(e); } switch (input) { case 49 : org.objectweb.proactive.examples.nbody.simple.Start.main(totalNbBodies, maxIter, displayer, nodes, this); break; case 50 : org.objectweb.proactive.examples.nbody.groupcom.Start.main(totalNbBodies, maxIter, displayer, nodes, this); break; case 51 : org.objectweb.proactive.examples.nbody.groupdistrib.Start.main(totalNbBodies, maxIter, displayer, nodes, this); break; case 52 : org.objectweb.proactive.examples.nbody.groupoospmd.Start.main(totalNbBodies, maxIter, displayer, nodes, this); break; case 53 : org.objectweb.proactive.examples.nbody.barneshut.Start.main(totalNbBodies, maxIter, displayer, nodes, this); break; } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/6a4103af87bfad7bfca1448432f5e4b1f5196ffe/Start.java/buggy/src/org/objectweb/proactive/examples/nbody/common/Start.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 261, 780, 8526, 833, 13, 288, 3639, 509, 810, 273, 374, 31, 3639, 1250, 2562, 273, 638, 31, 3639, 1250, 2562, 1222, 273, 629, 31, 3639, 509, 2078, 22816, 38, 18134, 273, 1059, 31, 3639, 509, 943, 2360, 273, 12619, 31, 5375, 514, 2025, 4771, 274, 3639, 368, 1000, 1775, 487, 855, 603, 1296, 980, 3639, 1620, 261, 1968, 18, 2469, 15329, 3639, 648, 374, 294, 5411, 4084, 5621, 5411, 2332, 18, 659, 18, 8222, 2932, 2279, 2025, 4950, 1269, 300, 6263, 310, 8863, 5411, 9706, 5621, 3639, 648, 576, 294, 5411, 309, 261, 1968, 63, 21, 8009, 14963, 2932, 17, 19888, 291, 1601, 6, 3719, 95, 7734, 2562, 273, 629, 31, 7734, 2332, 18, 659, 18, 8222, 2932, 3639, 20480, 598, 702, 444, 358, 1059, 25126, 16, 4336, 11316, 16, 2562, 3397, 8863, 7734, 898, 31, 5411, 289, 5411, 469, 309, 261, 1968, 63, 21, 8009, 14963, 2932, 17, 5417, 1222, 6, 3719, 95, 7734, 2562, 1222, 33, 3767, 31, 7734, 2332, 18, 659, 18, 8222, 2932, 3639, 20480, 598, 702, 444, 358, 1059, 25126, 16, 4336, 11316, 16, 12530, 17, 25456, 2562, 603, 8863, 7734, 898, 31, 5411, 289, 3639, 648, 890, 294, 5411, 2078, 22816, 38, 18134, 273, 225, 2144, 18, 2670, 1702, 12, 1968, 63, 21, 19226, 5411, 943, 2360, 273, 225, 2144, 18, 2670, 1702, 12, 1968, 63, 22, 19226, 5411, 898, 31, 3639, 648, 1059, 294, 5411, 309, 261, 1968, 63, 21, 8009, 14963, 2932, 17, 19888, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 261, 780, 8526, 833, 13, 288, 3639, 509, 810, 273, 374, 31, 3639, 1250, 2562, 273, 638, 31, 3639, 1250, 2562, 1222, 273, 629, 31, 3639, 509, 2078, 22816, 38, 18134, 273, 1059, 31, 3639, 509, 943, 2360, 273, 12619, 31, 5375, 514, 2025, 4771, 274, 3639, 368, 1000, 1775, 487, 855, 603, 1296, 980, 3639, 1620, 261, 1968, 18, 2469, 15329, 3639, 648, 374, 294, 5411, 4084, 5621, 5411, 2332, 18, 659, 18, 8222, 2932, 2279, 2025, 4950, 1269, 300, 6263, 310, 8863, 5411, 9706, 5621, 3639, 648, 576, 294, 5411, 309, 261, 1968, 63, 21, 8009, 14963, 2932, 17, 19888, 291, 1601, 6, 3719, 95, 7734, 2562, 273, 629, 31, 7734, 2332, 18, 2 ]
StringBuffer sql = new StringBuffer() ; sql.append("C_AdminStatistics1" + " " + metaId + ", '" + frDate + "', '" ); sql.append(toDate + "', " + mode) ; String[][] arr = ChatManager.getStatistics(ChatPoolServer, sql.toString()) ;
if( frDate.equals("0")) frDate = "1991-01-01 00:00" ; if( toDate.equals("0")) toDate = "2070-01-01 00:00" ; if( mode == null) mode = "1" ;
public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException{ log("startar doGet"); RequestDispatcher myDispatcher = req.getRequestDispatcher("StartDoc"); // Lets validate the session, e.g has the user logged in to Janus? if (super.checkSession(req,res) == false) return ; // Lets get the standard parameters and validate them Properties params = super.getParameters(req) ; //if (super.checkParameters(req, res, params) == false) return ; // Lets get an user object imcode.server.User user = super.getUserObj(req,res) ; if(user == null) return ; int testMetaId = Integer.parseInt( params.getProperty("META_ID") ); if ( !isUserAuthorized( req, res, testMetaId, user ) ){ return; } String action = req.getParameter("action") ; if(action == null){ //OBS FIXA FELMEDELANDENA action = "" ; String header = "ChatManager servlet. " ; ChatError err = new ChatError(req,res,header,3) ; log(header + err.getErrorMsg()) ; return ; } // ********* NEW ******** //it's here we end up when we creates a new chatlink if(action.equalsIgnoreCase("NEW")) { //log("Lets add a chat"); HttpSession session = req.getSession(false) ; if (session != null){ // log("Ok nu stter vi metavrdena"); session.setAttribute("Chat.meta_id", params.getProperty("META_ID")) ; session.setAttribute("Chat.parent_meta_id", params.getProperty("PARENT_META_ID")) ; } req.setAttribute("action","NEW"); myDispatcher = req.getRequestDispatcher("ChatCreator"); myDispatcher.forward(req,res); return ; } // ********* VIEW ******** if(action.equalsIgnoreCase("VIEW")){ // Lets get userparameters Properties userParams = super.getUserParameters(user) ; String metaId = params.getProperty("META_ID") ; String userId = userParams.getProperty("USER_ID") ; RmiConf rmi = new RmiConf(user) ; // Lets detect which type of user we got String userType = userParams.getProperty("USER_TYPE") ; String loginType = userParams.getProperty("LOGIN_TYPE") ; // Lets store the standard metavalues in his session object HttpSession session = req.getSession(false) ; if (session != null){ // log("Ok nu stter vi metavrdena"); session.setAttribute("Chat.meta_id", params.getProperty("META_ID")) ; session.setAttribute("Chat.parent_meta_id", params.getProperty("PARENT_META_ID")) ; } req.setAttribute("login_type","login"); myDispatcher = req.getRequestDispatcher("ChatLogin"); myDispatcher.forward(req,res); return ; } // End of View // ********* CHANGE ******** if(action.equalsIgnoreCase("CHANGE")){ req.setAttribute("metadata","meta"); myDispatcher = req.getRequestDispatcher("ChangeExternalDoc2"); myDispatcher.forward(req,res); return ; } // End if//************** fljande metoder behver kollas ver om de fungerar eller inte ***************** // ********* STATISTICS OBS. NOT USED IN PROGRAM, ONLY FOR TEST ******** if(action.equalsIgnoreCase("STATISTICS")) { // Lets get serverinformation String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("userserver",host) ; String ChatPoolServer = Utility.getDomainPref("conference_server",host) ; //log("confpoolserver " + ChatPoolServer ) ; String metaId = req.getParameter("meta_id") ; String frDate = req.getParameter("from_date") ; String toDate = req.getParameter("to_date") ; String mode = req.getParameter("list_mode") ; // Lets fix the date stuff if( frDate.equals("0")) frDate = "1991-01-01 00:00" ; if( toDate.equals("0")) toDate = "2070-01-01 00:00" ; if( mode == null) mode = "1" ; StringBuffer sql = new StringBuffer() ; sql.append("C_AdminStatistics1" + " " + metaId + ", '" + frDate + "', '" ); sql.append(toDate + "', " + mode) ; //log("C_AdminStatistics sql: " + sql.toString()) ; String[][] arr = ChatManager.getStatistics(ChatPoolServer, sql.toString()) ; //log("C_AdminStatistics sql: " + arr.length) ; } // End if } // End doGet
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/ChatManager.java/buggy/servlets/chat/ChatManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 15069, 16517, 16, 1860, 95, 9506, 202, 1330, 2932, 1937, 297, 23611, 8863, 202, 202, 691, 6681, 3399, 6681, 273, 1111, 18, 588, 691, 6681, 2932, 1685, 1759, 8863, 9506, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 202, 2297, 859, 273, 2240, 18, 588, 2402, 12, 3658, 13, 274, 202, 202, 759, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 400, 16, 859, 13, 422, 629, 13, 327, 274, 202, 202, 759, 511, 2413, 336, 392, 729, 733, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 273, 2240, 18, 588, 1299, 2675, 12, 3658, 16, 455, 13, 274, 202, 202, 430, 12, 1355, 422, 446, 13, 327, 274, 202, 202, 474, 1842, 2781, 548, 273, 2144, 18, 2670, 1702, 12, 859, 18, 588, 1396, 2932, 19294, 67, 734, 7923, 11272, 9506, 202, 430, 261, 401, 291, 1299, 15341, 12, 1111, 16, 400, 16, 1842, 2781, 548, 16, 729, 262, 262, 95, 6862, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 1301, 273, 1111, 18, 588, 1662, 2932, 1128, 7923, 274, 9506, 202, 430, 12, 1128, 422, 446, 15329, 1082, 202, 759, 5704, 55, 8563, 37, 478, 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, 23611, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 15069, 16517, 16, 1860, 95, 9506, 202, 1330, 2932, 1937, 297, 23611, 8863, 202, 202, 691, 6681, 3399, 6681, 273, 1111, 18, 588, 691, 6681, 2932, 1685, 1759, 8863, 9506, 202, 759, 511, 2413, 1954, 326, 1339, 16, 425, 18, 75, 711, 326, 729, 7545, 316, 358, 23214, 407, 35, 202, 202, 430, 261, 9565, 18, 1893, 2157, 12, 3658, 16, 455, 13, 422, 629, 13, 202, 2463, 274, 202, 202, 759, 511, 2413, 336, 326, 4529, 1472, 471, 1954, 2182, 202, 202, 2297, 859, 273, 2240, 18, 588, 2402, 12, 3658, 13, 274, 202, 202, 759, 430, 261, 9565, 18, 1893, 2402, 12, 3658, 16, 2 ]
public void removeRequest(IProject project, IResourceDelta delta, int kind) { switch (kind) { /* case ICDTIndexer.PROJECT: this.indexAll(element.getCProject().getProject()); break; case ICDTIndexer.FOLDER: this.indexSourceFolder(element.getCProject().getProject(),element.getPath(),null); break; */ case ICDTIndexer.COMPILATION_UNIT: break; } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/b4a9f102287060dde623e6f4dbc9c1f7f35294bc/CTagsIndexer.java/buggy/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/index/ctagsindexer/CTagsIndexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 4479, 691, 12, 45, 4109, 4406, 16, 45, 1420, 2837, 88, 361, 8967, 16, 474, 9224, 15329, 1082, 202, 9610, 12, 9224, 15329, 202, 202, 20308, 1082, 202, 3593, 2871, 9081, 20877, 18, 17147, 30, 1082, 202, 2211, 18, 1615, 1595, 12, 2956, 18, 588, 39, 4109, 7675, 588, 4109, 10663, 9506, 202, 8820, 31, 9506, 202, 3593, 2871, 9081, 20877, 18, 17357, 30, 9506, 202, 2211, 18, 1615, 1830, 3899, 12, 2956, 18, 588, 39, 4109, 7675, 588, 4109, 9334, 2956, 18, 588, 743, 9334, 2011, 1769, 1082, 202, 8820, 31, 202, 202, 5549, 202, 202, 3593, 2871, 9081, 20877, 18, 31075, 48, 2689, 67, 15736, 30, 202, 202, 8820, 31, 9506, 202, 97, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 4479, 691, 12, 45, 4109, 4406, 16, 45, 1420, 2837, 88, 361, 8967, 16, 474, 9224, 15329, 1082, 202, 9610, 12, 9224, 15329, 202, 202, 20308, 1082, 202, 3593, 2871, 9081, 20877, 18, 17147, 30, 1082, 202, 2211, 18, 1615, 1595, 12, 2956, 18, 588, 39, 4109, 7675, 588, 4109, 10663, 9506, 202, 8820, 31, 9506, 202, 3593, 2871, 9081, 20877, 18, 17357, 30, 9506, 202, 2211, 18, 1615, 1830, 3899, 12, 2956, 18, 588, 39, 4109, 7675, 588, 4109, 9334, 2956, 18, 588, 743, 9334, 2011, 1769, 1082, 202, 8820, 31, 202, 202, 5549, 202, 202, 3593, 2871, 9081, 20877, 18, 31075, 48, 2689, 67, 15736, 30, 202, 202, 8820, 31, 9506, 202, 97, 2 ]
public void actionPerformed(ActionEvent e) { logger.debug ("Player wrote: "+playerChatText.getText()); String text = playerChatText.getText(); text = text.trim(); if (text.length() == 0) return; if(text.charAt(0)!='/') { // Chat command. The most frequent one. RPAction chat=new RPAction(); chat.put("type","chat"); chat.put("text",playerChatText.getText()); client.send(chat); } else { if(text.startsWith("//") && lastPlayerTell!=null) { String[] command = parseString(text, 2); if(command != null) { RPAction tell = new RPAction(); tell.put("type","tell"); tell.put("target", lastPlayerTell); tell.put("text", command[1]); client.send(tell); } } if(text.startsWith("/tell ") ||text.startsWith("/msg ")) // Tell command { String[] command = parseString(text, 3); if(command != null) { RPAction tell = new RPAction(); tell.put("type","tell"); lastPlayerTell= command[1]; tell.put("target", command[1]); tell.put("text", command[2]); client.send(tell); } } else if(text.startsWith("/support ")) // Support command { String[] command = parseString(text, 2); if(command != null) { RPAction tell = new RPAction(); tell.put("type","support"); tell.put("text", command[1]); client.send(tell); } } else if(text.startsWith("/where ")) // Tell command { String[] command = parseString(text, 2); if(command != null) { RPAction where = new RPAction(); where.put("type","where"); where.put("target", command[1]); client.send(where); } } else if(text.equals("/who")) // Who command { RPAction who = new RPAction(); who.put("type","who"); client.send(who); } else if(text.startsWith("/drop ")) // Drop command { String[] command = parseString(text, 3); if(command != null) { String itemName = command[2]; int quantity; try { quantity = Integer.parseInt(command[1]); } catch (NumberFormatException ex) { return; } RPObject player = client.getPlayer(); int itemID = -1; for(RPObject item: player.getSlot("bag")) { if (item.get("name").equals(itemName)) { itemID = item.getID().getObjectID(); break; } } if (itemID != -1) { RPAction drop = new RPAction(); drop.put("type", "drop"); drop.put("baseobject", player.getID().getObjectID()); drop.put("baseslot", "bag"); drop.put("x", player.get("x")); drop.put("y", player.get("y")); drop.put("quantity", quantity); drop.put("baseitem", itemID); client.send(drop); } else { client.addEventLine("You don't have any "+itemName, Color.black); } } } else if(text.startsWith("/add ")) // Add a new buddy to buddy list { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","addbuddy"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/remove ")) // Removes a existing buddy from buddy list { String[] command = parseString(text, 2); if(command != null) { RPAction remove = new RPAction(); remove.put("type","removebuddy"); remove.put("target", command[1]); client.send(remove); } } else if(text.startsWith("/tellall ")) // Tell everybody admin command { String[] command = parseString(text, 2); if(command != null) { RPAction tellall = new RPAction(); tellall.put("type","tellall"); tellall.put("text", command[1]); client.send(tellall); } } else if(text.startsWith("/teleport ")) // Teleport target(PLAYER NAME) to zone-x,y { String[] command = parseString(text, 5); if(command != null) { RPAction teleport = new RPAction(); teleport.put("type","teleport"); teleport.put("target", command[1]); teleport.put("zone", command[2]); teleport.put("x", command[3]); teleport.put("y", command[4]); client.send(teleport); } } else if(text.startsWith("/teleportto ")) // TeleportTo target(PLAYER NAME) { String[] command = parseString(text, 2); if(command != null) { RPAction teleport = new RPAction(); teleport.put("type","teleportto"); teleport.put("target", command[1]); client.send(teleport); } } else if(text.startsWith("/alter ")) // Set/Add/Substract target(PLAYER NAME) attribute { String[] command = parseString(text, 5); if(command != null) { RPAction alter = new RPAction(); alter.put("type","alter"); alter.put("target", command[1]); alter.put("stat", command[2]); alter.put("mode", command[3]); alter.put("value", command[4]); client.send(alter); } } else if(text.startsWith("/summon ")) // Summon a creature at x,y { String[] command = parseString(text, 4); if(command != null) { RPAction summon = new RPAction(); summon.put("type","summon"); summon.put("creature", command[1]); summon.put("x", command[2]); summon.put("y", command[3]); client.send(summon); } } else if(text.startsWith("/summonat ")) // Summon a creature at x,y { String[] command; command = parseString(text, 5); if(command != null && !command[4].trim().equals("")) { RPAction summon = new RPAction(); summon.put("type","summonat"); summon.put("target", command[1]); summon.put("slot", command[2]); summon.put("item", command[3]); summon.put("amount", command[4]); client.send(summon); } else { command = parseString(text, 4); if(command != null) { RPAction summon = new RPAction(); summon.put("type","summonat"); summon.put("target", command[1]); summon.put("slot", command[2]); summon.put("item", command[3]); client.send(summon); } } } else if(text.startsWith("/inspect ")) // Returns a complete description of the target { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","inspect"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/jail ")) // Returns a complete description of the target { String[] command = parseString(text, 2); if(command != null) { RPAction add = new RPAction(); add.put("type","jail"); add.put("target", command[1]); client.send(add); } } else if(text.startsWith("/script ")) // Script command { String[] command = parseString(text, 2); if(command != null) { RPAction script = new RPAction(); script.put("type","script"); script.put("target", command[1]); client.send(script); } } else if(text.startsWith("/quit")) { client.getGameGUI().showQuitDialog(); } else if(text.startsWith("/invisible")) // Makes admin invisible for creatures { RPAction invisible = new RPAction(); invisible.put("type","invisible"); client.send(invisible); } else if(text.equals("/help")) // Help command { String[] lines={"Detailed manual refer at http://arianne.sourceforge.net/wiki/index.php/StendhalManual", "This brief help show you the most used commands:", "- /tell <player> <message> \tWrites a private message to player", "- /msg <player> <message> \tWrites a private message to player", "- // <message> \t\tWrites a private message to last player we talked with", "- /support <message> \tAsk for support to admins", "- /who \t\tShow online players", "- /drop <quantity> <item>\tDrops a amount of items from player.", "- /add <player> \t\tAdd player to the buddy list", "- /remove <player> \tRemoves player from buddy list", "- /where <player> \t\tPrints the location of the player", "- /quit \t\tLeaves the game", "- /sound volume <value> \tsets sound system loudness (0..100)", "- /sound mute <value> \tsets sound system mute (on/off)" }; for(String line: lines) { StendhalClient.get().addEventLine(line,Color.gray); } } else if(text.equals("/gmhelp")) // Help command { String[] lines={"Detailed manual refer at http://arianne.sourceforge.net/wiki/index.php?title=Stendhal:Administration", "This brief help show you the most used gm commands:", "- /tellall <message> \t\tWrites a private message to all players", "- /jail <player> \t\tSend a player directly to jail", "- /script <scriptname> \t\tload or reload a server side groovy script", "- /teleport <player> <zone> <x> <y> \tTeleport the player ", "- /teleportto <player> \t\tTeleport us to the player ", "- /alter <player> <attrib> <mode> <value> \tChange by SETting, ADDing or SUBtracting the stat of player", "- /summon <creature|item> <x> <y> \tSummon an item or creature at x,y", "- /summonat <player> <slot> <item> <amount> Summon an item at the slot of the given player", "- /invisible \t\t\tMakes this player invisible for creatures", "- /inspect <player> \t\t\tShows detailed info about the player", "- /destroy <entity> \t\t\tDestroy completly an entity." }; for(String line: lines) { StendhalClient.get().addEventLine(line,Color.gray); } } else if(text.startsWith("/sound ")) // Sound Setup command { String[] command = parseString(text, 3); if ( command != null ) { if ( command[1].equals( "mute" ) ) { SoundSystem.get().setMute( command[2].indexOf("on") != -1 ); } if ( command[1].equals( "volume" ) ) { int vol = Integer.parseInt(command[2]); SoundSystem.get().setVolume( vol ); } } } } lines.add(playerChatText.getText()); actual=lines.size(); if(lines.size()>50) { lines.remove(0); actual--; } playerChatText.setText(""); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/2c5d8c48e540e0e8bdaf2b72c3edd55f8838d406/StendhalChatLineListener.java/clean/src/games/stendhal/client/gui/StendhalChatLineListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 1128, 13889, 12, 1803, 1133, 73, 15329, 4901, 18, 4148, 2932, 12148, 91, 21436, 2773, 15, 14872, 14163, 1528, 18, 588, 1528, 10663, 780, 955, 33, 14872, 14163, 1528, 18, 588, 1528, 5621, 955, 33, 955, 18, 5290, 5621, 430, 12, 955, 18, 2469, 1435, 631, 20, 13, 2463, 31, 430, 12, 955, 18, 3001, 861, 12, 20, 13, 5, 2218, 2473, 15329, 759, 14163, 3076, 18, 1315, 351, 669, 74, 4523, 319, 476, 18, 54, 52, 1803, 10880, 33, 2704, 54, 52, 1803, 5621, 10880, 18, 458, 2932, 723, 15937, 10880, 8863, 10880, 18, 458, 2932, 955, 3113, 14872, 14163, 1528, 18, 588, 1528, 10663, 2625, 18, 4661, 12, 10880, 1769, 97, 12107, 95, 430, 12, 955, 18, 17514, 1190, 2932, 759, 7923, 10, 10, 2722, 12148, 21009, 5, 33, 2011, 15329, 780, 8526, 3076, 33, 2670, 780, 12, 955, 16, 22, 1769, 430, 12, 3076, 5, 33, 2011, 15329, 54, 52, 1803, 88, 1165, 33, 2704, 54, 52, 1803, 5621, 88, 1165, 18, 458, 2932, 723, 15937, 88, 1165, 8863, 88, 1165, 18, 458, 2932, 3299, 3113, 2722, 12148, 21009, 1769, 88, 1165, 18, 458, 2932, 955, 3113, 3076, 63, 21, 19226, 2625, 18, 4661, 12, 88, 1165, 1769, 9090, 430, 12, 955, 18, 17514, 1190, 2932, 19, 88, 1165, 7923, 20081, 955, 18, 17514, 1190, 2932, 19, 3576, 6, 3719, 759, 21009, 3076, 95, 780, 8526, 3076, 33, 2670, 780, 12, 955, 16, 23, 1769, 430, 12, 3076, 5, 33, 2011, 15329, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 1128, 13889, 12, 1803, 1133, 73, 15329, 4901, 18, 4148, 2932, 12148, 91, 21436, 2773, 15, 14872, 14163, 1528, 18, 588, 1528, 10663, 780, 955, 33, 14872, 14163, 1528, 18, 588, 1528, 5621, 955, 33, 955, 18, 5290, 5621, 430, 12, 955, 18, 2469, 1435, 631, 20, 13, 2463, 31, 430, 12, 955, 18, 3001, 861, 12, 20, 13, 5, 2218, 2473, 15329, 759, 14163, 3076, 18, 1315, 351, 669, 74, 4523, 319, 476, 18, 54, 52, 1803, 10880, 33, 2704, 54, 52, 1803, 5621, 10880, 18, 458, 2932, 723, 15937, 10880, 8863, 10880, 18, 458, 2932, 955, 3113, 14872, 14163, 1528, 18, 588, 1528, 10663, 2625, 18, 4661, 12, 10880, 1769, 97, 12107, 95, 430, 12, 2 ]
removePkChange.apply(currentModel);
removePkChange.apply(currentModel, getPlatform().isDelimitedIdentifierModeOn());
protected void processTableStructureChanges(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) throws IOException { // First we drop primary keys as necessary for (Iterator changeIt = changes.iterator(); changeIt.hasNext();) { TableChange change = (TableChange)changeIt.next(); if (change instanceof RemovePrimaryKeyChange) { processChange(currentModel, desiredModel, (RemovePrimaryKeyChange)change); change.apply(currentModel); changeIt.remove(); } else if (change instanceof PrimaryKeyChange) { PrimaryKeyChange pkChange = (PrimaryKeyChange)change; RemovePrimaryKeyChange removePkChange = new RemovePrimaryKeyChange(pkChange.getChangedTable(), pkChange.getOldPrimaryKeyColumns()); processChange(currentModel, desiredModel, removePkChange); removePkChange.apply(currentModel); } } // Next we add/change/remove columns // SapDB has a ALTER TABLE MODIFY COLUMN but it is limited regarding the type conversions // it can perform, so we don't use it here but rather rebuild the table for (Iterator changeIt = changes.iterator(); changeIt.hasNext();) { TableChange change = (TableChange)changeIt.next(); if (change instanceof AddColumnChange) { AddColumnChange addColumnChange = (AddColumnChange)change; // SapDB can only add not insert columns if (addColumnChange.isAtEnd()) { processChange(currentModel, desiredModel, addColumnChange); change.apply(currentModel); changeIt.remove(); } } else if (change instanceof ColumnDefaultValueChange) { processChange(currentModel, desiredModel, (ColumnDefaultValueChange)change); change.apply(currentModel); changeIt.remove(); } else if (change instanceof ColumnRequiredChange) { processChange(currentModel, desiredModel, (ColumnRequiredChange)change); change.apply(currentModel); changeIt.remove(); } else if (change instanceof RemoveColumnChange) { processChange(currentModel, desiredModel, (RemoveColumnChange)change); change.apply(currentModel); changeIt.remove(); } } // Finally we add primary keys for (Iterator changeIt = changes.iterator(); changeIt.hasNext();) { TableChange change = (TableChange)changeIt.next(); if (change instanceof AddPrimaryKeyChange) { processChange(currentModel, desiredModel, (AddPrimaryKeyChange)change); change.apply(currentModel); changeIt.remove(); } else if (change instanceof PrimaryKeyChange) { PrimaryKeyChange pkChange = (PrimaryKeyChange)change; AddPrimaryKeyChange addPkChange = new AddPrimaryKeyChange(pkChange.getChangedTable(), pkChange.getNewPrimaryKeyColumns()); processChange(currentModel, desiredModel, addPkChange); addPkChange.apply(currentModel); changeIt.remove(); } } }
3517 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3517/d23d6f0a3948c388abd9fe824b91091f5089c689/SapDbBuilder.java/clean/src/java/org/apache/ddlutils/platform/sapdb/SapDbBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1207, 1388, 6999, 7173, 12, 4254, 783, 1488, 16, 4766, 7734, 5130, 6049, 1488, 16, 4766, 7734, 3555, 565, 1084, 1388, 16, 4766, 7734, 3555, 565, 1018, 1388, 16, 4766, 7734, 1635, 1377, 1472, 16, 4766, 7734, 987, 377, 3478, 13, 1216, 1860, 565, 288, 3639, 368, 5783, 732, 3640, 3354, 1311, 487, 4573, 3639, 364, 261, 3198, 2549, 7193, 273, 3478, 18, 9838, 5621, 2549, 7193, 18, 5332, 2134, 5621, 13, 3639, 288, 5411, 3555, 3043, 2549, 273, 261, 1388, 3043, 13, 3427, 7193, 18, 4285, 5621, 5411, 309, 261, 3427, 1276, 3581, 11575, 3043, 13, 5411, 288, 7734, 1207, 3043, 12, 2972, 1488, 16, 6049, 1488, 16, 261, 3288, 11575, 3043, 13, 3427, 1769, 7734, 2549, 18, 9010, 12, 2972, 1488, 1769, 7734, 2549, 7193, 18, 4479, 5621, 5411, 289, 5411, 469, 309, 261, 3427, 1276, 15884, 653, 3043, 13, 5411, 288, 7734, 15884, 653, 3043, 4202, 2365, 3043, 4202, 273, 261, 11575, 3043, 13, 3427, 31, 7734, 3581, 11575, 3043, 1206, 7789, 3043, 273, 394, 3581, 11575, 3043, 12, 5465, 3043, 18, 588, 5033, 1388, 9334, 28524, 10402, 2365, 3043, 18, 588, 7617, 11575, 3380, 10663, 7734, 1207, 3043, 12, 2972, 1488, 16, 6049, 1488, 16, 1206, 7789, 3043, 1769, 7734, 1206, 7789, 3043, 18, 9010, 12, 2972, 1488, 16, 24921, 7675, 291, 23531, 329, 3004, 2309, 1398, 10663, 5411, 289, 3639, 289, 3639, 368, 4804, 732, 527, 19, 3427, 19, 4479, 2168, 3639, 368, 348, 438, 2290, 711, 279, 7981, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1207, 1388, 6999, 7173, 12, 4254, 783, 1488, 16, 4766, 7734, 5130, 6049, 1488, 16, 4766, 7734, 3555, 565, 1084, 1388, 16, 4766, 7734, 3555, 565, 1018, 1388, 16, 4766, 7734, 1635, 1377, 1472, 16, 4766, 7734, 987, 377, 3478, 13, 1216, 1860, 565, 288, 3639, 368, 5783, 732, 3640, 3354, 1311, 487, 4573, 3639, 364, 261, 3198, 2549, 7193, 273, 3478, 18, 9838, 5621, 2549, 7193, 18, 5332, 2134, 5621, 13, 3639, 288, 5411, 3555, 3043, 2549, 273, 261, 1388, 3043, 13, 3427, 7193, 18, 4285, 5621, 5411, 309, 261, 3427, 1276, 3581, 11575, 3043, 13, 5411, 288, 7734, 1207, 3043, 12, 2972, 1488, 16, 6049, 1488, 16, 261, 3288, 11575, 3043, 13, 3427, 1769, 2 ]
right = (byte) ( startY >> 8 );
right = (byte) (startY >> 8);
public boolean writeInfo() { boolean error = false; String errorMessage = new String(); byte left, right; //must update these values before checked otherwise, check if updating fails if( !this.parseCoords() ) { errorMessage += "invalid coordinate entries.\n"; error = true; } //now check actual values if( startX < 0 || startX > 0xffff || finishX < 0 || finishX > 0xffff ) { errorMessage += "coordinate value out of bounds, must be positive and less than 0x10000.\n"; error = true; } if( teleportOffset < 0 || teleportOffset > 0xe8 ) { errorMessage += "teleport offset must be from 0 to e8.\n"; error = true; } //warn the user if they are using a different teleport offset, unless they were using one to start else if( sceneNumber != 0 && !( teleportOffset == 0x96 || teleportOffset == 0x97 || teleportOffset == bTeleportOffset ) ) { int choice = JOptionPane.showConfirmDialog( null, "Warning! changing the value of the teleport offsets will overwrite the new" + "teleport choices with the necessary values, would you like to proceed?", "Warning!", JOptionPane.YES_NO_OPTION ); if( choice == JOptionPane.NO_OPTION ) return true; //pretend that it was successful so that there's no error message } if( !textBlock.updateTextPointer() ) { errorMessage += "invalid pointer.\n"; error = true; } switch( sceneNumber ) { case 0: if( !textBlock.updateCurrentArray( scene1Area.getText() ) ) { errorMessage += "invalid text block entry for scene 1.\n"; error = true; } break; case 1: if( !textBlock.updateCurrentArray( scene2Area.getText() ) ) { errorMessage += "invalid text block entry for scene 2.\n"; error = true; } break; case 2: if( !textBlock.updateCurrentArray( scene3Area.getText() ) ) { errorMessage += "invalid text block entry for scene 3.\n"; error = true; } break; } if( ( textBlock.currentArraySize() > textBlock.originalSize() ) && preventOverwriteToggle ) { errorMessage += "uncheck prevent overwrites or make text shorter.\n"; error = true; } if( error ) { JOptionPane.showMessageDialog( null, errorMessage, "error!", JOptionPane.ERROR_MESSAGE ); return false; } textBlock.writeTextInfo(); switch( sceneNumber ) { case 0: //SCENE 1 //X: left = (byte) startX; right = (byte) ( startX >> 8 ); //start rom.write( START_X_OFFSET, left ); rom.write( START_X_OFFSET + 1, right ); //move pattern rom.write( SCENE1_X_OFFSET, left ); rom.write( SCENE1_X_OFFSET + 1, right ); //Y: left = (byte) startY; right = (byte) ( startY >> 8 ); //start rom.write( START_Y_OFFSET, left ); rom.write( START_Y_OFFSET + 1, right ); //move pattern rom.write( SCENE1_Y_OFFSET, left ); rom.write( SCENE1_Y_OFFSET + 1, right ); //direction: movement = (byte) directionScene1Combo.getSelectedIndex(); rom.write( SCENE1_MOVE_OFFSET, movement ); break; case 1: //SCENE 2: //X: left = (byte) startX; right = (byte) ( startX >> 8 ); //move pattern: rom.write( SCENE2_X_OFFSET, left ); rom.write( SCENE2_X_OFFSET + 1, right ); //teleport: left = (byte) ( startX / 8 ); right = (byte) ( ( startX / 8 ) >> 8 ); rom.write( TELE_OFFSET + teleportOffset * 0x8, left ); rom.write( TELE_OFFSET + teleportOffset * 0x8 + 1, right ); //Y: left = (byte) startY; right = (byte) ( startY >> 8 ); //move pattern: rom.write( SCENE2_Y_OFFSET, left ); rom.write( SCENE2_Y_OFFSET + 1, right ); //teleport: left = (byte) ( startY / 8 ); right = (byte) ( ( startY / 8 ) >> 8 ); rom.write( TELE_OFFSET + teleportOffset * 0x8 + 2, left ); rom.write( TELE_OFFSET + teleportOffset * 0x8 + 2 + 1, right ); //teleport table value: rom.write( SCENE2_TEL_OFFSET, teleportOffset ); //direction movement = (byte) directionScene2Combo.getSelectedIndex(); rom.write( SCENE2_MOVE_OFFSET, movement ); break; case 2: //SCENE 3: //X1: left = (byte) startX; right = (byte) ( startX >> 8 ); //move pattern: rom.write( SCENE3_X_OFFSET, left ); rom.write( SCENE3_X_OFFSET + 1, right ); //teleport: left = (byte) ( startX / 8 ); right = (byte) ( ( startX / 8 ) >> 8 ); rom.write( TELE_OFFSET + teleportOffset * 0x8, left ); rom.write( TELE_OFFSET + teleportOffset * 0x8 + 1, right ); //Y1: left = (byte) startY; right = (byte) ( startY >> 8 ); //move pattern: rom.write( SCENE3_Y_OFFSET, left ); rom.write( SCENE3_Y_OFFSET + 1, right ); //teleport: left = (byte) ( startY / 8 ); right = (byte) ( ( startY / 8 ) >> 8 ); rom.write( TELE_OFFSET + teleportOffset * 0x8 + 2, left ); rom.write( TELE_OFFSET + teleportOffset * 0x8 + 2 + 1, right ); //FINISH //X2: left = (byte) finishX; right = (byte) ( finishX >> 8 ); rom.write( SCENE3_X2_OFFSET, left ); rom.write( SCENE3_X2_OFFSET + 1, right ); //Y2: left = (byte) finishY; right = (byte) ( finishY >> 8 ); //move pattern: rom.write( SCENE3_Y2_OFFSET, left ); rom.write( SCENE3_Y2_OFFSET + 1, right ); //teleport table value: rom.write( SCENE3_TEL_OFFSET, teleportOffset ); break; } System.out.println( "Succesfully saved!" ); return true; }
3699 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3699/e3746491678a9f0bdee74ba64d785d53772c8516/FlyoverEditor.java/clean/src/net/starmen/pkhack/eb/FlyoverEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 1045, 966, 1435, 3639, 288, 5411, 1250, 555, 273, 629, 31, 5411, 514, 225, 9324, 273, 394, 514, 5621, 5411, 1160, 2002, 16, 2145, 31, 13491, 368, 11926, 1089, 4259, 924, 1865, 5950, 3541, 16, 866, 309, 9702, 6684, 5411, 309, 12, 401, 2211, 18, 2670, 13089, 1435, 262, 5411, 288, 7734, 9324, 1011, 315, 5387, 7799, 3222, 8403, 82, 14432, 7734, 555, 273, 638, 31, 5411, 289, 5411, 368, 3338, 866, 3214, 924, 5411, 309, 12, 787, 60, 411, 374, 747, 787, 60, 405, 374, 20431, 747, 4076, 60, 411, 374, 747, 4076, 60, 405, 374, 20431, 262, 5411, 288, 7734, 9324, 1011, 315, 29191, 460, 596, 434, 4972, 16, 1297, 506, 6895, 471, 5242, 2353, 374, 92, 23899, 8403, 82, 14432, 7734, 555, 273, 638, 31, 5411, 289, 5411, 309, 12, 26855, 2335, 411, 374, 747, 26855, 2335, 405, 374, 6554, 28, 262, 5411, 288, 7734, 9324, 1011, 315, 88, 19738, 1384, 1297, 506, 628, 374, 358, 425, 28, 8403, 82, 14432, 7734, 555, 273, 638, 31, 5411, 289, 5411, 368, 8935, 326, 729, 309, 2898, 854, 1450, 279, 3775, 26855, 1384, 16, 3308, 2898, 4591, 1450, 1245, 358, 787, 5411, 469, 309, 12, 9065, 1854, 480, 374, 597, 1171, 401, 12, 26855, 2335, 422, 374, 92, 10525, 747, 26855, 2335, 422, 374, 92, 10580, 747, 10402, 26855, 2335, 422, 324, 56, 19738, 2335, 262, 262, 5411, 288, 7734, 509, 6023, 273, 13491, 804, 1895, 8485, 18, 4500, 11269, 6353, 12, 7682, 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, 1250, 1045, 966, 1435, 3639, 288, 5411, 1250, 555, 273, 629, 31, 5411, 514, 225, 9324, 273, 394, 514, 5621, 5411, 1160, 2002, 16, 2145, 31, 13491, 368, 11926, 1089, 4259, 924, 1865, 5950, 3541, 16, 866, 309, 9702, 6684, 5411, 309, 12, 401, 2211, 18, 2670, 13089, 1435, 262, 5411, 288, 7734, 9324, 1011, 315, 5387, 7799, 3222, 8403, 82, 14432, 7734, 555, 273, 638, 31, 5411, 289, 5411, 368, 3338, 866, 3214, 924, 5411, 309, 12, 787, 60, 411, 374, 747, 787, 60, 405, 374, 20431, 747, 4076, 60, 411, 374, 747, 4076, 60, 405, 374, 20431, 262, 5411, 288, 7734, 9324, 1011, 315, 29191, 460, 596, 434, 4972, 16, 1297, 506, 6895, 471, 5242, 2 ]
List types)
TypeNode type)
public DeclareParentsExt_c(Position pos, ClassnamePatternExpr pat, List types) { super(pos); this.pat = pat; this.types = TypedList.copyAndCheck(types,TypeNode.class,true); }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/bd450b5864091b1fa907d20c678bda7e768a0c51/DeclareParentsExt_c.java/buggy/aop/abc/src/abc/aspectj/ast/DeclareParentsExt_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16110, 834, 13733, 2482, 67, 71, 12, 2555, 949, 16, 27573, 1659, 529, 3234, 4742, 9670, 16, 1171, 9079, 1412, 907, 618, 13, 565, 288, 202, 9565, 12, 917, 1769, 3639, 333, 18, 16330, 225, 273, 9670, 31, 3639, 333, 18, 2352, 273, 13833, 682, 18, 3530, 31151, 12, 2352, 16, 559, 907, 18, 1106, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16110, 834, 13733, 2482, 67, 71, 12, 2555, 949, 16, 27573, 1659, 529, 3234, 4742, 9670, 16, 1171, 9079, 1412, 907, 618, 13, 565, 288, 202, 9565, 12, 917, 1769, 3639, 333, 18, 16330, 225, 273, 9670, 31, 3639, 333, 18, 2352, 273, 13833, 682, 18, 3530, 31151, 12, 2352, 16, 559, 907, 18, 1106, 16, 3767, 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 ]
Logger.error(this, "Requeueing "+messages.length+" messages!");
Logger.error(this, "Requeueing "+messages.length+" messages on "+this);
public void requeueMessages(Message[] messages) { // Will usually indicate serious problems Logger.error(this, "Requeueing "+messages.length+" messages!"); synchronized(messagesToSendNow) { for(int i=0;i<messages.length;i++) messagesToSendNow.add(messages[i]); } }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/f7c55c16450f673f85c304a3c998d3c274005bc3/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1111, 1455, 5058, 12, 1079, 8526, 2743, 13, 288, 3639, 368, 9980, 11234, 10768, 703, 22774, 9688, 3639, 4242, 18, 1636, 12, 2211, 16, 315, 426, 4000, 310, 13773, 6833, 18, 2469, 9078, 2743, 603, 13773, 2211, 1769, 3639, 3852, 12, 6833, 28878, 8674, 13, 288, 5411, 364, 12, 474, 277, 33, 20, 31, 77, 32, 6833, 18, 2469, 31, 77, 27245, 7734, 2743, 28878, 8674, 18, 1289, 12, 6833, 63, 77, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1111, 1455, 5058, 12, 1079, 8526, 2743, 13, 288, 3639, 368, 9980, 11234, 10768, 703, 22774, 9688, 3639, 4242, 18, 1636, 12, 2211, 16, 315, 426, 4000, 310, 13773, 6833, 18, 2469, 9078, 2743, 603, 13773, 2211, 1769, 3639, 3852, 12, 6833, 28878, 8674, 13, 288, 5411, 364, 12, 474, 277, 33, 20, 31, 77, 32, 6833, 18, 2469, 31, 77, 27245, 7734, 2743, 28878, 8674, 18, 1289, 12, 6833, 63, 77, 19226, 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 ]
} else if ( ch == '"') {
} else if ( ch == '"' && !keepQuot) {
protected final void printXMLChar( int ch ) throws IOException { if ( ch == '<') { _printer.printText("&lt;"); } else if (ch == '&') { _printer.printText("&amp;"); } else if ( ch == '"') { // REVISIT: for character data we should not convert this into // char reference _printer.printText("&quot;"); } else if ( _encodingInfo.isPrintable((char)ch) && XML11Char.isXML11ValidLiteral(ch)) { _printer.printText((char)ch); } else { // The character is not printable, print as character reference. _printer.printText( "&#x" ); _printer.printText(Integer.toHexString(ch)); _printer.printText( ';' ); } }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/dc5e68c8ebf36fd347188ace2f7187c8a3a87f28/XML11Serializer.java/clean/src/org/apache/xml/serialize/XML11Serializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 1172, 4201, 2156, 12, 509, 462, 262, 1216, 1860, 288, 3639, 309, 261, 462, 422, 2368, 6134, 288, 5411, 389, 30439, 18, 1188, 1528, 2932, 10, 5618, 4868, 1769, 3639, 289, 469, 309, 261, 343, 422, 5183, 6134, 288, 5411, 389, 30439, 18, 1188, 1528, 2932, 10, 931, 4868, 1769, 3639, 289, 469, 309, 261, 462, 422, 4754, 597, 401, 10102, 7678, 13, 288, 1850, 368, 2438, 26780, 1285, 30, 364, 3351, 501, 732, 1410, 486, 1765, 333, 1368, 2398, 368, 1850, 1149, 2114, 5411, 389, 30439, 18, 1188, 1528, 2932, 10, 9270, 4868, 1769, 3639, 289, 469, 309, 261, 389, 5999, 966, 18, 291, 5108, 429, 12443, 3001, 13, 343, 13, 597, 3167, 2499, 2156, 18, 291, 4201, 2499, 1556, 6177, 12, 343, 3719, 288, 2398, 389, 30439, 18, 1188, 1528, 12443, 3001, 13, 343, 1769, 3639, 289, 469, 288, 5411, 368, 1021, 3351, 353, 486, 23474, 16, 1172, 487, 3351, 2114, 18, 5411, 389, 30439, 18, 1188, 1528, 12, 31235, 92, 6, 11272, 5411, 389, 30439, 18, 1188, 1528, 12, 4522, 18, 869, 14866, 12, 343, 10019, 5411, 389, 30439, 18, 1188, 1528, 12, 7554, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 918, 1172, 4201, 2156, 12, 509, 462, 262, 1216, 1860, 288, 3639, 309, 261, 462, 422, 2368, 6134, 288, 5411, 389, 30439, 18, 1188, 1528, 2932, 10, 5618, 4868, 1769, 3639, 289, 469, 309, 261, 343, 422, 5183, 6134, 288, 5411, 389, 30439, 18, 1188, 1528, 2932, 10, 931, 4868, 1769, 3639, 289, 469, 309, 261, 462, 422, 4754, 597, 401, 10102, 7678, 13, 288, 1850, 368, 2438, 26780, 1285, 30, 364, 3351, 501, 732, 1410, 486, 1765, 333, 1368, 2398, 368, 1850, 1149, 2114, 5411, 389, 30439, 18, 1188, 1528, 2932, 10, 9270, 4868, 1769, 3639, 289, 469, 309, 261, 389, 5999, 966, 18, 291, 5108, 429, 12443, 3001, 13, 343, 13, 597, 3167, 2499, 2 ]
_t = __t724;
_t = __t728;
public final void color_expr(AST _t) throws RecognitionException { AST color_expr_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BGCOLOR: { AST __t721 = _t; AST tmp283_AST_in = (AST)_t; match(_t,BGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t721; _t = _t.getNextSibling(); break; } case DCOLOR: { AST __t722 = _t; AST tmp284_AST_in = (AST)_t; match(_t,DCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t722; _t = _t.getNextSibling(); break; } case FGCOLOR: { AST __t723 = _t; AST tmp285_AST_in = (AST)_t; match(_t,FGCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t723; _t = _t.getNextSibling(); break; } case PFCOLOR: { AST __t724 = _t; AST tmp286_AST_in = (AST)_t; match(_t,PFCOLOR); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t724; _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/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2036, 67, 8638, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2036, 67, 8638, 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, 30609, 10989, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 27, 5340, 273, 389, 88, 31, 1082, 202, 9053, 1853, 6030, 23, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 30098, 10989, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 67, 88, 273, 1001, 88, 27, 5340, 31, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 463, 10989, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 27, 3787, 273, 389, 88, 31, 1082, 202, 9053, 1853, 22, 5193, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 40, 10989, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 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, 225, 202, 482, 727, 918, 2036, 67, 8638, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2036, 67, 8638, 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, 30609, 10989, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 27, 5340, 273, 389, 88, 31, 1082, 202, 9053, 1853, 6030, 23, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 30098, 10989, 1769, 1082, 202, 67, 88, 2 ]
ResultSet rs = stmt.executeQuery( "SELECT java_getSystemProperty('user.dir')");
ResultSet rs = stmt .executeQuery("SELECT java_getSystemProperty('user.dir')");
public void testCurrentDir() throws SQLException { System.out.println("*** testCurrentDir()"); Statement stmt = m_connection.createStatement(); ResultSet rs = stmt.executeQuery( "SELECT java_getSystemProperty('user.dir')"); if(!rs.next()) System.out.println("Unable to position ResultSet"); else System.out.println( "Server directory = " + rs.getString(1)); rs.close(); stmt.close(); }
7270 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7270/efa76a6b7645e410731c10cec532ef6e6ea9f3f1/Tester.java/buggy/src/java/test/org/postgresql/pljava/test/Tester.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3935, 1621, 1435, 202, 15069, 6483, 202, 95, 202, 202, 3163, 18, 659, 18, 8222, 2932, 14465, 1842, 3935, 1621, 1435, 8863, 202, 202, 3406, 3480, 273, 312, 67, 4071, 18, 2640, 3406, 5621, 202, 202, 13198, 3597, 273, 3480, 18, 8837, 1138, 12, 9506, 202, 6, 4803, 2252, 67, 588, 3163, 1396, 2668, 1355, 18, 1214, 23291, 1769, 202, 202, 430, 12, 5, 5453, 18, 4285, 10756, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 3370, 358, 1754, 10842, 8863, 202, 202, 12107, 1082, 202, 3163, 18, 659, 18, 8222, 12, 9506, 202, 6, 2081, 1867, 273, 315, 397, 3597, 18, 588, 780, 12, 21, 10019, 202, 202, 5453, 18, 4412, 5621, 202, 202, 10589, 18, 4412, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3935, 1621, 1435, 202, 15069, 6483, 202, 95, 202, 202, 3163, 18, 659, 18, 8222, 2932, 14465, 1842, 3935, 1621, 1435, 8863, 202, 202, 3406, 3480, 273, 312, 67, 4071, 18, 2640, 3406, 5621, 202, 202, 13198, 3597, 273, 3480, 18, 8837, 1138, 12, 9506, 202, 6, 4803, 2252, 67, 588, 3163, 1396, 2668, 1355, 18, 1214, 23291, 1769, 202, 202, 430, 12, 5, 5453, 18, 4285, 10756, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 3370, 358, 1754, 10842, 8863, 202, 202, 12107, 1082, 202, 3163, 18, 659, 18, 8222, 12, 9506, 202, 6, 2081, 1867, 273, 315, 397, 3597, 18, 588, 780, 12, 21, 10019, 202, 202, 5453, 18, 4412, 5621, 202, 2 ]
private ServiceClient createServiceClient() throws AxisFault{
private ServiceClient createServiceClient() throws AxisFault {
private ServiceClient createServiceClient() throws AxisFault{ AxisService service = createSimpleOneWayServiceforClient(serviceName, Echo.class.getName(), operationName); ConfigurationContext configcontext = UtilServer.createClientConfigurationContext(); ServiceClient sender = null; Options options = new Options(); options.setTo(targetEPR); options.setTransportInProtocol(Constants.TRANSPORT_HTTP); options.setAction(operationName.getLocalPart()); options.setReplyTo(replyTo); options.setFaultTo(faultTo); sender = new ServiceClient(configcontext, service); sender.setOptions(options); sender.engageModule(new QName("addressing")); return sender; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/bf48280bb2cc17e59a92ab2d54f54ddd09c486e7/AddressingServiceTest.java/clean/modules/integration/test/org/apache/axis2/addressing/AddressingServiceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1956, 1227, 21073, 1227, 1435, 1216, 15509, 7083, 288, 3639, 15509, 1179, 1156, 273, 5411, 752, 5784, 3335, 21831, 1179, 1884, 1227, 12, 15423, 16, 13491, 28995, 18, 1106, 18, 17994, 9334, 13491, 22697, 1769, 3639, 4659, 1042, 642, 2472, 273, 3564, 2081, 18, 2640, 1227, 1750, 1042, 5621, 3639, 1956, 1227, 5793, 273, 446, 31, 7734, 5087, 702, 273, 394, 5087, 5621, 3639, 702, 18, 542, 774, 12, 3299, 41, 8025, 1769, 3639, 702, 18, 542, 6568, 382, 5752, 12, 2918, 18, 8989, 31943, 67, 3693, 1769, 3639, 702, 18, 542, 1803, 12, 7624, 461, 18, 588, 2042, 1988, 10663, 3639, 702, 18, 542, 7817, 774, 12, 10629, 774, 1769, 3639, 702, 18, 542, 7083, 774, 12, 643, 774, 1769, 3639, 5793, 273, 394, 1956, 1227, 12, 1425, 2472, 16, 1156, 1769, 3639, 5793, 18, 542, 1320, 12, 2116, 1769, 3639, 5793, 18, 24688, 410, 3120, 12, 2704, 16723, 2932, 2867, 310, 7923, 1769, 7734, 327, 5793, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1956, 1227, 21073, 1227, 1435, 1216, 15509, 7083, 288, 3639, 15509, 1179, 1156, 273, 5411, 752, 5784, 3335, 21831, 1179, 1884, 1227, 12, 15423, 16, 13491, 28995, 18, 1106, 18, 17994, 9334, 13491, 22697, 1769, 3639, 4659, 1042, 642, 2472, 273, 3564, 2081, 18, 2640, 1227, 1750, 1042, 5621, 3639, 1956, 1227, 5793, 273, 446, 31, 7734, 5087, 702, 273, 394, 5087, 5621, 3639, 702, 18, 542, 774, 12, 3299, 41, 8025, 1769, 3639, 702, 18, 542, 6568, 382, 5752, 12, 2918, 18, 8989, 31943, 67, 3693, 1769, 3639, 702, 18, 542, 1803, 12, 7624, 461, 18, 588, 2042, 1988, 10663, 3639, 702, 18, 542, 7817, 774, 12, 10629, 774, 1769, 3639, 702, 18, 542, 7083, 774, 2 ]
currentScratch.getExpression(5, expressionReference);
currentScratch.getExpression(5, expressionReference);
public ExpressionActor beginBinaryExpression( Value operand, int operator, long expressionReference, Highlight h) { highlight(h); // Prepare the actors ValueActor operandAct = operand.getActor(); OperatorActor operatorAct = factory.produceBinOpActor(operator); OperatorActor dotsAct = factory.produceEllipsis(); // Create the expression actor for 5 elements and reserve // places for the three first actors. ExpressionActor expr = currentScratch.getExpression(5, expressionReference); Point operandLoc = expr.reserve(operandAct); Point operatorLoc = expr.reserve(operatorAct); Point dotsLoc = expr.reserve(dotsAct); // Prepare the theatre for animation. capture(); // Move the first operand to its place. engine.showAnimation(operandAct.fly(operandLoc)); expr.bind(operandAct); updateCapture(); // Make the operator appear. engine.showAnimation(operatorAct.appear(operatorLoc)); expr.bind(operatorAct); updateCapture(); // Make the ellipsis appear. engine.showAnimation(dotsAct.appear(dotsLoc)); expr.bind(dotsAct); // Re-activate the theatre after animation. release(); return expr; }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/3120a92c233114ca42e6ed661ff716e0bf8a53b4/Director.java/buggy/src/jeliot/theater/Director.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5371, 17876, 2376, 5905, 2300, 12, 3639, 1445, 9886, 16, 3639, 509, 3726, 16, 3639, 1525, 2652, 2404, 16, 3639, 31386, 366, 13, 288, 3639, 8839, 12, 76, 1769, 3639, 368, 7730, 326, 27141, 3639, 1445, 17876, 9886, 2459, 273, 9886, 18, 588, 17876, 5621, 3639, 11097, 17876, 3726, 2459, 273, 3272, 18, 11776, 311, 9913, 3817, 17876, 12, 9497, 1769, 3639, 11097, 17876, 19522, 2459, 273, 3272, 18, 11776, 311, 4958, 17829, 5621, 3639, 368, 1788, 326, 2652, 8327, 364, 1381, 2186, 471, 20501, 3639, 368, 12576, 364, 326, 8925, 1122, 27141, 18, 3639, 5371, 17876, 3065, 273, 5411, 783, 1541, 86, 505, 18, 588, 2300, 12, 25, 16, 2652, 2404, 1769, 3639, 4686, 9886, 1333, 273, 3065, 18, 455, 6527, 12, 4063, 464, 2459, 1769, 3639, 4686, 3726, 1333, 273, 3065, 18, 455, 6527, 12, 9497, 2459, 1769, 3639, 4686, 19522, 1333, 273, 3065, 18, 455, 6527, 12, 72, 6968, 2459, 1769, 3639, 368, 7730, 326, 326, 270, 266, 364, 8794, 18, 3639, 7477, 5621, 7734, 368, 9933, 326, 1122, 9886, 358, 2097, 3166, 18, 3639, 4073, 18, 4500, 10816, 12, 4063, 464, 2459, 18, 29670, 12, 4063, 464, 1333, 10019, 3639, 3065, 18, 4376, 12, 4063, 464, 2459, 1769, 3639, 1089, 12372, 5621, 3639, 368, 4344, 326, 3726, 9788, 18, 3639, 4073, 18, 4500, 10816, 12, 9497, 2459, 18, 438, 17964, 12, 9497, 1333, 10019, 3639, 3065, 18, 4376, 12, 9497, 2459, 1769, 3639, 1089, 12372, 5621, 3639, 368, 4344, 326, 28992, 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, 5371, 17876, 2376, 5905, 2300, 12, 3639, 1445, 9886, 16, 3639, 509, 3726, 16, 3639, 1525, 2652, 2404, 16, 3639, 31386, 366, 13, 288, 3639, 8839, 12, 76, 1769, 3639, 368, 7730, 326, 27141, 3639, 1445, 17876, 9886, 2459, 273, 9886, 18, 588, 17876, 5621, 3639, 11097, 17876, 3726, 2459, 273, 3272, 18, 11776, 311, 9913, 3817, 17876, 12, 9497, 1769, 3639, 11097, 17876, 19522, 2459, 273, 3272, 18, 11776, 311, 4958, 17829, 5621, 3639, 368, 1788, 326, 2652, 8327, 364, 1381, 2186, 471, 20501, 3639, 368, 12576, 364, 326, 8925, 1122, 27141, 18, 3639, 5371, 17876, 3065, 273, 5411, 783, 1541, 86, 505, 18, 588, 2300, 12, 25, 16, 2652, 2404, 1769, 3639, 4686, 9886, 1333, 2 ]
public String jsFunction_blink() {
private String jsFunction_blink() {
public String jsFunction_blink() { return tagify("BLINK", null, null); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/b631b3e8574543a4d24a0048cc710f305deb8ff5/NativeString.java/clean/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 3828, 2083, 67, 70, 1232, 1435, 288, 3639, 327, 1047, 1164, 2932, 38, 10554, 3113, 446, 16, 446, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 514, 3828, 2083, 67, 70, 1232, 1435, 288, 3639, 327, 1047, 1164, 2932, 38, 10554, 3113, 446, 16, 446, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (entry == null)
if (entry == null) {
public FieldDecoration getFieldDecoration(String id) { Object entry = decorations.get(id); if (entry == null) return null; FieldDecoration dec = ((Entry) entry).getDecoration(); Image image = dec.getImage(); if (image != null) { maxDecorationHeight = Math.max(0, image.getBounds().height); maxDecorationWidth = Math.max(0, image.getBounds().width); } return dec; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/391f2606b4ea2c1fb5052d938ca90877ee7631f6/FieldDecorationRegistry.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/FieldDecorationRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2286, 7859, 367, 5031, 7859, 367, 12, 780, 612, 13, 288, 202, 202, 921, 1241, 273, 4839, 1012, 18, 588, 12, 350, 1769, 202, 202, 430, 261, 4099, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 974, 7859, 367, 2109, 273, 14015, 1622, 13, 1241, 2934, 588, 7859, 367, 5621, 202, 202, 2040, 1316, 273, 2109, 18, 588, 2040, 5621, 202, 202, 430, 261, 2730, 480, 446, 13, 288, 1082, 202, 1896, 7859, 367, 2686, 273, 2361, 18, 1896, 12, 20, 16, 1316, 18, 588, 5694, 7675, 4210, 1769, 1082, 202, 1896, 7859, 367, 2384, 273, 2361, 18, 1896, 12, 20, 16, 1316, 18, 588, 5694, 7675, 2819, 1769, 202, 202, 97, 202, 202, 2463, 2109, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2286, 7859, 367, 5031, 7859, 367, 12, 780, 612, 13, 288, 202, 202, 921, 1241, 273, 4839, 1012, 18, 588, 12, 350, 1769, 202, 202, 430, 261, 4099, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 974, 7859, 367, 2109, 273, 14015, 1622, 13, 1241, 2934, 588, 7859, 367, 5621, 202, 202, 2040, 1316, 273, 2109, 18, 588, 2040, 5621, 202, 202, 430, 261, 2730, 480, 446, 13, 288, 1082, 202, 1896, 7859, 367, 2686, 273, 2361, 18, 1896, 12, 20, 16, 1316, 18, 588, 5694, 7675, 4210, 1769, 1082, 202, 1896, 7859, 367, 2384, 273, 2361, 18, 1896, 12, 20, 16, 1316, 18, 588, 5694, 7675, 2819, 1769, 202, 202, 97, 202, 202, 2 ]
case OS.WM_QUERYENDSESSION:
} case OS.WM_QUERYENDSESSION: {
int messageProc (int hwnd, int msg, int wParam, int lParam) { switch (msg) { case SWT_KEYMSG: boolean consumed = false; MSG keyMsg = new MSG (); OS.MoveMemory (keyMsg, lParam, MSG.sizeof); Control control = findControl (keyMsg.hwnd); if (control != null) { keyMsg.hwnd = control.handle; int flags = OS.PM_REMOVE | OS.PM_NOYIELD | OS.PM_QS_INPUT | OS.PM_QS_POSTMESSAGE; do { if (!(consumed |= filterMessage (keyMsg))) { OS.TranslateMessage (keyMsg); consumed |= OS.DispatchMessage (keyMsg) == 1; } } while (OS.PeekMessage (keyMsg, keyMsg.hwnd, OS.WM_KEYFIRST, OS.WM_KEYLAST, flags)); } if (consumed) { int hHeap = OS.GetProcessHeap (); OS.HeapFree (hHeap, 0, lParam); } else { OS.PostMessage (embeddedHwnd, SWT_KEYMSG, wParam, lParam); } return 0; case SWT_SETTINGCHANGED: { settingsChanged = false; Font oldFont = getSystemFont (); updateImages (); updateFonts (); sendEvent (SWT.Settings, null); Font newFont = getSystemFont (); Shell [] shells = getShells (); for (int i=0; i<shells.length; i++) { Shell shell = shells [i]; if (!shell.isDisposed ()) { shell.updateFont (oldFont, newFont); } } break; } case SWT_TRAYICONMSG: if (tray != null) { TrayItem [] items = tray.items; for (int i=0; i<items.length; i++) { TrayItem item = items [i]; if (item != null && item.id == wParam) { return item.messageProc (hwnd, msg, wParam, lParam); } } } return 0; case OS.WM_ACTIVATEAPP: /* * Feature in Windows. When multiple shells are * disabled and one of the shells has an enabled * dialog child and the user selects a disabled * shell that does not have the enabled dialog * child using the Task bar, Windows brings the * disabled shell to the front. As soon as the * user clicks on the disabled shell, the enabled * dialog child comes to the front. This behavior * is unspecified and seems strange. Normally, a * disabled shell is frozen on the screen and the * user cannot change the z-order by clicking with * the mouse. The fix is to look for WM_ACTIVATEAPP * and force the enabled dialog child to the front. * This is typically what the user is expecting. * * NOTE: If the modal shell is disabled for any * reason, it should not be brought to the front. */ if (wParam != 0) { if (!isXMouseActive ()) { if (modalDialogShell != null && modalDialogShell.isDisposed ()) modalDialogShell = null; Shell modal = modalDialogShell != null ? modalDialogShell : getModalShell (); if (modal != null) { int hwndModal = modal.handle; if (OS.IsWindowEnabled (hwndModal)) { modal.bringToTop (); if (modal.isDisposed ()) break; } int hwndPopup = OS.GetLastActivePopup (hwndModal); if (hwndPopup != 0 && hwndPopup != modal.handle) { if (getControl (hwndPopup) == null) { if (OS.IsWindowEnabled (hwndPopup)) { OS.SetActiveWindow (hwndPopup); } } } } } } break; case OS.WM_ENDSESSION: if (wParam != 0) { dispose (); /* * When the session is ending, no SWT program can continue * to run. In order to avoid running code after the display * has been disposed, exit from Java. */ System.exit (0); } break; case OS.WM_QUERYENDSESSION: Event event = new Event (); sendEvent (SWT.Close, event); if (!event.doit) return 0; break; case OS.WM_SETTINGCHANGE: if (settingsChanged) break; settingsChanged = true; OS.PostMessage (hwnd, SWT_SETTINGCHANGED, 0 ,0); break; case OS.WM_TIMER: runTimer (wParam); break; default: if (msg == SWT_TASKBARCREATED) { if (tray != null) { TrayItem [] items = tray.items; for (int i=0; i<items.length; i++) { TrayItem item = items [i]; if (item != null) item.recreate (); } } } } return OS.DefWindowProc (hwnd, msg, wParam, lParam);}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/fb6d2df828bbfcf96d146011227cfe339524c82e/Display.java/buggy/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 509, 883, 15417, 261, 474, 16139, 4880, 16, 509, 1234, 16, 509, 341, 786, 16, 509, 328, 786, 13, 288, 202, 9610, 261, 3576, 13, 288, 202, 202, 3593, 348, 8588, 67, 3297, 11210, 30, 1082, 202, 6494, 12393, 273, 629, 31, 1082, 202, 11210, 498, 3332, 273, 394, 13771, 261, 1769, 1082, 202, 4618, 18, 7607, 6031, 261, 856, 3332, 16, 328, 786, 16, 13771, 18, 1467, 792, 1769, 1082, 202, 3367, 3325, 273, 1104, 3367, 261, 856, 3332, 18, 20701, 4880, 1769, 1082, 202, 430, 261, 7098, 480, 446, 13, 288, 9506, 202, 856, 3332, 18, 20701, 4880, 273, 3325, 18, 4110, 31, 9506, 202, 474, 2943, 273, 5932, 18, 12728, 67, 22122, 571, 5932, 18, 12728, 67, 3417, 61, 45, 5192, 571, 5932, 18, 12728, 67, 21185, 67, 15934, 571, 5932, 18, 12728, 67, 21185, 67, 3798, 8723, 31, 9506, 202, 2896, 288, 6862, 202, 430, 16051, 12, 24268, 5626, 1034, 1079, 261, 856, 3332, 20349, 288, 25083, 202, 4618, 18, 12818, 1079, 261, 856, 3332, 1769, 25083, 202, 24268, 5626, 5932, 18, 5325, 1079, 261, 856, 3332, 13, 422, 404, 31, 25083, 202, 97, 9506, 202, 97, 1323, 261, 4618, 18, 30950, 1079, 261, 856, 3332, 16, 498, 3332, 18, 20701, 4880, 16, 5932, 18, 25173, 67, 3297, 15354, 16, 5932, 18, 25173, 67, 3297, 14378, 16, 2943, 10019, 1082, 202, 97, 1082, 202, 430, 261, 24268, 13, 288, 9506, 202, 474, 366, 15648, 273, 5932, 18, 967, 2227, 15648, 261, 1769, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 509, 883, 15417, 261, 474, 16139, 4880, 16, 509, 1234, 16, 509, 341, 786, 16, 509, 328, 786, 13, 288, 202, 9610, 261, 3576, 13, 288, 202, 202, 3593, 348, 8588, 67, 3297, 11210, 30, 1082, 202, 6494, 12393, 273, 629, 31, 1082, 202, 11210, 498, 3332, 273, 394, 13771, 261, 1769, 1082, 202, 4618, 18, 7607, 6031, 261, 856, 3332, 16, 328, 786, 16, 13771, 18, 1467, 792, 1769, 1082, 202, 3367, 3325, 273, 1104, 3367, 261, 856, 3332, 18, 20701, 4880, 1769, 1082, 202, 430, 261, 7098, 480, 446, 13, 288, 9506, 202, 856, 3332, 18, 20701, 4880, 273, 3325, 18, 4110, 31, 9506, 202, 474, 2943, 273, 5932, 18, 12728, 67, 22122, 571, 5932, 18, 12728, 2 ]
boolean oldOutputSystem)
Properties outputProperties, boolean oldOutputSystem)
protected TemplatesImpl(byte[][] bytecodes, String transletName, boolean oldOutputSystem) { _bytecodes = bytecodes; _name = transletName; _oldOutputSystem = oldOutputSystem; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/ee5f7629a90e982a1395486f1cb4e74a3269d07f/TemplatesImpl.java/buggy/src/org/apache/xalan/xsltc/trax/TemplatesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 26212, 2828, 12, 7229, 63, 6362, 65, 635, 14537, 1145, 16, 514, 906, 1810, 461, 16, 202, 2297, 876, 2297, 16, 1250, 1592, 1447, 3163, 13, 377, 288, 202, 67, 1637, 14537, 1145, 273, 635, 14537, 1145, 31, 202, 67, 529, 1377, 273, 906, 1810, 461, 31, 202, 67, 1673, 1447, 3163, 273, 1592, 1447, 3163, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 26212, 2828, 12, 7229, 63, 6362, 65, 635, 14537, 1145, 16, 514, 906, 1810, 461, 16, 202, 2297, 876, 2297, 16, 1250, 1592, 1447, 3163, 13, 377, 288, 202, 67, 1637, 14537, 1145, 273, 635, 14537, 1145, 31, 202, 67, 529, 1377, 273, 906, 1810, 461, 31, 202, 67, 1673, 1447, 3163, 273, 1592, 1447, 3163, 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 ]
{
{
public void beforeDrawSeries( Series series, ISeriesRenderer isr, IChartScriptContext icsc ) { }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/44939d4b2e130bad03a0143215dc4cc6db64d622/ChartEventHandlerAdapter.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/script/ChartEventHandlerAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1865, 6493, 6485, 12, 9225, 4166, 16, 467, 6485, 6747, 353, 86, 16, 1082, 202, 45, 7984, 3651, 1042, 13579, 1017, 262, 202, 95, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1865, 6493, 6485, 12, 9225, 4166, 16, 467, 6485, 6747, 353, 86, 16, 1082, 202, 45, 7984, 3651, 1042, 13579, 1017, 262, 202, 95, 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 ]
if ( patternStr == null )
if ( pattern == null )
public String getFormatString( ) { if ( category == null && patternStr == null ) { return null; } if ( category == null ) { category = ""; //$NON-NLS-1$ } if ( patternStr == null ) { patternStr = ""; //$NON-NLS-1$ } // special case: when pattern equals category, omits(eliminatess) the // pattern, only returns the category.-----> for parameter dialog use. if ( category.equals( patternStr ) ) { return category; } return category + ":" + patternStr; //$NON-NLS-1$ }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1123f2b44bade54e4b5714c702c79b94bb65dca3/FormatDateTimePage.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatDateTimePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 10959, 780, 12, 262, 202, 95, 202, 202, 430, 261, 3150, 422, 446, 597, 1936, 1585, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 430, 261, 3150, 422, 446, 262, 202, 202, 95, 1082, 202, 4743, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 1936, 1585, 422, 446, 262, 202, 202, 95, 1082, 202, 4951, 1585, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 759, 4582, 648, 30, 1347, 1936, 1606, 3150, 16, 8068, 1282, 12, 292, 381, 267, 270, 403, 13, 326, 202, 202, 759, 1936, 16, 1338, 1135, 326, 3150, 18, 553, 2122, 364, 1569, 6176, 999, 18, 202, 202, 430, 261, 3150, 18, 14963, 12, 1936, 1585, 262, 262, 202, 202, 95, 1082, 202, 2463, 3150, 31, 202, 202, 97, 202, 202, 2463, 3150, 397, 6153, 397, 1936, 1585, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 10959, 780, 12, 262, 202, 95, 202, 202, 430, 261, 3150, 422, 446, 597, 1936, 1585, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 430, 261, 3150, 422, 446, 262, 202, 202, 95, 1082, 202, 4743, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 1936, 1585, 422, 446, 262, 202, 202, 95, 1082, 202, 4951, 1585, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 759, 4582, 648, 30, 1347, 1936, 1606, 3150, 16, 8068, 1282, 12, 292, 381, 267, 270, 403, 13, 326, 202, 202, 759, 1936, 16, 1338, 1135, 326, 2 ]
/* FIXME Assert.assertTrue( "ns0 has == 0 privs on ns1", s.naming().has(s, ns1, ns0.toMember()).size() == 0 ); Assert.assertFalse( "ns0 !STEM on ns1", s.naming().has(s, ns1, ns0.toMember(), Grouper.PRIV_STEM) ); Assert.assertFalse( "ns0 !CREATE on ns1", s.naming().has(s, ns1, ns0.toMember(), Grouper.PRIV_CREATE) ); Assert.assertTrue( "ns1 has == 0 privs on ns1", s.naming().has(s, ns1, ns1.toMember()).size() == 0 ); Assert.assertFalse( "ns1 !STEM on ns1", s.naming().has(s, ns1, ns1.toMember(), Grouper.PRIV_STEM) ); Assert.assertFalse( "ns1 !CREATE on ns1", s.naming().has(s, ns1, ns1.toMember(), Grouper.PRIV_CREATE) ); */
public void testMoF() { Subject subj = null; try { subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT); } catch (SubjectNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } GrouperSession s = GrouperSession.start(subj); // Create ns0 GrouperStem ns0 = GrouperStem.create( s, Constants.ns0s, Constants.ns0e ); Assert.assertNotNull("ns0 !null", ns0); // Create ns1 GrouperStem ns1 = GrouperStem.create( s, Constants.ns1s, Constants.ns1e ); Assert.assertNotNull("ns0 !null", ns0); // Load m0 GrouperMember m0 = Common.loadMember( s, Constants.mem0I, Constants.mem0T ); Assert.assertNotNull("m0 !null", m0); // Load m1 GrouperMember m1 = Common.loadMember( s, Constants.mem1I, Constants.mem1T ); Assert.assertNotNull("m0 !null", m0); // Grant m0 STEM on ns0 Assert.assertTrue( "grant m0 STEM on ns0", s.naming().grant(s, ns0, m0, Grouper.PRIV_STEM) ); // Grant m0 STEM on ns1 Assert.assertTrue( "grant m0 STEM on ns1", s.naming().grant(s, ns1, m0, Grouper.PRIV_STEM) ); // Assert privileges/* FIXME Assert.assertTrue( "ns0 has == 0 privs on ns0", s.naming().has(s, ns0, ns0.toMember()).size() == 0 ); Assert.assertFalse( "ns0 !STEM on ns0", s.naming().has(s, ns0, ns0.toMember(), Grouper.PRIV_STEM) ); Assert.assertFalse( "ns0 !CREATE on ns0", s.naming().has(s, ns0, ns0.toMember(), Grouper.PRIV_CREATE) ); Assert.assertTrue( "ns1 has == 0 privs on ns0", s.naming().has(s, ns0, ns1.toMember()).size() == 0 ); Assert.assertFalse( "ns1 !STEM on ns0", s.naming().has(s, ns0, ns1.toMember(), Grouper.PRIV_STEM) ); Assert.assertFalse( "ns1 !CREATE on ns0", s.naming().has(s, ns0, ns1.toMember(), Grouper.PRIV_CREATE) );*/ Assert.assertTrue( "root has == 2 privs on ns0", s.naming().has(s, ns0).size() == 2 ); Assert.assertTrue( "root STEM on ns0", s.naming().has(s, ns0, Grouper.PRIV_STEM) ); Assert.assertTrue( "root CREATE on ns0", s.naming().has(s, ns0, Grouper.PRIV_CREATE) ); Assert.assertTrue( "m0 has == 1 privs on ns0", s.naming().has(s, ns0, m0).size() == 1 ); Assert.assertTrue( "m0 STEM on ns0", s.naming().has(s, ns0, m0, Grouper.PRIV_STEM) ); Assert.assertFalse( "m0 !CREATE on ns0", s.naming().has(s, ns0, m0, Grouper.PRIV_CREATE) ); Assert.assertTrue( "m1 has == 0 privs on ns0", s.naming().has(s, ns0, m1).size() == 0 ); Assert.assertFalse( "m1 !STEM on ns0", s.naming().has(s, ns0, m1, Grouper.PRIV_STEM) ); Assert.assertFalse( "m1 !CREATE on ns0", s.naming().has(s, ns0, m1, Grouper.PRIV_CREATE) );/* FIXME Assert.assertTrue( "ns0 has == 0 privs on ns1", s.naming().has(s, ns1, ns0.toMember()).size() == 0 ); Assert.assertFalse( "ns0 !STEM on ns1", s.naming().has(s, ns1, ns0.toMember(), Grouper.PRIV_STEM) ); Assert.assertFalse( "ns0 !CREATE on ns1", s.naming().has(s, ns1, ns0.toMember(), Grouper.PRIV_CREATE) ); Assert.assertTrue( "ns1 has == 0 privs on ns1", s.naming().has(s, ns1, ns1.toMember()).size() == 0 ); Assert.assertFalse( "ns1 !STEM on ns1", s.naming().has(s, ns1, ns1.toMember(), Grouper.PRIV_STEM) ); Assert.assertFalse( "ns1 !CREATE on ns1", s.naming().has(s, ns1, ns1.toMember(), Grouper.PRIV_CREATE) );*/ Assert.assertTrue( "root has == 2 privs on ns1", s.naming().has(s, ns1).size() == 2 ); Assert.assertTrue( "root STEM on ns1", s.naming().has(s, ns1, Grouper.PRIV_STEM) ); Assert.assertTrue( "root CREATE on ns1", s.naming().has(s, ns1, Grouper.PRIV_CREATE) ); Assert.assertTrue( "m0 has == 1 privs on ns1", s.naming().has(s, ns1, m0).size() == 1 ); Assert.assertTrue( "m0 STEM on ns1", s.naming().has(s, ns1, m0, Grouper.PRIV_STEM) ); Assert.assertFalse( "m0 !CREATE on ns1", s.naming().has(s, ns1, m0, Grouper.PRIV_CREATE) ); Assert.assertTrue( "m1 has == 0 privs on ns1", s.naming().has(s, ns1, m1).size() == 0 ); Assert.assertFalse( "m1 !STEM on ns1", s.naming().has(s, ns1, m1, Grouper.PRIV_STEM) ); Assert.assertFalse( "m1 !CREATE on ns1", s.naming().has(s, ns1, m1, Grouper.PRIV_CREATE) ); s.stop(); }
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/8f075bb2e87501a010bdabda782a43cd22f1fd61/TestNamingGrantMoF1.java/buggy/grouper/java/tests/test/edu/internet2/middleware/grouper/TestNamingGrantMoF1.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 16727, 42, 1435, 288, 565, 9912, 15333, 273, 446, 31, 565, 775, 288, 1377, 15333, 273, 9912, 1733, 18, 588, 6638, 12, 2918, 18, 3085, 45, 16, 5245, 18, 3085, 56, 1769, 565, 289, 1044, 261, 6638, 3990, 425, 13, 288, 1377, 368, 2660, 8064, 17, 11168, 1044, 1203, 1377, 425, 18, 1188, 6332, 5621, 565, 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, 5452, 18, 11231, 5962, 2932, 2387, 20, 401, 2011, 3113, 3153, 20, 1769, 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, 5452, 18, 11231, 5962, 2932, 2387, 20, 401, 2011, 3113, 3153, 20, 1769, 565, 368, 4444, 312, 20, 565, 3756, 264, 4419, 312, 20, 273, 5658, 18, 945, 4419, 12, 7682, 272, 16, 5245, 18, 3917, 20, 45, 16, 5245, 18, 3917, 20, 56, 15604, 11272, 565, 5452, 18, 11231, 5962, 2932, 81, 20, 401, 2011, 3113, 312, 20, 1769, 565, 368, 4444, 312, 21, 565, 3756, 264, 4419, 312, 21, 273, 5658, 18, 945, 4419, 12, 7682, 272, 16, 5245, 18, 3917, 21, 45, 16, 5245, 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, 282, 1071, 918, 1842, 16727, 42, 1435, 288, 565, 9912, 15333, 273, 446, 31, 565, 775, 288, 1377, 15333, 273, 9912, 1733, 18, 588, 6638, 12, 2918, 18, 3085, 45, 16, 5245, 18, 3085, 56, 1769, 565, 289, 1044, 261, 6638, 3990, 425, 13, 288, 1377, 368, 2660, 8064, 17, 11168, 1044, 1203, 1377, 425, 18, 1188, 6332, 5621, 565, 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, 5452, 18, 11231, 5962, 2932, 2387, 20, 401, 2 ]
delete(new File(fileName));
delete(new File(fileName));
static public void delete(String fileName) { delete(new File(fileName)); }
6336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6336/969183c2f185ed095a32b4f4e8fe6fcf9fad609f/FileIOTest.java/clean/prevayler/src/test/org/prevayler/foundation/FileIOTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 1071, 918, 1430, 12, 780, 3968, 13, 288, 202, 565, 1430, 12, 2704, 1387, 12, 17812, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 1071, 918, 1430, 12, 780, 3968, 13, 288, 202, 565, 1430, 12, 2704, 1387, 12, 17812, 10019, 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 ]
byte[] tempbytes = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( tempbytes != null ) { out.write(tempbytes) ;
String output = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( output != null ) { out.write(output) ;
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { String host = req.getHeader("Host") ; String imcserver = Utility.getDomainPref("adminserver",host) ; String start_url = Utility.getDomainPref( "start_url",host ) ; imcode.server.User user ; String htmlStr = "" ; String submit_name = "" ; String search_string = "" ; String text = "" ; String values[] ; int txt_no = 0 ; res.setContentType("text/html"); ServletOutputStream out = res.getOutputStream(); // get meta_id int meta_id = Integer.parseInt(req.getParameter("meta_id")) ;// int parent_meta_id = Integer.parseInt(req.getParameter("parent_meta_id")) ; // get form data imcode.server.Table doc = new imcode.server.Table() ; String template = req.getParameter("template") ; String groupId = req.getParameter("group"); //the template group admin is a ugly mess but lets try to do the best of it //we save the group_id but if the group gets deleted else where it doesn't get changed //in the text_docs table, but the system vill not crash it only shows an empty group string. if(groupId == null) groupId= "-1"; //if there isn'n anyone lets set it to -1 if ( template != null ) { doc.addField("template",template) ; // String menu_template = req.getParameter("menu_template") ; doc.addField("menu_template",template) ; // String text_template = req.getParameter("text_template") ; doc.addField("text_template",template) ; doc.addField("group_id",groupId); } // Check if user logged on if( (user=Check.userLoggedOn( req,res,start_url ))==null ) { return ; } // Check if user has write rights if ( !IMCServiceRMI.checkDocAdminRights(imcserver,meta_id,user,imcode.server.IMCConstants.PERM_DT_TEXT_CHANGE_TEMPLATE ) ) { // Checking to see if user may edit this byte[] tempbytes ; tempbytes = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( tempbytes != null ) { out.write(tempbytes) ; } return ; } String lang_prefix = IMCServiceRMI.sqlQueryStr(imcserver, "select lang_prefix from lang_prefixes where lang_id = "+user.getInt("lang_id")) ; /*if (req.getParameter("metadata")!=null) { //htmlStr = IMCServiceRMI.interpretAdminTemplate(imcserver,meta_id,user,"change_meta.html",1,meta_id,0,0) ; htmlStr = imcode.util.MetaDataParser.parseMetaData(String.valueOf(meta_id), String.valueOf(meta_id),user,host) ; } else */ if (req.getParameter("update")!=null) { user.put("flags",new Integer(0)) ; if ( template == null ) { Vector vec = new Vector() ; vec.add("#meta_id#") ; vec.add(String.valueOf(meta_id)) ; htmlStr = IMCServiceRMI.parseDoc(imcserver,vec,"inPage_admin_no_template.html",lang_prefix) ; out.print(htmlStr) ; return ; }/* // old number of texts int old_tmpl_txt_count = IMCServiceRMI.getNoOfTxt(imcserver,meta_id,user) ;*/ // save textdoc IMCServiceRMI.saveTextDoc(imcserver,meta_id,user,doc) ; SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd") ; Date dt = IMCServiceRMI.getCurrentDate(imcserver) ; String sqlStr = "update meta set date_modified = '"+dateformat.format(dt)+"' where meta_id = "+meta_id ; IMCServiceRMI.sqlUpdateQuery(imcserver,sqlStr);/* // add more text if needed int new_tmpl_txt_count = IMCServiceRMI.getNoOfTxt(imcserver,meta_id,user) ; if ( new_tmpl_txt_count > old_tmpl_txt_count) IMCServiceRMI.insertNewTexts(imcserver,meta_id,user,new_tmpl_txt_count - old_tmpl_txt_count) ;*/ // return page// htmlStr = IMCServiceRMI.interpretTemplate(imcserver,meta_id,user) ; byte[] tempbytes = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( tempbytes != null ) { out.write(tempbytes) ; } return ; } else if (req.getParameter("preview")!=null) { // Call Magnus GetTemplateExample-procedure here if ( template == null ) { Vector vec = new Vector() ; vec.add("#meta_id#") ; vec.add(String.valueOf(meta_id)) ; htmlStr = IMCServiceRMI.parseDoc(imcserver,vec,"inPage_admin_no_template.html",lang_prefix) ; out.print(htmlStr) ; return ; } Object[] temp = null ; try { temp = IMCServiceRMI.getDemoTemplate(imcserver,Integer.parseInt(template)) ; } catch ( NumberFormatException ex ) { } if ( temp == null ) { htmlStr = IMCServiceRMI.parseDoc( imcserver, null, "no_demotemplate.html", lang_prefix ) ; } else { htmlStr = new String((byte[])temp[1],"8859_1") ; } } else if ( req.getParameter("change_group")!=null ) { user.put("flags",new Integer(imcode.server.IMCConstants.PERM_DT_TEXT_CHANGE_TEMPLATE)) ; String group = req.getParameter("group") ; if ( group != null ) { user.setTemplateGroup(Integer.parseInt(req.getParameter("group"))) ; }// htmlStr = IMCServiceRMI.interpretTemplate(imcserver,meta_id,user) ; byte[] tempbytes = AdminDoc.adminDoc(meta_id,meta_id,host,user,req,res) ; if ( tempbytes != null ) { out.write(tempbytes) ; } return ; } out.print(htmlStr) ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/724e7812e834d9de044f04f1b96918c3622f1241/SaveInPage.java/clean/servlets/SaveInPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 1860, 288, 202, 202, 780, 1479, 4697, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 709, 71, 3567, 1875, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 202, 780, 787, 67, 718, 540, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 1937, 67, 718, 3113, 2564, 262, 274, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 274, 202, 202, 780, 1729, 1585, 273, 1408, 274, 202, 202, 780, 4879, 67, 529, 273, 1408, 274, 202, 202, 780, 1623, 67, 1080, 273, 1408, 274, 202, 202, 780, 977, 273, 1408, 274, 202, 202, 780, 924, 8526, 274, 202, 202, 474, 6463, 67, 2135, 273, 374, 274, 202, 202, 455, 18, 542, 8046, 2932, 955, 19, 2620, 8863, 202, 202, 4745, 4632, 596, 273, 400, 18, 588, 4632, 5621, 202, 202, 759, 336, 2191, 67, 350, 202, 202, 474, 2191, 67, 350, 273, 2144, 18, 2670, 1702, 12, 3658, 18, 588, 1662, 2932, 3901, 67, 350, 6, 3719, 274, 759, 202, 202, 474, 982, 67, 3901, 67, 350, 273, 2144, 18, 2670, 1702, 12, 3658, 18, 588, 1662, 2932, 2938, 67, 3901, 67, 350, 6, 3719, 274, 202, 202, 759, 336, 646, 501, 202, 202, 381, 710, 18, 3567, 18, 1388, 997, 273, 394, 709, 710, 18, 3567, 18, 1388, 1435, 274, 9506, 202, 780, 1542, 225, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 1860, 288, 202, 202, 780, 1479, 4697, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 709, 71, 3567, 1875, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 202, 780, 787, 67, 718, 540, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 1937, 67, 718, 3113, 2564, 262, 274, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 274, 202, 202, 780, 1729, 1585, 273, 1408, 274, 202, 202, 780, 4879, 67, 529, 273, 1408, 274, 202, 202, 780, 1623, 67, 1080, 273, 1408, 274, 202, 202, 780, 977, 273, 2 ]
GridData gd= new GridData(/*GridData.VERTICAL_ALIGN_CENTER | */ GridData.FILL_HORIZONTAL);
GridData gd= new GridData(GridData.FILL_HORIZONTAL);
protected Control createAnimationItem(Composite parent) { if (okImage == null) { Display display= parent.getDisplay(); noneImage= ImageSupport.getImageDescriptor("icons/full/progress/progress_none.gif").createImage(display); //$NON-NLS-1$ okImage= ImageSupport.getImageDescriptor("icons/full/progress/progress_ok.gif").createImage(display); //$NON-NLS-1$ errorImage= ImageSupport.getImageDescriptor("icons/full/progress/progress_error.gif").createImage(display); //$NON-NLS-1$ } top = new Composite(parent, SWT.NULL); //top.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_CYAN)); top.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { FinishedJobs.getInstance().removeListener(ProgressAnimationItem.this); noneImage.dispose(); okImage.dispose(); errorImage.dispose(); } }); boolean isCarbon = "carbon".equals(SWT.getPlatform()); //$NON-NLS-1$ GridLayout gl= new GridLayout(); gl.numColumns= isCarbon ? 3 : 2; gl.marginHeight= 0; gl.marginWidth= 0; gl.horizontalSpacing= 2; top.setLayout(gl); bar = new ProgressBar(top, SWT.HORIZONTAL | SWT.INDETERMINATE); bar.setVisible(false); bar.addMouseListener(mouseListener); GridData gd= new GridData(/*GridData.VERTICAL_ALIGN_CENTER | */ GridData.FILL_HORIZONTAL); gd.heightHint= 12; bar.setLayoutData(gd); toolbar= new ToolBar(top, SWT.FLAT); toolbar.setVisible(false); gd= new GridData(GridData.FILL_VERTICAL); gd.widthHint= 22; toolbar.setLayoutData(gd); toolButton= new ToolItem(toolbar, SWT.NONE); toolButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { doAction(); } }); if (isCarbon) // prevent that Mac growbox overlaps with toolbar item new Label(top, SWT.NONE).setLayoutData(new GridData(4, 4)); refresh(); return top; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cc3be60494050a679a6e76d9f29fe7621439ded9/ProgressAnimationItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressAnimationItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 10816, 1180, 12, 9400, 982, 13, 288, 202, 377, 202, 377, 202, 565, 309, 261, 601, 2040, 422, 446, 13, 288, 202, 3639, 9311, 2562, 33, 982, 18, 588, 4236, 5621, 202, 540, 202, 3639, 6555, 2040, 33, 3421, 6289, 18, 588, 2040, 3187, 2932, 14516, 19, 2854, 19, 8298, 19, 8298, 67, 6102, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 3639, 1529, 2040, 33, 3421, 6289, 18, 588, 2040, 3187, 2932, 14516, 19, 2854, 19, 8298, 19, 8298, 67, 601, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 3639, 555, 2040, 33, 3421, 6289, 18, 588, 2040, 3187, 2932, 14516, 19, 2854, 19, 8298, 19, 8298, 67, 1636, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 565, 289, 9506, 202, 3669, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 202, 202, 759, 3669, 18, 542, 8199, 12, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 16068, 1258, 10019, 202, 202, 3669, 18, 1289, 1669, 4150, 2223, 12, 2704, 3035, 4150, 2223, 1435, 288, 1082, 565, 1071, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 540, 202, 565, 29745, 7276, 18, 588, 1442, 7675, 4479, 2223, 12, 5491, 10816, 1180, 18, 2211, 1769, 5411, 6555, 2040, 18, 2251, 4150, 5621, 377, 202, 565, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 10816, 1180, 12, 9400, 982, 13, 288, 202, 377, 202, 377, 202, 565, 309, 261, 601, 2040, 422, 446, 13, 288, 202, 3639, 9311, 2562, 33, 982, 18, 588, 4236, 5621, 202, 540, 202, 3639, 6555, 2040, 33, 3421, 6289, 18, 588, 2040, 3187, 2932, 14516, 19, 2854, 19, 8298, 19, 8298, 67, 6102, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 3639, 1529, 2040, 33, 3421, 6289, 18, 588, 2040, 3187, 2932, 14516, 19, 2854, 19, 8298, 19, 8298, 67, 601, 18, 13905, 20387, 2640, 2040, 12, 5417, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 3639, 555, 2040, 33, 3421, 6289, 18, 588, 2 ]
int lastIndex, boolean isAdjusting) {
int lastIndex, boolean isAdjusting) {
public ListSelectionEvent(Object source, int firstIndex, int lastIndex, boolean isAdjusting) { super(source); this.firstIndex = firstIndex; this.lastIndex = lastIndex; this.isAdjusting = isAdjusting; } // ListSelectionEvent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/ListSelectionEvent.java/buggy/core/src/classpath/javax/javax/swing/event/ListSelectionEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 6233, 1133, 12, 921, 1084, 16, 509, 1122, 1016, 16, 6862, 9506, 202, 474, 7536, 16, 1250, 353, 10952, 310, 13, 288, 202, 202, 9565, 12, 3168, 1769, 202, 202, 2211, 18, 3645, 1016, 202, 202, 33, 1122, 1016, 31, 202, 202, 2211, 18, 2722, 1016, 202, 202, 33, 7536, 31, 202, 202, 2211, 18, 291, 10952, 310, 202, 33, 353, 10952, 310, 31, 202, 97, 368, 987, 6233, 1133, 1435, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 6233, 1133, 12, 921, 1084, 16, 509, 1122, 1016, 16, 6862, 9506, 202, 474, 7536, 16, 1250, 353, 10952, 310, 13, 288, 202, 202, 9565, 12, 3168, 1769, 202, 202, 2211, 18, 3645, 1016, 202, 202, 33, 1122, 1016, 31, 202, 202, 2211, 18, 2722, 1016, 202, 202, 33, 7536, 31, 202, 202, 2211, 18, 291, 10952, 310, 202, 33, 353, 10952, 310, 31, 202, 97, 368, 987, 6233, 1133, 1435, 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 ]
osr.write(
osr.print(
void writeSequences(Integer geneID) throws SequenceException { Hashtable geneatts = (Hashtable) geneiDs.get(geneID); TreeMap traniDs = (TreeMap) geneatts.get(Transcripts); SequenceLocation geneloc = (SequenceLocation) geneatts.get(Geneloc); try { for (Iterator tranIter = traniDs.keySet().iterator(); tranIter.hasNext();) { Hashtable tranatts = (Hashtable) traniDs.get((Integer) tranIter.next()); if (((Boolean) tranatts.get(hasUTR)).booleanValue()) { String assemblyout = (String) geneatts.get(Assembly); int gstrand = geneloc.getStrand(); String strandout = geneloc.getStrand() > 0 ? "forward" : "revearse"; osr.write((String) tranatts.get(DisplayID)); osr.write( separator + "strand=" + strandout + separator + "chr=" + geneloc.getChr() + separator + "assembly=" + assemblyout); osr.flush(); for (int j = 0, n = fields.size(); j < n; j++) { osr.write(separator); String field = (String) fields.get(j); if (tranatts.containsKey(field)) { List values = (ArrayList) tranatts.get(field); if (values.size() > 1) osr.write(field + " in "); else osr.write(field + "="); for (int vi = 0; vi < values.size(); vi++) { if (vi > 0) osr.write(","); osr.write((String) values.get(vi)); } } else osr.write(field + "= "); osr.flush(); } osr.write(separator + (String) tranatts.get(Description)); osr.write(separator); osr.flush(); TreeMap locations = (TreeMap) tranatts.get(Locations); dna.CacheSequence(species, geneloc.getChr(), geneloc.getStart(), geneloc.getEnd()); StringBuffer sequence = new StringBuffer(); // to collect all sequence before appending flanks for (Iterator lociter = locations.keySet().iterator(); lociter.hasNext();) { SequenceLocation loc = (SequenceLocation) locations.get((Integer) lociter.next()); if (loc.getStrand() < 0) sequence.append( SequenceUtil.reverseComplement(dna.getSequence(species, loc.getChr(), loc.getStart(), loc.getEnd()))); else sequence.append(dna.getSequence(species, loc.getChr(), loc.getStart(), loc.getEnd())); } if (query.getSequenceDescription().getRightFlank() > 0) { // extend flanking sequence SequenceLocation first_loc = (SequenceLocation) locations.get((Integer) locations.firstKey()); SequenceLocation last_loc = (SequenceLocation) locations.get((Integer) locations.lastKey()); SequenceLocation flank_loc; if (first_loc.getStrand() < 0) { flank_loc = first_loc.getRightFlankOnly(query.getSequenceDescription().getRightFlank()); // right flank of first location sequence.append( SequenceUtil.reverseComplement( dna.getSequence(species, flank_loc.getChr(), flank_loc.getStart(), flank_loc.getEnd()))); } else { flank_loc = last_loc.getRightFlankOnly(query.getSequenceDescription().getRightFlank()); // right flank of last location sequence.append(dna.getSequence(species, flank_loc.getChr(), flank_loc.getStart(), flank_loc.getEnd())); } } osr.write(sequence.toString()); osr.write("\n"); osr.flush(); } else { osr.write((String) tranatts.get(DisplayID)); osr.write(separator + (String) tranatts.get(Description)); osr.write(separator); osr.write(noUTRmessage); osr.write("\n"); osr.flush(); } } } catch (SequenceException e) { if (logger.isLoggable(Level.WARNING)) logger.warning(e.getMessage()); throw e; } catch (IOException e) { if (logger.isLoggable(Level.WARNING)) logger.warning("Couldnt write to OutputStream\n" + e.getMessage()); throw new SequenceException(e); } }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/963ec829751fd5def2be55cd75b908c39ffe6f99/DownStreamUTRSeqQueryRunner.java/clean/src/java/org/ensembl/mart/lib/DownStreamUTRSeqQueryRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 6459, 1045, 21710, 12, 4522, 7529, 734, 13, 1216, 8370, 503, 288, 1082, 202, 5582, 14544, 7529, 270, 3428, 273, 261, 5582, 14544, 13, 7529, 77, 22831, 18, 588, 12, 11857, 734, 1769, 1082, 202, 2471, 863, 13637, 77, 22831, 273, 261, 2471, 863, 13, 7529, 270, 3428, 18, 588, 12, 1429, 28230, 1769, 1082, 202, 4021, 2735, 3157, 9640, 273, 261, 4021, 2735, 13, 7529, 270, 3428, 18, 588, 12, 7642, 9640, 1769, 1082, 202, 698, 288, 9506, 202, 1884, 261, 3198, 13637, 2360, 273, 13637, 77, 22831, 18, 856, 694, 7675, 9838, 5621, 13637, 2360, 18, 5332, 2134, 5621, 13, 288, 6862, 202, 5582, 14544, 13637, 270, 3428, 273, 261, 5582, 14544, 13, 13637, 77, 22831, 18, 588, 12443, 4522, 13, 13637, 2360, 18, 4285, 10663, 6862, 202, 430, 261, 12443, 5507, 13, 13637, 270, 3428, 18, 588, 12, 5332, 1693, 54, 13, 2934, 6494, 620, 10756, 288, 25083, 202, 780, 19931, 659, 273, 261, 780, 13, 7529, 270, 3428, 18, 588, 12, 24368, 1769, 25083, 202, 474, 314, 701, 464, 273, 3157, 9640, 18, 588, 1585, 464, 5621, 25083, 202, 780, 16706, 659, 273, 3157, 9640, 18, 588, 1585, 464, 1435, 405, 374, 692, 315, 11565, 6, 294, 315, 266, 537, 24378, 14432, 25083, 202, 538, 86, 18, 2626, 12443, 780, 13, 13637, 270, 3428, 18, 588, 12, 4236, 734, 10019, 25083, 202, 538, 86, 18, 2626, 12, 6862, 1082, 202, 11287, 6862, 9506, 202, 15, 315, 701, 464, 1546, 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, 3196, 202, 6459, 1045, 21710, 12, 4522, 7529, 734, 13, 1216, 8370, 503, 288, 1082, 202, 5582, 14544, 7529, 270, 3428, 273, 261, 5582, 14544, 13, 7529, 77, 22831, 18, 588, 12, 11857, 734, 1769, 1082, 202, 2471, 863, 13637, 77, 22831, 273, 261, 2471, 863, 13, 7529, 270, 3428, 18, 588, 12, 1429, 28230, 1769, 1082, 202, 4021, 2735, 3157, 9640, 273, 261, 4021, 2735, 13, 7529, 270, 3428, 18, 588, 12, 7642, 9640, 1769, 1082, 202, 698, 288, 9506, 202, 1884, 261, 3198, 13637, 2360, 273, 13637, 77, 22831, 18, 856, 694, 7675, 9838, 5621, 13637, 2360, 18, 5332, 2134, 5621, 13, 288, 6862, 202, 5582, 14544, 13637, 270, 3428, 273, 261, 5582, 14544, 13, 13637, 77, 2 ]
public static AudioFormat getNativeAudioFormat(AudioFormat format, Mixer mixer) { Line.Info[] lineInfos; if (mixer != null) { lineInfos = mixer.getTargetLineInfo (new Line.Info(TargetDataLine.class)); } else { lineInfos = AudioSystem.getTargetLineInfo (new Line.Info(TargetDataLine.class)); } AudioFormat nativeFormat = null; for (int i = 0; i < lineInfos.length; i++) { AudioFormat[] formats = ((TargetDataLine.Info)lineInfos[i]).getFormats(); for (int j = 0; j < formats.length; j++) { AudioFormat thisFormat = formats[j]; if (thisFormat.getEncoding() == format.getEncoding() && thisFormat.isBigEndian() == format.isBigEndian() && thisFormat.getSampleSizeInBits() == format.getSampleSizeInBits() && thisFormat.getSampleRate() >= format.getSampleRate()) { nativeFormat = thisFormat; break; } } if (nativeFormat != null) { break; } } return nativeFormat;
public static AudioFormat getNativeAudioFormat(AudioFormat format) { return getNativeAudioFormat(format, null);
public static AudioFormat getNativeAudioFormat(AudioFormat format, Mixer mixer) { Line.Info[] lineInfos; if (mixer != null) { lineInfos = mixer.getTargetLineInfo (new Line.Info(TargetDataLine.class)); } else { lineInfos = AudioSystem.getTargetLineInfo (new Line.Info(TargetDataLine.class)); } AudioFormat nativeFormat = null; // find a usable target line for (int i = 0; i < lineInfos.length; i++) { AudioFormat[] formats = ((TargetDataLine.Info)lineInfos[i]).getFormats(); for (int j = 0; j < formats.length; j++) { // for now, just accept downsampling, not checking frame // size/rate (encoding assumed to be PCM) AudioFormat thisFormat = formats[j]; if (thisFormat.getEncoding() == format.getEncoding() && thisFormat.isBigEndian() == format.isBigEndian() && thisFormat.getSampleSizeInBits() == format.getSampleSizeInBits() && thisFormat.getSampleRate() >= format.getSampleRate()) { nativeFormat = thisFormat; break; } } if (nativeFormat != null) { //no need to look through remaining lineinfos break; } } return nativeFormat; }
48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/13ad140ab718f86203f8e83ff9849b83b918dd82/DataUtil.java/buggy/sphinx4/src/sphinx4/edu/cmu/sphinx/frontend/util/DataUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15045, 1630, 25945, 12719, 1630, 12, 12719, 1630, 740, 16, 4766, 10402, 31043, 264, 6843, 264, 13, 288, 3639, 5377, 18, 966, 8526, 980, 7655, 31, 7734, 309, 261, 14860, 264, 480, 446, 13, 288, 5411, 980, 7655, 273, 6843, 264, 18, 588, 2326, 1670, 966, 7734, 261, 2704, 5377, 18, 966, 12, 2326, 751, 1670, 18, 1106, 10019, 3639, 289, 469, 288, 5411, 980, 7655, 273, 15045, 3163, 18, 588, 2326, 1670, 966, 7734, 261, 2704, 5377, 18, 966, 12, 2326, 751, 1670, 18, 1106, 10019, 3639, 289, 7734, 15045, 1630, 6448, 1630, 273, 446, 31, 3639, 368, 1104, 279, 15603, 1018, 980, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 980, 7655, 18, 2469, 31, 277, 27245, 288, 13491, 15045, 1630, 8526, 6449, 273, 1171, 14015, 2326, 751, 1670, 18, 966, 13, 1369, 7655, 63, 77, 65, 2934, 588, 8976, 5621, 13491, 364, 261, 474, 525, 273, 374, 31, 525, 411, 6449, 18, 2469, 31, 525, 27245, 288, 27573, 368, 364, 2037, 16, 2537, 2791, 2588, 23002, 16, 486, 6728, 2623, 7734, 368, 963, 19, 5141, 261, 5999, 12034, 358, 506, 453, 9611, 13, 27573, 15045, 1630, 333, 1630, 273, 6449, 63, 78, 15533, 7734, 309, 261, 2211, 1630, 18, 588, 4705, 1435, 422, 740, 18, 588, 4705, 1435, 10792, 597, 333, 1630, 18, 291, 9901, 7583, 1435, 422, 740, 18, 291, 9901, 7583, 1435, 10792, 597, 333, 1630, 18, 588, 8504, 1225, 382, 6495, 1435, 422, 5397, 740, 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, 377, 1071, 760, 15045, 1630, 25945, 12719, 1630, 12, 12719, 1630, 740, 16, 4766, 10402, 31043, 264, 6843, 264, 13, 288, 3639, 5377, 18, 966, 8526, 980, 7655, 31, 7734, 309, 261, 14860, 264, 480, 446, 13, 288, 5411, 980, 7655, 273, 6843, 264, 18, 588, 2326, 1670, 966, 7734, 261, 2704, 5377, 18, 966, 12, 2326, 751, 1670, 18, 1106, 10019, 3639, 289, 469, 288, 5411, 980, 7655, 273, 15045, 3163, 18, 588, 2326, 1670, 966, 7734, 261, 2704, 5377, 18, 966, 12, 2326, 751, 1670, 18, 1106, 10019, 3639, 289, 7734, 15045, 1630, 6448, 1630, 273, 446, 31, 3639, 368, 1104, 279, 15603, 1018, 980, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 980, 7655, 2 ]
withoutUnicodePtr = currentPosition - unicodeSize - startPosition;
this.withoutUnicodePtr = this.currentPosition - unicodeSize - this.startPosition;
public final void getNextUnicodeChar() throws IndexOutOfBoundsException, InvalidInputException { //VOID //handle the case of unicode. //when a unicode appears then we must use a buffer that holds char internal values //At the end of this method currentCharacter holds the new visited char //and currentPosition points right next after it //ALL getNextChar.... ARE OPTIMIZED COPIES int c1 = 0, c2 = 0, c3 = 0, c4 = 0, unicodeSize = 6; currentPosition++; while (source[currentPosition] == 'u') { currentPosition++; unicodeSize++; } if ((c1 = Character.getNumericValue(source[currentPosition++])) > 15 || c1 < 0 || (c2 = Character.getNumericValue(source[currentPosition++])) > 15 || c2 < 0 || (c3 = Character.getNumericValue(source[currentPosition++])) > 15 || c3 < 0 || (c4 = Character.getNumericValue(source[currentPosition++])) > 15 || c4 < 0){ throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } else { currentCharacter = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); //need the unicode buffer if (withoutUnicodePtr == 0) { //buffer all the entries that have been left aside.... withoutUnicodePtr = currentPosition - unicodeSize - startPosition; System.arraycopy( source, startPosition, withoutUnicodeBuffer, 1, withoutUnicodePtr); } //fill the buffer with the char withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } unicodeAsBackSlash = currentCharacter == '\\';}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/bd0b42da240c9e3160dab0f23f741fededbd0813/Scanner.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 727, 918, 6927, 16532, 2156, 1435, 202, 15069, 17768, 16, 31989, 288, 202, 759, 58, 12945, 202, 759, 4110, 326, 648, 434, 5252, 18, 202, 759, 13723, 279, 5252, 14606, 1508, 732, 1297, 999, 279, 1613, 716, 14798, 1149, 2713, 924, 202, 759, 861, 326, 679, 434, 333, 707, 783, 7069, 14798, 326, 394, 9711, 1149, 202, 759, 464, 22356, 3143, 2145, 1024, 1839, 518, 202, 759, 4685, 6927, 2156, 6265, 432, 862, 16456, 3445, 24131, 7910, 1102, 3991, 225, 202, 474, 276, 21, 273, 374, 16, 276, 22, 273, 374, 16, 276, 23, 273, 374, 16, 276, 24, 273, 374, 16, 5252, 1225, 273, 1666, 31, 202, 2972, 2555, 9904, 31, 202, 17523, 261, 3168, 63, 2972, 2555, 65, 422, 296, 89, 6134, 288, 202, 202, 2972, 2555, 9904, 31, 202, 202, 9124, 1225, 9904, 31, 202, 97, 202, 430, 14015, 71, 21, 273, 6577, 18, 588, 9902, 620, 12, 3168, 63, 2972, 2555, 9904, 22643, 405, 4711, 202, 202, 20081, 276, 21, 411, 374, 202, 202, 20081, 261, 71, 22, 273, 6577, 18, 588, 9902, 620, 12, 3168, 63, 2972, 2555, 9904, 22643, 405, 4711, 202, 202, 20081, 276, 22, 411, 374, 202, 202, 20081, 261, 71, 23, 273, 6577, 18, 588, 9902, 620, 12, 3168, 63, 2972, 2555, 9904, 22643, 405, 4711, 202, 202, 20081, 276, 23, 411, 374, 202, 202, 20081, 261, 71, 24, 273, 6577, 18, 588, 9902, 620, 12, 3168, 63, 2972, 2555, 9904, 22643, 405, 4711, 202, 202, 20081, 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, 727, 918, 6927, 16532, 2156, 1435, 202, 15069, 17768, 16, 31989, 288, 202, 759, 58, 12945, 202, 759, 4110, 326, 648, 434, 5252, 18, 202, 759, 13723, 279, 5252, 14606, 1508, 732, 1297, 999, 279, 1613, 716, 14798, 1149, 2713, 924, 202, 759, 861, 326, 679, 434, 333, 707, 783, 7069, 14798, 326, 394, 9711, 1149, 202, 759, 464, 22356, 3143, 2145, 1024, 1839, 518, 202, 759, 4685, 6927, 2156, 6265, 432, 862, 16456, 3445, 24131, 7910, 1102, 3991, 225, 202, 474, 276, 21, 273, 374, 16, 276, 22, 273, 374, 16, 276, 23, 273, 374, 16, 276, 24, 273, 374, 16, 5252, 1225, 273, 1666, 31, 202, 2972, 2555, 9904, 31, 202, 17523, 261, 3168, 63, 2972, 2 ]
return (FontHandle) value;
return doGetFontHandle( TOC.FONT_FAMILY_MEMBER );
public FontHandle getFontFamily( ) { Object value = getProperty( TOC.FONT_FAMILY_MEMBER ); if ( value == null ) { StyleHandle style = getStyle( ); if ( style == null ) { return null; } else { return style.getFontFamilyHandle( ); } } return (FontHandle) value; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/0e4cd9ee8eeb59e50378273ae983983b1c019429/TOCHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/TOCHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10063, 3259, 18776, 9203, 12, 262, 202, 95, 202, 202, 921, 460, 273, 3911, 12, 8493, 39, 18, 25221, 67, 25002, 25554, 67, 19630, 11272, 202, 202, 430, 261, 460, 422, 446, 262, 202, 202, 95, 1082, 202, 2885, 3259, 2154, 273, 14210, 12, 11272, 1082, 202, 430, 261, 2154, 422, 446, 262, 1082, 202, 95, 9506, 202, 2463, 446, 31, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 2463, 2154, 18, 588, 5711, 9203, 3259, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 261, 5711, 3259, 13, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10063, 3259, 18776, 9203, 12, 262, 202, 95, 202, 202, 921, 460, 273, 3911, 12, 8493, 39, 18, 25221, 67, 25002, 25554, 67, 19630, 11272, 202, 202, 430, 261, 460, 422, 446, 262, 202, 202, 95, 1082, 202, 2885, 3259, 2154, 273, 14210, 12, 11272, 1082, 202, 430, 261, 2154, 422, 446, 262, 1082, 202, 95, 9506, 202, 2463, 446, 31, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 2463, 2154, 18, 588, 5711, 9203, 3259, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 261, 5711, 3259, 13, 460, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
WorkbenchMessages.getString("AboutFeaturesDialog.errorTitle"), WorkbenchMessages.getString("AboutFeaturesDialog.unableToObtainFeatureInfo"));
IDEWorkbenchMessages.getString("AboutFeaturesDialog.errorTitle"), IDEWorkbenchMessages.getString("AboutFeaturesDialog.unableToObtainFeatureInfo"));
public void run() { // this may take a few seconds try { localSiteArray[0] = SiteManager.getLocalSite(); } catch (CoreException e) { MessageDialog.openError( getShell(), WorkbenchMessages.getString("AboutFeaturesDialog.errorTitle"), //$NON-NLS-1$ WorkbenchMessages.getString("AboutFeaturesDialog.unableToObtainFeatureInfo")); //$NON-NLS-1$ } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/11827c078a0649e2471215c6f22b6a98cb0993d2/AboutFeaturesDialog.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/dialogs/AboutFeaturesDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 759, 333, 2026, 4862, 279, 11315, 3974, 9506, 202, 698, 288, 6862, 202, 3729, 4956, 1076, 63, 20, 65, 273, 9063, 1318, 18, 588, 2042, 4956, 5621, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 1079, 6353, 18, 3190, 668, 12, 25083, 202, 588, 13220, 9334, 9944, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 24813, 8696, 6353, 18, 1636, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 24813, 8696, 6353, 18, 18828, 774, 20019, 4595, 966, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 759, 333, 2026, 4862, 279, 11315, 3974, 9506, 202, 698, 288, 6862, 202, 3729, 4956, 1076, 63, 20, 65, 273, 9063, 1318, 18, 588, 2042, 4956, 5621, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 1079, 6353, 18, 3190, 668, 12, 25083, 202, 588, 13220, 9334, 9944, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 24813, 8696, 6353, 18, 1636, 4247, 6, 3631, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 24813, 8696, 6353, 18, 18828, 774, 20019, 4595, 966, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 97, 1082, 202, 97, 2, -100, -100, -100, -100 ]
public static Test suite() { return new TestSuite(IncludeLibraryRuleTest.class);
public static Test suite( ) { return new TestSuite( IncludeLibraryRuleTest.class );
public static Test suite() { return new TestSuite(IncludeLibraryRuleTest.class); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/be89bbe9dc15ff0ab4dc1c872159ed1fafbdcb6f/IncludeLibraryRuleTest.java/buggy/testsuites/org.eclipse.birt.report.tests.model/src/org/eclipse/birt/report/tests/model/api/IncludeLibraryRuleTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7766, 11371, 1435, 565, 288, 9506, 202, 2463, 394, 7766, 13587, 12, 8752, 9313, 2175, 4709, 18, 1106, 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, 377, 1071, 760, 7766, 11371, 1435, 565, 288, 9506, 202, 2463, 394, 7766, 13587, 12, 8752, 9313, 2175, 4709, 18, 1106, 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 ]
public TA_RetCode CDLDOJISTAR( int startIdx, int endIdx, double inOpen[], double inHigh[], double inLow[], double inClose[], MInteger outBegIdx, MInteger outNbElement, int outInteger[] ){ double BodyDojiPeriodTotal, BodyLongPeriodTotal; int i, outIdx, BodyDojiTrailingIdx, BodyLongTrailingIdx, lookbackTotal; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; lookbackTotal = CDLDOJISTAR_Lookback (); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } BodyLongPeriodTotal = 0; BodyDojiPeriodTotal = 0; BodyLongTrailingIdx = startIdx -1 - (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) ; BodyDojiTrailingIdx = startIdx - (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].avgPeriod) ; i = BodyLongTrailingIdx; while( i < startIdx-1 ) { BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ; i++; } i = BodyDojiTrailingIdx; while( i < startIdx ) { BodyDojiPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ; i++; } outIdx = 0; do { if( ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) > ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) != 0.0? BodyLongPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( Math.abs ( inClose[i] - inOpen[i] ) ) <= ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].factor) * ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].avgPeriod) != 0.0? BodyDojiPeriodTotal / (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].avgPeriod) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) ) / ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? 2.0 : 1.0 ) ) && ( ( ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) == 1 && ( (((inOpen[i]) < (inClose[i])) ? (inOpen[i]) : (inClose[i])) > (((inOpen[i-1]) > (inClose[i-1])) ? (inOpen[i-1]) : (inClose[i-1])) ) ) || ( ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) == -1 && ( (((inOpen[i]) > (inClose[i])) ? (inOpen[i]) : (inClose[i])) < (((inOpen[i-1]) < (inClose[i-1])) ? (inOpen[i-1]) : (inClose[i-1])) ) ) ) ) outInteger[outIdx++] = - ( inClose[i-1] >= inOpen[i-1] ? 1 : -1 ) * 100; else outInteger[outIdx++] = 0; BodyLongPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i-1] - inOpen[i-1] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i-1] - inLow[i-1] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i-1] - ( inClose[i-1] >= inOpen[i-1] ? inClose[i-1] : inOpen[i-1] ) ) + ( ( inClose[i-1] >= inOpen[i-1] ? inOpen[i-1] : inClose[i-1] ) - inLow[i-1] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[BodyLongTrailingIdx] - inOpen[BodyLongTrailingIdx] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[BodyLongTrailingIdx] - inLow[BodyLongTrailingIdx] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyLong.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[BodyLongTrailingIdx] - ( inClose[BodyLongTrailingIdx] >= inOpen[BodyLongTrailingIdx] ? inClose[BodyLongTrailingIdx] : inOpen[BodyLongTrailingIdx] ) ) + ( ( inClose[BodyLongTrailingIdx] >= inOpen[BodyLongTrailingIdx] ? inOpen[BodyLongTrailingIdx] : inClose[BodyLongTrailingIdx] ) - inLow[BodyLongTrailingIdx] ) : 0 ) ) ) ; BodyDojiPeriodTotal += ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[i] - inOpen[i] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[i] - inLow[i] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[i] - ( inClose[i] >= inOpen[i] ? inClose[i] : inOpen[i] ) ) + ( ( inClose[i] >= inOpen[i] ? inOpen[i] : inClose[i] ) - inLow[i] ) : 0 ) ) ) - ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_RealBody ? ( Math.abs ( inClose[BodyDojiTrailingIdx] - inOpen[BodyDojiTrailingIdx] ) ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_HighLow ? ( inHigh[BodyDojiTrailingIdx] - inLow[BodyDojiTrailingIdx] ) : ( (this.candleSettings[TA_CandleSettingType.TA_BodyDoji.ordinal()].rangeType) == TA_RangeType. TA_RangeType_Shadows ? ( inHigh[BodyDojiTrailingIdx] - ( inClose[BodyDojiTrailingIdx] >= inOpen[BodyDojiTrailingIdx] ? inClose[BodyDojiTrailingIdx] : inOpen[BodyDojiTrailingIdx] ) ) + ( ( inClose[BodyDojiTrailingIdx] >= inOpen[BodyDojiTrailingIdx] ? inOpen[BodyDojiTrailingIdx] : inClose[BodyDojiTrailingIdx] ) - inLow[BodyDojiTrailingIdx] ) : 0 ) ) ) ; i++; BodyLongTrailingIdx++; BodyDojiTrailingIdx++; } while( i <= endIdx ); outNbElement.value = outIdx; outBegIdx.value = startIdx; return TA_RetCode. TA_SUCCESS;}
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 39, 8914, 3191, 46, 5511, 985, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 3678, 63, 6487, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 9056, 267, 4605, 63, 6487, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 474, 659, 4522, 63, 5717, 95, 9056, 2250, 3244, 21102, 5027, 5269, 16, 2250, 3708, 5027, 5269, 31, 474, 77, 16, 659, 4223, 16, 2250, 3244, 21102, 16808, 4223, 16, 2250, 3708, 16808, 4223, 16, 7330, 823, 5269, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 12, 409, 4223, 32, 1937, 4223, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 7330, 823, 5269, 33, 39, 8914, 3191, 46, 5511, 985, 67, 9794, 823, 5621, 430, 12, 1937, 4223, 32, 7330, 823, 5269, 13, 1937, 4223, 33, 7330, 823, 5269, 31, 430, 12, 1937, 4223, 34, 409, 4223, 15329, 659, 24059, 4223, 18, 1132, 33, 20, 31, 659, 22816, 1046, 18, 1132, 33, 20, 31, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 12778, 31, 97, 2250, 3708, 5027, 5269, 33, 20, 31, 2250, 3244, 21102, 5027, 5269, 33, 20, 31, 2250, 3708, 16808, 4223, 33, 1937, 4223, 17, 21, 17, 12, 2211, 18, 71, 464, 298, 2628, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 39, 8914, 3191, 46, 5511, 985, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 3678, 63, 6487, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 9056, 267, 4605, 63, 6487, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 474, 659, 4522, 63, 5717, 95, 9056, 2250, 3244, 21102, 5027, 5269, 16, 2250, 3708, 5027, 5269, 31, 474, 77, 16, 659, 4223, 16, 2250, 3244, 21102, 16808, 4223, 16, 2250, 3708, 16808, 4223, 16, 7330, 823, 5269, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 2 ]
addFormField( "action", heroID == BORIS ? "boris" : heroID == JARLSBERG ? "jarlsberg" : "sneakypete" );
addFormField( "action", heroId == BORIS ? "boris" : heroId == JARLSBERG ? "jarlsberg" : "sneakypete" );
public HeroDonationRequest( int heroID, int amount ) { super( "shrines.php" ); addFormField( "pwd" ); addFormField( "action", heroID == BORIS ? "boris" : heroID == JARLSBERG ? "jarlsberg" : "sneakypete" ); addFormField( "howmuch", String.valueOf( amount ) ); this.amount = amount; this.statue = heroID == BORIS ? "boris" : heroID == JARLSBERG ? "jarlsberg" : "pete"; this.hasStatueKey = inventory.contains( STATUE_KEYS[ heroID ] ); }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/db652071b06715a4456f702f081fbe5b47aa5a70/HeroDonationRequest.java/clean/src/net/sourceforge/kolmafia/HeroDonationRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 670, 2439, 22293, 367, 691, 12, 509, 366, 2439, 734, 16, 509, 3844, 262, 202, 95, 202, 202, 9565, 12, 315, 674, 86, 1465, 18, 2684, 6, 11272, 202, 202, 1289, 27317, 12, 315, 27487, 6, 11272, 202, 202, 1289, 27317, 12, 315, 1128, 3113, 366, 2439, 734, 422, 605, 916, 5127, 692, 315, 70, 280, 291, 6, 294, 366, 2439, 734, 422, 24728, 3045, 6271, 43, 692, 315, 11930, 3251, 31317, 6, 294, 315, 87, 4644, 581, 879, 12865, 6, 11272, 202, 202, 1289, 27317, 12, 315, 13606, 81, 2648, 3113, 514, 18, 1132, 951, 12, 3844, 262, 11272, 202, 202, 2211, 18, 8949, 273, 3844, 31, 202, 202, 2211, 18, 5642, 344, 273, 366, 2439, 734, 422, 605, 916, 5127, 692, 315, 70, 280, 291, 6, 294, 366, 2439, 734, 422, 24728, 3045, 6271, 43, 692, 315, 11930, 3251, 31317, 6, 294, 315, 6951, 73, 14432, 202, 202, 2211, 18, 5332, 5000, 344, 653, 273, 13086, 18, 12298, 12, 2347, 789, 1821, 67, 16333, 63, 366, 2439, 734, 308, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 670, 2439, 22293, 367, 691, 12, 509, 366, 2439, 734, 16, 509, 3844, 262, 202, 95, 202, 202, 9565, 12, 315, 674, 86, 1465, 18, 2684, 6, 11272, 202, 202, 1289, 27317, 12, 315, 27487, 6, 11272, 202, 202, 1289, 27317, 12, 315, 1128, 3113, 366, 2439, 734, 422, 605, 916, 5127, 692, 315, 70, 280, 291, 6, 294, 366, 2439, 734, 422, 24728, 3045, 6271, 43, 692, 315, 11930, 3251, 31317, 6, 294, 315, 87, 4644, 581, 879, 12865, 6, 11272, 202, 202, 1289, 27317, 12, 315, 13606, 81, 2648, 3113, 514, 18, 1132, 951, 12, 3844, 262, 11272, 202, 202, 2211, 18, 8949, 273, 3844, 31, 202, 202, 2211, 18, 5642, 344, 273, 366, 2 ]
helpSupport.displayHelp(topic);
helpSupport.displayHelpResource(topic);
private void openHelpTopic(String topic, String href) { IHelp helpSupport = WorkbenchHelp.getHelpSupport(); if (helpSupport != null) { if (href != null) helpSupport.displayHelp(topic, href); else helpSupport.displayHelp(topic); }}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/be4a9d721542e08ee5ff101434eff2a59ef87f62/WelcomeItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WelcomeItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 1696, 6696, 6657, 12, 780, 3958, 16, 514, 3897, 13, 288, 202, 45, 6696, 2809, 6289, 273, 4147, 22144, 6696, 18, 588, 6696, 6289, 5621, 202, 430, 261, 5201, 6289, 480, 446, 13, 288, 202, 202, 430, 261, 7547, 480, 446, 13, 1875, 202, 5201, 6289, 18, 5417, 6696, 12, 10476, 16, 3897, 1769, 202, 202, 12107, 1082, 202, 5201, 6289, 18, 5417, 6696, 12, 10476, 1769, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 1696, 6696, 6657, 12, 780, 3958, 16, 514, 3897, 13, 288, 202, 45, 6696, 2809, 6289, 273, 4147, 22144, 6696, 18, 588, 6696, 6289, 5621, 202, 430, 261, 5201, 6289, 480, 446, 13, 288, 202, 202, 430, 261, 7547, 480, 446, 13, 1875, 202, 5201, 6289, 18, 5417, 6696, 12, 10476, 16, 3897, 1769, 202, 202, 12107, 1082, 202, 5201, 6289, 18, 5417, 6696, 12, 10476, 1769, 202, 9090, 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 ]
if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits));
if (opaque || pixel >= map_size) return 255;
public final int getAlpha (int pixel) { if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); return 0; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/24330cfb4cc445da21a71a819ce54efe764fab6e/IndexColorModel.java/buggy/core/src/classpath/java/java/awt/image/IndexColorModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 509, 336, 9690, 261, 474, 4957, 13, 225, 288, 565, 309, 261, 11743, 411, 852, 67, 1467, 13, 202, 565, 327, 261, 474, 13, 14015, 7163, 5796, 261, 23, 13, 473, 6917, 63, 11743, 5717, 1671, 261, 23, 380, 4957, 67, 6789, 10019, 377, 1082, 202, 2463, 374, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 509, 336, 9690, 261, 474, 4957, 13, 225, 288, 565, 309, 261, 11743, 411, 852, 67, 1467, 13, 202, 565, 327, 261, 474, 13, 14015, 7163, 5796, 261, 23, 13, 473, 6917, 63, 11743, 5717, 1671, 261, 23, 380, 4957, 67, 6789, 10019, 377, 1082, 202, 2463, 374, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
public void setDefaultAction() { MLink ml = (MLink) getOwner(); Collection col = ml.getStimuli(); Iterator it = col.iterator(); while (it.hasNext()) { MStimulus ms = (MStimulus) it.next(); Object ma = ModelFacade.getDispatchAction(ms); MNamespace ns = ms.getNamespace(); Collection elements = ns.getOwnedElements(); Iterator iterator = elements.iterator(); while (iterator.hasNext()) { MModelElement moe = (MModelElement) iterator.next(); if (moe instanceof MAction) { if (moe == ma) { ModelFacade.removeOwnedElement(ns, ma); } } } MCallAction mca = UmlFactory.getFactory().getCommonBehavior().createCallAction(); mca.setAsynchronous(ModelFacade.isAsynchronous(ma)); mca.setName(ModelFacade.getName(ma)); ms.setDispatchAction(mca); ns.addOwnedElement(mca); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/FigSeqLink.java/clean/src_new/org/argouml/uml/diagram/sequence/ui/FigSeqLink.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 9277, 1803, 1435, 288, 565, 490, 2098, 12931, 273, 261, 1495, 754, 13, 13782, 5621, 565, 2200, 645, 273, 12931, 18, 588, 510, 381, 14826, 5621, 565, 4498, 518, 273, 645, 18, 9838, 5621, 565, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 1377, 490, 510, 381, 17284, 4086, 273, 261, 49, 510, 381, 17284, 13, 518, 18, 4285, 5621, 1377, 1033, 10843, 273, 3164, 12467, 18, 588, 5325, 1803, 12, 959, 1769, 1377, 490, 3402, 3153, 273, 4086, 18, 588, 3402, 5621, 1377, 2200, 2186, 273, 3153, 18, 588, 5460, 329, 3471, 5621, 1377, 4498, 2775, 273, 2186, 18, 9838, 5621, 1377, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 3639, 490, 1488, 1046, 7344, 73, 273, 261, 49, 1488, 1046, 13, 2775, 18, 4285, 5621, 3639, 309, 261, 8683, 73, 1276, 490, 1803, 13, 288, 1850, 309, 261, 8683, 73, 422, 10843, 13, 288, 2868, 3164, 12467, 18, 4479, 5460, 329, 1046, 12, 2387, 16, 10843, 1769, 21821, 490, 1477, 1803, 312, 5353, 273, 587, 781, 1733, 18, 588, 1733, 7675, 588, 6517, 9212, 7675, 2640, 1477, 1803, 5621, 1377, 312, 5353, 18, 542, 1463, 7121, 12, 1488, 12467, 18, 291, 1463, 7121, 12, 2540, 10019, 1377, 312, 5353, 18, 542, 461, 12, 1488, 12467, 18, 17994, 12, 2540, 10019, 1377, 4086, 18, 542, 5325, 1803, 12, 81, 5353, 1769, 1377, 3153, 18, 1289, 5460, 329, 1046, 12, 81, 5353, 1769, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 9277, 1803, 1435, 288, 565, 490, 2098, 12931, 273, 261, 1495, 754, 13, 13782, 5621, 565, 2200, 645, 273, 12931, 18, 588, 510, 381, 14826, 5621, 565, 4498, 518, 273, 645, 18, 9838, 5621, 565, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 1377, 490, 510, 381, 17284, 4086, 273, 261, 49, 510, 381, 17284, 13, 518, 18, 4285, 5621, 1377, 1033, 10843, 273, 3164, 12467, 18, 588, 5325, 1803, 12, 959, 1769, 1377, 490, 3402, 3153, 273, 4086, 18, 588, 3402, 5621, 1377, 2200, 2186, 273, 3153, 18, 588, 5460, 329, 3471, 5621, 1377, 4498, 2775, 273, 2186, 18, 9838, 5621, 1377, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 3639, 490, 1488, 1046, 7344, 2 ]
addWarning(warningsToLog, "Could not parse key sequence", configurationElement.getNamespace(), commandId, "keySequence", keySequenceText);
addWarning(warningsToLog, "Could not parse key sequence", configurationElement, commandId, "keySequence", keySequenceText);
private static final void readBindingsFromRegistry( final IConfigurationElement[] configurationElements, final int configurationElementCount, final BindingManager bindingManager, final ICommandService commandService) { final Collection bindings = new ArrayList(configurationElementCount); final List warningsToLog = new ArrayList(1); for (int i = 0; i < configurationElementCount; i++) { final IConfigurationElement configurationElement = configurationElements[i]; /* * Read out the command id. Doing this before determining if the key * binding is actually valid is a bit wasteful. However, it is * helpful to have the command identifier when logging syntax * errors. */ String commandId = configurationElement .getAttribute(ATTRIBUTE_COMMAND_ID); if ((commandId == null) || (commandId.length() == 0)) { commandId = configurationElement .getAttribute(ATTRIBUTE_COMMAND); } if ((commandId != null) && (commandId.length() == 0)) { commandId = null; } final Command command; if (commandId != null) { command = commandService.getCommand(commandId); if (!command.isDefined()) { // Reference to an undefined command. This is invalid. addWarning(warningsToLog, "Cannot bind to an undefined command", //$NON-NLS-1$ configurationElement.getNamespace(), commandId); continue; } } else { command = null; } // Read out the scheme id. String schemeId = configurationElement .getAttribute(ATTRIBUTE_SCHEME_ID); if ((schemeId == null) || (schemeId.length() == 0)) { schemeId = configurationElement .getAttribute(ATTRIBUTE_KEY_CONFIGURATION_ID); if ((schemeId == null) || (schemeId.length() == 0)) { schemeId = configurationElement .getAttribute(ATTRIBUTE_CONFIGURATION); if ((schemeId == null) || (schemeId.length() == 0)) { // The scheme id should never be null. This is invalid. addWarning(warningsToLog, "Key bindings need a scheme", //$NON-NLS-1$ configurationElement.getNamespace(), commandId); continue; } } } // Read out the context id. String contextId = configurationElement .getAttribute(ATTRIBUTE_CONTEXT_ID); if (LEGACY_DEFAULT_SCOPE.equals(contextId)) { contextId = null; } else if ((contextId == null) || (contextId.length() == 0)) { contextId = configurationElement.getAttribute(ATTRIBUTE_SCOPE); if (LEGACY_DEFAULT_SCOPE.equals(contextId)) { contextId = null; } } if ((contextId == null) || (contextId.length() == 0)) { contextId = IContextIds.CONTEXT_ID_WINDOW; } // Read out the key sequence. KeySequence keySequence = null; String keySequenceText = configurationElement .getAttribute(ATTRIBUTE_SEQUENCE); if ((keySequenceText == null) || (keySequenceText.length() == 0)) { keySequenceText = configurationElement .getAttribute(ATTRIBUTE_KEY_SEQUENCE); } if ((keySequenceText == null) || (keySequenceText.length() == 0)) { keySequenceText = configurationElement .getAttribute(ATTRIBUTE_STRING); if ((keySequenceText == null) || (keySequenceText.length() == 0)) { // The key sequence should never be null. This is pointless addWarning( warningsToLog, "Defining a key binding with no key sequence has no effect", //$NON-NLS-1$ configurationElement.getNamespace(), commandId); continue; } // The key sequence is in the old-style format. try { keySequence = convert2_1Sequence(parse2_1Sequence(keySequenceText)); } catch (final IllegalArgumentException e) { addWarning(warningsToLog, "Could not parse key sequence", //$NON-NLS-1$ configurationElement.getNamespace(), commandId, "keySequence", keySequenceText); //$NON-NLS-1$ continue; } } else { // The key sequence is in the new-style format. try { keySequence = KeySequence.getInstance(keySequenceText); } catch (final ParseException e) { addWarning(warningsToLog, "Could not parse key sequence", //$NON-NLS-1$ configurationElement.getNamespace(), commandId, "keySequence", keySequenceText); //$NON-NLS-1$ continue; } if (keySequence.isEmpty() || !keySequence.isComplete()) { addWarning( warningsToLog, "Key bindings should not have an empty or incomplete key sequence", //$NON-NLS-1$ configurationElement.getNamespace(), commandId, "keySequence", keySequence.toString()); //$NON-NLS-1$ continue; } } // Read out the locale and platform. String locale = configurationElement.getAttribute(ATTRIBUTE_LOCALE); if ((locale != null) && (locale.length() == 0)) { locale = null; } String platform = configurationElement .getAttribute(ATTRIBUTE_PLATFORM); if ((platform != null) && (platform.length() == 0)) { platform = null; } // Read out the parameters, if any. final ParameterizedCommand parameterizedCommand; if (command == null) { parameterizedCommand = null; } else { parameterizedCommand = readParametersFromRegistry( configurationElement, warningsToLog, command); } final Binding binding = new KeyBinding(keySequence, parameterizedCommand, schemeId, contextId, locale, platform, null, Binding.SYSTEM); bindings.add(binding); } final Binding[] bindingArray = (Binding[]) bindings .toArray(new Binding[bindings.size()]); bindingManager.setBindings(bindingArray); logWarnings( warningsToLog, "Warnings while parsing the key bindings from the 'org.eclipse.ui.commands' extension point"); //$NON-NLS-1$ }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/539b29bd9f4ed0020b6fce0d726b8d740d87469d/BindingPersistence.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/BindingPersistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 918, 855, 10497, 1265, 4243, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 16, 1082, 202, 6385, 15689, 1318, 5085, 1318, 16, 1082, 202, 6385, 467, 2189, 1179, 1296, 1179, 13, 288, 202, 202, 6385, 2200, 7394, 273, 394, 2407, 12, 7025, 1046, 1380, 1769, 202, 202, 6385, 987, 5599, 774, 1343, 273, 394, 2407, 12, 21, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1664, 1046, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1750, 1046, 1664, 1046, 273, 1664, 3471, 63, 77, 15533, 1082, 202, 20308, 9506, 380, 2720, 596, 326, 1296, 612, 18, 2256, 310, 333, 1865, 23789, 309, 326, 498, 9506, 380, 5085, 353, 6013, 923, 353, 279, 2831, 341, 14725, 2706, 18, 10724, 16, 518, 353, 9506, 380, 28063, 358, 1240, 326, 1296, 2756, 1347, 2907, 6279, 9506, 380, 1334, 18, 9506, 1195, 1082, 202, 780, 1296, 548, 273, 1664, 1046, 6862, 202, 18, 588, 1499, 12, 11616, 67, 19104, 67, 734, 1769, 1082, 202, 430, 14015, 3076, 548, 422, 446, 13, 747, 261, 3076, 548, 18, 2469, 1435, 422, 374, 3719, 288, 9506, 202, 3076, 548, 273, 1664, 1046, 25083, 202, 18, 588, 1499, 12, 11616, 67, 19104, 1769, 1082, 202, 97, 1082, 202, 430, 14015, 3076, 548, 480, 446, 13, 597, 261, 3076, 548, 18, 2469, 1435, 422, 374, 3719, 288, 9506, 202, 3076, 548, 273, 446, 31, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 727, 918, 855, 10497, 1265, 4243, 12, 1082, 202, 6385, 467, 1750, 1046, 8526, 1664, 3471, 16, 1082, 202, 6385, 509, 1664, 1046, 1380, 16, 1082, 202, 6385, 15689, 1318, 5085, 1318, 16, 1082, 202, 6385, 467, 2189, 1179, 1296, 1179, 13, 288, 202, 202, 6385, 2200, 7394, 273, 394, 2407, 12, 7025, 1046, 1380, 1769, 202, 202, 6385, 987, 5599, 774, 1343, 273, 394, 2407, 12, 21, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1664, 1046, 1380, 31, 277, 27245, 288, 1082, 202, 6385, 467, 1750, 1046, 1664, 1046, 273, 1664, 3471, 63, 77, 15533, 1082, 202, 20308, 9506, 380, 2720, 596, 326, 1296, 612, 18, 2256, 310, 333, 2 ]
private boolean verify(Message msg, boolean checkTooHigh, boolean checkTooLow) throws RejectLogon, FieldNotFound, IncorrectDataFormat, IncorrectTagValue, UnsupportedMessageType, IOException { String msgType; try { Message.Header header = msg.getHeader(); String senderCompID = header.getString(SenderCompID.FIELD); String targetCompID = header.getString(TargetCompID.FIELD); Date sendingTime = header.getUtcTimeStamp(SendingTime.FIELD); msgType = header.getString(MsgType.FIELD); int msgSeqNum = 0; if (checkTooHigh || checkTooLow) { msgSeqNum = header.getInt(MsgSeqNum.FIELD); } if (!validLogonState(msgType)) { throw new SessionException("Logon state is not valid for message (MsgType=" + msgType + ")"); } if (!isGoodTime(sendingTime)) { doBadTime(msg); return false; } if (!isCorrectCompID(senderCompID, targetCompID)) { doBadCompID(msg); return false; } state.setLastReceivedTime(System.currentTimeMillis()); state.clearTestRequestCounter(); if (checkTooHigh && isTargetTooHigh(msgSeqNum)) { doTargetTooHigh(msg); return false; } else if (checkTooLow && isTargetTooLow(msgSeqNum)) { doTargetTooLow(msg); return false; } if ((checkTooHigh || checkTooLow) && state.isResendRequested()) { int[] range = state.getResendRange(); if (msgSeqNum >= range[1]) { state.logEvent("ResendRequest for messages FROM: " + range[0] + " TO: " + range[1] + " has been satisfied."); state.setResendRange(0, 0); } } if ((checkTooHigh || checkTooLow) && state.isResendRequested()) { int[] range = state.getResendRange(); if (msgSeqNum >= range[1]) { state.logEvent("ResendRequest for messages FROM: " + range[0] + " TO: " + range[1] + " has been satisfied."); state.setResendRange(0, 0); } } } catch (FieldNotFound e) { throw e; } catch (Exception e) { state.logEvent(e.getClass().getName() + " " + e.getMessage()); disconnect(); return false; } fromCallback(msgType, msg, sessionID); return true; }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/c64396012cd88b23ea34709abc864ee2b49ed867/Session.java/clean/src/quickfix/Session.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3929, 12, 1079, 1234, 16, 1250, 866, 10703, 8573, 16, 1250, 866, 10703, 10520, 13, 5411, 1216, 20159, 1343, 265, 16, 2286, 2768, 16, 657, 6746, 751, 1630, 16, 657, 6746, 1805, 620, 16, 5411, 7221, 24563, 16, 1860, 288, 3639, 514, 1234, 559, 31, 3639, 775, 288, 5411, 2350, 18, 1864, 1446, 273, 1234, 18, 588, 1864, 5621, 5411, 514, 5793, 2945, 734, 273, 1446, 18, 588, 780, 12, 12021, 2945, 734, 18, 6776, 1769, 5411, 514, 1018, 2945, 734, 273, 1446, 18, 588, 780, 12, 2326, 2945, 734, 18, 6776, 1769, 5411, 2167, 5431, 950, 273, 1446, 18, 588, 57, 5111, 21536, 12, 16322, 950, 18, 6776, 1769, 5411, 1234, 559, 273, 1446, 18, 588, 780, 12, 3332, 559, 18, 6776, 1769, 5411, 509, 1234, 6926, 2578, 273, 374, 31, 5411, 309, 261, 1893, 10703, 8573, 747, 866, 10703, 10520, 13, 288, 7734, 1234, 6926, 2578, 273, 1446, 18, 588, 1702, 12, 3332, 6926, 2578, 18, 6776, 1769, 5411, 289, 5411, 309, 16051, 877, 1343, 265, 1119, 12, 3576, 559, 3719, 288, 7734, 604, 394, 3877, 503, 2932, 1343, 265, 919, 353, 486, 923, 364, 883, 261, 3332, 559, 1546, 13491, 397, 1234, 559, 397, 7310, 1769, 5411, 289, 5411, 309, 16051, 291, 18195, 950, 12, 87, 2846, 950, 3719, 288, 7734, 741, 6434, 950, 12, 3576, 1769, 7734, 327, 629, 31, 5411, 289, 5411, 309, 16051, 291, 16147, 2945, 734, 12, 15330, 2945, 734, 16, 1018, 2945, 734, 3719, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 3929, 12, 1079, 1234, 16, 1250, 866, 10703, 8573, 16, 1250, 866, 10703, 10520, 13, 5411, 1216, 20159, 1343, 265, 16, 2286, 2768, 16, 657, 6746, 751, 1630, 16, 657, 6746, 1805, 620, 16, 5411, 7221, 24563, 16, 1860, 288, 3639, 514, 1234, 559, 31, 3639, 775, 288, 5411, 2350, 18, 1864, 1446, 273, 1234, 18, 588, 1864, 5621, 5411, 514, 5793, 2945, 734, 273, 1446, 18, 588, 780, 12, 12021, 2945, 734, 18, 6776, 1769, 5411, 514, 1018, 2945, 734, 273, 1446, 18, 588, 780, 12, 2326, 2945, 734, 18, 6776, 1769, 5411, 2167, 5431, 950, 273, 1446, 18, 588, 57, 5111, 21536, 12, 16322, 950, 18, 6776, 1769, 5411, 1234, 559, 273, 1446, 18, 2 ]
expr = expr.createAssign(this, new BitXorExpr(expr, parseAssignExpr()));
if (expr.canRead()) expr = expr.createAssign(this, new BitXorExpr(expr.copy(), parseAssignExpr())); else expr = expr.createAssign(this, parseAssignExpr());
private Expr parseAssignExpr() throws IOException { Expr expr = parseConditionalExpr(); while (true) { int token = parseToken(); switch (token) { case '=': token = parseToken(); try { if (token == '&') expr = expr.createAssignRef(this, parseAssignExpr()); else { _peekToken = token; expr = expr.createAssign(this, parseAssignExpr()); } } catch (PhpParseException e) { throw e; } catch (IOException e) { throw error(e.getMessage()); } break; case PLUS_ASSIGN: expr = expr.createAssign(this, new AddExpr(expr, parseAssignExpr())); break; case MINUS_ASSIGN: expr = expr.createAssign(this, new SubExpr(expr, parseAssignExpr())); break; case APPEND_ASSIGN: expr = expr.createAssign(this, AppendExpr.create(expr, parseAssignExpr())); break; case MUL_ASSIGN: expr = expr.createAssign(this, new MulExpr(expr, parseAssignExpr())); break; case DIV_ASSIGN: expr = expr.createAssign(this, new DivExpr(expr, parseAssignExpr())); break; case MOD_ASSIGN: expr = expr.createAssign(this, new ModExpr(expr, parseAssignExpr())); break; case LSHIFT_ASSIGN: expr = expr.createAssign(this, new LeftShiftExpr(expr, parseAssignExpr())); break; case RSHIFT_ASSIGN: expr = expr.createAssign(this, new RightShiftExpr(expr, parseAssignExpr())); break; case AND_ASSIGN: expr = expr.createAssign(this, new BitAndExpr(expr, parseAssignExpr())); break; case OR_ASSIGN: expr = expr.createAssign(this, new BitOrExpr(expr, parseAssignExpr())); break; case XOR_ASSIGN: expr = expr.createAssign(this, new BitXorExpr(expr, parseAssignExpr())); break; default: _peekToken = token; return expr; } } }
3863 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3863/b2db2d6325f491f6686ae90d57e531c0a2e59af3/PhpParser.java/clean/quercus/src/main/java/com/caucho/quercus/parser/PhpParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 8074, 1109, 4910, 4742, 1435, 565, 1216, 1860, 225, 288, 565, 8074, 3065, 273, 1109, 14132, 4742, 5621, 565, 1323, 261, 3767, 13, 288, 1377, 509, 1147, 273, 1109, 1345, 5621, 1377, 1620, 261, 2316, 13, 288, 1377, 648, 5214, 30, 202, 2316, 273, 1109, 1345, 5621, 202, 202, 698, 288, 202, 225, 309, 261, 2316, 422, 5183, 6134, 202, 565, 3065, 273, 3065, 18, 2640, 4910, 1957, 12, 2211, 16, 1109, 4910, 4742, 10663, 202, 225, 469, 288, 202, 565, 389, 347, 3839, 1345, 273, 1147, 31, 202, 565, 3065, 273, 3065, 18, 2640, 4910, 12, 2211, 16, 1109, 4910, 4742, 10663, 202, 225, 289, 202, 97, 1044, 261, 11823, 13047, 425, 13, 288, 202, 225, 604, 425, 31, 202, 97, 1044, 261, 14106, 425, 13, 288, 202, 225, 604, 555, 12, 73, 18, 24906, 10663, 202, 97, 202, 8820, 31, 202, 1377, 648, 22443, 3378, 67, 23289, 30, 3639, 3065, 273, 3065, 18, 2640, 4910, 12, 2211, 16, 394, 1436, 4742, 12, 8638, 16, 1109, 4910, 4742, 1435, 10019, 202, 8820, 31, 202, 1377, 648, 6989, 3378, 67, 23289, 30, 3639, 3065, 273, 3065, 18, 2640, 4910, 12, 2211, 16, 394, 2592, 4742, 12, 8638, 16, 1109, 4910, 4742, 1435, 10019, 202, 8820, 31, 202, 1377, 648, 9146, 4415, 67, 23289, 30, 3639, 3065, 273, 3065, 18, 2640, 4910, 12, 2211, 16, 6181, 4742, 18, 2640, 12, 8638, 16, 1109, 4910, 4742, 1435, 10019, 202, 8820, 31, 202, 1377, 648, 490, 1506, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 8074, 1109, 4910, 4742, 1435, 565, 1216, 1860, 225, 288, 565, 8074, 3065, 273, 1109, 14132, 4742, 5621, 565, 1323, 261, 3767, 13, 288, 1377, 509, 1147, 273, 1109, 1345, 5621, 1377, 1620, 261, 2316, 13, 288, 1377, 648, 5214, 30, 202, 2316, 273, 1109, 1345, 5621, 202, 202, 698, 288, 202, 225, 309, 261, 2316, 422, 5183, 6134, 202, 565, 3065, 273, 3065, 18, 2640, 4910, 1957, 12, 2211, 16, 1109, 4910, 4742, 10663, 202, 225, 469, 288, 202, 565, 389, 347, 3839, 1345, 273, 1147, 31, 202, 565, 3065, 273, 3065, 18, 2640, 4910, 12, 2211, 16, 1109, 4910, 4742, 10663, 202, 225, 289, 202, 97, 1044, 261, 11823, 13047, 425, 13, 288, 202, 225, 2 ]
private void checkAndAddNamespaceDeclarations(String namespace, Map prefixMap, Element schemaElement) { //get the attribute for the current namespace String prefix = (String) prefixMap.get(namespace); //A prefix must be found at this point! String existingURL = schemaElement.getAttributeNS( XML_NAMESPACE_URI, NAMESPACE_DECLARATION_PREFIX + prefix); if (existingURL == null) { //there is no existing URL by that prefix - declare a new namespace schemaElement.setAttributeNS(XML_NAMESPACE_URI, NAMESPACE_DECLARATION_PREFIX + prefix, namespace); } else if (existingURL.equals(namespace)) { //this namespace declaration is already there with the same prefix //ignore it } else { //there is a different namespace declared in the given prefix //change the prefix in the prefix map to a new one and declare it //create a prefix String generatedPrefix = "ns" + prefixCounter++; while (prefixMap.containsKey(generatedPrefix)) { generatedPrefix = "ns" + prefixCounter++; } schemaElement.setAttributeNS(XML_NAMESPACE_URI, NAMESPACE_DECLARATION_PREFIX + generatedPrefix, namespace); //add to the map prefixMap.put(generatedPrefix, namespace); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/244aa4f43ff8119055aa57a36d41877e9626c506/WSDL11ToAxisServiceBuilder.java/clean/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 30970, 986, 3402, 21408, 12, 780, 1981, 16, 4766, 5375, 1635, 1633, 863, 16, 4766, 5375, 3010, 1963, 1046, 13, 288, 3639, 368, 588, 326, 1566, 364, 326, 783, 1981, 3639, 514, 1633, 273, 261, 780, 13, 1633, 863, 18, 588, 12, 4937, 1769, 3639, 368, 37, 1633, 1297, 506, 1392, 622, 333, 1634, 5, 3639, 514, 2062, 1785, 273, 1963, 1046, 18, 588, 1499, 3156, 12, 7734, 3167, 67, 11368, 67, 3098, 16, 7734, 18494, 67, 23956, 985, 2689, 67, 6307, 397, 1633, 1769, 3639, 309, 261, 11711, 1785, 422, 446, 13, 288, 5411, 368, 18664, 353, 1158, 2062, 1976, 635, 716, 1633, 300, 14196, 279, 394, 1981, 5411, 1963, 1046, 18, 542, 1499, 3156, 12, 4201, 67, 11368, 67, 3098, 16, 10792, 18494, 67, 23956, 985, 2689, 67, 6307, 397, 1633, 16, 10792, 1981, 1769, 3639, 289, 469, 309, 261, 11711, 1785, 18, 14963, 12, 4937, 3719, 288, 5411, 368, 2211, 1981, 8266, 353, 1818, 1915, 598, 326, 1967, 1633, 5411, 368, 6185, 518, 3639, 289, 469, 288, 5411, 368, 18664, 353, 279, 3775, 1981, 7886, 316, 326, 864, 1633, 5411, 368, 3427, 326, 1633, 316, 326, 1633, 852, 358, 279, 394, 1245, 471, 14196, 518, 5411, 368, 2640, 279, 1633, 5411, 514, 4374, 2244, 273, 315, 2387, 6, 397, 1633, 4789, 9904, 31, 5411, 1323, 261, 3239, 863, 18, 12298, 653, 12, 11168, 2244, 3719, 288, 7734, 4374, 2244, 273, 315, 2387, 6, 397, 1633, 4789, 9904, 31, 5411, 289, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 30970, 986, 3402, 21408, 12, 780, 1981, 16, 4766, 5375, 1635, 1633, 863, 16, 4766, 5375, 3010, 1963, 1046, 13, 288, 3639, 368, 588, 326, 1566, 364, 326, 783, 1981, 3639, 514, 1633, 273, 261, 780, 13, 1633, 863, 18, 588, 12, 4937, 1769, 3639, 368, 37, 1633, 1297, 506, 1392, 622, 333, 1634, 5, 3639, 514, 2062, 1785, 273, 1963, 1046, 18, 588, 1499, 3156, 12, 7734, 3167, 67, 11368, 67, 3098, 16, 7734, 18494, 67, 23956, 985, 2689, 67, 6307, 397, 1633, 1769, 3639, 309, 261, 11711, 1785, 422, 446, 13, 288, 5411, 368, 18664, 353, 1158, 2062, 1976, 635, 716, 1633, 300, 14196, 279, 394, 1981, 5411, 1963, 1046, 18, 542, 1499, 3156, 2 ]
noRule = false;
public void buildClassifier(Instances instances) throws Exception { boolean noRule = true; if (instances.checkForStringAttributes()) { throw new Exception("Can't handle string attributes!"); } if (instances.classAttribute().isNumeric()) { throw new Exception("Can't handle numeric class!"); } Instances data = new Instances(instances); // new dataset without missing class values data.deleteWithMissingClass(); if (data.numInstances() == 0) { throw new Exception("No instances with a class value!"); } // for each attribute ... Enumeration enum = instances.enumerateAttributes(); while (enum.hasMoreElements()) { OneRRule r = newRule((Attribute) enum.nextElement(), data); // if this attribute is the best so far, replace the rule if (noRule || r.m_correct > m_rule.m_correct) { m_rule = r; } noRule = false; }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/df84e4a29d8eb3dda9351dae28ae2105840444ee/OneR.java/clean/classifiers/OneR.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1361, 13860, 12, 5361, 3884, 13, 377, 1216, 1185, 288, 3639, 1250, 1158, 2175, 273, 638, 31, 565, 309, 261, 10162, 18, 1893, 1290, 780, 2498, 10756, 288, 1377, 604, 394, 1185, 2932, 2568, 1404, 1640, 533, 1677, 4442, 1769, 565, 289, 565, 309, 261, 10162, 18, 1106, 1499, 7675, 291, 9902, 10756, 288, 1377, 604, 394, 1185, 2932, 2568, 1404, 1640, 6389, 667, 4442, 1769, 565, 289, 565, 18357, 501, 273, 394, 18357, 12, 10162, 1769, 565, 368, 394, 3709, 2887, 3315, 667, 924, 565, 501, 18, 3733, 1190, 4841, 797, 5621, 565, 309, 261, 892, 18, 2107, 5361, 1435, 422, 374, 13, 288, 1377, 604, 394, 1185, 2932, 2279, 3884, 598, 279, 667, 460, 4442, 1769, 565, 289, 565, 368, 364, 1517, 1566, 1372, 565, 13864, 2792, 273, 3884, 18, 7924, 12600, 2498, 5621, 565, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 288, 1377, 6942, 54, 2175, 436, 273, 394, 2175, 12443, 1499, 13, 2792, 18, 4285, 1046, 9334, 501, 1769, 1377, 368, 309, 333, 1566, 353, 326, 3796, 1427, 10247, 16, 1453, 326, 1720, 1377, 309, 261, 2135, 2175, 747, 436, 18, 81, 67, 6746, 405, 312, 67, 5345, 18, 81, 67, 6746, 13, 288, 202, 81, 67, 5345, 273, 436, 31, 1377, 289, 540, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1361, 13860, 12, 5361, 3884, 13, 377, 1216, 1185, 288, 3639, 1250, 1158, 2175, 273, 638, 31, 565, 309, 261, 10162, 18, 1893, 1290, 780, 2498, 10756, 288, 1377, 604, 394, 1185, 2932, 2568, 1404, 1640, 533, 1677, 4442, 1769, 565, 289, 565, 309, 261, 10162, 18, 1106, 1499, 7675, 291, 9902, 10756, 288, 1377, 604, 394, 1185, 2932, 2568, 1404, 1640, 6389, 667, 4442, 1769, 565, 289, 565, 18357, 501, 273, 394, 18357, 12, 10162, 1769, 565, 368, 394, 3709, 2887, 3315, 667, 924, 565, 501, 18, 3733, 1190, 4841, 797, 5621, 565, 309, 261, 892, 18, 2107, 5361, 1435, 422, 374, 13, 288, 1377, 604, 394, 1185, 2932, 2279, 3884, 598, 279, 667, 460, 2 ]
return this.attributes;
AttributeMap attributeMap = new AttributeMap(this); for(int i = 0; i < attributeMap.getLength(); i++) { attributeMap.setNamedItem((Attr)attributeMap.getItem(i)); } if(this.namespaces != null) { Iterator nsDecls = this.namespaces.keySet().iterator(); while (nsDecls.hasNext()) { String prefix = (String) nsDecls.next(); OMNamespace ns = (OMNamespace)this.namespaces.get(prefix); AttrImpl attr = new AttrImpl(this.ownerNode, OMConstants.XMLNS_NS_PREFIX + ":" + prefix, ns.getName()); attributeMap.addItem(attr); } } return attributeMap;
public NamedNodeMap getAttributes() { return this.attributes; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/1ecc8eebb3ffc0a9feb2fbead4d1b6fa98b69394/ElementImpl.java/clean/modules/saaj/src/org/apache/axis2/om/impl/dom/ElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9796, 907, 863, 10183, 1435, 288, 3639, 3601, 863, 1566, 863, 273, 225, 394, 3601, 863, 12, 2211, 1769, 282, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1566, 863, 18, 588, 1782, 5621, 277, 27245, 288, 1566, 863, 18, 542, 7604, 1180, 12443, 3843, 13, 4589, 863, 18, 588, 1180, 12, 77, 10019, 289, 282, 309, 12, 2211, 18, 16078, 480, 446, 13, 288, 4498, 3153, 1799, 3251, 273, 333, 18, 16078, 18, 856, 694, 7675, 9838, 5621, 1323, 261, 2387, 1799, 3251, 18, 5332, 2134, 10756, 288, 514, 1633, 273, 261, 780, 13, 3153, 1799, 3251, 18, 4285, 5621, 28839, 3402, 3153, 273, 261, 1872, 3402, 13, 2211, 18, 16078, 18, 588, 12, 3239, 1769, 11289, 2828, 1604, 273, 394, 11289, 2828, 12, 2211, 18, 8443, 907, 16, 28839, 2918, 18, 4201, 3156, 67, 3156, 67, 6307, 397, 6153, 397, 1633, 16, 3153, 18, 17994, 10663, 1566, 863, 18, 1289, 1180, 12, 1747, 1769, 289, 289, 225, 327, 1566, 863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9796, 907, 863, 10183, 1435, 288, 3639, 3601, 863, 1566, 863, 273, 225, 394, 3601, 863, 12, 2211, 1769, 282, 364, 12, 474, 277, 273, 374, 31, 277, 411, 1566, 863, 18, 588, 1782, 5621, 277, 27245, 288, 1566, 863, 18, 542, 7604, 1180, 12443, 3843, 13, 4589, 863, 18, 588, 1180, 12, 77, 10019, 289, 282, 309, 12, 2211, 18, 16078, 480, 446, 13, 288, 4498, 3153, 1799, 3251, 273, 333, 18, 16078, 18, 856, 694, 7675, 9838, 5621, 1323, 261, 2387, 1799, 3251, 18, 5332, 2134, 10756, 288, 514, 1633, 273, 261, 780, 13, 3153, 1799, 3251, 18, 4285, 5621, 28839, 3402, 3153, 273, 261, 1872, 3402, 13, 2211, 18, 16078, 18, 588, 12, 3239, 2 ]
} catch (Exception e) { } sslSock.testTlsClient(testCipher, testHost, testPort, keystoreLocation);
sslSock.testTlsClient(testCipher,testHost,testPort,keystoreLocation); } catch (Exception e) { System.out.println("Exception caught testing TLS ciphers\n" + e.getMessage()); e.printStackTrace(); System.exit(1); }
public static void main(String [] args) { String testCipher = null; String testHost = "localhost"; String keystoreLocation = "keystore.pfx"; int testPort = 29750; String usage = "java org.mozilla.jss.tests.JSSE_SSLClient" + "\n<keystore location> " + "<test port> <test cipher> <test host> "; try { if ( args[0].toLowerCase().equals("-h") || args.length < 1) { System.out.println(usage); System.exit(1); } if ( args.length >= 1 ) { keystoreLocation = (String)args[0]; } if ( args.length >= 2) { testPort = new Integer(args[1]).intValue(); System.out.println("using port: " + testPort); } if ( args.length >= 3) { testCipher = (String)args[2]; } if ( args.length == 4) { testHost = (String)args[3]; } } catch (Exception e) { System.out.println(usage); System.exit(1); } JSSE_SSLClient sslSock = new JSSE_SSLClient(); // Call TLS client cipher test try { Thread.currentThread().sleep(1000); } catch (Exception e) { } sslSock.testTlsClient(testCipher, testHost, testPort, keystoreLocation); // Call SSLv3 client cipher test try { Thread.currentThread().sleep(1000); } catch (Exception e) { } sslSock.testSslClient(testCipher, testHost, testPort, keystoreLocation); System.exit(0); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/2c88207a24bea2d0af88356473969a2e94d3f349/JSSE_SSLClient.java/buggy/security/jss/org/mozilla/jss/tests/JSSE_SSLClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 5378, 833, 13, 288, 7734, 514, 1842, 13896, 4202, 273, 446, 31, 3639, 514, 1842, 2594, 540, 273, 315, 13014, 14432, 3639, 514, 16262, 2735, 273, 315, 856, 2233, 18, 14241, 92, 14432, 3639, 509, 565, 1842, 2617, 540, 273, 576, 10580, 3361, 31, 3639, 514, 4084, 5411, 273, 315, 6290, 2358, 18, 8683, 15990, 18, 78, 1049, 18, 16341, 18, 6479, 1090, 67, 6745, 1227, 6, 397, 7734, 1548, 82, 32, 856, 2233, 2117, 34, 315, 397, 7734, 3532, 3813, 1756, 34, 411, 3813, 5867, 34, 411, 3813, 1479, 34, 13636, 7734, 775, 288, 5411, 309, 261, 833, 63, 20, 8009, 869, 5630, 7675, 14963, 2932, 17, 76, 7923, 747, 833, 18, 2469, 411, 404, 13, 288, 7734, 2332, 18, 659, 18, 8222, 12, 9167, 1769, 7734, 2332, 18, 8593, 12, 21, 1769, 5411, 289, 13491, 309, 261, 833, 18, 2469, 1545, 404, 262, 288, 7734, 16262, 2735, 273, 261, 780, 13, 1968, 63, 20, 15533, 5411, 289, 5411, 309, 261, 833, 18, 2469, 1545, 576, 13, 288, 7734, 1842, 2617, 540, 273, 394, 2144, 12, 1968, 63, 21, 65, 2934, 474, 620, 5621, 7734, 2332, 18, 659, 18, 8222, 2932, 9940, 1756, 30, 315, 397, 1842, 2617, 1769, 5411, 289, 5411, 309, 261, 833, 18, 2469, 1545, 890, 13, 288, 7734, 1842, 13896, 4202, 273, 261, 780, 13, 1968, 63, 22, 15533, 5411, 289, 5411, 309, 261, 833, 18, 2469, 422, 1059, 13, 288, 7734, 1842, 2594, 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, 377, 1071, 760, 918, 2774, 12, 780, 5378, 833, 13, 288, 7734, 514, 1842, 13896, 4202, 273, 446, 31, 3639, 514, 1842, 2594, 540, 273, 315, 13014, 14432, 3639, 514, 16262, 2735, 273, 315, 856, 2233, 18, 14241, 92, 14432, 3639, 509, 565, 1842, 2617, 540, 273, 576, 10580, 3361, 31, 3639, 514, 4084, 5411, 273, 315, 6290, 2358, 18, 8683, 15990, 18, 78, 1049, 18, 16341, 18, 6479, 1090, 67, 6745, 1227, 6, 397, 7734, 1548, 82, 32, 856, 2233, 2117, 34, 315, 397, 7734, 3532, 3813, 1756, 34, 411, 3813, 5867, 34, 411, 3813, 1479, 34, 13636, 7734, 775, 288, 5411, 309, 261, 833, 63, 20, 8009, 869, 5630, 7675, 14963, 2932, 17, 76, 7923, 747, 833, 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); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/6edfd201208294a63e08eefe822045d54d51622b/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 ]
Vector v = Pooka.getStoreManager().getStoreList(); for (int i = 0; i < v.size(); i++) { try { ((StoreInfo)v.elementAt(i)).closeAllFolders(false, true); } catch (Exception e) { } } Pooka.resources.saveProperties(new File(Pooka.localrc)); System.exit(exitValue);
Pooka.exitPooka(exitValue);
public void exitPooka(int exitValue) { if (! processUnsentMessages()) return; if (contentPanel instanceof MessagePanel && ((MessagePanel)contentPanel).isSavingWindowLocations()) { ((MessagePanel)contentPanel).saveWindowLocations(); } Pooka.setProperty("Pooka.hsize", Integer.toString(this.getParentFrame().getWidth())); Pooka.setProperty("Pooka.vsize", Integer.toString(this.getParentFrame().getHeight())); Pooka.setProperty("Pooka.folderPanel.hsize", Integer.toString(folderPanel.getWidth())); Pooka.setProperty("Pooka.folderPanel.vsize", Integer.toString(folderPanel.getHeight())); contentPanel.savePanelSize(); if (contentPanel.isSavingOpenFolders()) { contentPanel.saveOpenFolders(); } Vector v = Pooka.getStoreManager().getStoreList(); for (int i = 0; i < v.size(); i++) { // FIXME: we should check to see if there are any messages // to be deleted, and ask the user if they want to expunge the // deleted messages. try { ((StoreInfo)v.elementAt(i)).closeAllFolders(false, true); } catch (Exception e) { // we really don't care. } } Pooka.resources.saveProperties(new File(Pooka.localrc)); System.exit(exitValue); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/f354177cbeef8267d436b002f39cdea12fbf9805/MainPanel.java/clean/net/suberic/pooka/gui/MainPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2427, 52, 1184, 69, 12, 474, 2427, 620, 13, 288, 1377, 309, 16051, 1207, 984, 7569, 5058, 10756, 202, 2463, 31, 5411, 309, 261, 1745, 5537, 1276, 2350, 5537, 597, 3196, 225, 14015, 1079, 5537, 13, 1745, 5537, 2934, 291, 24660, 3829, 10985, 10756, 288, 202, 12443, 1079, 5537, 13, 1745, 5537, 2934, 5688, 3829, 10985, 5621, 1377, 289, 5411, 453, 1184, 69, 18, 542, 1396, 2932, 52, 1184, 69, 18, 76, 1467, 3113, 2144, 18, 10492, 12, 2211, 18, 588, 3054, 3219, 7675, 588, 2384, 1435, 10019, 1377, 453, 1184, 69, 18, 542, 1396, 2932, 52, 1184, 69, 18, 90, 1467, 3113, 2144, 18, 10492, 12, 2211, 18, 588, 3054, 3219, 7675, 588, 2686, 1435, 10019, 1377, 453, 1184, 69, 18, 542, 1396, 2932, 52, 1184, 69, 18, 5609, 5537, 18, 76, 1467, 3113, 2144, 18, 10492, 12, 5609, 5537, 18, 588, 2384, 1435, 10019, 1377, 453, 1184, 69, 18, 542, 1396, 2932, 52, 1184, 69, 18, 5609, 5537, 18, 90, 1467, 3113, 2144, 18, 10492, 12, 5609, 5537, 18, 588, 2686, 1435, 10019, 1377, 913, 5537, 18, 5688, 5537, 1225, 5621, 5411, 309, 261, 1745, 5537, 18, 291, 24660, 3678, 14885, 10756, 288, 202, 1745, 5537, 18, 5688, 3678, 14885, 5621, 1377, 289, 5411, 5589, 331, 273, 453, 1184, 69, 18, 588, 2257, 1318, 7675, 588, 2257, 682, 5621, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 331, 18, 1467, 5621, 277, 27245, 288, 202, 759, 9852, 30, 225, 732, 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, 2427, 52, 1184, 69, 12, 474, 2427, 620, 13, 288, 1377, 309, 16051, 1207, 984, 7569, 5058, 10756, 202, 2463, 31, 5411, 309, 261, 1745, 5537, 1276, 2350, 5537, 597, 3196, 225, 14015, 1079, 5537, 13, 1745, 5537, 2934, 291, 24660, 3829, 10985, 10756, 288, 202, 12443, 1079, 5537, 13, 1745, 5537, 2934, 5688, 3829, 10985, 5621, 1377, 289, 5411, 453, 1184, 69, 18, 542, 1396, 2932, 52, 1184, 69, 18, 76, 1467, 3113, 2144, 18, 10492, 12, 2211, 18, 588, 3054, 3219, 7675, 588, 2384, 1435, 10019, 1377, 453, 1184, 69, 18, 542, 1396, 2932, 52, 1184, 69, 18, 90, 1467, 3113, 2144, 18, 10492, 12, 2211, 18, 588, 3054, 3219, 7675, 588, 2686, 1435, 2 ]
File cacheFile = getCacheFile( this.totalCacheNo ); fileList.add( cacheFile );
File cacheFile = null; if ( currentCacheNo < fileList.size( ) ) { cacheFile = (File) ( fileList.get( currentCacheNo ) ); } else { cacheFile = getCacheFile( this.currentCacheNo ); fileList.add( cacheFile ); }
private void saveToDisk( ) { try { File cacheFile = getCacheFile( this.totalCacheNo ); fileList.add( cacheFile ); FileOutputStream fos = new FileOutputStream( cacheFile ); DataOutputStream oos = new DataOutputStream( new BufferedOutputStream( fos ) ); writeList( oos, currentCache ); oos.close( ); this.totalCacheNo++; this.currentCacheNo = this.totalCacheNo; } catch ( FileNotFoundException e ) { logger.severe( "Exception happened when save data to disk in CachedList. Exception message: " + e.toString( ) ); e.printStackTrace( ); } catch ( IOException e ) { logger.severe( "Exception happened when save data to disk in CachedList. Exception message: " + e.toString( ) ); e.printStackTrace( ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/fa82a2af56d763819340dcb4920363efb3a6b242/BasicCachedList.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/BasicCachedList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1923, 774, 6247, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 812, 18748, 273, 8577, 812, 12, 333, 18, 4963, 1649, 2279, 11272, 1082, 202, 768, 682, 18, 1289, 12, 18748, 11272, 1082, 202, 812, 4632, 17615, 273, 394, 12942, 12, 18748, 11272, 1082, 202, 751, 4632, 24956, 273, 394, 28680, 12, 394, 28649, 12, 17615, 262, 11272, 1082, 202, 2626, 682, 12, 24956, 16, 783, 1649, 11272, 1082, 202, 83, 538, 18, 4412, 12, 11272, 1082, 202, 2211, 18, 4963, 1649, 2279, 9904, 31, 1082, 202, 2211, 18, 2972, 1649, 2279, 273, 333, 18, 4963, 1649, 2279, 31, 202, 202, 97, 202, 202, 14683, 261, 13707, 425, 262, 202, 202, 95, 1082, 202, 4901, 18, 307, 502, 73, 12, 315, 503, 17497, 1347, 1923, 501, 358, 4234, 316, 15771, 682, 18, 1185, 883, 30, 315, 6862, 202, 15, 425, 18, 10492, 12, 262, 11272, 1082, 202, 73, 18, 1188, 6332, 12, 11272, 202, 202, 97, 202, 202, 14683, 261, 1860, 425, 262, 202, 202, 95, 1082, 202, 4901, 18, 307, 502, 73, 12, 315, 503, 17497, 1347, 1923, 501, 358, 4234, 316, 15771, 682, 18, 1185, 883, 30, 315, 6862, 202, 15, 425, 18, 10492, 12, 262, 11272, 1082, 202, 73, 18, 1188, 6332, 12, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1923, 774, 6247, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 812, 18748, 273, 8577, 812, 12, 333, 18, 4963, 1649, 2279, 11272, 1082, 202, 768, 682, 18, 1289, 12, 18748, 11272, 1082, 202, 812, 4632, 17615, 273, 394, 12942, 12, 18748, 11272, 1082, 202, 751, 4632, 24956, 273, 394, 28680, 12, 394, 28649, 12, 17615, 262, 11272, 1082, 202, 2626, 682, 12, 24956, 16, 783, 1649, 11272, 1082, 202, 83, 538, 18, 4412, 12, 11272, 1082, 202, 2211, 18, 4963, 1649, 2279, 9904, 31, 1082, 202, 2211, 18, 2972, 1649, 2279, 273, 333, 18, 4963, 1649, 2279, 31, 202, 202, 97, 202, 202, 14683, 261, 13707, 425, 262, 202, 202, 2 ]
public void schedule(Runnable task, long delay, long period)
public void schedule(final Runnable task, long delay, long period)
public void schedule(Runnable task, long delay, long period) throws IllegalStateException { if (_isCancelled) throw new IllegalStateException("Timer cancelled"); if (delay<0) throw new IllegalArgumentException("Negative delay: "+delay); if (period<0) throw new IllegalArgumentException("Negative period: "+period); long now=System.currentTimeMillis(); SimpleTimerTask ttask=new SimpleTimerTask(task, period, now+delay); synchronized(_queue) { Object discarded=_queue.insert(ttask); Assert.that(discarded==null, "heap didn't resize"); _queue.notify(); } }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/9ce7097fffa01edac129a4db6c54e1086fa7b5ee/SimpleTimer.java/buggy/components/gnutella-core/src/main/java/com/limegroup/gnutella/util/SimpleTimer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4788, 12, 6385, 10254, 1562, 16, 1525, 4624, 16, 1525, 3879, 13, 2398, 1216, 5477, 288, 3639, 309, 261, 67, 291, 21890, 13, 5411, 604, 394, 5477, 2932, 6777, 13927, 8863, 3639, 309, 261, 10790, 32, 20, 13, 5411, 604, 394, 2754, 2932, 14959, 4624, 30, 13773, 10790, 1769, 3639, 309, 261, 6908, 32, 20, 13, 5411, 604, 394, 2754, 2932, 14959, 3879, 30, 13773, 6908, 1769, 3639, 1525, 2037, 33, 3163, 18, 2972, 28512, 5621, 3639, 4477, 6777, 2174, 3574, 835, 33, 2704, 4477, 6777, 2174, 12, 4146, 16, 4766, 5375, 3879, 16, 2037, 15, 10790, 1769, 3639, 3852, 24899, 4000, 13, 288, 5411, 1033, 20076, 33, 67, 4000, 18, 6387, 12, 748, 835, 1769, 5411, 5452, 18, 19056, 12, 2251, 16500, 631, 2011, 16, 315, 25506, 10242, 1404, 7041, 8863, 5411, 389, 4000, 18, 12336, 5621, 3639, 289, 565, 289, 4202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4788, 12, 6385, 10254, 1562, 16, 1525, 4624, 16, 1525, 3879, 13, 2398, 1216, 5477, 288, 3639, 309, 261, 67, 291, 21890, 13, 5411, 604, 394, 5477, 2932, 6777, 13927, 8863, 3639, 309, 261, 10790, 32, 20, 13, 5411, 604, 394, 2754, 2932, 14959, 4624, 30, 13773, 10790, 1769, 3639, 309, 261, 6908, 32, 20, 13, 5411, 604, 394, 2754, 2932, 14959, 3879, 30, 13773, 6908, 1769, 3639, 1525, 2037, 33, 3163, 18, 2972, 28512, 5621, 3639, 4477, 6777, 2174, 3574, 835, 33, 2704, 4477, 6777, 2174, 12, 4146, 16, 4766, 5375, 3879, 16, 2037, 15, 10790, 1769, 3639, 3852, 24899, 4000, 13, 288, 5411, 1033, 20076, 33, 67, 4000, 18, 6387, 12, 748, 835, 1769, 2 ]
stmt.setTimestamp(8, new Timestamp(resource.getDateLastModified()));
stmt.setLong(8, resource.getDateLastModified());
public void writeBackupResource(CmsUser currentUser, CmsProject publishProject, CmsResource resource, List properties, int tagId, long publishDate, int maxVersions) throws CmsException { Connection conn = null; PreparedStatement stmt = null; CmsUUID backupPkId = new CmsUUID(); byte[] content = null; int versionId; String lastModifiedName = ""; String createdName = ""; try { CmsUser lastModified = m_driverManager.getUserDriver().readUser(resource.getUserLastModified()); lastModifiedName = lastModified.getName(); CmsUser created = m_driverManager.getUserDriver().readUser(resource.getUserCreated()); createdName = created.getName(); } catch (CmsException e) { lastModifiedName = resource.getUserCreated().toString(); createdName = resource.getUserLastModified().toString(); } try { conn = m_sqlManager.getConnectionForBackup(); // now get the new version id for this resource versionId = internalReadNextVersionId(resource); if (resource.isFile()) { if (!this.internalValidateBackupResource(resource, tagId)) { // write the file content if (resource instanceof CmsFile) { content = ((CmsFile)resource).getContents(); } internalWriteBackupFileContent(backupPkId, resource/* .getFileId() */, content, tagId, versionId); // write the resource stmt = m_sqlManager.getPreparedStatement(conn, "C_RESOURCES_WRITE_BACKUP"); stmt.setString(1, resource.getResourceId().toString()); stmt.setInt(2, resource.getType()); stmt.setInt(3, resource.getFlags()); stmt.setString(4, resource.getFileId().toString()); stmt.setInt(5, resource.getLoaderId()); stmt.setTimestamp(6, new Timestamp(publishDate)); stmt.setString(7, resource.getUserCreated().toString()); stmt.setTimestamp(8, new Timestamp(resource.getDateLastModified())); stmt.setString(9, resource.getUserLastModified().toString()); stmt.setInt(10, resource.getState()); stmt.setInt(11, resource.getLength()); stmt.setString(12, CmsUUID.getNullUUID().toString()); stmt.setInt(13, publishProject.getId()); stmt.setInt(14, 1); stmt.setInt(15, tagId); stmt.setInt(16, versionId); stmt.setString(17, backupPkId.toString()); stmt.setString(18, createdName); stmt.setString(19, lastModifiedName); stmt.executeUpdate(); m_sqlManager.closeAll(null, stmt, null); } } // write the structure stmt = m_sqlManager.getPreparedStatement(conn, "C_STRUCTURE_WRITE_BACKUP"); stmt.setString(1, resource.getStructureId().toString()); stmt.setString(2, resource.getParentStructureId().toString()); stmt.setString(3, resource.getResourceId().toString()); stmt.setString(4, resource.getName()); stmt.setInt(5, resource.getState()); stmt.setLong(6, resource.getDateReleased()); stmt.setLong(7, resource.getDateExpired()); stmt.setInt(8, tagId); stmt.setInt(9, versionId); stmt.setString(10, backupPkId.toString()); stmt.executeUpdate(); writeBackupProperties(publishProject, resource, properties, backupPkId, tagId, versionId); // now check if there are old backup versions to delete List existingBackups = readBackupFileHeaders(resource.getResourceId()); if (existingBackups.size() > maxVersions) { // delete redundant backups deleteBackups(existingBackups, maxVersions); } } catch (SQLException e) { throw m_sqlManager.getCmsException(this, null, CmsException.C_SQL_ERROR, e, false); } catch (Exception e) { throw m_sqlManager.getCmsException(this, null, CmsException.C_UNKNOWN_EXCEPTION, e, false); } finally { m_sqlManager.closeAll(conn, stmt, null); } content = null; // TODO: use this in later versions //return this.readBackupFileHeader(tagId, resource.getResourceId()); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/67112c2256d26547aaed50fa52a9cf448dd26527/CmsBackupDriver.java/clean/src/org/opencms/db/generic/CmsBackupDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 6248, 1420, 12, 4747, 1299, 13970, 16, 2149, 4109, 3808, 4109, 16, 7630, 1058, 16, 987, 1790, 16, 509, 29238, 16, 1525, 3808, 1626, 16, 509, 943, 5940, 13, 1216, 11228, 288, 3639, 4050, 1487, 273, 446, 31, 3639, 16913, 3480, 273, 446, 31, 3639, 15792, 5114, 7789, 548, 273, 394, 15792, 5621, 3639, 1160, 8526, 913, 273, 446, 31, 3639, 509, 15287, 31, 3639, 514, 12709, 461, 273, 1408, 31, 3639, 514, 2522, 461, 273, 1408, 31, 3639, 775, 288, 5411, 25492, 12709, 273, 312, 67, 7407, 1318, 18, 588, 1299, 4668, 7675, 896, 1299, 12, 3146, 18, 588, 1299, 14747, 10663, 5411, 12709, 461, 273, 12709, 18, 17994, 5621, 5411, 25492, 2522, 273, 312, 67, 7407, 1318, 18, 588, 1299, 4668, 7675, 896, 1299, 12, 3146, 18, 588, 1299, 6119, 10663, 5411, 2522, 461, 273, 2522, 18, 17994, 5621, 3639, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 12709, 461, 273, 1058, 18, 588, 1299, 6119, 7675, 10492, 5621, 5411, 2522, 461, 273, 1058, 18, 588, 1299, 14747, 7675, 10492, 5621, 3639, 289, 3639, 775, 288, 5411, 1487, 273, 312, 67, 4669, 1318, 18, 588, 1952, 1290, 6248, 5621, 5411, 368, 2037, 336, 326, 394, 1177, 612, 364, 333, 1058, 5411, 15287, 273, 2713, 1994, 2134, 28039, 12, 3146, 1769, 5411, 309, 261, 3146, 18, 291, 812, 10756, 288, 7734, 309, 16051, 2211, 18, 7236, 4270, 6248, 1420, 12, 3146, 16, 29238, 3719, 288, 10792, 368, 1045, 326, 585, 913, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 6248, 1420, 12, 4747, 1299, 13970, 16, 2149, 4109, 3808, 4109, 16, 7630, 1058, 16, 987, 1790, 16, 509, 29238, 16, 1525, 3808, 1626, 16, 509, 943, 5940, 13, 1216, 11228, 288, 3639, 4050, 1487, 273, 446, 31, 3639, 16913, 3480, 273, 446, 31, 3639, 15792, 5114, 7789, 548, 273, 394, 15792, 5621, 3639, 1160, 8526, 913, 273, 446, 31, 3639, 509, 15287, 31, 3639, 514, 12709, 461, 273, 1408, 31, 3639, 514, 2522, 461, 273, 1408, 31, 3639, 775, 288, 5411, 25492, 12709, 273, 312, 67, 7407, 1318, 18, 588, 1299, 4668, 7675, 896, 1299, 12, 3146, 18, 588, 1299, 14747, 10663, 5411, 12709, 461, 273, 12709, 18, 17994, 5621, 5411, 25492, 2522, 273, 2 ]
if (logger.isInfoEnabled()) { logger.info("memberAdded: name=" + name);
if (logger.isDebugEnabled()) { logger.debug("memberAdded: name=" + name);
public void memberAdded(String name) { //robustness manager should publish deconfliction objects for every agent member. if (isSentinel()) { if (logger.isInfoEnabled()) { logger.info("memberAdded: name=" + name); } if (isCoordinatorEnabled()) { coordinatorHelper.addAgent(name); } if (isNode(name)) { if (logger.isInfoEnabled()) { logger.info("New node detected: node=" + name); } if (deadNodes.contains(name)) { deadNodes.remove(name); } } } if (didRestart && getState(name) == -1 && !suppressPingsOnRestart) { newState(name, HEALTH_CHECK); } }
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/d429c0409620027c39ac34ed3a9e6510f4d18831/DefaultRobustnessController.java/clean/mgmt_agent/src/org/cougaar/tools/robustness/ma/controllers/DefaultRobustnessController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3140, 8602, 12, 780, 508, 13, 288, 565, 368, 303, 70, 641, 4496, 3301, 1410, 3808, 443, 3923, 549, 349, 2184, 364, 3614, 4040, 3140, 18, 565, 309, 261, 291, 7828, 12927, 10756, 288, 1377, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 3639, 1194, 18, 1376, 2932, 5990, 8602, 30, 508, 1546, 397, 508, 1769, 1377, 289, 1377, 309, 261, 291, 25307, 1526, 10756, 288, 3639, 24794, 2276, 18, 1289, 3630, 12, 529, 1769, 1377, 289, 1377, 309, 261, 291, 907, 12, 529, 3719, 288, 3639, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 1850, 1194, 18, 1376, 2932, 1908, 756, 8316, 30, 756, 1546, 397, 508, 1769, 3639, 289, 3639, 309, 261, 22097, 3205, 18, 12298, 12, 529, 3719, 288, 1850, 8363, 3205, 18, 4479, 12, 529, 1769, 3639, 289, 1377, 289, 565, 289, 565, 309, 261, 14044, 15057, 597, 8997, 12, 529, 13, 422, 300, 21, 597, 401, 10840, 52, 899, 1398, 15057, 13, 288, 1377, 15907, 12, 529, 16, 4194, 1013, 2455, 67, 10687, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3140, 8602, 12, 780, 508, 13, 288, 565, 368, 303, 70, 641, 4496, 3301, 1410, 3808, 443, 3923, 549, 349, 2184, 364, 3614, 4040, 3140, 18, 565, 309, 261, 291, 7828, 12927, 10756, 288, 1377, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 3639, 1194, 18, 1376, 2932, 5990, 8602, 30, 508, 1546, 397, 508, 1769, 1377, 289, 1377, 309, 261, 291, 25307, 1526, 10756, 288, 3639, 24794, 2276, 18, 1289, 3630, 12, 529, 1769, 1377, 289, 1377, 309, 261, 291, 907, 12, 529, 3719, 288, 3639, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 1850, 1194, 18, 1376, 2932, 1908, 756, 8316, 30, 756, 1546, 397, 508, 1769, 3639, 289, 3639, 309, 261, 2 ]
loaderScript = replaceTag( loaderScript, "/*rockAndRoll*/", "false" );
replaceTag( scriptBuffer, "/*rockAndRoll*/", "false" );
private String handleSimulatorIndex( StringBuffer replyBuffer ) throws IOException { // This is the simple Javascript which can be added // arbitrarily to the end without having to modify // the underlying HTML. StringBuffer loaderBuffer = new StringBuffer(); BufferedReader reader = DataUtilities.getReader( "html/simulator/", "index.html.js" ); String line = null; while ( (line = reader.readLine()) != null ) { loaderBuffer.append( line ); loaderBuffer.append( LINE_BREAK ); } reader.close(); String loaderScript = loaderBuffer.toString(); int classIndex = -1; for ( int i = 0; i < KoLmafiaASH.CLASSES.length; ++i ) if ( KoLmafiaASH.CLASSES[i].equalsIgnoreCase( KoLCharacter.getClassType() ) ) classIndex = i; // Basic additions of player state info loaderScript = replaceTag( loaderScript, "/*classIndex*/", classIndex ); loaderScript = replaceTag( loaderScript, "/*baseMuscle*/", KoLCharacter.getBaseMuscle() ); loaderScript = replaceTag( loaderScript, "/*baseMysticality*/", KoLCharacter.getBaseMysticality() ); loaderScript = replaceTag( loaderScript, "/*baseMoxie*/", KoLCharacter.getBaseMoxie() ); loaderScript = replaceTag( loaderScript, "/*mindControl*/", KoLCharacter.getMindControlLevel() ); // Change the player's familiar to the current // familiar. Input the weight and change the // familiar equipment. loaderScript = replaceTag( loaderScript, "/*familiar*/", KoLCharacter.getFamiliar().getRace() ); loaderScript = replaceTag( loaderScript, "/*familiarWeight*/", KoLCharacter.getFamiliar().getWeight() ); String familiarEquipment = KoLCharacter.getCurrentEquipmentName( KoLCharacter.FAMILIAR ); if ( FamiliarData.itemWeightModifier( TradeableItemDatabase.getItemID( familiarEquipment ) ) == 5 ) loaderScript = replaceTag( loaderScript, "/*familiarEquip*/", "familiar-specific +5 lbs." ); else loaderScript = replaceTag( loaderScript, "/*familiarEquip*/", familiarEquipment ); // Change the player's equipment loaderScript = replaceTag( loaderScript, "/*hat*/", KoLCharacter.getCurrentEquipmentName( KoLCharacter.HAT ) ); loaderScript = replaceTag( loaderScript, "/*weapon*/", KoLCharacter.getCurrentEquipmentName( KoLCharacter.WEAPON ) ); loaderScript = replaceTag( loaderScript, "/*offhand*/", KoLCharacter.getCurrentEquipmentName( KoLCharacter.OFFHAND ) ); loaderScript = replaceTag( loaderScript, "/*shirt*/", KoLCharacter.getCurrentEquipmentName( KoLCharacter.SHIRT ) ); loaderScript = replaceTag( loaderScript, "/*pants*/", KoLCharacter.getCurrentEquipmentName( KoLCharacter.PANTS ) ); // Change the player's accessories loaderScript = replaceTag( loaderScript, "/*accessory1*/", KoLCharacter.getCurrentEquipmentName( KoLCharacter.ACCESSORY1 ) ); loaderScript = replaceTag( loaderScript, "/*accessory2*/", KoLCharacter.getCurrentEquipmentName( KoLCharacter.ACCESSORY2 ) ); loaderScript = replaceTag( loaderScript, "/*accessory3*/", KoLCharacter.getCurrentEquipmentName( KoLCharacter.ACCESSORY3 ) ); // Load up the player's current skillset to figure // out what passive skills are available. UseSkillRequest [] skills = new UseSkillRequest[ KoLCharacter.getAvailableSkills().size() ]; KoLCharacter.getAvailableSkills().toArray( skills ); String passiveSkills = ""; for ( int i = 0; i < skills.length; ++i ) { int skillID = skills[i].getSkillID(); if ( !( ClassSkillsDatabase.getSkillType( skillID ) == ClassSkillsDatabase.PASSIVE && !(skillID < 10 || (skillID > 14 && skillID < 1000)) ) ) continue; passiveSkills += "\t"; if ( skillID < 1000 ) passiveSkills += "gnome"; else if ( skillID < 2000 ) passiveSkills += "scpassive"; else if ( skillID < 3000 ) passiveSkills += "ttpassive"; else if ( skillID < 4000 ) passiveSkills += "ppassive"; else if ( skillID < 5000 ) passiveSkills += "spassive"; else passiveSkills += "dbpassive"; passiveSkills += "." + skills[i].getSkillName().replaceAll( "[ -]", "" ).toLowerCase() + "\t"; } loaderScript = replaceTag( loaderScript, "/*passiveSkills*/", passiveSkills ); // Also load up the player's current active effects // and fill them into the buffs area. AdventureResult [] effects = new AdventureResult[ KoLCharacter.getEffects().size() ]; KoLCharacter.getEffects().toArray( effects ); String activeEffects = ""; for ( int i = 0; i < effects.length; ++i ) activeEffects += "\t" + UneffectRequest.effectToSkill( effects[i].getName() ).replaceAll( "[ -]", "" ).toLowerCase() + "\t"; loaderScript = replaceTag( loaderScript, "/*activeEffects*/", activeEffects ); if ( KoLCharacter.getInventory().contains( UseSkillRequest.ROCKNROLL_LEGEND ) ) loaderScript = replaceTag( loaderScript, "/*rockAndRoll*/", "true" ); else loaderScript = replaceTag( loaderScript, "/*rockAndRoll*/", "false" ); replyBuffer.insert( replyBuffer.indexOf( ";GoCalc()" ), ";loadKoLmafiaData()" ); replyBuffer.insert( replyBuffer.indexOf( "</html>" ), loaderScript.toString() ); return replyBuffer.toString(); }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/1e5aedab28b3c5837304265e2831a62ff8413e19/LocalRelayRequest.java/clean/src/net/sourceforge/kolmafia/LocalRelayRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 1640, 7993, 11775, 1016, 12, 6674, 4332, 1892, 262, 1216, 1860, 202, 95, 202, 202, 759, 1220, 353, 326, 4143, 22326, 1492, 848, 506, 3096, 202, 202, 759, 10056, 86, 10243, 358, 326, 679, 2887, 7999, 358, 5612, 202, 202, 759, 326, 6808, 3982, 18, 9506, 202, 780, 1892, 4088, 1892, 273, 394, 6674, 5621, 202, 202, 17947, 2514, 2949, 273, 1910, 11864, 18, 588, 2514, 12, 315, 2620, 19, 9812, 11775, 19, 3113, 315, 1615, 18, 2620, 18, 2924, 6, 11272, 202, 202, 780, 980, 273, 446, 31, 202, 202, 17523, 261, 261, 1369, 273, 2949, 18, 896, 1670, 10756, 480, 446, 262, 202, 202, 95, 1082, 202, 6714, 1892, 18, 6923, 12, 980, 11272, 1082, 202, 6714, 1892, 18, 6923, 12, 14340, 67, 27960, 11272, 6862, 202, 97, 202, 202, 10530, 18, 4412, 5621, 202, 202, 780, 4088, 3651, 273, 4088, 1892, 18, 10492, 5621, 202, 202, 474, 667, 1016, 273, 300, 21, 31, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1475, 83, 48, 81, 1727, 1155, 10793, 18, 27337, 18, 2469, 31, 965, 77, 262, 1082, 202, 430, 261, 1475, 83, 48, 81, 1727, 1155, 10793, 18, 27337, 63, 77, 8009, 14963, 5556, 12, 1475, 83, 48, 7069, 18, 588, 18328, 1435, 262, 262, 9506, 202, 1106, 1016, 273, 277, 31, 202, 202, 759, 7651, 26260, 434, 7291, 919, 1123, 9506, 202, 6714, 3651, 273, 1453, 1805, 12, 4088, 3651, 16, 2206, 14, 1106, 1016, 5549, 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, 514, 1640, 7993, 11775, 1016, 12, 6674, 4332, 1892, 262, 1216, 1860, 202, 95, 202, 202, 759, 1220, 353, 326, 4143, 22326, 1492, 848, 506, 3096, 202, 202, 759, 10056, 86, 10243, 358, 326, 679, 2887, 7999, 358, 5612, 202, 202, 759, 326, 6808, 3982, 18, 9506, 202, 780, 1892, 4088, 1892, 273, 394, 6674, 5621, 202, 202, 17947, 2514, 2949, 273, 1910, 11864, 18, 588, 2514, 12, 315, 2620, 19, 9812, 11775, 19, 3113, 315, 1615, 18, 2620, 18, 2924, 6, 11272, 202, 202, 780, 980, 273, 446, 31, 202, 202, 17523, 261, 261, 1369, 273, 2949, 18, 896, 1670, 10756, 480, 446, 262, 202, 202, 95, 1082, 202, 6714, 1892, 18, 6923, 12, 980, 2 ]
org.xhtmlrenderer.css.newmatch.CascadedStyle matched = _matcher.getCascadedStyle(elem);
org.xhtmlrenderer.css.newmatch.CascadedStyle matched = _matcher.matchElement(elem);
public void restyleTree( org.w3c.dom.Element elem ) { CalculatedStyle parent = null; // if this is the root, we will have no parent XRElement; otherwise // we will check to see if our parent was loaded. Since we expect to load // from root to leaves, we should always find a parent // this means, however, that root will have a null parent if ( elem.getOwnerDocument().getDocumentElement() == elem ) { _styleCache = new java.util.HashMap(); parent = new CurrentBoxStyle(_rect); } else { org.w3c.dom.Node pnode = elem.getParentNode(); if(pnode.getNodeType() == org.w3c.dom.Node.ELEMENT_NODE) parent = getCalculatedStyle( (org.w3c.dom.Element) pnode ); if ( parent == null ) { throw new RuntimeException( "Applying matches to elements, found an element with no mapped parent; can't continue." ); } } org.xhtmlrenderer.css.newmatch.CascadedStyle matched = _matcher.getCascadedStyle(elem); CalculatedStyle cs = null; StringBuffer sb = new StringBuffer(); sb.append(parent.hashCode()).append(":").append(matched.hashCode()); String fingerprint = sb.toString(); cs = (CalculatedStyle) _styleCache.get(fingerprint); if(cs == null) { cs = new CalculatedStyle(parent, matched); _styleCache.put(fingerprint, cs); } _styleMap.put( elem, cs ); //System.err.println(elem.getNodeName()+" "+cs); // apply rules from style attribute on element, if any // elementStyling is now responsibility of Matcher org.w3c.dom.NodeList nl = elem.getChildNodes(); for ( int i = 0, len = nl.getLength(); i < len; i++ ) { org.w3c.dom.Node n = nl.item( i ); if ( n.getNodeType() == org.w3c.dom.Node.ELEMENT_NODE ) { restyleTree( (org.w3c.dom.Element)n ); } } }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/8756fd35e9cd52c9d6dd01377122d574a0c48fc0/Styler.java/buggy/src/java/org/xhtmlrenderer/css/style/Styler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3127, 1362, 2471, 12, 2358, 18, 91, 23, 71, 18, 9859, 18, 1046, 3659, 262, 288, 5411, 15994, 690, 2885, 982, 273, 446, 31, 5411, 368, 309, 333, 353, 326, 1365, 16, 732, 903, 1240, 1158, 982, 1139, 862, 806, 31, 3541, 5411, 368, 732, 903, 866, 358, 2621, 309, 3134, 982, 1703, 4203, 18, 7897, 732, 4489, 358, 1262, 5411, 368, 628, 1365, 358, 15559, 16, 732, 1410, 3712, 1104, 279, 982, 5411, 368, 333, 4696, 16, 14025, 16, 716, 1365, 903, 1240, 279, 446, 982, 5411, 309, 261, 3659, 18, 588, 5541, 2519, 7675, 588, 2519, 1046, 1435, 422, 3659, 262, 288, 7734, 389, 4060, 1649, 273, 394, 2252, 18, 1367, 18, 8658, 5621, 7734, 982, 273, 394, 6562, 3514, 2885, 24899, 2607, 1769, 5411, 289, 469, 288, 7734, 2358, 18, 91, 23, 71, 18, 9859, 18, 907, 293, 2159, 273, 3659, 18, 588, 3054, 907, 5621, 7734, 309, 12, 84, 2159, 18, 588, 15101, 1435, 422, 2358, 18, 91, 23, 71, 18, 9859, 18, 907, 18, 10976, 67, 8744, 13, 982, 273, 22433, 1934, 690, 2885, 12, 261, 3341, 18, 91, 23, 71, 18, 9859, 18, 1046, 13, 293, 2159, 11272, 7734, 309, 261, 982, 422, 446, 262, 288, 10792, 604, 394, 3235, 12, 315, 7001, 310, 1885, 358, 2186, 16, 1392, 392, 930, 598, 1158, 5525, 982, 31, 848, 1404, 1324, 1199, 11272, 7734, 289, 5411, 289, 5411, 2358, 18, 26341, 14374, 18, 5212, 18, 2704, 1916, 18, 39, 3691, 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, 3127, 1362, 2471, 12, 2358, 18, 91, 23, 71, 18, 9859, 18, 1046, 3659, 262, 288, 5411, 15994, 690, 2885, 982, 273, 446, 31, 5411, 368, 309, 333, 353, 326, 1365, 16, 732, 903, 1240, 1158, 982, 1139, 862, 806, 31, 3541, 5411, 368, 732, 903, 866, 358, 2621, 309, 3134, 982, 1703, 4203, 18, 7897, 732, 4489, 358, 1262, 5411, 368, 628, 1365, 358, 15559, 16, 732, 1410, 3712, 1104, 279, 982, 5411, 368, 333, 4696, 16, 14025, 16, 716, 1365, 903, 1240, 279, 446, 982, 5411, 309, 261, 3659, 18, 588, 5541, 2519, 7675, 588, 2519, 1046, 1435, 422, 3659, 262, 288, 7734, 389, 4060, 1649, 273, 394, 2252, 18, 1367, 18, 8658, 5621, 2 ]
public org.quickfix.field.InstrRegistry getInstrRegistry() throws FieldNotFound { org.quickfix.field.InstrRegistry value = new org.quickfix.field.InstrRegistry();
public quickfix.field.InstrRegistry getInstrRegistry() throws FieldNotFound { quickfix.field.InstrRegistry value = new quickfix.field.InstrRegistry();
public org.quickfix.field.InstrRegistry getInstrRegistry() throws FieldNotFound { org.quickfix.field.InstrRegistry value = new org.quickfix.field.InstrRegistry(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ListStrikePrice.java/clean/src/java/src/quickfix/fix43/ListStrikePrice.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 7854, 701, 4243, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 7854, 701, 4243, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 382, 701, 4243, 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 ]
String sNodePath, ISubtaskSheet sheet )
String sNodePath, String sDisplayName, ISubtaskSheet sheet )
public DefaultRegisteredSubtaskEntryImpl( String sNodeIndex, String sNodePath, ISubtaskSheet sheet ) { try { this.sNodeIndex = Integer.valueOf( sNodeIndex ).toString( ); } catch ( NumberFormatException e ) { sNodeIndex = "100"; //$NON-NLS-1$ } this.sNodePath = sNodePath; this.sheetImpl = sheet; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/eef9946fb80818064375125db752512ee55f2f3f/DefaultRegisteredSubtaskEntryImpl.java/buggy/chart/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/swt/wizard/DefaultRegisteredSubtaskEntryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2989, 10868, 1676, 4146, 1622, 2828, 12, 514, 272, 907, 1016, 16, 1082, 202, 780, 272, 907, 743, 16, 467, 1676, 4146, 8229, 6202, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 2211, 18, 87, 907, 1016, 273, 2144, 18, 1132, 951, 12, 272, 907, 1016, 262, 18, 10492, 12, 11272, 202, 202, 97, 202, 202, 14683, 261, 12100, 425, 262, 202, 202, 95, 1082, 202, 87, 907, 1016, 273, 315, 6625, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 2211, 18, 87, 907, 743, 273, 272, 907, 743, 31, 202, 202, 2211, 18, 8118, 2828, 273, 6202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2989, 10868, 1676, 4146, 1622, 2828, 12, 514, 272, 907, 1016, 16, 1082, 202, 780, 272, 907, 743, 16, 467, 1676, 4146, 8229, 6202, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 2211, 18, 87, 907, 1016, 273, 2144, 18, 1132, 951, 12, 272, 907, 1016, 262, 18, 10492, 12, 11272, 202, 202, 97, 202, 202, 14683, 261, 12100, 425, 262, 202, 202, 95, 1082, 202, 87, 907, 1016, 273, 315, 6625, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 2211, 18, 87, 907, 743, 273, 272, 907, 743, 31, 202, 202, 2211, 18, 8118, 2828, 273, 6202, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100 ]
protected Expression binaryExpression(int type, AST node) { Token token = makeToken(type, node); AST leftNode = node.getFirstChild(); Expression leftExpression = expression(leftNode); AST rightNode = leftNode.getNextSibling(); if (rightNode == null) { return leftExpression; } if (Types.ofType(type, Types.ASSIGNMENT_OPERATOR)) { if (leftExpression instanceof VariableExpression || leftExpression instanceof PropertyExpression || leftExpression instanceof FieldExpression || leftExpression instanceof DeclarationExpression) { // Do nothing. } else if (leftExpression instanceof ConstantExpression) { throw new ASTRuntimeException(node, "\n[" + ((ConstantExpression) leftExpression).getValue() + "] is a constant expression, but it should be a variable expression"); } else if (leftExpression instanceof BinaryExpression) { Expression leftexp = ((BinaryExpression) leftExpression).getLeftExpression(); int lefttype = ((BinaryExpression) leftExpression).getOperation().getType(); if (!Types.ofType(lefttype, Types.ASSIGNMENT_OPERATOR) && lefttype != Types.LEFT_SQUARE_BRACKET) { throw new ASTRuntimeException(node, "\n" + ((BinaryExpression) leftExpression).getText() + " is a binary expression, but it should be a variable expression"); } } else if (leftExpression instanceof GStringExpression) { throw new ASTRuntimeException(node, "\n\"" + ((GStringExpression) leftExpression).getText() + "\" is a GString expression, but it should be a variable expression"); } else if (leftExpression instanceof MethodCallExpression) { throw new ASTRuntimeException(node, "\n\"" + ((MethodCallExpression) leftExpression).getText() + "\" is a method call expression, but it should be a variable expression"); } else if (leftExpression instanceof MapExpression) { throw new ASTRuntimeException(node, "\n'" + ((MapExpression) leftExpression).getText() + "' is a map expression, but it should be a variable expression"); } else { throw new ASTRuntimeException(node, "\n" + leftExpression.getClass() + ", with its value '" + leftExpression.getText() + "', is a bad expression as the LSH of an assignment operator"); } } /*if (rightNode == null) { throw new NullPointerException("No rightNode associated with binary expression"); }*/ Expression rightExpression = expression(rightNode); BinaryExpression binaryExpression = new BinaryExpression(leftExpression, token, rightExpression); configureAST(binaryExpression, node); return binaryExpression; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/e7321c087b7c0c500269e757fe8873ccef4be01f/AntlrParserPlugin.java/clean/src/main/org/codehaus/groovy/antlr/AntlrParserPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 2300, 8578, 2300, 12, 474, 723, 16, 9053, 2159, 15329, 20477, 319, 969, 33, 6540, 1345, 12, 723, 16, 2159, 1769, 9053, 4482, 907, 33, 2159, 18, 588, 3759, 1763, 5621, 2300, 4482, 2300, 33, 8692, 12, 4482, 907, 1769, 9053, 4083, 907, 33, 4482, 907, 18, 588, 2134, 10291, 5621, 430, 12, 4083, 907, 631, 2011, 15329, 2463, 4482, 2300, 31, 97, 430, 12, 2016, 18, 792, 559, 12, 723, 16, 2016, 18, 23289, 3212, 67, 26110, 3719, 95, 430, 12, 4482, 2300, 1336, 792, 3092, 2300, 20081, 4482, 2300, 1336, 792, 1396, 2300, 20081, 4482, 2300, 1336, 792, 974, 2300, 20081, 4482, 2300, 1336, 792, 6094, 2300, 15329, 759, 22293, 352, 4018, 18, 97, 12107, 430, 12, 4482, 2300, 1336, 792, 6902, 2300, 15329, 12849, 2704, 9053, 11949, 12, 2159, 10837, 64, 82, 9614, 15, 12443, 6902, 2300, 13, 4482, 2300, 2934, 24805, 1435, 9078, 65, 291, 69, 14384, 8692, 16, 12885, 305, 13139, 2196, 842, 297, 2214, 8692, 8863, 97, 12107, 430, 12, 4482, 2300, 1336, 792, 5905, 2300, 15329, 2300, 4482, 2749, 33, 12443, 5905, 2300, 13, 4482, 2300, 2934, 588, 3910, 2300, 5621, 474, 4482, 723, 33, 12443, 5905, 2300, 13, 4482, 2300, 2934, 588, 2988, 7675, 588, 559, 5621, 430, 12, 5, 2016, 18, 792, 559, 12, 4482, 723, 16, 2016, 18, 23289, 3212, 67, 26110, 13, 10, 10, 4482, 723, 5, 33, 2016, 18, 10066, 67, 19716, 67, 21217, 15329, 12849, 2704, 9053, 11949, 12, 2159, 10837, 64, 82, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 2300, 8578, 2300, 12, 474, 723, 16, 9053, 2159, 15329, 20477, 319, 969, 33, 6540, 1345, 12, 723, 16, 2159, 1769, 9053, 4482, 907, 33, 2159, 18, 588, 3759, 1763, 5621, 2300, 4482, 2300, 33, 8692, 12, 4482, 907, 1769, 9053, 4083, 907, 33, 4482, 907, 18, 588, 2134, 10291, 5621, 430, 12, 4083, 907, 631, 2011, 15329, 2463, 4482, 2300, 31, 97, 430, 12, 2016, 18, 792, 559, 12, 723, 16, 2016, 18, 23289, 3212, 67, 26110, 3719, 95, 430, 12, 4482, 2300, 1336, 792, 3092, 2300, 20081, 4482, 2300, 1336, 792, 1396, 2300, 20081, 4482, 2300, 1336, 792, 974, 2300, 20081, 4482, 2300, 1336, 792, 6094, 2300, 15329, 759, 22293, 352, 4018, 18, 97, 12107, 430, 2 ]
for (int i = 0;i < exporters.length;i++)
for (int i = 0; i < exporters.length; i++)
public IModule[] getAvailableExporters(R4Import pkg, boolean includeRemovalPending) { // Synchronized on the module manager to make sure that no // modules are added, removed, or resolved. synchronized (m_factory) { IModule[] exporters = getCompatibleExporters( (IModule[]) m_availPkgMap.get(pkg.getName()), pkg, includeRemovalPending); if ((exporters != null) && (System.getSecurityManager() != null)) { PackagePermission perm = new PackagePermission(pkg.getName(), PackagePermission.EXPORT); for (int i = 0;i < exporters.length;i++) { if (exporters[i] != null) { if (!((ProtectionDomain) exporters[i].getSecurityContext()).implies(perm)) { m_logger.log(Logger.LOG_DEBUG, "PackagePermission.EXPORT denied for " + pkg + "from " + exporters[i].getId()); exporters[i] = null; } } } exporters = shrinkModuleArray(exporters); } return exporters; } }
45948 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45948/5ebdb81cd2d6401c31d28ff6425bd9fd11e07775/R4SearchPolicyCore.java/clean/framework/src/main/java/org/apache/felix/framework/searchpolicy/R4SearchPolicyCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 3120, 8526, 15796, 22305, 87, 12, 54, 24, 5010, 3475, 16, 1250, 2341, 24543, 8579, 13, 565, 288, 3639, 368, 348, 15666, 603, 326, 1605, 3301, 358, 1221, 3071, 716, 1158, 3639, 368, 4381, 854, 3096, 16, 3723, 16, 578, 4640, 18, 3639, 3852, 261, 81, 67, 6848, 13, 3639, 288, 5411, 467, 3120, 8526, 16204, 87, 273, 336, 14599, 22305, 87, 12, 7734, 261, 45, 3120, 63, 5717, 312, 67, 842, 671, 11264, 863, 18, 588, 12, 10657, 18, 17994, 1435, 3631, 3475, 16, 2341, 24543, 8579, 1769, 5411, 309, 14015, 26444, 87, 480, 446, 13, 597, 261, 3163, 18, 588, 4368, 1318, 1435, 480, 446, 3719, 5411, 288, 7734, 7508, 5041, 4641, 273, 394, 7508, 5041, 12, 10657, 18, 17994, 9334, 10792, 7508, 5041, 18, 31275, 1769, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 16204, 87, 18, 2469, 31, 277, 27245, 7734, 288, 10792, 309, 261, 26444, 87, 63, 77, 65, 480, 446, 13, 10792, 288, 13491, 309, 16051, 12443, 16938, 3748, 13, 16204, 87, 63, 77, 8009, 588, 28646, 1435, 2934, 381, 5259, 12, 12160, 3719, 13491, 288, 18701, 312, 67, 4901, 18, 1330, 12, 3328, 18, 4842, 67, 9394, 16, 27573, 315, 2261, 5041, 18, 31275, 15338, 364, 315, 397, 3475, 397, 27573, 315, 2080, 315, 397, 16204, 87, 63, 77, 8009, 26321, 10663, 18701, 16204, 87, 63, 77, 65, 273, 446, 31, 13491, 289, 10792, 289, 7734, 289, 7734, 16204, 87, 273, 17697, 3120, 1076, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 3120, 8526, 15796, 22305, 87, 12, 54, 24, 5010, 3475, 16, 1250, 2341, 24543, 8579, 13, 565, 288, 3639, 368, 348, 15666, 603, 326, 1605, 3301, 358, 1221, 3071, 716, 1158, 3639, 368, 4381, 854, 3096, 16, 3723, 16, 578, 4640, 18, 3639, 3852, 261, 81, 67, 6848, 13, 3639, 288, 5411, 467, 3120, 8526, 16204, 87, 273, 336, 14599, 22305, 87, 12, 7734, 261, 45, 3120, 63, 5717, 312, 67, 842, 671, 11264, 863, 18, 588, 12, 10657, 18, 17994, 1435, 3631, 3475, 16, 2341, 24543, 8579, 1769, 5411, 309, 14015, 26444, 87, 480, 446, 13, 597, 261, 3163, 18, 588, 4368, 1318, 1435, 480, 446, 3719, 5411, 288, 7734, 7508, 5041, 4641, 273, 394, 2 ]
statement.setString(3, user.getStatus()); statement.setString(4, serialize(user.getRoles()));
statement.setString(4, user.getStatus()); statement.setString(5, serialize(user.getRoles())); statement.setString(6, user.getLogin());
private void storageStore(User user) { PreparedStatement statement = null; Connection connection = ConnectionManager.getConnection(); try { statement = connection.prepareStatement("UPDATE User SET login=?, passwd=?, email=?, status=?, roles=?"); statement.setString(1, user.getLogin()); statement.setString(2, user.getPasswd()); statement.setString(3, user.getEmail()); statement.setString(3, user.getStatus()); statement.setString(4, serialize(user.getRoles())); statement.execute(); } catch (SQLException e) { e.printStackTrace(); } finally { ConnectionManager.close(statement); ConnectionManager.close(connection); } return; }
6853 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6853/0e1bfd0c159f8d204c0ecfe9b1641f2d6f09b7d4/UserManager.java/clean/src/org/snipsnap/user/UserManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2502, 2257, 12, 1299, 729, 13, 288, 565, 16913, 3021, 273, 446, 31, 565, 4050, 1459, 273, 4050, 1318, 18, 588, 1952, 5621, 565, 775, 288, 1377, 3021, 273, 1459, 18, 9366, 3406, 2932, 8217, 2177, 7855, 3925, 17282, 16, 19093, 17282, 16, 2699, 17282, 16, 1267, 17282, 16, 4900, 25501, 1769, 1377, 3021, 18, 542, 780, 12, 21, 16, 729, 18, 588, 5358, 10663, 1377, 3021, 18, 542, 780, 12, 22, 16, 729, 18, 588, 6433, 3623, 10663, 1377, 3021, 18, 542, 780, 12, 23, 16, 729, 18, 588, 4134, 10663, 1377, 3021, 18, 542, 780, 12, 23, 16, 729, 18, 588, 1482, 10663, 1377, 3021, 18, 542, 780, 12, 24, 16, 4472, 12, 1355, 18, 588, 6898, 1435, 10019, 1377, 3021, 18, 8837, 5621, 565, 289, 1044, 261, 23116, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 565, 289, 3095, 288, 1377, 4050, 1318, 18, 4412, 12, 11516, 1769, 1377, 4050, 1318, 18, 4412, 12, 4071, 1769, 565, 289, 565, 327, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2502, 2257, 12, 1299, 729, 13, 288, 565, 16913, 3021, 273, 446, 31, 565, 4050, 1459, 273, 4050, 1318, 18, 588, 1952, 5621, 565, 775, 288, 1377, 3021, 273, 1459, 18, 9366, 3406, 2932, 8217, 2177, 7855, 3925, 17282, 16, 19093, 17282, 16, 2699, 17282, 16, 1267, 17282, 16, 4900, 25501, 1769, 1377, 3021, 18, 542, 780, 12, 21, 16, 729, 18, 588, 5358, 10663, 1377, 3021, 18, 542, 780, 12, 22, 16, 729, 18, 588, 6433, 3623, 10663, 1377, 3021, 18, 542, 780, 12, 23, 16, 729, 18, 588, 4134, 10663, 1377, 3021, 18, 542, 780, 12, 23, 16, 729, 18, 588, 1482, 10663, 1377, 3021, 18, 542, 780, 12, 24, 16, 4472, 12, 1355, 2 ]
if(peers[i].isConnected())
if(peers[i].isConnected()) try {
public void localBroadcast(Message msg) { PeerNode[] peers = connectedPeers; // avoid synchronization for(int i=0;i<peers.length;i++) { if(peers[i].isConnected()) peers[i].sendAsync(msg); } }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/db3bc8d8624526da4116ed2c6e8583678d958aa9/PeerManager.java/buggy/src/freenet/node/PeerManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1191, 15926, 12, 1079, 1234, 13, 288, 3639, 10669, 907, 8526, 10082, 273, 5840, 14858, 31, 368, 4543, 24488, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 30502, 18, 2469, 31, 77, 27245, 288, 5411, 309, 12, 30502, 63, 77, 8009, 291, 8932, 10756, 775, 288, 7734, 10082, 63, 77, 8009, 4661, 2771, 12, 3576, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1191, 15926, 12, 1079, 1234, 13, 288, 3639, 10669, 907, 8526, 10082, 273, 5840, 14858, 31, 368, 4543, 24488, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 30502, 18, 2469, 31, 77, 27245, 288, 5411, 309, 12, 30502, 63, 77, 8009, 291, 8932, 10756, 775, 288, 7734, 10082, 63, 77, 8009, 4661, 2771, 12, 3576, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(logMINOR) Logger.minor(this, "Already freed block "+offset+" ("+reason+")");
if(logMINOR) Logger.minor(this, "Already freed block "+offset+" ("+reason+ ')');
private void addFreeBlock(long offset, boolean loud, String reason) { if(freeBlocks.push(offset)) { if(loud) { System.err.println("Freed block "+offset+" ("+reason+")"); Logger.normal(this, "Freed block "+offset+" ("+reason+")"); } else { if(logMINOR) Logger.minor(this, "Freed block "+offset+" ("+reason+")"); } } else { if(logMINOR) Logger.minor(this, "Already freed block "+offset+" ("+reason+")"); } }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/62fd59041864b4ed1f43adc676de6bfb5ea977f3/BerkeleyDBFreenetStore.java/clean/src/freenet/store/BerkeleyDBFreenetStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 9194, 1768, 12, 5748, 1384, 16, 1250, 437, 1100, 16, 514, 3971, 13, 288, 565, 202, 202, 430, 12, 9156, 6450, 18, 6206, 12, 3348, 3719, 288, 565, 1082, 202, 430, 12, 2760, 13, 288, 565, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 42, 15656, 1203, 13773, 3348, 9078, 7566, 15, 10579, 9078, 2225, 1769, 565, 9506, 202, 3328, 18, 6130, 12, 2211, 16, 315, 42, 15656, 1203, 13773, 3348, 9078, 7566, 15, 10579, 9078, 2225, 1769, 565, 1082, 202, 97, 469, 288, 565, 9506, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 42, 15656, 1203, 13773, 3348, 9078, 7566, 15, 10579, 9078, 2225, 1769, 565, 1082, 202, 97, 565, 202, 202, 97, 469, 288, 565, 1082, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 9430, 28004, 1203, 13773, 3348, 9078, 7566, 15, 10579, 15, 5777, 1769, 565, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 9194, 1768, 12, 5748, 1384, 16, 1250, 437, 1100, 16, 514, 3971, 13, 288, 565, 202, 202, 430, 12, 9156, 6450, 18, 6206, 12, 3348, 3719, 288, 565, 1082, 202, 430, 12, 2760, 13, 288, 565, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 42, 15656, 1203, 13773, 3348, 9078, 7566, 15, 10579, 9078, 2225, 1769, 565, 9506, 202, 3328, 18, 6130, 12, 2211, 16, 315, 42, 15656, 1203, 13773, 3348, 9078, 7566, 15, 10579, 9078, 2225, 1769, 565, 1082, 202, 97, 469, 288, 565, 9506, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 42, 15656, 1203, 13773, 3348, 9078, 7566, 15, 10579, 9078, 2225, 1769, 565, 1082, 2 ]
return null;
return this;
public AccessibleValue getAccessibleValue() throws NotImplementedException { return null; // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8a78b0a127a68dcc6823fee2b8bdb1cbb7ec268d/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5016, 1523, 620, 336, 10451, 620, 1435, 1377, 1216, 10051, 503, 565, 288, 1377, 327, 333, 31, 368, 2660, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 5016, 1523, 620, 336, 10451, 620, 1435, 1377, 1216, 10051, 503, 565, 288, 1377, 327, 333, 31, 368, 2660, 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 ]
break;
break;
private void postProcessListeners( Resource resource, File source, int requestType ) throws TransferFailedException { byte[] buffer = new byte[ DEFAULT_BUFFER_SIZE ]; TransferEvent transferEvent = new TransferEvent( this, resource , TransferEvent.TRANSFER_PROGRESS, requestType ); try { InputStream input = new FileInputStream( source ); while ( true ) { int n = input.read( buffer ) ; if ( n == -1 ) { break; } fireTransferProgress( transferEvent, buffer, n ); } } catch ( IOException e ) { throw new TransferFailedException( "Failed to post-process the source file", e ); } }
51920 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51920/adac94612140da14b889061c18fedb69a0796bbf/ScpExternalWagon.java/buggy/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1603, 2227, 5583, 12, 2591, 1058, 16, 1387, 1084, 16, 509, 27179, 262, 3639, 1216, 12279, 12417, 565, 288, 3639, 1160, 8526, 1613, 273, 394, 1160, 63, 3331, 67, 11302, 67, 4574, 308, 31, 3639, 12279, 1133, 7412, 1133, 273, 394, 12279, 1133, 12, 333, 16, 1058, 269, 12279, 1133, 18, 16596, 6553, 67, 24022, 16, 27179, 11272, 3639, 775, 3639, 288, 5411, 5037, 810, 273, 394, 11907, 12, 1084, 11272, 5411, 1323, 261, 638, 262, 5411, 288, 7734, 509, 290, 273, 810, 18, 896, 12, 1613, 262, 274, 7734, 309, 261, 290, 422, 300, 21, 262, 7734, 288, 10402, 898, 31, 7734, 289, 7734, 4452, 5912, 5491, 12, 7412, 1133, 16, 1613, 16, 290, 11272, 5411, 289, 3639, 289, 3639, 1044, 261, 1860, 425, 262, 3639, 288, 5411, 604, 394, 12279, 12417, 12, 315, 2925, 358, 1603, 17, 2567, 326, 1084, 585, 3113, 425, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1603, 2227, 5583, 12, 2591, 1058, 16, 1387, 1084, 16, 509, 27179, 262, 3639, 1216, 12279, 12417, 565, 288, 3639, 1160, 8526, 1613, 273, 394, 1160, 63, 3331, 67, 11302, 67, 4574, 308, 31, 3639, 12279, 1133, 7412, 1133, 273, 394, 12279, 1133, 12, 333, 16, 1058, 269, 12279, 1133, 18, 16596, 6553, 67, 24022, 16, 27179, 11272, 3639, 775, 3639, 288, 5411, 5037, 810, 273, 394, 11907, 12, 1084, 11272, 5411, 1323, 261, 638, 262, 5411, 288, 7734, 509, 290, 273, 810, 18, 896, 12, 1613, 262, 274, 7734, 309, 261, 290, 422, 300, 21, 262, 7734, 288, 10402, 898, 31, 7734, 289, 7734, 4452, 5912, 5491, 12, 7412, 1133, 16, 1613, 16, 290, 11272, 2 ]
JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) {
JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) {
public void clearBlocked() { JobInfo info = getJobInfo(job); info.setBlockedStatus(null); refreshJobInfo(info); if (listener != null) { listener.clearBlocked(); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9f68fc05c49b144eebae1957b15f8f3671c54cac/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2424, 23722, 1435, 288, 5411, 3956, 966, 1123, 273, 13024, 966, 12, 4688, 1769, 5411, 1123, 18, 542, 23722, 1482, 12, 2011, 1769, 5411, 4460, 2278, 966, 12, 1376, 1769, 5411, 309, 261, 12757, 480, 446, 13, 288, 9506, 202, 12757, 18, 8507, 23722, 5621, 1082, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2424, 23722, 1435, 288, 5411, 3956, 966, 1123, 273, 13024, 966, 12, 4688, 1769, 5411, 1123, 18, 542, 23722, 1482, 12, 2011, 1769, 5411, 4460, 2278, 966, 12, 1376, 1769, 5411, 309, 261, 12757, 480, 446, 13, 288, 9506, 202, 12757, 18, 8507, 23722, 5621, 1082, 202, 97, 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 ]
byte[] bytes = streamToByteArray(valueAndData, true);
byte[] bytes = streamToByteArray(valueAndData);
public ISVNProperty propertyGet(File path, String propertyName) throws SVNClientException { try { InputStream valueAndData = _cmd.propget(toString(path), propertyName); byte[] bytes = streamToByteArray(valueAndData, true); if (bytes.length == 0) { return null; // the property does not exist } String value = new String(bytes).trim(); return new CmdLineProperty(propertyName, value, path, bytes); } catch (CmdLineException e) { throw SVNClientException.wrapException(e); } catch (IOException e) { throw SVNClientException.wrapException(e); } }
6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/018df8c10bdb8f1bb9018622a01d8d66d38423e5/CmdLineClientAdapter.java/clean/svnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/commandline/CmdLineClientAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4437, 58, 50, 1396, 1272, 967, 12, 812, 589, 16, 514, 5470, 13, 1216, 29537, 50, 3781, 288, 202, 202, 698, 288, 1082, 202, 4348, 460, 1876, 751, 273, 389, 4172, 18, 5986, 588, 12, 10492, 12, 803, 3631, 5470, 1769, 2398, 1082, 202, 7229, 8526, 1731, 273, 1407, 774, 8826, 12, 1132, 1876, 751, 1769, 5411, 309, 261, 3890, 18, 2469, 422, 374, 13, 288, 7734, 327, 446, 31, 368, 326, 1272, 1552, 486, 1005, 5411, 289, 2398, 1082, 202, 780, 460, 273, 394, 514, 12, 3890, 2934, 5290, 5621, 1082, 202, 2463, 394, 13328, 1670, 1396, 12, 4468, 461, 16, 460, 16, 589, 16, 1731, 1769, 202, 202, 97, 1044, 261, 5931, 1670, 503, 425, 13, 288, 1082, 202, 12849, 29537, 50, 3781, 18, 4113, 503, 12, 73, 1769, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 12849, 29537, 50, 3781, 18, 4113, 503, 12, 73, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4437, 58, 50, 1396, 1272, 967, 12, 812, 589, 16, 514, 5470, 13, 1216, 29537, 50, 3781, 288, 202, 202, 698, 288, 1082, 202, 4348, 460, 1876, 751, 273, 389, 4172, 18, 5986, 588, 12, 10492, 12, 803, 3631, 5470, 1769, 2398, 1082, 202, 7229, 8526, 1731, 273, 1407, 774, 8826, 12, 1132, 1876, 751, 1769, 5411, 309, 261, 3890, 18, 2469, 422, 374, 13, 288, 7734, 327, 446, 31, 368, 326, 1272, 1552, 486, 1005, 5411, 289, 2398, 1082, 202, 780, 460, 273, 394, 514, 12, 3890, 2934, 5290, 5621, 1082, 202, 2463, 394, 13328, 1670, 1396, 12, 4468, 461, 16, 460, 16, 589, 16, 1731, 1769, 202, 202, 97, 1044, 261, 5931, 1670, 503, 2 ]
dlConfig = (DigilibConfiguration) context.getAttribute( "digilib.servlet.configuration");
dlConfig = (DigilibConfiguration) context .getAttribute("digilib.servlet.configuration");
public void setConfig(ServletConfig conf) throws ServletException { logger.debug("setConfig"); // get our ServletContext ServletContext context = conf.getServletContext(); // see if there is a Configuration instance dlConfig = (DigilibConfiguration) context.getAttribute( "digilib.servlet.configuration"); if (dlConfig == null) { // create new Configuration try { dlConfig = new DigilibConfiguration(conf); context.setAttribute("digilib.servlet.configuration", dlConfig); } catch (Exception e) { throw new ServletException(e); } } // get cache dirCache = (DocuDirCache) dlConfig.getValue("servlet.dir.cache"); /* * authentication */ useAuthentication = dlConfig.getAsBoolean("use-authorization"); authOp = (AuthOps) dlConfig.getValue("servlet.auth.op"); authURLPath = dlConfig.getAsString("auth-url-path"); if (useAuthentication && (authOp == null)) { throw new ServletException("ERROR: use-authorization configured but no AuthOp!"); } }
53488 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53488/92fdcdce856c663709334a34a746cf11cab2e5c7/DocumentBean.java/clean/servlet/src/digilib/servlet/DocumentBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15517, 12, 4745, 809, 2195, 13, 1216, 16517, 288, 202, 202, 4901, 18, 4148, 2932, 542, 809, 8863, 202, 202, 759, 336, 3134, 22717, 202, 202, 4745, 1042, 819, 273, 2195, 18, 588, 4745, 1042, 5621, 202, 202, 759, 2621, 309, 1915, 353, 279, 4659, 791, 202, 202, 5761, 809, 273, 1082, 202, 12, 4907, 330, 495, 1750, 13, 819, 18, 588, 1499, 12, 9506, 202, 6, 5606, 330, 495, 18, 23231, 18, 7025, 8863, 202, 202, 430, 261, 5761, 809, 422, 446, 13, 288, 1082, 202, 759, 752, 394, 4659, 1082, 202, 698, 288, 9506, 202, 5761, 809, 273, 394, 11678, 330, 495, 1750, 12, 3923, 1769, 9506, 202, 2472, 18, 542, 1499, 2932, 5606, 330, 495, 18, 23231, 18, 7025, 3113, 8910, 809, 1769, 1082, 202, 97, 1044, 261, 503, 425, 13, 288, 9506, 202, 12849, 394, 16517, 12, 73, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 336, 1247, 202, 202, 1214, 1649, 273, 261, 1759, 89, 1621, 1649, 13, 8910, 809, 18, 24805, 2932, 23231, 18, 1214, 18, 2493, 8863, 202, 202, 20308, 1082, 380, 225, 5107, 1082, 1195, 202, 202, 1202, 6492, 273, 8910, 809, 18, 588, 1463, 5507, 2932, 1202, 17, 12218, 8863, 202, 202, 1944, 3817, 273, 261, 1730, 8132, 13, 8910, 809, 18, 24805, 2932, 23231, 18, 1944, 18, 556, 8863, 202, 202, 1944, 1785, 743, 273, 8910, 809, 18, 588, 8092, 2932, 1944, 17, 718, 17, 803, 8863, 202, 202, 430, 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, 482, 918, 15517, 12, 4745, 809, 2195, 13, 1216, 16517, 288, 202, 202, 4901, 18, 4148, 2932, 542, 809, 8863, 202, 202, 759, 336, 3134, 22717, 202, 202, 4745, 1042, 819, 273, 2195, 18, 588, 4745, 1042, 5621, 202, 202, 759, 2621, 309, 1915, 353, 279, 4659, 791, 202, 202, 5761, 809, 273, 1082, 202, 12, 4907, 330, 495, 1750, 13, 819, 18, 588, 1499, 12, 9506, 202, 6, 5606, 330, 495, 18, 23231, 18, 7025, 8863, 202, 202, 430, 261, 5761, 809, 422, 446, 13, 288, 1082, 202, 759, 752, 394, 4659, 1082, 202, 698, 288, 9506, 202, 5761, 809, 273, 394, 11678, 330, 495, 1750, 12, 3923, 1769, 9506, 202, 2472, 18, 542, 1499, 2932, 2 ]
/* * Deviate from ECMA to imitate Perl, which omits a final * split unless a limit argument is given and big enough. */
/* * Deviate from ECMA to imitate Perl, which omits a final * split unless a limit argument is given and big enough. */
public static Object jsFunction_split(Context cx, Scriptable thisObj, Object[] args, Function funObj) { String target = ScriptRuntime.toString(thisObj); // create an empty Array to return; Scriptable scope = getTopLevelScope(funObj); Scriptable result = ScriptRuntime.newObject(cx, scope, "Array", null); // return an array consisting of the target if no separator given // don't check against undefined, because we want // 'fooundefinedbar'.split(void 0) to split to ['foo', 'bar'] if (args.length < 1) { result.put(0, result, target); return result; } // Use the second argument as the split limit, if given. boolean limited = (args.length > 1) && (args[1] != Undefined.instance); long limit = 0; // Initialize to avoid warning. if (limited) { /* Clamp limit between 0 and 1 + string length. */ limit = ScriptRuntime.toUint32(args[1]); if (limit > target.length()) limit = 1 + target.length(); } String separator = null; int[] matchlen = { 0 }; Object re = null; RegExpProxy reProxy = cx.getRegExpProxy(); if (reProxy != null && reProxy.isRegExp(args[0])) { re = args[0]; } else { separator = ScriptRuntime.toString(args[0]); matchlen[0] = separator.length(); } // split target with separator or re int[] ip = { 0 }; int match; int len = 0; boolean[] matched = { false }; String[][] parens = { null }; while ((match = find_split(funObj, target, separator, re, ip, matchlen, matched, parens)) >= 0) { if ((limited && len >= limit) || (match > target.length())) break; String substr; if (target.length() == 0) substr = target; else substr = target.substring(ip[0], match); result.put(len, result, substr); len++; /* * Imitate perl's feature of including parenthesized substrings * that matched part of the delimiter in the new array, after the * split substring that was delimited. */ if (re != null && matched[0] == true) { int size = parens[0].length; for (int num = 0; num < size; num++) { if (limited && len >= limit) break; result.put(len, result, parens[0][num]); len++; } matched[0] = false; } ip[0] = match + matchlen[0]; if (cx.getLanguageVersion() < Context.VERSION_1_3 && cx.getLanguageVersion() != Context.VERSION_DEFAULT) { /* * Deviate from ECMA to imitate Perl, which omits a final * split unless a limit argument is given and big enough. */ if (!limited && ip[0] == target.length()) break; } } return result; }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/b631b3e8574543a4d24a0048cc710f305deb8ff5/NativeString.java/buggy/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 4939, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 1850, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 514, 1018, 273, 7739, 5576, 18, 10492, 12, 2211, 2675, 1769, 3639, 368, 752, 392, 1008, 1510, 358, 327, 31, 3639, 22780, 2146, 273, 13729, 2355, 3876, 12, 12125, 2675, 1769, 3639, 22780, 563, 273, 7739, 5576, 18, 2704, 921, 12, 71, 92, 16, 2146, 16, 315, 1076, 3113, 446, 1769, 3639, 368, 327, 392, 526, 23570, 434, 326, 1018, 309, 1158, 4182, 864, 3639, 368, 2727, 1404, 866, 5314, 3109, 16, 2724, 732, 2545, 3639, 368, 296, 617, 465, 2178, 3215, 10332, 4939, 12, 6459, 374, 13, 358, 1416, 358, 10228, 11351, 2187, 296, 3215, 3546, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, 5411, 563, 18, 458, 12, 20, 16, 563, 16, 1018, 1769, 5411, 327, 563, 31, 3639, 289, 3639, 368, 2672, 326, 2205, 1237, 487, 326, 1416, 1800, 16, 309, 864, 18, 3639, 1250, 13594, 273, 261, 1968, 18, 2469, 405, 404, 13, 597, 261, 1968, 63, 21, 65, 480, 22243, 18, 1336, 1769, 3639, 1525, 1800, 273, 374, 31, 225, 368, 9190, 358, 4543, 3436, 18, 3639, 309, 261, 21325, 13, 288, 5411, 1748, 3905, 931, 1800, 3086, 374, 471, 404, 397, 533, 769, 18, 1195, 5411, 1800, 273, 7739, 5576, 18, 869, 5487, 1578, 12, 1968, 63, 21, 19226, 5411, 309, 261, 3595, 405, 1018, 18, 2469, 10756, 7734, 1800, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 4939, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 1850, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 514, 1018, 273, 7739, 5576, 18, 10492, 12, 2211, 2675, 1769, 3639, 368, 752, 392, 1008, 1510, 358, 327, 31, 3639, 22780, 2146, 273, 13729, 2355, 3876, 12, 12125, 2675, 1769, 3639, 22780, 563, 273, 7739, 5576, 18, 2704, 921, 12, 71, 92, 16, 2146, 16, 315, 1076, 3113, 446, 1769, 3639, 368, 327, 392, 526, 23570, 434, 326, 1018, 309, 1158, 4182, 864, 3639, 368, 2727, 1404, 866, 5314, 3109, 16, 2724, 732, 2545, 3639, 368, 296, 617, 465, 2178, 3215, 10332, 4939, 12, 6459, 374, 13, 358, 1416, 358, 2 ]
public void restartButtonActionPerformed() {
private void restartButtonActionPerformed() {
public void restartButtonActionPerformed() { windowManager.getManager().getBattleManager().restart(); }
50663 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50663/ef287448b241a2131ea8102c0a9532d262ba2b6a/RobocodeFrame.java/buggy/robocode/robocode/dialog/RobocodeFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7870, 3616, 19449, 1435, 288, 202, 202, 5668, 1318, 18, 588, 1318, 7675, 588, 38, 4558, 298, 1318, 7675, 19164, 5621, 225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7870, 3616, 19449, 1435, 288, 202, 202, 5668, 1318, 18, 588, 1318, 7675, 588, 38, 4558, 298, 1318, 7675, 19164, 5621, 225, 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 ]
previewTextBox.setText( "" );
previewTextBox.setText( defaultDateTime );
private void createCustomPreviewPart( Composite parent ) { Group group = new Group( parent, SWT.NONE ); group.setText( LABEL_PREVIEW_GROUP ); //$NON-NLS-1$ if ( pageAlignment == PAGE_ALIGN_HORIZONTAL ) { group.setLayoutData( new GridData( GridData.FILL_BOTH ) ); group.setLayout( new GridLayout( 1, false ) ); } else { group.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); group.setLayout( new GridLayout( 2, false ) ); } new Label( group, SWT.NONE ).setText( LABEL_PREVIEW_DATETIME ); //$NON-NLS-1$ previewTextBox = new Text( group, SWT.SINGLE | SWT.BORDER ); previewTextBox.setText( "" ); //$NON-NLS-1$ GridData data = new GridData( GridData.FILL_HORIZONTAL ); if ( pageAlignment == PAGE_ALIGN_HORIZONTAL ) { data.horizontalIndent = 10; } previewTextBox.setLayoutData( data ); previewTextBox.addModifyListener( new ModifyListener( ) { public void modifyText( ModifyEvent e ) { setDefaultPreviewText( previewTextBox.getText( ) ); if ( hasLoaded ) { updatePreview( ); } if ( StringUtil.isBlank( previewTextBox.getText( ) ) ) { guideLabel.setText( "" ); //$NON-NLS-1$ } else { guideLabel.setText( ENTER_DATE_TIME_GUIDE_TEXT ); } } } ); if ( pageAlignment == PAGE_ALIGN_VIRTICAL ) { new Label( group, SWT.NONE ); } guideLabel = new Label( group, SWT.NONE ); guideLabel.setText( "" ); //$NON-NLS-1$ Font font = JFaceResources.getDialogFont( ); FontData fData = font.getFontData( )[0]; fData.setHeight( fData.getHeight( ) - 1 ); guideLabel.setFont( new Font( Display.getCurrent( ), fData ) ); data = new GridData( GridData.FILL_HORIZONTAL ); data.horizontalIndent = 10; guideLabel.setLayoutData( data ); Label label = new Label( group, SWT.NONE ); label.setText( LABEL_PREVIEW_LABEL ); //$NON-NLS-1$ label.setLayoutData( new GridData( ) ); cusPreviewLabel = new Label( group, SWT.CENTER | SWT.HORIZONTAL | SWT.VIRTUAL ); cusPreviewLabel.setText( "" ); //$NON-NLS-1$ data = new GridData( GridData.FILL_BOTH ); data.horizontalSpan = 1; cusPreviewLabel.setLayoutData( data ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/0ad7b33e8711645b0c24fbc44cb60949bea41294/FormatDateTimePage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatDateTimePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 3802, 11124, 1988, 12, 14728, 982, 262, 202, 95, 202, 202, 1114, 1041, 273, 394, 3756, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1655, 18, 542, 1528, 12, 18210, 67, 3670, 12145, 67, 8468, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 430, 261, 1363, 11535, 422, 11549, 67, 26439, 67, 44, 20344, 262, 202, 202, 95, 1082, 202, 1655, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 1082, 202, 1655, 18, 542, 3744, 12, 394, 7145, 3744, 12, 404, 16, 629, 262, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 1655, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 1082, 202, 1655, 18, 542, 3744, 12, 394, 7145, 3744, 12, 576, 16, 629, 262, 11272, 202, 202, 97, 202, 202, 2704, 5287, 12, 1041, 16, 348, 8588, 18, 9826, 262, 18, 542, 1528, 12, 18210, 67, 3670, 12145, 67, 22968, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 12102, 1528, 3514, 273, 394, 3867, 12, 1041, 16, 348, 8588, 18, 20184, 571, 348, 8588, 18, 38, 7954, 11272, 202, 202, 12102, 1528, 3514, 18, 542, 1528, 12, 805, 5096, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 11272, 202, 202, 430, 261, 1363, 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, 752, 3802, 11124, 1988, 12, 14728, 982, 262, 202, 95, 202, 202, 1114, 1041, 273, 394, 3756, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1655, 18, 542, 1528, 12, 18210, 67, 3670, 12145, 67, 8468, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 430, 261, 1363, 11535, 422, 11549, 67, 26439, 67, 44, 20344, 262, 202, 202, 95, 1082, 202, 1655, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 1082, 202, 1655, 18, 542, 3744, 12, 394, 7145, 3744, 12, 404, 16, 629, 262, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 1655, 18, 542, 3744, 2 ]
Map env = createEnvVarMap();
Map env = createEnvVarMap(false);
private Map<String,SvnInfo> buildRevisionMap(FilePath workspace, TaskListener listener) throws IOException { PrintStream logger = listener.getLogger(); Map<String/*module name*/,SvnInfo> revisions = new HashMap<String,SvnInfo>(); Map env = createEnvVarMap(); // invoke the "svn info" for( String module : getModuleDirNames() ) { // parse the output SvnInfo info = SvnInfo.parse(module,env,workspace,listener); revisions.put(module,info); logger.println("Revision:"+info.revision); } return revisions; }
56266 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56266/68575dd13ca048ccab5d89c0cc258e8dde886aa6/SubversionSCM.java/buggy/hudson/src/hudson/scm/SubversionSCM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1635, 32, 780, 16, 55, 25031, 966, 34, 1361, 7939, 863, 12, 5598, 6003, 16, 3837, 2223, 2991, 13, 1216, 1860, 288, 3639, 21677, 1194, 273, 2991, 18, 588, 3328, 5621, 3639, 1635, 32, 780, 20308, 2978, 508, 5549, 16, 55, 25031, 966, 34, 18325, 273, 394, 4317, 32, 780, 16, 55, 25031, 966, 34, 5621, 3639, 1635, 1550, 273, 752, 3491, 1537, 863, 12, 5743, 1769, 3639, 368, 4356, 326, 315, 31505, 1123, 6, 3639, 364, 12, 514, 1605, 294, 11251, 1621, 1557, 1435, 262, 288, 5411, 368, 1109, 326, 876, 5411, 348, 25031, 966, 1123, 273, 348, 25031, 966, 18, 2670, 12, 2978, 16, 3074, 16, 14915, 16, 12757, 1769, 5411, 18325, 18, 458, 12, 2978, 16, 1376, 1769, 5411, 1194, 18, 8222, 2932, 7939, 2773, 15, 1376, 18, 13057, 1769, 3639, 289, 3639, 327, 18325, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1635, 32, 780, 16, 55, 25031, 966, 34, 1361, 7939, 863, 12, 5598, 6003, 16, 3837, 2223, 2991, 13, 1216, 1860, 288, 3639, 21677, 1194, 273, 2991, 18, 588, 3328, 5621, 3639, 1635, 32, 780, 20308, 2978, 508, 5549, 16, 55, 25031, 966, 34, 18325, 273, 394, 4317, 32, 780, 16, 55, 25031, 966, 34, 5621, 3639, 1635, 1550, 273, 752, 3491, 1537, 863, 12, 5743, 1769, 3639, 368, 4356, 326, 315, 31505, 1123, 6, 3639, 364, 12, 514, 1605, 294, 11251, 1621, 1557, 1435, 262, 288, 5411, 368, 1109, 326, 876, 5411, 348, 25031, 966, 1123, 273, 348, 25031, 966, 18, 2670, 12, 2978, 16, 3074, 16, 14915, 16, 12757, 1769, 5411, 18325, 18, 458, 12, 2 ]
public boolean storeCRL(Admin admin, Collection publisherids, byte[] incrl, String cafp, int number){ Iterator iter = publisherids.iterator(); boolean returnval = true; while(iter.hasNext()){ Integer id = (Integer) iter.next(); try{ PublisherDataLocal pdl = publisherhome.findByPrimaryKey(id); try{ returnval &= pdl.getPublisher().storeCRL(admin,incrl,cafp,number); getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_STORECRL, "Publisher CLR successfully to publisher " + pdl.getName() +"."); }catch(PublisherException pe){ getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_STORECRL, "Error when publishing CRL to " + pdl.getName() + " : " + pe.getMessage());
public boolean storeCRL(Admin admin, Collection publisherids, byte[] incrl, String cafp, int number) { Iterator iter = publisherids.iterator(); boolean returnval = true; while (iter.hasNext()) { Integer id = (Integer) iter.next(); try { PublisherDataLocal pdl = publisherhome.findByPrimaryKey(id); try { returnval &= pdl.getPublisher().storeCRL(admin, incrl, cafp, number); getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_STORECRL, "Publisher CLR successfully to publisher " + pdl.getName() + "."); } catch (PublisherException pe) { getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_STORECRL, "Error when publishing CRL to " + pdl.getName() + " : " + pe.getMessage());
public boolean storeCRL(Admin admin, Collection publisherids, byte[] incrl, String cafp, int number){ Iterator iter = publisherids.iterator(); boolean returnval = true; while(iter.hasNext()){ Integer id = (Integer) iter.next(); try{ PublisherDataLocal pdl = publisherhome.findByPrimaryKey(id); try{ returnval &= pdl.getPublisher().storeCRL(admin,incrl,cafp,number); getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_STORECRL, "Publisher CLR successfully to publisher " + pdl.getName() +"."); }catch(PublisherException pe){ getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_STORECRL, "Error when publishing CRL to " + pdl.getName() + " : " + pe.getMessage()); } }catch(FinderException fe){ getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_STORECRL, "Publisher with id " + id + " doesn't exist."); } } return returnval; }
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/6ecbb69c2d6c05971a443e2ffb0e34da367ea460/LocalPublisherSessionBean.java/buggy/src/java/se/anatom/ejbca/ca/publisher/LocalPublisherSessionBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1707, 29524, 12, 4446, 3981, 16, 2200, 12855, 2232, 16, 1160, 8526, 7290, 1321, 16, 514, 276, 1727, 84, 16, 509, 1300, 15329, 1377, 4498, 1400, 273, 12855, 2232, 18, 9838, 5621, 1377, 1250, 327, 1125, 273, 638, 31, 1377, 1323, 12, 2165, 18, 5332, 2134, 10756, 95, 3639, 2144, 612, 273, 261, 4522, 13, 1400, 18, 4285, 5621, 3639, 775, 95, 1850, 21932, 751, 2042, 4863, 80, 273, 12855, 8712, 18, 4720, 858, 11575, 12, 350, 1769, 1850, 775, 95, 1850, 327, 1125, 12058, 4863, 80, 18, 588, 15960, 7675, 2233, 29524, 12, 3666, 16, 9523, 1321, 16, 71, 1727, 84, 16, 2696, 1769, 1850, 9189, 2157, 7675, 1330, 12, 3666, 16, 3981, 18, 588, 3587, 548, 9334, 30039, 18, 12194, 67, 3587, 16, 394, 2252, 18, 1367, 18, 1626, 9334, 446, 16, 13491, 446, 16, 30039, 18, 10454, 67, 5923, 67, 13651, 29524, 16, 13491, 315, 15960, 14934, 54, 4985, 358, 12855, 315, 397, 4863, 80, 18, 17994, 1435, 397, 6, 1199, 1769, 1850, 289, 14683, 12, 15960, 503, 2804, 15329, 540, 202, 588, 1343, 2157, 7675, 1330, 12, 3666, 16, 3981, 18, 588, 3587, 548, 9334, 30039, 18, 12194, 67, 3587, 16, 394, 2252, 18, 1367, 18, 1626, 9334, 446, 16, 446, 16, 540, 1082, 202, 25548, 18, 10454, 67, 3589, 67, 13651, 29524, 16, 315, 668, 1347, 23636, 26526, 358, 315, 397, 4863, 80, 18, 17994, 1435, 397, 315, 294, 315, 397, 2804, 18, 24906, 10663, 1850, 289, 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, 1250, 1707, 29524, 12, 4446, 3981, 16, 2200, 12855, 2232, 16, 1160, 8526, 7290, 1321, 16, 514, 276, 1727, 84, 16, 509, 1300, 15329, 1377, 4498, 1400, 273, 12855, 2232, 18, 9838, 5621, 1377, 1250, 327, 1125, 273, 638, 31, 1377, 1323, 12, 2165, 18, 5332, 2134, 10756, 95, 3639, 2144, 612, 273, 261, 4522, 13, 1400, 18, 4285, 5621, 3639, 775, 95, 1850, 21932, 751, 2042, 4863, 80, 273, 12855, 8712, 18, 4720, 858, 11575, 12, 350, 1769, 1850, 775, 95, 1850, 327, 1125, 12058, 4863, 80, 18, 588, 15960, 7675, 2233, 29524, 12, 3666, 16, 9523, 1321, 16, 71, 1727, 84, 16, 2696, 1769, 1850, 9189, 2157, 7675, 1330, 12, 3666, 16, 3981, 18, 588, 2 ]
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { // We ensure that we have a FCP server running if(!fcp.enabled){ this.writeReply(ctx, 400, "text/plain", "FCP server is missing", "You need to enable the FCP server to access this page"); return; } StringBuffer buf = new StringBuffer(2048); // First, get the queued requests, and separate them into different types. LinkedList completedDownloadToDisk = new LinkedList(); LinkedList completedDownloadToTemp = new LinkedList(); LinkedList completedUpload = new LinkedList(); LinkedList completedDirUpload = new LinkedList(); LinkedList failedDownload = new LinkedList(); LinkedList failedUpload = new LinkedList(); LinkedList failedDirUpload = new LinkedList(); LinkedList uncompletedDownload = new LinkedList(); LinkedList uncompletedUpload = new LinkedList(); LinkedList uncompletedDirUpload = new LinkedList(); ClientRequest[] reqs = fcp.getGlobalRequests(); Logger.minor(this, "Request count: "+reqs.length); if(reqs.length < 1){ ctx.getPageMaker().makeHead(buf, "Global Queue"); buf.append("<div class=\"infobox infobox-information\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Global queue is empty!\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("There is no task queued on the global queue at the moment.\n"); buf.append("</form>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); writeReply(ctx, 200, "text/html", "OK", buf.toString()); return; } for(int i=0;i<reqs.length;i++) { ClientRequest req = reqs[i]; if(req instanceof ClientGet) { ClientGet cg = (ClientGet) req; if(cg.hasSucceeded()) { if(cg.isDirect()) completedDownloadToTemp.add(cg); else if(cg.isToDisk()) completedDownloadToDisk.add(cg); else // FIXME Logger.error(this, "Don't know what to do with "+cg); } else if(cg.hasFinished()) { failedDownload.add(cg); } else { uncompletedDownload.add(cg); } } else if(req instanceof ClientPut) { ClientPut cp = (ClientPut) req; if(cp.hasSucceeded()) { completedUpload.add(cp); } else if(cp.hasFinished()) { failedUpload.add(cp); } else { uncompletedUpload.add(cp); } } else if(req instanceof ClientPutDir) { ClientPutDir cp = (ClientPutDir) req; if(cp.hasSucceeded()) { completedDirUpload.add(cp); } else if(cp.hasFinished()) { failedDirUpload.add(cp); } else { uncompletedDirUpload.add(cp); } } } ctx.getPageMaker().makeHead(buf, "("+(uncompletedDirUpload.size()+uncompletedDownload.size()+uncompletedUpload.size())+ "/"+(failedDirUpload.size()+failedDownload.size()+failedUpload.size())+ "/"+(completedDirUpload.size()+completedDownloadToDisk.size()+completedDownloadToTemp.size()+completedUpload.size())+ ") Queued Requests"); node.alerts.toSummaryHtml(buf); writeBigHeading("Legend", buf, "legend"); buf.append("<table class=\"queue\">\n"); buf.append("<tr>"); for(int i=0; i<7; i++){ buf.append("<td class=\"priority"+i+"\">priority "+i+"</td>"); } buf.append("</tr>\n"); writeTableEnd(buf); if(reqs.length > 1) writeDeleteAll(buf); writeBigEnding(buf); if(!(completedDownloadToTemp.isEmpty() && completedDownloadToDisk.isEmpty() && completedUpload.isEmpty() && completedDirUpload.isEmpty())) { writeBigHeading("Completed requests (" + (completedDownloadToTemp.size() + completedDownloadToDisk.size() + completedUpload.size() + completedDirUpload.size()) + ")", buf, "completed_requests"); if(!completedDownloadToTemp.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Completed downloads to temporary space", new String[] { "", "Identifier", "Size", "MIME-Type", "Download", "Persistence", "Key" }, buf ); else writeTableHead("Completed downloads to temporary space", new String[] { "", "Size", "MIME-Type", "Download", "Persistence", "Key" }, buf ); for(Iterator i = completedDownloadToTemp.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getURI(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeDownloadCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedDownloadToDisk.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Completed downloads to disk", new String[] { "", "Identifier", "Filename", "Size", "MIME-Type", "Download", "Persistence", "Key" }, buf); else writeTableHead("Completed downloads to disk", new String[] { "", "Filename", "Size", "MIME-Type", "Download", "Persistence", "Key" }, buf); for(Iterator i=completedDownloadToDisk.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getURI(), buf); writeFilenameCell(p.getDestFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeDownloadCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedUpload.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Completed uploads", new String[] { "", "Identifier", "Filename", "Size", "MIME-Type", "Persistence", "Key" }, buf); else writeTableHead("Completed uploads", new String[] { "", "Filename", "Size", "MIME-Type", "Persistence", "Key" }, buf); for(Iterator i=completedUpload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!completedDirUpload.isEmpty()) { // FIXME include filename?? if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Completed directory uploads", new String[] { "", "Identifier", "Files", "Total Size", "Persistence", "Key" }, buf); else writeTableHead("Completed directory uploads", new String[] { "", "Files", "Total Size", "Persistence", "Key" }, buf); for(Iterator i=completedDirUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } writeBigEnding(buf); } if(!(failedDownload.isEmpty() && failedUpload.isEmpty() && failedDirUpload.isEmpty())) { writeBigHeading("Failed requests (" + (failedDownload.size() + failedUpload.size() + failedDirUpload.size()) + ")", buf, "failed_requests"); if(!failedDownload.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Failed downloads", new String[] { "", "Identifier", "Filename", "Size", "MIME-Type", "Progress", "Reason", "Persistence", "Key" }, buf); else writeTableHead("Failed downloads", new String[] { "", "Filename", "Size", "MIME-Type", "Progress", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedDownload.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getDestFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeProgressFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!failedUpload.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Failed uploads", new String[] { "", "Identifier", "Filename", "Size", "MIME-Type", "Progress", "Reason", "Persistence", "Key" }, buf); else writeTableHead("Failed uploads", new String[] { "", "Filename", "Size", "MIME-Type", "Progress", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedUpload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeProgressFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!failedDirUpload.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Failed directory uploads", new String[] { "", "Identifier", "Files", "Total Size", "Progress", "Reason", "Persistence", "Key" }, buf); else writeTableHead("Failed directory uploads", new String[] { "", "Files", "Total Size", "Progress", "Reason", "Persistence", "Key" }, buf); for(Iterator i=failedDirUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writeProgressFractionCell(p, buf); writeFailureReasonCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } writeBigEnding(buf); } if(!(uncompletedDownload.isEmpty() && uncompletedUpload.isEmpty() && uncompletedDirUpload.isEmpty())) { writeBigHeading("Requests in progress (" + (uncompletedDownload.size() + uncompletedUpload.size() + uncompletedDirUpload.size()) + ")", buf, "requests_in_progress"); if(!uncompletedDownload.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Downloads in progress", new String[] { "", "Identifier", "Filename", "Priority", "Size", "MIME-Type", "Progress", "Persistence", "Key" }, buf); else writeTableHead("Downloads in progress", new String[] { "", "Filename", "Size", "MIME-Type", "Progress", "Persistence", "Key" }, buf); for(Iterator i = uncompletedDownload.iterator();i.hasNext();) { ClientGet p = (ClientGet) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getDestFilename(), buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) { writePriorityCell(p.getIdentifier(), p.getPriority(), buf); } writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeProgressFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!uncompletedUpload.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Uploads in progress", new String[] { "", "Identifier", "Filename", "Size", "MIME-Type", "Progress", "Persistence", "Key" }, buf); else writeTableHead("Uploads in progress", new String[] { "", "Filename", "Size", "MIME-Type", "Progress", "Persistence", "Key" }, buf); for(Iterator i = uncompletedUpload.iterator();i.hasNext();) { ClientPut p = (ClientPut) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getFinalURI(), buf); if(p.isDirect()) writeDirectCell(buf); else writeFilenameCell(p.getOrigFilename(), buf); writeSizeCell(p.getDataSize(), buf); writeTypeCell(p.getMIMEType(), buf); writeProgressFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } if(!uncompletedDirUpload.isEmpty()) { if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeTableHead("Directory uploads in progress", new String[] { "", "Identifier", "Files", "Total Size", "Progress", "Persistence", "Key" }, buf); else writeTableHead("Directory uploads in progress", new String[] { "", "Files", "Total Size", "Progress", "Persistence", "Key" }, buf); for(Iterator i=uncompletedDirUpload.iterator();i.hasNext();) { ClientPutDir p = (ClientPutDir) i.next(); writeRowStart(buf,p); writeDeleteCell(p, buf); if (node.getToadletContainer().isAdvancedDarknetEnabled()) writeIdentifierCell(p, p.getFinalURI(), buf); writeNumberCell(p.getNumberOfFiles(), buf); writeSizeCell(p.getTotalDataSize(), buf); writeProgressFractionCell(p, buf); writePersistenceCell(p, buf); writeKeyCell(p.getFinalURI(), buf); writeRowEnd(buf); } writeTableEnd(buf); } writeBigEnding(buf); } ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 200, "text/html", "OK", buf.toString()); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/92c3a13373f91a0169847e3371caf8a5974382e1/QueueToadlet.java/clean/src/freenet/clients/http/QueueToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 225, 202, 15069, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 759, 1660, 3387, 716, 732, 1240, 279, 478, 4258, 1438, 3549, 202, 202, 430, 12, 5, 74, 4057, 18, 5745, 15329, 1082, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 7409, 16, 315, 955, 19, 7446, 3113, 315, 42, 4258, 1438, 353, 3315, 3113, 315, 6225, 1608, 358, 4237, 326, 478, 4258, 1438, 358, 2006, 333, 1363, 8863, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 780, 1892, 1681, 273, 394, 6674, 12, 21573, 28, 1769, 9506, 202, 759, 5783, 16, 336, 326, 12234, 3285, 16, 471, 9004, 2182, 1368, 3775, 1953, 18, 9506, 202, 13174, 682, 5951, 7109, 774, 6247, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 7109, 774, 7185, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 4777, 273, 394, 10688, 5621, 202, 202, 13174, 682, 5951, 1621, 4777, 273, 394, 10688, 5621, 9506, 202, 13174, 682, 2535, 7109, 273, 394, 10688, 5621, 202, 202, 13174, 682, 2535, 4777, 273, 394, 10688, 5621, 202, 202, 13174, 682, 2535, 1621, 4777, 273, 394, 10688, 5621, 9506, 202, 13174, 682, 12704, 1469, 329, 7109, 273, 394, 10688, 5621, 202, 202, 13174, 682, 12704, 1469, 329, 4777, 273, 394, 10688, 5621, 202, 202, 13174, 682, 12704, 1469, 329, 1621, 4777, 273, 394, 10688, 5621, 9506, 202, 1227, 691, 8526, 20927, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 225, 202, 15069, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 759, 1660, 3387, 716, 732, 1240, 279, 478, 4258, 1438, 3549, 202, 202, 430, 12, 5, 74, 4057, 18, 5745, 15329, 1082, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 7409, 16, 315, 955, 19, 7446, 3113, 315, 42, 4258, 1438, 353, 3315, 3113, 315, 6225, 1608, 358, 4237, 326, 478, 4258, 1438, 358, 2006, 333, 1363, 8863, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 780, 1892, 1681, 273, 394, 6674, 12, 21573, 28, 1769, 9506, 202, 759, 5783, 16, 336, 326, 12234, 3285, 2 ]
MainFrame.getInstance().getDefaultToolTimer().restart();
public void mouseReleased(MouseEvent mouseEvent) { if (mouseEvent.getButton() == MouseEvent.BUTTON1 && bActive == true) { compSource.removeMouseMotionListener(this); if (MainFrame.getInstance().getSelection() != null) edit.addEdit(new AtomicChangeSelection(null)); MainFrame.getInstance().getUndoManager().addEdit(edit); MainFrame.getInstance().getJPatchScreen().update_all();// MainFrame.getInstance().getJPatchScreen().enablePopupMenu(true); bActive = false; MainFrame.getInstance().getDefaultToolTimer().restart(); } /* if (iState == ACTIVE && mouseEvent.getButton() == MouseEvent.BUTTON1) { compSource = (Component)mouseEvent.getSource(); Selection selection = MainFrame.getInstance().getSelection(); Class classPointSelection = PointSelection.getPointSelectionClass(); if (classPointSelection.isAssignableFrom(selection.getClass())) { ControlPoint[] acp = new ControlPoint[1]; acp[0] = cpHot; compoundEdit.addEdit(new MoveControlPointsEdit(MoveControlPointsEdit.TRANSLATE,acp)); } setIdleState(); } */ }
9769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9769/64edd26961fe98d9e4cab60098a0d6ef3d2aba67/AddBoneMouseAdapter.java/buggy/jpatch/src/jpatch/boundary/mouse/AddBoneMouseAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7644, 26363, 12, 9186, 1133, 7644, 1133, 13, 288, 202, 202, 430, 261, 11697, 1133, 18, 588, 3616, 1435, 422, 17013, 1133, 18, 20068, 21, 597, 324, 3896, 422, 638, 13, 288, 1082, 202, 2919, 1830, 18, 4479, 9186, 29360, 2223, 12, 2211, 1769, 1082, 202, 430, 261, 6376, 3219, 18, 588, 1442, 7675, 588, 6233, 1435, 480, 446, 13, 9506, 202, 4619, 18, 1289, 4666, 12, 2704, 11553, 3043, 6233, 12, 2011, 10019, 1082, 202, 6376, 3219, 18, 588, 1442, 7675, 588, 31224, 1318, 7675, 1289, 4666, 12, 4619, 1769, 1082, 202, 6376, 3219, 18, 588, 1442, 7675, 588, 46, 7332, 7956, 7675, 2725, 67, 454, 5621, 759, 1082, 202, 6376, 3219, 18, 588, 1442, 7675, 588, 46, 7332, 7956, 7675, 7589, 13770, 4599, 12, 3767, 1769, 1082, 202, 70, 3896, 273, 629, 31, 1082, 202, 6376, 3219, 18, 588, 1442, 7675, 588, 1868, 6364, 6777, 7675, 19164, 5621, 202, 202, 97, 3196, 202, 20308, 202, 202, 430, 261, 77, 1119, 422, 21135, 597, 7644, 1133, 18, 588, 3616, 1435, 422, 17013, 1133, 18, 20068, 21, 13, 288, 1082, 202, 2919, 1830, 273, 261, 1841, 13, 11697, 1133, 18, 588, 1830, 5621, 1082, 202, 6233, 4421, 273, 12740, 3219, 18, 588, 1442, 7675, 588, 6233, 5621, 1082, 202, 797, 667, 2148, 6233, 273, 4686, 6233, 18, 588, 2148, 6233, 797, 5621, 1082, 202, 430, 261, 1106, 2148, 6233, 18, 291, 7961, 1265, 12, 10705, 18, 588, 797, 1435, 3719, 288, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7644, 26363, 12, 9186, 1133, 7644, 1133, 13, 288, 202, 202, 430, 261, 11697, 1133, 18, 588, 3616, 1435, 422, 17013, 1133, 18, 20068, 21, 597, 324, 3896, 422, 638, 13, 288, 1082, 202, 2919, 1830, 18, 4479, 9186, 29360, 2223, 12, 2211, 1769, 1082, 202, 430, 261, 6376, 3219, 18, 588, 1442, 7675, 588, 6233, 1435, 480, 446, 13, 9506, 202, 4619, 18, 1289, 4666, 12, 2704, 11553, 3043, 6233, 12, 2011, 10019, 1082, 202, 6376, 3219, 18, 588, 1442, 7675, 588, 31224, 1318, 7675, 1289, 4666, 12, 4619, 1769, 1082, 202, 6376, 3219, 18, 588, 1442, 7675, 588, 46, 7332, 7956, 7675, 2725, 67, 454, 5621, 759, 1082, 202, 6376, 3219, 18, 588, 2 ]
newZipOutputStream(new File(path + (fileCount++)));
newZipOutputStream(new File(path));
public void write(String outputPath, byte[] bytes, XQSyncDocumentMetadata metadata) throws IOException { /* * This method uses size metrics to automatically manage multiple zip * archives, to avoid 32-bit limits in java.util.zip * * An exception-based mechanism would be tricky, here: we definitely * want the content and the meta entries to stay in the same zipfile. */ byte[] metaBytes = metadata.toXML().getBytes(); long total = bytes.length + metaBytes.length; synchronized (outputMutex) { if (outputStream == null) { // lazily construct a new zipfile outputstream newZipOutputStream(constructorFile); fileCount = 1; } // by checking outputBytes first, we should avoid infinite loops - // at the cost of fatal exceptions. if (currentFileBytes > 0 && currentFileBytes + total > Integer.MAX_VALUE) { logger.fine("package bytes would exceed 32-bit limit"); String path = constructorFile.getCanonicalPath(); fileCount++; if (path.endsWith(".zip")) { path = path.replaceFirst("(.+)\\.zip$", "$1." + fileCount + ".zip"); } else { path = path + "." + fileCount; } newZipOutputStream(new File(path + (fileCount++))); } ZipEntry entry = new ZipEntry(outputPath); outputStream.putNextEntry(entry); outputStream.write(bytes); outputStream.closeEntry(); String metadataPath = XQSyncDocument .getMetadataPath(outputPath); entry = new ZipEntry(metadataPath); outputStream.putNextEntry(entry); outputStream.write(metaBytes); outputStream.closeEntry(); currentFileBytes += total; } }
48825 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48825/d2734cc2c24fb7284611e0245014ade68bfbbaf6/OutputPackage.java/buggy/src/java/com/marklogic/ps/xqsync/OutputPackage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 12, 780, 19566, 16, 1160, 8526, 1731, 16, 5411, 1139, 53, 4047, 2519, 2277, 1982, 13, 1216, 1860, 288, 3639, 1748, 540, 380, 1220, 707, 4692, 963, 4309, 358, 6635, 10680, 3229, 3144, 540, 380, 21997, 16, 358, 4543, 3847, 17, 3682, 8181, 316, 2252, 18, 1367, 18, 4450, 540, 380, 1850, 380, 1922, 1520, 17, 12261, 12860, 4102, 506, 433, 13055, 16, 2674, 30, 732, 2217, 25818, 540, 380, 2545, 326, 913, 471, 326, 2191, 3222, 358, 23449, 316, 326, 1967, 18823, 18, 540, 1195, 3639, 1160, 8526, 2191, 2160, 273, 1982, 18, 869, 4201, 7675, 588, 2160, 5621, 3639, 1525, 2078, 273, 1731, 18, 2469, 397, 2191, 2160, 18, 2469, 31, 3639, 3852, 261, 2844, 11433, 13, 288, 5411, 309, 261, 2844, 1228, 422, 446, 13, 288, 7734, 368, 25047, 4872, 279, 394, 18823, 876, 3256, 7734, 394, 9141, 4632, 12, 12316, 812, 1769, 7734, 585, 1380, 273, 404, 31, 5411, 289, 5411, 368, 635, 6728, 876, 2160, 1122, 16, 732, 1410, 4543, 14853, 14075, 300, 5411, 368, 622, 326, 6991, 434, 10081, 4798, 18, 5411, 309, 261, 2972, 812, 2160, 405, 374, 10792, 597, 22650, 2160, 397, 2078, 405, 2144, 18, 6694, 67, 4051, 13, 288, 7734, 1194, 18, 74, 558, 2932, 5610, 1731, 4102, 9943, 3847, 17, 3682, 1800, 8863, 7734, 514, 589, 273, 3885, 812, 18, 588, 15512, 743, 5621, 7734, 585, 1380, 9904, 31, 7734, 309, 261, 803, 18, 5839, 1190, 2932, 18, 4450, 6, 3719, 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, 918, 1045, 12, 780, 19566, 16, 1160, 8526, 1731, 16, 5411, 1139, 53, 4047, 2519, 2277, 1982, 13, 1216, 1860, 288, 3639, 1748, 540, 380, 1220, 707, 4692, 963, 4309, 358, 6635, 10680, 3229, 3144, 540, 380, 21997, 16, 358, 4543, 3847, 17, 3682, 8181, 316, 2252, 18, 1367, 18, 4450, 540, 380, 1850, 380, 1922, 1520, 17, 12261, 12860, 4102, 506, 433, 13055, 16, 2674, 30, 732, 2217, 25818, 540, 380, 2545, 326, 913, 471, 326, 2191, 3222, 358, 23449, 316, 326, 1967, 18823, 18, 540, 1195, 3639, 1160, 8526, 2191, 2160, 273, 1982, 18, 869, 4201, 7675, 588, 2160, 5621, 3639, 1525, 2078, 273, 1731, 18, 2469, 397, 2191, 2160, 18, 2469, 31, 3639, 3852, 2 ]
return new TableSorter(new IField[0], new int[0], new int[0]);
return new TableComparator(new IField[0], new int[0], new int[0]);
public TableSorter getSorterFor(String type) { if (hierarchyOrders.containsKey(type)) { return (TableSorter) hierarchyOrders.get(type); } TableSorter sorter = findSorterInChildren(type, getRootType()); if (sorter == null) { return new TableSorter(new IField[0], new int[0], new int[0]); } return sorter; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/b34bac03ab70048a4b238ebb6ad2383d1ae284b3/MarkerSupportRegistry.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerSupportRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3555, 24952, 1322, 4975, 1290, 12, 780, 618, 13, 288, 202, 202, 430, 261, 17937, 16528, 18, 12298, 653, 12, 723, 3719, 288, 1082, 202, 2463, 261, 1388, 24952, 13, 9360, 16528, 18, 588, 12, 723, 1769, 202, 202, 97, 202, 202, 1388, 24952, 19867, 273, 1104, 24952, 382, 4212, 12, 723, 16, 7656, 559, 10663, 202, 202, 430, 261, 2467, 387, 422, 446, 13, 288, 1082, 202, 2463, 394, 3555, 24952, 12, 2704, 467, 974, 63, 20, 6487, 394, 509, 63, 20, 6487, 394, 509, 63, 20, 19226, 202, 202, 97, 202, 202, 2463, 19867, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3555, 24952, 1322, 4975, 1290, 12, 780, 618, 13, 288, 202, 202, 430, 261, 17937, 16528, 18, 12298, 653, 12, 723, 3719, 288, 1082, 202, 2463, 261, 1388, 24952, 13, 9360, 16528, 18, 588, 12, 723, 1769, 202, 202, 97, 202, 202, 1388, 24952, 19867, 273, 1104, 24952, 382, 4212, 12, 723, 16, 7656, 559, 10663, 202, 202, 430, 261, 2467, 387, 422, 446, 13, 288, 1082, 202, 2463, 394, 3555, 24952, 12, 2704, 467, 974, 63, 20, 6487, 394, 509, 63, 20, 6487, 394, 509, 63, 20, 19226, 202, 202, 97, 202, 202, 2463, 19867, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( formatStr != null && formatStr.length( ) != 0) { numberFormat = new NumberFormatter( formatStr, context.getLocale( ) ); style.setNumberFormatObject( numberFormat ); } } } else { numberFormat = new NumberFormatter( formatStr, context.getLocale( ) ); } if (numberFormat == null) { numberFormat = new NumberFormatter( context.getLocale( ) ); } formattedStr.append( numberFormat.format( ( (Number) value ) .doubleValue( ) ) );
NumberFormatter numberFormat = context.createNumberFormatter( formatStr ); formattedStr.append( numberFormat.format( ( ( Number ) value ).doubleValue( ) ) );
protected void formatValue( Object value, String formatStr, StyleDesign style, StringBuffer formattedStr,ReportElementContent reportContent ) { if ( value == null ) { return; } assert style != null && formattedStr != null; if ( ( value instanceof Number ) ) { NumberFormatter numberFormat = null; if ( formatStr == null || formatStr.length( ) == 0 ) { numberFormat = style.getNumberFormatObject( ); //initial number-format for the first time if ( numberFormat == null ) {// formatStr = style.getNumberFormat( ); formatStr = getNumberFormat(reportContent); if ( formatStr != null && formatStr.length( ) != 0) { numberFormat = new NumberFormatter( formatStr, context.getLocale( ) ); style.setNumberFormatObject( numberFormat ); } } } else //deal with value-of for text item { numberFormat = new NumberFormatter( formatStr, context.getLocale( ) ); } if (numberFormat == null) { numberFormat = new NumberFormatter( context.getLocale( ) ); } formattedStr.append( numberFormat.format( ( (Number) value ) .doubleValue( ) ) ); return; } else if ( value instanceof Date ) { DateFormatter dateFormat = null; if ( formatStr == null || formatStr.length( ) == 0 ) { dateFormat = style.getDateFormatObject( ); //initial date-format for the first time if ( dateFormat == null ) {// formatStr = style.getDateTimeFormat( ); formatStr = getDateTimeFormat( reportContent ); if ( formatStr != null && formatStr.length( ) != 0) { dateFormat = new DateFormatter( formatStr, context.getLocale( ) ); style.setDateFormatObject( dateFormat ); } } } else //deal with value-of for text item { dateFormat = new DateFormatter( formatStr, context.getLocale( ) ); } if( dateFormat == null ) { dateFormat = new DateFormatter( context.getLocale( ) ); } formattedStr.append( dateFormat.format( (Date) value ) ); return; } else if ( value instanceof String ) { StringFormatter stringFormat = null; if ( formatStr == null || formatStr.length( ) == 0 ) { stringFormat = style.getStringFormatObject( ); //initial string-format for the first time if ( stringFormat == null ) { //get format pattern from style// formatStr = style.getStringFormat( ); formatStr = getStringFormat( reportContent ); if ( formatStr != null && formatStr.length( ) != 0) { //use default stringFormat stringFormat = new StringFormatter( formatStr, context.getLocale( ) ); style.setStringFormatObject( stringFormat ); } } } else //deal with value-of for text item { stringFormat = new StringFormatter( formatStr, context.getLocale( ) ); } if( stringFormat != null ) { formattedStr.append( stringFormat.format( value.toString( ) ) ); return; } } formattedStr.append( value.toString( ) ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e29ffc4317fc1dab71e811072bd49e7d35a106d8/StyledItemExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/StyledItemExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 740, 620, 12, 1033, 460, 16, 514, 740, 1585, 16, 1082, 202, 2885, 15478, 2154, 16, 6674, 4955, 1585, 16, 4820, 1046, 1350, 2605, 1350, 262, 202, 95, 202, 202, 430, 261, 460, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 11231, 2154, 480, 446, 597, 4955, 1585, 480, 446, 31, 202, 202, 430, 261, 261, 460, 1276, 3588, 262, 262, 202, 202, 95, 1082, 202, 1854, 5074, 28239, 273, 446, 31, 1082, 202, 430, 261, 740, 1585, 422, 446, 747, 740, 1585, 18, 2469, 12, 262, 422, 374, 262, 1082, 202, 95, 9506, 202, 2696, 1630, 273, 2154, 18, 588, 1854, 1630, 921, 12, 11272, 9506, 202, 759, 6769, 1300, 17, 2139, 364, 326, 1122, 813, 9506, 202, 430, 261, 28239, 422, 446, 262, 9506, 202, 95, 759, 6862, 202, 2139, 1585, 273, 2154, 18, 588, 1854, 1630, 12, 11272, 6862, 202, 2139, 1585, 273, 18491, 1630, 12, 6006, 1350, 1769, 6862, 202, 430, 261, 740, 1585, 480, 446, 597, 740, 1585, 18, 2469, 12, 262, 480, 374, 13, 6862, 202, 95, 25083, 202, 2696, 1630, 273, 394, 3588, 5074, 12, 740, 1585, 16, 819, 18, 588, 3916, 12, 262, 11272, 25083, 202, 4060, 18, 542, 1854, 1630, 921, 12, 28239, 11272, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 759, 323, 287, 598, 460, 17, 792, 364, 977, 761, 1082, 202, 95, 9506, 202, 2696, 1630, 273, 394, 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, 740, 620, 12, 1033, 460, 16, 514, 740, 1585, 16, 1082, 202, 2885, 15478, 2154, 16, 6674, 4955, 1585, 16, 4820, 1046, 1350, 2605, 1350, 262, 202, 95, 202, 202, 430, 261, 460, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 11231, 2154, 480, 446, 597, 4955, 1585, 480, 446, 31, 202, 202, 430, 261, 261, 460, 1276, 3588, 262, 262, 202, 202, 95, 1082, 202, 1854, 5074, 28239, 273, 446, 31, 1082, 202, 430, 261, 740, 1585, 422, 446, 747, 740, 1585, 18, 2469, 12, 262, 422, 374, 262, 1082, 202, 95, 9506, 202, 2696, 1630, 273, 2154, 18, 588, 1854, 1630, 921, 12, 11272, 9506, 202, 2 ]