rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
if (selectedExpression instanceof Name && selectedExpression.getParent() instanceof ClassInstanceCreation) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ExtractTempRefactoring.name_in_new")); pm.worked(1);
private RefactoringStatus checkSelection(IProgressMonitor pm) throws JavaModelException { try{ pm.beginTask("", 8); //$NON-NLS-1$ if (getSelectedExpression() == null) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ExtractTempRefactoring.select_expression")); //$NON-NLS-1$ pm.worked(1); if (isUsedInExplicitConstructorCall()) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ExtractTempRefactoring.explicit_constructor")); //$NON-NLS-1$ pm.worked(1); if (getSelectedMethodNode() == null) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ExtractTempRefactoring.expression_in_method")); //$NON-NLS-1$ pm.worked(1); if (getSelectedExpression().getParent() instanceof ExpressionStatement) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("ExtractTempRefactoring.statements")); //$NON-NLS-1$ pm.worked(1); RefactoringStatus result= new RefactoringStatus(); result.merge(checkExpression()); if (result.hasFatalError()) return result; pm.worked(1); result.merge(checkExpressionBinding()); if (result.hasFatalError()) return result; pm.worked(1); initializeTempNames(); pm.worked(1); return result; } finally{ pm.done(); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/46bfac44826d13393650bb691afa8144e54ac118/ExtractTempRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 309, 261, 8109, 2300, 1276, 1770, 597, 3170, 2300, 18, 588, 3054, 1435, 1276, 1659, 1442, 9906, 13, 327, 868, 3493, 6053, 1482, 18, 2640, 19593, 668, 1482, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 4976, 7185, 426, 3493, 6053, 18, 529, 67, 267, 67, 2704, 7923, 1769, 7430, 18, 1252, 329, 12, 21, 1769, 225, 868, 3493, 6053, 1482, 309, 261, 8109, 2300, 1276, 1770, 597, 3170, 2300, 18, 588, 3054, 1435, 1276, 1659, 1442, 9906, 13, 327, 868, 3493, 6053, 1482, 18, 2640, 19593, 668, 1482, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 4976, 7185, 426, 3493, 6053, 18, 529, 67, 267, 67, 2704, 7923, 1769, 7430, 18, 1252, 329, 12, 21, 1769, 225, 866, 6233, 12, 45, 5491, 7187, 309, 261, 8109, 2300, 1276, 1770, 597, 3170, 2300, 18, 588, 3054, 1435, 1276, 1659, 1442, 9906, 13, 327, 868, 3493, 6053, 1482, 18, 2640, 19593, 668, 1482, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 4976, 7185, 426, 3493, 6053, 18, 529, 67, 267, 67, 2704, 7923, 1769, 7430, 18, 1252, 329, 12, 21, 1769, 225, 7430, 13, 309, 261, 8109, 2300, 1276, 1770, 597, 3170, 2300, 18, 588, 3054, 1435, 1276, 1659, 1442, 9906, 13, 327, 868, 3493, 6053, 1482, 18, 2640, 19593, 668, 1482, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 4976, 7185, 426, 3493, 6053, 18, 529, 67, 267, 67, 2704, 7923, 1769, 7430, 18, 1252, 329, 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, 309, 261, 8109, 2300, 1276, 1770, 597, 3170, 2300, 18, 588, 3054, 1435, 1276, 1659, 1442, 9906, 13, 327, 868, 3493, 6053, 1482, 18, 2640, 19593, 668, 1482, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 4976, 7185, 426, 3493, 6053, 18, 529, 67, 267, 67, 2704, 7923, 1769, 7430, 18, 1252, 329, 12, 21, 1769, 225, 868, 3493, 6053, 1482, 309, 261, 8109, 2300, 1276, 1770, 597, 3170, 2300, 18, 588, 3054, 1435, 1276, 1659, 1442, 9906, 13, 327, 868, 3493, 6053, 1482, 18, 2640, 19593, 668, 1482, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 4976, 7185, 426, 3493, 6053, 18, 529, 67, 267, 67, 2704, 7923, 1769, 7430, 18, 2 ]
if (!reportOnly) { nodeState.setState(NodeState.NEEDS_POLL); callTopLevelPoll(); logger.debug("Requested top level poll..."); }
nodeState.setState(NodeState.NEEDS_POLL); logger.debug("set state to call top level poll...");
boolean checkCurrentState(PollState lastOrCurrentPoll, Tallier results, NodeState nodeState, boolean reportOnly) throws IOException { // only log when in treewalk (once) or updating results if ((reportOnly) || (results!=null)) { logger.debug3("Checking node: " + nodeState.getCachedUrlSet().getUrl()); logger.debug3("State: " + nodeState.getStateString()); } switch (nodeState.getState()) { case NodeState.NEEDS_POLL: case NodeState.NEEDS_REPLAY_POLL: // call content poll if (!reportOnly) { logger.debug2("calling content poll"); callContentPoll(new PollSpec(nodeState.getCachedUrlSet())); } return true; case NodeState.CONTENT_LOST: if (!reportOnly) { if ((results!=null) && (results.getCachedUrlSet().getSpec().isRangeRestricted())) { // if ranged, we know the names are accurate from the previous // name poll, so continue as if it had won logger.debug2("sub-dividing under lost ranged content poll"); callContentPollsOnSubNodes(nodeState, results.getCachedUrlSet()); } else { // call name poll if not ranged or no results to use logger.debug2( "lost content poll, state = lost, calling name poll."); callNamePoll(new PollSpec(nodeState.getCachedUrlSet())); } } return true; case NodeState.UNREPAIRABLE_NAMES_NEEDS_POLL: // call name poll if (!reportOnly) { logger.debug2("calling name poll"); callNamePoll(new PollSpec(nodeState.getCachedUrlSet())); } return true; case NodeState.CONTENT_RUNNING: case NodeState.CONTENT_REPLAYING: case NodeState.NAME_RUNNING: case NodeState.NAME_REPLAYING: case NodeState.SNCUSS_POLL_RUNNING: case NodeState.SNCUSS_POLL_REPLAYING: // replay poll if mine and not active if (lastOrCurrentPoll instanceof PollHistory) { PollHistory lastHistory = (PollHistory)lastOrCurrentPoll; PollSpec lastPollSpec = new PollSpec(nodeState.getCachedUrlSet(), lastHistory.lwrBound, lastHistory.uprBound); if ((lastHistory.isOurPoll())) { // if should recall and is our incomplete poll if (!pollManager.isPollRunning(lastHistory.getType(), lastPollSpec)) { // if this poll should be running make sure it is running. if (restartNonexpiredPolls || ((lastHistory.startTime + lastHistory.duration) < TimeBase.nowMs())) { // only restart if it has expired, since other caches will still be // running it otherwise if (!reportOnly) { logger.debug("Re-calling last unfinished poll."); logger.debug2("lastHistory: " + lastHistory.getTypeString() + ", " + lastHistory.getStatusString() + ", " + sdf.format(new Date(lastHistory.startTime))); // set state appropriately for restart switch (nodeState.getState()) { case NodeState.CONTENT_RUNNING: case NodeState.CONTENT_REPLAYING: nodeState.setState(NodeState.NEEDS_POLL); break; case NodeState.NAME_RUNNING: case NodeState.NAME_REPLAYING: nodeState.setState(NodeState.CONTENT_LOST); break; case NodeState.SNCUSS_POLL_RUNNING: case NodeState.SNCUSS_POLL_REPLAYING: nodeState.setState(NodeState.POSSIBLE_DAMAGE_HERE); } callLastPoll(lastPollSpec, lastHistory); } return true; } else { logger.debug2("Unfinished poll's duration not elapsed, so not"+ " recalling."); } } else { logger.debug2("Unfinished poll already running, so not"+ " recalling."); } } else { if (reportOnly) { // don't log twice if top-level poll is called next logger.debug2("Unfinished poll not mine, so not recalling."); } // check if au-node which needs top-level poll // query the AU if a top level poll should be started if ((nodeState.getCachedUrlSet().getSpec().isAu()) && (managedAu.shouldCallTopLevelPoll(auState))) { // switch to NEEDS_POLL and call toplevel poll if (!reportOnly) { nodeState.setState(NodeState.NEEDS_POLL); callTopLevelPoll(); logger.debug("Requested top level poll..."); } return true; } else { // reset and do nothing nodeState.setState(NodeState.INITIAL); } } } return false; case NodeState.WRONG_NAMES: // go through names, fixing (if have list) // if not active, recall name poll if (!reportOnly) { logger.debug2("lost name poll, collecting repair info."); if (results!=null) { logger.debug2("repairing name list"); Iterator masterIt = results.getCorrectEntries(); List localList = createUrlListFromCusIterator(results.getLocalEntries()); boolean repairMarked = handleWrongNames(masterIt, localList, nodeState, results); if (!repairMarked) { lastOrCurrentPoll.status = PollState.REPAIRED; } } else { logger.debug2("no results found, so recalling name poll"); callNamePoll(new PollSpec(nodeState.getCachedUrlSet())); } } return true; case NodeState.DAMAGE_AT_OR_BELOW: // subdivide or recurse, plus SNCUSS if not ranged if (!reportOnly) { logger.debug2("won name poll (mine), calling content poll on subnodes."); // call a content poll for this node's content if we haven't started // sub-dividing yet (and not an AU url, since they never have content) if ((lastOrCurrentPoll.getLwrBound() == null) && (!nodeState.getCachedUrlSet().getSpec().isAu())) { logger.debug2("calling single node content poll on node's contents"); //XXX once we're checking the content bit in the name poll, // only call SNCP if has content nodeState.setState(NodeState.POSSIBLE_DAMAGE_HERE); callSingleNodeContentPoll(nodeState.getCachedUrlSet()); } else { // no damage here since ranged or top-level logger.debug2("setting to 'possible damage below'"); nodeState.setState(NodeState.POSSIBLE_DAMAGE_BELOW); } // call a content poll on this node's subnodes CachedUrlSet cusToUse = (results!=null ? results.getCachedUrlSet() : nodeState.getCachedUrlSet()); callContentPollsOnSubNodes(nodeState, cusToUse); } return true; case NodeState.POSSIBLE_DAMAGE_HERE: case NodeState.UNREPAIRABLE_SNCUSS_NEEDS_POLL: // call SNCUSS poll if (!reportOnly) { logger.debug2("calling sncuss content poll"); callSingleNodeContentPoll(nodeState.getCachedUrlSet()); } return true; case NodeState.NEEDS_REPAIR: //schedule repair, replay poll (if exists) if (!reportOnly) { logger.debug2("scheduling repair"); List repairUrl = ListUtil.list(nodeState.getCachedUrlSet().getUrl()); if (results!=null) { // give poll info for replay markNodesForRepair(repairUrl, results.getPollKey(), nodeState.getCachedUrlSet(), false, results.getActivityLock()); } else { // no poll info to replay markNodesForRepair(repairUrl, null, nodeState.getCachedUrlSet(), false, null); } } return true; case NodeState.UNREPAIRABLE_SNCUSS: //XXX check times, and changed to 'UNREPAIRABLE_XXX_NEEDS_POLL" if long enough // if long enough since first damage, change to 'UNKNOWN' nodeState.setState(NodeState.UNREPAIRABLE_SNCUSS_NEEDS_POLL); return false; case NodeState.UNREPAIRABLE_NAMES: //XXX check times, and changed to 'UNREPAIRABLE_XXX_NEEDS_POLL" if long enough // if long enough since first damage, change to 'UNKNOWN' nodeState.setState(NodeState.UNREPAIRABLE_NAMES_NEEDS_POLL); return false; case NodeState.POSSIBLE_DAMAGE_BELOW: // waiting state // if no results, then in treewalk and should recall any necessary // ranged histories, or clear damage if (results == null) { if (lastOrCurrentPoll instanceof PollHistory) { // check through history to see if action needed on ranged polls PollHistory lastHistory = (PollHistory) lastOrCurrentPoll; if (lastHistory.getLwrBound() != null) { // if ranged, check to see if anything needed logger.debug2("ranged history found. Checking previous histories"); if (checkLastHistory(lastHistory, nodeState, reportOnly)) { // if action needed, stop here logger.debug2("action taken on histories"); return true; } } } // otherwise, recall poll to clear damage if (!reportOnly) { logger.debug2("re-calling content poll"); callContentPoll(nodeState.getCachedUrlSet(), null, null); } return true; } return false; case NodeState.INITIAL: case NodeState.OK: // check time, switch to NEEDS_POLL if necessary and call toplevel poll if (nodeState.getCachedUrlSet().getSpec().isAu()) { // query the AU if a top level poll should be started if (managedAu.shouldCallTopLevelPoll(auState)) { if (!reportOnly) { nodeState.setState(NodeState.NEEDS_POLL); callTopLevelPoll(); logger.debug("Requested top level poll..."); } return true; } } return false; } return false; }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/e2fcb000e7c87a5af939a3648540e36b13b2fcef/NodeManagerImpl.java/clean/src/org/lockss/state/NodeManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1250, 866, 3935, 1119, 12, 19085, 1119, 1142, 1162, 3935, 19085, 16, 399, 454, 2453, 1686, 16, 18701, 2029, 1119, 756, 1119, 16, 1250, 2605, 3386, 13, 1377, 1216, 1860, 288, 565, 368, 1338, 613, 1347, 316, 9787, 359, 2960, 261, 8243, 13, 578, 9702, 1686, 565, 309, 14015, 6006, 3386, 13, 747, 261, 4717, 5, 33, 2011, 3719, 288, 1377, 1194, 18, 4148, 23, 2932, 14294, 756, 30, 315, 397, 756, 1119, 18, 588, 9839, 1489, 694, 7675, 588, 1489, 10663, 1377, 1194, 18, 4148, 23, 2932, 1119, 30, 315, 397, 756, 1119, 18, 588, 1119, 780, 10663, 565, 289, 565, 1620, 261, 2159, 1119, 18, 588, 1119, 10756, 288, 1377, 648, 2029, 1119, 18, 5407, 2056, 55, 67, 14232, 48, 30, 1377, 648, 2029, 1119, 18, 5407, 2056, 55, 67, 28879, 7868, 67, 14232, 48, 30, 3639, 368, 745, 913, 7672, 3639, 309, 16051, 6006, 3386, 13, 288, 1850, 1194, 18, 4148, 22, 2932, 31623, 913, 7672, 8863, 1850, 745, 1350, 19085, 12, 2704, 19160, 1990, 12, 2159, 1119, 18, 588, 9839, 1489, 694, 1435, 10019, 3639, 289, 3639, 327, 638, 31, 1377, 648, 2029, 1119, 18, 9689, 67, 1502, 882, 30, 3639, 309, 16051, 6006, 3386, 13, 288, 1850, 309, 14015, 4717, 5, 33, 2011, 13, 597, 2868, 261, 4717, 18, 588, 9839, 1489, 694, 7675, 588, 1990, 7675, 291, 2655, 18784, 1435, 3719, 288, 2868, 368, 309, 436, 2330, 16, 732, 5055, 326, 1257, 854, 22380, 628, 326, 2416, 2868, 368, 508, 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, 1250, 866, 3935, 1119, 12, 19085, 1119, 1142, 1162, 3935, 19085, 16, 399, 454, 2453, 1686, 16, 18701, 2029, 1119, 756, 1119, 16, 1250, 2605, 3386, 13, 1377, 1216, 1860, 288, 565, 368, 1338, 613, 1347, 316, 9787, 359, 2960, 261, 8243, 13, 578, 9702, 1686, 565, 309, 14015, 6006, 3386, 13, 747, 261, 4717, 5, 33, 2011, 3719, 288, 1377, 1194, 18, 4148, 23, 2932, 14294, 756, 30, 315, 397, 756, 1119, 18, 588, 9839, 1489, 694, 7675, 588, 1489, 10663, 1377, 1194, 18, 4148, 23, 2932, 1119, 30, 315, 397, 756, 1119, 18, 588, 1119, 780, 10663, 565, 289, 565, 1620, 261, 2159, 1119, 18, 588, 1119, 10756, 288, 1377, 648, 2029, 1119, 18, 5407, 2056, 2 ]
Document skeletonModel = createDOMDocumentForServiceXML( axisBinding.getBoundInterface(), axisBinding,desc);
Document serviceXMLModel = createDOMDocumentForServiceXML();
protected void writeServiceXml(WSDLBinding axisBinding,WSDLDescription desc) throws Exception { if (this.configuration.isGenerateDeployementDescriptor()) { //Write the service xml in a folder with the Document skeletonModel = createDOMDocumentForServiceXML( axisBinding.getBoundInterface(), axisBinding,desc); ClassWriter serviceXmlWriter = new ServiceXMLWriter( getOutputDirectory(this.configuration.getOutputLocation(), "resources"), this.configuration.getOutputLanguage()); writeClass(skeletonModel, serviceXmlWriter); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/40bfbf71fb1fee9975ccec667947ae9f8f2681a6/MultiLanguageClientEmitter.java/clean/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 1179, 4432, 12, 2651, 8914, 5250, 2654, 5250, 16, 2651, 8914, 3291, 3044, 13, 1216, 1185, 288, 3639, 309, 261, 2211, 18, 7025, 18, 291, 4625, 10015, 820, 3187, 10756, 288, 5411, 368, 3067, 326, 1156, 2025, 316, 279, 3009, 598, 326, 5411, 4319, 17761, 1488, 273, 752, 8168, 2519, 1290, 1179, 4201, 12, 10792, 2654, 5250, 18, 588, 3499, 1358, 9334, 2654, 5250, 16, 5569, 1769, 5411, 31807, 1156, 4432, 2289, 273, 394, 1956, 4201, 2289, 12, 10792, 11062, 2853, 12, 2211, 18, 7025, 18, 588, 1447, 2735, 9334, 315, 4683, 6, 3631, 10792, 333, 18, 7025, 18, 588, 1447, 3779, 10663, 5411, 1045, 797, 12, 7771, 12143, 1488, 16, 1156, 4432, 2289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 1179, 4432, 12, 2651, 8914, 5250, 2654, 5250, 16, 2651, 8914, 3291, 3044, 13, 1216, 1185, 288, 3639, 309, 261, 2211, 18, 7025, 18, 291, 4625, 10015, 820, 3187, 10756, 288, 5411, 368, 3067, 326, 1156, 2025, 316, 279, 3009, 598, 326, 5411, 4319, 17761, 1488, 273, 752, 8168, 2519, 1290, 1179, 4201, 12, 10792, 2654, 5250, 18, 588, 3499, 1358, 9334, 2654, 5250, 16, 5569, 1769, 5411, 31807, 1156, 4432, 2289, 273, 394, 1956, 4201, 2289, 12, 10792, 11062, 2853, 12, 2211, 18, 7025, 18, 588, 1447, 2735, 9334, 315, 4683, 6, 3631, 10792, 333, 18, 7025, 18, 588, 1447, 3779, 10663, 5411, 1045, 797, 12, 7771, 12143, 1488, 16, 1156, 4432, 2289, 1769, 2 ]
throw new ArgumentError(runtime, "wrong # of arguments(" + threadContext.getCurrentFrame().getArgs().length + "for 1)");
throw runtime.newArgumentError("wrong # of arguments(" + threadContext.getCurrentFrame().getArgs().length + "for 1)");
public void visitAttrSetNode(AttrSetNode iVisited) { if (runtime.getCurrentFrame().getArgs().length != 1) { throw new ArgumentError(runtime, "wrong # of arguments(" + threadContext.getCurrentFrame().getArgs().length + "for 1)"); } result = self.setInstanceVariable(iVisited.getAttributeName(), threadContext.getCurrentFrame().getArgs()[0]); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/870e1da9b41bfdbae259e1fc5f18fc8b76686998/EvaluateVisitor.java/clean/src/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 3843, 694, 907, 12, 3843, 694, 907, 277, 30019, 13, 288, 3639, 309, 261, 9448, 18, 588, 3935, 3219, 7675, 588, 2615, 7675, 2469, 480, 404, 13, 288, 5411, 604, 3099, 18, 2704, 1379, 668, 2932, 21530, 468, 434, 1775, 2932, 397, 2650, 1042, 18, 588, 3935, 3219, 7675, 588, 2615, 7675, 2469, 397, 315, 1884, 404, 2225, 1769, 3639, 289, 3639, 563, 273, 365, 18, 542, 1442, 3092, 12, 77, 30019, 18, 588, 19240, 9334, 2650, 1042, 18, 588, 3935, 3219, 7675, 588, 2615, 1435, 63, 20, 19226, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 3843, 694, 907, 12, 3843, 694, 907, 277, 30019, 13, 288, 3639, 309, 261, 9448, 18, 588, 3935, 3219, 7675, 588, 2615, 7675, 2469, 480, 404, 13, 288, 5411, 604, 3099, 18, 2704, 1379, 668, 2932, 21530, 468, 434, 1775, 2932, 397, 2650, 1042, 18, 588, 3935, 3219, 7675, 588, 2615, 7675, 2469, 397, 315, 1884, 404, 2225, 1769, 3639, 289, 3639, 563, 273, 365, 18, 542, 1442, 3092, 12, 77, 30019, 18, 588, 19240, 9334, 2650, 1042, 18, 588, 3935, 3219, 7675, 588, 2615, 1435, 63, 20, 19226, 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 ]
makeField ("Email Address:", 20, eMailPane); makeField ("Nick Name:", 20, eMailPane);
eEMailAddress = makeField ("Email Address:", 20, eMailPane); eNickName = makeField ("Nick Name:", 20, eMailPane);
private JPanel createNamePanel () { //the outer most panel has groove etched into it. JPanel pane = new JPanel(false); pane.setLayout (new FlowLayout(FlowLayout.LEFT)); JPanel namePane = new JPanel(false); namePane.setLayout (new GridLayout(3,2)); makeField ("First Name:", 20, namePane); makeField ("Last Name:", 20, namePane); makeField ("Display Name:",20, namePane); pane.add (namePane); JPanel eMailPane = new JPanel(false); eMailPane.setLayout (new GridLayout (2,2)); makeField ("Email Address:", 20, eMailPane); makeField ("Nick Name:", 20, eMailPane); pane.add (eMailPane); JPanel phonePane = new JPanel(false); phonePane.setLayout (new GridLayout (5,2)); makeField ("Work:", 20, phonePane); makeField ("Home:", 20, phonePane); makeField ("Fax:", 20, phonePane); makeField ("Pager:", 20, phonePane); makeField ("Cellular:", 20, phonePane); pane.add (phonePane); return pane; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/ce31ec0ca81f17d0dd5a6c08e86c15d748a6e0e1/NewCardDialog.java/clean/grendel/addressbook/NewCardDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 24048, 752, 461, 5537, 1832, 288, 3639, 368, 5787, 6390, 4486, 6594, 711, 314, 303, 841, 225, 1593, 329, 1368, 518, 18, 3639, 24048, 13618, 273, 394, 24048, 12, 5743, 1769, 3639, 13618, 18, 542, 3744, 261, 2704, 9473, 3744, 12, 5249, 3744, 18, 10066, 10019, 3639, 24048, 508, 8485, 273, 394, 24048, 12, 5743, 1769, 3639, 508, 8485, 18, 542, 3744, 261, 2704, 7145, 3744, 12, 23, 16, 22, 10019, 3639, 1221, 974, 7566, 3759, 1770, 2773, 16, 4200, 16, 508, 8485, 1769, 3639, 1221, 974, 7566, 3024, 1770, 2773, 16, 4200, 16, 508, 8485, 1769, 3639, 1221, 974, 7566, 4236, 1770, 2773, 16, 3462, 16, 508, 8485, 1769, 3639, 13618, 18, 1289, 261, 529, 8485, 1769, 3639, 24048, 425, 6759, 8485, 273, 394, 24048, 12, 5743, 1769, 3639, 425, 6759, 8485, 18, 542, 3744, 261, 2704, 7145, 3744, 261, 22, 16, 22, 10019, 3639, 1221, 974, 7566, 4134, 5267, 2773, 16, 4200, 16, 425, 6759, 8485, 1769, 3639, 1221, 974, 7566, 29756, 1770, 2773, 16, 4200, 16, 425, 6759, 8485, 1769, 3639, 13618, 18, 1289, 261, 73, 6759, 8485, 1769, 3639, 24048, 7353, 8485, 273, 394, 24048, 12, 5743, 1769, 3639, 7353, 8485, 18, 542, 3744, 261, 2704, 7145, 3744, 261, 25, 16, 22, 10019, 3639, 1221, 974, 7566, 2421, 2773, 16, 4200, 16, 7353, 8485, 1769, 3639, 1221, 974, 7566, 8684, 2773, 16, 4200, 16, 7353, 8485, 1769, 3639, 1221, 974, 7566, 28794, 2773, 16, 4200, 16, 7353, 8485, 1769, 3639, 1221, 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, 24048, 752, 461, 5537, 1832, 288, 3639, 368, 5787, 6390, 4486, 6594, 711, 314, 303, 841, 225, 1593, 329, 1368, 518, 18, 3639, 24048, 13618, 273, 394, 24048, 12, 5743, 1769, 3639, 13618, 18, 542, 3744, 261, 2704, 9473, 3744, 12, 5249, 3744, 18, 10066, 10019, 3639, 24048, 508, 8485, 273, 394, 24048, 12, 5743, 1769, 3639, 508, 8485, 18, 542, 3744, 261, 2704, 7145, 3744, 12, 23, 16, 22, 10019, 3639, 1221, 974, 7566, 3759, 1770, 2773, 16, 4200, 16, 508, 8485, 1769, 3639, 1221, 974, 7566, 3024, 1770, 2773, 16, 4200, 16, 508, 8485, 1769, 3639, 1221, 974, 7566, 4236, 1770, 2773, 16, 3462, 16, 508, 8485, 1769, 3639, 13618, 18, 1289, 261, 529, 8485, 2 ]
if (getRubyClass() == other.getRubyClass()) { return new RubyNumeric[] {this, other}; } else { return new RubyNumeric[] {RubyFloat.newFloat(getRuby(), getDoubleValue()), RubyFloat.newFloat(getRuby(), other.getDoubleValue())}; } }
if (getRubyClass() == other.getRubyClass()) { return new RubyNumeric[] {this, other}; } else { return new RubyNumeric[] {RubyFloat.newFloat(getRuby(), getDoubleValue()), RubyFloat.newFloat(getRuby(), other.getDoubleValue())}; } }
public RubyNumeric[] getCoerce(RubyNumeric other) { if (getRubyClass() == other.getRubyClass()) { return new RubyNumeric[] {this, other}; } else { return new RubyNumeric[] {RubyFloat.newFloat(getRuby(), getDoubleValue()), RubyFloat.newFloat(getRuby(), other.getDoubleValue())}; } }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/e3f72aab20ef1fc8576d8fa6823d9722ed33c55c/RubyNumeric.java/clean/org/jruby/RubyNumeric.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 8526, 19850, 2765, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 309, 261, 588, 54, 10340, 797, 1435, 422, 1308, 18, 588, 54, 10340, 797, 10756, 288, 5411, 327, 394, 19817, 9902, 8526, 288, 2211, 16, 1308, 20451, 3639, 289, 469, 288, 5411, 327, 394, 19817, 9902, 8526, 288, 54, 10340, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 3631, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 1308, 18, 588, 5265, 620, 10756, 20451, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 8526, 19850, 2765, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 309, 261, 588, 54, 10340, 797, 1435, 422, 1308, 18, 588, 54, 10340, 797, 10756, 288, 5411, 327, 394, 19817, 9902, 8526, 288, 2211, 16, 1308, 20451, 3639, 289, 469, 288, 5411, 327, 394, 19817, 9902, 8526, 288, 54, 10340, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 3631, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 1308, 18, 588, 5265, 620, 10756, 20451, 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 ]
IScannerInfo scanInfo, ICodeReaderFactory codeReaderFactory, IIndex index) throws CoreException {
IScannerInfo scanInfo, ICodeReaderFactory codeReaderFactory, IIndex index, IParserLogService log) throws CoreException {
public IASTTranslationUnit getASTTranslationUnit(CodeReader reader, IScannerInfo scanInfo, ICodeReaderFactory codeReaderFactory, IIndex index) throws CoreException { IScannerExtensionConfiguration scannerExtensionConfiguration= C_GNU_SCANNER_EXTENSION; IScanner scanner = new DOMScanner(reader, scanInfo, ParserMode.COMPLETE_PARSE, ParserLanguage.C, ParserFactory.createDefaultLogService(), scannerExtensionConfiguration, codeReaderFactory); //assume GCC ISourceCodeParser parser = new GNUCSourceParser( scanner, ParserMode.COMPLETE_PARSE, ParserUtil.getParserLogService(), new GCCParserExtensionConfiguration() ); // Parse IASTTranslationUnit ast = parser.parse(); // mstodo isn't that too late to set the index? ast.setIndex(index); return ast; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/d462042f3aa406fb06e85c69d97d6f6e837846b0/GCCLanguage.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/gnu/c/GCCLanguage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 9053, 6717, 2802, 4506, 882, 6717, 2802, 12, 1085, 2514, 2949, 16, 1875, 202, 45, 11338, 966, 4135, 966, 16, 467, 1085, 2514, 1733, 981, 2514, 1733, 16, 467, 1016, 770, 13, 1216, 30015, 288, 202, 565, 467, 11338, 3625, 1750, 7683, 3625, 1750, 33, 385, 67, 8318, 57, 67, 2312, 11489, 654, 67, 12796, 31, 202, 202, 45, 11338, 7683, 273, 394, 4703, 11338, 12, 10530, 16, 4135, 966, 16, 6783, 2309, 18, 15795, 67, 21045, 16, 7734, 6783, 3779, 18, 39, 16, 6783, 1733, 18, 2640, 1868, 1343, 1179, 9334, 7683, 3625, 1750, 16, 981, 2514, 1733, 1769, 202, 565, 368, 428, 2066, 611, 6743, 202, 202, 45, 1830, 1085, 2678, 2082, 273, 394, 611, 50, 17479, 1830, 2678, 12, 7683, 16, 6783, 2309, 18, 15795, 67, 21045, 16, 6783, 1304, 18, 588, 2678, 1343, 1179, 9334, 9506, 202, 2704, 611, 6743, 2678, 3625, 1750, 1435, 225, 11272, 202, 565, 368, 2884, 202, 202, 45, 9053, 6717, 2802, 3364, 273, 2082, 18, 2670, 5621, 202, 202, 759, 312, 334, 7370, 5177, 1404, 716, 4885, 26374, 358, 444, 326, 770, 35, 202, 202, 689, 18, 542, 1016, 12, 1615, 1769, 202, 202, 2463, 3364, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 9053, 6717, 2802, 4506, 882, 6717, 2802, 12, 1085, 2514, 2949, 16, 1875, 202, 45, 11338, 966, 4135, 966, 16, 467, 1085, 2514, 1733, 981, 2514, 1733, 16, 467, 1016, 770, 13, 1216, 30015, 288, 202, 565, 467, 11338, 3625, 1750, 7683, 3625, 1750, 33, 385, 67, 8318, 57, 67, 2312, 11489, 654, 67, 12796, 31, 202, 202, 45, 11338, 7683, 273, 394, 4703, 11338, 12, 10530, 16, 4135, 966, 16, 6783, 2309, 18, 15795, 67, 21045, 16, 7734, 6783, 3779, 18, 39, 16, 6783, 1733, 18, 2640, 1868, 1343, 1179, 9334, 7683, 3625, 1750, 16, 981, 2514, 1733, 1769, 202, 565, 368, 428, 2066, 611, 6743, 202, 202, 45, 1830, 1085, 2678, 2082, 273, 2 ]
return getRubyClass().call(this, mid, args, 1);
return funcall(mid, new RubyPointer(args));
public RubyObject funcall(RubyId mid, RubyObject[] args) { return getRubyClass().call(this, mid, args, 1); }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/f629550c5947df9c1dbe414645f3dc76bcb70df4/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 1326, 454, 12, 54, 10340, 548, 7501, 16, 19817, 921, 8526, 833, 13, 288, 3639, 327, 1326, 454, 12, 13138, 16, 394, 19817, 4926, 12, 1968, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 1326, 454, 12, 54, 10340, 548, 7501, 16, 19817, 921, 8526, 833, 13, 288, 3639, 327, 1326, 454, 12, 13138, 16, 394, 19817, 4926, 12, 1968, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.error("Exception parsing " + AGENT_PORT + " : ", e);
log.error("Exception parsing " + AGENT_HTTP_PORT + " : ", e);
private static void setHostToMonitor() { Logger log = CSMART.createLogger("org.cougaar.tools.csmart.ui.monitor.viewer.CSMARUL"); ArrayList potentialHosts = new ArrayList(); ArrayList potentialNodes = new ArrayList(); HostComponent[] hosts = experiment.getHostComponents(); for (int i = 0; i < hosts.length; i++) { NodeComponent[] nodes = hosts[i].getNodes(); // skip hosts that have no nodes if (nodes == null || nodes.length == 0) continue; for (int j = 0; j < nodes.length; j++) { AgentComponent[] agents = nodes[j].getAgents(); // skip nodes that have no agents if (agents == null || agents.length == 0) continue; // potential hosts and nodes agentHost = hosts[i].getShortName(); Properties arguments = nodes[j].getArguments(); if (arguments == null) continue; String port = arguments.getProperty(AGENT_PORT); if (port != null) { try { agentPort = Integer.parseInt(port); break; // have host and specific port } catch (Exception e) { if (log.isErrorEnabled()) log.error("Exception parsing " + AGENT_PORT + " : ", e); } } } } // FIXME: Use secure mode here if necessary! Perhaps the experiment / host knows? agentURL = ClientServletUtil.makeURL(agentHost, agentPort); reset(agentHost, agentPort); }
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/fd6aa8dc06b6caba432960804244c27d9685ab6b/CSMARTUL.java/buggy/csmart/src/org/cougaar/tools/csmart/ui/monitor/viewer/CSMARTUL.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 444, 2594, 774, 7187, 1435, 288, 565, 4242, 613, 273, 6761, 49, 4928, 18, 2640, 3328, 2932, 3341, 18, 2894, 637, 69, 297, 18, 6642, 18, 2143, 81, 485, 18, 4881, 18, 10259, 18, 25256, 18, 4596, 19772, 1506, 8863, 565, 2407, 8555, 12172, 273, 394, 2407, 5621, 565, 2407, 8555, 3205, 273, 394, 2407, 5621, 565, 4893, 1841, 8526, 7206, 273, 8724, 18, 588, 2594, 7171, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7206, 18, 2469, 31, 277, 27245, 288, 1377, 2029, 1841, 8526, 2199, 273, 7206, 63, 77, 8009, 588, 3205, 5621, 1377, 368, 2488, 7206, 716, 1240, 1158, 2199, 1377, 309, 261, 4690, 422, 446, 747, 2199, 18, 2469, 422, 374, 13, 3639, 1324, 31, 1377, 364, 261, 474, 525, 273, 374, 31, 525, 411, 2199, 18, 2469, 31, 525, 27245, 288, 202, 3630, 1841, 8526, 16423, 273, 2199, 63, 78, 8009, 588, 23400, 5621, 202, 759, 2488, 2199, 716, 1240, 1158, 16423, 202, 430, 261, 23560, 422, 446, 747, 16423, 18, 2469, 422, 374, 13, 202, 225, 1324, 31, 3639, 368, 8555, 7206, 471, 2199, 3639, 4040, 2594, 273, 7206, 63, 77, 8009, 588, 29983, 5621, 3639, 6183, 1775, 273, 2199, 63, 78, 8009, 588, 4628, 5621, 3639, 309, 261, 7099, 422, 446, 13, 1850, 1324, 31, 3639, 514, 1756, 273, 1775, 18, 588, 1396, 12, 15005, 67, 6354, 1769, 3639, 309, 261, 655, 480, 446, 13, 288, 1850, 775, 288, 5411, 4040, 2617, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 444, 2594, 774, 7187, 1435, 288, 565, 4242, 613, 273, 6761, 49, 4928, 18, 2640, 3328, 2932, 3341, 18, 2894, 637, 69, 297, 18, 6642, 18, 2143, 81, 485, 18, 4881, 18, 10259, 18, 25256, 18, 4596, 19772, 1506, 8863, 565, 2407, 8555, 12172, 273, 394, 2407, 5621, 565, 2407, 8555, 3205, 273, 394, 2407, 5621, 565, 4893, 1841, 8526, 7206, 273, 8724, 18, 588, 2594, 7171, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7206, 18, 2469, 31, 277, 27245, 288, 1377, 2029, 1841, 8526, 2199, 273, 7206, 63, 77, 8009, 588, 3205, 5621, 1377, 368, 2488, 7206, 716, 1240, 1158, 2199, 1377, 309, 261, 4690, 422, 446, 747, 2199, 18, 2 ]
updateSelection( ); }
viewer.getTable( ).remove( viewer.getTable( ).getSelectionIndex( ) ); updateSelection( );
private void deleteSelection( ) { if ( viewer.getTable( ).getSelectionIndex( ) != -1 ) { String key = keyText.getText( ); content.remove( key ); viewer.getTable( ).remove( viewer.getTable( ).getSelectionIndex( ) ); updateSelection( ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/dc0977ff7f37f38bfb96cca854d10950faf29d75/ResourceEditDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ResourceEditDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1430, 6233, 12, 262, 202, 95, 202, 202, 430, 261, 14157, 18, 588, 1388, 12, 262, 18, 588, 6233, 1016, 12, 262, 480, 300, 21, 262, 202, 202, 95, 1082, 202, 780, 498, 273, 498, 1528, 18, 588, 1528, 12, 11272, 1082, 202, 1745, 18, 4479, 12, 498, 11272, 1082, 202, 25256, 18, 588, 1388, 12, 262, 18, 4479, 12, 14157, 18, 588, 1388, 12, 262, 18, 588, 6233, 1016, 12, 262, 11272, 1082, 202, 2725, 6233, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 1152, 918, 1430, 6233, 12, 262, 202, 95, 202, 202, 430, 261, 14157, 18, 588, 1388, 12, 262, 18, 588, 6233, 1016, 12, 262, 480, 300, 21, 262, 202, 202, 95, 1082, 202, 780, 498, 273, 498, 1528, 18, 588, 1528, 12, 11272, 1082, 202, 1745, 18, 4479, 12, 498, 11272, 1082, 202, 25256, 18, 588, 1388, 12, 262, 18, 4479, 12, 14157, 18, 588, 1388, 12, 262, 18, 588, 6233, 1016, 12, 262, 11272, 1082, 202, 2725, 6233, 12, 11272, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return ProgressMessages.format( "JobInfo.Error", new Object[] { job.getName(), status.getMessage()});
return ProgressMessages.format("JobInfo.Error", new Object[] { job.getName(), status.getMessage()});
String getDisplayString() { if (status.getCode() == PENDING_STATUS) return ProgressMessages.format( "JobInfo.Pending", //$NON-NLS-1$ new Object[] { status.getMessage()}); if (status.getCode() == IStatus.ERROR) return ProgressMessages.format( "JobInfo.Error", //$NON-NLS-1$ new Object[] { job.getName(), status.getMessage()}); return status.getMessage(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/b5aaaaca0023702e9ee9b7558f0893da732e6f72/JobInfo.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 780, 13854, 780, 1435, 288, 202, 202, 430, 261, 2327, 18, 588, 1085, 1435, 422, 28454, 67, 8608, 13, 1082, 202, 2463, 10980, 5058, 18, 2139, 12, 9506, 202, 6, 2278, 966, 18, 8579, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 1033, 8526, 288, 1267, 18, 24906, 17767, 1769, 202, 202, 430, 261, 2327, 18, 588, 1085, 1435, 422, 467, 1482, 18, 3589, 13, 1082, 202, 2463, 10980, 5058, 18, 2139, 12, 9506, 202, 6, 2278, 966, 18, 668, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 1033, 8526, 288, 1719, 18, 17994, 9334, 1267, 18, 24906, 17767, 1769, 202, 202, 2463, 1267, 18, 24906, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 780, 13854, 780, 1435, 288, 202, 202, 430, 261, 2327, 18, 588, 1085, 1435, 422, 28454, 67, 8608, 13, 1082, 202, 2463, 10980, 5058, 18, 2139, 12, 9506, 202, 6, 2278, 966, 18, 8579, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 1033, 8526, 288, 1267, 18, 24906, 17767, 1769, 202, 202, 430, 261, 2327, 18, 588, 1085, 1435, 422, 467, 1482, 18, 3589, 13, 1082, 202, 2463, 10980, 5058, 18, 2139, 12, 9506, 202, 6, 2278, 966, 18, 668, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 1033, 8526, 288, 1719, 18, 17994, 9334, 1267, 18, 24906, 17767, 1769, 202, 202, 2463, 1267, 18, 24906, 5621, 202, 97, 2, -100, -100 ]
if (firstTokenOfLocationPath && i+1<tokenCount){ token=xtokens.getToken(i+1); if (token == XPath.Tokens.EXPRTOKEN_OPERATOR_DOUBLE_SLASH){ i++; if (i == tokenCount - 1) { throw new XPathException("c-general-xpath"); } if (i+1<tokenCount) { token=xtokens.getToken(i+1); if (token==XPath.Tokens.EXPRTOKEN_OPERATOR_SLASH) throw new XPathException("c-general-xpath"); } axis = new Axis(Axis.DESCENDANT); nodeTest = new NodeTest(NodeTest.NODE); step = new Step(axis, nodeTest); stepsVector.addElement(step); }
if (stepsVector.size()==1/*this '.' is the first step in this path.*/ && xtokens.hasMore() && xtokens.peekToken() == XPath.Tokens.EXPRTOKEN_OPERATOR_DOUBLE_SLASH){ xtokens.nextToken(); axis = new Axis(Axis.DESCENDANT); nodeTest = new NodeTest(NodeTest.NODE); step = new Step(axis, nodeTest); stepsVector.addElement(step);
private void parseExpression(final NamespaceContext context) throws XPathException { // tokens final XPath.Tokens xtokens = new XPath.Tokens(fSymbolTable); // scanner XPath.Scanner scanner = new XPath.Scanner(fSymbolTable) { protected void addToken(XPath.Tokens tokens, int token) throws XPathException { if ( token == XPath.Tokens.EXPRTOKEN_ATSIGN || token == XPath.Tokens.EXPRTOKEN_AXISNAME_ATTRIBUTE || token == XPath.Tokens.EXPRTOKEN_AXISNAME_CHILD || //token == XPath.Tokens.EXPRTOKEN_AXISNAME_SELF || token == XPath.Tokens.EXPRTOKEN_DOUBLE_COLON || //token == XPath.Tokens.EXPRTOKEN_NAMETEST_ANY || token == XPath.Tokens.EXPRTOKEN_NAMETEST_QNAME || //token == XPath.Tokens.EXPRTOKEN_NODETYPE_NODE || token == XPath.Tokens.EXPRTOKEN_OPERATOR_SLASH || token == XPath.Tokens.EXPRTOKEN_PERIOD || //added to conform to PR Spec token == XPath.Tokens.EXPRTOKEN_NAMETEST_ANY || token == XPath.Tokens.EXPRTOKEN_NAMETEST_NAMESPACE || token == XPath.Tokens.EXPRTOKEN_OPERATOR_DOUBLE_SLASH || token == XPath.Tokens.EXPRTOKEN_OPERATOR_UNION // ) { super.addToken(tokens, token); return; } throw new XPathException("c-general-xpath"); } }; int length = fExpression.length(); boolean success = scanner.scanExpr(fSymbolTable, xtokens, fExpression, 0, length); //fTokens.dumpTokens(); java.util.Vector stepsVector = new java.util.Vector(); java.util.Vector locationPathsVector= new java.util.Vector(); int tokenCount = xtokens.getTokenCount(); boolean firstTokenOfLocationPath=true; for (int i = 0; i < tokenCount; i++) { int token = xtokens.getToken(i); boolean isNamespace=false; switch (token) { case XPath.Tokens.EXPRTOKEN_OPERATOR_UNION :{ if (i == 0) { throw new XPathException("c-general-xpath"); } int size = stepsVector.size(); if (size == 0) { throw new XPathException("c-general-xpath"); } Step[] steps = new Step[size]; stepsVector.copyInto(steps); // add location path locationPathsVector.addElement(new LocationPath(steps)); //reset stepsVector stepsVector.removeAllElements(); firstTokenOfLocationPath=true; break; } case XPath.Tokens.EXPRTOKEN_AXISNAME_ATTRIBUTE: { // consume "::" token and drop through i++; } case XPath.Tokens.EXPRTOKEN_ATSIGN: { // consume QName token if (i == tokenCount - 1) { throw new XPathException("c-general-xpath"); } token = xtokens.getToken(++i); if (token != XPath.Tokens.EXPRTOKEN_NAMETEST_QNAME && token!= XPath.Tokens.EXPRTOKEN_NAMETEST_ANY && token!= XPath.Tokens.EXPRTOKEN_NAMETEST_NAMESPACE) { throw new XPathException("c-general-xpath"); } boolean isNamespaceAtt=false; switch (token) { case XPath.Tokens.EXPRTOKEN_NAMETEST_ANY:{ Axis axis = new Axis(Axis.ATTRIBUTE); NodeTest nodeTest = new NodeTest(NodeTest.WILDCARD); Step step = new Step(axis, nodeTest); stepsVector.addElement(step); break; } case XPath.Tokens.EXPRTOKEN_NAMETEST_NAMESPACE:{ isNamespaceAtt=true; } case XPath.Tokens.EXPRTOKEN_NAMETEST_QNAME:{ token = xtokens.getToken(++i); String prefix = xtokens.getTokenString(token); String uri = null; if (context != null && prefix != XMLSymbols.EMPTY_STRING) { uri = context.getURI(prefix); } if (prefix != XMLSymbols.EMPTY_STRING && context != null && uri == null) { throw new XPathException("c-general-xpath-ns"); } if (isNamespaceAtt) { // build step Axis axis = new Axis(Axis.ATTRIBUTE); NodeTest nodeTest = new NodeTest(prefix, uri); Step step = new Step(axis, nodeTest); stepsVector.addElement(step); break; } token = xtokens.getToken(++i); String localpart = xtokens.getTokenString(token); String rawname = prefix != XMLSymbols.EMPTY_STRING ? fSymbolTable.addSymbol(prefix+':'+localpart) : localpart; // build step Axis axis = new Axis(Axis.ATTRIBUTE); NodeTest nodeTest = new NodeTest(new QName(prefix, localpart, rawname, uri)); Step step = new Step(axis, nodeTest); stepsVector.addElement(step); break; } } firstTokenOfLocationPath=false; break; } /*** case XPath.Tokens.EXPRTOKEN_AXISNAME_SELF: { break; } /***/ case XPath.Tokens.EXPRTOKEN_DOUBLE_COLON: { // should never have a bare double colon throw new XPathException("c-general-xpath"); } case XPath.Tokens.EXPRTOKEN_AXISNAME_CHILD: { // consume "::" token and drop through i++; if (i == tokenCount - 1) { throw new XPathException("c-general-xpath"); } firstTokenOfLocationPath=false; break; } case XPath.Tokens.EXPRTOKEN_NAMETEST_ANY:{ Axis axis = new Axis(Axis.CHILD); NodeTest nodeTest = new NodeTest(NodeTest.WILDCARD); Step step = new Step(axis, nodeTest); stepsVector.addElement(step); firstTokenOfLocationPath=false; break; } case XPath.Tokens.EXPRTOKEN_NAMETEST_NAMESPACE:{ isNamespace=true; } case XPath.Tokens.EXPRTOKEN_NAMETEST_QNAME: { // consume QName token token = xtokens.getToken(++i); String prefix = xtokens.getTokenString(token); String uri = null; if (context != null && prefix != XMLSymbols.EMPTY_STRING) { uri = context.getURI(prefix); } if (prefix != XMLSymbols.EMPTY_STRING && context != null && uri == null) { throw new XPathException("c-general-xpath-ns"); } if (isNamespace) { // build step Axis axis = new Axis(Axis.CHILD); NodeTest nodeTest = new NodeTest(prefix, uri); Step step = new Step(axis, nodeTest); stepsVector.addElement(step); break; } token = xtokens.getToken(++i); String localpart = xtokens.getTokenString(token); String rawname = prefix != XMLSymbols.EMPTY_STRING ? fSymbolTable.addSymbol(prefix+':'+localpart) : localpart; // build step Axis axis = new Axis(Axis.CHILD); NodeTest nodeTest = new NodeTest(new QName(prefix, localpart, rawname, uri)); Step step = new Step(axis, nodeTest); stepsVector.addElement(step); firstTokenOfLocationPath=false; break; } /*** case XPath.Tokens.EXPRTOKEN_NODETYPE_NODE: { break; } /***/ case XPath.Tokens.EXPRTOKEN_PERIOD: { // build step Axis axis = new Axis(Axis.SELF); NodeTest nodeTest = new NodeTest(NodeTest.NODE); Step step = new Step(axis, nodeTest); stepsVector.addElement(step); if (firstTokenOfLocationPath && i+1<tokenCount){ token=xtokens.getToken(i+1); if (token == XPath.Tokens.EXPRTOKEN_OPERATOR_DOUBLE_SLASH){ i++; if (i == tokenCount - 1) { throw new XPathException("c-general-xpath"); } if (i+1<tokenCount) { token=xtokens.getToken(i+1); if (token==XPath.Tokens.EXPRTOKEN_OPERATOR_SLASH) throw new XPathException("c-general-xpath"); } // build step axis = new Axis(Axis.DESCENDANT); nodeTest = new NodeTest(NodeTest.NODE); step = new Step(axis, nodeTest); stepsVector.addElement(step); } } firstTokenOfLocationPath=false; break; } case XPath.Tokens.EXPRTOKEN_OPERATOR_DOUBLE_SLASH:{ throw new XPathException("c-general-xpath"); } case XPath.Tokens.EXPRTOKEN_OPERATOR_SLASH: { if (i == 0) { throw new XPathException("c-general-xpath"); } // keep on truckin' if (firstTokenOfLocationPath) { throw new XPathException("c-general-xpath"); } if (i == tokenCount - 1) { throw new XPathException("c-general-xpath"); } firstTokenOfLocationPath=false; break; } default: firstTokenOfLocationPath=false; } } int size = stepsVector.size(); if (size == 0) { if (locationPathsVector.size()==0) throw new XPathException("c-general-xpath"); else throw new XPathException("c-general-xpath"); } Step[] steps = new Step[size]; stepsVector.copyInto(steps); locationPathsVector.addElement(new LocationPath(steps)); // save location path fLocationPaths=new LocationPath[locationPathsVector.size()]; locationPathsVector.copyInto(fLocationPaths); if (DEBUG_XPATH_PARSE) { System.out.println(">>> "+fLocationPaths); } } // parseExpression(SymbolTable,NamespaceContext)
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/57b08cf96886c49ee747ca0b34ee57b2192018ed/XPath.java/buggy/src/org/apache/xerces/impl/xpath/XPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 30838, 12, 6385, 6005, 1042, 819, 13, 3639, 1216, 10172, 503, 288, 3639, 368, 2430, 3639, 727, 10172, 18, 5157, 619, 7860, 273, 394, 10172, 18, 5157, 12, 74, 5335, 1388, 1769, 3639, 368, 7683, 3639, 10172, 18, 11338, 7683, 273, 394, 10172, 18, 11338, 12, 74, 5335, 1388, 13, 288, 5411, 4750, 918, 527, 1345, 12, 14124, 18, 5157, 2430, 16, 509, 1147, 13, 7734, 1216, 10172, 503, 288, 7734, 309, 261, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 789, 11260, 747, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 25614, 1985, 67, 11616, 747, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 25614, 1985, 67, 27043, 747, 10792, 368, 2316, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 25614, 1985, 67, 26280, 747, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 17088, 67, 4935, 673, 747, 10792, 368, 2316, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 1985, 16961, 67, 15409, 747, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 1985, 16961, 67, 16032, 747, 10792, 368, 2316, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 50, 1212, 27062, 67, 8744, 747, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 26110, 67, 24079, 747, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 28437, 747, 10792, 368, 9665, 358, 20156, 358, 11770, 4185, 10792, 1147, 422, 10172, 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, 3238, 918, 30838, 12, 6385, 6005, 1042, 819, 13, 3639, 1216, 10172, 503, 288, 3639, 368, 2430, 3639, 727, 10172, 18, 5157, 619, 7860, 273, 394, 10172, 18, 5157, 12, 74, 5335, 1388, 1769, 3639, 368, 7683, 3639, 10172, 18, 11338, 7683, 273, 394, 10172, 18, 11338, 12, 74, 5335, 1388, 13, 288, 5411, 4750, 918, 527, 1345, 12, 14124, 18, 5157, 2430, 16, 509, 1147, 13, 7734, 1216, 10172, 503, 288, 7734, 309, 261, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 789, 11260, 747, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 25614, 1985, 67, 11616, 747, 10792, 1147, 422, 10172, 18, 5157, 18, 2294, 8025, 8412, 67, 25614, 1985, 2 ]
int d; d = ( (Number) data[0]).intValue(); StringBuffer sb = new StringBuffer(d); sb.setLength(d); context.operands.push(sb);
InputStream is = (InputStream) data[0]; try { is.close(); } catch (IOException ex) { }
public void execute(PAContext context) throws PainterException { Object data[]; data = context.popOperands(1); if (! (data[0] instanceof Number)) { throw new PainterException("string: wrong arguments"); } int d; d = ( (Number) data[0]).intValue(); StringBuffer sb = new StringBuffer(d); sb.setLength(d); context.operands.push(sb); }
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/df09b355eb4d9479229c13d4205c9eb09bc903c5/PAContext.java/clean/itext/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 1033, 501, 8526, 31, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 21, 1769, 3639, 309, 16051, 261, 892, 63, 20, 65, 1276, 3588, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 1080, 30, 7194, 1775, 8863, 3639, 289, 3639, 509, 302, 31, 3639, 302, 273, 261, 261, 1854, 13, 501, 63, 20, 65, 2934, 474, 620, 5621, 3639, 6674, 2393, 273, 394, 6674, 12, 72, 1769, 3639, 2393, 18, 542, 1782, 12, 72, 1769, 3639, 819, 18, 4063, 5708, 18, 6206, 12, 18366, 1769, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 1033, 501, 8526, 31, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 21, 1769, 3639, 309, 16051, 261, 892, 63, 20, 65, 1276, 3588, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 1080, 30, 7194, 1775, 8863, 3639, 289, 3639, 509, 302, 31, 3639, 302, 273, 261, 261, 1854, 13, 501, 63, 20, 65, 2934, 474, 620, 5621, 3639, 6674, 2393, 273, 394, 6674, 12, 72, 1769, 3639, 2393, 18, 542, 1782, 12, 72, 1769, 3639, 819, 18, 4063, 5708, 18, 6206, 12, 18366, 1769, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
result=result.query(sp);
if (b.matches(keyValuePair)) bugs.add(b);
public BugSet query(BugAspects a) { BugSet result=this; for (StringPair sp:a) { result=result.query(sp); } return result; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/4acfa342e5e039be6313715a4c6e05d05946a462/BugSet.java/buggy/findbugs/src/java5/edu/umd/cs/findbugs/gui2/BugSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16907, 694, 843, 12, 19865, 17468, 87, 279, 13, 202, 95, 202, 202, 19865, 694, 563, 33, 2211, 31, 202, 202, 1884, 261, 780, 4154, 1694, 30, 69, 13, 202, 202, 95, 1082, 202, 2088, 33, 2088, 18, 2271, 12, 1752, 1769, 202, 202, 97, 202, 202, 2463, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 16907, 694, 843, 12, 19865, 17468, 87, 279, 13, 202, 95, 202, 202, 19865, 694, 563, 33, 2211, 31, 202, 202, 1884, 261, 780, 4154, 1694, 30, 69, 13, 202, 202, 95, 1082, 202, 2088, 33, 2088, 18, 2271, 12, 1752, 1769, 202, 202, 97, 202, 202, 2463, 563, 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 ]
if (url.endsWith("(eval)")) { url = url.substring(0, url.length() - 6); }
void interrupted(Context cx) { synchronized (swingMonitor) { if (SwingUtilities.isEventDispatchThread()) { dispatcherIsWaiting++; if (nonDispatcherWaiting) { // Another thread is stopped in the debugger // process events until it resumes and we // can enter java.awt.EventQueue eventQ = java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue(); while (nonDispatcherWaiting) { try { AWTEvent event = eventQ.getNextEvent(); if (event instanceof ActiveEvent) { ((ActiveEvent)event).dispatch(); } else { Object source = event.getSource(); if (source instanceof Component) { Component comp = (Component)source; // Suppress Window/InputEvent's that aren't // directed to the Debugger // if (!(event instanceof InputEvent || //event instanceof WindowEvent)|| //shouldDispatchTo(comp)) { comp.dispatchEvent(event); //} } else if (source instanceof MenuComponent) { ((MenuComponent)source).dispatchEvent(event); } } if (this.returnValue == EXIT) { return; } swingMonitor.wait(1); } catch (InterruptedException exc) { return; } } } } else { while (isInterrupted || dispatcherIsWaiting > 0) { try { swingMonitor.wait(); } catch (InterruptedException exc) { return; } } nonDispatcherWaiting = true; } isInterrupted = true; } do { currentContext = cx; ContextData contextData = ContextData.get(cx); Thread thread = Thread.currentThread(); statusBar.setText("Thread: " + thread.toString()); ThreadState state = (ThreadState)threadState.get(thread); int stopAtFrameDepth = -1; if (state != null) { stopAtFrameDepth = state.stopAtFrameDepth; } if (runToCursorFile != null && thread == runToCursorThread) { int frameCount = contextData.getFrameCount(); if (frameCount > 0) { FrameHelper frame = contextData.getFrame(0); String url = frame.getUrl(); if (url != null) { if (url.endsWith("(eval)")) { url = url.substring(0, url.length() - 6); } if (url.equals(runToCursorFile)) { int lineNumber = frame.getLineNumber(); if (lineNumber == runToCursorLine) { stopAtFrameDepth = -1; runToCursorFile = null; } else { FileWindow w = getFileWindow(url); if (w == null || !w.isBreakPoint(lineNumber)) { return; } else { runToCursorFile = null; } } } } } else { } } if (stopAtFrameDepth > 0) { if (contextData.getFrameCount() > stopAtFrameDepth) { break; } } if (state != null) { state.stopAtFrameDepth = -1; } threadState.remove(thread); int frameCount = contextData.getFrameCount(); this.frameIndex = frameCount -1; int line = 0; if (frameCount == 0) { break; } FrameHelper frame = contextData.getFrame(0); String url = frame.getUrl(); if (url.endsWith("(eval)")) { url = url.substring(0, url.length() - 6); } contextData.breakNextLine = false; line = frame.getLineNumber(); int enterCount = 0; boolean isDispatchThread = SwingUtilities.isEventDispatchThread(); if (!isDispatchThread) { // detach cx from its thread so the debugger (in the awt // dispatcher thread) can enter it if necessary cx.exit(); while (Context.getCurrentContext() != null) { Context.exit(); enterCount++; } } if (url != null && !url.equals("<stdin>")) { FileWindow w = (FileWindow)getFileWindow(url); if (w != null) { SetFilePosition action = new SetFilePosition(this, w, line); swingInvoke(action); } else { SourceInfo si = frame.getSourceInfo(); swingInvoke(CreateFileWindow.action(this, si, line)); } } else { if (console.isVisible()) { final JSInternalConsole finalConsole = console; swingInvoke(new Runnable() { public void run() { finalConsole.show(); } }); } } swingInvoke(new EnterInterrupt(this, cx)); swingInvoke(new UpdateContext(this, cx)); int returnValue; if (!isDispatchThread) { synchronized (monitor) { this.returnValue = -1; try { while (this.returnValue == -1) { monitor.wait(); } returnValue = this.returnValue; } catch (InterruptedException exc) { break; } } } else { java.awt.EventQueue eventQ = java.awt.Toolkit.getDefaultToolkit().getSystemEventQueue(); this.returnValue = -1; while (this.returnValue == -1) { try { AWTEvent event = eventQ.getNextEvent(); if (event instanceof ActiveEvent) { ((ActiveEvent)event).dispatch(); } else { Object source = event.getSource(); if (source instanceof Component) { Component comp = (Component)source; // Suppress Window/InputEvent's that aren't // directed to the Debugger // if (!(event instanceof InputEvent || //event instanceof WindowEvent)|| // shouldDispatchTo(comp)) { //comp.dispatchEvent(event); //} comp.dispatchEvent(event); } else if (source instanceof MenuComponent) { ((MenuComponent)source).dispatchEvent(event); } } } catch (InterruptedException exc) { } } returnValue = this.returnValue; } swingInvoke(new ExitInterrupt(this)); if (!isDispatchThread) { // reattach cx to its thread Context current; if ((current = Context.enter(cx)) != cx) { System.out.println("debugger error: cx = " + cx + " current = " + current); } while (enterCount > 0) { Context.enter(); enterCount--; } } switch (returnValue) { case STEP_OVER: contextData.breakNextLine = true; stopAtFrameDepth = contextData.getFrameCount(); if (state == null) { state = new ThreadState(); } state.stopAtFrameDepth = stopAtFrameDepth; threadState.put(thread, state); break; case STEP_INTO: contextData.breakNextLine = true; if (state != null) { state.stopAtFrameDepth = -1; } break; case STEP_OUT: stopAtFrameDepth = contextData.getFrameCount() -1; if (stopAtFrameDepth > 0) { contextData.breakNextLine = true; if (state == null) { state = new ThreadState(); } state.stopAtFrameDepth = stopAtFrameDepth; threadState.put(thread, state); } break; case RUN_TO_CURSOR: contextData.breakNextLine = true; if (state != null) { state.stopAtFrameDepth = -1; } break; } } while (false); synchronized (swingMonitor) { isInterrupted = false; if (SwingUtilities.isEventDispatchThread()) { dispatcherIsWaiting--; } else { nonDispatcherWaiting = false; } swingMonitor.notifyAll(); } }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/b9c8ca323ca173a23c248597998820c10e5530b8/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 15711, 12, 1042, 9494, 13, 288, 3639, 3852, 261, 5328, 310, 7187, 13, 288, 5411, 309, 261, 6050, 310, 11864, 18, 291, 1133, 5325, 3830, 10756, 288, 7734, 7393, 2520, 15946, 9904, 31, 7734, 309, 261, 5836, 6681, 15946, 13, 288, 10792, 368, 432, 24413, 2650, 353, 9627, 316, 326, 19977, 10792, 368, 1207, 2641, 3180, 518, 400, 6411, 471, 732, 10792, 368, 848, 6103, 10792, 2252, 18, 2219, 88, 18, 1133, 3183, 871, 53, 225, 273, 13491, 2252, 18, 2219, 88, 18, 6364, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 3163, 1133, 3183, 5621, 10792, 1323, 261, 5836, 6681, 15946, 13, 288, 13491, 775, 288, 18701, 432, 8588, 1133, 871, 273, 871, 53, 18, 588, 2134, 1133, 5621, 18701, 309, 261, 2575, 1276, 8857, 1133, 13, 288, 27573, 14015, 3896, 1133, 13, 2575, 2934, 10739, 5621, 18701, 289, 469, 288, 27573, 1033, 1084, 273, 871, 18, 588, 1830, 5621, 27573, 309, 261, 3168, 1276, 5435, 13, 288, 4766, 565, 5435, 1161, 273, 261, 1841, 13, 3168, 31, 27573, 368, 4598, 6076, 19, 1210, 1133, 1807, 716, 11526, 1404, 27573, 368, 20830, 358, 326, 28645, 4766, 565, 368, 309, 16051, 12, 2575, 1276, 2741, 1133, 747, 4766, 565, 368, 2575, 1276, 6076, 1133, 14047, 96, 4766, 565, 368, 13139, 5325, 774, 12, 2919, 3719, 288, 4766, 565, 1161, 18, 10739, 1133, 12, 2575, 1769, 27573, 19363, 27573, 289, 469, 309, 261, 3168, 1276, 9809, 1841, 13, 288, 4766, 565, 14015, 4599, 1841, 13, 3168, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 15711, 12, 1042, 9494, 13, 288, 3639, 3852, 261, 5328, 310, 7187, 13, 288, 5411, 309, 261, 6050, 310, 11864, 18, 291, 1133, 5325, 3830, 10756, 288, 7734, 7393, 2520, 15946, 9904, 31, 7734, 309, 261, 5836, 6681, 15946, 13, 288, 10792, 368, 432, 24413, 2650, 353, 9627, 316, 326, 19977, 10792, 368, 1207, 2641, 3180, 518, 400, 6411, 471, 732, 10792, 368, 848, 6103, 10792, 2252, 18, 2219, 88, 18, 1133, 3183, 871, 53, 225, 273, 13491, 2252, 18, 2219, 88, 18, 6364, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 3163, 1133, 3183, 5621, 10792, 1323, 261, 5836, 6681, 15946, 13, 288, 13491, 775, 288, 18701, 432, 8588, 1133, 871, 273, 871, 53, 18, 588, 2 ]
public void minimizeFrame(JInternalFrame frame);
void minimizeFrame(JInternalFrame frame);
public void minimizeFrame(JInternalFrame frame);
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/DesktopManager.java/buggy/core/src/classpath/javax/javax/swing/DesktopManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18935, 3219, 12, 46, 3061, 3219, 2623, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18935, 3219, 12, 46, 3061, 3219, 2623, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (logger.isInfoEnabled()) { logger.info("Persist requested (persist)"); } synchronized (transactionLock) { if (persistActive) {
while (true) { synchronized (transactionLock) { if (persistActive) { if (logger.isInfoEnabled()) { logger.info("Waiting for active persist to complete"); } do { try { transactionLock.wait(); } catch (InterruptedException ie) { } } while (persistActive); }
private Object persist(boolean isStateWanted, boolean full) throws PersistenceNotEnabledException { assert !Thread.holdsLock(distributorLock); assert !Thread.holdsLock(transactionLock); if (persistence == null) throw new PersistenceNotEnabledException(); if (logger.isInfoEnabled()) { logger.info("Persist requested (persist)"); } synchronized (transactionLock) { if (persistActive) { if (logger.isInfoEnabled()) { logger.info("Waiting for active persist to complete"); } do { try { transactionLock.wait(); } catch (InterruptedException ie) { } } while (persistActive); } persistActive = true; if (logger.isInfoEnabled()) { logger.info( "Waiting for "+transactionCount+ " transactions to close"); } transactionCount++; assert transactionCount >= 1 : transactionCount; try { while (transactionCount > 1) { try { transactionLock.wait(); } catch (InterruptedException ie) { } } if (logger.isInfoEnabled()) { logger.info("Persist started (persist)"); } assert transactionCount == 1 : transactionCount; // persistPending == don't care, transactionCount == 1 // We are the only one left in the pool return doPersistence(isStateWanted, full); } finally { if (logger.isInfoEnabled()) { logger.info("Persist completed (persist)"); } persistActive = false; --transactionCount; assert transactionCount == 0 : transactionCount; transactionLock.notifyAll(); } } }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/afcfaf33ac1a3fb95ead8cbf161e652f5e141892/Distributor.java/clean/core/src/org/cougaar/core/blackboard/Distributor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1033, 3898, 12, 6494, 353, 1119, 59, 970, 329, 16, 1250, 1983, 13, 565, 1216, 13381, 1248, 1526, 503, 565, 288, 1377, 1815, 401, 3830, 18, 21056, 87, 2531, 12, 2251, 19293, 2531, 1769, 1377, 1815, 401, 3830, 18, 21056, 87, 2531, 12, 7958, 2531, 1769, 1377, 309, 261, 24854, 422, 446, 13, 3639, 604, 394, 13381, 1248, 1526, 503, 5621, 1377, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 3639, 1194, 18, 1376, 2932, 12771, 3764, 261, 19251, 2225, 1769, 1377, 289, 1377, 3852, 261, 7958, 2531, 13, 288, 3639, 309, 261, 19251, 3896, 13, 288, 1850, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 5411, 1194, 18, 1376, 2932, 15946, 364, 2695, 3898, 358, 3912, 8863, 1850, 289, 1850, 741, 288, 5411, 775, 288, 2868, 2492, 2531, 18, 7048, 5621, 5411, 289, 1044, 261, 24485, 503, 9228, 13, 288, 5411, 289, 1850, 289, 1323, 261, 19251, 3896, 1769, 3639, 289, 3639, 3898, 3896, 273, 638, 31, 3639, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 1850, 1194, 18, 1376, 12, 2868, 315, 15946, 364, 13773, 7958, 1380, 15, 2868, 315, 8938, 358, 1746, 8863, 3639, 289, 3639, 2492, 1380, 9904, 31, 3639, 1815, 2492, 1380, 1545, 404, 294, 2492, 1380, 31, 3639, 775, 288, 1850, 1323, 261, 7958, 1380, 405, 404, 13, 288, 5411, 775, 288, 2868, 2492, 2531, 18, 7048, 5621, 5411, 289, 1044, 261, 24485, 503, 9228, 13, 288, 5411, 289, 1850, 289, 1850, 309, 261, 4901, 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, 3238, 1033, 3898, 12, 6494, 353, 1119, 59, 970, 329, 16, 1250, 1983, 13, 565, 1216, 13381, 1248, 1526, 503, 565, 288, 1377, 1815, 401, 3830, 18, 21056, 87, 2531, 12, 2251, 19293, 2531, 1769, 1377, 1815, 401, 3830, 18, 21056, 87, 2531, 12, 7958, 2531, 1769, 1377, 309, 261, 24854, 422, 446, 13, 3639, 604, 394, 13381, 1248, 1526, 503, 5621, 1377, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 3639, 1194, 18, 1376, 2932, 12771, 3764, 261, 19251, 2225, 1769, 1377, 289, 1377, 3852, 261, 7958, 2531, 13, 288, 3639, 309, 261, 19251, 3896, 13, 288, 1850, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 5411, 1194, 18, 1376, 2932, 15946, 364, 2695, 3898, 2 ]
"Entering createExpression with Kind=",
"Entering createExpression with Kind=",
public IASTExpression createExpression( IASTScope scope, Kind kind, IASTExpression lhs, IASTExpression rhs, IASTExpression thirdExpression, IASTTypeId typeId, ITokenDuple idExpression, String literal, IASTNewExpressionDescriptor newDescriptor) throws ASTSemanticException { if( idExpression != null ) { TraceUtil.outputTrace( logService, "Entering createExpression with Kind=", null, kind.getKindName(), " idexpression=", idExpression.toString() ); } else if( literal != null && !literal.equals( "" )) //$NON-NLS-1$ { TraceUtil.outputTrace( logService, "Entering createExpression with Kind=", null, kind.getKindName(), " literal=", literal ); } List references = new ArrayList(); ISymbol symbol = getExpressionSymbol(scope, kind, lhs, rhs, idExpression, references ); // Try to figure out the result that this expression evaluates to ExpressionResult expressionResult = getExpressionResultType(scope, kind, lhs, rhs, thirdExpression, typeId, literal, symbol); // expression results could be empty, but should not be null// assert expressionResult != null : expressionResult; //throw new ASTSemanticException(); // create the ASTExpression ASTExpression expression = new ASTExpression( kind, lhs, rhs, thirdExpression, typeId, idExpression, literal, newDescriptor, references); // Assign the result to the created expression expression.setResultType (expressionResult); return expression; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/0662f31cee158c7a5c8cfd1f71ba1558be904612/CompleteParseASTFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/CompleteParseASTFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 467, 9053, 2300, 752, 2300, 12, 3639, 467, 9053, 3876, 2146, 16, 3639, 5851, 3846, 16, 3639, 467, 9053, 2300, 8499, 16, 3639, 467, 9053, 2300, 7711, 16, 3639, 467, 9053, 2300, 12126, 2300, 16, 3639, 467, 9053, 11731, 24361, 16, 3639, 467, 1345, 40, 2268, 612, 2300, 16, 514, 7158, 16, 467, 9053, 1908, 2300, 3187, 394, 3187, 13, 1216, 9183, 13185, 9941, 503, 565, 288, 377, 202, 430, 12, 612, 2300, 480, 446, 262, 377, 202, 95, 377, 202, 202, 3448, 1304, 18, 2844, 3448, 12, 377, 9506, 202, 1330, 1179, 16, 377, 9506, 202, 6, 10237, 310, 752, 2300, 598, 5851, 1546, 16, 6862, 202, 2011, 16, 6862, 202, 9224, 18, 588, 5677, 461, 9334, 6862, 202, 6, 277, 561, 1337, 1546, 16, 6862, 202, 350, 2300, 18, 10492, 1435, 377, 9506, 202, 1769, 377, 202, 97, 377, 202, 12107, 309, 12, 7158, 480, 446, 597, 401, 13107, 18, 14963, 12, 1408, 8623, 4329, 3993, 17, 5106, 17, 21, 8, 377, 202, 95, 3639, 202, 202, 3448, 1304, 18, 2844, 3448, 12, 3639, 9506, 202, 1330, 1179, 16, 377, 9506, 202, 6, 10237, 310, 752, 2300, 598, 5851, 1546, 16, 6862, 202, 2011, 16, 6862, 202, 9224, 18, 588, 5677, 461, 9334, 6862, 202, 6, 7158, 1546, 16, 6862, 202, 13107, 377, 9506, 202, 1769, 377, 202, 97, 377, 202, 377, 202, 682, 5351, 273, 394, 2407, 5621, 3196, 202, 5127, 3284, 3273, 273, 16183, 5335, 12, 4887, 16, 3846, 16, 8499, 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, 9053, 2300, 752, 2300, 12, 3639, 467, 9053, 3876, 2146, 16, 3639, 5851, 3846, 16, 3639, 467, 9053, 2300, 8499, 16, 3639, 467, 9053, 2300, 7711, 16, 3639, 467, 9053, 2300, 12126, 2300, 16, 3639, 467, 9053, 11731, 24361, 16, 3639, 467, 1345, 40, 2268, 612, 2300, 16, 514, 7158, 16, 467, 9053, 1908, 2300, 3187, 394, 3187, 13, 1216, 9183, 13185, 9941, 503, 565, 288, 377, 202, 430, 12, 612, 2300, 480, 446, 262, 377, 202, 95, 377, 202, 202, 3448, 1304, 18, 2844, 3448, 12, 377, 9506, 202, 1330, 1179, 16, 377, 9506, 202, 6, 10237, 310, 752, 2300, 598, 5851, 1546, 16, 6862, 202, 2011, 16, 6862, 202, 9224, 18, 588, 5677, 461, 2 ]
revalidate(); repaint();
public void setMaximumSize(Dimension max) { Dimension oldMaximumSize = maximumSize; maximumSize = max; firePropertyChange("maximumSize", oldMaximumSize, maximumSize); revalidate(); repaint(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10851, 2422, 1225, 12, 8611, 943, 13, 202, 95, 565, 13037, 1592, 13528, 1225, 273, 4207, 1225, 31, 565, 4207, 1225, 273, 943, 31, 565, 4452, 1396, 3043, 2932, 15724, 1225, 3113, 1592, 13528, 1225, 16, 4207, 1225, 1769, 565, 283, 5662, 5621, 565, 24962, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10851, 2422, 1225, 12, 8611, 943, 13, 202, 95, 565, 13037, 1592, 13528, 1225, 273, 4207, 1225, 31, 565, 4207, 1225, 273, 943, 31, 565, 4452, 1396, 3043, 2932, 15724, 1225, 3113, 1592, 13528, 1225, 16, 4207, 1225, 1769, 565, 283, 5662, 5621, 565, 24962, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public CMPInstanceContextFactory(Object containerId, EJBProxyFactory proxyFactory, CacheTable cacheTable, IdentityDefiner identityDefiner, IdentityTransform primaryKeyTransform, Class beanClass, Map imap) throws ClassNotFoundException {
public CMPInstanceContextFactory(Object containerId, EJBProxyFactory proxyFactory, IdentityTransform primaryKeyTransform, FaultHandler loadFault, Class beanClass, Map imap) throws ClassNotFoundException {
public CMPInstanceContextFactory(Object containerId, EJBProxyFactory proxyFactory, CacheTable cacheTable, IdentityDefiner identityDefiner, IdentityTransform primaryKeyTransform, Class beanClass, Map imap) throws ClassNotFoundException { this.containerId = containerId; this.proxyFactory = proxyFactory; this.cacheTable = cacheTable; this.identityDefiner = identityDefiner; this.primaryKeyTransform = primaryKeyTransform; this.beanClass = beanClass; this.imap = imap; // create a factory to generate concrete subclasses of the abstract cmp implementation class enhancer = new Enhancer(); enhancer.setSuperclass(beanClass); enhancer.setCallbackTypes(new Class[]{NoOp.class, MethodInterceptor.class}); enhancer.setCallbackFilter(FILTER); enhancer.setUseFactory(false); Class enhancedClass = enhancer.createClass(); FastClass fastClass = FastClass.create(enhancedClass); itable = new InstanceOperation[fastClass.getMaxIndex() + 1]; for (Iterator iterator = imap.entrySet().iterator(); iterator.hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); MethodSignature signature = (MethodSignature) entry.getKey(); InstanceOperation iop = (InstanceOperation) entry.getValue(); itable[MethodHelper.getSuperIndex(enhancedClass, signature)] = iop; } }
47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/48cd38b5dec8d6372fec68aedf110bf034182afe/CMPInstanceContextFactory.java/clean/openejb2/modules/core/src/java/org/openejb/entity/cmp/CMPInstanceContextFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 385, 4566, 1442, 29871, 12, 921, 27142, 16, 12157, 3886, 1733, 2889, 1733, 16, 7808, 4059, 8841, 4059, 16, 25609, 1503, 1262, 7083, 16, 1659, 22066, 16, 1635, 20226, 13, 1216, 10403, 288, 3639, 333, 18, 3782, 548, 273, 27142, 31, 3639, 333, 18, 5656, 1733, 273, 2889, 1733, 31, 3639, 333, 18, 2493, 1388, 273, 1247, 1388, 31, 3639, 333, 18, 10781, 6443, 264, 273, 4215, 6443, 264, 31, 3639, 333, 18, 8258, 653, 4059, 273, 8841, 4059, 31, 3639, 333, 18, 14496, 797, 273, 22066, 31, 3639, 333, 18, 12161, 273, 20226, 31, 3639, 368, 752, 279, 3272, 358, 2103, 12220, 15320, 434, 326, 8770, 9411, 4471, 667, 3639, 570, 25842, 2750, 273, 394, 1374, 25842, 2750, 5621, 3639, 570, 25842, 2750, 18, 542, 28471, 12, 14496, 797, 1769, 3639, 570, 25842, 2750, 18, 542, 2428, 2016, 12, 2704, 1659, 63, 7073, 2279, 3817, 18, 1106, 16, 2985, 10281, 18, 1106, 22938, 3639, 570, 25842, 2750, 18, 542, 2428, 1586, 12, 11126, 1769, 3639, 570, 25842, 2750, 18, 542, 3727, 1733, 12, 5743, 1769, 3639, 1659, 29865, 797, 273, 570, 25842, 2750, 18, 2640, 797, 5621, 3639, 9545, 797, 4797, 797, 273, 9545, 797, 18, 2640, 12, 275, 17221, 797, 1769, 3639, 518, 429, 273, 394, 5180, 2988, 63, 8076, 797, 18, 588, 2747, 1016, 1435, 397, 404, 15533, 3639, 364, 261, 3198, 2775, 273, 20226, 18, 4099, 694, 7675, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 1635, 18, 1622, 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, 385, 4566, 1442, 29871, 12, 921, 27142, 16, 12157, 3886, 1733, 2889, 1733, 16, 7808, 4059, 8841, 4059, 16, 25609, 1503, 1262, 7083, 16, 1659, 22066, 16, 1635, 20226, 13, 1216, 10403, 288, 3639, 333, 18, 3782, 548, 273, 27142, 31, 3639, 333, 18, 5656, 1733, 273, 2889, 1733, 31, 3639, 333, 18, 2493, 1388, 273, 1247, 1388, 31, 3639, 333, 18, 10781, 6443, 264, 273, 4215, 6443, 264, 31, 3639, 333, 18, 8258, 653, 4059, 273, 8841, 4059, 31, 3639, 333, 18, 14496, 797, 273, 22066, 31, 3639, 333, 18, 12161, 273, 20226, 31, 3639, 368, 752, 279, 3272, 358, 2103, 12220, 15320, 434, 326, 8770, 9411, 4471, 667, 3639, 570, 25842, 2750, 273, 394, 1374, 2 ]
s = Unary.create(SPLIT,OPT_IRTools.R(r), OPT_IRTools.R(r));
OPT_RegisterOperand lhs = OPT_IRTools.R(r); OPT_RegisterOperand rhs = OPT_IRTools.R(r); s = Unary.create(SPLIT,lhs,rhs); OPT_RegisterOperand def = r.defList; lhs.type = def.type; rhs.type = def.type;
private static void transform(OPT_IR ir, HashMap xform) {int j = 0; for (Iterator i = xform.entrySet().iterator(); i.hasNext(); ) { Map.Entry entry = (Map.Entry)i.next(); BasicBlockPair bbp = (BasicBlockPair)entry.getKey(); HashSet toSplit = (HashSet)entry.getValue(); // we go ahead and split all edges, instead of just critical ones. // we'll clean up the mess later after SSA. OPT_BasicBlock target = OPT_IRTools.makeBlockOnEdge(bbp.src, bbp.dest,ir); OPT_SSA.replaceBlockInPhis(bbp.dest,bbp.src,target); for (Iterator splits = toSplit.iterator(); splits.hasNext(); ) { OPT_Register r = (OPT_Register)splits.next(); OPT_Instruction s = null; switch (r.getType()) { case OPT_Register.INTEGER_TYPE: s = Unary.create(SPLIT,OPT_IRTools.R(r), OPT_IRTools.R(r)); break; case OPT_Register.FLOAT_TYPE: s = Unary.create(SPLIT,OPT_IRTools.F(r), OPT_IRTools.F(r)); break; case OPT_Register.DOUBLE_TYPE: s = Unary.create(SPLIT,OPT_IRTools.D(r), OPT_IRTools.D(r)); break; case OPT_Register.LONG_TYPE: s = Unary.create(SPLIT,OPT_IRTools.L(r), OPT_IRTools.L(r)); break; default: // we won't split live ranges for other types. s = null; break; } j++; if (j > 10) { s=null; } if (s != null) { target.prependInstruction(s); } } } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/84c7b5d98476b07bd55d165ba0647812234905cc/OPT_LiveRangeSplitting.java/buggy/rvm/src/vm/compilers/optimizing/optimizations/global/liveRangeSplitting/OPT_LiveRangeSplitting.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2510, 12, 15620, 67, 7937, 9482, 16, 4317, 619, 687, 13, 288, 474, 525, 273, 374, 31, 1377, 364, 261, 3198, 277, 273, 619, 687, 18, 4099, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 3639, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 77, 18, 4285, 5621, 3639, 7651, 1768, 4154, 7129, 84, 273, 261, 8252, 1768, 4154, 13, 4099, 18, 588, 653, 5621, 3639, 6847, 358, 5521, 273, 261, 13482, 13, 4099, 18, 24805, 5621, 7734, 368, 732, 1960, 17510, 471, 1416, 777, 5231, 16, 3560, 434, 2537, 11239, 5945, 18, 3639, 368, 732, 5614, 2721, 731, 326, 12755, 5137, 1839, 348, 5233, 18, 3639, 16456, 67, 8252, 1768, 1018, 273, 16456, 67, 7937, 10348, 18, 6540, 1768, 1398, 6098, 12, 9897, 84, 18, 4816, 16, 4766, 18701, 7129, 84, 18, 10488, 16, 481, 1769, 3639, 16456, 67, 1260, 37, 18, 2079, 1768, 382, 3731, 291, 12, 9897, 84, 18, 10488, 16, 9897, 84, 18, 4816, 16, 3299, 1769, 7734, 364, 261, 3198, 11019, 273, 358, 5521, 18, 9838, 5621, 11019, 18, 5332, 2134, 5621, 262, 288, 1850, 16456, 67, 3996, 436, 273, 261, 15620, 67, 3996, 13, 21902, 18, 4285, 5621, 1850, 16456, 67, 11983, 272, 273, 446, 31, 1850, 1620, 261, 86, 18, 588, 559, 10756, 288, 5411, 648, 16456, 67, 3996, 18, 14217, 67, 2399, 30, 2868, 16456, 67, 3996, 10265, 8499, 273, 16456, 67, 7937, 10348, 18, 54, 12, 86, 1769, 16456, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2510, 12, 15620, 67, 7937, 9482, 16, 4317, 619, 687, 13, 288, 474, 525, 273, 374, 31, 1377, 364, 261, 3198, 277, 273, 619, 687, 18, 4099, 694, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 3639, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 77, 18, 4285, 5621, 3639, 7651, 1768, 4154, 7129, 84, 273, 261, 8252, 1768, 4154, 13, 4099, 18, 588, 653, 5621, 3639, 6847, 358, 5521, 273, 261, 13482, 13, 4099, 18, 24805, 5621, 7734, 368, 732, 1960, 17510, 471, 1416, 777, 5231, 16, 3560, 434, 2537, 11239, 5945, 18, 3639, 368, 732, 5614, 2721, 731, 326, 12755, 5137, 1839, 348, 5233, 18, 3639, 16456, 67, 8252, 2 ]
if (true) { return allTests(); } else { TestSuite suite= new TestSuite(); suite.addTest(new ModifierCorrectionsQuickFixTest("testStaticOverridesMethod")); return new ProjectTestSetup(suite); }
return allTests();
public static Test suite() { if (true) { return allTests(); } else { TestSuite suite= new TestSuite(); suite.addTest(new ModifierCorrectionsQuickFixTest("testStaticOverridesMethod")); return new ProjectTestSetup(suite); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/b3a54941db484dd83c2aab5aa886dde3c30ffe72/ModifierCorrectionsQuickFixTest.java/clean/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/ModifierCorrectionsQuickFixTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 430, 261, 3767, 13, 288, 1082, 202, 2463, 777, 14650, 5621, 202, 202, 97, 469, 288, 1082, 202, 4709, 13587, 11371, 33, 394, 7766, 13587, 5621, 1082, 202, 30676, 18, 1289, 4709, 12, 2704, 12832, 20884, 87, 13663, 8585, 4709, 2932, 3813, 5788, 13084, 1305, 7923, 1769, 1082, 202, 2463, 394, 5420, 4709, 7365, 12, 30676, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 430, 261, 3767, 13, 288, 1082, 202, 2463, 777, 14650, 5621, 202, 202, 97, 469, 288, 1082, 202, 4709, 13587, 11371, 33, 394, 7766, 13587, 5621, 1082, 202, 30676, 18, 1289, 4709, 12, 2704, 12832, 20884, 87, 13663, 8585, 4709, 2932, 3813, 5788, 13084, 1305, 7923, 1769, 1082, 202, 2463, 394, 5420, 4709, 7365, 12, 30676, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
envelope);
envelope, addressingNamespaceObject);
private void processRelatesTo(SOAPEnvelope envelope, Options messageContextOptions) { if (!isAddressingHeaderAlreadyAvailable(WSA_RELATES_TO, envelope, addressingNamespaceObject)) { RelatesTo relatesTo = messageContextOptions.getRelatesTo(); OMElement relatesToHeader = null; if (relatesTo != null) { relatesToHeader = processStringInfo(relatesTo.getValue(), WSA_RELATES_TO, envelope); } if (relatesToHeader != null) if ("".equals(relatesTo.getRelationshipType())) { relatesToHeader.addAttribute(WSA_RELATES_TO_RELATIONSHIP_TYPE, Submission.WSA_RELATES_TO_RELATIONSHIP_TYPE_DEFAULT_VALUE, addressingNamespaceObject); } else { relatesToHeader.addAttribute(WSA_RELATES_TO_RELATIONSHIP_TYPE, relatesTo.getRelationshipType(), addressingNamespaceObject); } } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/8152050a1373c0eb3f1fe4410be8ce9e6a7dc526/AddressingOutHandler.java/buggy/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 1971, 815, 774, 12, 27952, 10862, 9045, 16, 5087, 883, 1042, 1320, 13, 288, 3639, 309, 16051, 291, 1887, 310, 1864, 9430, 5268, 12, 2651, 37, 67, 862, 10512, 55, 67, 4296, 16, 9045, 16, 1758, 310, 3402, 921, 3719, 3639, 288, 5411, 4275, 815, 774, 1279, 815, 774, 273, 883, 1042, 1320, 18, 588, 1971, 815, 774, 5621, 5411, 531, 12310, 1279, 815, 774, 1864, 273, 446, 31, 5411, 309, 261, 2878, 815, 774, 480, 446, 13, 288, 7734, 1279, 815, 774, 1864, 273, 13491, 1207, 780, 966, 12, 2878, 815, 774, 18, 24805, 9334, 27573, 678, 5233, 67, 862, 10512, 55, 67, 4296, 16, 27573, 9045, 16, 1758, 310, 3402, 921, 1769, 5411, 289, 5411, 309, 261, 2878, 815, 774, 1864, 480, 446, 13, 7734, 309, 261, 3660, 18, 14963, 12, 2878, 815, 774, 18, 588, 8180, 559, 1435, 3719, 288, 10792, 1279, 815, 774, 1864, 18, 1289, 1499, 12, 2651, 37, 67, 862, 10512, 55, 67, 4296, 67, 27822, 20101, 67, 2399, 16, 18701, 2592, 3951, 18, 2651, 37, 67, 862, 10512, 55, 67, 4296, 67, 27822, 20101, 67, 2399, 67, 5280, 67, 4051, 16, 18701, 1758, 310, 3402, 921, 1769, 7734, 289, 469, 288, 10792, 1279, 815, 774, 1864, 18, 1289, 1499, 12, 2651, 37, 67, 862, 10512, 55, 67, 4296, 67, 27822, 20101, 67, 2399, 16, 18701, 1279, 815, 774, 18, 588, 8180, 559, 9334, 18701, 1758, 310, 3402, 921, 1769, 7734, 289, 3639, 289, 565, 289, 2, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 1971, 815, 774, 12, 27952, 10862, 9045, 16, 5087, 883, 1042, 1320, 13, 288, 3639, 309, 16051, 291, 1887, 310, 1864, 9430, 5268, 12, 2651, 37, 67, 862, 10512, 55, 67, 4296, 16, 9045, 16, 1758, 310, 3402, 921, 3719, 3639, 288, 5411, 4275, 815, 774, 1279, 815, 774, 273, 883, 1042, 1320, 18, 588, 1971, 815, 774, 5621, 5411, 531, 12310, 1279, 815, 774, 1864, 273, 446, 31, 5411, 309, 261, 2878, 815, 774, 480, 446, 13, 288, 7734, 1279, 815, 774, 1864, 273, 13491, 1207, 780, 966, 12, 2878, 815, 774, 18, 24805, 9334, 27573, 678, 5233, 67, 862, 10512, 55, 67, 4296, 16, 27573, 9045, 16, 1758, 310, 3402, 921, 1769, 5411, 2 ]
m_opencms.destroy();
m_opencms.shutDown();
public void exit() { if (m_exitCalled) { return; } m_exitCalled = true; try { if (m_additionaShellCommands != null) { m_additionaShellCommands.shellExit(); } else { m_shellCommands.shellExit(); } } catch (Throwable t) { t.printStackTrace(); } try { m_opencms.destroy(); } catch (Throwable t) { t.printStackTrace(); } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/3616f908965da4a3daa74940616bb28846b9f566/CmsShell.java/clean/src/org/opencms/main/CmsShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2427, 1435, 288, 3639, 309, 261, 81, 67, 8593, 8185, 13, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 8593, 8185, 273, 638, 31, 3639, 775, 288, 5411, 309, 261, 81, 67, 1289, 608, 69, 13220, 9127, 480, 446, 13, 288, 7734, 312, 67, 1289, 608, 69, 13220, 9127, 18, 10304, 6767, 5621, 5411, 289, 469, 288, 7734, 312, 67, 10304, 9127, 18, 10304, 6767, 5621, 5411, 289, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 268, 18, 1188, 6332, 5621, 3639, 289, 6647, 775, 288, 5411, 312, 67, 556, 14645, 18, 674, 322, 4164, 5621, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 268, 18, 1188, 6332, 5621, 3639, 289, 4202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2427, 1435, 288, 3639, 309, 261, 81, 67, 8593, 8185, 13, 288, 5411, 327, 31, 3639, 289, 3639, 312, 67, 8593, 8185, 273, 638, 31, 3639, 775, 288, 5411, 309, 261, 81, 67, 1289, 608, 69, 13220, 9127, 480, 446, 13, 288, 7734, 312, 67, 1289, 608, 69, 13220, 9127, 18, 10304, 6767, 5621, 5411, 289, 469, 288, 7734, 312, 67, 10304, 9127, 18, 10304, 6767, 5621, 5411, 289, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 268, 18, 1188, 6332, 5621, 3639, 289, 6647, 775, 288, 5411, 312, 67, 556, 14645, 18, 674, 322, 4164, 5621, 3639, 289, 1044, 261, 15155, 268, 13, 288, 5411, 268, 18, 1188, 6332, 5621, 3639, 289, 4202, 289, 2 ]
currentEditor.configureEditor(sourceBundle, property);
currentEditor.configureEditor(manager, property);
public void configureEditor(PropertyEditorFactory factory, String newProperty, String typeTemplate, VariableBundle bundle, boolean isEnabled) { property=newProperty; sourceBundle=bundle; originalValue = sourceBundle.getProperty(property, ""); editorTable = new java.util.HashMap(); // create the label label = new JLabel(sourceBundle.getProperty(typeTemplate + ".label", "Action")); // find out if we're a display filter or a backend filter String filterType = sourceBundle.getProperty(typeTemplate + ".filterType", "display"); // create the combo Vector filterLabels = null; if (filterType.equalsIgnoreCase("display")) filterLabels = Pooka.getSearchManager().getDisplayFilterLabels(); else filterLabels = Pooka.getSearchManager().getBackendFilterLabels(); typeCombo = new JComboBox(filterLabels); typeCombo.addItemListener(this); // create the filterConfigPanel. filterConfigPanel = new JPanel(); layout = new java.awt.CardLayout(); filterConfigPanel.setLayout(layout); for (int i = 0; i < filterLabels.size(); i++) { String label = (String) filterLabels.elementAt(i); FilterEditor currentEditor = Pooka.getSearchManager().getEditorForFilterLabel(label); currentEditor.configureEditor(sourceBundle, property); filterConfigPanel.add(label, currentEditor); editorTable.put(label, currentEditor); } JPanel valuePanel = new JPanel(); valuePanel.add(typeCombo); valuePanel.add(filterConfigPanel); this.add(label); this.add(valuePanel); labelComponent = label; valueComponent = valuePanel; resetDefaultValue(); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/8214120e499a71acd95dba956d1a71b9a0fdb974/FilterEditorPane.java/buggy/net/suberic/pooka/gui/filter/FilterEditorPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 5068, 6946, 12, 1396, 6946, 1733, 3272, 16, 514, 394, 1396, 16, 514, 618, 2283, 16, 7110, 3405, 3440, 16, 1250, 12047, 13, 288, 565, 1272, 33, 2704, 1396, 31, 565, 1084, 3405, 33, 9991, 31, 565, 2282, 620, 273, 1084, 3405, 18, 588, 1396, 12, 4468, 16, 1408, 1769, 3639, 4858, 1388, 273, 394, 2252, 18, 1367, 18, 8658, 5621, 3639, 368, 752, 326, 1433, 565, 1433, 273, 394, 21403, 12, 3168, 3405, 18, 588, 1396, 12, 723, 2283, 397, 3552, 1925, 3113, 315, 1803, 7923, 1769, 3639, 368, 1104, 596, 309, 732, 4565, 279, 2562, 1034, 578, 279, 4221, 1034, 565, 514, 1034, 559, 273, 1084, 3405, 18, 588, 1396, 12, 723, 2283, 397, 3552, 2188, 559, 3113, 315, 5417, 8863, 3639, 368, 752, 326, 16778, 565, 5589, 1034, 5888, 273, 446, 31, 565, 309, 261, 2188, 559, 18, 14963, 5556, 2932, 5417, 6, 3719, 1377, 1034, 5888, 273, 453, 1184, 69, 18, 588, 2979, 1318, 7675, 588, 4236, 1586, 5888, 5621, 565, 469, 1377, 1034, 5888, 273, 453, 1184, 69, 18, 588, 2979, 1318, 7675, 588, 7172, 1586, 5888, 5621, 3639, 618, 16156, 273, 394, 804, 22199, 12, 2188, 5888, 1769, 565, 618, 16156, 18, 1289, 1180, 2223, 12, 2211, 1769, 5411, 368, 752, 326, 1034, 809, 5537, 18, 3639, 1034, 809, 5537, 273, 394, 24048, 5621, 565, 3511, 273, 394, 2252, 18, 2219, 88, 18, 6415, 3744, 5621, 565, 1034, 809, 5537, 18, 542, 3744, 12, 6741, 1769, 565, 364, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 5068, 6946, 12, 1396, 6946, 1733, 3272, 16, 514, 394, 1396, 16, 514, 618, 2283, 16, 7110, 3405, 3440, 16, 1250, 12047, 13, 288, 565, 1272, 33, 2704, 1396, 31, 565, 1084, 3405, 33, 9991, 31, 565, 2282, 620, 273, 1084, 3405, 18, 588, 1396, 12, 4468, 16, 1408, 1769, 3639, 4858, 1388, 273, 394, 2252, 18, 1367, 18, 8658, 5621, 3639, 368, 752, 326, 1433, 565, 1433, 273, 394, 21403, 12, 3168, 3405, 18, 588, 1396, 12, 723, 2283, 397, 3552, 1925, 3113, 315, 1803, 7923, 1769, 3639, 368, 1104, 596, 309, 732, 4565, 279, 2562, 1034, 578, 279, 4221, 1034, 565, 514, 1034, 559, 273, 1084, 3405, 18, 588, 1396, 12, 723, 2283, 397, 2 ]
assertEqual(t.toString(), expecting);
assertEquals(t.toString(), expecting);
public void testIndentOfMultipleBlankLines() throws Exception { String templates = "group test;" +newline+ "list(names) ::= <<" + " $names$"+newline+ ">>"+newline; StringTemplateErrorListener errors = new ErrorBuffer(); StringTemplateGroup group = new StringTemplateGroup(new StringReader(templates), DefaultTemplateLexer.class, errors); StringTemplate t = group.getInstanceOf("list"); t.setAttribute("names", "Terence\n\nis a maniac"); String expecting = " Terence"+newline+ ""+newline+ // no indent on blank line " is a maniac"; assertEqual(t.toString(), expecting); }
52527 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52527/158b0f9c5220709dc9d801ee911d1605a906ccaf/TestStringTemplate.java/clean/src/org/antlr/stringtemplate/test/TestStringTemplate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7790, 951, 8438, 7796, 5763, 1435, 1082, 202, 15069, 1185, 202, 95, 202, 202, 780, 5539, 273, 9506, 202, 6, 1655, 1842, 4868, 397, 22861, 15, 9506, 202, 6, 1098, 12, 1973, 13, 493, 33, 2296, 6, 397, 9506, 202, 6, 225, 271, 1973, 12911, 15, 22861, 15, 9506, 202, 6441, 2984, 15, 22861, 31, 202, 202, 780, 2283, 668, 2223, 1334, 273, 394, 1068, 1892, 5621, 202, 202, 780, 2283, 1114, 1041, 273, 9506, 202, 2704, 514, 2283, 1114, 12, 2704, 26227, 12, 8502, 3631, 6862, 25083, 202, 1868, 2283, 13356, 18, 1106, 16, 6862, 25083, 202, 4324, 1769, 202, 202, 780, 2283, 268, 273, 1041, 18, 588, 1442, 951, 2932, 1098, 8863, 202, 202, 88, 18, 542, 1499, 2932, 1973, 3113, 315, 56, 264, 802, 64, 82, 64, 82, 291, 279, 3161, 77, 1077, 8863, 202, 202, 780, 17012, 273, 9506, 202, 6, 225, 28991, 802, 6, 15, 22861, 15, 9506, 202, 3660, 15, 22861, 15, 368, 1158, 3504, 603, 7052, 980, 9506, 202, 6, 225, 353, 279, 3161, 77, 1077, 14432, 202, 202, 11231, 5812, 12, 88, 18, 10492, 9334, 17012, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7790, 951, 8438, 7796, 5763, 1435, 1082, 202, 15069, 1185, 202, 95, 202, 202, 780, 5539, 273, 9506, 202, 6, 1655, 1842, 4868, 397, 22861, 15, 9506, 202, 6, 1098, 12, 1973, 13, 493, 33, 2296, 6, 397, 9506, 202, 6, 225, 271, 1973, 12911, 15, 22861, 15, 9506, 202, 6441, 2984, 15, 22861, 31, 202, 202, 780, 2283, 668, 2223, 1334, 273, 394, 1068, 1892, 5621, 202, 202, 780, 2283, 1114, 1041, 273, 9506, 202, 2704, 514, 2283, 1114, 12, 2704, 26227, 12, 8502, 3631, 6862, 25083, 202, 1868, 2283, 13356, 18, 1106, 16, 6862, 25083, 202, 4324, 1769, 202, 202, 780, 2283, 268, 273, 1041, 18, 588, 1442, 951, 2932, 1098, 8863, 2 ]
try { if (logFile != null) logFile.close(); } catch (Exception e) {}
try { if (logFile != null) { logFile.close(); logFile = null; } } catch (Exception e) {}
protected void takeDown(){ try { if (in != null) in.close(); } catch (Exception e) {} try { if (logFile != null) logFile.close(); } catch (Exception e) {} try { if (s != null) s.stop(); } catch (Exception e) {}}
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/fbc0f5e25007ec98b0dc7aee0726d9133fa7b9d0/SocketProxyAgent.java/clean/src/jade/tools/SocketProxyAgent/SocketProxyAgent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 4862, 4164, 1435, 95, 225, 775, 288, 565, 309, 261, 267, 480, 446, 13, 4202, 316, 18, 4412, 5621, 225, 289, 1044, 261, 503, 425, 13, 2618, 225, 775, 288, 565, 309, 261, 1330, 812, 480, 446, 13, 4202, 20169, 18, 4412, 5621, 225, 289, 1044, 261, 503, 425, 13, 2618, 225, 775, 288, 565, 309, 261, 87, 480, 446, 13, 4202, 272, 18, 5681, 5621, 225, 289, 1044, 261, 503, 425, 13, 2618, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 4862, 4164, 1435, 95, 225, 775, 288, 565, 309, 261, 267, 480, 446, 13, 4202, 316, 18, 4412, 5621, 225, 289, 1044, 261, 503, 425, 13, 2618, 225, 775, 288, 565, 309, 261, 1330, 812, 480, 446, 13, 4202, 20169, 18, 4412, 5621, 225, 289, 1044, 261, 503, 425, 13, 2618, 225, 775, 288, 565, 309, 261, 87, 480, 446, 13, 4202, 272, 18, 5681, 5621, 225, 289, 1044, 261, 503, 425, 13, 2618, 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 ]
}
}
public Entries() { }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/3de0fd6612b01325d3a8e2dd29c980447948f32c/Entries.java/clean/plugins/cvs2/javacvs-src/org/netbeans/lib/cvsclient/admin/Entries.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 19411, 1435, 288, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 19411, 1435, 288, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 Object findAttribute( String beanName, PageContext pageContext) { Object attribute = getAttribute(beanName); if( attribute == null ) { attribute = pageContext.findAttribute( beanName ); } // end if return attribute; }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/99f335ad4dfc53503a1890e981ff118c3c404811/ComponentContext.java/buggy/src/share/org/apache/struts/tiles/ComponentContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 921, 4720, 1499, 12, 780, 14496, 461, 16, 1964, 1042, 2433, 1042, 15329, 921, 4589, 33, 588, 1499, 12, 14496, 461, 1769, 430, 12, 4589, 631, 2011, 15329, 4589, 33, 2433, 1042, 18, 4720, 1499, 12, 14496, 461, 1769, 97, 759, 409, 430, 2463, 4589, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 921, 4720, 1499, 12, 780, 14496, 461, 16, 1964, 1042, 2433, 1042, 15329, 921, 4589, 33, 588, 1499, 12, 14496, 461, 1769, 430, 12, 4589, 631, 2011, 15329, 4589, 33, 2433, 1042, 18, 4720, 1499, 12, 14496, 461, 1769, 97, 759, 409, 430, 2463, 4589, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IParameterGroupDefn engineParam = ( IParameterGroupDefn ) o;
IParameterGroupDefn engineParam = (IParameterGroupDefn) o;
private static Collection convertEngineParameters( Collection params, IGetParameterDefinitionTask task, boolean includeGroups ) { if ( params == null ) return Collections.EMPTY_LIST; List ret = new ArrayList( ); for ( Iterator it = params.iterator( ); it.hasNext( ); ) { Object o = it.next( ); if ( o instanceof IScalarParameterDefn ) { IScalarParameterDefn engineParam = ( IScalarParameterDefn ) o; ParameterGroupDefinition group = null; ParameterDefinition param = convertScalarParameter( engineParam, group, task ); ret.add( param ); } else if ( o instanceof IParameterGroupDefn ) { IParameterGroupDefn engineParam = ( IParameterGroupDefn ) o; ParameterGroupDefinition paramGroup = convertParameterGroup( engineParam, task ); ret.add( paramGroup ); } } if ( includeGroups ) return ret; // If we are not including the groups, flatten the results return flattenGroups( ret ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1ff9aa843f70ddf72ba7891c54d9d7216c9063f5/BirtViewerReportService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 2200, 1765, 4410, 2402, 12, 2200, 859, 16, 1082, 202, 45, 967, 1662, 1852, 2174, 1562, 16, 1250, 2341, 3621, 262, 202, 95, 202, 202, 430, 261, 859, 422, 446, 262, 1082, 202, 2463, 5737, 18, 13625, 67, 7085, 31, 202, 202, 682, 325, 273, 394, 2407, 12, 11272, 202, 202, 1884, 261, 4498, 518, 273, 859, 18, 9838, 12, 11272, 518, 18, 5332, 2134, 12, 11272, 262, 202, 202, 95, 1082, 202, 921, 320, 273, 518, 18, 4285, 12, 11272, 1082, 202, 430, 261, 320, 1276, 4437, 3473, 1662, 3262, 82, 262, 1082, 202, 95, 9506, 202, 5127, 3473, 1662, 3262, 82, 4073, 786, 273, 261, 4437, 3473, 1662, 3262, 82, 262, 320, 31, 9506, 202, 19094, 1852, 1041, 273, 446, 31, 9506, 202, 1662, 1852, 579, 273, 1765, 13639, 1662, 12, 25083, 202, 8944, 786, 16, 1041, 16, 1562, 11272, 9506, 202, 1349, 18, 1289, 12, 579, 11272, 1082, 202, 97, 469, 309, 261, 320, 1276, 467, 19094, 3262, 82, 262, 1082, 202, 95, 9506, 202, 45, 19094, 3262, 82, 4073, 786, 273, 261, 467, 19094, 3262, 82, 262, 320, 31, 9506, 202, 19094, 1852, 579, 1114, 273, 1765, 19094, 12, 25083, 202, 8944, 786, 16, 1562, 11272, 9506, 202, 1349, 18, 1289, 12, 579, 1114, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 2341, 3621, 262, 1082, 202, 2463, 325, 31, 202, 202, 759, 971, 732, 854, 486, 6508, 326, 3252, 16, 5341, 326, 1686, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 2200, 1765, 4410, 2402, 12, 2200, 859, 16, 1082, 202, 45, 967, 1662, 1852, 2174, 1562, 16, 1250, 2341, 3621, 262, 202, 95, 202, 202, 430, 261, 859, 422, 446, 262, 1082, 202, 2463, 5737, 18, 13625, 67, 7085, 31, 202, 202, 682, 325, 273, 394, 2407, 12, 11272, 202, 202, 1884, 261, 4498, 518, 273, 859, 18, 9838, 12, 11272, 518, 18, 5332, 2134, 12, 11272, 262, 202, 202, 95, 1082, 202, 921, 320, 273, 518, 18, 4285, 12, 11272, 1082, 202, 430, 261, 320, 1276, 4437, 3473, 1662, 3262, 82, 262, 1082, 202, 95, 9506, 202, 5127, 3473, 1662, 3262, 82, 4073, 786, 273, 261, 4437, 3473, 1662, 3262, 82, 262, 320, 31, 2 ]
}
}
public static void main(String[] args) { // for developers: run 'jedit 0' to get extensive logging int level = Log.WARNING; if(args.length >= 1) { String levelStr = args[0]; if(levelStr.length() == 1 && Character.isDigit( levelStr.charAt(0))) { level = Integer.parseInt(levelStr); args[0] = null; } } // Parse command line boolean endOpts = false; settingsDirectory = MiscUtilities.constructPath( System.getProperty("user.home"),".jedit"); String portFile = "server"; boolean restore = true; boolean gui = true; // open initial view? boolean noStartupScripts = false; String userDir = System.getProperty("user.dir"); // script to run String scriptFile = null; for(int i = 0; i < args.length; i++) { String arg = args[i]; if(arg == null) continue; else if(arg.length() == 0) args[i] = null; else if(arg.startsWith("-") && !endOpts) { if(arg.equals("--")) endOpts = true; else if(arg.equals("-usage")) { version(); System.err.println(); usage(); System.exit(1); } else if(arg.equals("-version")) { version(); System.exit(1); } else if(arg.equals("-nosettings")) settingsDirectory = null; else if(arg.startsWith("-settings=")) settingsDirectory = arg.substring(10); else if(arg.startsWith("-noserver")) portFile = null; else if(arg.equals("-server")) portFile = "server"; else if(arg.startsWith("-server=")) portFile = arg.substring(8); else if(arg.startsWith("-background")) background = true; else if(arg.equals("-nogui")) gui = false; else if(arg.equals("-norestore")) restore = false; else if(arg.equals("-nostartupscripts")) noStartupScripts = true; else if(arg.startsWith("-run=")) scriptFile = arg.substring(5); else { System.err.println("Unknown option: " + arg); usage(); System.exit(1); } args[i] = null; } } if(settingsDirectory != null && portFile != null) portFile = MiscUtilities.constructPath(settingsDirectory,portFile); else portFile = null; // Try connecting to another running jEdit instance if(portFile != null && new File(portFile).exists()) { int port, key; try { BufferedReader in = new BufferedReader(new FileReader(portFile)); port = Integer.parseInt(in.readLine()); key = Integer.parseInt(in.readLine()); in.close(); Socket socket = new Socket(InetAddress.getByName("127.0.0.1"),port); Writer out = new OutputStreamWriter(socket.getOutputStream(),"UTF8"); out.write(String.valueOf(key)); out.write('\n'); String script = makeServerScript(restore,args,scriptFile); out.write(script); out.close(); System.exit(0); } catch(Exception e) { // ok, this one seems to confuse newbies // endlessly, so log it as NOTICE, not // ERROR Log.log(Log.NOTICE,jEdit.class,"An error occurred" + " while connecting to the jEdit server instance."); Log.log(Log.NOTICE,jEdit.class,"This probably means that" + " jEdit crashed and/or exited abnormally"); Log.log(Log.NOTICE,jEdit.class,"the last time it was run."); Log.log(Log.NOTICE,jEdit.class,"If you don't" + " know what this means, don't worry."); Log.log(Log.NOTICE,jEdit.class,e); } } // MacOS X GUI hacks if(System.getProperty("os.name").indexOf("Mac") != -1) { // put the menu bar at the top of the screen, as opposed to // inside the jEdit window System.getProperties().put("com.apple.macos.useScreenMenuBar","true"); } // don't show splash screen if there is a file named // 'nosplash' in the settings directory if(!new File(settingsDirectory,"nosplash").exists()) GUIUtilities.showSplashScreen(); Log.init(true,level); // Initialize activity log and settings directory Writer stream; if(settingsDirectory != null) { File _settingsDirectory = new File(settingsDirectory); if(!_settingsDirectory.exists()) _settingsDirectory.mkdirs(); File _macrosDirectory = new File(settingsDirectory,"macros"); if(!_macrosDirectory.exists()) _macrosDirectory.mkdir(); String logPath = MiscUtilities.constructPath( settingsDirectory,"activity.log"); try { stream = new BufferedWriter(new FileWriter(logPath)); } catch(Exception e) { e.printStackTrace(); stream = null; } } else { stream = null; } Log.setLogWriter(stream); Log.log(Log.NOTICE,jEdit.class,"jEdit version " + getVersion()); Log.log(Log.MESSAGE,jEdit.class,"Settings directory is " + settingsDirectory); // Initialize server if(portFile != null) { server = new EditServer(portFile); if(!server.isOK()) server = null; } else { if(background) { background = false; System.err.println("You cannot specify both the" + " -background and -noserver switches"); } } // Get things rolling initMisc(); initSystemProperties(); BeanShell.init(); GUIUtilities.advanceSplashProgress(); if(jEditHome != null) initSiteProperties(); initUserProperties(); initPLAF(); initActions(); initDockables(); GUIUtilities.advanceSplashProgress(); initPlugins(); if(settingsDirectory != null) { File history = new File(MiscUtilities.constructPath( settingsDirectory,"history")); if(history.exists()) historyModTime = history.lastModified(); HistoryModel.loadHistory(history); File recent = new File(MiscUtilities.constructPath( settingsDirectory,"recent.xml")); if(recent.exists()) recentModTime = recent.lastModified(); BufferHistory.load(recent); } Abbrevs.load(); GUIUtilities.advanceSplashProgress(); // Buffer sort sortBuffers = getBooleanProperty("sortBuffers"); sortByName = getBooleanProperty("sortByName"); reloadModes(); GUIUtilities.advanceSplashProgress(); SearchAndReplace.load(); FavoritesVFS.loadFavorites(); Macros.loadMacros(); GUIUtilities.advanceSplashProgress(); // Start plugins for(int i = 0; i < jars.size(); i++) { ((EditPlugin.JAR)jars.elementAt(i)).getClassLoader() .startAllPlugins(); } // Run startup scripts, after plugins, proeprties, etc // are loaded if(!noStartupScripts && jEditHome != null) { String path = MiscUtilities.constructPath(jEditHome,"startup"); File file = new File(path); if(file.exists()) runStartupScripts(file); } if(!noStartupScripts && settingsDirectory != null) { String path = MiscUtilities.constructPath(settingsDirectory,"startup"); File file = new File(path); if(!file.exists()) file.mkdirs(); else runStartupScripts(file); } // Run script specified with -run= parameter if(scriptFile != null) { scriptFile = MiscUtilities.constructPath(userDir,scriptFile); BeanShell.runScript(null,scriptFile,false,false); } // Must be after plugins are started!!! propertiesChanged(); GUIUtilities.advanceSplashProgress(); Buffer buffer = openFiles(null,userDir,args); if(buffer != null) { // files specified on command line; force initial view // to open gui = true; } String splitConfig = null; if(restore && settingsDirectory != null && jEdit.getBooleanProperty("restore") && (bufferCount == 0 || jEdit.getBooleanProperty("restore.cli"))) { splitConfig = restoreOpenFiles(); } if(bufferCount == 0 && gui) newFile(null); // Create the view and hide the splash screen. final Buffer _buffer = buffer; final String _splitConfig = splitConfig; final boolean _gui = gui; GUIUtilities.advanceSplashProgress(); SwingUtilities.invokeLater(new Runnable() { public void run() { EditBus.send(new EditorStarted(null)); if(_gui) { View view; if(_buffer != null) view = newView(null,_buffer); else view = newView(null,_splitConfig); } // Start I/O threads VFSManager.start(); // Start edit server if(server != null) server.start(); GUIUtilities.hideSplashScreen(); Log.log(Log.MESSAGE,jEdit.class,"Startup " + "complete"); } }); }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/ba1ec3297d11f3a466feef112603ac39ffe7a66f/jEdit.java/buggy/org/gjt/sp/jedit/jEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 202, 95, 202, 202, 759, 364, 21701, 30, 1086, 296, 78, 4619, 374, 11, 358, 336, 1110, 14315, 2907, 202, 202, 474, 1801, 273, 1827, 18, 9511, 31, 202, 202, 430, 12, 1968, 18, 2469, 1545, 404, 13, 202, 202, 95, 1082, 202, 780, 1801, 1585, 273, 833, 63, 20, 15533, 1082, 202, 430, 12, 2815, 1585, 18, 2469, 1435, 422, 404, 597, 6577, 18, 291, 10907, 12, 9506, 202, 2815, 1585, 18, 3001, 861, 12, 20, 20349, 1082, 202, 95, 9506, 202, 2815, 273, 2144, 18, 2670, 1702, 12, 2815, 1585, 1769, 9506, 202, 1968, 63, 20, 65, 273, 446, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 2884, 1296, 980, 202, 202, 6494, 679, 5476, 273, 629, 31, 202, 202, 4272, 2853, 273, 16584, 71, 11864, 18, 10062, 743, 12, 1082, 202, 3163, 18, 588, 1396, 2932, 1355, 18, 8712, 6, 3631, 9654, 78, 4619, 8863, 202, 202, 780, 1756, 812, 273, 315, 3567, 14432, 202, 202, 6494, 5217, 273, 638, 31, 202, 202, 6494, 13238, 273, 638, 31, 368, 1696, 2172, 1476, 35, 202, 202, 6494, 1158, 22178, 15041, 273, 629, 31, 202, 202, 780, 729, 1621, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 202, 202, 759, 2728, 358, 1086, 202, 202, 780, 2728, 812, 273, 446, 31, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 202, 202, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 202, 95, 202, 202, 759, 364, 21701, 30, 1086, 296, 78, 4619, 374, 11, 358, 336, 1110, 14315, 2907, 202, 202, 474, 1801, 273, 1827, 18, 9511, 31, 202, 202, 430, 12, 1968, 18, 2469, 1545, 404, 13, 202, 202, 95, 1082, 202, 780, 1801, 1585, 273, 833, 63, 20, 15533, 1082, 202, 430, 12, 2815, 1585, 18, 2469, 1435, 422, 404, 597, 6577, 18, 291, 10907, 12, 9506, 202, 2815, 1585, 18, 3001, 861, 12, 20, 20349, 1082, 202, 95, 9506, 202, 2815, 273, 2144, 18, 2670, 1702, 12, 2815, 1585, 1769, 9506, 202, 1968, 63, 20, 65, 273, 446, 31, 1082, 202, 97, 202, 202, 97, 2 ]
if (this.startPosition <= this.cursorLocation && this.cursorLocation <= this.currentPosition-1){ this.completedTokenFound = true; this.completedIdentifierStart = this.startPosition; this.completedIdentifierEnd = this.currentPosition - 1; }
public int getNextToken() throws InvalidInputException { this.wasAcr = false; this.unicodeCharSize = 0; if (this.diet) { jumpOverMethodBody(); this.diet = false; return this.currentPosition > this.source.length ? TokenNameEOF : TokenNameRBRACE; } int whiteStart = 0; try { while (true) { //loop for jumping over comments this.withoutUnicodePtr = 0; //start with a new token (even comment written with unicode ) // ---------Consume white space and handles start position--------- whiteStart = this.currentPosition; boolean isWhiteSpace, hasWhiteSpaces = false; int offset = 0; do { this.startPosition = this.currentPosition; boolean checkIfUnicode = false; try { checkIfUnicode = ((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u'); } catch(IndexOutOfBoundsException e) { if (this.tokenizeWhiteSpace && (whiteStart != this.currentPosition - 1)) { // reposition scanner in case we are interested by spaces as tokens this.currentPosition--; this.startPosition = whiteStart; return TokenNameWHITESPACE; } if (this.currentPosition > this.eofPosition) { /* might be completing at eof (e.g. behind a dot) */ if (this.completionIdentifier == null && this.startPosition == this.cursorLocation + 1){ this.currentPosition = this.startPosition; // for being detected as empty free identifier return TokenNameIdentifier; } return TokenNameEOF; } } if (checkIfUnicode) { isWhiteSpace = jumpOverUnicodeWhiteSpace(); offset = 6; } else { offset = 1; if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { //checkNonExternalizedString(); if (this.recordLineSeparator) { pushLineSeparator(); } } isWhiteSpace = (this.currentCharacter == ' ') || CharOperation.isWhitespace(this.currentCharacter); } if (isWhiteSpace) { hasWhiteSpaces = true; } /* completion requesting strictly inside blanks */ if ((whiteStart != this.currentPosition) //&& (previousToken == TokenNameDOT) && (this.completionIdentifier == null) && (whiteStart <= this.cursorLocation+1) && (this.cursorLocation < this.startPosition) && !Character.isJavaIdentifierStart(this.currentCharacter)){ this.currentPosition = this.startPosition; // for next token read /* Warning: * Above statement reset scanner position at token start which can make * scanner enter in an infinite loop if completionIdentifier is still null! * (see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=114115) */ return TokenNameIdentifier; } } while (isWhiteSpace); if (this.tokenizeWhiteSpace && hasWhiteSpaces) { // reposition scanner in case we are interested by spaces as tokens this.currentPosition-=offset; this.startPosition = whiteStart; return TokenNameWHITESPACE; } //little trick to get out in the middle of a source computation if (this.currentPosition > this.eofPosition){ /* might be completing at eof (e.g. behind a dot) */ if (this.completionIdentifier == null && this.startPosition == this.cursorLocation + 1){ // compute end of empty identifier. // if the empty identifier is at the start of a next token the end of // empty identifier is the end of the next token (eg. "<empty token>next"). while(getNextCharAsJavaIdentifierPart()){/*empty*/} this.endOfEmptyToken = this.currentPosition - 1; this.currentPosition = this.startPosition; // for being detected as empty free identifier return TokenNameIdentifier; } return TokenNameEOF; } // ---------Identify the next token------------- switch (this.currentCharacter) { case '@' : return TokenNameAT; case '(' : return TokenNameLPAREN; case ')' : return TokenNameRPAREN; case '{' : return TokenNameLBRACE; case '}' : return TokenNameRBRACE; case '[' : return TokenNameLBRACKET; case ']' : return TokenNameRBRACKET; case ';' : return TokenNameSEMICOLON; case ',' : return TokenNameCOMMA; case '.' : if (this.startPosition <= this.cursorLocation && this.cursorLocation < this.currentPosition){ return TokenNameDOT; // completion inside .<|>12 } if (getNextCharAsDigit()) { return scanNumber(true); } int temp = this.currentPosition; if (getNextChar('.')) { if (getNextChar('.')) { return TokenNameELLIPSIS; } else { this.currentPosition = temp; return TokenNameDOT; } } else { this.currentPosition = temp; return TokenNameDOT; } case '+' : { int test; if ((test = getNextChar('+', '=')) == 0) return TokenNamePLUS_PLUS; if (test > 0) return TokenNamePLUS_EQUAL; return TokenNamePLUS; } case '-' : { int test; if ((test = getNextChar('-', '=')) == 0) return TokenNameMINUS_MINUS; if (test > 0) return TokenNameMINUS_EQUAL; return TokenNameMINUS; } case '~' : return TokenNameTWIDDLE; case '!' : if (getNextChar('=')) return TokenNameNOT_EQUAL; return TokenNameNOT; case '*' : if (getNextChar('=')) return TokenNameMULTIPLY_EQUAL; return TokenNameMULTIPLY; case '%' : if (getNextChar('=')) return TokenNameREMAINDER_EQUAL; return TokenNameREMAINDER; case '<' : { int test; if ((test = getNextChar('=', '<')) == 0) return TokenNameLESS_EQUAL; if (test > 0) { if (getNextChar('=')) return TokenNameLEFT_SHIFT_EQUAL; return TokenNameLEFT_SHIFT; } return TokenNameLESS; } case '>' : { int test; if (this.returnOnlyGreater) { return TokenNameGREATER; } if ((test = getNextChar('=', '>')) == 0) return TokenNameGREATER_EQUAL; if (test > 0) { if ((test = getNextChar('=', '>')) == 0) return TokenNameRIGHT_SHIFT_EQUAL; if (test > 0) { if (getNextChar('=')) return TokenNameUNSIGNED_RIGHT_SHIFT_EQUAL; return TokenNameUNSIGNED_RIGHT_SHIFT; } return TokenNameRIGHT_SHIFT; } return TokenNameGREATER; } case '=' : if (getNextChar('=')) return TokenNameEQUAL_EQUAL; return TokenNameEQUAL; case '&' : { int test; if ((test = getNextChar('&', '=')) == 0) return TokenNameAND_AND; if (test > 0) return TokenNameAND_EQUAL; return TokenNameAND; } case '|' : { int test; if ((test = getNextChar('|', '=')) == 0) return TokenNameOR_OR; if (test > 0) return TokenNameOR_EQUAL; return TokenNameOR; } case '^' : if (getNextChar('=')) return TokenNameXOR_EQUAL; return TokenNameXOR; case '?' : return TokenNameQUESTION; case ':' : return TokenNameCOLON; case '\'' : { int test; if ((test = getNextChar('\n', '\r')) == 0) { throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (test > 0) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 3; lookAhead++) { if (this.currentPosition + lookAhead == this.source.length) break; if (this.source[this.currentPosition + lookAhead] == '\n') break; if (this.source[this.currentPosition + lookAhead] == '\'') { this.currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } } if (getNextChar('\'')) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 3; lookAhead++) { if (this.currentPosition + lookAhead == this.source.length) break; if (this.source[this.currentPosition + lookAhead] == '\n') break; if (this.source[this.currentPosition + lookAhead] == '\'') { this.currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (getNextChar('\\')) { if (this.unicodeAsBackSlash) { // consume next character this.unicodeAsBackSlash = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (this.withoutUnicodePtr != 0) { unicodeStore(); } } } else { this.currentCharacter = this.source[this.currentPosition++]; } scanEscapeCharacter(); } else { // consume next character this.unicodeAsBackSlash = false; boolean checkIfUnicode = false; try { checkIfUnicode = ((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u'); } catch(IndexOutOfBoundsException e) { this.currentPosition--; throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); } if (checkIfUnicode) { getNextUnicodeChar(); } else { if (this.withoutUnicodePtr != 0) { this.unicodeStore(); } } } if (getNextChar('\'')) return TokenNameCharacterLiteral; // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 20; lookAhead++) { if (this.currentPosition + lookAhead == this.source.length) break; if (this.source[this.currentPosition + lookAhead] == '\n') break; if (this.source[this.currentPosition + lookAhead] == '\'') { this.currentPosition += lookAhead + 1; break; } } throw new InvalidInputException(INVALID_CHARACTER_CONSTANT); case '"' : try { // consume next character this.unicodeAsBackSlash = false; boolean isUnicode = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); isUnicode = true; } else { if (this.withoutUnicodePtr != 0) { this.unicodeStore(); } } while (this.currentCharacter != '"') { /**** \r and \n are not valid in string literals ****/ if ((this.currentCharacter == '\n') || (this.currentCharacter == '\r')) { if (isUnicode) { int start = this.currentPosition - 5; while(this.source[start] != '\\') { start--; } if(this.startPosition <= this.cursorLocation && this.cursorLocation <= this.currentPosition-1) { this.currentPosition = start; // complete inside a string literal return TokenNameStringLiteral; } start = this.currentPosition; for (int lookAhead = 0; lookAhead < 50; lookAhead++) { if (this.currentPosition >= this.eofPosition) { this.currentPosition = start; break; } if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { isUnicode = true; getNextUnicodeChar(); } else { isUnicode = false; } if (!isUnicode && this.currentCharacter == '\n') { this.currentPosition--; // set current position on new line character break; } if (this.currentCharacter == '\"') { throw new InvalidInputException(INVALID_CHAR_IN_STRING); } } } else { this.currentPosition--; // set current position on new line character if(this.startPosition <= this.cursorLocation && this.cursorLocation <= this.currentPosition-1) { // complete inside a string literal return TokenNameStringLiteral; } } throw new InvalidInputException(INVALID_CHAR_IN_STRING); } if (this.currentCharacter == '\\') { if (this.unicodeAsBackSlash) { this.withoutUnicodePtr--; // consume next character this.unicodeAsBackSlash = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); isUnicode = true; this.withoutUnicodePtr--; } else { isUnicode = false; } } else { if (this.withoutUnicodePtr == 0) { unicodeInitializeBuffer(this.currentPosition - this.startPosition); } this.withoutUnicodePtr --; this.currentCharacter = this.source[this.currentPosition++]; } // we need to compute the escape character in a separate buffer scanEscapeCharacter(); if (this.withoutUnicodePtr != 0) { unicodeStore(); } } // consume next character this.unicodeAsBackSlash = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; if (this.withoutUnicodePtr != 0) { this.unicodeStore(); } } } } catch (IndexOutOfBoundsException e) { this.currentPosition--; if(this.startPosition <= this.cursorLocation && this.cursorLocation < this.currentPosition) { // complete inside a string literal return TokenNameStringLiteral; } throw new InvalidInputException(UNTERMINATED_STRING); } catch (InvalidInputException e) { if (e.getMessage().equals(INVALID_ESCAPE)) { // relocate if finding another quote fairly close: thus unicode '/u000D' will be fully consumed for (int lookAhead = 0; lookAhead < 50; lookAhead++) { if (this.currentPosition + lookAhead == this.source.length) break; if (this.source[this.currentPosition + lookAhead] == '\n') break; if (this.source[this.currentPosition + lookAhead] == '\"') { this.currentPosition += lookAhead + 1; break; } } } throw e; // rethrow }// if (this.startPosition <= this.cursorLocation && this.cursorLocation <= this.currentPosition-1){// } return TokenNameStringLiteral; case '/' : { int test; if ((test = getNextChar('/', '*')) == 0) { //line comment this.lastCommentLinePosition = this.currentPosition; try { //get the next char if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { //-------------unicode traitement ------------ int c1 = 0, c2 = 0, c3 = 0, c4 = 0; this.currentPosition++; while (this.source[this.currentPosition] == 'u') { this.currentPosition++; } if ((c1 = Character.getNumericValue(this.source[this.currentPosition++])) > 15 || c1 < 0 || (c2 = Character.getNumericValue(this.source[this.currentPosition++])) > 15 || c2 < 0 || (c3 = Character.getNumericValue(this.source[this.currentPosition++])) > 15 || c3 < 0 || (c4 = Character.getNumericValue(this.source[this.currentPosition++])) > 15 || c4 < 0) { throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } else { this.currentCharacter = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } } //handle the \\u case manually into comment if (this.currentCharacter == '\\') { if (this.source[this.currentPosition] == '\\') this.currentPosition++; } //jump over the \\ boolean isUnicode = false; while (this.currentCharacter != '\r' && this.currentCharacter != '\n') { this.lastCommentLinePosition = this.currentPosition; //get the next char isUnicode = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { isUnicode = true; //-------------unicode traitement ------------ int c1 = 0, c2 = 0, c3 = 0, c4 = 0; this.currentPosition++; while (this.source[this.currentPosition] == 'u') { this.currentPosition++; } if ((c1 = Character.getNumericValue(this.source[this.currentPosition++])) > 15 || c1 < 0 || (c2 = Character.getNumericValue(this.source[this.currentPosition++])) > 15 || c2 < 0 || (c3 = Character.getNumericValue(this.source[this.currentPosition++])) > 15 || c3 < 0 || (c4 = Character.getNumericValue(this.source[this.currentPosition++])) > 15 || c4 < 0) { throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } else { this.currentCharacter = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } } //handle the \\u case manually into comment if (this.currentCharacter == '\\') { if (this.source[this.currentPosition] == '\\') this.currentPosition++; } //jump over the \\ } /* * We need to completely consume the line break */ if (this.currentCharacter == '\r' && this.source.length > this.currentPosition) { if (this.source[this.currentPosition] == '\n') { this.currentPosition++; this.currentCharacter = '\n'; } else if ((this.source[this.currentPosition] == '\\') && (this.source[this.currentPosition + 1] == 'u')) { isUnicode = true; char unicodeChar; int index = this.currentPosition + 1; index++; while (this.source[index] == 'u') { index++; } //-------------unicode traitement ------------ int c1 = 0, c2 = 0, c3 = 0, c4 = 0; if ((c1 = Character.getNumericValue(this.source[index++])) > 15 || c1 < 0 || (c2 = Character.getNumericValue(this.source[index++])) > 15 || c2 < 0 || (c3 = Character.getNumericValue(this.source[index++])) > 15 || c3 < 0 || (c4 = Character.getNumericValue(this.source[index++])) > 15 || c4 < 0) { this.currentPosition = index; throw new InvalidInputException(INVALID_UNICODE_ESCAPE); } else { unicodeChar = (char) (((c1 * 16 + c2) * 16 + c3) * 16 + c4); } if (unicodeChar == '\n') { this.currentPosition = index; this.currentCharacter = '\n'; } } } recordComment(TokenNameCOMMENT_LINE); if (this.startPosition <= this.cursorLocation && this.cursorLocation < this.currentPosition-1){ throw new InvalidCursorLocation(InvalidCursorLocation.NO_COMPLETION_INSIDE_COMMENT); } if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { //checkNonExternalizedString(); if (this.recordLineSeparator) { if (isUnicode) { pushUnicodeLineSeparator(); } else { pushLineSeparator(); } } } if (this.tokenizeComments) { return TokenNameCOMMENT_LINE; } } catch (IndexOutOfBoundsException e) { this.currentPosition--; recordComment(TokenNameCOMMENT_LINE); if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if (this.tokenizeComments) { return TokenNameCOMMENT_LINE; } else { this.currentPosition++; } } break; } if (test > 0) { //traditional and javadoc comment try { //get the next char boolean isJavadoc = false, star = false; boolean isUnicode = false; // consume next character this.unicodeAsBackSlash = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; if (this.withoutUnicodePtr != 0) { this.unicodeStore(); } } if (this.currentCharacter == '*') { isJavadoc = true; star = true; } if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { //checkNonExternalizedString(); if (this.recordLineSeparator) { if (!isUnicode) { pushLineSeparator(); } } } isUnicode = false; if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { //-------------unicode traitement ------------ getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; } //handle the \\u case manually into comment if (this.currentCharacter == '\\') { if (this.source[this.currentPosition] == '\\') this.currentPosition++; } //jump over the \\ // empty comment is not a javadoc /**/ if (this.currentCharacter == '/') { isJavadoc = false; } //loop until end of comment */ while ((this.currentCharacter != '/') || (!star)) { if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { //checkNonExternalizedString(); if (this.recordLineSeparator) { if (!isUnicode) { pushLineSeparator(); } } } star = this.currentCharacter == '*'; //get next char if (((this.currentCharacter = this.source[this.currentPosition++]) == '\\') && (this.source[this.currentPosition] == 'u')) { //-------------unicode traitement ------------ getNextUnicodeChar(); isUnicode = true; } else { isUnicode = false; } //handle the \\u case manually into comment if (this.currentCharacter == '\\') { if (this.source[this.currentPosition] == '\\') this.currentPosition++; } //jump over the \\ } int token = isJavadoc ? TokenNameCOMMENT_JAVADOC : TokenNameCOMMENT_BLOCK; recordComment(token); if (!isJavadoc && this.startPosition <= this.cursorLocation && this.cursorLocation < this.currentPosition-1){ throw new InvalidCursorLocation(InvalidCursorLocation.NO_COMPLETION_INSIDE_COMMENT); } if (this.taskTags != null) checkTaskTag(this.startPosition, this.currentPosition); if (this.tokenizeComments) { /* if (isJavadoc) return TokenNameCOMMENT_JAVADOC; return TokenNameCOMMENT_BLOCK; */ return token; } } catch (IndexOutOfBoundsException e) { this.currentPosition--; throw new InvalidInputException(UNTERMINATED_COMMENT); } break; } if (getNextChar('=')) return TokenNameDIVIDE_EQUAL; return TokenNameDIVIDE; } case '\u001a' : if (atEnd()) return TokenNameEOF; //the atEnd may not be <this.currentPosition == this.source.length> if source is only some part of a real (external) stream throw new InvalidInputException("Ctrl-Z"); //$NON-NLS-1$ default : if (Character.isJavaIdentifierStart(this.currentCharacter)) return scanIdentifierOrKeyword(); if (isDigit(this.currentCharacter)) { return scanNumber(false); } return TokenNameERROR; } } } //-----------------end switch while try-------------------- catch (IndexOutOfBoundsException e) { if (this.tokenizeWhiteSpace && (whiteStart != this.currentPosition - 1)) { // reposition scanner in case we are interested by spaces as tokens this.currentPosition--; this.startPosition = whiteStart; return TokenNameWHITESPACE; } } /* might be completing at very end of file (e.g. behind a dot) */ if (this.completionIdentifier == null && this.startPosition == this.cursorLocation + 1){ this.currentPosition = this.startPosition; // for being detected as empty free identifier return TokenNameIdentifier; } return TokenNameEOF;}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/d3a9da1814717a2c18ee252440a7a4915c82ca4d/CompletionScanner.java/clean/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 509, 22616, 1435, 1216, 31989, 288, 202, 2211, 18, 17416, 37, 3353, 273, 629, 31, 202, 2211, 18, 9124, 2156, 1225, 273, 374, 31, 202, 430, 261, 2211, 18, 3211, 278, 13, 288, 202, 202, 24574, 4851, 1305, 2250, 5621, 202, 202, 2211, 18, 3211, 278, 273, 629, 31, 202, 202, 2463, 333, 18, 2972, 2555, 405, 333, 18, 3168, 18, 2469, 692, 3155, 461, 12706, 294, 3155, 461, 19437, 9254, 31, 202, 97, 202, 474, 9578, 1685, 273, 374, 31, 202, 698, 288, 202, 202, 17523, 261, 3767, 13, 288, 368, 6498, 364, 525, 379, 1382, 1879, 5678, 1082, 202, 2211, 18, 13299, 16532, 5263, 273, 374, 31, 1082, 202, 759, 1937, 598, 279, 394, 1147, 261, 16728, 2879, 5941, 598, 5252, 262, 1082, 202, 759, 300, 788, 19253, 9578, 3476, 471, 7372, 787, 1754, 8567, 1082, 202, 14739, 1685, 273, 333, 18, 2972, 2555, 31, 1082, 202, 6494, 353, 23108, 16, 711, 13407, 12077, 273, 629, 31, 1082, 202, 474, 1384, 273, 374, 31, 1082, 202, 2896, 288, 9506, 202, 2211, 18, 1937, 2555, 273, 333, 18, 2972, 2555, 31, 9506, 202, 6494, 19130, 16532, 273, 629, 31, 9506, 202, 698, 288, 6862, 202, 1893, 2047, 16532, 273, 14015, 2211, 18, 2972, 7069, 273, 333, 18, 3168, 63, 2211, 18, 2972, 2555, 9904, 5717, 422, 5282, 13, 25083, 202, 10, 10, 261, 2211, 18, 3168, 63, 2211, 18, 2972, 2555, 65, 422, 296, 89, 8284, 9506, 202, 97, 1044, 12, 30548, 425, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 509, 22616, 1435, 1216, 31989, 288, 202, 2211, 18, 17416, 37, 3353, 273, 629, 31, 202, 2211, 18, 9124, 2156, 1225, 273, 374, 31, 202, 430, 261, 2211, 18, 3211, 278, 13, 288, 202, 202, 24574, 4851, 1305, 2250, 5621, 202, 202, 2211, 18, 3211, 278, 273, 629, 31, 202, 202, 2463, 333, 18, 2972, 2555, 405, 333, 18, 3168, 18, 2469, 692, 3155, 461, 12706, 294, 3155, 461, 19437, 9254, 31, 202, 97, 202, 474, 9578, 1685, 273, 374, 31, 202, 698, 288, 202, 202, 17523, 261, 3767, 13, 288, 368, 6498, 364, 525, 379, 1382, 1879, 5678, 1082, 202, 2211, 18, 13299, 16532, 5263, 273, 374, 31, 1082, 202, 759, 1937, 598, 279, 394, 1147, 261, 2 ]
protected MenuManager createMenuManager() { MenuManager result = new MenuManager("menu"); final MenuManager menuManagerFile = new MenuManager("File"); result.add(menuManagerFile); menuManagerFile.add(newFileAction); menuManagerFile.add(openFileAction); menuManagerFile.add(new Separator()); String[] mruFiles = UserPreferences.getInstance().getMRUFiles(); if (mruFiles != null & mruFiles.length > 0) { for (int i = 0; i < mruFiles.length; i++) { String fileName = mruFiles[i]; String menuItem = "&" + (i + 1) + " " + new File(fileName).getName(); IAction nextMRUAction = new MRUFileAction(fileName, menuItem); menuManagerFile.add(nextMRUAction); } menuManagerFile.add(new Separator()); } menuManagerFile.add(saveFileAction); menuManagerFile.add(saveFileAsAction); menuManagerFile.add(new Separator()); final MenuManager menuManagerExportTo = new MenuManager("Export To"); menuManagerFile.add(menuManagerExportTo); menuManagerExportTo.add(exportToTextAction); menuManagerExportTo.add(exportToXMLAction); final MenuManager menuManagerImportFrom = new MenuManager("Import From"); menuManagerFile.add(menuManagerImportFrom); menuManagerImportFrom.add(importFromTextAction); menuManagerImportFrom.add(importFromXMLAction); menuManagerFile.add(new Separator()); menuManagerFile.add(exitAppAction); final MenuManager menuManagerEdit = new MenuManager("Edit"); result.add(menuManagerEdit); menuManagerEdit.add(addRecordAction); menuManagerEdit.add(editRecordAction); menuManagerEdit.add(deleteRecordAction); menuManagerEdit.add(new Separator()); menuManagerEdit.add(copyPasswordAction); menuManagerEdit.add(copyUsernameAction); menuManagerEdit.add(clearClipboardAction); final MenuManager menuManagerView = new MenuManager("View"); result.add(menuManagerView); menuManagerView.add(viewAsListAction); menuManagerView.add(viewAsTreeAction); final MenuManager menuManagerManage = new MenuManager("Manage"); result.add(menuManagerManage); menuManagerManage.add(changeSafeCombinationAction); menuManagerManage.add(new Separator()); menuManagerManage.add(optionsAction); final MenuManager menuManagerHelp = new MenuManager("Help"); result.add(menuManagerHelp); menuManagerHelp.add(helpAction); menuManagerHelp.add(new Separator()); menuManagerHelp.add(visitPasswordSafeWebsiteAction); menuManagerHelp.add(new Separator()); menuManagerHelp.add(aboutAction); return result; }
2455 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2455/65a2b20cfc96e0d9804e136df0076651309900f1/PasswordSafeJFace.java/buggy/pwsafe/Java/PasswordSafeSWT/src/org/pwsafe/passwordsafeswt/PasswordSafeJFace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4599, 1318, 2640, 4599, 1318, 1435, 95, 202, 202, 4599, 1318, 2088, 33, 2704, 4599, 1318, 2932, 5414, 8863, 202, 202, 6385, 4599, 49, 940, 1035, 2104, 1318, 812, 33, 2704, 4599, 1318, 2932, 812, 8863, 202, 202, 2088, 18, 1289, 12, 5414, 1318, 812, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 3190, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 6581, 10663, 202, 202, 780, 8526, 81, 8653, 2697, 33, 1299, 12377, 18, 588, 1442, 7675, 588, 49, 19866, 2697, 5621, 202, 202, 430, 12, 81, 8653, 2697, 5, 33, 2011, 10, 81, 8653, 2697, 18, 2469, 34, 20, 15329, 1082, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 81, 8653, 2697, 18, 2469, 31, 77, 27245, 95, 9506, 202, 780, 17812, 33, 81, 8653, 2697, 63, 77, 15533, 9506, 202, 780, 5414, 1180, 1546, 10, 6, 15, 12, 77, 15, 21, 27921, 3660, 15, 2704, 812, 12, 17812, 2934, 17994, 5621, 9506, 202, 45, 1803, 4285, 49, 19866, 1803, 33, 2704, 49, 19866, 812, 1803, 12, 17812, 16, 5414, 1180, 1769, 9506, 202, 5414, 1318, 812, 18, 1289, 12, 4285, 49, 19866, 1803, 1769, 1082, 202, 97, 1082, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 6581, 10663, 202, 202, 97, 202, 202, 5414, 1318, 812, 18, 1289, 12, 5688, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 5688, 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, 4599, 1318, 2640, 4599, 1318, 1435, 95, 202, 202, 4599, 1318, 2088, 33, 2704, 4599, 1318, 2932, 5414, 8863, 202, 202, 6385, 4599, 49, 940, 1035, 2104, 1318, 812, 33, 2704, 4599, 1318, 2932, 812, 8863, 202, 202, 2088, 18, 1289, 12, 5414, 1318, 812, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 3190, 812, 1803, 1769, 202, 202, 5414, 1318, 812, 18, 1289, 12, 2704, 6581, 10663, 202, 202, 780, 8526, 81, 8653, 2697, 33, 1299, 12377, 18, 588, 1442, 7675, 588, 49, 19866, 2697, 5621, 202, 202, 430, 12, 81, 8653, 2697, 5, 33, 2011, 10, 81, 8653, 2697, 18, 2469, 2 ]
injectors.put( DeleteStoredProcedureParameter.NAME, $nameInjector ); injectors.put( DeleteStoredProcedureParameter.DELETED_ENTRY, $deletedEntryInjector ); this.deletedEntryName = deletedEntryName;
injectors.put( DeleteStoredProcedureParameter.NAME, $nameInjector.inject() ); injectors.put( DeleteStoredProcedureParameter.DELETED_ENTRY, $deletedEntryInjector.inject() );
public DeleteStoredProcedureParameterInjector( LdapDN deletedEntryName ) { injectors = super.getInjectors(); injectors.put( DeleteStoredProcedureParameter.NAME, $nameInjector ); injectors.put( DeleteStoredProcedureParameter.DELETED_ENTRY, $deletedEntryInjector ); this.deletedEntryName = deletedEntryName; }
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/228a4572d0786b40f5a0e6d47b1755b100af1f80/DeleteStoredProcedureParameterInjector.java/buggy/core/src/main/java/org/apache/directory/server/core/trigger/DeleteStoredProcedureParameterInjector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2504, 18005, 17213, 1662, 19210, 12, 18053, 8609, 4282, 1622, 461, 262, 565, 288, 3639, 4590, 1383, 273, 2240, 18, 588, 15598, 1383, 5621, 3639, 4590, 1383, 18, 458, 12, 2504, 18005, 17213, 1662, 18, 1985, 16, 271, 529, 19210, 11272, 3639, 4590, 1383, 18, 458, 12, 2504, 18005, 17213, 1662, 18, 27392, 67, 19083, 16, 271, 8600, 1622, 19210, 11272, 3639, 333, 18, 8600, 1622, 461, 273, 4282, 1622, 461, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2504, 18005, 17213, 1662, 19210, 12, 18053, 8609, 4282, 1622, 461, 262, 565, 288, 3639, 4590, 1383, 273, 2240, 18, 588, 15598, 1383, 5621, 3639, 4590, 1383, 18, 458, 12, 2504, 18005, 17213, 1662, 18, 1985, 16, 271, 529, 19210, 11272, 3639, 4590, 1383, 18, 458, 12, 2504, 18005, 17213, 1662, 18, 27392, 67, 19083, 16, 271, 8600, 1622, 19210, 11272, 3639, 333, 18, 8600, 1622, 461, 273, 4282, 1622, 461, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testRegister() throws Exception { assertFalse(m_frontEnd.isRegistered()); m_frontEnd.register("RDU"); assertTrue(m_frontEnd.isRegistered()); Integer monitorId = m_settings.getMonitorId(); assertEquals(1, queryForInt("select count(*) from location_monitors where id=?", monitorId)); Thread.sleep(10000); // The monitor should not be marked unresponsive as it should be checking in with the server assertEquals(0, queryForInt("select count(*) from location_monitors where status='UNRESPONSIVE' and id=?", monitorId)); m_frontEnd.stop(); assertTrue("Could not found any pollResults", 0 < queryForInt("select count(*) from location_specific_status_changes where locationMonitorId = ?", monitorId)); }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/5c8bd5e5f69fc3a0d83150a7ef076b158b1b56fb/PollerFrontEndIntegrationTest.java/buggy/opennms-services/src/test/java/org/opennms/netmgt/poller/remote/PollerFrontEndIntegrationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 3996, 1435, 15069, 503, 95, 11231, 8381, 12, 81, 67, 10211, 1638, 18, 291, 10868, 10663, 81, 67, 10211, 1638, 18, 4861, 2932, 54, 16214, 8863, 11231, 5510, 12, 81, 67, 10211, 1638, 18, 291, 10868, 10663, 4522, 10259, 548, 33, 81, 67, 4272, 18, 588, 7187, 548, 5621, 11231, 8867, 12, 21, 16, 2271, 1290, 1702, 2932, 4025, 1883, 24099, 2080, 3562, 67, 2586, 13704, 6051, 350, 17282, 3113, 10259, 548, 10019, 3830, 18, 19607, 12, 23899, 1769, 759, 1315, 351, 4089, 13139, 902, 70, 351, 1313, 329, 318, 455, 24727, 345, 305, 13139, 2196, 24609, 267, 1918, 7915, 12330, 11231, 8867, 12, 20, 16, 2271, 1290, 1702, 2932, 4025, 1883, 24099, 2080, 3562, 67, 2586, 13704, 91, 1614, 395, 996, 2218, 2124, 862, 10789, 24870, 11, 3339, 17282, 3113, 10259, 548, 10019, 81, 67, 10211, 1638, 18, 5681, 5621, 11231, 5510, 2932, 4445, 902, 7015, 304, 879, 22382, 3447, 3113, 20, 32, 2271, 1290, 1702, 2932, 4025, 1883, 24099, 2080, 3562, 67, 12524, 67, 2327, 67, 6329, 91, 1614, 292, 4431, 7187, 548, 17282, 3113, 10259, 548, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 3996, 1435, 15069, 503, 95, 11231, 8381, 12, 81, 67, 10211, 1638, 18, 291, 10868, 10663, 81, 67, 10211, 1638, 18, 4861, 2932, 54, 16214, 8863, 11231, 5510, 12, 81, 67, 10211, 1638, 18, 291, 10868, 10663, 4522, 10259, 548, 33, 81, 67, 4272, 18, 588, 7187, 548, 5621, 11231, 8867, 12, 21, 16, 2271, 1290, 1702, 2932, 4025, 1883, 24099, 2080, 3562, 67, 2586, 13704, 6051, 350, 17282, 3113, 10259, 548, 10019, 3830, 18, 19607, 12, 23899, 1769, 759, 1315, 351, 4089, 13139, 902, 70, 351, 1313, 329, 318, 455, 24727, 345, 305, 13139, 2196, 24609, 267, 1918, 7915, 12330, 11231, 8867, 12, 20, 16, 2271, 1290, 1702, 2932, 4025, 1883, 24099, 2080, 3562, 67, 2 ]
IPatch p = new Patch(sysex, this);
Patch p = new Patch(sysex, this);
public IPatch createNewPatch() { byte [] sysex = new byte[605]; sysex[00]=(byte)0xF0;sysex[01]=(byte)0x43;sysex[02]=(byte)0x00; sysex[03]=(byte)0x7E;sysex[04]=(byte)0x04;sysex[05]=(byte)0x55; sysex[06]=(byte)0x4C;sysex[07]=(byte)0x4D;sysex[8]=(byte)0x20; sysex[9]=(byte)0x20;sysex[10]=(byte)0x30;sysex[11]=(byte)0x30; sysex[12]=(byte)0x31;sysex[13]=(byte)0x32;sysex[14]=(byte)0x56; sysex[15]=(byte)0x45; sysex[604]=(byte)0xF7; IPatch p = new Patch(sysex, this); setPatchName(p,"NewPatch"); calculateChecksum(p); return p; }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/8de9e9d107eb8c0487bbadf2f24d3a5cc9bc1add/YamahaTG33SingleDriver.java/buggy/JSynthLib/synthdrivers/YamahaTG33/YamahaTG33SingleDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2971, 505, 15291, 7332, 1435, 288, 202, 1160, 5378, 1393, 20909, 273, 394, 1160, 63, 4848, 25, 15533, 1377, 1393, 20909, 63, 713, 65, 28657, 7229, 13, 20, 16275, 20, 31, 9009, 20909, 63, 1611, 65, 28657, 7229, 13, 20, 92, 8942, 31, 9009, 20909, 63, 3103, 65, 28657, 7229, 13, 20, 92, 713, 31, 377, 1393, 20909, 63, 4630, 65, 28657, 7229, 13, 20, 92, 27, 41, 31, 9009, 20909, 63, 3028, 65, 28657, 7229, 13, 20, 92, 3028, 31, 9009, 20909, 63, 6260, 65, 28657, 7229, 13, 20, 92, 2539, 31, 377, 1393, 20909, 63, 7677, 65, 28657, 7229, 13, 20, 92, 24, 39, 31, 9009, 20909, 63, 8642, 65, 28657, 7229, 13, 20, 92, 24, 40, 31, 9009, 20909, 63, 28, 65, 28657, 7229, 13, 20, 92, 3462, 31, 377, 1393, 20909, 63, 29, 65, 28657, 7229, 13, 20, 92, 3462, 31, 9009, 20909, 63, 2163, 65, 28657, 7229, 13, 20, 92, 5082, 31, 9009, 20909, 63, 2499, 65, 28657, 7229, 13, 20, 92, 5082, 31, 377, 1393, 20909, 63, 2138, 65, 28657, 7229, 13, 20, 92, 6938, 31, 9009, 20909, 63, 3437, 65, 28657, 7229, 13, 20, 92, 1578, 31, 9009, 20909, 63, 3461, 65, 28657, 7229, 13, 20, 92, 4313, 31, 377, 1393, 20909, 63, 3600, 65, 28657, 7229, 13, 20, 92, 7950, 31, 225, 1393, 20909, 63, 26, 3028, 65, 28657, 7229, 13, 20, 16275, 27, 31, 1377, 202, 2579, 505, 293, 273, 394, 12042, 12, 9009, 20909, 16, 333, 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, 2971, 505, 15291, 7332, 1435, 288, 202, 1160, 5378, 1393, 20909, 273, 394, 1160, 63, 4848, 25, 15533, 1377, 1393, 20909, 63, 713, 65, 28657, 7229, 13, 20, 16275, 20, 31, 9009, 20909, 63, 1611, 65, 28657, 7229, 13, 20, 92, 8942, 31, 9009, 20909, 63, 3103, 65, 28657, 7229, 13, 20, 92, 713, 31, 377, 1393, 20909, 63, 4630, 65, 28657, 7229, 13, 20, 92, 27, 41, 31, 9009, 20909, 63, 3028, 65, 28657, 7229, 13, 20, 92, 3028, 31, 9009, 20909, 63, 6260, 65, 28657, 7229, 13, 20, 92, 2539, 31, 377, 1393, 20909, 63, 7677, 65, 28657, 7229, 13, 20, 92, 24, 39, 31, 9009, 20909, 63, 8642, 65, 28657, 7229, 13, 20, 92, 24, 2 ]
out.write((int) len); out.write((int) len);
if (out.getTdsVersion() < Driver.TDS70) { out.write((int) 1); out.write((int) 1); out.write((byte) 0); } else { out.write((int) len); out.write((int) len); }
static void writeParam(RequestStream out, CharsetInfo charsetInfo, byte[] collation, ParamInfo pi) throws IOException, SQLException { int len; String tmp; byte[] buf; boolean isTds8 = out.getTdsVersion() >= Driver.TDS80; if (isTds8) { if (pi.collation == null) { pi.collation = collation; } } if (pi.charsetInfo == null) { pi.charsetInfo = charsetInfo; } switch (pi.tdsType) { case XSYBVARCHAR: if (pi.value == null) { out.write((byte) pi.tdsType); out.write((short) 8000); if (isTds8) { putCollation(out, pi); } out.write((short) 0xFFFF); } else { buf = pi.getBytes(pi.charsetInfo.getCharset()); if (buf.length > 8000) { out.write((byte) SYBTEXT); out.write((int) buf.length); if (isTds8) { putCollation(out, pi); } out.write((int) buf.length); out.write(buf); } else { out.write((byte) pi.tdsType); out.write((short) 8000); if (isTds8) { putCollation(out, pi); } out.write((short) buf.length); out.write(buf); } } break; case SYBVARCHAR: if (pi.value == null) { out.write((byte) pi.tdsType); out.write((byte) 255); out.write((byte) 0); } else { buf = pi.getBytes(pi.charsetInfo.getCharset()); if (buf.length > 255) { if (buf.length < 8001 && out.getTdsVersion() >= Driver.TDS70) { out.write((byte) XSYBVARCHAR); out.write((short) 8000); if (isTds8) { putCollation(out, pi); } out.write((short) buf.length); out.write(buf); } else { out.write((byte) SYBTEXT); out.write((int) buf.length); if (isTds8) { putCollation(out, pi); } out.write((int) buf.length); out.write(buf); } } else { if (buf.length == 0) { buf = new byte[1]; buf[0] = ' '; } out.write((byte) pi.tdsType); out.write((byte) 255); out.write((byte) buf.length); out.write(buf); } } break; case XSYBNVARCHAR: out.write((byte) pi.tdsType); out.write((short) 8000); if (isTds8) { putCollation(out, pi); } if (pi.value == null) { out.write((short) 0xFFFF); } else { tmp = pi.getString(pi.charsetInfo.getCharset()); out.write((short) (tmp.length() * 2)); out.write(tmp); } break; case SYBTEXT: if (pi.value == null) { len = 0; } else { len = pi.length; if (len == 0 && out.getTdsVersion() < Driver.TDS70) { pi.value = " "; len = 1; } } out.write((byte) pi.tdsType); if (len > 0) { if (pi.value instanceof InputStream) { // Write output directly from stream out.write((int) len); if (isTds8) { putCollation(out, pi); } out.write((int) len); out.writeStreamBytes((InputStream) pi.value, len); } else if (pi.value instanceof Reader && !pi.charsetInfo.isWideChars()) { // Write output directly from stream with character translation out.write((int) len); if (isTds8) { putCollation(out, pi); } out.write((int) len); out.writeReaderBytes((Reader) pi.value, len); } else { buf = pi.getBytes(pi.charsetInfo.getCharset()); out.write((int) buf.length); if (isTds8) { putCollation(out, pi); } out.write((int) buf.length); out.write(buf); } } else { out.write((int) len); // Zero length if (isTds8) { putCollation(out, pi); } out.write((int)len); } break; case SYBNTEXT: if (pi.value == null) { len = 0; } else { len = pi.length; } out.write((byte)pi.tdsType); if (len > 0) { if (pi.value instanceof Reader) { out.write((int) len); if (isTds8) { putCollation(out, pi); } out.write((int) len * 2); out.writeReaderChars((Reader) pi.value, len); } else if (pi.value instanceof InputStream && !pi.charsetInfo.isWideChars()) { out.write((int) len); if (isTds8) { putCollation(out, pi); } out.write((int) len * 2); out.writeReaderChars(new InputStreamReader( (InputStream) pi.value, pi.charsetInfo.getCharset()), len); } else { tmp = pi.getString(pi.charsetInfo.getCharset()); len = tmp.length(); out.write((int) len); if (isTds8) { putCollation(out, pi); } out.write((int) len * 2); out.write(tmp); } } else { out.write((int) len); if (isTds8) { putCollation(out, pi); } out.write((int) len); } break; case XSYBVARBINARY: out.write((byte) pi.tdsType); out.write((short) 8000); if (pi.value == null) { out.write((short)0xFFFF); } else { buf = pi.getBytes(pi.charsetInfo.getCharset()); out.write((short) buf.length); out.write(buf); } break; case SYBVARBINARY: out.write((byte) pi.tdsType); out.write((byte) 255); if (pi.value == null) { out.write((byte) 0); } else { buf = pi.getBytes(pi.charsetInfo.getCharset()); out.write((byte) buf.length); out.write(buf); } break; case SYBIMAGE: if (pi.value == null) { len = 0; } else { len = pi.length; } out.write((byte) pi.tdsType); if (len > 0) { if (pi.value instanceof InputStream) { out.write((int) len); out.write((int) len); out.writeStreamBytes((InputStream) pi.value, len); } else { buf = pi.getBytes(pi.charsetInfo.getCharset()); out.write((int) buf.length); out.write((int) buf.length); out.write(buf); } } else { out.write((int) len); out.write((int) len); } break; case SYBINTN: out.write((byte) pi.tdsType); if (pi.value == null) { out.write((pi.sqlType.equals("bigint"))? (byte)8: (byte)4); out.write((byte) 0); } else { if (pi.sqlType.equals("bigint")) { out.write((byte) 8); out.write((byte) 8); out.write((long) ((Number) pi.value).longValue()); } else { out.write((byte) 4); out.write((byte) 4); out.write((int) ((Number) pi.value).intValue()); } } break; case SYBFLTN: out.write((byte) pi.tdsType); out.write((byte) 8); if (pi.value == null) { out.write((byte) 0); } else { out.write((byte) 8); out.write(((Number) pi.value).doubleValue()); } break; case SYBDATETIMN: out.write((byte) SYBDATETIMN); out.write((byte) 8); putDateTimeValue(out, pi.value); break; case SYBBIT: out.write((byte) pi.tdsType); if (pi.value == null) { out.write((byte) 0); } else { out.write((byte) (((Boolean) pi.value).booleanValue() ? 1 : 0)); } break; case SYBBITN: out.write((byte) SYBBITN); out.write((byte) 1); if (pi.value == null) { out.write((byte) 0); } else { out.write((byte) 1); out.write((byte) (((Boolean) pi.value).booleanValue() ? 1 : 0)); } break; case SYBNUMERIC: case SYBDECIMAL: out.write((byte) pi.tdsType); BigDecimal value = null; int prec = out.getMaxPrecision(); int scale; if (pi.jdbcType == java.sql.Types.BIGINT) { scale = 0; } else { if (pi.scale > DEFAULT_SCALE && pi.scale < prec) { scale = pi.scale; } else { scale = DEFAULT_SCALE; } } if (pi.value != null) { if (pi.value instanceof Long) { value = new BigDecimal(((Long) pi.value).toString()); scale = 0; } else { value = (BigDecimal) pi.value; scale = value.scale(); } } int maxLen = (prec <= 28) ? 13 : 17; out.write((byte) maxLen); out.write((byte) prec); out.write((byte) scale); out.write(value); break; default: throw new IllegalStateException("Unsupported output TDS type " + Integer.toHexString(pi.tdsType)); } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/2f1fefd2c51a632b432cc7be26cc8ec087a63c02/TdsData.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1045, 786, 12, 691, 1228, 596, 16, 21821, 12080, 966, 4856, 966, 16, 21821, 1160, 8526, 21277, 16, 21821, 3014, 966, 4790, 13, 565, 1216, 1860, 16, 6483, 288, 3639, 509, 562, 31, 3639, 514, 1853, 31, 3639, 1160, 8526, 1681, 31, 3639, 1250, 353, 56, 2377, 28, 273, 596, 18, 588, 56, 2377, 1444, 1435, 1545, 9396, 18, 56, 3948, 3672, 31, 3639, 309, 261, 291, 56, 2377, 28, 13, 288, 5411, 309, 261, 7259, 18, 29992, 422, 446, 13, 288, 7734, 4790, 18, 29992, 273, 21277, 31, 5411, 289, 3639, 289, 3639, 309, 261, 7259, 18, 9999, 966, 422, 446, 13, 288, 5411, 4790, 18, 9999, 966, 273, 4856, 966, 31, 3639, 289, 3639, 1620, 261, 7259, 18, 88, 2377, 559, 13, 288, 5411, 648, 1139, 7474, 38, 7716, 7305, 30, 7734, 309, 261, 7259, 18, 1132, 422, 446, 13, 288, 10792, 596, 18, 2626, 12443, 7229, 13, 4790, 18, 88, 2377, 559, 1769, 10792, 596, 18, 2626, 12443, 6620, 13, 1725, 3784, 1769, 10792, 309, 261, 291, 56, 2377, 28, 13, 288, 13491, 1378, 13535, 367, 12, 659, 16, 4790, 1769, 10792, 289, 10792, 596, 18, 2626, 12443, 6620, 13, 374, 21718, 1769, 7734, 289, 469, 288, 10792, 1681, 273, 4790, 18, 588, 2160, 12, 7259, 18, 9999, 966, 18, 588, 9652, 10663, 10792, 309, 261, 4385, 18, 2469, 405, 1725, 3784, 13, 288, 13491, 596, 18, 2626, 12443, 7229, 13, 7068, 38, 5151, 1769, 13491, 596, 18, 2626, 12443, 474, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1045, 786, 12, 691, 1228, 596, 16, 21821, 12080, 966, 4856, 966, 16, 21821, 1160, 8526, 21277, 16, 21821, 3014, 966, 4790, 13, 565, 1216, 1860, 16, 6483, 288, 3639, 509, 562, 31, 3639, 514, 1853, 31, 3639, 1160, 8526, 1681, 31, 3639, 1250, 353, 56, 2377, 28, 273, 596, 18, 588, 56, 2377, 1444, 1435, 1545, 9396, 18, 56, 3948, 3672, 31, 3639, 309, 261, 291, 56, 2377, 28, 13, 288, 5411, 309, 261, 7259, 18, 29992, 422, 446, 13, 288, 7734, 4790, 18, 29992, 273, 21277, 31, 5411, 289, 3639, 289, 3639, 309, 261, 7259, 18, 9999, 966, 422, 446, 13, 288, 5411, 4790, 18, 9999, 966, 273, 4856, 966, 31, 3639, 289, 3639, 2 ]
if (e.getButton() == MouseEvent.BUTTON3) { int rowUnderMouse = table.rowAtPoint(e.getPoint()); if (rowUnderMouse != -1 && !table.isRowSelected(rowUnderMouse)) { table.getSelectionModel().setSelectionInterval(rowUnderMouse, rowUnderMouse); } } }
if (e.getButton() == MouseEvent.BUTTON3) { int rowUnderMouse = getTable().rowAtPoint(e.getPoint()); if (rowUnderMouse != -1 && !getTable().isRowSelected(rowUnderMouse)) { getSelectionModel().setSelectionInterval(rowUnderMouse, rowUnderMouse); } } }
public void mousePressed(MouseEvent e) { // If the user right clicks on a row other than the selection, // then move // the selection to the current row if (e.getButton() == MouseEvent.BUTTON3) { int rowUnderMouse = table.rowAtPoint(e.getPoint()); if (rowUnderMouse != -1 && !table.isRowSelected(rowUnderMouse)) { // Select the row under the mouse table.getSelectionModel().setSelectionInterval(rowUnderMouse, rowUnderMouse); } } }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/2224b49c445911182579708c97cbe27050123ac6/AbstractObjectTable.java/buggy/sandbox/src/main/java/org/springframework/richclient/table/support/AbstractObjectTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 7644, 24624, 12, 9186, 1133, 425, 13, 288, 5411, 368, 971, 326, 729, 2145, 27659, 603, 279, 1027, 1308, 2353, 326, 4421, 16, 5411, 368, 1508, 3635, 5411, 368, 326, 4421, 358, 326, 783, 1027, 5411, 309, 261, 73, 18, 588, 3616, 1435, 422, 17013, 1133, 18, 20068, 23, 13, 288, 7734, 509, 1027, 14655, 9186, 273, 1014, 18, 492, 861, 2148, 12, 73, 18, 588, 2148, 10663, 7734, 309, 261, 492, 14655, 9186, 480, 300, 21, 597, 401, 2121, 18, 291, 1999, 7416, 12, 492, 14655, 9186, 3719, 288, 10792, 368, 6766, 326, 1027, 3613, 326, 7644, 10792, 1014, 18, 588, 6233, 1488, 7675, 542, 6233, 4006, 12, 492, 14655, 9186, 16, 1027, 14655, 9186, 1769, 7734, 289, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 540, 1071, 918, 7644, 24624, 12, 9186, 1133, 425, 13, 288, 5411, 368, 971, 326, 729, 2145, 27659, 603, 279, 1027, 1308, 2353, 326, 4421, 16, 5411, 368, 1508, 3635, 5411, 368, 326, 4421, 358, 326, 783, 1027, 5411, 309, 261, 73, 18, 588, 3616, 1435, 422, 17013, 1133, 18, 20068, 23, 13, 288, 7734, 509, 1027, 14655, 9186, 273, 1014, 18, 492, 861, 2148, 12, 73, 18, 588, 2148, 10663, 7734, 309, 261, 492, 14655, 9186, 480, 300, 21, 597, 401, 2121, 18, 291, 1999, 7416, 12, 492, 14655, 9186, 3719, 288, 10792, 368, 6766, 326, 1027, 3613, 326, 7644, 10792, 1014, 18, 588, 6233, 1488, 7675, 542, 6233, 4006, 12, 492, 14655, 9186, 16, 1027, 14655, 9186, 2 ]
catch( DebuggerCaughtException e )
catch(DebuggerCaughtException e)
private static void assert_fail(String msg, Object ob, boolean useHandler) { if( ASS ) { String errMsg = buildString( msg, ob ); System.out.println( "===============!!!==============" ); System.out.println( errMsg ); System.out.println( "===============!!!==============" ); int choice = AssertFailureHandler.DEBUG; if( useHandler && null != _FailureHandlers ) { AssertFailureHandler handler = (AssertFailureHandler) _FailureHandlers.get(Thread.currentThread()); if( null != handler ) choice = handler.assertFailed( msg, errMsg, ob ); } switch(choice) { case AssertFailureHandler.CONTINUE: // do nothing... break; case AssertFailureHandler.ABORT: System.exit(0); break; case AssertFailureHandler.DEBUG: default: try { throw new DebuggerCaughtException(errMsg); } catch( DebuggerCaughtException e ) { // eat exception (but catch in debugger) } } } }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/2de73cf99dce60cce549e7757f841284b68d1220/ER.java/buggy/js/jsdj/classes/com/netscape/jsdebugging/ifcui/palomar/util/ER.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1815, 67, 6870, 12, 780, 1234, 16, 1033, 3768, 16, 1250, 999, 1503, 13, 565, 288, 3639, 309, 12, 17289, 262, 3639, 288, 5411, 514, 12412, 273, 1361, 780, 12, 1234, 16, 3768, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 315, 14468, 12275, 25885, 26678, 6, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 12412, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 315, 14468, 12275, 25885, 26678, 6, 11272, 5411, 509, 6023, 273, 5452, 5247, 1503, 18, 9394, 31, 5411, 309, 12, 999, 1503, 597, 446, 480, 389, 5247, 6919, 262, 5411, 288, 7734, 5452, 5247, 1503, 1838, 273, 261, 8213, 5247, 1503, 13, 7682, 389, 5247, 6919, 18, 588, 12, 3830, 18, 2972, 3830, 10663, 7734, 309, 12, 446, 480, 1838, 262, 10792, 6023, 273, 1838, 18, 11231, 2925, 12, 1234, 16, 12412, 16, 3768, 11272, 5411, 289, 5411, 1620, 12, 11569, 13, 5411, 288, 7734, 648, 5452, 5247, 1503, 18, 6067, 26725, 30, 10792, 368, 741, 5083, 2777, 10792, 898, 31, 7734, 648, 5452, 5247, 1503, 18, 2090, 3871, 30, 10792, 2332, 18, 8593, 12, 20, 1769, 10792, 898, 31, 7734, 648, 5452, 5247, 1503, 18, 9394, 30, 7734, 805, 30, 10792, 775, 10792, 288, 13491, 604, 394, 28645, 24512, 503, 12, 370, 3332, 1769, 10792, 289, 10792, 1044, 12, 24113, 24512, 503, 425, 13, 10792, 288, 13491, 368, 20729, 1520, 261, 12885, 1044, 316, 19977, 13, 10792, 289, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1815, 67, 6870, 12, 780, 1234, 16, 1033, 3768, 16, 1250, 999, 1503, 13, 565, 288, 3639, 309, 12, 17289, 262, 3639, 288, 5411, 514, 12412, 273, 1361, 780, 12, 1234, 16, 3768, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 315, 14468, 12275, 25885, 26678, 6, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 12412, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 315, 14468, 12275, 25885, 26678, 6, 11272, 5411, 509, 6023, 273, 5452, 5247, 1503, 18, 9394, 31, 5411, 309, 12, 999, 1503, 597, 446, 480, 389, 5247, 6919, 262, 5411, 288, 7734, 5452, 5247, 1503, 1838, 273, 261, 8213, 5247, 1503, 13, 7682, 389, 5247, 6919, 18, 588, 12, 3830, 18, 2 ]
if (IS_ARG() && space_seen) {
if (IS_ARG() && space_seen != 0) {
private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\004': // ^D case '\032': // ^Z case -1: //end of script. return 0; // white spaces case ' ': case '\t': case '\f': case '\r': case '\013': // '\v' space_seen = true; continue retry; case '#': // it's a comment while ((c = nextc()) != '\n') { if (c == -1) { return 0; } } // fall through case '\n': switch (ph.getLexState()) { case LexState.EXPR_BEG: case LexState.EXPR_FNAME: case LexState.EXPR_DOT: continue retry; default: break; } ph.setCommandStart(true); ph.setLexState(LexState.EXPR_BEG); return '\n'; case '*': if ((c = nextc()) == '*') { ph.setLexState(LexState.EXPR_BEG); if (nextc() == '=') { yyVal = ph.newId(Token.tPOW); return Token.tOP_ASGN; } pushback(c); return Token.tPOW; } if (c == '=') { yyVal = ph.newId('*'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen && !ISSPACE(c)) { ph.rb_warning("`*' interpreted as argument prefix"); c = Token.tSTAR; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tSTAR; } else { c = '*'; } ph.setLexState(LexState.EXPR_BEG); return c; case '!': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tNEQ; } if (c == '~') { return Token.tNMATCH; } pushback(c); return '!'; case '=': if (lex_p == 1) { // skip embedded rd document if (lex_curline.startsWith("=begin") && (lex_pend == 6 || ISSPACE(lex_curline.charAt(6)))) { for (; ; ) { lex_p = lex_pend; c = nextc(); if (c == -1) { ph.rb_compile_error("embedded document meets end of file"); return 0; } if (c != '=') { continue; } if (lex_curline.substring(lex_p, lex_p + 3).equals("end") && (lex_p + 3 == lex_pend || ISSPACE(lex_curline.charAt(lex_p + 3)))) { break; } } lex_p = lex_pend; continue retry; } } ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { if ((c = nextc()) == '=') { return Token.tEQQ; } pushback(c); return Token.tEQ; } if (c == '~') { return Token.tMATCH; } else if (c == '>') { return Token.tASSOC; } pushback(c); return '='; case '<': c = nextc(); if (c == '<' && ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG && ph.getLexState() != LexState.EXPR_CLASS && (!IS_ARG() || space_seen)) { int c2 = nextc(); int indent = 0; if (c2 == '-') { indent = 1; c2 = nextc(); } if (!ISSPACE(c2) && ("\"'`".indexOf(c2) != -1 || is_identchar(c2))) { return here_document(c2, indent); } pushback(c2); } ph.setLexState(LexState.EXPR_BEG); if (c == '=') { if ((c = nextc()) == '>') { return Token.tCMP; } pushback(c); return Token.tLEQ; } if (c == '<') { if (nextc() == '=') { yyVal = ph.newId(Token.tLSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tLSHFT; } pushback(c); return '<'; case '>': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tGEQ; } if (c == '>') { if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tRSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tRSHFT; } pushback(c); return '>'; case '"': return parse_string(c, c, c); case '`': if (ph.getLexState() == LexState.EXPR_FNAME) { return c; } if (ph.getLexState() == LexState.EXPR_DOT) { return c; } return parse_string(c, c, c); case '\'': return parse_qstring(c, 0); case '?': if (ph.getLexState() == LexState.EXPR_END || ph.getLexState() == LexState.EXPR_ENDARG) { ph.setLexState(LexState.EXPR_BEG); return '?'; } c = nextc(); if (c == -1) { /* FIX 1.6.5 */ ph.rb_compile_error("incomplete character syntax"); return 0; } if (IS_ARG() && ISSPACE(c)) { pushback(c); ph.setLexState(LexState.EXPR_BEG); return '?'; } if (c == '\\') { c = read_escape(); } c &= 0xff; yyVal = RubyFixnum.m_newFixnum(ruby, c); ph.setLexState(LexState.EXPR_END); return Token.tINTEGER; case '&': if ((c = nextc()) == '&') { ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tANDOP); return Token.tOP_ASGN; } pushback(c); return Token.tANDOP; } else if (c == '=') { yyVal = ph.newId('&'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen && !ISSPACE(c)) { ph.rb_warning("`&' interpeted as argument prefix"); c = Token.tAMPER; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tAMPER; } else { c = '&'; } ph.setLexState(LexState.EXPR_BEG); return c; case '|': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '|') { if ((c = nextc()) == '=') { yyVal = ph.newId(Token.tOROP); return Token.tOP_ASGN; } pushback(c); return Token.tOROP; } else if (c == '=') { yyVal = ph.newId('|'); return Token.tOP_ASGN; } pushback(c); return '|'; case '+': c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUPLUS; } pushback(c); return '+'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('+'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '+'; return start_num(c); } return Token.tUPLUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '+'; case '-': c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUMINUS; } pushback(c); return '-'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('-'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '-'; return start_num(c); } return Token.tUMINUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '-'; case '.': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '.') { if ((c = nextc()) == '.') { return Token.tDOT3; } pushback(c); return Token.tDOT2; } pushback(c); if (!Character.isDigit((char) c)) { ph.setLexState(LexState.EXPR_DOT); return '.'; } c = '.'; // fall through //start_num: case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': return start_num(c); case ']': case '}': ph.setLexState(LexState.EXPR_END); return c; case ')': if (cond_nest > 0) { cond_stack >>= 1; } ph.setLexState(LexState.EXPR_END); return c; case ':': c = nextc(); if (c == ':') { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ph.getLexState() == LexState.EXPR_ENDARG || ISSPACE(c)) { ph.setLexState(LexState.EXPR_BEG); return ':'; } ph.setLexState(LexState.EXPR_FNAME); return Token.tSYMBEG; case '/': if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { return parse_regx('/', '/'); } if ((c = nextc()) == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = ph.newId('/'); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen) { if (!ISSPACE(c)) { arg_ambiguous(); return parse_regx('/', '/'); } } ph.setLexState(LexState.EXPR_BEG); return '/'; case '^': ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = ph.newId('^'); return Token.tOP_ASGN; } pushback(c); return '^'; case ',': case ';': // ph.setCommandStart(true); ph.setLexState(LexState.EXPR_BEG); return c; case '~': if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) != '@') { pushback(c); } } ph.setLexState(LexState.EXPR_BEG); return '~'; case '(': if (cond_nest > 0) { cond_stack = (cond_stack << 1 ) | 0; } // ph.setCommandStart(true); if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (space_seen) { if (ph.getLexState() == LexState.EXPR_CMDARG) { c = Token.tLPAREN_ARG; } else if (ph.getLexState() == LexState.EXPR_ARG) { ph.rb_warning(tok() + " (...) interpreted as method call"); c = Token.tLPAREN_ARG; } } ph.setLexState(LexState.EXPR_BEG); return c; case '[': if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) == ']') { if ((c = nextc()) == '=') { return Token.tASET; } pushback(c); return Token.tAREF; } pushback(c); return '['; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLBRACK; } else if (IS_ARG() && space_seen) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{': if (!IS_ARG()) { if (space_seen && ph.getLexState() == LexState.EXPR_ENDARG) { c = Token.tLBRACE_ARG; } if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG) { c = Token.tLBRACE; } } ph.setLexState(LexState.EXPR_BEG); return c; case '\\': c = nextc(); if (c == '\n') { space_seen = true; continue retry; // skip \\n } pushback(c); return '\\'; case '%': quotation : for (; ; ) { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { int term; int paren; c = nextc(); if (!Character.isLetterOrDigit((char) c)) { term = c; c = 'Q'; } else { term = nextc(); } if (c == -1 || term == -1) { ph.rb_compile_error("unterminated quoted string meets end of file"); return 0; } paren = term; if (term == '(') { term = ')'; } else if (term == '[') { term = ']'; } else if (term == '{') { term = '}'; } else if (term == '<') { term = '>'; } else { paren = 0; } switch (c) { case 'Q': return parse_string('"', term, paren); case 'q': return parse_qstring(term, paren); case 'w': return parse_quotedwords(term, paren); case 'x': return parse_string('`', term, paren); case 'r': return parse_regx(term, paren); default: yyerror("unknown type of %string"); return 0; } } if ((c = nextc()) == '=') { yyVal = ph.newId('%'); return Token.tOP_ASGN; } if (IS_ARG() && space_seen && !ISSPACE(c)) { pushback(c); continue quotation; } break quotation; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '%'; case '$': ph.setLexState(LexState.EXPR_END); newtok(); c = nextc(); switch (c) { case '_': // $_: last read line string c = nextc(); if (is_identchar(c)) { tokadd('$'); tokadd('_'); break; } pushback(c); c = '_'; // fall through case '~': // $~: match-data ph.local_cnt(c); // fall through case '*': // $*: argv case '$': // $$: pid case '?': // $?: last status case '!': // $!: error string case '@': // $@: error position case '/': // $/: input record separator case '\\':// $\: output record separator case ';': // $;: field separator case ',': // $,: output field separator case '.': // $.: last read line number case '=': // $=: ignorecase case ':': // $:: load path case '<': // $<: reading filename case '>': // $>: default output handle case '\"':// $": already loaded files tokadd('$'); tokadd(c); tokfix(); yyVal = ruby.intern(tok()); return Token.tGVAR; case '-': tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = ruby.intern(tok()); /* * xxx shouldn't check if valid option variable */ return Token.tGVAR; case '&': // $&: last match case '`': // $`: string before last match case '\'':// $': string after last match case '+': // $+: string matches last paren. yyVal = nf.newBackRef(c); return Token.tBACK_REF; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': tokadd('$'); while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } if (is_identchar(c)) { break; } pushback(c); tokfix(); yyVal = nf.newNthRef(Integer.parseInt(tok().substring(1))); return Token.tNTH_REF; default: if (!is_identchar(c)) { pushback(c); return '$'; } case '0': tokadd('$'); } break; case '@': c = nextc(); newtok(); tokadd('@'); if (c == '@') { tokadd('@'); c = nextc(); } if (Character.isDigit((char) c)) { ph.rb_compile_error("`@" + c + "' is not a valid instance variable name"); } if (!is_identchar(c)) { pushback(c); return '@'; } break; default: if (!is_identchar(c) || Character.isDigit((char) c)) { ph.rb_compile_error("Invalid char `\\" + c + "' in expression"); continue retry; } newtok(); break; } break retry; } while (is_identchar(c)) { tokadd(c); /* * if (ismbchar(c)) { * int i, len = mbclen(c)-1; * for (i = 0; i < len; i++) { * c = nextc(); * tokadd(c); * } * } */ c = nextc(); } if ((c == '!' || c == '?') && is_identchar(tok().charAt(0)) && !peek('=')) { tokadd(c); } else { pushback(c); } tokfix(); { int result = 0; switch (tok().charAt(0)) { case '$': ph.setLexState(LexState.EXPR_END); result = Token.tGVAR; break; case '@': ph.setLexState(LexState.EXPR_END); if (tok().charAt(1) == '@') { result = Token.tCVAR; } else { result = Token.tIVAR; } break; default: if (ph.getLexState() != LexState.EXPR_DOT) { // See if it is a reserved word. kw = rb_reserved_word(tok(), toklen()); if (kw != null) { // enum lex_state int state = ph.getLexState(); ph.setLexState(kw.state); if (state == LexState.EXPR_FNAME) { yyVal = ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P() && state != LexState.EXPR_CMDARG) { return Token.kDO_BLOCK; } return Token.kDO; } if (state == LexState.EXPR_BEG) { return kw.id0; } else { if (kw.id0 != kw.id1) { ph.setLexState(LexState.EXPR_BEG); } return kw.id1; } } } if (toklast() == '!' || toklast() == '?') { result = Token.tFID; } else { if (ph.getLexState() == LexState.EXPR_FNAME) { if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { result = Token.tIDENTIFIER; tokadd(c); } else { pushback(c); } } if (result == 0 && Character.isUpperCase(tok().charAt(0))) { result = Token.tCONSTANT; } else { result = Token.tIDENTIFIER; } } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_DOT || ph.getLexState() == LexState.EXPR_ARG || ph.getLexState() == LexState.EXPR_CMDARG) { if (cmd_state) { ph.setLexState(LexState.EXPR_CMDARG); } else { ph.setLexState(LexState.EXPR_ARG); } } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = /* last_id = */ ruby.intern(tok()); //XXX really overwrite last_id? return result; } }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/75e51682c6dfb1ff67ffb81cea2dfd23c3e3a9f4/DefaultRubyParser.java/clean/org/jruby/parser/DefaultRubyParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 677, 1362, 92, 1435, 288, 3639, 509, 276, 31, 3639, 1250, 3476, 67, 15156, 273, 629, 31, 3639, 1250, 1797, 67, 2019, 31, 3639, 5323, 2121, 5323, 31, 3639, 1797, 67, 2019, 273, 1844, 18, 291, 2189, 1685, 5621, 3639, 1844, 18, 542, 2189, 1685, 12, 5743, 1769, 3639, 3300, 294, 3639, 364, 261, 31, 274, 262, 288, 5411, 1620, 261, 71, 273, 1024, 71, 10756, 288, 7734, 648, 2337, 20, 4278, 368, 423, 1506, 7734, 648, 2337, 26565, 4278, 368, 3602, 40, 7734, 648, 2337, 20, 1578, 4278, 368, 3602, 62, 7734, 648, 300, 21, 30, 368, 409, 434, 2728, 18, 10792, 327, 374, 31, 7734, 368, 9578, 7292, 7734, 648, 296, 4290, 7734, 648, 2337, 88, 4278, 7734, 648, 2337, 74, 4278, 7734, 648, 2337, 86, 4278, 7734, 648, 2337, 1611, 23, 4278, 368, 2337, 90, 11, 10792, 3476, 67, 15156, 273, 638, 31, 10792, 1324, 3300, 31, 7734, 648, 2946, 4278, 368, 518, 1807, 279, 2879, 10792, 1323, 14015, 71, 273, 1024, 71, 10756, 480, 2337, 82, 6134, 288, 13491, 309, 261, 71, 422, 300, 21, 13, 288, 18701, 327, 374, 31, 13491, 289, 10792, 289, 10792, 368, 4159, 3059, 7734, 648, 2337, 82, 4278, 10792, 1620, 261, 844, 18, 588, 14756, 1119, 10756, 288, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 5948, 43, 30, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 42, 1985, 30, 13491, 648, 15123, 1119, 18, 2294, 8025, 67, 17591, 30, 18701, 1324, 3300, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 677, 1362, 92, 1435, 288, 3639, 509, 276, 31, 3639, 1250, 3476, 67, 15156, 273, 629, 31, 3639, 1250, 1797, 67, 2019, 31, 3639, 5323, 2121, 5323, 31, 3639, 1797, 67, 2019, 273, 1844, 18, 291, 2189, 1685, 5621, 3639, 1844, 18, 542, 2189, 1685, 12, 5743, 1769, 3639, 3300, 294, 3639, 364, 261, 31, 274, 262, 288, 5411, 1620, 261, 71, 273, 1024, 71, 10756, 288, 7734, 648, 2337, 20, 4278, 368, 423, 1506, 7734, 648, 2337, 26565, 4278, 368, 3602, 40, 7734, 648, 2337, 20, 1578, 4278, 368, 3602, 62, 7734, 648, 300, 21, 30, 368, 409, 434, 2728, 18, 10792, 327, 374, 31, 7734, 368, 9578, 7292, 7734, 648, 296, 4290, 7734, 648, 2 ]
rootInfo.setRevision1(createRevision(myRevision1.getText())); rootInfo.setRevision2(createRevision(myRevision1.getText()));
rootInfo.setRevision1(myRevision1.getRevision()); rootInfo.setRevision2(myRevision2.getRevision());
public void apply(SvnConfiguration conf) throws ConfigurationException { if (myMergeText1.getText().trim().length() == 0) { myMergeText1.getTextField().requestFocus(); throw new ConfigurationException(SvnBundle.message("source.url.could.not.be.empty.error.message")); } if (myMergeText2.getText().trim().length() == 0) { myMergeText2.getTextField().requestFocus(); throw new ConfigurationException(SvnBundle.message("source.url.could.not.be.empty.error.message")); } if (myMergeText1.getText().equals(myMergeText2.getText()) && myRevision1.getText().equals(myRevision2.getText())) { throw new ConfigurationException(SvnBundle.message("no.differences.between.sources.error.message")); } final MergeRootInfo rootInfo = conf.getMergeRootInfo(myRoot.getIOFile(), myVcs); rootInfo.setUrl1(myMergeText1.getText()); rootInfo.setUrl2(myMergeText2.getText()); rootInfo.setRevision1(createRevision(myRevision1.getText())); rootInfo.setRevision2(createRevision(myRevision1.getText())); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/593f5f93afd713e76ee74f97ca4fb7aa36f2c31e/SvnIntegrateRootOptionsPanel.java/buggy/plugins/svn4idea/src/org/jetbrains/idea/svn/update/SvnIntegrateRootOptionsPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2230, 12, 55, 25031, 1750, 2195, 13, 1216, 22196, 288, 565, 309, 261, 4811, 6786, 1528, 21, 18, 588, 1528, 7675, 5290, 7675, 2469, 1435, 422, 374, 13, 288, 1377, 3399, 6786, 1528, 21, 18, 588, 16157, 7675, 2293, 9233, 5621, 1377, 604, 394, 22196, 12, 55, 25031, 3405, 18, 2150, 2932, 3168, 18, 718, 18, 15195, 18, 902, 18, 2196, 18, 5531, 18, 1636, 18, 2150, 7923, 1769, 565, 289, 565, 309, 261, 4811, 6786, 1528, 22, 18, 588, 1528, 7675, 5290, 7675, 2469, 1435, 422, 374, 13, 288, 1377, 3399, 6786, 1528, 22, 18, 588, 16157, 7675, 2293, 9233, 5621, 1377, 604, 394, 22196, 12, 55, 25031, 3405, 18, 2150, 2932, 3168, 18, 718, 18, 15195, 18, 902, 18, 2196, 18, 5531, 18, 1636, 18, 2150, 7923, 1769, 565, 289, 565, 309, 261, 4811, 6786, 1528, 21, 18, 588, 1528, 7675, 14963, 12, 4811, 6786, 1528, 22, 18, 588, 1528, 10756, 597, 3399, 7939, 21, 18, 588, 1528, 7675, 14963, 12, 4811, 7939, 22, 18, 588, 1528, 1435, 3719, 288, 1377, 604, 394, 22196, 12, 55, 25031, 3405, 18, 2150, 2932, 2135, 18, 11593, 2980, 18, 15019, 18, 10141, 18, 1636, 18, 2150, 7923, 1769, 565, 289, 565, 727, 8964, 2375, 966, 1365, 966, 273, 2195, 18, 588, 6786, 2375, 966, 12, 4811, 2375, 18, 588, 4294, 812, 9334, 3399, 58, 2143, 1769, 565, 1365, 966, 18, 542, 1489, 21, 12, 4811, 6786, 1528, 21, 18, 588, 1528, 10663, 565, 1365, 966, 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, 2230, 12, 55, 25031, 1750, 2195, 13, 1216, 22196, 288, 565, 309, 261, 4811, 6786, 1528, 21, 18, 588, 1528, 7675, 5290, 7675, 2469, 1435, 422, 374, 13, 288, 1377, 3399, 6786, 1528, 21, 18, 588, 16157, 7675, 2293, 9233, 5621, 1377, 604, 394, 22196, 12, 55, 25031, 3405, 18, 2150, 2932, 3168, 18, 718, 18, 15195, 18, 902, 18, 2196, 18, 5531, 18, 1636, 18, 2150, 7923, 1769, 565, 289, 565, 309, 261, 4811, 6786, 1528, 22, 18, 588, 1528, 7675, 5290, 7675, 2469, 1435, 422, 374, 13, 288, 1377, 3399, 6786, 1528, 22, 18, 588, 16157, 7675, 2293, 9233, 5621, 1377, 604, 394, 22196, 12, 55, 25031, 3405, 18, 2150, 2932, 3168, 18, 718, 2 ]
summaryCell(formatter.format( (time_end-time_start)/1000.) +" seconds");
summaryCell(formatter.format((time_end-time_start)/1000.)+" seconds");
private void summarize(List<ISuite> suites) { tableStart( "param"); out.print("<tr><th>Test</th>"); tableColumnStart("Methods<br/>Passed"); tableColumnStart("Scenarios<br/>Passed"); tableColumnStart("# skipped"); tableColumnStart("# failed"); tableColumnStart("Total<br/>Time"); tableColumnStart("Included<br/>Groups"); tableColumnStart("Excluded<br/>Groups"); out.println("</tr>"); NumberFormat formatter=new DecimalFormat("#,##0.0"); int qty_tests=0; int qty_pass_m=0; int qty_pass_s=0; int qty_skip=0; int qty_fail=0; long time_start=Long.MAX_VALUE; long time_end=Long.MIN_VALUE; for(ISuite suite:suites) { if(suites.size()>1) { titleRow(suite.getName(),7); } Map<String,ISuiteResult> tests=suite.getResults(); for(ISuiteResult r : tests.values()) { qty_tests+=1; ITestContext overview=r.getTestContext(); startSummaryRow(overview.getName()); int q=getMethodSet(overview.getPassedTests()).size(); qty_pass_m+=q; summaryCell(q); q=overview.getPassedTests().size(); qty_pass_s+=q; summaryCell(q); q=getMethodSet(overview.getSkippedTests()).size(); qty_skip+=q; summaryCell(q); q=getMethodSet(overview.getFailedTests()).size(); qty_fail+=q; summaryCell(q); time_start=Math.min(overview.getStartDate().getTime(),time_start); time_end=Math.max(overview.getEndDate().getTime(),time_end); summaryCell(formatter.format( (overview.getEndDate().getTime()-overview.getStartDate().getTime())/1000.) +" seconds"); summaryCell(overview.getIncludedGroups()); summaryCell(overview.getExcludedGroups()); out.println("</tr>"); } } if(qty_tests>1) { out.println("<tr class=\"total\"><td>Total</td>"); summaryCell(qty_pass_m); summaryCell(qty_pass_s); summaryCell(qty_skip); summaryCell(qty_fail); summaryCell(formatter.format( (time_end-time_start)/1000.) +" seconds"); out.println("<td colspan=\"2\">&nbsp;</td></tr>"); out.println("</table>"); } }
50502 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50502/2c30372d5bda4ec1fa4ac94eaa43d64f3e1d0a1a/EmailableReporter.java/buggy/src/main/org/testng/reporters/EmailableReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 28712, 12, 682, 32, 5127, 9519, 34, 27208, 13, 225, 288, 565, 1014, 1685, 12, 1377, 315, 891, 8863, 565, 596, 18, 1188, 2932, 32, 313, 4438, 451, 34, 4709, 1757, 451, 2984, 1769, 565, 1014, 1494, 1685, 2932, 4712, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 1541, 18087, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 7, 9700, 8863, 565, 1014, 1494, 1685, 2932, 7, 2535, 8863, 565, 1014, 1494, 1685, 2932, 5269, 32, 2848, 21259, 950, 8863, 565, 1014, 1494, 1685, 2932, 19323, 32, 2848, 21259, 3621, 8863, 565, 1014, 1494, 1685, 2932, 16461, 32, 2848, 21259, 3621, 8863, 565, 596, 18, 8222, 2932, 1757, 313, 2984, 1769, 565, 29587, 4453, 33, 2704, 29665, 2932, 7, 16, 1189, 20, 18, 20, 8863, 565, 509, 26667, 67, 16341, 33, 20, 31, 565, 509, 26667, 67, 5466, 67, 81, 33, 20, 31, 565, 509, 26667, 67, 5466, 67, 87, 33, 20, 31, 565, 509, 26667, 67, 7457, 33, 20, 31, 565, 509, 26667, 67, 6870, 33, 20, 31, 565, 1525, 813, 67, 1937, 33, 3708, 18, 6694, 67, 4051, 31, 565, 1525, 813, 67, 409, 33, 3708, 18, 6236, 67, 4051, 31, 565, 364, 12, 5127, 9519, 11371, 30, 26560, 2997, 13, 288, 1377, 309, 12, 26560, 2997, 18, 1467, 1435, 34, 21, 13, 288, 3639, 2077, 1999, 12, 30676, 18, 17994, 9334, 27, 1769, 1377, 289, 1377, 1635, 32, 780, 16, 5127, 9519, 1253, 34, 7434, 33, 30676, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 28712, 12, 682, 32, 5127, 9519, 34, 27208, 13, 225, 288, 565, 1014, 1685, 12, 1377, 315, 891, 8863, 565, 596, 18, 1188, 2932, 32, 313, 4438, 451, 34, 4709, 1757, 451, 2984, 1769, 565, 1014, 1494, 1685, 2932, 4712, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 1541, 18087, 32, 2848, 21259, 22530, 8863, 565, 1014, 1494, 1685, 2932, 7, 9700, 8863, 565, 1014, 1494, 1685, 2932, 7, 2535, 8863, 565, 1014, 1494, 1685, 2932, 5269, 32, 2848, 21259, 950, 8863, 565, 1014, 1494, 1685, 2932, 19323, 32, 2848, 21259, 3621, 8863, 565, 1014, 1494, 1685, 2932, 16461, 32, 2848, 21259, 3621, 8863, 565, 596, 18, 8222, 2932, 1757, 313, 2984, 1769, 565, 2 ]
return( readPropertydefinition(name, type.getResourceType() ) );
CmsPropertydefinition propDef=null; ResultSet res = null; PreparedStatement statement = null; Connection con = null; try { con = DriverManager.getConnection(m_poolName); statement = con.prepareStatement(m_cq.C_PROPERTYDEF_READ); statement.setString(1,name); statement.setInt(2,type); res = statement.executeQuery(); if(res.next()) { propDef = new CmsPropertydefinition( res.getInt(m_cq.C_PROPERTYDEF_ID), res.getString(m_cq.C_PROPERTYDEF_NAME), res.getInt(m_cq.C_PROPERTYDEF_RESOURCE_TYPE), res.getInt(m_cq.C_PROPERTYDEF_TYPE) ); } else { res.close(); res = null; throw new CmsException("[" + this.getClass().getName() + "] " + name, CmsException.C_NOT_FOUND); } } catch( SQLException exc ) { throw new CmsException("[" + this.getClass().getName() + "] " + exc.getMessage(), CmsException.C_SQL_ERROR, exc); }finally { if(res != null) { try { res.close(); } catch(SQLException exc) { } } if(statement != null) { try { statement.close(); } catch(SQLException exc) { } } if(con != null) { try { con.close(); } catch(SQLException exc) { } } } return propDef;
public CmsPropertydefinition readPropertydefinition(String name, CmsResourceType type) throws CmsException { return( readPropertydefinition(name, type.getResourceType() ) ); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/1e8abfda468006f21c4fc99ba170cd27c76451ab/CmsDbAccess.java/buggy/src/com/opencms/file/genericSql/CmsDbAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 18505, 6907, 855, 1396, 6907, 12, 780, 508, 16, 30696, 618, 13, 202, 202, 15069, 11228, 288, 202, 202, 2463, 12, 855, 1396, 6907, 12, 529, 16, 618, 18, 588, 15631, 1435, 262, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 18505, 6907, 855, 1396, 6907, 12, 780, 508, 16, 30696, 618, 13, 202, 202, 15069, 11228, 288, 202, 202, 2463, 12, 855, 1396, 6907, 12, 529, 16, 618, 18, 588, 15631, 1435, 262, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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(x = dx + 9; x >= dx + 5; x--, y++) {
for (x = dx + 9; x >= dx + 5; x--, y++) {
public void paint(Graphics g) { super.paint(g); FileTextArea textArea = fileWindow.textArea; Font font = textArea.getFont(); g.setFont(font); FontMetrics metrics = getFontMetrics(font); Rectangle clip = g.getClipBounds(); g.setColor(getBackground()); g.fillRect(clip.x, clip.y, clip.width, clip.height); int left = getX(); int ascent = metrics.getMaxAscent(); int h = metrics.getHeight(); int lineCount = textArea.getLineCount() + 1; String dummy = Integer.toString(lineCount); if(dummy.length() < 2) { dummy = "99"; } int maxWidth = metrics.stringWidth(dummy); int startLine = clip.y / h; int endLine = (clip.y + clip.height) / h + 1; int width = getWidth(); if(endLine > lineCount) endLine = lineCount; for(int i = startLine; i < endLine; i++) { String text; int pos = -2; try { pos = textArea.getLineStartOffset(i); } catch(BadLocationException ignored) { } boolean isBreakPoint = false; if(fileWindow.breakpoints.get(new Integer(pos)) != null) { isBreakPoint = true; } text = Integer.toString(i + 1) + " "; int w = metrics.stringWidth(text); int y = i *h; g.setColor(Color.blue); g.drawString(text, 0, y + ascent); int x = width - ascent; if(isBreakPoint) { g.setColor(new Color(0x80, 0x00, 0x00)); int dy = y + ascent - 9; g.fillOval(x, dy, 9, 9); g.drawOval(x, dy, 8, 8); g.drawOval(x, dy, 9, 9); } if(pos == fileWindow.currentPos) { Polygon arrow = new Polygon(); int dx = x; y += ascent - 10; int dy = y; arrow.addPoint(dx, dy + 3); arrow.addPoint(dx + 5, dy + 3); for(x = dx + 5; x <= dx + 10; x++, y++) { arrow.addPoint(x, y); } for(x = dx + 9; x >= dx + 5; x--, y++) { arrow.addPoint(x, y); } arrow.addPoint(dx + 5, dy + 7); arrow.addPoint(dx, dy + 7); g.setColor(Color.yellow); g.fillPolygon(arrow); g.setColor(Color.black); g.drawPolygon(arrow); } } }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b9766e81693411fa600b26b9a0763dcf621b2770/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 12, 17558, 314, 13, 288, 3639, 2240, 18, 84, 1598, 12, 75, 1769, 3639, 1387, 1528, 5484, 977, 5484, 273, 585, 3829, 18, 955, 5484, 31, 3639, 10063, 3512, 273, 977, 5484, 18, 588, 5711, 5621, 3639, 314, 18, 542, 5711, 12, 5776, 1769, 3639, 10063, 5653, 4309, 273, 18776, 5653, 12, 5776, 1769, 3639, 13264, 6807, 273, 314, 18, 588, 15339, 5694, 5621, 3639, 314, 18, 542, 2957, 12, 588, 8199, 10663, 3639, 314, 18, 5935, 6120, 12, 14161, 18, 92, 16, 6807, 18, 93, 16, 6807, 18, 2819, 16, 6807, 18, 4210, 1769, 3639, 509, 2002, 273, 6538, 5621, 3639, 509, 487, 2998, 273, 4309, 18, 588, 2747, 13665, 319, 5621, 3639, 509, 366, 273, 4309, 18, 588, 2686, 5621, 3639, 509, 980, 1380, 273, 977, 5484, 18, 588, 1670, 1380, 1435, 397, 404, 31, 3639, 514, 9609, 273, 2144, 18, 10492, 12, 1369, 1380, 1769, 3639, 309, 12, 21050, 18, 2469, 1435, 411, 576, 13, 288, 5411, 9609, 273, 315, 2733, 14432, 3639, 289, 3639, 509, 17681, 273, 4309, 18, 1080, 2384, 12, 21050, 1769, 3639, 509, 24636, 273, 6807, 18, 93, 342, 366, 31, 3639, 509, 31763, 273, 261, 14161, 18, 93, 397, 6807, 18, 4210, 13, 342, 366, 397, 404, 31, 3639, 509, 1835, 273, 8557, 5621, 3639, 309, 12, 409, 1670, 405, 980, 1380, 13, 31763, 273, 980, 1380, 31, 3639, 364, 12, 474, 277, 273, 24636, 31, 277, 411, 31763, 31, 277, 27245, 288, 5411, 514, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 12, 17558, 314, 13, 288, 3639, 2240, 18, 84, 1598, 12, 75, 1769, 3639, 1387, 1528, 5484, 977, 5484, 273, 585, 3829, 18, 955, 5484, 31, 3639, 10063, 3512, 273, 977, 5484, 18, 588, 5711, 5621, 3639, 314, 18, 542, 5711, 12, 5776, 1769, 3639, 10063, 5653, 4309, 273, 18776, 5653, 12, 5776, 1769, 3639, 13264, 6807, 273, 314, 18, 588, 15339, 5694, 5621, 3639, 314, 18, 542, 2957, 12, 588, 8199, 10663, 3639, 314, 18, 5935, 6120, 12, 14161, 18, 92, 16, 6807, 18, 93, 16, 6807, 18, 2819, 16, 6807, 18, 4210, 1769, 3639, 509, 2002, 273, 6538, 5621, 3639, 509, 487, 2998, 273, 4309, 18, 588, 2747, 13665, 319, 5621, 3639, 509, 2 ]
boolean hasForwardedRejectedOverload = false;
boolean hasReceivedRejectedOverload = false;
public void realPutSSK(ClientSSKBlock block, boolean cache) throws LowLevelPutException { SSKInsertSender is; long uid = random.nextLong(); if(!lockUID(uid)) { Logger.error(this, "Could not lock UID just randomly generated: "+uid+" - probably indicates broken PRNG"); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); } long startTime = System.currentTimeMillis(); if(cache) { try { sskDatastore.put(block, false); } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e); } catch (KeyCollisionException e) { throw new LowLevelPutException(LowLevelPutException.COLLISION); } } is = makeInsertSender(block, MAX_HTL, uid, null, false, lm.getLocation().getValue(), cache); boolean hasForwardedRejectedOverload = false; // Wait for status while(true) { synchronized(is) { if(is.getStatus() == SSKInsertSender.NOT_FINISHED) { try { is.wait(5*1000); } catch (InterruptedException e) { // Ignore } } if(is.getStatus() != SSKInsertSender.NOT_FINISHED) break; } if((!hasForwardedRejectedOverload) && is.receivedRejectedOverload()) { hasForwardedRejectedOverload = true; throttleWindow.rejectedOverload(); } } // Wait for completion while(true) { synchronized(is) { if(is.getStatus() != SSKInsertSender.NOT_FINISHED) break; try { is.wait(10*1000); } catch (InterruptedException e) { // Go around again } } } Logger.minor(this, "Completed "+uid+" overload="+hasForwardedRejectedOverload+" "+is.getStatusString()); // Finished? if(!hasForwardedRejectedOverload) { // Is it ours? Did we send a request? if(is.sentRequest() && is.uid == uid && (is.getStatus() == SSKInsertSender.ROUTE_NOT_FOUND || is.getStatus() == SSKInsertSender.SUCCESS)) { // It worked! long endTime = System.currentTimeMillis(); long rtt = endTime - startTime; throttleWindow.requestCompleted(); sskInsertThrottle.successfulCompletion(rtt); } } if(is.hasCollided()) { // Store it locally so it can be fetched immediately, and overwrites any locally inserted. try { sskDatastore.put(is.getBlock(), true); } catch (KeyCollisionException e) { // Impossible } catch (IOException e) { Logger.error(this, "Datastore failure: "+e, e); } throw new LowLevelPutException(LowLevelPutException.COLLISION); } if(is.getStatus() == SSKInsertSender.SUCCESS) { Logger.normal(this, "Succeeded inserting "+block); return; } else { int status = is.getStatus(); String msg = "Failed inserting "+block+" : "+is.getStatusString(); if(status == CHKInsertSender.ROUTE_NOT_FOUND) msg += " - this is normal on small networks; the data will still be propagated, but it can't find the 20+ nodes needed for full success"; if(is.getStatus() != SSKInsertSender.ROUTE_NOT_FOUND) Logger.error(this, msg); else Logger.normal(this, msg); switch(is.getStatus()) { case SSKInsertSender.NOT_FINISHED: Logger.error(this, "IS still running in putCHK!: "+is); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); case SSKInsertSender.GENERATED_REJECTED_OVERLOAD: case SSKInsertSender.TIMED_OUT: throw new LowLevelPutException(LowLevelPutException.REJECTED_OVERLOAD); case SSKInsertSender.ROUTE_NOT_FOUND: throw new LowLevelPutException(LowLevelPutException.ROUTE_NOT_FOUND); case SSKInsertSender.ROUTE_REALLY_NOT_FOUND: throw new LowLevelPutException(LowLevelPutException.ROUTE_REALLY_NOT_FOUND); case SSKInsertSender.INTERNAL_ERROR: throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); default: Logger.error(this, "Unknown CHKInsertSender code in putSSK: "+is.getStatus()+" on "+is); throw new LowLevelPutException(LowLevelPutException.INTERNAL_ERROR); } } }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/901653718cbf5c52b4bf1e2e59da94ab6de3390c/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2863, 6426, 1260, 47, 12, 1227, 1260, 47, 1768, 1203, 16, 1250, 1247, 13, 1216, 23629, 2355, 6426, 503, 288, 202, 202, 1260, 47, 4600, 12021, 353, 31, 202, 202, 5748, 4555, 273, 2744, 18, 4285, 3708, 5621, 202, 202, 430, 12, 5, 739, 3060, 12, 1911, 3719, 288, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 4445, 486, 2176, 10034, 2537, 20153, 4374, 30, 13773, 1911, 9078, 300, 8656, 8527, 12933, 11770, 4960, 8863, 1082, 202, 12849, 394, 23629, 2355, 6426, 503, 12, 10520, 2355, 6426, 503, 18, 14005, 67, 3589, 1769, 202, 202, 97, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 430, 12, 2493, 13, 288, 1082, 202, 698, 288, 9506, 202, 1049, 79, 21191, 18, 458, 12, 2629, 16, 629, 1769, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 21191, 5166, 30, 13773, 73, 16, 425, 1769, 1082, 202, 97, 1044, 261, 653, 13535, 1951, 503, 425, 13, 288, 9506, 202, 12849, 394, 23629, 2355, 6426, 503, 12, 10520, 2355, 6426, 503, 18, 4935, 2053, 3686, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 291, 273, 1221, 4600, 12021, 12, 2629, 16, 4697, 202, 6694, 67, 5062, 48, 16, 4555, 16, 446, 16, 629, 16, 14966, 18, 588, 2735, 7675, 24805, 9334, 1247, 1769, 202, 202, 6494, 711, 22915, 19902, 4851, 945, 273, 629, 31, 202, 202, 759, 5838, 364, 1267, 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, 482, 918, 2863, 6426, 1260, 47, 12, 1227, 1260, 47, 1768, 1203, 16, 1250, 1247, 13, 1216, 23629, 2355, 6426, 503, 288, 202, 202, 1260, 47, 4600, 12021, 353, 31, 202, 202, 5748, 4555, 273, 2744, 18, 4285, 3708, 5621, 202, 202, 430, 12, 5, 739, 3060, 12, 1911, 3719, 288, 1082, 202, 3328, 18, 1636, 12, 2211, 16, 315, 4445, 486, 2176, 10034, 2537, 20153, 4374, 30, 13773, 1911, 9078, 300, 8656, 8527, 12933, 11770, 4960, 8863, 1082, 202, 12849, 394, 23629, 2355, 6426, 503, 12, 10520, 2355, 6426, 503, 18, 14005, 67, 3589, 1769, 202, 202, 97, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 430, 12, 2493, 13, 288, 1082, 2 ]
LoadEliminationPreparation(int round) {
public LoadEliminationPreparation(int round) { super(new Object[]{new Integer(round)});
LoadEliminationPreparation(int round) { this.round = round; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/35dd0af985b403ef619d4935e2c1fd4be307dd02/OPT_LoadElimination.java/clean/rvm/src/vm/compilers/optimizing/optimizations/global/ssa/loadElimination/OPT_LoadElimination.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4444, 4958, 381, 1735, 1386, 20961, 12, 474, 3643, 13, 288, 2240, 12, 2704, 1033, 63, 7073, 2704, 2144, 12, 2260, 16869, 1769, 1377, 333, 18, 2260, 273, 3643, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4444, 4958, 381, 1735, 1386, 20961, 12, 474, 3643, 13, 288, 2240, 12, 2704, 1033, 63, 7073, 2704, 2144, 12, 2260, 16869, 1769, 1377, 333, 18, 2260, 273, 3643, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (data[id * ID_MULT + NAME_CACHE_SHIFT] != name) {
if (data[id - 1 + maxId] != name) {
private int getId(String name, Object[] data) { if (!CACHE_NAMES) { return mapNameToId(name); } else { int id = lastIdCache; if (data[id * ID_MULT + NAME_CACHE_SHIFT] != name) { id = mapNameToId(name); if (id != 0) { data[id * ID_MULT + NAME_CACHE_SHIFT] = name; lastIdCache = id; } } return id; } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/d5c6a2fda4600410fcf91dde4a3709ea9429783f/IdScriptable.java/clean/src/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2634, 12, 780, 508, 16, 1033, 8526, 501, 13, 288, 3639, 309, 16051, 8495, 67, 16257, 13, 288, 327, 852, 28455, 548, 12, 529, 1769, 289, 3639, 469, 288, 5411, 509, 612, 273, 1142, 548, 1649, 31, 5411, 309, 261, 892, 63, 350, 300, 404, 397, 943, 548, 65, 480, 508, 13, 288, 7734, 612, 273, 852, 28455, 548, 12, 529, 1769, 7734, 309, 261, 350, 480, 374, 13, 288, 10792, 501, 63, 350, 380, 1599, 67, 12845, 397, 6048, 67, 8495, 67, 23191, 65, 273, 508, 31, 10792, 1142, 548, 1649, 273, 612, 31, 7734, 289, 5411, 289, 5411, 327, 612, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2634, 12, 780, 508, 16, 1033, 8526, 501, 13, 288, 3639, 309, 16051, 8495, 67, 16257, 13, 288, 327, 852, 28455, 548, 12, 529, 1769, 289, 3639, 469, 288, 5411, 509, 612, 273, 1142, 548, 1649, 31, 5411, 309, 261, 892, 63, 350, 300, 404, 397, 943, 548, 65, 480, 508, 13, 288, 7734, 612, 273, 852, 28455, 548, 12, 529, 1769, 7734, 309, 261, 350, 480, 374, 13, 288, 10792, 501, 63, 350, 380, 1599, 67, 12845, 397, 6048, 67, 8495, 67, 23191, 65, 273, 508, 31, 10792, 1142, 548, 1649, 273, 612, 31, 7734, 289, 5411, 289, 5411, 327, 612, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
to.writeFilemark(1); eorPos = to.GetPosition(); mediaBytes = to.bytesOnMedia(); } else { eorPos = "1:0"; mediaBytes = _totalBytes; } if (_disk) _fo.flush(); pin("moved bytes: " + _fileSize + " on media: " + mediaBytes);
to.writeFilemark(1); eorPos = to.GetPosition(); mediaBytes = to.bytesOnMedia(); }else{ eorPos = "1:0"; mediaBytes = totalBytes; } if (_disk)fo.flush(); say("moved bytes: " + _fileSize + " on media: " + mediaBytes);
private void runPutMover() { Socket moverSocket = null ; DataInputStream inputStream = null ; //DataOutputStream outputStream = null ; DataOutputStream controlStream = null ; TapeOutputStream to = null; cpio _cpio = null; //File dataFile = null ; byte [] dataBuffer = new byte[MAXSIZE] ; byte [] trailer = new byte[MAXSIZE]; String error = null ; File _f = null; BufferedOutputStream _fo = null; //int rc = 0 , r ; // // extract what we need for connecting the client // String host = _fakeHost == null ? _activeRequest.getHostName() : "localhost" ; int port = _activeRequest.getHostPort() ; _fileSize = _activeRequest.getFileSize() ; String clientId = _activeRequest.getClientReqId() ; pin(">>> PUT "+_activeRequest) ; String fileName = _activeRequest.getBfid(); String eorPos = _activeRequest.getEorPosition(); String _cart = _activeRequest.getCartridge(); String filePos = null; // location of new file to write long mediaBytes = 0; long _totalBytes = 0; _ioCounter = 0 ; try { // here comes the BIG... try if ( _delay > 0 ) { pin( "Warning : delaying by "+_delay+" seconds" ) ; try { Thread.currentThread().sleep(_delay*1000) ;} catch (InterruptedException ie ) {} pin( "Woken up" ) ; } if (_disk) { _f = new File(_deviceName, fileName); if (_f.exists()) { pin(error = "PUT: file " + fileName + "already exist"); throw new DevIOException(error); } _fo = new BufferedOutputStream(new FileOutputStream(_f)); } else { to = new TapeOutputStream(_deviceName, this); } _cpio = new cpio(fileName, "PATHNAMES/PATHNAME." + fileName, "FSINFO/PNFS_ID." + fileName, _fileSize, 0, 0); pin( "Trying to connect to "+host+":"+port+")" ) ; moverSocket = new Socket( host , port ) ; pin( "Connected ... waiting for "+_fileSize+" bytes" ) ; inputStream = new DataInputStream( moverSocket.getInputStream() ) ; controlStream = new DataOutputStream( moverSocket.getOutputStream() ) ; controlStream.writeUTF( "Hello-EuroStore-Client " + clientId ) ; pin( "Starting data tranfer" ) ; if (!_disk) { to.OpenReady(100); // open tape device - native code to.Display("Locate", _cart); to.PositionEOR(eorPos); filePos = to.GetPosition(); } else { filePos = "1:0"; } pin("positioned to " + filePos); if( _havingProblems && ( ( _problemCounter++ % 4 ) == 0 ) ){ pin( error = "Simulated IOException" ) ; throw new IOException( error ) ; } long start = System.currentTimeMillis() ; int pos = 0 ; if ((pos = _cpio.createHeader(dataBuffer)) < 0) { throw new DevIOException("cpio header create failed", 1); } _rest = _fileSize; int _toRead = MAXSIZE - pos; /* for the initial block */ int _toWrite = pos; if (!_disk) { to.Display("Write", _cart); // move data ! while (_rest > 0) { _toRead = (_toRead <= _rest) ? _toRead : (int) _rest; fillNetBuffer(inputStream, dataBuffer, pos, _toRead); _ioCounter++; _toWrite += _toRead; if ((_rest -= _toRead) <= 0) // later buffer flush break; if (_toWrite != MAXSIZE) pin("_toWrite garbled " + _toWrite); to.write(dataBuffer, 0, _toWrite); _totalBytes += _toRead; _toRead = MAXSIZE; _toWrite = pos = 0; } } else { // to disk while(_rest > 0) { _toRead = (_toRead <= _rest) ? _toRead : (int) _rest; fillNetBuffer(inputStream, dataBuffer, pos, _toRead); _ioCounter++; _toWrite += _toRead; if ((_rest -= _toRead) <= 0) // later buffer flush break; if (_toWrite != MAXSIZE) pin("_toWrite garbled " + _toWrite); _fo.write(dataBuffer, 0, _toWrite); _totalBytes += _toRead; _toRead = MAXSIZE; _toWrite = pos = 0; } } // create trailer cpio stuff if ((pos = _cpio.createTrailer(trailer)) < 0) throw new DevIOException("cpio trailer create failed", 1); // check if the trailer stuff fits into databuffer if ((_toWrite + pos) > MAXSIZE) { // doesn't fit int left = MAXSIZE - _toWrite; System.arraycopy(trailer, 0, dataBuffer, _toWrite, left); if (_disk) _fo.write(dataBuffer, 0, MAXSIZE); else to.write(dataBuffer, 0, MAXSIZE); _totalBytes += MAXSIZE; _toWrite = pos - left; System.arraycopy(trailer, left, dataBuffer, 0, _toWrite); } else { // fit within dataBuffer System.arraycopy(trailer, 0, dataBuffer, _toWrite, pos); _toWrite += pos; } if (_toWrite > 0) { // and the last one :-) int _freeBytes = MAXSIZE - _toWrite; int _lastFlush = (MAXSIZE - _freeBytes) + padding((MAXSIZE - _freeBytes), MINSIZE); // zero remaining stuff// for(int i=_toWrite; i<_lastFlush; i++) {// dataBuffer[i] = 0;// } if (_disk) _fo.write(dataBuffer, 0, _lastFlush); else to.write(dataBuffer, 0, _lastFlush); _totalBytes += _lastFlush; } if (!_disk) { to.writeFilemark(1); eorPos = to.GetPosition(); mediaBytes = to.bytesOnMedia(); } else { eorPos = "1:0"; mediaBytes = _totalBytes; } if (_disk) _fo.flush(); pin("moved bytes: " + _fileSize + " on media: " + mediaBytes); if( _fileSize == 0 ){ pin( "Zero byte file transfered" ); } long now = System.currentTimeMillis() ; _rate = ( (double)_fileSize / (double)(now-start) ) ; pin( ""+_fileSize+" Bytes transferred with " +_rate+" KBytes/sec" ); } catch (DevIOException dioe) { if (_stopOnError) unregister(); try { moverSocket.close() ; } catch (Exception eee) {} esay( error = "Exception for Tape access (" + _deviceName + ") " + dioe) ; dioe.printStackTrace(); _activeRequest.setResidualBytes(_totalBytes); // check EOM condition if (dioe.getErrorCode() == 666) { returnFinal(999, "EOM detected: " + dioe); } else { returnFinal( 11 , error ); } _lastException = dioe ; pin( "<<< "+error ) ; if (_disk) _f.delete(); return; } catch (Exception e ) { if( _stopOnError )unregister() ; try { moverSocket.close() ; } catch(Exception eee){} esay( error = "Exception in connection to "+host+":"+port+" : "+e ) ; e.printStackTrace(); returnFinal( 11 , error ) ; _lastException = e ; pin( "<<< "+error ) ; if (_disk) _f.delete(); return ; } finally { pin( "Closing tape output stream" ); if (!_disk) { to.Display("Close", _cart); try{ to.close() ; }catch(Exception eee){} } else { // disk access try { if (_fo != null) _fo.close(); } catch(IOException eee) {} } }// if( rc <= 0 ) {// if( _stopOnError )unregister() ;// esay( error = "PANIC : unexpected end of stream rc="+rc ) ;// pin( error ) ;// returnFinal( 12 , error ) ;// dataFile.delete() ;// } // sent ACK to client try { controlStream.writeUTF( "MACK "+clientId+" 0 "+_fileSize ) ; pin( "Data Mover finished successfully" ) ; _activeRequest.setPosition(filePos, eorPos); _activeRequest.setRealBytes(mediaBytes); returnFinal( 0 , "Done" ) ; } catch(Exception eee) { _lastException = eee ; esay( error = "IOException in sending MACK : "+eee) ; pin( error ) ; returnFinal( 13 , error ) ; if (_disk) _f.delete(); } pin( "Closing net input stream" ) ; try{ moverSocket.close() ; }catch(Exception eee){} pin( "<<< Done" ) ; return ; }
3665 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3665/2ad0afde3e361e09401748a6dda69209a11bc306/MoverEagle.java/clean/mover/MoverEagle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1086, 6426, 49, 1643, 1435, 288, 565, 8758, 2398, 312, 1643, 4534, 282, 273, 446, 274, 565, 29382, 565, 10010, 282, 273, 446, 274, 565, 368, 751, 4632, 282, 14956, 225, 273, 446, 274, 565, 28680, 282, 3325, 1228, 273, 446, 274, 565, 399, 1273, 4632, 282, 358, 273, 446, 31, 565, 3283, 1594, 389, 4057, 1594, 273, 446, 31, 565, 368, 812, 9079, 501, 812, 1377, 273, 446, 274, 565, 1160, 5378, 501, 1892, 273, 394, 1160, 63, 6694, 4574, 65, 274, 565, 1160, 5378, 25899, 273, 394, 1160, 63, 6694, 4574, 15533, 565, 514, 555, 273, 446, 274, 565, 1387, 389, 74, 273, 446, 31, 565, 28649, 389, 617, 273, 446, 31, 565, 368, 474, 4519, 273, 374, 269, 436, 274, 565, 368, 565, 368, 2608, 4121, 732, 1608, 364, 14244, 326, 1004, 565, 368, 565, 514, 1479, 1377, 273, 389, 28395, 2594, 422, 225, 446, 692, 4202, 389, 3535, 691, 18, 588, 20946, 1435, 294, 1377, 315, 13014, 6, 274, 565, 509, 565, 1756, 1377, 273, 389, 3535, 691, 18, 588, 16688, 1435, 274, 565, 389, 768, 1225, 225, 273, 389, 3535, 691, 18, 588, 15100, 1435, 274, 565, 514, 11493, 225, 273, 389, 3535, 691, 18, 588, 1227, 6113, 548, 1435, 274, 565, 7092, 2932, 23012, 11443, 13773, 67, 3535, 691, 13, 274, 565, 514, 3968, 273, 389, 3535, 691, 18, 588, 38, 27268, 5621, 565, 514, 425, 280, 1616, 273, 389, 3535, 691, 18, 588, 41, 280, 2555, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1086, 6426, 49, 1643, 1435, 288, 565, 8758, 2398, 312, 1643, 4534, 282, 273, 446, 274, 565, 29382, 565, 10010, 282, 273, 446, 274, 565, 368, 751, 4632, 282, 14956, 225, 273, 446, 274, 565, 28680, 282, 3325, 1228, 273, 446, 274, 565, 399, 1273, 4632, 282, 358, 273, 446, 31, 565, 3283, 1594, 389, 4057, 1594, 273, 446, 31, 565, 368, 812, 9079, 501, 812, 1377, 273, 446, 274, 565, 1160, 5378, 501, 1892, 273, 394, 1160, 63, 6694, 4574, 65, 274, 565, 1160, 5378, 25899, 273, 394, 1160, 63, 6694, 4574, 15533, 565, 514, 555, 273, 446, 274, 565, 1387, 389, 74, 273, 446, 31, 565, 28649, 389, 617, 273, 446, 31, 565, 368, 2 ]
public org.quickfix.field.SettlCurrFxRate getSettlCurrFxRate() throws FieldNotFound { org.quickfix.field.SettlCurrFxRate value = new org.quickfix.field.SettlCurrFxRate();
public quickfix.field.SettlCurrFxRate getSettlCurrFxRate() throws FieldNotFound { quickfix.field.SettlCurrFxRate value = new quickfix.field.SettlCurrFxRate();
public org.quickfix.field.SettlCurrFxRate getSettlCurrFxRate() throws FieldNotFound { org.quickfix.field.SettlCurrFxRate value = new org.quickfix.field.SettlCurrFxRate(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Confirmation.java/clean/src/java/src/quickfix/fix44/Confirmation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 42, 92, 4727, 336, 694, 6172, 20143, 42, 92, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 42, 92, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 42, 92, 4727, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 42, 92, 4727, 336, 694, 6172, 20143, 42, 92, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 42, 92, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 20143, 42, 92, 4727, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.arraycopy( bytes, 0, data, datapos, bytes.length);
System.arraycopy( data, datapos, bytes, 0, bytes.length);
public void engineNextBytes(byte[] bytes) { if( bytes.length < (20 - datapos) ) { System.arraycopy( bytes, 0, data, datapos, bytes.length); datapos += bytes.length; return; } int i, blen = bytes.length, bpos = 0; byte digestdata[]; while( bpos < blen ) { i = 20 - datapos; System.arraycopy( bytes, bpos, data, datapos, i); bpos += i; datapos += i; if( datapos >= 20) { //System.out.println( (0 + 20) + "\n" + (20 + 20) ); System.arraycopy( seed, 0, data, 20, 20); digestdata = digest.digest( data ); System.arraycopy( digestdata, 0, data, 0, 20); datapos = 0; } } }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/02b2927cfbdb4a13ef7e75ef1fdd210ce0af4847/SHA1PRNG.java/buggy/libjava/gnu/java/security/provider/SHA1PRNG.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4073, 2134, 2160, 12, 7229, 8526, 1731, 13, 225, 288, 565, 309, 12, 1731, 18, 2469, 411, 261, 3462, 300, 501, 917, 13, 262, 288, 1377, 2332, 18, 1126, 3530, 12, 501, 16, 501, 917, 16, 1731, 16, 374, 16, 1731, 18, 2469, 1769, 1377, 501, 917, 1011, 1731, 18, 2469, 31, 1377, 327, 31, 565, 289, 565, 509, 277, 16, 324, 1897, 273, 1731, 18, 2469, 16, 324, 917, 273, 374, 31, 565, 1160, 5403, 892, 8526, 31, 565, 1323, 12, 324, 917, 411, 324, 1897, 262, 288, 1377, 277, 273, 4200, 300, 501, 917, 31, 1377, 2332, 18, 1126, 3530, 12, 1731, 16, 324, 917, 16, 501, 16, 501, 917, 16, 277, 1769, 1377, 324, 917, 1011, 277, 31, 1377, 501, 917, 1011, 277, 31, 1377, 309, 12, 501, 917, 1545, 4200, 13, 288, 202, 759, 3163, 18, 659, 18, 8222, 12, 261, 20, 397, 4200, 13, 397, 1548, 82, 6, 397, 261, 3462, 397, 4200, 13, 11272, 202, 3163, 18, 1126, 3530, 12, 5009, 16, 374, 16, 501, 16, 4200, 16, 4200, 1769, 202, 10171, 892, 273, 5403, 18, 10171, 12, 501, 11272, 202, 3163, 18, 1126, 3530, 12, 5403, 892, 16, 374, 16, 501, 16, 374, 16, 4200, 1769, 202, 892, 917, 273, 374, 31, 1377, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4073, 2134, 2160, 12, 7229, 8526, 1731, 13, 225, 288, 565, 309, 12, 1731, 18, 2469, 411, 261, 3462, 300, 501, 917, 13, 262, 288, 1377, 2332, 18, 1126, 3530, 12, 501, 16, 501, 917, 16, 1731, 16, 374, 16, 1731, 18, 2469, 1769, 1377, 501, 917, 1011, 1731, 18, 2469, 31, 1377, 327, 31, 565, 289, 565, 509, 277, 16, 324, 1897, 273, 1731, 18, 2469, 16, 324, 917, 273, 374, 31, 565, 1160, 5403, 892, 8526, 31, 565, 1323, 12, 324, 917, 411, 324, 1897, 262, 288, 1377, 277, 273, 4200, 300, 501, 917, 31, 1377, 2332, 18, 1126, 3530, 12, 1731, 16, 324, 917, 16, 501, 16, 501, 917, 16, 277, 1769, 1377, 2 ]
return Scriptable.NOT_FOUND;
return super.execMethod(methodId, f, cx, scope, thisObj, args);
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case Id_constructor: return jsConstructor(cx, scope, args, f, thisObj == null); case Id_toString: return jsFunction_toString(cx, thisObj, args); case Id_toLocaleString: return jsFunction_toLocaleString(cx, thisObj, args); case Id_join: return jsFunction_join(cx, thisObj, args); case Id_reverse: return jsFunction_reverse(cx, thisObj, args); case Id_sort: return jsFunction_sort(cx, thisObj, args, f); case Id_push: return jsFunction_push(cx, thisObj, args); case Id_pop: return jsFunction_pop(cx, thisObj, args); case Id_shift: return jsFunction_shift(cx, thisObj, args); case Id_unshift: return jsFunction_unshift(cx, thisObj, args); case Id_splice: return jsFunction_splice(cx, thisObj, args, f); case Id_concat: return jsFunction_concat(cx, thisObj, args, f); case Id_slice: return jsFunction_slice(cx, thisObj, args); } return Scriptable.NOT_FOUND; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/bd685b66b27ece754b26c9606fd2a85effa1567d/NativeArray.java/clean/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 3124, 67, 12316, 30, 5411, 327, 3828, 6293, 12, 71, 92, 16, 2146, 16, 833, 16, 284, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 5411, 327, 3828, 2083, 67, 10492, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 869, 3916, 780, 30, 5411, 327, 3828, 2083, 67, 869, 3916, 780, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 5701, 30, 5411, 327, 3828, 2083, 67, 5701, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 9845, 30, 5411, 327, 3828, 2083, 67, 9845, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 3804, 30, 5411, 327, 3828, 2083, 67, 3804, 12, 71, 92, 16, 15261, 16, 833, 16, 284, 1769, 3639, 648, 3124, 67, 6206, 30, 5411, 327, 3828, 2083, 67, 6206, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 5120, 30, 5411, 327, 3828, 2083, 67, 5120, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 4012, 30, 5411, 327, 3828, 2083, 67, 4012, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 13858, 30, 5411, 327, 3828, 2083, 67, 13858, 12, 71, 92, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 3124, 67, 12316, 30, 5411, 327, 3828, 6293, 12, 71, 92, 16, 2146, 16, 833, 16, 284, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 5411, 327, 3828, 2083, 67, 10492, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 869, 3916, 780, 30, 5411, 327, 3828, 2083, 67, 869, 3916, 780, 12, 71, 92, 16, 15261, 16, 833, 1769, 3639, 648, 3124, 67, 5701, 30, 5411, 327, 3828, 2 ]
try { File aliasFile = new File(_henplus.getConfigDir(), ALIAS_FILENAME); OutputStream stream = new FileOutputStream(aliasFile); Properties p = new Properties(); p.putAll(_aliases); p.store(stream, "Aliases.."); stream.close(); } catch (IOException dont_care) {}
_config.storeProperties(_aliases, true, "Aliases...");
public void shutdown() { try { File aliasFile = new File(_henplus.getConfigDir(), ALIAS_FILENAME); OutputStream stream = new FileOutputStream(aliasFile); Properties p = new Properties(); p.putAll(_aliases); p.store(stream, "Aliases.."); stream.close(); } catch (IOException dont_care) {} }
9659 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9659/0ec49058fc4194836877344a9b99a32bcba7ef42/AliasCommand.java/clean/src/henplus/commands/AliasCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5731, 1435, 288, 202, 698, 288, 202, 565, 1387, 2308, 812, 273, 394, 1387, 24899, 76, 275, 10103, 18, 588, 809, 1621, 9334, 6862, 4202, 16822, 3033, 67, 16080, 1769, 202, 565, 8962, 1407, 273, 394, 12942, 12, 4930, 812, 1769, 202, 565, 6183, 293, 273, 394, 6183, 5621, 202, 565, 293, 18, 458, 1595, 24899, 13831, 1769, 202, 565, 293, 18, 2233, 12, 3256, 16, 315, 9667, 838, 8863, 5411, 1407, 18, 4412, 5621, 202, 97, 202, 14683, 261, 14106, 14046, 67, 71, 834, 13, 2618, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5731, 1435, 288, 202, 698, 288, 202, 565, 1387, 2308, 812, 273, 394, 1387, 24899, 76, 275, 10103, 18, 588, 809, 1621, 9334, 6862, 4202, 16822, 3033, 67, 16080, 1769, 202, 565, 8962, 1407, 273, 394, 12942, 12, 4930, 812, 1769, 202, 565, 6183, 293, 273, 394, 6183, 5621, 202, 565, 293, 18, 458, 1595, 24899, 13831, 1769, 202, 565, 293, 18, 2233, 12, 3256, 16, 315, 9667, 838, 8863, 5411, 1407, 18, 4412, 5621, 202, 97, 202, 14683, 261, 14106, 14046, 67, 71, 834, 13, 2618, 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 ]
return ((CertificateEntry) e).getCertificate();
result = ((CertificateEntry) e).getCertificate(); break;
public Certificate getCertificate(String alias) { if (!containsAlias(alias)) { return null; } List l = get(alias); for (Iterator it = l.iterator(); it.hasNext();) { Entry e = (Entry) it.next(); if (e instanceof CertificateEntry) { return ((CertificateEntry) e).getCertificate(); } } return null; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/abad947539d38da7392ff914207d1bb7d5538320/GnuPublicKeyring.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/keyring/GnuPublicKeyring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 6660, 27653, 12, 780, 2308, 13, 225, 288, 565, 309, 16051, 12298, 2936, 12, 4930, 3719, 1377, 288, 3639, 327, 446, 31, 1377, 289, 565, 987, 328, 273, 336, 12, 4930, 1769, 565, 364, 261, 3198, 518, 273, 328, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 1377, 288, 3639, 3841, 425, 273, 261, 1622, 13, 518, 18, 4285, 5621, 3639, 309, 261, 73, 1276, 6660, 1622, 13, 1850, 288, 5411, 563, 273, 14015, 4719, 1622, 13, 425, 2934, 588, 4719, 5621, 898, 31, 1850, 289, 1377, 289, 565, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 6660, 27653, 12, 780, 2308, 13, 225, 288, 565, 309, 16051, 12298, 2936, 12, 4930, 3719, 1377, 288, 3639, 327, 446, 31, 1377, 289, 565, 987, 328, 273, 336, 12, 4930, 1769, 565, 364, 261, 3198, 518, 273, 328, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 1377, 288, 3639, 3841, 425, 273, 261, 1622, 13, 518, 18, 4285, 5621, 3639, 309, 261, 73, 1276, 6660, 1622, 13, 1850, 288, 5411, 563, 273, 14015, 4719, 1622, 13, 425, 2934, 588, 4719, 5621, 898, 31, 1850, 289, 1377, 289, 565, 327, 446, 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 ]
final String scriptText = args[i]; withContext(new ContextAction() { public Object run(Context cx) { evaluateScript(cx, global, null, scriptText, "<command>", 1, null); return null; } });
IProxy iproxy = new IProxy(IProxy.EVAL_INLINE_SCRIPT); iproxy.scriptText = args[i]; shellContextFactory.call(iproxy);
public static String[] processOptions(String args[]) { String usageError; goodUsage: for (int i = 0; ; ++i) { if (i == args.length) { return new String[0]; } String arg = args[i]; if (!arg.startsWith("-")) { processStdin = false; fileList.addElement(arg); String[] result = new String[args.length - i - 1]; System.arraycopy(args, i+1, result, 0, args.length - i - 1); return result; } if (arg.equals("-version")) { if (++i == args.length) { usageError = arg; break goodUsage; } int version; try { version = Integer.parseInt(args[i]); } catch (NumberFormatException ex) { usageError = args[i]; break goodUsage; } if (!Context.isValidLanguageVersion(version)) { usageError = args[i]; break goodUsage; } shellContextFactory.setLanguageVersion(version); continue; } if (arg.equals("-opt") || arg.equals("-O")) { if (++i == args.length) { usageError = arg; break goodUsage; } int opt; try { opt = Integer.parseInt(args[i]); } catch (NumberFormatException ex) { usageError = args[i]; break goodUsage; } if (opt == -2) { // Compatibility with Cocoon Rhino fork shellContextFactory.setEnableContinuations(true); opt = -1; } else if (!Context.isValidOptimizationLevel(opt)) { usageError = args[i]; break goodUsage; } shellContextFactory.setOptimizationLevel(opt); if (opt >= 0) { shellContextFactory.setEnableContinuations(false); } continue; } if (arg.equals("-strict")) { shellContextFactory.setStrictMode(true); continue; } if (arg.equals("-continuations")) { shellContextFactory.setEnableContinuations(true); shellContextFactory.setOptimizationLevel(-1); continue; } if (arg.equals("-e")) { processStdin = false; if (++i == args.length) { usageError = arg; break goodUsage; } final String scriptText = args[i]; withContext(new ContextAction() { public Object run(Context cx) { evaluateScript(cx, global, null, scriptText, "<command>", 1, null); return null; } }); continue; } if (arg.equals("-w")) { errorReporter.setIsReportingWarnings(true); continue; } if (arg.equals("-f")) { processStdin = false; if (++i == args.length) { usageError = arg; break goodUsage; } fileList.addElement(args[i].equals("-") ? null : args[i]); continue; } if (arg.equals("-sealedlib")) { // Should already be processed if (!sealedStdLib) Kit.codeBug(); continue; } usageError = arg; break goodUsage; } // print usage message p(ToolErrorReporter.getMessage("msg.shell.usage", usageError)); System.exit(1); return null; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/dfa85f90dd71e40037679fee5f428620a92852b3/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 8526, 1207, 1320, 12, 780, 833, 63, 5717, 565, 288, 3639, 514, 4084, 668, 31, 3639, 7494, 5357, 30, 364, 261, 474, 277, 273, 374, 31, 274, 965, 77, 13, 288, 5411, 309, 261, 77, 422, 833, 18, 2469, 13, 288, 7734, 327, 394, 514, 63, 20, 15533, 5411, 289, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 16051, 3175, 18, 17514, 1190, 2932, 10951, 3719, 288, 7734, 1207, 10436, 267, 273, 629, 31, 7734, 18645, 18, 1289, 1046, 12, 3175, 1769, 7734, 514, 8526, 563, 273, 394, 514, 63, 1968, 18, 2469, 300, 277, 300, 404, 15533, 7734, 2332, 18, 1126, 3530, 12, 1968, 16, 277, 15, 21, 16, 563, 16, 374, 16, 833, 18, 2469, 300, 277, 300, 404, 1769, 7734, 327, 563, 31, 5411, 289, 5411, 309, 261, 3175, 18, 14963, 2932, 17, 1589, 6, 3719, 288, 7734, 309, 261, 9904, 77, 422, 833, 18, 2469, 13, 288, 10792, 4084, 668, 273, 1501, 31, 10792, 898, 7494, 5357, 31, 7734, 289, 7734, 509, 1177, 31, 7734, 775, 288, 10792, 1177, 273, 2144, 18, 2670, 1702, 12, 1968, 63, 77, 19226, 7734, 289, 1044, 261, 1854, 9291, 431, 13, 288, 10792, 4084, 668, 273, 833, 63, 77, 15533, 10792, 898, 7494, 5357, 31, 7734, 289, 7734, 309, 16051, 1042, 18, 26810, 3779, 1444, 12, 1589, 3719, 288, 10792, 4084, 668, 273, 833, 63, 77, 15533, 10792, 898, 7494, 5357, 31, 7734, 289, 7734, 5972, 29871, 18, 542, 3779, 1444, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 8526, 1207, 1320, 12, 780, 833, 63, 5717, 565, 288, 3639, 514, 4084, 668, 31, 3639, 7494, 5357, 30, 364, 261, 474, 277, 273, 374, 31, 274, 965, 77, 13, 288, 5411, 309, 261, 77, 422, 833, 18, 2469, 13, 288, 7734, 327, 394, 514, 63, 20, 15533, 5411, 289, 5411, 514, 1501, 273, 833, 63, 77, 15533, 5411, 309, 16051, 3175, 18, 17514, 1190, 2932, 10951, 3719, 288, 7734, 1207, 10436, 267, 273, 629, 31, 7734, 18645, 18, 1289, 1046, 12, 3175, 1769, 7734, 514, 8526, 563, 273, 394, 514, 63, 1968, 18, 2469, 300, 277, 300, 404, 15533, 7734, 2332, 18, 1126, 3530, 12, 1968, 16, 277, 15, 21, 16, 563, 16, 374, 2 ]
ComboBoxModel oldModel = (ComboBoxModel) e.getOldValue(); if (oldModel != null) oldModel.removeListDataListener(listDataListener);
ComboBoxModel oldModel = (ComboBoxModel) e.getOldValue(); if (oldModel != null) oldModel.removeListDataListener(listDataListener);
public void propertyChange(PropertyChangeEvent e) { // Lets assume every change invalidates the minimumsize. isMinimumSizeDirty = true; if (e.getPropertyName().equals("enabled")) { arrowButton.setEnabled(comboBox.isEnabled()); if (comboBox.isEditable()) comboBox.getEditor().getEditorComponent().setEnabled(comboBox .isEnabled()); } else if (e.getPropertyName().equals("editable")) { if (comboBox.isEditable()) { configureEditor(); addEditor(); } else { unconfigureEditor(); removeEditor(); } comboBox.revalidate(); comboBox.repaint(); } else if (e.getPropertyName().equals("dataModel")) { // remove ListDataListener from old model and add it to new model ComboBoxModel oldModel = (ComboBoxModel) e.getOldValue(); if (oldModel != null) oldModel.removeListDataListener(listDataListener); if ((ComboBoxModel) e.getNewValue() != null) comboBox.getModel().addListDataListener(listDataListener); } else if (e.getPropertyName().equals("font")) { Font font = (Font) e.getNewValue(); editor.setFont(font); listBox.setFont(font); arrowButton.setFont(font); comboBox.revalidate(); comboBox.repaint(); } // FIXME: Need to handle changes in other bound properties. }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/d3abf68937dae7ee47f2928230ab0794cab8196a/BasicComboBoxUI.java/buggy/javax/swing/plaf/basic/BasicComboBoxUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 565, 288, 1377, 368, 511, 2413, 6750, 3614, 2549, 2057, 815, 326, 5224, 1467, 18, 1377, 353, 13042, 1225, 10785, 273, 638, 31, 1377, 309, 261, 73, 18, 588, 13073, 7675, 14963, 2932, 5745, 6, 3719, 3639, 288, 202, 225, 12274, 3616, 18, 542, 1526, 12, 25053, 3514, 18, 291, 1526, 10663, 202, 225, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 202, 565, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 542, 1526, 12, 25053, 3514, 202, 4766, 7682, 263, 291, 1526, 10663, 3639, 289, 1377, 469, 309, 261, 73, 18, 588, 13073, 7675, 14963, 2932, 19653, 6, 3719, 3639, 288, 202, 225, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 202, 565, 288, 202, 1377, 5068, 6946, 5621, 202, 1377, 527, 6946, 5621, 202, 565, 289, 202, 225, 469, 202, 565, 288, 202, 1377, 23980, 19675, 6946, 5621, 202, 1377, 1206, 6946, 5621, 202, 565, 289, 202, 225, 16778, 3514, 18, 266, 5662, 5621, 202, 225, 16778, 3514, 18, 14462, 1598, 5621, 3639, 289, 1377, 469, 309, 261, 73, 18, 588, 13073, 7675, 14963, 2932, 892, 1488, 6, 3719, 3639, 288, 202, 225, 368, 1206, 987, 751, 2223, 628, 1592, 938, 471, 527, 518, 358, 394, 938, 202, 225, 1286, 1075, 3514, 1488, 1592, 1488, 273, 261, 22199, 1488, 13, 425, 18, 588, 7617, 620, 5621, 202, 225, 309, 261, 1673, 1488, 480, 446, 13, 202, 565, 1592, 1488, 18, 4479, 682, 751, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 565, 288, 1377, 368, 511, 2413, 6750, 3614, 2549, 2057, 815, 326, 5224, 1467, 18, 1377, 353, 13042, 1225, 10785, 273, 638, 31, 1377, 309, 261, 73, 18, 588, 13073, 7675, 14963, 2932, 5745, 6, 3719, 3639, 288, 202, 225, 12274, 3616, 18, 542, 1526, 12, 25053, 3514, 18, 291, 1526, 10663, 202, 225, 309, 261, 25053, 3514, 18, 291, 15470, 10756, 202, 565, 16778, 3514, 18, 588, 6946, 7675, 588, 6946, 1841, 7675, 542, 1526, 12, 25053, 3514, 202, 4766, 7682, 263, 291, 1526, 10663, 3639, 289, 1377, 469, 309, 261, 73, 18, 588, 13073, 7675, 14963, 2932, 19653, 6, 3719, 3639, 288, 202, 225, 309, 261, 25053, 2 ]
public synchronized void completedBlock() {
public synchronized void completedBlock(boolean dontNotify) { Logger.minor(this, "Completed block ("+dontNotify+")");
public synchronized void completedBlock() { successfulBlocks++; notifyClients(); }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/9c514d14b203e8119e76eb0ed41907d8ccfcea57/ClientRequest.java/buggy/src/freenet/client/async/ClientRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 5951, 1768, 1435, 288, 202, 202, 18418, 6450, 9904, 31, 202, 202, 12336, 12300, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 482, 3852, 918, 5951, 1768, 1435, 288, 202, 202, 18418, 6450, 9904, 31, 202, 202, 12336, 12300, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else if (c == '&') {
break; case '&':
private static void XmlEncodeAttrValue(String val, StringBuffer buf) { for (int i = 0; i < val.length(); i++) { char c = val.charAt(i); /** * Only these characters need to be encoded, according to * http://www.w3.org/TR/REC-xml/#NT-AttValue Actually, we could only * encode one of the quote characters if we knew that that was the one * used to wrap the valuye, but we'll play it safe and encode both. TODO: * what happens to white-space? */ if (c == '<') { buf.append(XML_LESS_THAN); } else if (c == '&') { buf.append(XML_AMPERSAND); } else if (c == '"') { buf.append(XML_QUOTE); } else if (c == '\'') { buf.append(XML_APOSTROPHE); } else { buf.append(c); } } }
51978 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51978/eaa55ef67a2a768bf8ebae0e36f42d4af4901481/DocPusher.java/buggy/projects/connector-manager/source/java/com/google/enterprise/connector/pusher/DocPusher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 5714, 5509, 3843, 620, 12, 780, 1244, 16, 6674, 1681, 13, 288, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1244, 18, 2469, 5621, 277, 27245, 288, 1377, 1149, 276, 273, 1244, 18, 3001, 861, 12, 77, 1769, 1377, 1783, 4202, 380, 5098, 4259, 3949, 1608, 358, 506, 3749, 16, 4888, 358, 4202, 380, 1062, 2207, 5591, 18, 91, 23, 18, 3341, 19, 4349, 19, 862, 39, 17, 2902, 21067, 1784, 17, 3075, 620, 4603, 3452, 16, 732, 3377, 1338, 4202, 380, 2017, 1245, 434, 326, 3862, 3949, 309, 732, 417, 2704, 716, 716, 1703, 326, 1245, 4202, 380, 1399, 358, 2193, 326, 21748, 20513, 16, 1496, 732, 5614, 6599, 518, 4183, 471, 2017, 3937, 18, 2660, 30, 4202, 380, 4121, 10555, 358, 9578, 17, 2981, 35, 4202, 1195, 1377, 309, 261, 71, 422, 2368, 6134, 288, 3639, 1681, 18, 6923, 12, 4201, 67, 26005, 67, 22408, 1769, 1377, 898, 31, 648, 5183, 4278, 3639, 1681, 18, 6923, 12, 4201, 67, 2192, 3194, 55, 4307, 1769, 1377, 289, 469, 309, 261, 71, 422, 4754, 13, 288, 3639, 1681, 18, 6923, 12, 4201, 67, 18980, 1769, 1377, 289, 469, 309, 261, 71, 422, 14118, 6134, 288, 3639, 1681, 18, 6923, 12, 4201, 67, 2203, 4005, 12578, 3900, 1769, 1377, 289, 469, 288, 3639, 1681, 18, 6923, 12, 71, 1769, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 5714, 5509, 3843, 620, 12, 780, 1244, 16, 6674, 1681, 13, 288, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1244, 18, 2469, 5621, 277, 27245, 288, 1377, 1149, 276, 273, 1244, 18, 3001, 861, 12, 77, 1769, 1377, 1783, 4202, 380, 5098, 4259, 3949, 1608, 358, 506, 3749, 16, 4888, 358, 4202, 380, 1062, 2207, 5591, 18, 91, 23, 18, 3341, 19, 4349, 19, 862, 39, 17, 2902, 21067, 1784, 17, 3075, 620, 4603, 3452, 16, 732, 3377, 1338, 4202, 380, 2017, 1245, 434, 326, 3862, 3949, 309, 732, 417, 2704, 716, 716, 1703, 326, 1245, 4202, 380, 1399, 358, 2193, 326, 21748, 20513, 16, 1496, 732, 5614, 6599, 518, 4183, 471, 2 ]
public static final boolean prefixEquals( char[] prefix, char[] name, boolean isCaseSensitive) {
public static final boolean prefixEquals(char[] prefix, char[] name) {
public static final boolean prefixEquals( char[] prefix, char[] name, boolean isCaseSensitive) { int max = prefix.length; if (name.length < max) return false; if (isCaseSensitive) { for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (prefix[i] != name[i]) return false; return true; } for (int i = max; --i >= 0; ) // assumes the prefix is not larger than the name if (Character.toLowerCase(prefix[i]) != Character.toLowerCase(name[i])) return false; return true; }
12408 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12408/97695ccc3a078d804bc7df2ed83ae543abea2e44/CharOperation.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1250, 1633, 8867, 12, 202, 202, 3001, 8526, 1633, 16, 202, 202, 3001, 8526, 508, 16, 202, 202, 6494, 353, 2449, 14220, 13, 288, 202, 202, 474, 943, 273, 1633, 18, 2469, 31, 202, 202, 430, 261, 529, 18, 2469, 411, 943, 13, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 291, 2449, 14220, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 943, 31, 9506, 202, 413, 77, 1545, 374, 31, 9506, 202, 13, 368, 13041, 326, 1633, 353, 486, 10974, 2353, 326, 508, 9506, 202, 430, 261, 3239, 63, 77, 65, 480, 508, 63, 77, 5717, 6862, 202, 2463, 629, 31, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 943, 31, 1082, 202, 413, 77, 1545, 374, 31, 1082, 202, 13, 368, 13041, 326, 1633, 353, 486, 10974, 2353, 326, 508, 1082, 202, 430, 261, 7069, 18, 869, 5630, 12, 3239, 63, 77, 5717, 9506, 202, 5, 33, 6577, 18, 869, 5630, 12, 529, 63, 77, 22643, 9506, 202, 2463, 629, 31, 202, 202, 2463, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1250, 1633, 8867, 12, 202, 202, 3001, 8526, 1633, 16, 202, 202, 3001, 8526, 508, 16, 202, 202, 6494, 353, 2449, 14220, 13, 288, 202, 202, 474, 943, 273, 1633, 18, 2469, 31, 202, 202, 430, 261, 529, 18, 2469, 411, 943, 13, 1082, 202, 2463, 629, 31, 202, 202, 430, 261, 291, 2449, 14220, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 943, 31, 9506, 202, 413, 77, 1545, 374, 31, 9506, 202, 13, 368, 13041, 326, 1633, 353, 486, 10974, 2353, 326, 508, 9506, 202, 430, 261, 3239, 63, 77, 65, 480, 508, 63, 77, 5717, 6862, 202, 2463, 629, 31, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2 ]
default: throw createInvalidLexicalUnitDOMException(lu.getLexicalUnitType());
default : throw createInvalidLexicalUnitDOMException( lu .getLexicalUnitType( ) );
public Value createValue(LexicalUnit lu, CSSEngine engine) throws DOMException { switch (lu.getLexicalUnitType()) { case LexicalUnit.SAC_INHERIT: return CSSValueConstants.INHERIT_VALUE; case LexicalUnit.SAC_IDENT: String s = lu.getStringValue().toLowerCase().intern(); Object v = getIdentifiers().get(s); if (v == null) { throw createInvalidIdentifierDOMException(lu.getStringValue()); } return (Value) v; default: throw createInvalidLexicalUnitDOMException(lu.getLexicalUnitType()); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/15c4d931440af04b8f51c98be851a32122f00c4e/IdentifierManager.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/css/engine/value/IdentifierManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1445, 752, 620, 12, 14756, 1706, 2802, 20072, 16, 6765, 4410, 4073, 13, 1082, 202, 15069, 4703, 503, 288, 202, 202, 9610, 261, 28832, 18, 588, 14756, 1706, 2802, 559, 10756, 288, 202, 202, 3593, 15123, 1706, 2802, 18, 55, 2226, 67, 706, 29982, 30, 1082, 202, 2463, 6765, 620, 2918, 18, 706, 29982, 67, 4051, 31, 202, 202, 3593, 15123, 1706, 2802, 18, 55, 2226, 67, 13355, 30, 1082, 202, 780, 272, 273, 20072, 18, 588, 19733, 7675, 869, 5630, 7675, 267, 798, 5621, 1082, 202, 921, 331, 273, 2634, 319, 3383, 7675, 588, 12, 87, 1769, 1082, 202, 430, 261, 90, 422, 446, 13, 288, 9506, 202, 12849, 752, 1941, 3004, 8168, 503, 12, 28832, 18, 588, 19733, 10663, 1082, 202, 97, 1082, 202, 2463, 261, 620, 13, 331, 31, 202, 202, 1886, 30, 1082, 202, 12849, 752, 1941, 14756, 1706, 2802, 8168, 503, 12, 28832, 18, 588, 14756, 1706, 2802, 559, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 1445, 752, 620, 12, 14756, 1706, 2802, 20072, 16, 6765, 4410, 4073, 13, 1082, 202, 15069, 4703, 503, 288, 202, 202, 9610, 261, 28832, 18, 588, 14756, 1706, 2802, 559, 10756, 288, 202, 202, 3593, 15123, 1706, 2802, 18, 55, 2226, 67, 706, 29982, 30, 1082, 202, 2463, 6765, 620, 2918, 18, 706, 29982, 67, 4051, 31, 202, 202, 3593, 15123, 1706, 2802, 18, 55, 2226, 67, 13355, 30, 1082, 202, 780, 272, 273, 20072, 18, 588, 19733, 7675, 869, 5630, 7675, 267, 798, 5621, 1082, 202, 921, 331, 273, 2634, 319, 3383, 7675, 588, 12, 87, 1769, 1082, 202, 430, 261, 90, 422, 446, 13, 288, 9506, 202, 12849, 752, 1941, 3004, 8168, 503, 12, 2 ]
buf.append( "</users>" ); broker.flush(); broker.sync(); try { Parser parser = new Parser( broker, getUser( DBA_USER ), true ); DocumentImpl doc = parser.parse( buf.toString(), SYSTEM + '/' + ACL_FILE ); doc.setPermissions( 0770 ); broker.saveCollection( doc.getCollection() ); } catch ( IOException e ) { e.printStackTrace(); } catch ( SAXException e ) { e.printStackTrace(); } catch ( PermissionDeniedException e ) { e.printStackTrace(); } broker.flush(); broker.sync(); }
broker.flush(); broker.sync(); try { Parser parser = new Parser(broker, getUser(DBA_USER), true); DocumentImpl doc = parser.parse(buf.toString(), SYSTEM + '/' + ACL_FILE); doc.setPermissions(0770); broker.saveCollection(doc.getCollection()); } catch (IOException e) { e.printStackTrace(); } catch (SAXException e) { e.printStackTrace(); } catch (PermissionDeniedException e) { e.printStackTrace(); } broker.flush(); broker.sync(); }
public synchronized void save( DBBroker broker ) throws EXistException { LOG.debug("storing acl file"); StringBuffer buf = new StringBuffer(); buf.append( "<users>" ); for ( Iterator i = users.values().iterator(); i.hasNext(); ) buf.append( ( (User) i.next() ).toString() ); buf.append( "</users>" ); broker.flush(); broker.sync(); try { Parser parser = new Parser( broker, getUser( DBA_USER ), true ); DocumentImpl doc = parser.parse( buf.toString(), SYSTEM + '/' + ACL_FILE ); doc.setPermissions( 0770 ); broker.saveCollection( doc.getCollection() ); } catch ( IOException e ) { e.printStackTrace(); } catch ( SAXException e ) { e.printStackTrace(); } catch ( PermissionDeniedException e ) { e.printStackTrace(); } broker.flush(); broker.sync(); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/81cd2509ad2f1c1446b8399acb5ad675556e5d31/SecurityManager.java/buggy/src/org/exist/security/SecurityManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1923, 12, 2383, 11194, 8625, 262, 540, 1216, 5675, 376, 503, 288, 540, 2018, 18, 4148, 2932, 334, 6053, 7895, 585, 8863, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 1681, 18, 6923, 12, 3532, 5577, 2984, 11272, 3639, 364, 261, 4498, 277, 273, 3677, 18, 2372, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 225, 262, 5411, 1681, 18, 6923, 12, 261, 261, 1299, 13, 277, 18, 4285, 1435, 262, 18, 10492, 1435, 11272, 3639, 1681, 18, 6923, 12, 6823, 5577, 2984, 11272, 3639, 8625, 18, 11330, 5621, 3639, 8625, 18, 8389, 5621, 3639, 775, 288, 5411, 6783, 2082, 273, 394, 6783, 12, 8625, 16, 4735, 12, 2383, 37, 67, 4714, 262, 16, 638, 11272, 5411, 4319, 2828, 997, 273, 7734, 2082, 18, 2670, 12, 1681, 18, 10492, 9334, 18786, 397, 2023, 397, 10098, 67, 3776, 11272, 5411, 997, 18, 542, 6521, 12, 374, 4700, 20, 11272, 5411, 8625, 18, 5688, 2532, 12, 997, 18, 588, 2532, 1435, 11272, 3639, 289, 1044, 261, 1860, 425, 262, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 1044, 261, 14366, 425, 262, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 1044, 261, 8509, 15877, 425, 262, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 3639, 8625, 18, 11330, 5621, 3639, 8625, 18, 8389, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1923, 12, 2383, 11194, 8625, 262, 540, 1216, 5675, 376, 503, 288, 540, 2018, 18, 4148, 2932, 334, 6053, 7895, 585, 8863, 3639, 6674, 1681, 273, 394, 6674, 5621, 3639, 1681, 18, 6923, 12, 3532, 5577, 2984, 11272, 3639, 364, 261, 4498, 277, 273, 3677, 18, 2372, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 225, 262, 5411, 1681, 18, 6923, 12, 261, 261, 1299, 13, 277, 18, 4285, 1435, 262, 18, 10492, 1435, 11272, 3639, 1681, 18, 6923, 12, 6823, 5577, 2984, 11272, 3639, 8625, 18, 11330, 5621, 3639, 8625, 18, 8389, 5621, 3639, 775, 288, 5411, 6783, 2082, 273, 394, 6783, 12, 8625, 16, 4735, 12, 2383, 37, 67, 4714, 262, 16, 638, 2 ]
UnicornCall.logger.debug("Request : "+aRequest+"."); } }
UnicornCall.logger.debug("Request "+aRequest+" added to request list."); } for (final CallParameter aCallParameter : aObserver.getCallMethod(aEnumInputMethod).getMapOfCallParameter().values()) { if (aCallParameter.isRequired() && aCallParameter.isFixed()) { aRequest.addParameter(aCallParameter.getName(), aCallParameter.getFixed()); } } }
private RequestList generateRequestList ( final InputFactory aInputFactory, final Map<String, String[]> mapOfArrayUseParameter) throws Exception { // Log information UnicornCall.logger.trace("generateRequestList"); if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug("InputFactory : " + aInputFactory + "."); UnicornCall.logger.debug("Map of string parameter : " + mapOfArrayUseParameter + "."); } final MimeType aMimeType = aInputFactory.getMimeType(); final EnumInputMethod aEnumInputMethod = aInputFactory.getDefaultInputModule().getEnumInputMethod(); final RequestList aRequestList = new RequestListImpl(this.sLang); // Iterate over all observation of this task to build a basic // request list with only the url of observator and input parameter for (final Observation aObservation : this.aTask.getMapOfObservation().values()) { final Observer aObserver = aObservation.getObserver(); final String sObserverID = aObserver.getID(); // add only observer who handle the current mimetype if (!aObserver.canHandleMimeType(aMimeType, aEnumInputMethod)) { if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug( "Observer " + sObserverID + " not handle mime type " + aMimeType.toString() + " with input method " + aEnumInputMethod.toString() + "."); } for (final EnumInputMethod aEIM : EnumInputMethod.values()) { if (aEnumInputMethod == aEIM) { continue; } if (!aObserver.canHandleMimeType(aMimeType, aEIM)) { if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug( "Observer " + sObserverID + " not handle mime type " + aMimeType.toString() + " with input method " + aEIM.toString() + "."); } continue; } if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug( "Observer " + sObserverID + " handle mime type " + aMimeType.toString() + " with input method " + aEIM.toString() + "."); } final InputMethod aInputMethod = aObservation.getObserver().getInputMethod(aEIM); // create a new request with input parameter final Request aRequest = Request.createRequest( aInputFactory.getInputModule(aEIM), aInputMethod.getCallMethod().getURL().toString(), aInputMethod.getCallParameter().getName()); // add this request to request list aRequestList.addRequest( aRequest, aObservation.getPriority(aMimeType), sObserverID); // log debug information if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug("Redirect request : "+aRequest+"."); } break; } // TODO check the code to redirect to an other // TODO input method if it handle mime type if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug( "Observation " + sObserverID + " does not handle mimetype " + aMimeType.toString() + "."); } continue; } final InputMethod aInputMethod = aObserver.getInputMethod(aEnumInputMethod); // create a new request with input parameter final Request aRequest = Request.createRequest( aInputFactory.getInputModule(aEnumInputMethod), aInputMethod.getCallMethod().getURL().toString(), aInputMethod.getCallParameter().getName()); // add this request to request list aRequestList.addRequest( aRequest, aObservation.getPriority(aMimeType), sObserverID); // log debug information if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug("Request : "+aRequest+"."); } } // Iterate over all parameter of this task to add at the // request list the parameter input by the framework client for (final String sTaskParameterName : this.aTask.getMapOfParameter().keySet()) { final Parameter aTaskParameter = this.aTask.getMapOfParameter().get(sTaskParameterName); if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug( "Parameter : " + sTaskParameterName + "."); } // check if this parameter have a given value String[] tStringUseParameterValue = mapOfArrayUseParameter.get(sTaskParameterName); if (null == tStringUseParameterValue) { if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug( "No value input for parameter " + sTaskParameterName + "."); } // check if this parameter have a default value final Map<String, Value> mapOfDefaultValue = aTaskParameter.getMapOfDefaultValue(); if (null == mapOfDefaultValue || 0 == mapOfDefaultValue.size()) { UnicornCall.logger.warn( "Parameter " + sTaskParameterName + " has no value intput and no default value."); // TODO check if this parameter is required continue; } tStringUseParameterValue = new String[mapOfDefaultValue.keySet().size()]; int i = 0; for (final String s : mapOfDefaultValue.keySet()) { tStringUseParameterValue[i++] = s; } } if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug("Parameter Value : "+tStringUseParameterValue+"."); } final Map<String, Value> mapOfValue = aTaskParameter.getMapOfValue(); // if there no value the parameter allow all string if (null == mapOfValue) { final Map<String, Value> mapOfDefaultValue = aTaskParameter.getMapOfDefaultValue(); // Parameter allow all string ! final Value aValue = mapOfDefaultValue.values().iterator().next(); final Map<String, List<Mapping>> mapOfMapping = aValue.getMapOfMapping(); for (final String sObserverName : mapOfMapping.keySet()) { final Observation aObservation = this.aTask.getMapOfObservation().get(sObserverName); final Request aRequest = aRequestList.getRequest(sObserverName); final TPriority aTPriority = aObservation.getPriority(aMimeType); if (null == aTPriority) { if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug( "Observator " + sObserverName + " unhandle mimetype " + aMimeType.getBaseType() + "."); } continue; } for (final Mapping aMapping : mapOfMapping.get(sObserverName)) { final String sValue = aMapping.getValue(); // check if (null == sValue || "".equals(sValue)) { aRequest.addParameter( aMapping.getParam(), tStringUseParameterValue[0]); continue; } aRequest.addParameter( aMapping.getParam(), aMapping.getValue()); } } // foreach mapOfMapping.keySet() continue; } for (final String sUseParameterValue : tStringUseParameterValue) { final Value aValue = mapOfValue.get(sUseParameterValue); final Map<String, List<Mapping>> mapOfMapping = aValue.getMapOfMapping(); for (final String sObserverName : mapOfMapping.keySet()) { final Observation aObservation = this.aTask.getMapOfObservation().get(sObserverName); final Request aRequest = aRequestList.getRequest(sObserverName); final TPriority aTPriority = aObservation.getPriority(aMimeType); if (null == aTPriority) { if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug( "Observator " + sObserverName + " unhandle mimetype " + aMimeType.getBaseType() + "."); } continue; } for (final Mapping aMapping : mapOfMapping.get(sObserverName)) { final String sValue = aMapping.getValue(); // check if (null == sValue || "".equals(sValue)) { aRequest.addParameter( aMapping.getParam(), sUseParameterValue); continue; } aRequest.addParameter( aMapping.getParam(), aMapping.getValue()); } } // foreach mapOfMapping.keySet() } // foreach sArrayParameterValue } // foreach this.parameters.values() return aRequestList; }
45864 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45864/1486c12c976fb83121731d519d47949e28c11d17/UnicornCall.java/clean/org/w3c/unicorn/UnicornCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1567, 682, 2103, 691, 682, 261, 1082, 202, 6385, 2741, 1733, 279, 1210, 1733, 16, 1082, 202, 6385, 1635, 32, 780, 16, 514, 8526, 34, 852, 951, 1076, 3727, 1662, 13, 1216, 1185, 288, 202, 202, 759, 1827, 1779, 202, 202, 984, 335, 14245, 1477, 18, 4901, 18, 5129, 2932, 7163, 691, 682, 8863, 202, 202, 430, 261, 984, 335, 14245, 1477, 18, 4901, 18, 291, 2829, 1526, 10756, 288, 1082, 202, 984, 335, 14245, 1477, 18, 4901, 18, 4148, 2932, 1210, 1733, 294, 315, 397, 279, 1210, 1733, 397, 4585, 1769, 1082, 202, 984, 335, 14245, 1477, 18, 4901, 18, 4148, 2932, 863, 434, 533, 1569, 294, 315, 397, 852, 951, 1076, 3727, 1662, 397, 4585, 1769, 202, 202, 97, 202, 202, 6385, 30913, 279, 16821, 273, 279, 1210, 1733, 18, 588, 16821, 5621, 202, 202, 6385, 6057, 1210, 1305, 279, 3572, 1210, 1305, 273, 279, 1210, 1733, 18, 588, 1868, 1210, 3120, 7675, 588, 3572, 1210, 1305, 5621, 202, 202, 6385, 1567, 682, 279, 691, 682, 273, 394, 1567, 682, 2828, 12, 2211, 18, 87, 7275, 1769, 202, 202, 759, 11436, 1879, 777, 13853, 434, 333, 1562, 358, 1361, 279, 5337, 202, 202, 759, 590, 666, 598, 1338, 326, 880, 434, 8681, 639, 471, 810, 1569, 202, 202, 1884, 261, 6385, 27177, 367, 279, 26199, 367, 294, 333, 18, 69, 2174, 18, 588, 863, 951, 26199, 367, 7675, 2372, 10756, 288, 1082, 202, 6385, 23290, 279, 11048, 273, 279, 26199, 367, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1567, 682, 2103, 691, 682, 261, 1082, 202, 6385, 2741, 1733, 279, 1210, 1733, 16, 1082, 202, 6385, 1635, 32, 780, 16, 514, 8526, 34, 852, 951, 1076, 3727, 1662, 13, 1216, 1185, 288, 202, 202, 759, 1827, 1779, 202, 202, 984, 335, 14245, 1477, 18, 4901, 18, 5129, 2932, 7163, 691, 682, 8863, 202, 202, 430, 261, 984, 335, 14245, 1477, 18, 4901, 18, 291, 2829, 1526, 10756, 288, 1082, 202, 984, 335, 14245, 1477, 18, 4901, 18, 4148, 2932, 1210, 1733, 294, 315, 397, 279, 1210, 1733, 397, 4585, 1769, 1082, 202, 984, 335, 14245, 1477, 18, 4901, 18, 4148, 2932, 863, 434, 533, 1569, 294, 315, 397, 852, 951, 1076, 3727, 1662, 397, 2 ]
int alt44=2; int LA44_0 = input.LA(1); if ( (LA44_0==LEFT_SQUARE) ) { alt44=1;
int alt47=2; int LA47_0 = input.LA(1); if ( (LA47_0==LEFT_SQUARE) ) { alt47=1;
public String argument() throws RecognitionException { String name = null; Token id=null; name = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1240:3: (id= ID ( '[' ']' )* ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1240:3: id= ID ( '[' ']' )* { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_argument2955); name=id.getText(); // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1240:32: ( '[' ']' )* loop44: do { int alt44=2; int LA44_0 = input.LA(1); if ( (LA44_0==LEFT_SQUARE) ) { alt44=1; } switch (alt44) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1240:34: '[' ']' { match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_argument2961); match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_argument2963); name = name + "[]"; } break; default : break loop44; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return name; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/c3437c2488c314384990c4282a547e0f92ca02c2/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1237, 1435, 1216, 9539, 288, 6647, 514, 508, 273, 446, 31, 3639, 3155, 612, 33, 2011, 31, 1171, 202, 202, 529, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 7132, 30, 23, 30, 261, 350, 33, 1599, 261, 8375, 8641, 8618, 262, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 7132, 30, 23, 30, 612, 33, 1599, 261, 8375, 8641, 8618, 5411, 288, 5411, 612, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 734, 16, 29890, 67, 734, 67, 267, 67, 3446, 5540, 2539, 1769, 2868, 508, 33, 350, 18, 588, 1528, 5621, 2398, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 7132, 30, 1578, 30, 261, 8375, 8641, 8618, 5411, 2798, 6334, 30, 5411, 741, 288, 7734, 509, 3770, 6334, 33, 22, 31, 7734, 509, 2928, 6334, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 261, 2534, 6334, 67, 20, 631, 10066, 67, 19716, 13, 262, 288, 10792, 3770, 6334, 33, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1237, 1435, 1216, 9539, 288, 6647, 514, 508, 273, 446, 31, 3639, 3155, 612, 33, 2011, 31, 1171, 202, 202, 529, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 7132, 30, 23, 30, 261, 350, 33, 1599, 261, 8375, 8641, 8618, 262, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 7132, 30, 23, 30, 612, 33, 1599, 261, 2 ]
throw new RubyNameException(getRuby(), "uninitialized constant " + name + " at " + getClassPath().getValue());
throw new NameError(getRuby(), "uninitialized constant " + name + " at " + getClassPath().getValue());
public RubyObject getConstant(String name) { boolean mod_retry = false; RubyModule tmp = this; while (true) { while (tmp != null) { if (tmp.getInstanceVariables().get(name) != null) { return (RubyObject) tmp.getInstanceVariables().get(name); } if (tmp == getRuby().getClasses().getObjectClass() && getRuby().getTopConstant(name) != null) { return getRuby().getTopConstant(name); } tmp = tmp.getSuperClass(); } if (!mod_retry && isModule()) { mod_retry = true; tmp = getRuby().getClasses().getObjectClass(); continue; } break; } try { Class javaClass = getRuby().getJavaSupport().loadJavaClass(RubyString.newString(getRuby(), name)); return getRuby().getJavaSupport().loadClass(javaClass, null); } catch(RubyNameException excptn) { } /* Uninitialized constant */ if (this != getRuby().getClasses().getObjectClass()) { throw new RubyNameException(getRuby(), "uninitialized constant " + name + " at " + getClassPath().getValue()); } else { throw new RubyNameException(getRuby(), "uninitialized constant " + name); } // return getRuby().getNil(); }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/8140cac1b7c2375c549787852e38fa6c52b199df/RubyModule.java/buggy/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 24337, 12, 780, 508, 13, 288, 3639, 1250, 681, 67, 9620, 273, 629, 31, 3639, 19817, 3120, 1853, 273, 333, 31, 3639, 1323, 261, 3767, 13, 288, 5411, 1323, 261, 5645, 480, 446, 13, 288, 7734, 309, 261, 5645, 18, 588, 1442, 6158, 7675, 588, 12, 529, 13, 480, 446, 13, 288, 10792, 327, 261, 54, 10340, 921, 13, 1853, 18, 588, 1442, 6158, 7675, 588, 12, 529, 1769, 7734, 289, 7734, 309, 261, 5645, 422, 4170, 10340, 7675, 588, 4818, 7675, 588, 921, 797, 1435, 597, 4170, 10340, 7675, 588, 3401, 6902, 12, 529, 13, 480, 446, 13, 288, 10792, 327, 4170, 10340, 7675, 588, 3401, 6902, 12, 529, 1769, 7734, 289, 7734, 1853, 273, 1853, 18, 588, 8051, 797, 5621, 5411, 289, 5411, 309, 16051, 1711, 67, 9620, 597, 353, 3120, 10756, 288, 7734, 681, 67, 9620, 273, 638, 31, 7734, 1853, 273, 4170, 10340, 7675, 588, 4818, 7675, 588, 921, 797, 5621, 7734, 1324, 31, 5411, 289, 5411, 898, 31, 3639, 289, 7734, 775, 288, 5411, 1659, 2252, 797, 273, 4170, 10340, 7675, 588, 5852, 6289, 7675, 945, 5852, 797, 12, 54, 10340, 780, 18, 2704, 780, 12, 588, 54, 10340, 9334, 508, 10019, 540, 202, 2463, 4170, 10340, 7675, 588, 5852, 6289, 7675, 945, 797, 12, 6290, 797, 16, 446, 1769, 3639, 289, 1044, 12, 54, 10340, 26771, 3533, 337, 82, 13, 288, 3639, 289, 3639, 1748, 1351, 13227, 5381, 1195, 3639, 309, 261, 2211, 480, 4170, 10340, 7675, 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, 19817, 921, 24337, 12, 780, 508, 13, 288, 3639, 1250, 681, 67, 9620, 273, 629, 31, 3639, 19817, 3120, 1853, 273, 333, 31, 3639, 1323, 261, 3767, 13, 288, 5411, 1323, 261, 5645, 480, 446, 13, 288, 7734, 309, 261, 5645, 18, 588, 1442, 6158, 7675, 588, 12, 529, 13, 480, 446, 13, 288, 10792, 327, 261, 54, 10340, 921, 13, 1853, 18, 588, 1442, 6158, 7675, 588, 12, 529, 1769, 7734, 289, 7734, 309, 261, 5645, 422, 4170, 10340, 7675, 588, 4818, 7675, 588, 921, 797, 1435, 597, 4170, 10340, 7675, 588, 3401, 6902, 12, 529, 13, 480, 446, 13, 288, 10792, 327, 4170, 10340, 7675, 588, 3401, 6902, 12, 529, 1769, 7734, 289, 7734, 1853, 2 ]
public DefaultKeyboardFocusManager()
public DefaultKeyboardFocusManager ()
public DefaultKeyboardFocusManager() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/DefaultKeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/DefaultKeyboardFocusManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2989, 17872, 9233, 1318, 1832, 225, 288, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2989, 17872, 9233, 1318, 1832, 225, 288, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super(message.getKey(), cause);
super(message.getKey());
public CmsException(CmsMessageContainer message, Throwable cause) { super(message.getKey(), cause); m_message = message; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/0abaf9e2cd7b40be6257fbe506683783295516ca/CmsException.java/buggy/src/org/opencms/main/CmsException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11228, 12, 4747, 1079, 2170, 883, 16, 4206, 4620, 13, 288, 3639, 2240, 12, 2150, 18, 588, 653, 10663, 3639, 312, 67, 2150, 273, 883, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 11228, 12, 4747, 1079, 2170, 883, 16, 4206, 4620, 13, 288, 3639, 2240, 12, 2150, 18, 588, 653, 10663, 3639, 312, 67, 2150, 273, 883, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static RubyFixnum m_newFixnum(Ruby ruby, long value) { // Cache for Fixnums (Performance) if ((value & ~Ruby.FIXNUM_CACHE_MAX) == 0) { return ruby.fixnumCache[(int)value]; } return new RubyFixnum(ruby, value); }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/962ce6ffe87d8c8388ef1c922b056aea9b6210db/RubyFixnum.java/clean/org/jruby/RubyFixnum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 8585, 2107, 312, 67, 2704, 8585, 2107, 12, 54, 10340, 22155, 16, 1525, 460, 13, 288, 3639, 368, 4379, 364, 12139, 21180, 261, 25024, 13, 3639, 309, 14015, 1132, 473, 4871, 54, 10340, 18, 4563, 6069, 67, 8495, 67, 6694, 13, 422, 374, 13, 288, 5411, 327, 22155, 18, 904, 2107, 1649, 63, 12, 474, 13, 1132, 15533, 3639, 289, 7734, 327, 394, 19817, 8585, 2107, 12, 27768, 16, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 8585, 2107, 312, 67, 2704, 8585, 2107, 12, 54, 10340, 22155, 16, 1525, 460, 13, 288, 3639, 368, 4379, 364, 12139, 21180, 261, 25024, 13, 3639, 309, 14015, 1132, 473, 4871, 54, 10340, 18, 4563, 6069, 67, 8495, 67, 6694, 13, 422, 374, 13, 288, 5411, 327, 22155, 18, 904, 2107, 1649, 63, 12, 474, 13, 1132, 15533, 3639, 289, 7734, 327, 394, 19817, 8585, 2107, 12, 27768, 16, 460, 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 ]
conf.setInputDir(new File((String) other_args.get(0))); conf.setOutputDir(new File((String) other_args.get(1)));
conf.setInputPath(new Path((String) other_args.get(0))); conf.setOutputPath(new Path((String) other_args.get(1)));
public static void main(String[] args) throws IOException { Configuration defaults = new Configuration(); JobConf conf = new JobConf(defaults, WordCount.class); conf.setJobName("wordcount"); // the keys are words (strings) conf.setOutputKeyClass(UTF8.class); // the values are counts (ints) conf.setOutputValueClass(IntWritable.class); conf.setMapperClass(MapClass.class); conf.setCombinerClass(Reduce.class); conf.setReducerClass(Reduce.class); List other_args = new ArrayList(); for(int i=0; i < args.length; ++i) { try { if ("-m".equals(args[i])) { conf.setNumMapTasks(Integer.parseInt(args[++i])); } else if ("-r".equals(args[i])) { conf.setNumReduceTasks(Integer.parseInt(args[++i])); } else { other_args.add(args[i]); } } catch (NumberFormatException except) { System.out.println("ERROR: Integer expected instead of " + args[i]); printUsage(); } catch (ArrayIndexOutOfBoundsException except) { System.out.println("ERROR: Required parameter missing from " + args[i-1]); printUsage(); // exits } } // Make sure there are exactly 2 parameters left. if (other_args.size() != 2) { System.out.println("ERROR: Wrong number of parameters: " + other_args.size() + " instead of 2."); printUsage(); } conf.setInputDir(new File((String) other_args.get(0))); conf.setOutputDir(new File((String) other_args.get(1))); // Uncomment to run locally in a single process // conf.set("mapred.job.tracker", "local"); JobClient.runJob(conf); }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/ee01fef4b4fb82c7492a4a747793839a4d14cd39/WordCount.java/buggy/src/examples/org/apache/hadoop/examples/WordCount.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 288, 565, 4659, 3467, 273, 394, 4659, 5621, 3639, 3956, 3976, 2195, 273, 394, 3956, 3976, 12, 7606, 16, 9926, 1380, 18, 1106, 1769, 565, 2195, 18, 542, 29425, 2932, 1095, 1883, 8863, 377, 368, 326, 1311, 854, 4511, 261, 10219, 13, 565, 2195, 18, 542, 1447, 653, 797, 12, 5159, 28, 18, 1106, 1769, 565, 368, 326, 924, 854, 6880, 261, 28142, 13, 565, 2195, 18, 542, 1447, 620, 797, 12, 1702, 12061, 18, 1106, 1769, 3639, 2195, 18, 542, 4597, 797, 12, 863, 797, 18, 1106, 1769, 5411, 2195, 18, 542, 24107, 264, 797, 12, 12944, 18, 1106, 1769, 565, 2195, 18, 542, 26369, 797, 12, 12944, 18, 1106, 1769, 3639, 987, 1308, 67, 1968, 273, 394, 2407, 5621, 565, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 965, 77, 13, 288, 1377, 775, 288, 3639, 309, 7566, 17, 81, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 1850, 2195, 18, 542, 2578, 863, 6685, 12, 4522, 18, 2670, 1702, 12, 1968, 63, 9904, 77, 5717, 1769, 3639, 289, 469, 309, 7566, 17, 86, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 1850, 2195, 18, 542, 2578, 12944, 6685, 12, 4522, 18, 2670, 1702, 12, 1968, 63, 9904, 77, 5717, 1769, 3639, 289, 469, 288, 1850, 1308, 67, 1968, 18, 1289, 12, 1968, 63, 77, 19226, 3639, 289, 1377, 289, 1044, 261, 1854, 9291, 1335, 13, 288, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1860, 288, 565, 4659, 3467, 273, 394, 4659, 5621, 3639, 3956, 3976, 2195, 273, 394, 3956, 3976, 12, 7606, 16, 9926, 1380, 18, 1106, 1769, 565, 2195, 18, 542, 29425, 2932, 1095, 1883, 8863, 377, 368, 326, 1311, 854, 4511, 261, 10219, 13, 565, 2195, 18, 542, 1447, 653, 797, 12, 5159, 28, 18, 1106, 1769, 565, 368, 326, 924, 854, 6880, 261, 28142, 13, 565, 2195, 18, 542, 1447, 620, 797, 12, 1702, 12061, 18, 1106, 1769, 3639, 2195, 18, 542, 4597, 797, 12, 863, 797, 18, 1106, 1769, 5411, 2195, 18, 542, 24107, 264, 797, 12, 12944, 18, 1106, 1769, 565, 2195, 18, 542, 26369, 797, 2 ]
if(element instanceof PsiLocalVariable || element instanceof PsiParameter) {
if(element instanceof PsiLocalVariable || element instanceof PsiParameter) {
public void visitReferenceExpression(@NotNull PsiReferenceExpression referenceExpression) { if(!referencesStaticallyAccessible){ return; } super.visitReferenceExpression(referenceExpression); final PsiExpression qualifier = referenceExpression.getQualifierExpression(); if (qualifier instanceof PsiSuperExpression) { return; } if (qualifier instanceof PsiReferenceExpression) { final PsiReferenceExpression expression = (PsiReferenceExpression) qualifier; final PsiElement resolvedExpression = expression.resolve(); if (!(resolvedExpression instanceof PsiField) && !(resolvedExpression instanceof PsiMethod)) { return; } } final PsiElement element = referenceExpression.resolve(); if (element instanceof PsiMethod || element instanceof PsiField) { final PsiMember member = (PsiMember) element; if (member.hasModifierProperty(PsiModifier.STATIC)) { return; } final PsiClass containingClass = member.getContainingClass(); referencesStaticallyAccessible &= isClassStaticallyAccessible(containingClass); } if(element instanceof PsiLocalVariable || element instanceof PsiParameter) { final PsiElement containingMethod = PsiTreeUtil.getParentOfType(referenceExpression, PsiMethod.class); final PsiElement referencedMethod = PsiTreeUtil.getParentOfType(element, PsiMethod.class); if(containingMethod!=null && referencedMethod!=null && !containingMethod.equals(referencedMethod)) { referencesStaticallyAccessible = false; } } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/20196b9d9ae8cff5bf1723c65f135962d711a468/InnerClassReferenceVisitor.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/InnerClassReferenceVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 2404, 2300, 26964, 5962, 453, 7722, 2404, 2300, 2114, 2300, 13, 288, 3639, 309, 12, 5, 14353, 5788, 1230, 10451, 15329, 5411, 327, 31, 3639, 289, 3639, 2240, 18, 11658, 2404, 2300, 12, 6180, 2300, 1769, 3639, 727, 453, 7722, 2300, 12327, 273, 2114, 2300, 18, 588, 16185, 2300, 5621, 3639, 309, 261, 28157, 1276, 453, 7722, 8051, 2300, 13, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 28157, 1276, 453, 7722, 2404, 2300, 13, 288, 5411, 727, 453, 7722, 2404, 2300, 2652, 273, 261, 52, 7722, 2404, 2300, 13, 12327, 31, 5411, 727, 453, 7722, 1046, 4640, 2300, 273, 2652, 18, 10828, 5621, 5411, 309, 16051, 12, 11792, 2300, 1276, 453, 7722, 974, 13, 597, 10792, 401, 12, 11792, 2300, 1276, 453, 7722, 1305, 3719, 288, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 727, 453, 7722, 1046, 930, 273, 2114, 2300, 18, 10828, 5621, 3639, 309, 261, 2956, 1276, 453, 7722, 1305, 747, 930, 1276, 453, 7722, 974, 13, 288, 5411, 727, 453, 7722, 4419, 3140, 273, 261, 52, 7722, 4419, 13, 930, 31, 5411, 309, 261, 5990, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 22741, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 797, 4191, 797, 273, 3140, 18, 588, 24344, 797, 5621, 5411, 5351, 5788, 1230, 10451, 12058, 10792, 25975, 5788, 1230, 10451, 12, 1213, 3280, 797, 1769, 3639, 289, 3639, 309, 12, 2956, 1276, 453, 7722, 2042, 3092, 747, 930, 1276, 453, 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, 3757, 2404, 2300, 26964, 5962, 453, 7722, 2404, 2300, 2114, 2300, 13, 288, 3639, 309, 12, 5, 14353, 5788, 1230, 10451, 15329, 5411, 327, 31, 3639, 289, 3639, 2240, 18, 11658, 2404, 2300, 12, 6180, 2300, 1769, 3639, 727, 453, 7722, 2300, 12327, 273, 2114, 2300, 18, 588, 16185, 2300, 5621, 3639, 309, 261, 28157, 1276, 453, 7722, 8051, 2300, 13, 288, 5411, 327, 31, 3639, 289, 3639, 309, 261, 28157, 1276, 453, 7722, 2404, 2300, 13, 288, 5411, 727, 453, 7722, 2404, 2300, 2652, 273, 261, 52, 7722, 2404, 2300, 13, 12327, 31, 5411, 727, 453, 7722, 1046, 4640, 2300, 273, 2652, 18, 10828, 5621, 5411, 309, 16051, 12, 11792, 2300, 1276, 453, 7722, 974, 2 ]
strbuf.append( "<li>Meat: " + df.format( calculateAverage( meatList ) ) + "</li>" );
strbuf.append( "<li>Meat: " + COMMA_FORMAT.format( calculateAverage( meatList ) ) + "</li>" );
private static String getStandardSummary() { String header = getRosterHeader(); StringBuffer strbuf = new StringBuffer(); ArrayList classList = new ArrayList(); ArrayList foodList = new ArrayList(); ArrayList drinkList = new ArrayList(); ArrayList rankList = new ArrayList(); ArrayList powerList = new ArrayList(); ArrayList karmaList = new ArrayList(); ArrayList meatList = new ArrayList(); ArrayList turnsList = new ArrayList(); ArrayList pvpList = new ArrayList(); ArrayList musList = new ArrayList(); ArrayList mysList = new ArrayList(); ArrayList moxList = new ArrayList(); ArrayList ascensionsList = new ArrayList(); // Iterate through the list of clan members // and populate the lists. ProfileRequest memberLookup; String [] members = new String[ profileMap.keySet().size() ]; profileMap.keySet().toArray( members ); for ( int i = 0; i < members.length; ++i ) { memberLookup = getProfile( members[i] ); if ( header.indexOf( "<td>Class</td>" ) != -1 ) classList.add( memberLookup.getClassType() ); if ( header.indexOf( "<td>Food</td>" ) != -1 ) foodList.add( memberLookup.getFood() ); if ( header.indexOf( "<td>Drink</td>" ) != -1 ) drinkList.add( memberLookup.getDrink() ); if ( header.indexOf( "<td>Meat</td>" ) != -1 ) meatList.add( memberLookup.getCurrentMeat() ); if ( header.indexOf( "<td>Turns</td>" ) != -1 ) turnsList.add( memberLookup.getCurrentRun() ); if ( header.indexOf( "<td>PVP</td>" ) != -1 ) pvpList.add( memberLookup.getPvpRank() ); rankList.add( memberLookup.getRank() ); musList.add( memberLookup.getMuscle() ); mysList.add( memberLookup.getMysticism() ); moxList.add( memberLookup.getMoxie() ); powerList.add( memberLookup.getPower() ); karmaList.add( memberLookup.getKarma() ); if ( header.indexOf( "<td>Ascensions</td>" ) != -1 ) ascensionsList.add( memberLookup.getAscensionCount() ); } Collections.sort( classList ); Collections.sort( foodList ); Collections.sort( drinkList ); Collections.sort( rankList ); Collections.sort( ascensionsList ); strbuf.append( "<table border=0 cellspacing=4 cellpadding=4><tr>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<td valign=top>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<b>Averages</b>:<ul>" ); strbuf.append( LINE_BREAK ); if ( header.indexOf( "<td>PVP</td>" ) != -1 ) { strbuf.append( "<li>PVP Rank: " + df.format( calculateAverage( pvpList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); } strbuf.append( "<li>Muscle: " + df.format( calculateAverage( musList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<li>Myst: " + df.format( calculateAverage( mysList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<li>Moxie: " + df.format( calculateAverage( moxList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<li>Power: " + df.format( calculateAverage( powerList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<li>Karma: " + df.format( calculateAverage( karmaList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); if ( header.indexOf( "<td>Meat</td>" ) != -1 ) { strbuf.append( "<li>Meat: " + df.format( calculateAverage( meatList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); } if ( header.indexOf( "<td>Turns</td>" ) != -1 ) { strbuf.append( "<li>Turns: " + df.format( calculateAverage( turnsList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); } strbuf.append( "</ul>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<b>Totals</b>:<ul>" ); strbuf.append( LINE_BREAK ); if ( header.indexOf( "<td>PVP</td>" ) != -1 ) { strbuf.append( "<li>PVP Rank: " + df.format( calculateTotal( pvpList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); } strbuf.append( "<li>Muscle: " + df.format( calculateTotal( musList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<li>Myst: " + df.format( calculateTotal( mysList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<li>Moxie: " + df.format( calculateTotal( moxList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<li>Power: " + df.format( calculateTotal( powerList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); strbuf.append( "<li>Karma: " + df.format( calculateTotal( karmaList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); if ( header.indexOf( "<td>Meat</td>" ) != -1 ) { strbuf.append( "<li>Meat: " + df.format( calculateTotal( meatList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); } if ( header.indexOf( "<td>Turns</td>" ) != -1 ) { strbuf.append( "<li>Turns: " + df.format( calculateTotal( turnsList ) ) + "</li>" ); strbuf.append( LINE_BREAK ); } strbuf.append( "</ul></td>" ); strbuf.append( LINE_BREAK ); if ( header.indexOf( "<td>Class</td>" ) != -1 ) { strbuf.append( "<td valign=top><b>Class Breakdown</b>:" ); strbuf.append( getBreakdown( classList ) ); strbuf.append( "</td>" ); } strbuf.append( "<td valign=top><b>Rank Breakdown</b>:" ); strbuf.append( getBreakdown( rankList ) ); strbuf.append( "</td>" ); if ( header.indexOf( "<td>Food</td>" ) != -1 ) { strbuf.append( "<td valign=top><b>Food Breakdown</b>:" ); strbuf.append( getBreakdown( foodList ) ); strbuf.append( "</td>" ); } if ( header.indexOf( "<td>Drink</td>" ) != -1 ) { strbuf.append( "<td valign=top><b>Drink Breakdown</b>:" ); strbuf.append( getBreakdown( drinkList ) ); strbuf.append( "</td>" ); } if ( header.indexOf( "<td>Ascensions</td>" ) != -1 ) { strbuf.append( "<td valign=top><b>Ascension Breakdown</b>:" ); strbuf.append( getBreakdown( ascensionsList ) ); strbuf.append( "</td>" ); } strbuf.append( "</tr></table>" ); strbuf.append( LINE_BREAK ); return strbuf.toString(); }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/3446151a75a0bb8756fa27b42f6ae5047201cd09/ClanSnapshotTable.java/clean/src/net/sourceforge/kolmafia/ClanSnapshotTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 514, 336, 8336, 4733, 1435, 202, 95, 202, 202, 780, 1446, 273, 4170, 29811, 1864, 5621, 202, 202, 780, 1892, 609, 4385, 273, 394, 6674, 5621, 202, 202, 19558, 16035, 273, 394, 2407, 5621, 202, 202, 19558, 284, 4773, 682, 273, 394, 2407, 5621, 202, 202, 19558, 5081, 754, 682, 273, 394, 2407, 5621, 202, 202, 19558, 6171, 682, 273, 394, 2407, 5621, 202, 202, 19558, 7212, 682, 273, 394, 2407, 5621, 202, 202, 19558, 417, 297, 2540, 682, 273, 394, 2407, 5621, 202, 202, 19558, 1791, 270, 682, 273, 394, 2407, 5621, 202, 202, 19558, 20748, 682, 273, 394, 2407, 5621, 202, 202, 19558, 9770, 84, 682, 273, 394, 2407, 5621, 202, 202, 19558, 312, 407, 682, 273, 394, 2407, 5621, 202, 202, 19558, 312, 1900, 682, 273, 394, 2407, 5621, 202, 202, 19558, 312, 2409, 682, 273, 394, 2407, 5621, 202, 202, 19558, 6972, 2334, 682, 273, 394, 2407, 5621, 202, 202, 759, 11436, 3059, 326, 666, 434, 927, 304, 4833, 202, 202, 759, 471, 6490, 326, 6035, 18, 202, 202, 25616, 3140, 6609, 31, 202, 202, 780, 5378, 4833, 273, 394, 514, 63, 3042, 863, 18, 856, 694, 7675, 1467, 1435, 308, 31, 202, 202, 5040, 863, 18, 856, 694, 7675, 31447, 12, 4833, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 4833, 18, 2469, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 5990, 6609, 273, 28042, 12, 4833, 63, 77, 65, 11272, 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, 514, 336, 8336, 4733, 1435, 202, 95, 202, 202, 780, 1446, 273, 4170, 29811, 1864, 5621, 202, 202, 780, 1892, 609, 4385, 273, 394, 6674, 5621, 202, 202, 19558, 16035, 273, 394, 2407, 5621, 202, 202, 19558, 284, 4773, 682, 273, 394, 2407, 5621, 202, 202, 19558, 5081, 754, 682, 273, 394, 2407, 5621, 202, 202, 19558, 6171, 682, 273, 394, 2407, 5621, 202, 202, 19558, 7212, 682, 273, 394, 2407, 5621, 202, 202, 19558, 417, 297, 2540, 682, 273, 394, 2407, 5621, 202, 202, 19558, 1791, 270, 682, 273, 394, 2407, 5621, 202, 202, 19558, 20748, 682, 273, 394, 2407, 5621, 202, 202, 19558, 9770, 84, 682, 273, 394, 2407, 5621, 202, 202, 19558, 2 ]
scriptlibClassPath = scriptlibClassPath.substring( EngineConstants.PROPERTYSEPARATOR.length( ) );
scriptlibClassPath = scriptlibClassPath .substring( EngineConstants.PROPERTYSEPARATOR.length( ) );
private ReportEngineService( ServletConfig servletConfig ) { System.setProperty( "RUN_UNDER_ECLIPSE", "false" ); //$NON-NLS-1$ //$NON-NLS-2$ if ( servletConfig == null ) { return; } config = new EngineConfig( ); // Register new image handler HTMLEmitterConfig emitterConfig = new HTMLEmitterConfig( ); emitterConfig.setActionHandler( new HTMLActionHandler( ) ); imageHandler = new HTMLServerImageHandler( ); emitterConfig.setImageHandler( imageHandler ); config.getEmitterConfigs( ).put( "html", emitterConfig ); //$NON-NLS-1$ // Prepare image directory. imageDirectory = servletConfig.getServletContext( ) .getInitParameter( ParameterAccessor.INIT_PARAM_IMAGE_DIR ); if ( imageDirectory == null || imageDirectory.trim( ).length( ) <= 0 || ParameterAccessor.isRelativePath( imageDirectory ) ) { imageDirectory = ParameterAccessor.getRealPath( servletConfig.getServletContext( ), "/report/images" ); //$NON-NLS-1$ } // Prepare image base url. imageBaseUrl = IBirtConstants.SERVLET_PATH_PREVIEW + "?__imageID="; //$NON-NLS-1$ // Prepare log directory. String logDirectory = servletConfig.getServletContext( ) .getInitParameter( ParameterAccessor.INIT_PARAM_LOG_DIR ); if ( logDirectory == null || logDirectory.trim( ).length( ) <= 0 || ParameterAccessor.isRelativePath( logDirectory ) ) { logDirectory = ParameterAccessor.getRealPath( servletConfig.getServletContext( ), "/logs" ); //$NON-NLS-1$ } // Prepare log level. String logLevel = servletConfig.getServletContext( ) .getInitParameter( ParameterAccessor.INIT_PARAM_LOG_LEVEL ); Level level = logLevel != null && logLevel.length( ) > 0 ? Level.parse( logLevel ) : Level.OFF; config.setLogConfig( logDirectory, level ); // Prepare ScriptLib location String scriptLibDir = servletConfig.getServletContext( ) .getInitParameter( ParameterAccessor.INIT_PARAM_SCRIPTLIB_DIR ); if ( scriptLibDir == null || scriptLibDir.trim( ).length( ) <= 0 || ParameterAccessor.isRelativePath( scriptLibDir ) ) { scriptLibDir = ParameterAccessor.getRealPath( servletConfig.getServletContext( ), "/scriptlib" ); //$NON-NLS-1$ } ArrayList jarFileList = new ArrayList( ); if ( scriptLibDir != null ) { File dir = new File( scriptLibDir ); getAllJarFiles( dir, jarFileList ); } String scriptlibClassPath = ""; //$NON-NLS-1$ for ( int i = 0; i < jarFileList.size( ); i++ ) scriptlibClassPath += EngineConstants.PROPERTYSEPARATOR + ( (File) jarFileList.get( i ) ).getAbsolutePath( ); if ( scriptlibClassPath.startsWith( EngineConstants.PROPERTYSEPARATOR ) ) scriptlibClassPath = scriptlibClassPath.substring( EngineConstants.PROPERTYSEPARATOR.length( ) ); System.setProperty( EngineConstants.WEBAPP_CLASSPATH_KEY, scriptlibClassPath ); config.setEngineHome( "" ); //$NON-NLS-1$ }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/4ea91dbf969b6a2c94d239aeb7a50028eecd14bb/ReportEngineService.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 8706, 4410, 1179, 12, 7971, 809, 8100, 809, 262, 202, 95, 202, 202, 3163, 18, 542, 1396, 12, 315, 15238, 67, 31625, 67, 7228, 2053, 52, 1090, 3113, 315, 5743, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 430, 261, 8100, 809, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 1425, 273, 394, 10507, 809, 12, 11272, 202, 202, 759, 5433, 394, 1316, 1838, 202, 202, 5062, 9687, 1938, 387, 809, 11520, 809, 273, 394, 19408, 9687, 1938, 387, 809, 12, 11272, 202, 202, 27529, 809, 18, 542, 1803, 1503, 12, 394, 3982, 1803, 1503, 12, 262, 11272, 202, 202, 2730, 1503, 273, 394, 3982, 2081, 2040, 1503, 12, 11272, 202, 202, 27529, 809, 18, 542, 2040, 1503, 12, 1316, 1503, 11272, 202, 202, 1425, 18, 588, 13476, 8062, 12, 262, 18, 458, 12, 315, 2620, 3113, 11520, 809, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 7730, 1316, 1867, 18, 202, 202, 2730, 2853, 273, 8100, 809, 18, 588, 4745, 1042, 12, 262, 9506, 202, 18, 588, 2570, 1662, 12, 5498, 8235, 18, 12919, 67, 8388, 67, 13603, 67, 4537, 11272, 202, 202, 430, 261, 1316, 2853, 422, 446, 9506, 202, 20081, 1316, 2853, 18, 5290, 12, 262, 18, 2469, 12, 262, 1648, 374, 9506, 202, 20081, 5498, 8235, 18, 291, 16519, 12, 1316, 2853, 262, 262, 202, 202, 95, 1082, 202, 2730, 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, 8706, 4410, 1179, 12, 7971, 809, 8100, 809, 262, 202, 95, 202, 202, 3163, 18, 542, 1396, 12, 315, 15238, 67, 31625, 67, 7228, 2053, 52, 1090, 3113, 315, 5743, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 430, 261, 8100, 809, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 1425, 273, 394, 10507, 809, 12, 11272, 202, 202, 759, 5433, 394, 1316, 1838, 202, 202, 5062, 9687, 1938, 387, 809, 11520, 809, 273, 394, 19408, 9687, 1938, 387, 809, 12, 11272, 202, 202, 27529, 809, 18, 542, 1803, 1503, 12, 394, 3982, 1803, 1503, 12, 262, 11272, 202, 2 ]
final CoreException except[] = new CoreException[1]; getShell().getDisplay().syncExec(new Runnable() { public void run() {
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { final IProgressMonitor fMonitor; if (monitor == null) { fMonitor= new NullProgressMonitor(); } else { fMonitor = monitor; } fMonitor.beginTask(CUIPlugin.getResourceString(OP_DESC), 3); final CoreException except[] = new CoreException[1]; getShell().getDisplay().syncExec(new Runnable() { public void run() { doRunPrologue(new SubProgressMonitor(fMonitor, 1)); try { doRun(new SubProgressMonitor(fMonitor, 1)); } catch (CoreException e) { except[0] = e; } doRunEpilogue(new SubProgressMonitor(fMonitor, 1)); } }); if (except[0] != null) { throw new InvocationTargetException(except[0]); } fMonitor.done(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a921b87b6f4f2b830d801a16769d702712c3a561/NewCProjectWizard.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/NewCProjectWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 1216, 15342, 16, 7558, 288, 9506, 202, 6385, 467, 5491, 7187, 284, 7187, 31, 9506, 202, 430, 261, 10259, 422, 446, 13, 288, 6862, 202, 74, 7187, 33, 394, 4112, 5491, 7187, 5621, 9506, 202, 97, 469, 288, 6862, 202, 74, 7187, 273, 6438, 31, 9506, 202, 97, 9506, 202, 74, 7187, 18, 10086, 2174, 12, 39, 5370, 3773, 18, 588, 1420, 780, 12, 3665, 67, 10964, 3631, 890, 1769, 9506, 202, 6385, 30015, 1335, 8526, 273, 394, 30015, 63, 21, 15533, 9506, 202, 588, 13220, 7675, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 2896, 1997, 626, 1330, 344, 12, 2704, 2592, 5491, 7187, 12, 74, 7187, 16, 404, 10019, 25083, 202, 698, 288, 6862, 1082, 202, 2896, 1997, 12, 2704, 2592, 5491, 7187, 12, 74, 7187, 16, 404, 10019, 25083, 202, 97, 25083, 202, 14683, 261, 25341, 425, 13, 288, 6862, 1082, 202, 14137, 63, 20, 65, 273, 425, 31, 25083, 202, 97, 25083, 202, 2896, 1997, 18918, 21947, 344, 12, 2704, 2592, 5491, 7187, 12, 74, 7187, 16, 404, 10019, 6862, 202, 97, 9506, 202, 22938, 9506, 202, 430, 261, 14137, 63, 20, 65, 480, 446, 13, 288, 6862, 202, 12849, 394, 15342, 12, 14137, 63, 20, 19226, 9506, 202, 97, 9506, 202, 74, 7187, 18, 8734, 5621, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 1216, 15342, 16, 7558, 288, 9506, 202, 6385, 467, 5491, 7187, 284, 7187, 31, 9506, 202, 430, 261, 10259, 422, 446, 13, 288, 6862, 202, 74, 7187, 33, 394, 4112, 5491, 7187, 5621, 9506, 202, 97, 469, 288, 6862, 202, 74, 7187, 273, 6438, 31, 9506, 202, 97, 9506, 202, 74, 7187, 18, 10086, 2174, 12, 39, 5370, 3773, 18, 588, 1420, 780, 12, 3665, 67, 10964, 3631, 890, 1769, 9506, 202, 6385, 30015, 1335, 8526, 273, 394, 30015, 63, 21, 15533, 9506, 202, 588, 13220, 7675, 588, 4236, 7675, 8389, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 2896, 1997, 2 ]
case 551 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); }
case 552 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); }
protected void consumeRule(int act) { switch ( act ) { case 29 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 43 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 47 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 48 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 49 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 50 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 52 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 53 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 54 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 59 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 60 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 67 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 68 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 69 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 70 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 86 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 88 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 90 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 91 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 92 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 93 : if (DEBUG) { System.out.println("PackageDeclarationName ::= PackageComment package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 94 : if (DEBUG) { System.out.println("PackageComment ::="); } //$NON-NLS-1$ consumePackageComment(); break; case 99 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 100 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 101 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 102 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 105 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 109 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 121 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 122 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 123 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 124 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 126 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 127 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 128 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 130 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 131 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 134 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 138 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 139 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 140 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 147 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 150 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 152 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 155 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 156 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 157 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 158 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 159 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 164 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 165 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 166 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 167 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(false); break; case 168 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(false); break; case 169 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 170 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 171 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 172 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 173 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 174 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 176 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 177 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 178 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 180 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 181 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 182 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 183 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 184 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 185 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 186 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 187 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 196 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 197 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 198 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 199 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 200 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 201 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 202 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 204 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 205 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 208 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 209 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 211 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ consumeInvalidMethodDeclaration(); break; case 212 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration(true); break; case 213 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration(false); break; case 221 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 222 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 223 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 224 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 226 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 227 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 228 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 230 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 234 : if (DEBUG) { System.out.println("BlockStatement ::= InterfaceDeclaration"); } //$NON-NLS-1$ consumeInvalidInterfaceDeclaration(); break; case 235 : if (DEBUG) { System.out.println("BlockStatement ::= AnnotationTypeDeclaration"); } //$NON-NLS-1$ consumeInvalidAnnotationTypeDeclaration(); break; case 236 : if (DEBUG) { System.out.println("BlockStatement ::= EnumDeclaration"); } //$NON-NLS-1$ consumeInvalidEnumDeclaration(); break; case 237 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 238 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 239 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 240 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 241 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ consumePushModifiersForHeader(); break; case 242 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 268 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 269 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 270 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 271 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 280 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 281 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 282 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 283 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 284 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 287 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 289 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 290 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 292 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 293 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 294 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 295 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 296 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 297 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 298 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 299 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 300 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 304 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 305 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 306 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 307 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 308 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 309 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 310 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 311 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 312 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 313 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 314 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 315 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 316 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 318 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 320 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 321 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 323 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 324 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 329 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 330 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 331 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 334 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 335 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 336 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 337 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 338 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 339 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 342 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 343 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 344 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 345 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 346 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 347 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 348 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 349 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 350 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 352 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 354 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 355 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 356 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 357 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 358 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 359 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 360 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 362 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 364 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 365 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 368 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 369 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 370 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 371 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 372 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 373 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 374 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 375 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 376 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 377 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 378 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 379 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 381 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 384 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 385 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 386 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 389 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 390 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 392 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 393 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 395 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 396 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 398 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 399 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 400 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 401 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 402 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 403 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 404 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 405 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 406 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 408 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 409 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 410 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 412 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 413 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 415 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 416 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 417 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 419 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 420 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 421 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 422 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 424 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 426 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 427 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 429 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 431 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 433 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 435 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 437 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 439 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 442 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 444 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 449 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 450 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 451 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 452 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 453 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 455 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 456 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 460 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 465 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 466 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 467 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 468 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 469 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 471 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 473 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 477 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 481 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 482 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 483 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 484 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 486 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 490 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 492 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 493 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 494 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeaderName(); break; case 495 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 496 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 497 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 498 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 500 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 501 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ consumeEnumConstantHeaderName(); break; case 502 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 503 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 504 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 505 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 506 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 508 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 509 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 511 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 512 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 513 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 514 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 515 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 516 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 517 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 518 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 519 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 520 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 522 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 524 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 525 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 529 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 530 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 532 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 535 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 536 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 538 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 541 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 542 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 543 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 544 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 545 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 546 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 547 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 548 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 549 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 550 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 551 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 552 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 553 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 554 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 555 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 556 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 557 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 558 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 559 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 561 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 563 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 564 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 566 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 567 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 569 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 570 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 571 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 572 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 574 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 575 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 581 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 582 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 585 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 586 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 589 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 590 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 593 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 594 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 596 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 597 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 598 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 599 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 601 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 602 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 605 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 608 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 609 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 614 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 615 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 617 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(); break; case 618 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(); break; case 620 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 622 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 623 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 625 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 626 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 628 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 629 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 631 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 632 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 634 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 635 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 637 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 638 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 640 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 641 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 645 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 646 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeaderName ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeaderName() ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 648 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 650 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 651 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationsopt() ; break; case 653 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 654 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(true); break; case 655 : if (DEBUG) { System.out.println("AnnotationMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeMethodHeaderName(true); break; case 656 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyMethodHeaderDefaultValue() ; break; case 657 : if (DEBUG) { System.out.println("AnnotationMethodHeaderDefaultValueopt ::= DefaultValue"); } //$NON-NLS-1$ consumeMethodHeaderDefaultValue(); break; case 658 : if (DEBUG) { System.out.println("AnnotationMethodHeader ::= AnnotationMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 659 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 667 : if (DEBUG) { System.out.println("AnnotationName ::= AT Name"); } //$NON-NLS-1$ consumeAnnotationName() ; break; case 668 : if (DEBUG) { System.out.println("NormalAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 669 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 672 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 673 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL EnterMemberValue..."); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 674 : if (DEBUG) { System.out.println("EnterMemberValue ::="); } //$NON-NLS-1$ consumeEnterMemberValue() ; break; case 675 : if (DEBUG) { System.out.println("ExitMemberValue ::="); } //$NON-NLS-1$ consumeExitMemberValue() ; break; case 677 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 680 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 681 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 682 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 683 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 685 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 686 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AnnotationName"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 687 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AnnotationName LPAREN..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; case 688 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt TypeParameters"); } //$NON-NLS-1$ consumeRecoveryMethodHeaderNameWithTypeParameters(); break; case 689 : if (DEBUG) { System.out.println("RecoveryMethodHeaderName ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeRecoveryMethodHeaderName(); break; case 690 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; case 691 : if (DEBUG) { System.out.println("RecoveryMethodHeader ::= RecoveryMethodHeaderName..."); } //$NON-NLS-1$ consumeMethodHeader(); break; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/c5e4a396e5f97d1050138e25a4f2f263849bffc7/Parser.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 12899, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 31, 377, 648, 21193, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17495, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 1770, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 797, 1162, 24730, 5621, 565, 1082, 202, 8820, 31, 377, 648, 9934, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 7928, 559, 15772, 1770, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 797, 1162, 1358, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17160, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 30982, 493, 33, 1659, 1162, 1358, 1412, 4628, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 30982, 5621, 565, 1082, 202, 8820, 31, 377, 648, 6437, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 27182, 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, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 12899, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 9840, 559, 5621, 26924, 202, 8820, 31, 377, 648, 21193, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2404, 559, 493, 33, 1659, 1162, 1358, 559, 8863, 289, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 565, 7865, 2404, 559, 5621, 565, 1082, 202, 8820, 31, 377, 648, 17495, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 797, 1162, 1358, 493, 33, 2 ]
} else if (parse_state == IN_QUOTED_TEXT) {
break; case IN_QUOTED_TEXT:
public RFC822Tokenizer(String str) { int parse_state = IN_NOTHING; int len = str.length(); char t_char; // Create to vector to store the tokenized output. // Wrapped the passed string in a class to feed // it through the parser. this.tokens = new Vector(); this.sstr = new StringStream(str); t_char = this.sstr.currentChar(); // This while loop is the main body of the parser. while ((parse_state != AT_END)&&(this.sstr.currentIndex() < len)) { int indx1, indx2; // Big if-else (should be a switch) // to switch on parser state. if (parse_state == IN_NOTHING) { parse_state = skipNothing(); } else if (parse_state == IN_ATOM) { indx1 = this.sstr.currentIndex(); parse_state = skipAtom(); indx2 = this.sstr.currentIndex(); addAtom(str, indx1, indx2); } else if (parse_state == IN_COMMENT) { indx1 = this.sstr.currentIndex(); t_char = this.sstr.nextChar(); parse_state = skipComment(); t_char = this.sstr.nextChar(); indx2 = this.sstr.currentIndex(); addComment(str, indx1, indx2); } else if (parse_state == IN_DOMAIN_LITERAL) { indx1 = this.sstr.currentIndex(); t_char = this.sstr.nextChar(); parse_state = skipDomainLiteral(); t_char = this.sstr.nextChar(); indx2 = this.sstr.currentIndex(); addDomainLiteral(str, indx1, indx2); } else if (parse_state == IN_QUOTED_TEXT) { indx1 = this.sstr.currentIndex(); t_char = this.sstr.nextChar(); parse_state = skipQuotedText(); t_char = this.sstr.nextChar(); indx2 = this.sstr.currentIndex(); addQuotedText(str, indx1, indx2); } else if (parse_state == IN_SPECIAL) { indx1 = this.sstr.currentIndex(); t_char = this.sstr.nextChar(); indx2 = this.sstr.currentIndex(); addSpecial(str, indx1, indx2); parse_state = IN_NOTHING; } } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/f4ad7b21b0ae3642cfe6e4114f5148499d696e5f/RFC822Tokenizer.java/buggy/grendel/sources/grendel/storage/addressparser/RFC822Tokenizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8372, 24532, 10524, 12, 780, 609, 13, 225, 288, 565, 509, 1109, 67, 2019, 273, 2120, 67, 4400, 44, 1360, 31, 565, 509, 562, 273, 609, 18, 2469, 5621, 565, 1149, 268, 67, 3001, 31, 565, 368, 1788, 358, 3806, 358, 1707, 326, 26073, 876, 18, 565, 368, 24506, 326, 2275, 533, 316, 279, 667, 358, 4746, 565, 368, 518, 3059, 326, 2082, 18, 565, 333, 18, 7860, 273, 394, 5589, 5621, 565, 333, 18, 87, 701, 273, 394, 514, 1228, 12, 701, 1769, 565, 268, 67, 3001, 273, 333, 18, 87, 701, 18, 2972, 2156, 5621, 565, 368, 1220, 1323, 2798, 353, 326, 2774, 1417, 434, 326, 2082, 18, 565, 1323, 14015, 2670, 67, 2019, 480, 14464, 67, 4415, 13, 10, 10, 12, 2211, 18, 87, 701, 18, 2972, 1016, 1435, 411, 562, 3719, 565, 288, 1377, 509, 24732, 21, 16, 24732, 22, 31, 1377, 368, 4454, 309, 17, 12107, 261, 13139, 506, 279, 1620, 13, 1377, 368, 358, 1620, 603, 2082, 919, 18, 1377, 309, 261, 2670, 67, 2019, 422, 2120, 67, 4400, 44, 1360, 13, 1377, 288, 3639, 1109, 67, 2019, 273, 2488, 23814, 5621, 1377, 289, 1377, 469, 309, 261, 2670, 67, 2019, 422, 2120, 67, 28146, 13, 1377, 288, 3639, 24732, 21, 273, 333, 18, 87, 701, 18, 2972, 1016, 5621, 3639, 1109, 67, 2019, 273, 2488, 3641, 5621, 3639, 24732, 22, 273, 333, 18, 87, 701, 18, 2972, 1016, 5621, 3639, 527, 3641, 12, 701, 16, 24732, 21, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8372, 24532, 10524, 12, 780, 609, 13, 225, 288, 565, 509, 1109, 67, 2019, 273, 2120, 67, 4400, 44, 1360, 31, 565, 509, 562, 273, 609, 18, 2469, 5621, 565, 1149, 268, 67, 3001, 31, 565, 368, 1788, 358, 3806, 358, 1707, 326, 26073, 876, 18, 565, 368, 24506, 326, 2275, 533, 316, 279, 667, 358, 4746, 565, 368, 518, 3059, 326, 2082, 18, 565, 333, 18, 7860, 273, 394, 5589, 5621, 565, 333, 18, 87, 701, 273, 394, 514, 1228, 12, 701, 1769, 565, 268, 67, 3001, 273, 333, 18, 87, 701, 18, 2972, 2156, 5621, 565, 368, 1220, 1323, 2798, 353, 326, 2774, 1417, 434, 326, 2082, 18, 565, 1323, 14015, 2670, 67, 2019, 480, 2 ]
ids, e.getAttributeValue("handler"));
ids);
private IDListFilter elementToIDListFilter(Element e) { List idElementList = e.getChildren("idlistitem", NAMESPACE); String[] ids = new String[idElementList.size()]; for (int i = 0; i < ids.length; i++) { ids[i] = ((Element)idElementList.get(i)).getAttributeValue("id"); } return new IDListFilter(e.getAttributeValue("field"), e.getAttributeValue("constraint"), e.getAttributeValue("key"), ids, e.getAttributeValue("handler")); }
7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/d3793571d0acb2d5d140dfcd88e89c2f76f7d2f1/BiomartXMLHandler.java/clean/trunk/taverna1.0/src/org/embl/ebi/escience/scuflworkers/biomart/BiomartXMLHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1599, 682, 1586, 930, 774, 24583, 1586, 12, 1046, 425, 13, 288, 202, 682, 612, 1046, 682, 273, 425, 18, 588, 4212, 2932, 350, 1098, 1726, 3113, 18494, 1769, 202, 780, 8526, 3258, 273, 394, 514, 63, 350, 1046, 682, 18, 1467, 1435, 15533, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3258, 18, 2469, 31, 277, 27245, 288, 202, 565, 3258, 63, 77, 65, 273, 14015, 1046, 13, 350, 1046, 682, 18, 588, 12, 77, 13, 2934, 588, 14942, 2932, 350, 8863, 202, 97, 202, 2463, 394, 1599, 682, 1586, 12, 73, 18, 588, 14942, 2932, 1518, 6, 3631, 9506, 202, 73, 18, 588, 14942, 2932, 13364, 6, 3631, 9506, 202, 73, 18, 588, 14942, 2932, 856, 6, 3631, 9506, 202, 2232, 16, 9506, 202, 73, 18, 588, 14942, 2932, 4176, 7923, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 3238, 1599, 682, 1586, 930, 774, 24583, 1586, 12, 1046, 425, 13, 288, 202, 682, 612, 1046, 682, 273, 425, 18, 588, 4212, 2932, 350, 1098, 1726, 3113, 18494, 1769, 202, 780, 8526, 3258, 273, 394, 514, 63, 350, 1046, 682, 18, 1467, 1435, 15533, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3258, 18, 2469, 31, 277, 27245, 288, 202, 565, 3258, 63, 77, 65, 273, 14015, 1046, 13, 350, 1046, 682, 18, 588, 12, 77, 13, 2934, 588, 14942, 2932, 350, 8863, 202, 97, 202, 2463, 394, 1599, 682, 1586, 12, 73, 18, 588, 14942, 2932, 1518, 6, 3631, 9506, 202, 73, 18, 588, 14942, 2932, 13364, 6, 3631, 9506, 202, 73, 18, 588, 2 ]
mojo.setArtifactItems(list);
mojo.setArtifactItems( list );
public void dotestArtifactExceptions( boolean are, boolean anfe ) throws Exception { ArtifactItem item = new ArtifactItem(); item.setArtifactId( "artifactId" ); item.setClassifier( "" ); item.setGroupId( "groupId" ); item.setType( "type" ); item.setVersion( "1.0" ); ArrayList list = new ArrayList(); list.add( item ); mojo.setArtifactItems(list); // init classifier things mojo.setFactory( DependencyTestUtils.getArtifactFactory() ); mojo.setResolver( new StubArtifactResolver( null, are, anfe ) ); mojo.setLocal( new StubArtifactRepository( this.testDir.getAbsolutePath() ) ); try { mojo.execute(); fail( "ExpectedException" ); } catch ( MojoExecutionException e ) { if ( are ) { assertEquals( "Unable to resolve artifact.", e.getMessage() ); } else { assertEquals( "Unable to find artifact.", e.getMessage() ); } } }
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/1f209e4fef3efb2350634ef8c679a5acd5c29ec3/TestCopyMojo.java/clean/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestCopyMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3928, 395, 7581, 11416, 12, 1250, 854, 16, 1250, 392, 3030, 262, 3639, 1216, 1185, 565, 288, 3639, 14022, 1180, 761, 273, 394, 14022, 1180, 5621, 3639, 761, 18, 542, 7581, 548, 12, 315, 17706, 548, 6, 11272, 3639, 761, 18, 542, 13860, 12, 1408, 11272, 3639, 761, 18, 542, 8722, 12, 315, 27547, 6, 11272, 3639, 761, 18, 542, 559, 12, 315, 723, 6, 11272, 3639, 761, 18, 542, 1444, 12, 315, 21, 18, 20, 6, 11272, 3639, 2407, 666, 273, 394, 2407, 5621, 3639, 666, 18, 1289, 12, 761, 11272, 3639, 312, 10007, 18, 542, 7581, 3126, 12, 666, 11272, 3639, 368, 1208, 14622, 9198, 3639, 312, 10007, 18, 542, 1733, 12, 11993, 4709, 1989, 18, 588, 7581, 1733, 1435, 11272, 3639, 312, 10007, 18, 542, 4301, 12, 394, 26483, 7581, 4301, 12, 446, 16, 854, 16, 392, 3030, 262, 11272, 3639, 312, 10007, 18, 542, 2042, 12, 394, 26483, 7581, 3305, 12, 333, 18, 3813, 1621, 18, 588, 10368, 743, 1435, 262, 11272, 3639, 775, 3639, 288, 5411, 312, 10007, 18, 8837, 5621, 5411, 2321, 12, 315, 6861, 503, 6, 11272, 3639, 289, 3639, 1044, 261, 18780, 425, 262, 3639, 288, 5411, 309, 261, 854, 262, 5411, 288, 7734, 1815, 8867, 12, 315, 3370, 358, 2245, 6462, 1199, 16, 425, 18, 24906, 1435, 11272, 5411, 289, 5411, 469, 5411, 288, 7734, 1815, 8867, 12, 315, 3370, 358, 1104, 6462, 1199, 16, 425, 18, 24906, 1435, 11272, 5411, 289, 3639, 289, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3928, 395, 7581, 11416, 12, 1250, 854, 16, 1250, 392, 3030, 262, 3639, 1216, 1185, 565, 288, 3639, 14022, 1180, 761, 273, 394, 14022, 1180, 5621, 3639, 761, 18, 542, 7581, 548, 12, 315, 17706, 548, 6, 11272, 3639, 761, 18, 542, 13860, 12, 1408, 11272, 3639, 761, 18, 542, 8722, 12, 315, 27547, 6, 11272, 3639, 761, 18, 542, 559, 12, 315, 723, 6, 11272, 3639, 761, 18, 542, 1444, 12, 315, 21, 18, 20, 6, 11272, 3639, 2407, 666, 273, 394, 2407, 5621, 3639, 666, 18, 1289, 12, 761, 11272, 3639, 312, 10007, 18, 542, 7581, 3126, 12, 666, 11272, 3639, 368, 1208, 14622, 9198, 3639, 312, 10007, 18, 542, 1733, 12, 11993, 4709, 2 ]
Object[] actionClassAndName = null;
Object[] actionClassAndName = getRequestActionClassAndNameForPath(getRequestHandlerPathForRequest(request));
public WOResponse handleRequest(WORequest request) { WOResponse response = null; String actionName = null; Class actionClass = null; boolean shouldCacheResult = false; if (ERXWOResponseCache.sharedInstance().isEnabled()) { try { // Caching scheme for 5.2 applications. Will uncomment once we are building 5.2 only ERExtensions //Object[] actionClassAndName = getRequestActionClassAndNameForPath(getRequestHandlerPathForRequest(request)); Object[] actionClassAndName = null; if (actionClassAndName != null && actionClassAndName.length == 3) { actionName = (String)actionClassAndName[1]; actionClass = (Class)actionClassAndName[2]; if (actionClass.isAssignableFrom(ERXWOResponseCache.Cacheable.class)) { response = ERXWOResponseCache.sharedInstance().cachedResponseForRequest(actionClass, actionName, request); } } } catch (Exception e) { log.info("Caught exception checking for cache. Leaving it up to the regular exception handler to cache. Request: " + request + " exception: " + e); // Resetting everything to make sure nothing is cached actionName = null; actionClass = null; shouldCacheResult = true; } } if (response == null) response = super.handleRequest(request); if (shouldCacheResult && actionName != null && actionClass != null) { try { ERXWOResponseCache.sharedInstance().cacheResponseForRequest(actionClass, actionName, request, response); } catch (Exception e) { log.error("Caught exception when caching response. Request: " + request + " exception: " + e); } } if (automaticMessageEncodingEnabled()) { ERXMessageEncoding messageEncoding = null; // This should retrieve the session object belonging to the same // worker thread that's been calling the current handleRequest method. WOSession session; if(false) { // ak only enable when fixed // as we will create deadlocks checking out the session this early. WOContext context = (WOContext)ERXThreadStorage.valueForKey("wocontext"); session = context != null ? context.session() : null; } else { session = ERXExtensions.session(); // get it from the thread specific storage } if (session != null && session instanceof ERXSession) { ERXSession erxSession = (ERXSession)session; messageEncoding = erxSession.messageEncoding(); erxSession.lastActionWasDA = true; } else if (request instanceof ERXRequest) { ERXBrowser browser = ((ERXRequest)request).browser(); messageEncoding = browser.messageEncodingForRequest(request); } else { messageEncoding = new ERXMessageEncoding(request.browserLanguages()); } messageEncoding.setEncodingToResponse(response); } return response; }
22541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22541/84e776b548ae0b03f1ef81eed80a0ebf22d8ae32/ERXDirectActionRequestHandler.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXDirectActionRequestHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 678, 51, 1064, 15713, 12, 59, 51, 691, 590, 13, 288, 3639, 678, 51, 1064, 766, 273, 446, 31, 7734, 514, 15451, 273, 446, 31, 3639, 1659, 1301, 797, 273, 446, 31, 3639, 1250, 1410, 1649, 1253, 273, 629, 31, 7734, 309, 261, 654, 60, 59, 51, 1064, 1649, 18, 11574, 1442, 7675, 291, 1526, 10756, 288, 5411, 775, 288, 7734, 368, 23782, 310, 4355, 364, 1381, 18, 22, 12165, 18, 9980, 12704, 475, 3647, 732, 854, 10504, 1381, 18, 22, 1338, 4232, 7513, 7734, 368, 921, 8526, 1301, 797, 1876, 461, 273, 4328, 1803, 797, 1876, 461, 25589, 12, 588, 28773, 743, 27649, 12, 2293, 10019, 9079, 1033, 8526, 1301, 797, 1876, 461, 273, 4328, 1803, 797, 1876, 461, 25589, 12, 588, 28773, 743, 27649, 12, 2293, 10019, 1171, 309, 261, 1128, 797, 1876, 461, 480, 446, 597, 1301, 797, 1876, 461, 18, 2469, 422, 890, 13, 288, 10792, 15451, 273, 261, 780, 13, 1128, 797, 1876, 461, 63, 21, 15533, 10792, 1301, 797, 273, 261, 797, 13, 1128, 797, 1876, 461, 63, 22, 15533, 10792, 309, 261, 1128, 797, 18, 291, 7961, 1265, 12, 654, 60, 59, 51, 1064, 1649, 18, 1649, 429, 18, 1106, 3719, 288, 13491, 766, 273, 4232, 60, 59, 51, 1064, 1649, 18, 11574, 1442, 7675, 7097, 1064, 27649, 12, 1128, 797, 16, 28524, 27573, 15451, 16, 28524, 27573, 590, 1769, 10792, 289, 7734, 289, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 613, 18, 1376, 2932, 24512, 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, 678, 51, 1064, 15713, 12, 59, 51, 691, 590, 13, 288, 3639, 678, 51, 1064, 766, 273, 446, 31, 7734, 514, 15451, 273, 446, 31, 3639, 1659, 1301, 797, 273, 446, 31, 3639, 1250, 1410, 1649, 1253, 273, 629, 31, 7734, 309, 261, 654, 60, 59, 51, 1064, 1649, 18, 11574, 1442, 7675, 291, 1526, 10756, 288, 5411, 775, 288, 7734, 368, 23782, 310, 4355, 364, 1381, 18, 22, 12165, 18, 9980, 12704, 475, 3647, 732, 854, 10504, 1381, 18, 22, 1338, 4232, 7513, 7734, 368, 921, 8526, 1301, 797, 1876, 461, 273, 4328, 1803, 797, 1876, 461, 25589, 12, 588, 28773, 743, 27649, 12, 2293, 10019, 9079, 1033, 8526, 1301, 797, 1876, 461, 273, 4328, 1803, 2 ]
RenderInfo info = getFixture3().getRenderInfo(); Image swtImg1 = getFixture3().getSWTImage();
RenderedImage fixture = getFixture3(); RenderInfo info = fixture.getRenderInfo(); Image swtImg1 = fixture.getSWTImage();
public void testChangeColors() { RenderInfo info = getFixture3().getRenderInfo(); Image swtImg1 = getFixture3().getSWTImage(); assertTrue(findColor(swtImg1, BLACK)); assertTrue(findColor(swtImg1, WHITE)); assertFalse(findColor(swtImg1, RED)); assertFalse(findColor(swtImg1, GREEN)); // set color first time - red fill, red outline info.setValues(info.getWidth(), info.getHeight(), true, true, RED, RED); RenderedImage colorImg1 = getFixture3().getNewRenderedImage(info); Image swtImg2 = colorImg1.getSWTImage(); assertNotNull("getSWTImage colorImg1 Image invalid", swtImg1); //$NON-NLS-1$ assertTrue(findColor(swtImg2, RED)); assertFalse(findColor(swtImg2, GREEN)); // set color second time - green fill, green outline info.setValues(info.getWidth(), info.getHeight(), true, true, GREEN, GREEN); RenderedImage colorImg2 = getFixture3().getNewRenderedImage(info); Image swtImg3 = colorImg2.getSWTImage(); assertNotNull("getSWTImage colorImg1 Image invalid", swtImg1); //$NON-NLS-1$ assertNotNull("getSWTImage colorImg2 Image invalid", swtImg2); //$NON-NLS-1$ assertTrue(colorImg1 != colorImg2); assertTrue(findColor(swtImg3, GREEN)); assertFalse(findColor(swtImg3, RED)); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/da95a3f2d4ce11d23c7d20223bd457e14d831ee0/SVGImageTest.java/buggy/org.eclipse.gmf.runtime/tests/org.eclipse.gmf.tests.runtime.draw2d.ui.render/src/org/eclipse/gmf/tests/runtime/draw2d/ui/render/internal/svg/SVGImageTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3043, 12570, 1435, 288, 202, 202, 3420, 966, 1123, 273, 2812, 697, 10970, 23, 7675, 588, 3420, 966, 5621, 202, 202, 2040, 1352, 88, 12804, 21, 273, 2812, 697, 10970, 23, 7675, 588, 55, 8588, 2040, 5621, 202, 202, 11231, 5510, 12, 4720, 2957, 12, 5328, 88, 12804, 21, 16, 19238, 3649, 10019, 202, 202, 11231, 5510, 12, 4720, 2957, 12, 5328, 88, 12804, 21, 16, 24353, 10019, 202, 202, 11231, 8381, 12, 4720, 2957, 12, 5328, 88, 12804, 21, 16, 14411, 10019, 202, 202, 11231, 8381, 12, 4720, 2957, 12, 5328, 88, 12804, 21, 16, 611, 15878, 10019, 202, 202, 759, 444, 2036, 1122, 813, 300, 1755, 3636, 16, 1755, 16363, 202, 202, 1376, 18, 542, 1972, 12, 1376, 18, 588, 2384, 9334, 1123, 18, 588, 2686, 9334, 638, 16, 638, 16, 14411, 16, 14411, 1769, 202, 202, 19222, 2040, 2036, 12804, 21, 273, 2812, 697, 10970, 23, 7675, 588, 1908, 19222, 2040, 12, 1376, 1769, 202, 202, 2040, 1352, 88, 12804, 22, 273, 2036, 12804, 21, 18, 588, 55, 8588, 2040, 5621, 202, 202, 11231, 5962, 2932, 588, 55, 8588, 2040, 2036, 12804, 21, 3421, 2057, 3113, 1352, 88, 12804, 21, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 5510, 12, 4720, 2957, 12, 5328, 88, 12804, 22, 16, 14411, 10019, 202, 202, 11231, 8381, 12, 4720, 2957, 12, 5328, 88, 12804, 22, 16, 611, 15878, 10019, 202, 202, 759, 444, 2036, 2205, 813, 300, 10004, 3636, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 3043, 12570, 1435, 288, 202, 202, 3420, 966, 1123, 273, 2812, 697, 10970, 23, 7675, 588, 3420, 966, 5621, 202, 202, 2040, 1352, 88, 12804, 21, 273, 2812, 697, 10970, 23, 7675, 588, 55, 8588, 2040, 5621, 202, 202, 11231, 5510, 12, 4720, 2957, 12, 5328, 88, 12804, 21, 16, 19238, 3649, 10019, 202, 202, 11231, 5510, 12, 4720, 2957, 12, 5328, 88, 12804, 21, 16, 24353, 10019, 202, 202, 11231, 8381, 12, 4720, 2957, 12, 5328, 88, 12804, 21, 16, 14411, 10019, 202, 202, 11231, 8381, 12, 4720, 2957, 12, 5328, 88, 12804, 21, 16, 611, 15878, 10019, 202, 202, 759, 444, 2036, 1122, 813, 300, 1755, 3636, 16, 1755, 16363, 202, 202, 2 ]
return "Align Introduction";
return "Align Package";
public String getName() { return "Align Introduction"; }
55939 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55939/ae5daeb6a447edf40a1be7e63cdb678c4d2bbaa1/aAlignIntro.java/buggy/Source/mesquite/align/aAlignIntro/aAlignIntro.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1723, 1435, 288, 202, 202, 2463, 315, 10044, 3094, 303, 2544, 349, 14432, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1723, 1435, 288, 202, 202, 2463, 315, 10044, 3094, 303, 2544, 349, 14432, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return QName.fromJCRName(s, XWikiNamespaceResolver.getInstance());
return NameFormat.parse(s, XWikiNamespaceResolver.getInstance());
static QName fromJCRName(String s) { try { return QName.fromJCRName(s, XWikiNamespaceResolver.getInstance()); } catch (Throwable e) { throw new TranslateException("unknown name:"+s, e); } }
54519 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54519/7062e0263efe566c07676c37ba0c25f530967372/HibernateQuery.java/clean/src/main/java/com/xpn/xwiki/plugin/query/HibernateQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 16723, 628, 46, 5093, 461, 12, 780, 272, 13, 288, 202, 202, 698, 288, 1082, 202, 2463, 16723, 18, 2080, 46, 5093, 461, 12, 87, 16, 1139, 25438, 3402, 4301, 18, 588, 1442, 10663, 202, 202, 97, 1044, 261, 15155, 425, 13, 288, 1082, 202, 12849, 394, 16820, 503, 2932, 8172, 508, 2773, 15, 87, 16, 425, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16723, 628, 46, 5093, 461, 12, 780, 272, 13, 288, 202, 202, 698, 288, 1082, 202, 2463, 16723, 18, 2080, 46, 5093, 461, 12, 87, 16, 1139, 25438, 3402, 4301, 18, 588, 1442, 10663, 202, 202, 97, 1044, 261, 15155, 425, 13, 288, 1082, 202, 12849, 394, 16820, 503, 2932, 8172, 508, 2773, 15, 87, 16, 425, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public synchronized void addValueChangingListener(IValueChangingListener listener) { if (valueChangingListeners == null) { boolean hadListeners = hasListeners(); valueChangingListeners = new ArrayList(); valueChangingListeners.add(listener); if (!hadListeners) { firstListenerAdded(); } } else { valueChangingListeners.add(listener); }
public synchronized void addValueChangingListener( IValueChangingListener listener) { addListener(ValueChangingEvent.TYPE, listener);
public synchronized void addValueChangingListener(IValueChangingListener listener) { if (valueChangingListeners == null) { boolean hadListeners = hasListeners(); valueChangingListeners = new ArrayList(); valueChangingListeners.add(listener); if (!hadListeners) { firstListenerAdded(); } } else { valueChangingListeners.add(listener); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/6aecdb31231a8602dbf72944625703c440949c78/AbstractVetoableValue.java/clean/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/observable/value/AbstractVetoableValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 17663, 782, 18183, 2223, 12, 45, 620, 782, 18183, 2223, 2991, 13, 288, 202, 202, 430, 261, 1132, 782, 18183, 5583, 422, 446, 13, 288, 1082, 202, 6494, 9323, 5583, 273, 711, 5583, 5621, 1082, 202, 1132, 782, 18183, 5583, 273, 394, 2407, 5621, 1082, 202, 1132, 782, 18183, 5583, 18, 1289, 12, 12757, 1769, 1082, 202, 430, 16051, 76, 361, 5583, 13, 288, 9506, 202, 3645, 2223, 8602, 5621, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 1132, 782, 18183, 5583, 18, 1289, 12, 12757, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 17663, 782, 18183, 2223, 12, 45, 620, 782, 18183, 2223, 2991, 13, 288, 202, 202, 430, 261, 1132, 782, 18183, 5583, 422, 446, 13, 288, 1082, 202, 6494, 9323, 5583, 273, 711, 5583, 5621, 1082, 202, 1132, 782, 18183, 5583, 273, 394, 2407, 5621, 1082, 202, 1132, 782, 18183, 5583, 18, 1289, 12, 12757, 1769, 1082, 202, 430, 16051, 76, 361, 5583, 13, 288, 9506, 202, 3645, 2223, 8602, 5621, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 1132, 782, 18183, 5583, 18, 1289, 12, 12757, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new CertificateException("There are no CertPath encodings");
throw new CertificateException(Messages.getString("security.74"));
public final CertPath generateCertPath(InputStream inStream) throws CertificateException { Iterator it = getCertPathEncodings(); if (!it.hasNext()) { throw new CertificateException("There are no CertPath encodings"); } return spiImpl.engineGenerateCertPath(inStream, (String) it.next()); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fdc88348ff6da63262b6309c2810876f42c6d8/CertificateFactory.java/buggy/modules/security/src/main/java/common/java/security/cert/CertificateFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 11921, 743, 2103, 5461, 743, 12, 4348, 28987, 13, 5411, 1216, 29551, 288, 3639, 4498, 518, 273, 1927, 1051, 743, 25100, 899, 5621, 3639, 309, 16051, 305, 18, 5332, 2134, 10756, 288, 5411, 604, 394, 29551, 12, 5058, 18, 588, 780, 2932, 7462, 18, 5608, 7923, 1769, 3639, 289, 3639, 327, 14673, 2828, 18, 8944, 4625, 5461, 743, 12, 267, 1228, 16, 261, 780, 13, 518, 18, 4285, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 11921, 743, 2103, 5461, 743, 12, 4348, 28987, 13, 5411, 1216, 29551, 288, 3639, 4498, 518, 273, 1927, 1051, 743, 25100, 899, 5621, 3639, 309, 16051, 305, 18, 5332, 2134, 10756, 288, 5411, 604, 394, 29551, 12, 5058, 18, 588, 780, 2932, 7462, 18, 5608, 7923, 1769, 3639, 289, 3639, 327, 14673, 2828, 18, 8944, 4625, 5461, 743, 12, 267, 1228, 16, 261, 780, 13, 518, 18, 4285, 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 ]
IPP.setVisible(true);
IPP.dispose();
public void actionPerformed(ActionEvent e) { IPP.setVisible(true); }
10528 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10528/e5990c3c77c2312630d0813d26c67272f988426a/IProjectPreferences.java/clean/XAGDOP/xagdop/Interface/IProjectPreferences.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 565, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 1082, 565, 288, 1082, 377, 202, 565, 202, 2579, 52, 18, 542, 6207, 12, 3767, 1769, 1082, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 565, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 1082, 565, 288, 1082, 377, 202, 565, 202, 2579, 52, 18, 542, 6207, 12, 3767, 1769, 1082, 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 ]
assertNotNull("Closed", (String) SessionUtils.getAttribute( SavingsConstants.NEW_STATUS_NAME, request.getSession()));
assertNotNull(SessionUtils.getAttribute( SavingsConstants.NEW_STATUS_NAME, request));
public void testUpdateStatusForClientWhenClientIsAssignedPosition() throws CustomerException { createInitialObjects(); CustomerPositionEntity customerPositionEntity = new CustomerPositionEntity( new PositionEntity(Short.valueOf("1")), client, client .getParentCustomer()); group.addCustomerPosition(customerPositionEntity); group.update(); HibernateUtil.commitTransaction(); setRequestPathInfo("/editCustomerStatusAction.do"); addRequestParameter("method", "load"); addRequestParameter("customerId", client.getCustomerId().toString()); getRequest().getSession().setAttribute("security_param", "Client"); actionPerform(); verifyForward("load_success"); assertNotNull(SessionUtils.getAttribute(SavingsConstants.STATUS_LIST, request.getSession())); assertEquals("Size of the status list should be 2", 2, ((List<AccountStateEntity>) SessionUtils.getAttribute( SavingsConstants.STATUS_LIST, request.getSession())) .size()); setRequestPathInfo("/editCustomerStatusAction.do"); addRequestParameter("method", "preview"); addRequestParameter("notes", "Test"); addRequestParameter("levelId", client.getCustomerLevel().getId() .toString()); addRequestParameter("newStatusId", "6"); addRequestParameter("flagId", "7"); getRequest().getSession().setAttribute("security_param", "Client"); actionPerform(); verifyForward("preview_success"); verifyNoActionErrors(); verifyNoActionMessages(); assertNotNull("Closed", (String) SessionUtils.getAttribute( SavingsConstants.NEW_STATUS_NAME, request.getSession())); assertNotNull("Since new Status is Closed,so flag should be Duplicate.", SessionUtils.getAttribute( SavingsConstants.FLAG_NAME, request.getSession())); for (CustomerPositionEntity customerPosition : group .getCustomerPositions()) { assertNotNull(customerPosition.getCustomer()); break; } setRequestPathInfo("/editCustomerStatusAction.do"); addRequestParameter("method", "update"); getRequest().getSession().setAttribute("security_param", "Client"); actionPerform(); verifyNoActionErrors(); verifyForward(ActionForwards.client_detail_page.toString()); client = (CustomerBO) TestObjectFactory.getObject(CustomerBO.class, client.getCustomerId()); assertFalse(client.isActive()); for (CustomerFlagDetailEntity customerFlagDetailEntity : client .getCustomerFlags()) { assertFalse(customerFlagDetailEntity.getStatusFlag() .isBlackListed()); break; } for (CustomerPositionEntity customerPosition : group .getCustomerPositions()) { assertNull(customerPosition.getCustomer()); break; } }
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/7695bb2c99774a79c149907e421311a9580f475b/TestEditCustomerStatusAction.java/clean/mifos/test/org/mifos/application/customer/struts/action/TestEditCustomerStatusAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1891, 1482, 1290, 1227, 9434, 1227, 2520, 20363, 2555, 1435, 1082, 202, 15069, 13702, 503, 288, 202, 202, 2640, 4435, 4710, 5621, 202, 202, 8883, 2555, 1943, 6666, 2555, 1943, 273, 394, 13702, 2555, 1943, 12, 9506, 202, 2704, 11010, 1943, 12, 4897, 18, 1132, 951, 2932, 21, 7923, 3631, 1004, 16, 1004, 25083, 202, 18, 588, 3054, 8883, 10663, 202, 202, 1655, 18, 1289, 8883, 2555, 12, 10061, 2555, 1943, 1769, 202, 202, 1655, 18, 2725, 5621, 202, 202, 44, 24360, 1304, 18, 7371, 3342, 5621, 202, 202, 542, 691, 743, 966, 2932, 19, 4619, 8883, 1482, 1803, 18, 2896, 8863, 202, 202, 1289, 691, 1662, 2932, 2039, 3113, 315, 945, 8863, 202, 202, 1289, 691, 1662, 2932, 10061, 548, 3113, 1004, 18, 588, 8883, 548, 7675, 10492, 10663, 202, 202, 588, 691, 7675, 588, 2157, 7675, 542, 1499, 2932, 7462, 67, 891, 3113, 315, 1227, 8863, 202, 202, 1128, 4990, 5621, 202, 202, 8705, 8514, 2932, 945, 67, 4768, 8863, 202, 202, 11231, 5962, 12, 2157, 1989, 18, 588, 1499, 12, 55, 27497, 2918, 18, 8608, 67, 7085, 16, 9506, 202, 2293, 18, 588, 2157, 1435, 10019, 202, 202, 11231, 8867, 2932, 1225, 434, 326, 1267, 666, 1410, 506, 576, 3113, 576, 16, 9506, 202, 12443, 682, 32, 3032, 1119, 1943, 23429, 3877, 1989, 18, 588, 1499, 12, 25083, 202, 55, 27497, 2918, 18, 8608, 67, 7085, 16, 590, 18, 588, 2157, 1435, 3719, 25083, 202, 18, 1467, 10663, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1891, 1482, 1290, 1227, 9434, 1227, 2520, 20363, 2555, 1435, 1082, 202, 15069, 13702, 503, 288, 202, 202, 2640, 4435, 4710, 5621, 202, 202, 8883, 2555, 1943, 6666, 2555, 1943, 273, 394, 13702, 2555, 1943, 12, 9506, 202, 2704, 11010, 1943, 12, 4897, 18, 1132, 951, 2932, 21, 7923, 3631, 1004, 16, 1004, 25083, 202, 18, 588, 3054, 8883, 10663, 202, 202, 1655, 18, 1289, 8883, 2555, 12, 10061, 2555, 1943, 1769, 202, 202, 1655, 18, 2725, 5621, 202, 202, 44, 24360, 1304, 18, 7371, 3342, 5621, 202, 202, 542, 691, 743, 966, 2932, 19, 4619, 8883, 1482, 1803, 18, 2896, 8863, 202, 202, 1289, 691, 1662, 2932, 2039, 3113, 315, 945, 8863, 202, 2 ]
}
}
public void fill3DRect(int x, int y, int width, int height, boolean raised){ fillRect(x, y, width, height); draw3DRect(x, y, width-1, height-1, raised);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Graphics.java/buggy/core/src/classpath/java/java/awt/Graphics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3636, 23, 40, 6120, 12, 474, 619, 16, 509, 677, 16, 509, 1835, 16, 509, 2072, 16, 1250, 11531, 15329, 202, 202, 5935, 6120, 12, 92, 16, 677, 16, 1835, 16, 2072, 1769, 225, 3724, 23, 40, 6120, 12, 92, 16, 677, 16, 1835, 17, 21, 16, 2072, 17, 21, 16, 11531, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3636, 23, 40, 6120, 12, 474, 619, 16, 509, 677, 16, 509, 1835, 16, 509, 2072, 16, 1250, 11531, 15329, 202, 202, 5935, 6120, 12, 92, 16, 677, 16, 1835, 16, 2072, 1769, 225, 3724, 23, 40, 6120, 12, 92, 16, 677, 16, 1835, 17, 21, 16, 2072, 17, 21, 16, 11531, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
char c = support.read();
char c = support.read();
private boolean parseExpressionString(IListNode list, char closeQuote, StringToken token) throws EOFException { char c = support.read(); switch (c) { case '$' : case '@' : case '{' : break; default : token.append('#'); support.unread(); return false; } if (token.getLength() > 0) { list.add(new StrNode(token.getPosition(), token.getToken())); } token.newToken(support.getPosition()); int brace = -1; int nest;fetch_id : for (;;) { switch (c) { case '$' : token.append('$'); c = support.read(); if (c == '\0') { throw new EOFException(); } switch (c) { case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : for (; Character.isDigit(c); c = support.read()) { token.append(c); } pushback(c); list.add(new NthRefNode(token.getPosition(), Integer.parseInt(token.getToken().substring(1)))); token.newToken(support.getPosition()); return true; case '&' : case '+' : list.add(new BackRefNode(token.getPosition(), c)); token.newToken(support.getPosition()); return true; case '_' : case '~' : case '*' : case '$' : case '?' : case '!' : case '@' : case ',' : case '.' : case '=' : case ':' : case '<' : case '>' : case '\\' : //refetch: token.append(c); list.add(new GlobalVarNode(token.getPosition(), token.getToken())); token.newToken(support.getPosition()); return true; default : if (c == closeQuote) { list.add(new StrNode(token.getPosition(), "#$")); //$NON-NLS-1$ support.unread(); token.newToken(support.getPosition()); return true; } switch (c) { case '\"' : case '/' : token.append(c); list.add(new GlobalVarNode(token.getPosition(), token.getToken())); token.newToken(support.getPosition()); return true; case '\'' : case '`' : list.add(new BackRefNode(token.getPosition(), c)); token.newToken(support.getPosition()); return true; } if (!isIdentifierChar(c)) { errorHandler.handleError(IErrors.SYNTAX_ERROR, token.getPosition(), Messages.getString("bad_global_variable")); //$NON-NLS-1$ token.newToken(support.getPosition()); return true; } } for (; isIdentifierChar(c); c = support.read()) { token.append(c); } support.unread(); list.add(new GlobalVarNode(token.getPosition(), token.getToken())); token.newToken(support.getPosition()); return true; case '@' : token.append(c); c = support.read(); if (c == '@') { token.append(c); c = support.read(); } for (; isIdentifierChar(c); c = support.read()) { token.append(c); } support.unread(); if (token.getToken().startsWith("@@")) { //$NON-NLS-1$ list.add(new ClassVarNode(token.getPosition(), token.getToken())); } else { list.add(new InstVarNode(token.getPosition(), token.getToken())); } token.newToken(support.getPosition()); return true; case '{' : if (c == '{') { brace = '}'; } nest = 0; do {loop_again : while (true) { c = support.read(); switch (c) { case '\0' : if (nest > 0) { errorHandler.handleError(IErrors.SYNTAX_ERROR, token.getPosition(), Messages.getString("bad_substitution")); //$NON-NLS-1$ token.newToken(support.getPosition()); return true; } throw new EOFException(); case '}' : if (c == brace) { if (nest == 0) { break; } nest--; } token.append(c); continue loop_again; case '\\' : c = support.read(); if (c == '\0') { throw new EOFException(); } else if (c == closeQuote) { token.append(c); } else { token.append('\\'); token.append(c); } continue loop_again; case '{' : if (brace != -1) { nest++; } case '\"' : case '/' : case '`' : if (c == closeQuote) { pushback(c); list.add(new StrNode(token.getPosition(), "#")); //$NON-NLS-1$ errorHandler.handleError(IErrors.WARNING, support.getPosition(), Messages.getString("bad_substitution")); //$NON-NLS-1$ list.add(new StrNode(token.getPosition(), token.getToken())); token.newToken(support.getPosition()); return true; } default : token.append(c); break; } break loop_again; } } while (c != brace); } break; } // FIX list.add(new EvStrNode(token.getPosition(), token.getToken())); token.newToken(support.getPosition()); return true; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 1250, 30838, 780, 12, 45, 682, 907, 666, 16, 1149, 1746, 10257, 16, 514, 1345, 1147, 13, 1216, 30051, 288, 1082, 202, 3001, 276, 273, 2865, 18, 896, 5621, 1082, 202, 9610, 261, 71, 13, 288, 9506, 202, 3593, 11874, 294, 9506, 202, 3593, 9175, 294, 9506, 202, 3593, 9790, 294, 6862, 202, 8820, 31, 9506, 202, 1886, 294, 6862, 202, 2316, 18, 6923, 2668, 7, 8284, 6862, 202, 13261, 18, 318, 896, 5621, 6862, 202, 2463, 629, 31, 1082, 202, 97, 1082, 202, 430, 261, 2316, 18, 588, 1782, 1435, 405, 374, 13, 288, 9506, 202, 1098, 18, 1289, 12, 2704, 3978, 907, 12, 2316, 18, 588, 2555, 9334, 1147, 18, 588, 1345, 1435, 10019, 1082, 202, 97, 1082, 202, 2316, 18, 2704, 1345, 12, 13261, 18, 588, 2555, 10663, 1082, 202, 474, 22500, 273, 300, 21, 31, 1082, 202, 474, 15095, 31, 5754, 67, 350, 294, 364, 261, 25708, 13, 288, 9506, 282, 1620, 261, 71, 13, 288, 6862, 282, 648, 11874, 294, 25083, 282, 1147, 18, 6923, 2668, 8, 8284, 25083, 282, 276, 273, 2865, 18, 896, 5621, 25083, 282, 309, 261, 71, 422, 2337, 20, 6134, 288, 6862, 1082, 282, 604, 394, 30051, 5621, 25083, 282, 289, 25083, 282, 1620, 261, 71, 13, 288, 6862, 1082, 282, 648, 296, 21, 11, 294, 6862, 1082, 282, 648, 296, 22, 11, 294, 6862, 1082, 282, 648, 296, 23, 11, 294, 6862, 1082, 282, 648, 296, 24, 11, 294, 6862, 1082, 282, 648, 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, 1152, 1250, 30838, 780, 12, 45, 682, 907, 666, 16, 1149, 1746, 10257, 16, 514, 1345, 1147, 13, 1216, 30051, 288, 1082, 202, 3001, 276, 273, 2865, 18, 896, 5621, 1082, 202, 9610, 261, 71, 13, 288, 9506, 202, 3593, 11874, 294, 9506, 202, 3593, 9175, 294, 9506, 202, 3593, 9790, 294, 6862, 202, 8820, 31, 9506, 202, 1886, 294, 6862, 202, 2316, 18, 6923, 2668, 7, 8284, 6862, 202, 13261, 18, 318, 896, 5621, 6862, 202, 2463, 629, 31, 1082, 202, 97, 1082, 202, 430, 261, 2316, 18, 588, 1782, 1435, 405, 374, 13, 288, 9506, 202, 1098, 18, 1289, 12, 2704, 3978, 907, 12, 2316, 18, 588, 2555, 9334, 1147, 18, 588, 1345, 1435, 10019, 2 ]
return scope;
return activation;
Scriptable getVariableObject() { return scope; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/fe448dc961d62e375854f73e6d52bad9cef2beea/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 22780, 13522, 921, 1435, 288, 3639, 327, 10027, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 22780, 13522, 921, 1435, 288, 3639, 327, 10027, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bugReporter.reportBug(new BugInstance("RC_REF_COMPARISON", priority)
bugReporter.reportBug(new BugInstance("ES_COMPARING_STRINGS_WITH_EQ", priority)
public void visitClassContext(ClassContext classContext) { try { final JavaClass jclass = classContext.getJavaClass(); Method[] methodList = jclass.getMethods(); for (int i = 0; i < methodList.length; ++i) { Method method = methodList[i]; final MethodGen methodGen = classContext.getMethodGen(method); if (methodGen == null) continue; // Prescreening - must have IF_ACMPEQ or IF_ACMPNE BitSet bytecodeSet = classContext.getBytecodeSet(method); if (!(bytecodeSet.get(Constants.IF_ACMPEQ) || bytecodeSet.get(Constants.IF_ACMPNE))) continue; if (DEBUG) System.out.println("FindRefComparison: analyzing " + SignatureConverter.convertMethodSignature(methodGen)); final CFG cfg = classContext.getCFG(method); RefComparisonTypeMerger typeMerger = new RefComparisonTypeMerger(bugReporter); TypeFrameModelingVisitor visitor = new RefComparisonTypeFrameModelingVisitor(methodGen.getConstantPool(), bugReporter); TypeAnalysis typeAnalysis = new TypeAnalysis(methodGen, typeMerger, visitor); final TypeDataflow typeDataflow = new TypeDataflow(cfg, typeAnalysis); typeDataflow.execute(); new LocationScanner(cfg).scan(new LocationScanner.Callback() { public void visitLocation(Location location) { try { InstructionHandle handle = location.getHandle(); Instruction ins = handle.getInstruction(); short opcode = ins.getOpcode(); if (opcode == Constants.IF_ACMPEQ || opcode == Constants.IF_ACMPNE) { TypeFrame frame = typeDataflow.getFactAtLocation(location); if (frame.getStackDepth() < 2) throw new AnalysisException("Stack underflow at " + handle); int numSlots = frame.getNumSlots(); Type op1 = frame.getValue(numSlots - 1); Type op2 = frame.getValue(numSlots - 2); if (op1 instanceof ReferenceType && op2 instanceof ReferenceType) { ReferenceType ot1 = (ReferenceType) op1; ReferenceType ot2 = (ReferenceType) op2; if (ot1.getSignature().equals(STRING_SIGNATURE) && ot2.getSignature().equals(STRING_SIGNATURE)) { //System.out.println("String/String comparison!"); // Compute the priority: // - two static strings => do not report // - dynamic string and anything => high // - static string and unknown => medium // - all other cases => low int priority = LOW_PRIORITY; byte type1 = ot1.getType(); byte type2 = ot2.getType(); if (type1 == T_STATIC_STRING && type2 == T_STATIC_STRING) priority = LOW_PRIORITY + 1; else if (type1 == T_DYNAMIC_STRING || type2 == T_DYNAMIC_STRING) priority = HIGH_PRIORITY; else if (type1 == T_STATIC_STRING || type2 == T_STATIC_STRING) priority = NORMAL_PRIORITY; if (priority <= LOW_PRIORITY) { String sourceFile = jclass.getSourceFileName(); bugReporter.reportBug(new BugInstance("RC_REF_COMPARISON", priority) .addClassAndMethod(methodGen, sourceFile) .addSourceLine(methodGen, sourceFile, handle) .addClass("java.lang.String").describe("CLASS_REFTYPE") ); } } } } } catch (DataflowAnalysisException e) { throw new AnalysisException("Caught exception: " + e.toString(), e); } } }); } } catch (DataflowAnalysisException e) { throw new AnalysisException("Exception in FindRefComparison: " + e.getMessage(), e); } catch (CFGBuilderException e) { throw new AnalysisException("Exception in FindRefComparison: " + e.getMessage(), e); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/e10df50f0ff486751194bfe6e28a08a138cf7cb2/FindRefComparison.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefComparison.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 797, 1042, 12, 797, 1042, 667, 1042, 13, 288, 202, 202, 698, 288, 1082, 202, 6385, 29491, 525, 1106, 273, 667, 1042, 18, 588, 5852, 797, 5621, 1082, 202, 1305, 8526, 707, 682, 273, 525, 1106, 18, 588, 4712, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 707, 682, 18, 2469, 31, 965, 77, 13, 288, 9506, 202, 1305, 707, 273, 707, 682, 63, 77, 15533, 9506, 202, 6385, 2985, 7642, 707, 7642, 273, 667, 1042, 18, 588, 1305, 7642, 12, 2039, 1769, 9506, 202, 430, 261, 2039, 7642, 422, 446, 13, 6862, 202, 17143, 31, 9506, 202, 759, 18346, 8780, 310, 300, 1297, 1240, 11083, 67, 2226, 49, 1423, 53, 578, 11083, 67, 2226, 4566, 5407, 9506, 202, 5775, 694, 22801, 694, 273, 667, 1042, 18, 588, 858, 16651, 694, 12, 2039, 1769, 9506, 202, 430, 16051, 12, 1637, 16651, 694, 18, 588, 12, 2918, 18, 5501, 67, 2226, 49, 1423, 53, 13, 747, 22801, 694, 18, 588, 12, 2918, 18, 5501, 67, 2226, 4566, 5407, 20349, 6862, 202, 17143, 31, 9506, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 3125, 1957, 16059, 30, 392, 4647, 310, 315, 397, 6862, 202, 5374, 5072, 18, 6283, 1305, 5374, 12, 2039, 7642, 10019, 9506, 202, 6385, 7577, 2776, 273, 667, 1042, 18, 588, 19727, 12, 2039, 1769, 9506, 202, 1957, 16059, 559, 8478, 693, 618, 8478, 693, 273, 394, 3941, 16059, 559, 8478, 693, 12, 925, 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, 3757, 797, 1042, 12, 797, 1042, 667, 1042, 13, 288, 202, 202, 698, 288, 1082, 202, 6385, 29491, 525, 1106, 273, 667, 1042, 18, 588, 5852, 797, 5621, 1082, 202, 1305, 8526, 707, 682, 273, 525, 1106, 18, 588, 4712, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 707, 682, 18, 2469, 31, 965, 77, 13, 288, 9506, 202, 1305, 707, 273, 707, 682, 63, 77, 15533, 9506, 202, 6385, 2985, 7642, 707, 7642, 273, 667, 1042, 18, 588, 1305, 7642, 12, 2039, 1769, 9506, 202, 430, 261, 2039, 7642, 422, 446, 13, 6862, 202, 17143, 31, 9506, 202, 759, 18346, 8780, 310, 300, 1297, 1240, 11083, 67, 2226, 49, 1423, 2 ]
if (fModel == null)
if (!validateBundleSymbolicName() || fModel == null)
public void validateContent(IProgressMonitor monitor) { super.validateContent(monitor); if (fHeaders == null || getErrorCount() > 0) return; fModel = PDECore.getDefault().getModelManager().findModel(fProject); // be paranoid. something could have gone wrong reading the file etc. if (fModel == null) return; setOsgiR4(); if (!validateBundleSymbolicName()) return; validateFragmentHost(); validateRequiredHeader(Constants.BUNDLE_NAME); validateBundleVersion(); validateRequiredExecutionEnvironment(); validateEclipsePlatformFilter(); validateBundleActivator(); validateBundleClasspath(); validateRequireBundle(monitor); validateImportPackage(monitor); validateExportPackage(monitor); validateAutoStart(); validateLazyStart(); validateExtensibleAPI(); validateTranslatableHeaders(); }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/501a440f3edbf19b544b37d6dd25cdfc4cd88077/BundleErrorReporter.java/clean/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/BundleErrorReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1954, 1350, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 9565, 18, 5662, 1350, 12, 10259, 1769, 202, 202, 430, 261, 74, 3121, 422, 446, 747, 7926, 1380, 1435, 405, 374, 13, 1082, 202, 2463, 31, 202, 202, 74, 1488, 273, 453, 1639, 4670, 18, 588, 1868, 7675, 588, 1488, 1318, 7675, 4720, 1488, 12, 74, 4109, 1769, 202, 202, 759, 506, 779, 304, 839, 18, 225, 5943, 3377, 1240, 22296, 7194, 6453, 326, 585, 5527, 18, 202, 202, 430, 261, 74, 1488, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 542, 51, 17537, 54, 24, 5621, 202, 202, 430, 16051, 5662, 3405, 10876, 12164, 461, 10756, 1082, 202, 2463, 31, 202, 202, 5662, 7456, 2594, 5621, 1082, 202, 5662, 3705, 1864, 12, 2918, 18, 30245, 67, 1985, 1769, 202, 202, 5662, 3405, 1444, 5621, 202, 202, 5662, 3705, 3210, 5494, 5621, 9506, 202, 5662, 23057, 10472, 8201, 1586, 5621, 202, 202, 5662, 3405, 12241, 639, 5621, 202, 202, 5662, 3405, 17461, 5621, 202, 202, 5662, 8115, 3405, 12, 10259, 1769, 202, 202, 5662, 5010, 2261, 12, 10259, 1769, 202, 202, 5662, 6144, 2261, 12, 10259, 1769, 202, 202, 5662, 4965, 1685, 5621, 202, 202, 5662, 14443, 1685, 5621, 202, 202, 5662, 2482, 773, 1523, 2557, 5621, 9506, 202, 5662, 24299, 3121, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1954, 1350, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 9565, 18, 5662, 1350, 12, 10259, 1769, 202, 202, 430, 261, 74, 3121, 422, 446, 747, 7926, 1380, 1435, 405, 374, 13, 1082, 202, 2463, 31, 202, 202, 74, 1488, 273, 453, 1639, 4670, 18, 588, 1868, 7675, 588, 1488, 1318, 7675, 4720, 1488, 12, 74, 4109, 1769, 202, 202, 759, 506, 779, 304, 839, 18, 225, 5943, 3377, 1240, 22296, 7194, 6453, 326, 585, 5527, 18, 202, 202, 430, 261, 74, 1488, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 542, 51, 17537, 54, 24, 5621, 202, 202, 430, 16051, 5662, 3405, 10876, 12164, 461, 10756, 1082, 202, 2463, 31, 202, 202, 2 ]
return parent.lookupChild(this, name); }
return parent.lookupChild(this, name); }
public OlapElement getElementChild(OlapElement parent, String name) { return parent.lookupChild(this, name); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/RolapSchemaReader.java/clean/src/main/mondrian/rolap/RolapSchemaReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 531, 3762, 1046, 7426, 1763, 12, 51, 3762, 1046, 982, 16, 514, 508, 13, 288, 202, 202, 2463, 982, 18, 8664, 1763, 12, 2211, 16, 508, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 531, 3762, 1046, 7426, 1763, 12, 51, 3762, 1046, 982, 16, 514, 508, 13, 288, 202, 202, 2463, 982, 18, 8664, 1763, 12, 2211, 16, 508, 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 ]
protected _3c90xCore newCore(Device device, _3c90xFlags flags) throws DriverException, ResourceNotFreeException { return new _3c90xCore(this, device, (PCIDevice) device, flags); }
protected _3c90xCore newCore(final Device device, final _3c90xFlags flags) throws DriverException, ResourceNotFreeException { try { return (_3c90xCore) AccessControllerUtils .doPrivileged(new PrivilegedExceptionAction() { public Object run() throws DriverException, ResourceNotFreeException { return new _3c90xCore(_3c90xDriver.this, device, (PCIDevice) device, flags); } }); } catch (DriverException ex) { throw ex; } catch (ResourceNotFreeException ex) { throw ex; } catch (Exception ex) { throw new DriverException(ex); } }
protected _3c90xCore newCore(Device device, _3c90xFlags flags) throws DriverException, ResourceNotFreeException { return new _3c90xCore(this, device, (PCIDevice) device, flags); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e204bcd94e42168df8116332c5e2f0db99bd1c55/_3c90xDriver.java/clean/net/src/driver/org/jnode/driver/net/_3c90x/_3c90xDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 389, 23, 71, 9349, 92, 4670, 394, 4670, 12, 3654, 2346, 16, 389, 23, 71, 9349, 92, 5094, 2943, 13, 1216, 9396, 503, 16, 2591, 1248, 9194, 503, 288, 202, 202, 2463, 394, 389, 23, 71, 9349, 92, 4670, 12, 2211, 16, 2346, 16, 261, 3513, 734, 73, 633, 13, 2346, 16, 2943, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 389, 23, 71, 9349, 92, 4670, 394, 4670, 12, 3654, 2346, 16, 389, 23, 71, 9349, 92, 5094, 2943, 13, 1216, 9396, 503, 16, 2591, 1248, 9194, 503, 288, 202, 202, 2463, 394, 389, 23, 71, 9349, 92, 4670, 12, 2211, 16, 2346, 16, 261, 3513, 734, 73, 633, 13, 2346, 16, 2943, 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 ]
assertTrue(t.equals(TS2WOTZ));
assertEquals(t.getTime(), tmpDate3WOTZ.getTime());
private void timestampTestWOTZ() throws SQLException { Statement stmt = con.createStatement(); ResultSet rs; java.sql.Timestamp t; rs = stmt.executeQuery("select ts from " + TSWOTZ_TABLE + " order by ts"); assertNotNull(rs); assertTrue(rs.next()); t = rs.getTimestamp(1); assertNotNull(t); assertTrue(t.equals(TS1WOTZ)); assertTrue(rs.next()); t = rs.getTimestamp(1); assertNotNull(t); assertTrue(t.equals(TS2WOTZ)); assertTrue(rs.next()); t = rs.getTimestamp(1); assertNotNull(t); assertTrue(t.equals(TS3WOTZ)); assertTrue(rs.next()); t = rs.getTimestamp(1); assertNotNull(t); assertTrue(t.equals(TS4WOTZ)); assertTrue(! rs.next()); // end of table. Fail if more entries exist. rs.close(); stmt.close(); }
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/66d00417c97a589c1d5a037916f2f518f9540aba/TimestampTest.java/buggy/src/interfaces/jdbc/org/postgresql/test/jdbc2/TimestampTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2858, 4709, 59, 1974, 62, 1435, 1216, 6483, 202, 95, 202, 202, 3406, 3480, 273, 356, 18, 2640, 3406, 5621, 202, 202, 13198, 3597, 31, 202, 202, 6290, 18, 4669, 18, 4921, 268, 31, 202, 202, 5453, 273, 3480, 18, 8837, 1138, 2932, 4025, 3742, 628, 315, 397, 15508, 59, 1974, 62, 67, 7775, 397, 315, 1353, 635, 3742, 8863, 202, 202, 11231, 5962, 12, 5453, 1769, 202, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 88, 273, 3597, 18, 588, 4921, 12, 21, 1769, 202, 202, 11231, 5962, 12, 88, 1769, 202, 202, 11231, 5510, 12, 88, 18, 14963, 12, 8047, 21, 59, 1974, 62, 10019, 202, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 88, 273, 3597, 18, 588, 4921, 12, 21, 1769, 202, 202, 11231, 5962, 12, 88, 1769, 202, 202, 11231, 5510, 12, 88, 18, 14963, 12, 8047, 22, 59, 1974, 62, 10019, 202, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 88, 273, 3597, 18, 588, 4921, 12, 21, 1769, 202, 202, 11231, 5962, 12, 88, 1769, 202, 202, 11231, 5510, 12, 88, 18, 14963, 12, 8047, 23, 59, 1974, 62, 10019, 202, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 88, 273, 3597, 18, 588, 4921, 12, 21, 1769, 202, 202, 11231, 5962, 12, 88, 1769, 202, 202, 11231, 5510, 12, 88, 18, 14963, 12, 8047, 24, 59, 1974, 62, 10019, 202, 202, 11231, 5510, 12, 5, 3597, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2858, 4709, 59, 1974, 62, 1435, 1216, 6483, 202, 95, 202, 202, 3406, 3480, 273, 356, 18, 2640, 3406, 5621, 202, 202, 13198, 3597, 31, 202, 202, 6290, 18, 4669, 18, 4921, 268, 31, 202, 202, 5453, 273, 3480, 18, 8837, 1138, 2932, 4025, 3742, 628, 315, 397, 15508, 59, 1974, 62, 67, 7775, 397, 315, 1353, 635, 3742, 8863, 202, 202, 11231, 5962, 12, 5453, 1769, 202, 202, 11231, 5510, 12, 5453, 18, 4285, 10663, 202, 202, 88, 273, 3597, 18, 588, 4921, 12, 21, 1769, 202, 202, 11231, 5962, 12, 88, 1769, 202, 202, 11231, 5510, 12, 88, 18, 14963, 12, 8047, 21, 59, 1974, 62, 10019, 202, 202, 11231, 5510, 12, 5453, 2 ]
match(input,34,FOLLOW_34_in_word3521);
match(input,34,FOLLOW_34_in_word3526);
public String word() throws RecognitionException { String word; Token id=null; Token str=null; word = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1212:17: (id= ID | 'import' | 'use' | 'rule' | 'query' | 'salience' | 'no-loop' | 'when' | 'then' | 'end' | str= STRING ) int alt74=11; switch ( input.LA(1) ) { case ID: alt74=1; break; case 17: alt74=2; break; case 56: alt74=3; break; case 31: alt74=4; break; case 28: alt74=5; break; case 36: alt74=6; break; case 37: alt74=7; break; case 32: alt74=8; break; case 34: alt74=9; break; case 29: alt74=10; break; case STRING: alt74=11; break; default: NoViableAltException nvae = new NoViableAltException("1208:1: word returns [String word] : (id= ID | \'import\' | \'use\' | \'rule\' | \'query\' | \'salience\' | \'no-loop\' | \'when\' | \'then\' | \'end\' | str= STRING );", 74, 0, input); throw nvae; } switch (alt74) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1212:17: id= ID { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_word3440); word=id.getText(); } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1213:17: 'import' { match(input,17,FOLLOW_17_in_word3452); word="import"; } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1214:17: 'use' { match(input,56,FOLLOW_56_in_word3461); word="use"; } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1215:17: 'rule' { match(input,31,FOLLOW_31_in_word3473); word="rule"; } break; case 5 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1216:17: 'query' { match(input,28,FOLLOW_28_in_word3484); word="query"; } break; case 6 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1217:17: 'salience' { match(input,36,FOLLOW_36_in_word3494); word="salience"; } break; case 7 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1218:17: 'no-loop' { match(input,37,FOLLOW_37_in_word3502); word="no-loop"; } break; case 8 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1219:17: 'when' { match(input,32,FOLLOW_32_in_word3510); word="when"; } break; case 9 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1220:17: 'then' { match(input,34,FOLLOW_34_in_word3521); word="then"; } break; case 10 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1221:17: 'end' { match(input,29,FOLLOW_29_in_word3532); word="end"; } break; case 11 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:1222:17: str= STRING { str=(Token)input.LT(1); match(input,STRING,FOLLOW_STRING_in_word3546); word=getString(str); } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return word; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/12c8feffd968f958100f654d836fa3c2ee21ded8/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 540, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 2138, 2138, 30, 4033, 30, 261, 350, 33, 1599, 571, 296, 5666, 11, 571, 296, 1202, 11, 571, 296, 5345, 11, 571, 296, 2271, 11, 571, 296, 21982, 6254, 11, 571, 296, 2135, 17, 6498, 11, 571, 296, 13723, 11, 571, 296, 15991, 11, 571, 296, 409, 11, 571, 609, 33, 9469, 262, 5411, 509, 3770, 5608, 33, 2499, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 1599, 30, 7734, 3770, 5608, 33, 21, 31, 7734, 898, 31, 5411, 648, 8043, 30, 7734, 3770, 5608, 33, 22, 31, 7734, 898, 31, 5411, 648, 13850, 30, 7734, 3770, 5608, 33, 23, 31, 7734, 898, 31, 5411, 648, 8231, 30, 7734, 3770, 5608, 33, 24, 31, 7734, 898, 31, 5411, 648, 9131, 30, 7734, 3770, 5608, 33, 25, 31, 7734, 898, 31, 5411, 648, 6580, 30, 7734, 3770, 5608, 33, 26, 31, 7734, 898, 31, 5411, 648, 18091, 30, 7734, 3770, 5608, 33, 27, 31, 7734, 898, 31, 5411, 648, 3847, 30, 7734, 3770, 5608, 33, 28, 31, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2076, 1435, 1216, 9539, 288, 6647, 514, 2076, 31, 3639, 3155, 612, 33, 2011, 31, 3639, 3155, 609, 33, 2011, 31, 540, 202, 202, 1095, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 2138, 2138, 30, 4033, 30, 261, 350, 33, 1599, 571, 296, 5666, 11, 571, 296, 1202, 11, 571, 296, 5345, 11, 571, 296, 2271, 11, 571, 296, 21982, 6254, 11, 571, 296, 2135, 17, 6498, 11, 571, 296, 13723, 11, 571, 296, 15991, 11, 571, 2 ]
public IsNullValueFrameModelingVisitor(IsNullValueAnalysis analysis, ConstantPoolGen cpg, AssertionMethods assertionMethods) {
public IsNullValueFrameModelingVisitor(/*IsNullValueAnalysis analysis, */ConstantPoolGen cpg, AssertionMethods assertionMethods) {
public IsNullValueFrameModelingVisitor(IsNullValueAnalysis analysis, ConstantPoolGen cpg, AssertionMethods assertionMethods) { super(cpg); this.analysis = analysis; this.assertionMethods = assertionMethods; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/be4eec85b3b77cbf2044bb65bae6bc3ecc1cb926/IsNullValueFrameModelingVisitor.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/npe/IsNullValueFrameModelingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 30230, 620, 3219, 1488, 310, 7413, 12, 2520, 2041, 620, 9418, 6285, 16, 10551, 2864, 7642, 3283, 75, 16, 9067, 4712, 11240, 4712, 13, 288, 202, 202, 9565, 12, 4057, 75, 1769, 202, 202, 2211, 18, 12746, 273, 6285, 31, 202, 202, 2211, 18, 29104, 4712, 273, 11240, 4712, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 30230, 620, 3219, 1488, 310, 7413, 12, 2520, 2041, 620, 9418, 6285, 16, 10551, 2864, 7642, 3283, 75, 16, 9067, 4712, 11240, 4712, 13, 288, 202, 202, 9565, 12, 4057, 75, 1769, 202, 202, 2211, 18, 12746, 273, 6285, 31, 202, 202, 2211, 18, 29104, 4712, 273, 11240, 4712, 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 ]
{ return null; }
{ return null; }
public TreePath getEditingPath(JTree tree) { return null; // FIXME: not implemented }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4902, 743, 21221, 310, 743, 12, 46, 2471, 2151, 13, 225, 288, 565, 327, 446, 31, 225, 368, 9852, 30, 486, 8249, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 4902, 743, 21221, 310, 743, 12, 46, 2471, 2151, 13, 225, 288, 565, 327, 446, 31, 225, 368, 9852, 30, 486, 8249, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.err.println("Unknown PDU: 0x" + Integer.toHexString((id + 256)%256));
public boolean setPDU(byte id) { switch(id) { case (byte)0xA0: pdutype = PDU_GET_THIS; break; case (byte)0xA1: pdutype = PDU_GET_NEXT; break; default: //System.err.println("Unknown PDU: 0x" + Integer.toHexString((id + 256)%256)); return false; } return true; }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/dc41050349099e4bc34e8b2967ee63de226b514c/SNMPAgent.java/clean/src/snmplib/SNMPAgent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2332, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 2332, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 2332, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 2332, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 225, 202, 482, 3163, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 1250, 3163, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 17004, 16214, 12, 7229, 3163, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 612, 13, 3163, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 288, 3163, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 2332, 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, 2332, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 2332, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 2332, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 2332, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 6, 397, 2144, 18, 869, 14866, 12443, 350, 397, 8303, 13, 9, 5034, 10019, 225, 202, 482, 3163, 18, 370, 18, 8222, 2932, 4874, 453, 16214, 30, 374, 92, 2 ]
public org.quickfix.field.StrikePrice getStrikePrice() throws FieldNotFound { org.quickfix.field.StrikePrice value = new org.quickfix.field.StrikePrice();
public quickfix.field.StrikePrice getStrikePrice() throws FieldNotFound { quickfix.field.StrikePrice value = new quickfix.field.StrikePrice();
public org.quickfix.field.StrikePrice getStrikePrice() throws FieldNotFound { org.quickfix.field.StrikePrice value = new org.quickfix.field.StrikePrice(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityDefinition.java/clean/src/java/src/quickfix/fix43/SecurityDefinition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 5147, 24017, 2547, 5147, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 5147, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 5147, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1585, 2547, 5147, 24017, 2547, 5147, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 5147, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1585, 2547, 5147, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
localContents[localContentsOffset++] = (byte) (length >> 8); localContents[localContentsOffset++] = (byte) length;
this.contents[localContentsOffset++] = (byte) (length >> 8); this.contents[localContentsOffset++] = (byte) length;
public void completeCodeAttribute(int codeAttributeOffset) { // reinitialize the localContents with the byte modified by the code stream byte[] localContents = contents = codeStream.bCodeStream; int localContentsOffset = codeStream.classFileOffset; // codeAttributeOffset is the position inside localContents byte array before we started to write // any information about the codeAttribute // That means that to write the attribute_length you need to offset by 2 the value of codeAttributeOffset // to get the right position, 6 for the max_stack etc... int contentsLength; int code_length = codeStream.position; if (code_length > 65535) { codeStream.methodDeclaration.scope.problemReporter().bytecodeExceeds64KLimit( codeStream.methodDeclaration); } if (localContentsOffset + 20 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } int max_stack = codeStream.stackMax; localContents[codeAttributeOffset + 6] = (byte) (max_stack >> 8); localContents[codeAttributeOffset + 7] = (byte) max_stack; int max_locals = codeStream.maxLocals; localContents[codeAttributeOffset + 8] = (byte) (max_locals >> 8); localContents[codeAttributeOffset + 9] = (byte) max_locals; localContents[codeAttributeOffset + 10] = (byte) (code_length >> 24); localContents[codeAttributeOffset + 11] = (byte) (code_length >> 16); localContents[codeAttributeOffset + 12] = (byte) (code_length >> 8); localContents[codeAttributeOffset + 13] = (byte) code_length; // write the exception table int exceptionHandlersNumber = codeStream.exceptionHandlersNumber; ExceptionLabel[] exceptionHandlers = codeStream.exceptionHandlers; int exSize; if (localContentsOffset + (exSize = (exceptionHandlersNumber * 8 + 2)) >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + (exSize > INCREMENT_SIZE ? exSize : INCREMENT_SIZE)]), 0, contentsLength); } // there is no exception table, so we need to offset by 2 the current offset and move // on the attribute generation localContents[localContentsOffset++] = (byte) (exceptionHandlersNumber >> 8); localContents[localContentsOffset++] = (byte) exceptionHandlersNumber; for (int i = 0; i < exceptionHandlersNumber; i++) { ExceptionLabel exceptionHandler = exceptionHandlers[i]; int start = exceptionHandler.start; localContents[localContentsOffset++] = (byte) (start >> 8); localContents[localContentsOffset++] = (byte) start; int end = exceptionHandler.end; localContents[localContentsOffset++] = (byte) (end >> 8); localContents[localContentsOffset++] = (byte) end; int handlerPC = exceptionHandler.position; localContents[localContentsOffset++] = (byte) (handlerPC >> 8); localContents[localContentsOffset++] = (byte) handlerPC; if (exceptionHandler.exceptionType == null) { // any exception handler localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = 0; } else { int nameIndex; if (exceptionHandler.exceptionType == BaseTypes.NullBinding) { /* represents ClassNotFoundException, see class literal access*/ nameIndex = constantPool.literalIndexForJavaLangClassNotFoundException(); } else { nameIndex = constantPool.literalIndex(exceptionHandler.exceptionType); } localContents[localContentsOffset++] = (byte) (nameIndex >> 8); localContents[localContentsOffset++] = (byte) nameIndex; } } // debug attributes int codeAttributeAttributeOffset = localContentsOffset; int attributeNumber = 0; // leave two bytes for the attribute_length localContentsOffset += 2; // first we handle the linenumber attribute if (codeStream.generateLineNumberAttributes) { /* Create and add the line number attribute (used for debugging) * Build the pairs of: * (bytecodePC lineNumber) * according to the table of start line indexes and the pcToSourceMap table * contained into the codestream */ int[] pcToSourceMapTable; if (((pcToSourceMapTable = codeStream.pcToSourceMap) != null) && (codeStream.pcToSourceMapSize != 0)) { int lineNumberNameIndex = constantPool.literalIndex(AttributeNamesConstants.LineNumberTableName); if (localContentsOffset + 8 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } localContents[localContentsOffset++] = (byte) (lineNumberNameIndex >> 8); localContents[localContentsOffset++] = (byte) lineNumberNameIndex; int lineNumberTableOffset = localContentsOffset; localContentsOffset += 6; // leave space for attribute_length and line_number_table_length int numberOfEntries = 0; int length = codeStream.pcToSourceMapSize; for (int i = 0; i < length;) { // write the entry if (localContentsOffset + 4 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } int pc = pcToSourceMapTable[i++]; localContents[localContentsOffset++] = (byte) (pc >> 8); localContents[localContentsOffset++] = (byte) pc; int lineNumber = pcToSourceMapTable[i++]; localContents[localContentsOffset++] = (byte) (lineNumber >> 8); localContents[localContentsOffset++] = (byte) lineNumber; numberOfEntries++; } // now we change the size of the line number attribute int lineNumberAttr_length = numberOfEntries * 4 + 2; localContents[lineNumberTableOffset++] = (byte) (lineNumberAttr_length >> 24); localContents[lineNumberTableOffset++] = (byte) (lineNumberAttr_length >> 16); localContents[lineNumberTableOffset++] = (byte) (lineNumberAttr_length >> 8); localContents[lineNumberTableOffset++] = (byte) lineNumberAttr_length; localContents[lineNumberTableOffset++] = (byte) (numberOfEntries >> 8); localContents[lineNumberTableOffset++] = (byte) numberOfEntries; attributeNumber++; } } // then we do the local variable attribute if (codeStream.generateLocalVariableTableAttributes) { int localVariableTableOffset = localContentsOffset; int numberOfEntries = 0; int localVariableNameIndex = constantPool.literalIndex(AttributeNamesConstants.LocalVariableTableName); if (localContentsOffset + 8 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } localContents[localContentsOffset++] = (byte) (localVariableNameIndex >> 8); localContents[localContentsOffset++] = (byte) localVariableNameIndex; localContentsOffset += 6; // leave space for attribute_length and local_variable_table_length int nameIndex; int descriptorIndex; if (!codeStream.methodDeclaration.isStatic()) { numberOfEntries++; if (localContentsOffset + 10 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } localContents[localContentsOffset++] = 0; // the startPC for this is always 0 localContents[localContentsOffset++] = 0; localContents[localContentsOffset++] = (byte) (code_length >> 8); localContents[localContentsOffset++] = (byte) code_length; nameIndex = constantPool.literalIndex(QualifiedNamesConstants.This); localContents[localContentsOffset++] = (byte) (nameIndex >> 8); localContents[localContentsOffset++] = (byte) nameIndex; descriptorIndex = constantPool.literalIndex( codeStream.methodDeclaration.binding.declaringClass.signature()); localContents[localContentsOffset++] = (byte) (descriptorIndex >> 8); localContents[localContentsOffset++] = (byte) descriptorIndex; localContents[localContentsOffset++] = 0;// the resolved position for this is always 0 localContents[localContentsOffset++] = 0; } for (int i = 0; i < codeStream.allLocalsCounter; i++) { LocalVariableBinding localVariable = codeStream.locals[i]; for (int j = 0; j < localVariable.initializationCount; j++) { int startPC = localVariable.initializationPCs[j << 1]; int endPC = localVariable.initializationPCs[(j << 1) + 1]; if (startPC != endPC) { // only entries for non zero length if (endPC == -1) { localVariable.declaringScope.problemReporter().abortDueToInternalError( Util.bind("abort.invalidAttribute" , new String(localVariable.name)), //$NON-NLS-1$ (ASTNode) localVariable.declaringScope.methodScope().referenceContext); } if (localContentsOffset + 10 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } // now we can safely add the local entry numberOfEntries++; localContents[localContentsOffset++] = (byte) (startPC >> 8); localContents[localContentsOffset++] = (byte) startPC; int length = endPC - startPC; localContents[localContentsOffset++] = (byte) (length >> 8); localContents[localContentsOffset++] = (byte) length; nameIndex = constantPool.literalIndex(localVariable.name); localContents[localContentsOffset++] = (byte) (nameIndex >> 8); localContents[localContentsOffset++] = (byte) nameIndex; descriptorIndex = constantPool.literalIndex(localVariable.type.signature()); localContents[localContentsOffset++] = (byte) (descriptorIndex >> 8); localContents[localContentsOffset++] = (byte) descriptorIndex; int resolvedPosition = localVariable.resolvedPosition; localContents[localContentsOffset++] = (byte) (resolvedPosition >> 8); localContents[localContentsOffset++] = (byte) resolvedPosition; } } } int value = numberOfEntries * 10 + 2; localVariableTableOffset += 2; localContents[localVariableTableOffset++] = (byte) (value >> 24); localContents[localVariableTableOffset++] = (byte) (value >> 16); localContents[localVariableTableOffset++] = (byte) (value >> 8); localContents[localVariableTableOffset++] = (byte) value; localContents[localVariableTableOffset++] = (byte) (numberOfEntries >> 8); localContents[localVariableTableOffset] = (byte) numberOfEntries; attributeNumber++; } // update the number of attributes // ensure first that there is enough space available inside the localContents array if (codeAttributeAttributeOffset + 2 >= (contentsLength = localContents.length)) { System.arraycopy( contents, 0, (localContents = contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } localContents[codeAttributeAttributeOffset++] = (byte) (attributeNumber >> 8); localContents[codeAttributeAttributeOffset] = (byte) attributeNumber; // update the attribute length int codeAttributeLength = localContentsOffset - (codeAttributeOffset + 6); localContents[codeAttributeOffset + 2] = (byte) (codeAttributeLength >> 24); localContents[codeAttributeOffset + 3] = (byte) (codeAttributeLength >> 16); localContents[codeAttributeOffset + 4] = (byte) (codeAttributeLength >> 8); localContents[codeAttributeOffset + 5] = (byte) codeAttributeLength; contentsOffset = localContentsOffset; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/3a562aaf09f9f323b583086b80b4683378886606/ClassFile.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3912, 1085, 1499, 12, 474, 981, 1499, 2335, 13, 288, 202, 202, 759, 283, 11160, 326, 1191, 6323, 598, 326, 1160, 4358, 635, 326, 981, 1407, 202, 202, 7229, 8526, 1191, 6323, 273, 2939, 273, 981, 1228, 18, 70, 1085, 1228, 31, 202, 202, 474, 1191, 6323, 2335, 273, 981, 1228, 18, 1106, 812, 2335, 31, 202, 202, 759, 981, 1499, 2335, 353, 326, 1754, 4832, 1191, 6323, 1160, 526, 1865, 732, 5746, 358, 1045, 202, 202, 759, 1281, 1779, 2973, 326, 981, 1499, 202, 202, 759, 12466, 4696, 716, 358, 1045, 326, 1566, 67, 2469, 1846, 1608, 358, 1384, 635, 576, 326, 460, 434, 981, 1499, 2335, 202, 202, 759, 358, 336, 326, 2145, 1754, 16, 1666, 364, 326, 943, 67, 3772, 5527, 2777, 202, 202, 474, 2939, 1782, 31, 202, 202, 474, 981, 67, 2469, 273, 981, 1228, 18, 3276, 31, 202, 202, 430, 261, 710, 67, 2469, 405, 10147, 13, 288, 1082, 202, 710, 1228, 18, 2039, 6094, 18, 4887, 18, 18968, 13289, 7675, 1637, 16651, 424, 5288, 87, 1105, 47, 3039, 12, 9506, 202, 710, 1228, 18, 2039, 6094, 1769, 202, 202, 97, 202, 202, 430, 261, 3729, 6323, 2335, 397, 4200, 1545, 261, 3980, 1782, 273, 1191, 6323, 18, 2469, 3719, 288, 1082, 202, 3163, 18, 1126, 3530, 12, 9506, 202, 3980, 16, 9506, 202, 20, 16, 9506, 202, 12, 3729, 6323, 273, 2939, 273, 394, 1160, 63, 3980, 1782, 397, 2120, 23923, 67, 4574, 65, 3631, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3912, 1085, 1499, 12, 474, 981, 1499, 2335, 13, 288, 202, 202, 759, 283, 11160, 326, 1191, 6323, 598, 326, 1160, 4358, 635, 326, 981, 1407, 202, 202, 7229, 8526, 1191, 6323, 273, 2939, 273, 981, 1228, 18, 70, 1085, 1228, 31, 202, 202, 474, 1191, 6323, 2335, 273, 981, 1228, 18, 1106, 812, 2335, 31, 202, 202, 759, 981, 1499, 2335, 353, 326, 1754, 4832, 1191, 6323, 1160, 526, 1865, 732, 5746, 358, 1045, 202, 202, 759, 1281, 1779, 2973, 326, 981, 1499, 202, 202, 759, 12466, 4696, 716, 358, 1045, 326, 1566, 67, 2469, 1846, 1608, 358, 1384, 635, 576, 326, 460, 434, 981, 1499, 2335, 202, 202, 759, 358, 336, 326, 2145, 2 ]
this.wantToBeDefault = MaryProperties.getInteger("voice."+getName()+".want.to.be.default.voice", 0);
this.wantToBeDefault = MaryProperties.getInteger("voice."+getName()+".wants.to.be.default", 0);
public Voice(String path, String[] nameArray, Locale locale, AudioFormat dbAudioFormat, WaveformSynthesizer synthesizer, Gender gender, int topStart, int topEnd, int baseStart, int baseEnd, String[] knownVoiceQualities, String missingDiphonesPath) { this.path = path; this.names = new ArrayList(); for (int i=0; i<nameArray.length; i++) names.add(nameArray[i]); this.locale = locale; this.dbAudioFormat = dbAudioFormat; this.synthesizer = synthesizer; this.gender = gender; this.topStart = topStart; this.topEnd = topEnd; this.baseStart = baseStart; this.baseEnd = baseEnd; this.knownVoiceQualities = new ArrayList(); if (knownVoiceQualities != null) for (int j=0; j<knownVoiceQualities.length; j++) this.knownVoiceQualities.add(knownVoiceQualities[j]); fillSampaMap(); this.useVoicePAInOutput = MaryProperties.getBoolean("voice."+getName()+".use.voicepa.in.output", true); if (missingDiphonesPath != null) { File missingDiphonesFile = new File(missingDiphonesPath); try { BufferedReader br = new BufferedReader(new FileReader(missingDiphonesFile)); String diphone = null; missingDiphones = new HashSet(); while ((diphone = br.readLine()) != null) { missingDiphones.add(diphone); } } catch (IOException e) { //e.printStackTrace(); missingDiphones = null; } } this.wantToBeDefault = MaryProperties.getInteger("voice."+getName()+".want.to.be.default.voice", 0); }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/add3fcf738c7d9d4d5d42a9c19bb8128193854ea/Voice.java/buggy/java/de/dfki/lt/mary/modules/synthesis/Voice.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 23582, 12, 780, 589, 16, 514, 8526, 508, 1076, 16, 6458, 2573, 16, 5375, 15045, 1630, 1319, 12719, 1630, 16, 1171, 24314, 687, 10503, 7915, 1824, 6194, 7915, 1824, 16, 1171, 611, 2345, 18578, 16, 1171, 509, 1760, 1685, 16, 509, 1760, 1638, 16, 509, 1026, 1685, 16, 509, 1026, 1638, 16, 1171, 514, 8526, 4846, 14572, 5628, 1961, 16, 1171, 514, 3315, 40, 16045, 5322, 743, 13, 565, 288, 3639, 333, 18, 803, 273, 589, 31, 3639, 333, 18, 1973, 273, 394, 2407, 5621, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 529, 1076, 18, 2469, 31, 277, 27245, 5411, 1257, 18, 1289, 12, 529, 1076, 63, 77, 19226, 3639, 333, 18, 6339, 273, 2573, 31, 3639, 333, 18, 1966, 12719, 1630, 273, 1319, 12719, 1630, 31, 3639, 333, 18, 11982, 7915, 1824, 273, 6194, 7915, 1824, 31, 3639, 333, 18, 27638, 273, 18578, 31, 3639, 333, 18, 3669, 1685, 273, 1760, 1685, 31, 3639, 333, 18, 3669, 1638, 273, 1760, 1638, 31, 3639, 333, 18, 1969, 1685, 273, 1026, 1685, 31, 3639, 333, 18, 1969, 1638, 273, 1026, 1638, 31, 3639, 333, 18, 2994, 14572, 5628, 1961, 273, 394, 2407, 5621, 3639, 309, 261, 2994, 14572, 5628, 1961, 480, 446, 13, 5411, 364, 261, 474, 525, 33, 20, 31, 525, 32, 2994, 14572, 5628, 1961, 18, 2469, 31, 525, 27245, 7734, 333, 18, 2994, 14572, 5628, 1961, 18, 1289, 12, 2994, 14572, 5628, 1961, 63, 78, 19226, 3639, 3636, 55, 5406, 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, 23582, 12, 780, 589, 16, 514, 8526, 508, 1076, 16, 6458, 2573, 16, 5375, 15045, 1630, 1319, 12719, 1630, 16, 1171, 24314, 687, 10503, 7915, 1824, 6194, 7915, 1824, 16, 1171, 611, 2345, 18578, 16, 1171, 509, 1760, 1685, 16, 509, 1760, 1638, 16, 509, 1026, 1685, 16, 509, 1026, 1638, 16, 1171, 514, 8526, 4846, 14572, 5628, 1961, 16, 1171, 514, 3315, 40, 16045, 5322, 743, 13, 565, 288, 3639, 333, 18, 803, 273, 589, 31, 3639, 333, 18, 1973, 273, 394, 2407, 5621, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 529, 1076, 18, 2469, 31, 277, 27245, 5411, 1257, 18, 1289, 12, 529, 1076, 63, 77, 19226, 3639, 333, 18, 6339, 273, 2 ]
if ((index < input.length) && (TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) index++; else return -1;
if (index >= input.length) { return state.noMoreInput(); } if (!(TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) return -1; index++;
int matchRENodes(MatchState state, RENode ren, RENode stop, int index) { int num; char[] input = state.input; while ((ren != stop) && (ren != null)) { switch (ren.op) { case REOP_EMPTY: break; case REOP_ALT: { if (ren.next.op != REOP_ALT) { ren = (RENode)ren.kid; continue; } else { num = state.parenCount; int kidMatch = matchRENodes(state, (RENode)ren.kid, stop, index); if (kidMatch != -1) return kidMatch; for (int i = num; i < state.parenCount; i++) state.parens[i].length = 0; state.parenCount = num; } } break; case REOP_QUANT: { int lastKid = -1; for (num = 0; num < ren.min; num++) { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; else { lastKid = index; index = kidMatch; } } if (num == ren.max) // Have matched the exact count required, // need to match the rest of the regexp. break; if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, num, index, lastKid); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, num, ren.max, index); if (index == -1) return -1; } } break; case REOP_PLUS: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; if ((ren.flags & RENode.MINIMAL) == 0) { index = matchGreedyKid(state, ren, stop, 1, kidMatch, index); if (index == -1) index = kidMatch; } else index = matchNonGreedyKid(state, ren, 1, 0, kidMatch); if (index == -1) return -1; } break; case REOP_STAR: if ((ren.flags & RENode.MINIMAL) == 0) { int kidMatch = matchGreedyKid(state, ren, stop, 0, index, -1); if (kidMatch != -1) index = kidMatch; } else { index = matchNonGreedyKid(state, ren, 0, 0, index); if (index == -1) return -1; } break; case REOP_OPT: { int saveNum = state.parenCount; if (((ren.flags & RENode.MINIMAL) != 0)) { int restMatch = matchRENodes(state, ren.next, stop, index); if (restMatch != -1) return restMatch; } int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) { state.parenCount = saveNum; break; } else { int restMatch = matchRENodes(state, ren.next, stop, kidMatch); if (restMatch == -1) { // need to undo the result of running the kid state.parenCount = saveNum; break; } else return restMatch; } } case REOP_LPARENNON: ren = (RENode)ren.kid; continue; case REOP_RPARENNON: break; case REOP_LPAREN: { num = ren.num; ren = (RENode)ren.kid; SubString parsub = state.parens[num]; if (parsub == null) { parsub = state.parens[num] = new SubString(); parsub.charArray = input; } parsub.index = index; parsub.length = 0; if (num >= state.parenCount) state.parenCount = num + 1; continue; } case REOP_RPAREN: { num = ren.num; SubString parsub = state.parens[num]; if (parsub == null) throw new RuntimeException("Paren problem"); parsub.length = index - parsub.index; break; } case REOP_ASSERT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch == -1) return -1; break; } case REOP_ASSERT_NOT: { int kidMatch = matchRENodes(state, (RENode)ren.kid, ren.next, index); if (kidMatch != -1) return -1; break; } case REOP_BACKREF: { num = ren.num; if (num >= state.parens.length) { Context.reportError( ScriptRuntime.getMessage( "msg.bad.backref", null)); return -1; } SubString parsub = state.parens[num]; if (parsub == null) parsub = state.parens[num] = new SubString(); int length = parsub.length; if ((input.length - index) < length) return -1; else { for (int i = 0; i < length; i++, index++) { if (!matchChar(state.flags, input[index], parsub.charArray[parsub.index + i])) return -1; } } } break; case REOP_CCLASS: if (index < input.length) { if (ren.bitmap == null) { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); ren.buildBitmap(state, source, ((state.flags & FOLD) != 0)); } char c = input[index]; int b = (c >>> 3); if (b >= ren.bmsize) { if (ren.kid2 == -1) // a ^ class index++; else return -1; } else { int bit = c & 7; bit = 1 << bit; if ((ren.bitmap[b] & bit) != 0) index++; else return -1; } } else return -1; break; case REOP_DOT: if ((index < input.length) && (input[index] != '\n')) index++; else return -1; break; case REOP_DOTSTARMIN: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) return cp3; if (input[cp2] == '\n') return -1; } return -1; } case REOP_DOTSTAR: { int cp2; for (cp2 = index; cp2 < input.length; cp2++) if (input[cp2] == '\n') break; while (cp2 >= index) { int cp3 = matchRENodes(state, ren.next, stop, cp2); if (cp3 != -1) { index = cp2; break; } cp2--; } break; } case REOP_WBDRY: if (((index == 0) || !isWord(input[index-1])) ^ ((index >= input.length) || !isWord(input[index]))) ; // leave index else return -1; break; case REOP_WNONBDRY: if (((index == 0) || !isWord(input[index-1])) ^ ((index < input.length) && isWord(input[index]))) ; // leave index else return -1; break; case REOP_EOLONLY: case REOP_EOL: { if (index == input.length) ; // leave index; else { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if ((reImpl.multiline) || ((state.flags & MULTILINE) != 0)) if (input[index] == '\n') ;// leave index else return -1; else return -1; } } break; case REOP_BOL: { Context cx = Context.getCurrentContext(); RegExpImpl reImpl = getImpl(cx); if (index != 0) { if ((index < input.length) && (reImpl.multiline || ((state.flags & MULTILINE) != 0))) { if (input[index - 1] == '\n') { break; } } return -1; } // leave index } break; case REOP_DIGIT: if ((index < input.length) && isDigit(input[index])) index++; else return -1; break; case REOP_NONDIGIT: if ((index < input.length) && !isDigit(input[index])) index++; else return -1; break; case REOP_ALNUM: if ((index < input.length) && isWord(input[index])) index++; else return -1; break; case REOP_NONALNUM: if ((index < input.length) && !isWord(input[index])) index++; else return -1; break; case REOP_SPACE: if ((index < input.length) && (TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) index++; else return -1; break; case REOP_NONSPACE: if ((index < input.length) && !(TokenStream.isJSSpace(input[index]) || TokenStream.isJSLineTerminator(input[index]))) index++; else return -1; break; case REOP_FLAT1: if ((index < input.length) && matchChar(state.flags, ren.chr, input[index])) index++; else return -1; break; case REOP_FLAT: { char[] source = (ren.s != null) ? ren.s : this.source.toCharArray(); int start = ((Integer)ren.kid).intValue(); int length = ren.kid2 - start; if ((input.length - index) < length) return -1; else { for (int i = 0; i < length; i++, index++) { if (!matchChar(state.flags, input[index], source[start + i])) return -1; } } } break; case REOP_JUMP: break; case REOP_END: break; default : throw new RuntimeException("Unsupported by node matcher"); } ren = ren.next; } return index; }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/4aee7d25d756bce350cfec71216aff6e8c8bbc4b/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 845, 862, 3205, 12, 2060, 1119, 919, 16, 2438, 907, 1654, 16, 2438, 907, 2132, 16, 509, 770, 13, 288, 3639, 509, 818, 31, 3639, 1149, 8526, 810, 273, 919, 18, 2630, 31, 3639, 1323, 14015, 1187, 480, 2132, 13, 597, 261, 1187, 480, 446, 3719, 288, 7734, 1620, 261, 1187, 18, 556, 13, 288, 7734, 648, 2438, 3665, 67, 13625, 30, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 18255, 30, 288, 10792, 309, 261, 1187, 18, 4285, 18, 556, 480, 2438, 3665, 67, 18255, 13, 288, 13491, 1654, 273, 261, 862, 907, 13, 1187, 18, 79, 350, 31, 13491, 1324, 31, 10792, 289, 10792, 469, 288, 13491, 818, 273, 919, 18, 13012, 1380, 31, 13491, 509, 17395, 2060, 273, 845, 862, 3205, 12, 2019, 16, 261, 862, 907, 13, 1187, 18, 79, 350, 16, 4766, 10792, 2132, 16, 770, 1769, 13491, 309, 261, 79, 350, 2060, 480, 300, 21, 13, 327, 17395, 2060, 31, 13491, 364, 261, 474, 277, 273, 818, 31, 277, 411, 919, 18, 13012, 1380, 31, 277, 27245, 18701, 919, 18, 1848, 2387, 63, 77, 8009, 2469, 273, 374, 31, 13491, 919, 18, 13012, 1380, 273, 818, 31, 10792, 289, 7734, 289, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 3500, 6856, 30, 288, 10792, 509, 1142, 47, 350, 273, 300, 21, 31, 10792, 364, 261, 2107, 273, 374, 31, 818, 411, 1654, 18, 1154, 31, 818, 27245, 288, 13491, 509, 17395, 2060, 273, 845, 862, 3205, 12, 2019, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 845, 862, 3205, 12, 2060, 1119, 919, 16, 2438, 907, 1654, 16, 2438, 907, 2132, 16, 509, 770, 13, 288, 3639, 509, 818, 31, 3639, 1149, 8526, 810, 273, 919, 18, 2630, 31, 3639, 1323, 14015, 1187, 480, 2132, 13, 597, 261, 1187, 480, 446, 3719, 288, 7734, 1620, 261, 1187, 18, 556, 13, 288, 7734, 648, 2438, 3665, 67, 13625, 30, 10792, 898, 31, 7734, 648, 2438, 3665, 67, 18255, 30, 288, 10792, 309, 261, 1187, 18, 4285, 18, 556, 480, 2438, 3665, 67, 18255, 13, 288, 13491, 1654, 273, 261, 862, 907, 13, 1187, 18, 79, 350, 31, 13491, 1324, 31, 10792, 289, 10792, 469, 288, 13491, 818, 273, 919, 18, 13012, 1380, 31, 13491, 2 ]
else if (_method.equals("html")) {
else if ((_method != null) && (_method.equals("html"))) {
public void parseContents(Parser parser) { // Ask the parser if it wants this <xsl:output> element parser.setOutput(this); // Do nothing if other <xsl:output> element has higher precedence if (_disabled) return; String attrib = null; // Get the output XML version - only version "1.0" should be used _version = getAttribute("version"); if ((_version == null) || (_version.equals(Constants.EMPTYSTRING))) { _version = ONE_DOT_ZERO_STRING; } if (!_version.equals(ONE_DOT_ZERO_STRING)) { ErrorMsg msg = new ErrorMsg(OUTPUT_VERSION_ERROR); parser.reportError(Constants.WARNING, msg); } // Get the output method - "xml", "html", "text" or <qname> _method = getAttribute("method"); if (_method.equals(Constants.EMPTYSTRING)) _method = null; if (_method != null) _method = _method.toLowerCase(); // Get the output encoding - any value accepted here _encoding = getAttribute("encoding"); if (_encoding.equals(Constants.EMPTYSTRING)) _encoding = null; // Should the XML header be omitted - translate to true/false attrib = getAttribute("omit-xml-declaration"); if ((attrib != null) && (attrib.equals("yes"))) _omitHeader = true; // Add 'standalone' decaration to output - use text as is _standalone = getAttribute("standalone"); if (_standalone.equals(Constants.EMPTYSTRING)) _standalone = null; // Get system/public identifiers for output DOCTYPE declaration _doctypeSystem = getAttribute("doctype-system"); if (_doctypeSystem.equals(Constants.EMPTYSTRING)) _doctypeSystem = null; _doctypePublic = getAttribute("doctype-public"); if (_doctypePublic.equals(Constants.EMPTYSTRING)) _doctypePublic = null; // Names the elements of whose text contents should be output as CDATA _cdata = getAttribute("cdata-section-elements"); if ((_cdata != null) && (_cdata.equals(Constants.EMPTYSTRING))) _cdata = null; // Get the indent setting - only has effect for xml and html output attrib = getAttribute("indent"); if ((attrib != null) && (!attrib.equals(EMPTYSTRING))) { if (attrib.equals("yes")) _indent = true; } else if (_method.equals("html")) { _indent = true; } // Get the MIME type for the output file - we don't do anythign with it, // but our client may use it to specify a data transport type, etc. _mediaType = getAttribute("media-type"); if (_mediaType.equals(Constants.EMPTYSTRING)) _mediaType = null; // parseChildren(parser); - the element is always empty }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/f26d93d4d31b21dc0291b62d318a20f51e4590bd/Output.java/buggy/src/org/apache/xalan/xsltc/compiler/Output.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 6323, 12, 2678, 2082, 13, 288, 202, 759, 25747, 326, 2082, 309, 518, 14805, 333, 411, 30903, 30, 2844, 34, 930, 202, 4288, 18, 542, 1447, 12, 2211, 1769, 202, 759, 2256, 5083, 309, 1308, 411, 30903, 30, 2844, 34, 930, 711, 10478, 14172, 202, 430, 261, 67, 9278, 13, 327, 31, 202, 780, 5885, 273, 446, 31, 202, 759, 968, 326, 876, 3167, 1177, 300, 1338, 1177, 315, 21, 18, 20, 6, 1410, 506, 1399, 202, 67, 1589, 273, 4061, 2932, 1589, 8863, 202, 430, 14015, 67, 1589, 422, 446, 13, 747, 261, 67, 1589, 18, 14963, 12, 2918, 18, 13625, 5804, 20349, 288, 202, 565, 389, 1589, 273, 15623, 67, 17591, 67, 24968, 67, 5804, 31, 202, 97, 202, 430, 16051, 67, 1589, 18, 14963, 12, 5998, 67, 17591, 67, 24968, 67, 5804, 3719, 288, 202, 565, 1068, 3332, 1234, 273, 394, 1068, 3332, 12, 15527, 67, 5757, 67, 3589, 1769, 202, 565, 2082, 18, 6006, 668, 12, 2918, 18, 9511, 16, 1234, 1769, 202, 97, 202, 759, 968, 326, 876, 707, 300, 315, 2902, 3113, 315, 2620, 3113, 315, 955, 6, 578, 411, 85, 529, 34, 202, 67, 2039, 273, 4061, 2932, 2039, 8863, 202, 430, 261, 67, 2039, 18, 14963, 12, 2918, 18, 13625, 5804, 3719, 389, 2039, 273, 446, 31, 202, 430, 261, 67, 2039, 480, 446, 13, 389, 2039, 273, 389, 2039, 18, 869, 5630, 5621, 202, 759, 968, 326, 876, 2688, 300, 1281, 460, 8494, 2674, 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, 1109, 6323, 12, 2678, 2082, 13, 288, 202, 759, 25747, 326, 2082, 309, 518, 14805, 333, 411, 30903, 30, 2844, 34, 930, 202, 4288, 18, 542, 1447, 12, 2211, 1769, 202, 759, 2256, 5083, 309, 1308, 411, 30903, 30, 2844, 34, 930, 711, 10478, 14172, 202, 430, 261, 67, 9278, 13, 327, 31, 202, 780, 5885, 273, 446, 31, 202, 759, 968, 326, 876, 3167, 1177, 300, 1338, 1177, 315, 21, 18, 20, 6, 1410, 506, 1399, 202, 67, 1589, 273, 4061, 2932, 1589, 8863, 202, 430, 14015, 67, 1589, 422, 446, 13, 747, 261, 67, 1589, 18, 14963, 12, 2918, 18, 13625, 5804, 20349, 288, 202, 565, 389, 1589, 273, 15623, 67, 17591, 67, 24968, 2 ]