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
modelBind.getCurrentNode() == null ? documentWrapper : documentWrapper.wrap(modelBind.getCurrentNode()),
documentWrapper.wrap(modelBind.getCurrentNode() == null ? ((Document) documentWrapper.getUnderlyingNode()).getRootElement() : modelBind.getCurrentNode()),
private void iterateNodeSet(PipelineContext pipelineContext, DocumentWrapper documentWrapper, ModelBind modelBind, NodeHandler nodeHandler) { PooledXPathExpression expr = XPathCache.getXPathExpression(pipelineContext, modelBind.getCurrentNode() == null ? documentWrapper : documentWrapper.wrap(modelBind.getCurrentNode()), modelBind.getNodeset(), modelBind.getNamespaceMap(), null, xformsFunctionLibrary); try { List nodeset = expr.evaluate(); for (Iterator j = nodeset.iterator(); j.hasNext();) { Node node = (Node) j.next(); nodeHandler.handleNode(node); } } catch (XPathException e) { throw new ValidationException(e.getMessage() + " when evaluating '" + modelBind.getNodeset() + "'", modelBind.getLocationData()); } finally { if (expr != null) expr.returnToPool(); } }
51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/279c76ddfb52b6e0ba280c6791d1ba8e0c0a3922/XFormsModel.java/clean/src/java/org/orbeon/oxf/xforms/XFormsModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 7401, 907, 694, 12, 8798, 1042, 5873, 1042, 16, 4319, 3611, 1668, 3611, 16, 27573, 3164, 3357, 938, 3357, 16, 2029, 1503, 756, 1503, 13, 288, 3639, 453, 22167, 14124, 2300, 3065, 273, 10172, 1649, 18, 588, 14124, 2300, 12, 14511, 1042, 16, 7734, 1668, 3611, 18, 4113, 12, 2284, 3357, 18, 588, 3935, 907, 1435, 422, 446, 692, 14015, 2519, 13, 1668, 3611, 18, 588, 14655, 6291, 907, 1435, 2934, 588, 2375, 1046, 1435, 294, 938, 3357, 18, 588, 3935, 907, 1435, 3631, 7734, 938, 3357, 18, 588, 3205, 278, 9334, 7734, 938, 3357, 18, 588, 3402, 863, 9334, 7734, 446, 16, 619, 9741, 2083, 9313, 1769, 3639, 775, 288, 5411, 987, 2199, 278, 273, 3065, 18, 21024, 5621, 5411, 364, 261, 3198, 525, 273, 2199, 278, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 13, 288, 7734, 2029, 756, 273, 261, 907, 13, 525, 18, 4285, 5621, 7734, 756, 1503, 18, 4110, 907, 12, 2159, 1769, 5411, 289, 3639, 289, 1044, 261, 14124, 503, 425, 13, 288, 5411, 604, 394, 15614, 12, 73, 18, 24906, 1435, 397, 315, 1347, 26704, 2119, 397, 938, 3357, 18, 588, 3205, 278, 1435, 397, 2491, 3113, 938, 3357, 18, 588, 2735, 751, 10663, 3639, 289, 3095, 288, 5411, 309, 261, 8638, 480, 446, 13, 7734, 3065, 18, 2463, 774, 2864, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 7401, 907, 694, 12, 8798, 1042, 5873, 1042, 16, 4319, 3611, 1668, 3611, 16, 27573, 3164, 3357, 938, 3357, 16, 2029, 1503, 756, 1503, 13, 288, 3639, 453, 22167, 14124, 2300, 3065, 273, 10172, 1649, 18, 588, 14124, 2300, 12, 14511, 1042, 16, 7734, 1668, 3611, 18, 4113, 12, 2284, 3357, 18, 588, 3935, 907, 1435, 422, 446, 692, 14015, 2519, 13, 1668, 3611, 18, 588, 14655, 6291, 907, 1435, 2934, 588, 2375, 1046, 1435, 294, 938, 3357, 18, 588, 3935, 907, 1435, 3631, 7734, 938, 3357, 18, 588, 3205, 278, 9334, 7734, 938, 3357, 18, 588, 3402, 863, 9334, 7734, 446, 16, 619, 9741, 2083, 9313, 1769, 3639, 775, 288, 5411, 987, 2199, 278, 273, 2 ]
if (propertyId.regionMatches(prefixLength, Constants.ERROR_REPORTER_PROPERTY, 0, Constants.ERROR_REPORTER_PROPERTY.length())) {
if (suffixLength == Constants.ERROR_REPORTER_PROPERTY.length() && propertyId.endsWith(Constants.ERROR_REPORTER_PROPERTY)) {
public void setProperty(String propertyId, Object value) throws XMLConfigurationException { // Xerces properties if (propertyId.startsWith(Constants.XERCES_PROPERTY_PREFIX)) { final int prefixLength = Constants.XERCES_PROPERTY_PREFIX.length(); if (propertyId.regionMatches(prefixLength, Constants.SYMBOL_TABLE_PROPERTY, 0, Constants.SYMBOL_TABLE_PROPERTY.length())) { fSymbolTable = (SymbolTable)value; return; } if (propertyId.regionMatches(prefixLength, Constants.ERROR_REPORTER_PROPERTY, 0, Constants.ERROR_REPORTER_PROPERTY.length())) { fErrorReporter = (XMLErrorReporter)value; return; } if (propertyId.regionMatches(prefixLength, Constants.ENTITY_RESOLVER_PROPERTY, 0, Constants.ENTITY_RESOLVER_PROPERTY.length())) { fEntityResolver = (XMLEntityResolver)value; return; } if (propertyId.regionMatches(prefixLength, Constants.BUFFER_SIZE_PROPERTY, 0, Constants.BUFFER_SIZE_PROPERTY.length())) { Integer bufferSize = (Integer)value; if (bufferSize != null && bufferSize.intValue() > DEFAULT_XMLDECL_BUFFER_SIZE) { fBufferSize = bufferSize.intValue(); fEntityScanner.setBufferSize(fBufferSize); } } if (propertyId.regionMatches(prefixLength, Constants.SECURITY_MANAGER_PROPERTY, 0, Constants.SECURITY_MANAGER_PROPERTY.length())) { fSecurityManager = (SecurityManager)value; fEntityExpansionLimit = (fSecurityManager != null)?fSecurityManager.getEntityExpansionLimit():0; } } } // setProperty(String,Object)
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/74854a4dd6ce7a572c298057865a9161761aaee5/XMLEntityManager.java/buggy/src/org/apache/xerces/impl/XMLEntityManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7486, 12, 780, 31894, 16, 1033, 460, 13, 3639, 1216, 3167, 10737, 288, 3639, 368, 1139, 264, 764, 1790, 3639, 309, 261, 4468, 548, 18, 17514, 1190, 12, 2918, 18, 60, 654, 1441, 55, 67, 9900, 67, 6307, 3719, 288, 5411, 727, 509, 31106, 273, 5245, 18, 60, 654, 1441, 55, 67, 9900, 67, 6307, 18, 2469, 5621, 540, 202, 5411, 309, 261, 4468, 548, 18, 6858, 6869, 12, 3239, 1782, 16, 5245, 18, 22093, 67, 7775, 67, 9900, 16, 7734, 374, 16, 5245, 18, 22093, 67, 7775, 67, 9900, 18, 2469, 1435, 3719, 288, 7734, 284, 5335, 1388, 273, 261, 5335, 1388, 13, 1132, 31, 7734, 327, 31, 5411, 289, 5411, 309, 261, 4468, 548, 18, 6858, 6869, 12, 3239, 1782, 16, 5245, 18, 3589, 67, 28879, 916, 2560, 67, 9900, 16, 7734, 374, 16, 5245, 18, 3589, 67, 28879, 916, 2560, 67, 9900, 18, 2469, 1435, 3719, 288, 7734, 284, 668, 13289, 273, 261, 4201, 668, 13289, 13, 1132, 31, 7734, 327, 31, 5411, 289, 5411, 309, 261, 4468, 548, 18, 6858, 6869, 12, 3239, 1782, 16, 5245, 18, 11101, 67, 17978, 2204, 67, 9900, 16, 7734, 374, 16, 5245, 18, 11101, 67, 17978, 2204, 67, 9900, 18, 2469, 1435, 3719, 288, 7734, 284, 1943, 4301, 273, 261, 60, 9687, 1628, 4301, 13, 1132, 31, 7734, 327, 31, 5411, 289, 5411, 309, 261, 4468, 548, 18, 6858, 6869, 12, 3239, 1782, 16, 5245, 18, 11302, 67, 4574, 67, 9900, 16, 7734, 374, 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, 7486, 12, 780, 31894, 16, 1033, 460, 13, 3639, 1216, 3167, 10737, 288, 3639, 368, 1139, 264, 764, 1790, 3639, 309, 261, 4468, 548, 18, 17514, 1190, 12, 2918, 18, 60, 654, 1441, 55, 67, 9900, 67, 6307, 3719, 288, 5411, 727, 509, 31106, 273, 5245, 18, 60, 654, 1441, 55, 67, 9900, 67, 6307, 18, 2469, 5621, 540, 202, 5411, 309, 261, 4468, 548, 18, 6858, 6869, 12, 3239, 1782, 16, 5245, 18, 22093, 67, 7775, 67, 9900, 16, 7734, 374, 16, 5245, 18, 22093, 67, 7775, 67, 9900, 18, 2469, 1435, 3719, 288, 7734, 284, 5335, 1388, 273, 261, 5335, 1388, 13, 1132, 31, 7734, 327, 31, 5411, 289, 5411, 309, 261, 4468, 548, 2 ]
String className = type.getCanonicalText(); final int parameterStartPos = className.indexOf((int) '<'); if (parameterStartPos >= 0) { className = className.substring(0, parameterStartPos); } return s_allCollectionClassesAndInterfaces.contains(className);
return isCollectionClassOrInterface(type);
public static boolean isArrayOrCollectionField(PsiExpression value) { if (!(value instanceof PsiReferenceExpression)) { return false; } final PsiReferenceExpression fieldReference = (PsiReferenceExpression) value; final PsiElement element = fieldReference.resolve(); if (!(element instanceof PsiField)) { return false; } final PsiType type = fieldReference.getType(); if (type == null) { return false; } if (type.getArrayDimensions() > 0) { return !isConstantArrayOfZeroSize((PsiField) element); } String className = type.getCanonicalText(); final int parameterStartPos = className.indexOf((int) '<'); if (parameterStartPos >= 0) { className = className.substring(0, parameterStartPos); } return s_allCollectionClassesAndInterfaces.contains(className); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/759e68fd5c7d25c7883aaff1724a10a4906fc874/CollectionUtils.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/CollectionUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 5439, 1162, 2532, 974, 12, 52, 7722, 2300, 460, 13, 288, 3639, 309, 16051, 12, 1132, 1276, 453, 7722, 2404, 2300, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2404, 2300, 652, 2404, 273, 261, 52, 7722, 2404, 2300, 13, 460, 31, 3639, 727, 453, 7722, 1046, 930, 273, 652, 2404, 18, 10828, 5621, 3639, 309, 16051, 12, 2956, 1276, 453, 7722, 974, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 559, 618, 273, 652, 2404, 18, 588, 559, 5621, 3639, 309, 261, 723, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 723, 18, 588, 1076, 10796, 1435, 405, 374, 13, 288, 5411, 327, 401, 291, 6902, 1076, 951, 7170, 1225, 12443, 52, 7722, 974, 13, 930, 1769, 3639, 289, 3639, 514, 2658, 273, 618, 18, 588, 15512, 1528, 5621, 3639, 727, 509, 1569, 1685, 1616, 273, 2658, 18, 31806, 12443, 474, 13, 2368, 8284, 3639, 309, 261, 6775, 1685, 1616, 1545, 374, 13, 288, 5411, 2658, 273, 2658, 18, 28023, 12, 20, 16, 1569, 1685, 1616, 1769, 3639, 289, 3639, 327, 272, 67, 454, 2532, 4818, 1876, 10273, 18, 12298, 12, 12434, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 5439, 1162, 2532, 974, 12, 52, 7722, 2300, 460, 13, 288, 3639, 309, 16051, 12, 1132, 1276, 453, 7722, 2404, 2300, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2404, 2300, 652, 2404, 273, 261, 52, 7722, 2404, 2300, 13, 460, 31, 3639, 727, 453, 7722, 1046, 930, 273, 652, 2404, 18, 10828, 5621, 3639, 309, 16051, 12, 2956, 1276, 453, 7722, 974, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 559, 618, 273, 652, 2404, 18, 588, 559, 5621, 3639, 309, 261, 723, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 723, 18, 588, 1076, 10796, 1435, 405, 374, 13, 288, 2 ]
match(138);
match(139);
public final void compXmlPI() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST compXmlPI_AST = null; org.exist.xquery.parser.XQueryAST e1_AST = null; org.exist.xquery.parser.XQueryAST e2_AST = null; org.exist.xquery.parser.XQueryAST e3_AST = null; String qn; boolean synPredMatched281 = false; if (((LA(1)==138))) { int _m281 = mark(); synPredMatched281 = true; inputState.guessing++; try { { match(138); match(LCURLY); } } catch (RecognitionException pe) { synPredMatched281 = false; } rewind(_m281); inputState.guessing--; } if ( synPredMatched281 ) { match(138); match(LCURLY); expr(); e1_AST = (org.exist.xquery.parser.XQueryAST)returnAST; astFactory.addASTChild(currentAST, returnAST); match(RCURLY); match(LCURLY); expr(); e2_AST = (org.exist.xquery.parser.XQueryAST)returnAST; astFactory.addASTChild(currentAST, returnAST); match(RCURLY); if ( inputState.guessing==0 ) { compXmlPI_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; compXmlPI_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(COMP_PI_CONSTRUCTOR)).add(compXmlPI_AST)); currentAST.root = compXmlPI_AST; currentAST.child = compXmlPI_AST!=null &&compXmlPI_AST.getFirstChild()!=null ? compXmlPI_AST.getFirstChild() : compXmlPI_AST; currentAST.advanceChildToEnd(); } compXmlPI_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((LA(1)==138)) { match(138); qn=qName(); astFactory.addASTChild(currentAST, returnAST); match(LCURLY); expr(); e3_AST = (org.exist.xquery.parser.XQueryAST)returnAST; astFactory.addASTChild(currentAST, returnAST); match(RCURLY); if ( inputState.guessing==0 ) { compXmlPI_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; compXmlPI_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(3)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(COMP_PI_CONSTRUCTOR,qn)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(STRING_LITERAL,qn)).add(e3_AST)); currentAST.root = compXmlPI_AST; currentAST.child = compXmlPI_AST!=null &&compXmlPI_AST.getFirstChild()!=null ? compXmlPI_AST.getFirstChild() : compXmlPI_AST; currentAST.advanceChildToEnd(); } compXmlPI_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } returnAST = compXmlPI_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/b1f955b7f1cec4172ad3be7bd2855bd3cca3e6f2/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1161, 4432, 1102, 1435, 1216, 9539, 16, 3155, 1228, 503, 16, 10172, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1161, 4432, 1102, 67, 9053, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 425, 21, 67, 9053, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 425, 22, 67, 9053, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 425, 23, 67, 9053, 273, 446, 31, 6862, 202, 780, 31054, 31, 25083, 202, 6494, 6194, 10391, 15400, 6030, 21, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 26645, 20349, 288, 1082, 202, 474, 389, 81, 6030, 21, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 6030, 21, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 1916, 12, 26645, 1769, 9506, 202, 1916, 12, 13394, 1785, 61, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 5650, 7909, 503, 2804, 13, 288, 9506, 202, 11982, 10391, 15400, 6030, 21, 273, 629, 31, 1082, 202, 97, 1082, 202, 266, 10094, 24899, 81, 6030, 21, 1769, 1082, 202, 2630, 1119, 18, 20885, 310, 413, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1161, 4432, 1102, 1435, 1216, 9539, 16, 3155, 1228, 503, 16, 10172, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1161, 4432, 1102, 67, 9053, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 425, 21, 67, 9053, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 425, 22, 67, 9053, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 425, 23, 67, 9053, 2 ]
private void init() throws UMOException {
private void init() throws UMOException {
private void init() throws UMOException { client = new MuleClient(); customers.add(new Customer("Jenson Button", 123)); customers.add(new Customer("Michael Schumacker", 456)); customers.add(new Customer("Juan Pablo Montoya", 789)); customers.add(new Customer("David Colthard", 101)); customers.add(new Customer("Rubens Barrichello", 112)); customers.add(new Customer("Mark Webber", 131)); customers.add(new Customer("Takuma Sato", 415)); customers.add(new Customer("Kimi Raikkonen", 161)); customers.add(new Customer("Ralf Schumacher", 718)); customers.add(new Customer("Jarno Trulli", 192)); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/7dd5b9c32e39e9e8c7c76977e5fbe72bf48c91e5/LoanConsumer.java/clean/samples/loanbroker/src/java/org/mule/samples/loanbroker/LoanConsumer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1435, 1216, 587, 5980, 503, 288, 3639, 1004, 273, 394, 490, 725, 1227, 5621, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 46, 773, 265, 12569, 3113, 17335, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 49, 1354, 69, 292, 348, 343, 379, 484, 264, 3113, 1059, 4313, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 46, 89, 304, 453, 378, 383, 9041, 869, 93, 69, 3113, 2371, 6675, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 40, 842, 350, 1558, 451, 1060, 3113, 13822, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 54, 373, 773, 605, 5399, 1354, 8996, 3113, 23543, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 3882, 2999, 744, 3113, 5958, 21, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 56, 581, 379, 69, 25793, 83, 3113, 1059, 3600, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 47, 381, 77, 9040, 1766, 79, 265, 275, 3113, 2872, 21, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 54, 6186, 348, 343, 379, 27779, 3113, 2371, 2643, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 46, 1303, 83, 840, 420, 77, 3113, 20217, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1435, 1216, 587, 5980, 503, 288, 3639, 1004, 273, 394, 490, 725, 1227, 5621, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 46, 773, 265, 12569, 3113, 17335, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 49, 1354, 69, 292, 348, 343, 379, 484, 264, 3113, 1059, 4313, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 46, 89, 304, 453, 378, 383, 9041, 869, 93, 69, 3113, 2371, 6675, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 40, 842, 350, 1558, 451, 1060, 3113, 13822, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 54, 373, 773, 605, 5399, 1354, 8996, 3113, 23543, 10019, 3639, 29380, 18, 1289, 12, 2704, 13702, 2932, 2 ]
final ICElement element = delta.getElement();
final ICElement element = delta.getElement();
protected ICElementDelta findElement(ICElement unit, ICElementDelta delta) { if (delta == null || unit == null) { return null; } final ICElement element = delta.getElement(); if (unit.equals(element)) { if (isPossibleStructuralChange(delta)) { return delta; } return null; } if (element.getElementType() > ICElement.C_UNIT) { return null; } final ICElementDelta[] children = delta.getAffectedChildren(); if (children == null || children.length == 0) { return null; } for (int i = 0; i < children.length; i++) { final ICElementDelta d = findElement(unit, children[i]); if (d != null) { return d; } } return null; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/41d098da72990706a7f21c5e8f13a2c01b778543/CContentOutlinerProvider.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CContentOutlinerProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 26899, 1046, 9242, 1104, 1046, 12, 2871, 1046, 2836, 16, 26899, 1046, 9242, 3622, 13, 3639, 288, 5411, 309, 261, 9878, 422, 446, 747, 2836, 422, 446, 13, 5411, 288, 7734, 327, 446, 31, 5411, 289, 5411, 727, 26899, 1046, 930, 273, 3622, 18, 21336, 5621, 5411, 309, 261, 4873, 18, 14963, 12, 2956, 3719, 5411, 288, 7734, 309, 261, 291, 13576, 14372, 3043, 12, 9878, 3719, 7734, 288, 10792, 327, 3622, 31, 7734, 289, 7734, 327, 446, 31, 5411, 289, 5411, 309, 261, 2956, 18, 588, 17481, 1435, 405, 26899, 1046, 18, 39, 67, 15736, 13, 5411, 288, 7734, 327, 446, 31, 5411, 289, 5411, 727, 26899, 1046, 9242, 8526, 2325, 273, 3622, 18, 588, 23775, 4212, 5621, 5411, 309, 261, 5906, 422, 446, 747, 2325, 18, 2469, 422, 374, 13, 5411, 288, 7734, 327, 446, 31, 5411, 289, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 5411, 288, 7734, 727, 26899, 1046, 9242, 302, 273, 1104, 1046, 12, 4873, 16, 2325, 63, 77, 19226, 7734, 309, 261, 72, 480, 446, 13, 7734, 288, 10792, 327, 302, 31, 7734, 289, 5411, 289, 5411, 327, 446, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 26899, 1046, 9242, 1104, 1046, 12, 2871, 1046, 2836, 16, 26899, 1046, 9242, 3622, 13, 3639, 288, 5411, 309, 261, 9878, 422, 446, 747, 2836, 422, 446, 13, 5411, 288, 7734, 327, 446, 31, 5411, 289, 5411, 727, 26899, 1046, 930, 273, 3622, 18, 21336, 5621, 5411, 309, 261, 4873, 18, 14963, 12, 2956, 3719, 5411, 288, 7734, 309, 261, 291, 13576, 14372, 3043, 12, 9878, 3719, 7734, 288, 10792, 327, 3622, 31, 7734, 289, 7734, 327, 446, 31, 5411, 289, 5411, 309, 261, 2956, 18, 588, 17481, 1435, 405, 26899, 1046, 18, 39, 67, 15736, 13, 5411, 288, 7734, 327, 446, 31, 5411, 289, 5411, 727, 26899, 1046, 9242, 8526, 2325, 273, 3622, 18, 588, 23775, 2 ]
public SipStack createSipStack(Properties properties) throws PeerUnavailableException { String ipAddress = properties.getProperty("javax.sip.IP_ADDRESS"); // IP address was not specified in the properties. // this means that the architecture supports a single sip stack // and each listening point is assinged its own IP address. if ( ipAddress == null) { if (mySipStack == null) { mySipStack = createStack(properties); } return mySipStack; } else { // Check to see if a stack with that IP Address is already // created, if so select it to be returned int i = 0; for (i = 0; i < sipStackList.size(); i++) { if (((SipStack) sipStackList.get(i)).getIPAddress().equals( ipAddress )) { return (SipStack) sipStackList.get(i); } } return createStack(properties); } }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/70f534b74c145db71a785ecd6a84f7ca0035ced7/SipFactory.java/buggy/trunk/src/javax/sip/SipFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 225, 13475, 2624, 225, 752, 17550, 2624, 12, 2297, 225, 1790, 13, 1082, 202, 15069, 225, 10669, 15357, 225, 288, 202, 202, 780, 225, 17138, 225, 273, 225, 1790, 18, 588, 1396, 2932, 28384, 18, 28477, 18, 2579, 67, 15140, 8863, 202, 202, 759, 225, 2971, 225, 1758, 225, 1703, 225, 486, 225, 1269, 225, 316, 225, 326, 225, 1790, 18, 202, 202, 759, 225, 333, 225, 4696, 225, 716, 225, 326, 225, 27418, 225, 6146, 225, 279, 225, 2202, 225, 10341, 225, 2110, 21114, 202, 759, 225, 471, 225, 1517, 225, 13895, 225, 1634, 225, 353, 225, 1551, 310, 329, 225, 2097, 225, 4953, 225, 2971, 225, 1758, 18, 202, 202, 430, 225, 261, 225, 17138, 225, 422, 225, 446, 13, 225, 288, 1082, 202, 430, 225, 261, 4811, 17550, 2624, 225, 422, 225, 446, 13, 225, 288, 9506, 202, 4811, 17550, 2624, 225, 273, 225, 752, 2624, 12, 4738, 1769, 1082, 202, 97, 1082, 202, 2463, 225, 3399, 17550, 2624, 31, 202, 202, 97, 225, 469, 225, 288, 1082, 202, 759, 225, 2073, 225, 358, 225, 2621, 225, 309, 225, 279, 225, 2110, 225, 598, 225, 716, 225, 2971, 225, 5267, 225, 353, 225, 1818, 1082, 202, 759, 225, 2522, 16, 225, 309, 225, 1427, 225, 2027, 225, 518, 225, 358, 225, 506, 225, 2106, 1082, 202, 474, 225, 277, 225, 273, 225, 374, 31, 1082, 202, 1884, 225, 261, 77, 225, 273, 225, 374, 31, 225, 277, 225, 411, 225, 10341, 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, 225, 13475, 2624, 225, 752, 17550, 2624, 12, 2297, 225, 1790, 13, 1082, 202, 15069, 225, 10669, 15357, 225, 288, 202, 202, 780, 225, 17138, 225, 273, 225, 1790, 18, 588, 1396, 2932, 28384, 18, 28477, 18, 2579, 67, 15140, 8863, 202, 202, 759, 225, 2971, 225, 1758, 225, 1703, 225, 486, 225, 1269, 225, 316, 225, 326, 225, 1790, 18, 202, 202, 759, 225, 333, 225, 4696, 225, 716, 225, 326, 225, 27418, 225, 6146, 225, 279, 225, 2202, 225, 10341, 225, 2110, 21114, 202, 759, 225, 471, 225, 1517, 225, 13895, 225, 1634, 225, 353, 225, 1551, 310, 329, 225, 2097, 225, 4953, 225, 2971, 225, 1758, 18, 202, 202, 430, 225, 261, 225, 2 ]
ptype = sig == 'J' ? Type.long_type : Type.int_type;
ptype = sig == 'J' ? LangPrimType.longType : LangPrimType.intType;
public void compile (ApplyExp exp, Compilation comp, Target target) { Expression[] args = exp.getArgs(); int len = args.length; if (len == 0) { comp.compileConstant(IntNum.zero(), target); return; } Type type = getReturnType(args); Type ttype = target.getType(); if (len == 1) { // FIXME ApplyExp.compile(exp, comp, target); return; } PrimType ptype = null; if (ttype instanceof PrimType) { char sig = type.getSignature().charAt(0); if (sig == 'V' || sig == 'Z' || sig == 'C') ptype = null; // error else if (sig == 'D' || sig == 'F') { if (type.isSubtype(typeRealNum)) ptype = Type.double_type; } else { if (type.isSubtype(typeIntNum)) ptype = sig == 'J' ? Type.long_type : Type.int_type; } } if (ptype != null) { CodeAttr code = comp.getCode(); // FIXME would be nice to use iinc when appropriate! // We would need to use a special LocalVariableTarget, // created by SetExp when dest is a local variable. // Then if len==2 && ptype==Type.int_type // && target instanceof LocalVariableTarget // && one arg is QuoteExp && other arg is same local as target // => then emit iinc. args[0].compile(comp, ttype); for (int i = 1; i < len; i++) { args[i].compile(comp, ptype); if (plusOrMinus > 0) code.emitAdd(ptype); else code.emitSub(ptype); } target.compileFromStack(comp, ttype); } else ApplyExp.compile(exp, comp, target); }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/bcb2d6c9163c02bcc78e2033f3f249047aa482ac/AddOp.java/buggy/gnu/kawa/functions/AddOp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4074, 261, 7001, 2966, 1329, 16, 22416, 1161, 16, 5916, 1018, 13, 225, 288, 565, 5371, 8526, 833, 273, 1329, 18, 588, 2615, 5621, 565, 509, 562, 273, 833, 18, 2469, 31, 565, 309, 261, 1897, 422, 374, 13, 1377, 288, 202, 2919, 18, 11100, 6902, 12, 1702, 2578, 18, 7124, 9334, 1018, 1769, 202, 2463, 31, 1377, 289, 565, 1412, 618, 273, 18209, 12, 1968, 1769, 565, 1412, 27963, 273, 1018, 18, 588, 559, 5621, 565, 309, 261, 1897, 422, 404, 13, 1377, 288, 202, 759, 9852, 202, 7001, 2966, 18, 11100, 12, 2749, 16, 1161, 16, 1018, 1769, 202, 2463, 31, 1377, 289, 565, 2301, 381, 559, 24203, 273, 446, 31, 565, 309, 261, 88, 723, 1276, 2301, 381, 559, 13, 1377, 288, 202, 3001, 3553, 273, 618, 18, 588, 5374, 7675, 3001, 861, 12, 20, 1769, 202, 430, 261, 7340, 422, 296, 58, 11, 747, 3553, 422, 296, 62, 11, 747, 3553, 422, 296, 39, 6134, 202, 24203, 273, 446, 31, 368, 555, 202, 12107, 309, 261, 7340, 422, 296, 40, 11, 747, 3553, 422, 296, 42, 6134, 202, 225, 288, 202, 565, 309, 261, 723, 18, 291, 1676, 723, 12, 723, 6955, 2578, 3719, 202, 1377, 24203, 273, 1412, 18, 9056, 67, 723, 31, 202, 225, 289, 202, 12107, 202, 225, 288, 202, 565, 309, 261, 723, 18, 291, 1676, 723, 12, 723, 1702, 2578, 3719, 202, 1377, 24203, 273, 3553, 422, 296, 46, 11, 692, 1412, 18, 5748, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4074, 261, 7001, 2966, 1329, 16, 22416, 1161, 16, 5916, 1018, 13, 225, 288, 565, 5371, 8526, 833, 273, 1329, 18, 588, 2615, 5621, 565, 509, 562, 273, 833, 18, 2469, 31, 565, 309, 261, 1897, 422, 374, 13, 1377, 288, 202, 2919, 18, 11100, 6902, 12, 1702, 2578, 18, 7124, 9334, 1018, 1769, 202, 2463, 31, 1377, 289, 565, 1412, 618, 273, 18209, 12, 1968, 1769, 565, 1412, 27963, 273, 1018, 18, 588, 559, 5621, 565, 309, 261, 1897, 422, 404, 13, 1377, 288, 202, 759, 9852, 202, 7001, 2966, 18, 11100, 12, 2749, 16, 1161, 16, 1018, 1769, 202, 2463, 31, 1377, 289, 565, 2301, 381, 559, 24203, 273, 446, 31, 565, 309, 261, 2 ]
return window.getCoolBarManager();
return window.getCoolBarManager2();
public ICoolBarManager getCoolBarManager() { return window.getCoolBarManager(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/54532dbf350a8597a32c3325d699ca741a40ef83/WWinActionBars.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WWinActionBars.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26899, 1371, 5190, 1318, 1927, 1371, 5190, 1318, 1435, 288, 3639, 327, 2742, 18, 588, 39, 1371, 5190, 1318, 22, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26899, 1371, 5190, 1318, 1927, 1371, 5190, 1318, 1435, 288, 3639, 327, 2742, 18, 588, 39, 1371, 5190, 1318, 22, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new PSQLException("postgresql.con.failed", "failed getting autocommit status");
throw new PSQLException("postgresql.con.failed.bad.autocommit", PSQLState.CONNECTION_UNABLE_TO_CONNECT);
private void openConnectionV2(String host, int port, Properties info, String database, String url, Driver d, String password) throws SQLException { PGProtocolVersionMajor = 2; if (Driver.logDebug) Driver.debug("Using Protocol Version2"); // Now we need to construct and send an ssl startup packet try { if (useSSL) { if (Driver.logDebug) Driver.debug("Asking server if it supports ssl"); pgStream.SendInteger(8,4); pgStream.SendInteger(80877103,4); // now flush the ssl packets to the backend pgStream.flush(); // Now get the response from the backend, either an error message // or an authentication request int beresp = pgStream.ReceiveChar(); if (Driver.logDebug) Driver.debug("Server response was (S=Yes,N=No): "+(char)beresp); switch (beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new PSQLException("postgresql.con.misc", pgStream.ReceiveString(encoding)); case 'N': // Server does not support ssl throw new PSQLException("postgresql.con.sslnotsupported"); case 'S': // Server supports ssl if (Driver.logDebug) Driver.debug("server does support ssl"); Driver.makeSSL(pgStream); break; default: throw new PSQLException("postgresql.con.sslfail"); } } } catch (IOException e) { throw new PSQLException("postgresql.con.failed", e); } // Now we need to construct and send a startup packet try { new StartupPacket(PGProtocolVersionMajor, PGProtocolVersionMinor, PG_USER, database).writeTo(pgStream); // now flush the startup packets to the backend pgStream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pgStream.ReceiveChar(); String salt = null; byte [] md5Salt = new byte[4]; switch (beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new PSQLException("postgresql.con.misc", pgStream.ReceiveString(encoding)); case 'R': // Get the type of request areq = pgStream.ReceiveIntegerR(4); // Get the crypt password salt if there is one if (areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pgStream.ReceiveChar(); rst[1] = (byte)pgStream.ReceiveChar(); salt = new String(rst, 0, 2); if (Driver.logDebug) Driver.debug("Crypt salt=" + salt); } // Or get the md5 password salt if there is one if (areq == AUTH_REQ_MD5) { md5Salt[0] = (byte)pgStream.ReceiveChar(); md5Salt[1] = (byte)pgStream.ReceiveChar(); md5Salt[2] = (byte)pgStream.ReceiveChar(); md5Salt[3] = (byte)pgStream.ReceiveChar(); salt = new String(md5Salt, 0, 4); if (Driver.logDebug) Driver.debug("MD5 salt=" + salt); } // now send the auth packet switch (areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: if (Driver.logDebug) Driver.debug("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: if (Driver.logDebug) Driver.debug("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_PASSWORD: if (Driver.logDebug) Driver.debug("postgresql: PASSWORD"); pgStream.SendInteger(5 + password.length(), 4); pgStream.Send(password.getBytes()); pgStream.SendInteger(0, 1); pgStream.flush(); break; case AUTH_REQ_CRYPT: if (Driver.logDebug) Driver.debug("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt, password); pgStream.SendInteger(5 + crypted.length(), 4); pgStream.Send(crypted.getBytes()); pgStream.SendInteger(0, 1); pgStream.flush(); break; case AUTH_REQ_MD5: if (Driver.logDebug) Driver.debug("postgresql: MD5"); byte[] digest = MD5Digest.encode(PG_USER, password, md5Salt); pgStream.SendInteger(5 + digest.length, 4); pgStream.Send(digest); pgStream.SendInteger(0, 1); pgStream.flush(); break; default: throw new PSQLException("postgresql.con.auth", new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while (areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed", e); } // As of protocol version 2.0, we should now receive the cancellation key and the pid int beresp; do { beresp = pgStream.ReceiveChar(); switch (beresp) { case 'K': pid = pgStream.ReceiveIntegerR(4); ckey = pgStream.ReceiveIntegerR(4); break; case 'E': throw new PSQLException("postgresql.con.backend", pgStream.ReceiveString(encoding)); case 'N': addWarning(pgStream.ReceiveString(encoding)); break; default: throw new PSQLException("postgresql.con.setup"); } } while (beresp == 'N'); // Expect ReadyForQuery packet do { beresp = pgStream.ReceiveChar(); switch (beresp) { case 'Z': break; case 'N': addWarning(pgStream.ReceiveString(encoding)); break; case 'E': throw new PSQLException("postgresql.con.backend", pgStream.ReceiveString(encoding)); default: throw new PSQLException("postgresql.con.setup"); } } while (beresp == 'N'); // "pg_encoding_to_char(1)" will return 'EUC_JP' for a backend compiled with multibyte, // otherwise it's hardcoded to 'SQL_ASCII'. // If the backend doesn't know about multibyte we can't assume anything about the encoding // used, so we denote this with 'UNKNOWN'. //Note: begining with 7.2 we should be using pg_client_encoding() which //is new in 7.2. However it isn't easy to conditionally call this new //function, since we don't yet have the information as to what server //version we are talking to. Thus we will continue to call //getdatabaseencoding() until we drop support for 7.1 and older versions //or until someone comes up with a conditional way to run one or //the other function depending on server version that doesn't require //two round trips to the server per connection final String encodingQuery = "case when pg_encoding_to_char(1) = 'SQL_ASCII' then 'UNKNOWN' else getdatabaseencoding() end"; // Set datestyle and fetch db encoding in a single call, to avoid making // more than one round trip to the backend during connection startup. BaseResultSet resultSet = execSQL("set datestyle to 'ISO'; select version(), " + encodingQuery + ";"); if (! resultSet.next()) { throw new PSQLException("postgresql.con.failed", "failed getting backend encoding"); } String version = resultSet.getString(1); dbVersionNumber = extractVersionNumber(version); String dbEncoding = resultSet.getString(2); encoding = Encoding.getEncoding(dbEncoding, info.getProperty("charSet")); //TODO: remove this once the set is done as part of V3protocol connection initiation if (haveMinimumServerVersion("7.4")) { BaseResultSet acRset = execSQL("set client_encoding = 'UNICODE'"); //set encoding to be unicode encoding = Encoding.getEncoding("UNICODE", null); } //In 7.3 we are forced to do a second roundtrip to handle the case //where a database may not be running in autocommit mode //jdbc by default assumes autocommit is on until setAutoCommit(false) //is called. Therefore we need to ensure a new connection is //initialized to autocommit on. //We also set the client encoding so that the driver only needs //to deal with utf8. We can only do this in 7.3+ because multibyte //support is now always included if (haveMinimumServerVersion("7.3") && !haveMinimumServerVersion("7.4")) { BaseResultSet acRset = execSQL("set client_encoding = 'UNICODE'; show autocommit"); //set encoding to be unicode encoding = Encoding.getEncoding("UNICODE", null); if (!acRset.next()) { throw new PSQLException("postgresql.con.failed", "failed getting autocommit status"); } //if autocommit is currently off we need to turn it on //note that we will be in a transaction because the select above //will have initiated the transaction so we need a commit //to make the setting permanent if (acRset.getString(1).equals("off")) { execSQL("set autocommit = on; commit;"); } } // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup PG_STATUS = CONNECTION_OK; }
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/0378a269f3ab3c44e67b14f96414b6ca95263263/AbstractJdbc1Connection.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 24982, 58, 22, 12, 780, 1479, 16, 509, 1756, 16, 6183, 1123, 16, 514, 2063, 16, 514, 880, 16, 9396, 302, 16, 514, 2201, 13, 1216, 6483, 202, 225, 288, 202, 202, 18679, 28252, 17581, 273, 576, 31, 202, 202, 430, 261, 4668, 18, 1330, 2829, 13, 1082, 202, 4668, 18, 4148, 2932, 7736, 4547, 4049, 22, 8863, 202, 202, 759, 4494, 732, 1608, 358, 4872, 471, 1366, 392, 5832, 11850, 4414, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 261, 1202, 6745, 13, 288, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 23663, 310, 1438, 309, 518, 6146, 5832, 8863, 9506, 202, 8365, 1228, 18, 3826, 4522, 12, 28, 16, 24, 1769, 9506, 202, 8365, 1228, 18, 3826, 4522, 12, 3672, 28, 4700, 23494, 16, 24, 1769, 9506, 202, 759, 2037, 3663, 326, 5832, 12640, 358, 326, 4221, 9506, 202, 8365, 1228, 18, 11330, 5621, 9506, 202, 759, 4494, 336, 326, 766, 628, 326, 4221, 16, 3344, 392, 555, 883, 9506, 202, 759, 578, 392, 5107, 590, 9506, 202, 474, 324, 11737, 84, 273, 7184, 1228, 18, 11323, 2156, 5621, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 2081, 766, 1703, 261, 55, 33, 22352, 16, 50, 33, 2279, 4672, 13773, 12, 3001, 13, 744, 281, 84, 1769, 9506, 202, 9610, 261, 744, 281, 84, 13, 6862, 202, 95, 6862, 202, 3593, 296, 41, 4278, 25083, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 24982, 58, 22, 12, 780, 1479, 16, 509, 1756, 16, 6183, 1123, 16, 514, 2063, 16, 514, 880, 16, 9396, 302, 16, 514, 2201, 13, 1216, 6483, 202, 225, 288, 202, 202, 18679, 28252, 17581, 273, 576, 31, 202, 202, 430, 261, 4668, 18, 1330, 2829, 13, 1082, 202, 4668, 18, 4148, 2932, 7736, 4547, 4049, 22, 8863, 202, 202, 759, 4494, 732, 1608, 358, 4872, 471, 1366, 392, 5832, 11850, 4414, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 261, 1202, 6745, 13, 288, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 23663, 310, 1438, 309, 518, 6146, 5832, 8863, 9506, 202, 8365, 1228, 18, 3826, 2 ]
EepGet get = new EepGet(_context, _shouldProxy, _proxyHost, _proxyPort, 1, out.getAbsolutePath(), url);
String fetchURL = rewriteAnnounce(url); _log.debug("Rewritten url [" + fetchURL + "]"); EepGet get = new EepGet(_context, _shouldProxy, _proxyHost, _proxyPort, 1, out.getAbsolutePath(), fetchURL);
File get(String url) { File out = null; try { out = File.createTempFile("i2psnark", "url"); } catch (IOException ioe) { ioe.printStackTrace(); return null; } EepGet get = new EepGet(_context, _shouldProxy, _proxyHost, _proxyPort, 1, out.getAbsolutePath(), url); if (get.fetch()) { return out; } else { out.delete(); return null; } }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/7ac673cea4cf48c16ec78ec755d8b77fd62d9ced/I2PSnarkUtil.java/clean/apps/i2psnark/java/src/org/klomp/snark/I2PSnarkUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1387, 336, 12, 780, 880, 13, 288, 3639, 1387, 596, 273, 446, 31, 3639, 775, 288, 5411, 596, 273, 1387, 18, 2640, 20181, 2932, 77, 22, 1121, 82, 1313, 3113, 315, 718, 8863, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 10847, 18, 1188, 6332, 5621, 5411, 327, 446, 31, 3639, 289, 3639, 514, 2158, 1785, 273, 10738, 23137, 12, 718, 1769, 389, 1330, 18, 4148, 2932, 17631, 583, 2253, 880, 8247, 397, 2158, 1785, 397, 9870, 1769, 512, 881, 967, 336, 273, 394, 512, 881, 967, 24899, 2472, 16, 389, 13139, 3886, 16, 389, 5656, 2594, 16, 389, 5656, 2617, 16, 404, 16, 596, 18, 588, 10368, 743, 9334, 2158, 1785, 1769, 3639, 309, 261, 588, 18, 5754, 10756, 288, 5411, 327, 596, 31, 3639, 289, 469, 288, 5411, 596, 18, 3733, 5621, 5411, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1387, 336, 12, 780, 880, 13, 288, 3639, 1387, 596, 273, 446, 31, 3639, 775, 288, 5411, 596, 273, 1387, 18, 2640, 20181, 2932, 77, 22, 1121, 82, 1313, 3113, 315, 718, 8863, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 10847, 18, 1188, 6332, 5621, 5411, 327, 446, 31, 3639, 289, 3639, 514, 2158, 1785, 273, 10738, 23137, 12, 718, 1769, 389, 1330, 18, 4148, 2932, 17631, 583, 2253, 880, 8247, 397, 2158, 1785, 397, 9870, 1769, 512, 881, 967, 336, 273, 394, 512, 881, 967, 24899, 2472, 16, 389, 13139, 3886, 16, 389, 5656, 2594, 16, 389, 5656, 2617, 16, 404, 16, 596, 18, 588, 10368, 743, 9334, 2158, 1785, 1769, 3639, 309, 261, 588, 2 ]
case Id_setDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setDate(args));
case Id_setDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setDate(args));
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_UTC: return wrap_double (jsStaticFunction_UTC(args)); case ConstructorId_parse: return wrap_double (jsStaticFunction_parse(ScriptRuntime.toString(args, 0))); case Id_constructor: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f, true). jsFunction_toString(); case Id_toTimeString: return realThis(thisObj, f, true). jsFunction_toTimeString(); case Id_toDateString: return realThis(thisObj, f, true). jsFunction_toDateString(); case Id_toLocaleString: return realThis(thisObj, f, true). jsFunction_toLocaleString(); case Id_toLocaleTimeString: return realThis(thisObj, f, true). jsFunction_toLocaleTimeString(); case Id_toLocaleDateString: return realThis(thisObj, f, true). jsFunction_toLocaleDateString(); case Id_toGMTString: case Id_toUTCString: return realThis(thisObj, f, true). jsFunction_toUTCString(); case Id_valueOf: return wrap_double(realThis(thisObj, f, true). jsFunction_valueOf()); case Id_getTime: return wrap_double(realThis(thisObj, f, true). jsFunction_getTime()); case Id_getYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getYear(cx)); case Id_getFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getFullYear()); case Id_getUTCFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCFullYear()); case Id_getMonth: return wrap_double(realThis(thisObj, f, true). jsFunction_getMonth()); case Id_getUTCMonth: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMonth()); case Id_getDate: return wrap_double(realThis(thisObj, f, true). jsFunction_getDate()); case Id_getUTCDate: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCDate()); case Id_getDay: return wrap_double(realThis(thisObj, f, true). jsFunction_getDay()); case Id_getUTCDay: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCDay()); case Id_getHours: return wrap_double(realThis(thisObj, f, true). jsFunction_getHours()); case Id_getUTCHours: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCHours()); case Id_getMinutes: return wrap_double(realThis(thisObj, f, true). jsFunction_getMinutes()); case Id_getUTCMinutes: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMinutes()); case Id_getSeconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getSeconds()); case Id_getUTCSeconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCSeconds()); case Id_getMilliseconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getMilliseconds()); case Id_getUTCMilliseconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMilliseconds()); case Id_getTimezoneOffset: return wrap_double(realThis(thisObj, f, true). jsFunction_getTimezoneOffset()); case Id_setTime: return wrap_double(realThis(thisObj, f, true). jsFunction_setTime(ScriptRuntime.toNumber(args, 0))); case Id_setMilliseconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setMilliseconds(args)); case Id_setUTCMilliseconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMilliseconds(args)); case Id_setSeconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setSeconds(args)); case Id_setUTCSeconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCSeconds(args)); case Id_setMinutes: return wrap_double(realThis(thisObj, f, false). jsFunction_setMinutes(args)); case Id_setUTCMinutes: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMinutes(args)); case Id_setHours: return wrap_double(realThis(thisObj, f, false). jsFunction_setHours(args)); case Id_setUTCHours: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCHours(args)); case Id_setDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setDate(args)); case Id_setUTCDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCDate(args)); case Id_setMonth: return wrap_double(realThis(thisObj, f, false). jsFunction_setMonth(args)); case Id_setUTCMonth: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMonth(args)); case Id_setFullYear: return wrap_double(realThis(thisObj, f, false). jsFunction_setFullYear(args)); case Id_setUTCFullYear: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCFullYear(args)); case Id_setYear: return wrap_double(realThis(thisObj, f, true). jsFunction_setYear(ScriptRuntime.toNumber(args, 0))); } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeDate.java/buggy/js/rhino/src/org/mozilla/javascript/NativeDate.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, 11417, 548, 67, 11471, 30, 327, 2193, 67, 9056, 5411, 261, 2924, 5788, 2083, 67, 11471, 12, 1968, 10019, 3639, 648, 11417, 548, 67, 2670, 30, 327, 2193, 67, 9056, 5411, 261, 2924, 5788, 2083, 67, 2670, 12, 3651, 5576, 18, 10492, 12, 1968, 16, 374, 3719, 1769, 3639, 648, 3124, 67, 12316, 30, 5411, 327, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 10492, 5621, 3639, 648, 3124, 67, 869, 950, 780, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 869, 950, 780, 5621, 3639, 648, 3124, 67, 869, 1626, 780, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 869, 1626, 780, 5621, 3639, 648, 3124, 67, 869, 3916, 780, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 869, 3916, 780, 5621, 3639, 648, 3124, 67, 869, 3916, 950, 780, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 16, 638, 2934, 5411, 3828, 2083, 67, 869, 3916, 950, 780, 5621, 3639, 648, 3124, 67, 869, 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, 11417, 548, 67, 11471, 30, 327, 2193, 67, 9056, 5411, 261, 2924, 5788, 2083, 67, 11471, 12, 1968, 10019, 3639, 648, 11417, 548, 67, 2670, 30, 327, 2193, 67, 9056, 5411, 261, 2924, 5788, 2083, 67, 2670, 12, 3651, 5576, 18, 10492, 12, 1968, 16, 374, 3719, 1769, 3639, 648, 3124, 67, 12316, 30, 5411, 327, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2 ]
varTable, needsActivation, securityDomain);
varTable, needsActivation, securityDomain);
generateFunctionICode(Context cx, Scriptable scope, FunctionNode theFunction, Object securityDomain) { itsFunctionList = (Vector) theFunction.getProp(Node.FUNCTION_PROP); if (itsFunctionList != null) generateNestedFunctions(scope, cx, securityDomain); Object[] regExpLiterals = null; Vector regexps = (Vector)theFunction.getProp(Node.REGEXP_PROP); if (regexps != null) regExpLiterals = generateRegExpLiterals(cx, scope, regexps); VariableTable varTable = theFunction.getVariableTable(); boolean needsActivation = theFunction.requiresActivation() || cx.isGeneratingDebug(); generateICodeFromTree(theFunction.getLastChild(), varTable, needsActivation, securityDomain); itsData.itsName = theFunction.getFunctionName(); itsData.itsSourceFile = (String) theFunction.getProp( Node.SOURCENAME_PROP); itsData.itsSource = (String)theFunction.getProp(Node.SOURCE_PROP); itsData.itsNestedFunctions = itsNestedFunctions; itsData.itsRegExpLiterals = regExpLiterals; if (printICode) dumpICode(itsData); InterpretedFunction result = new InterpretedFunction(itsData, cx); if (cx.debugger != null) { cx.debugger.handleCompilationDone(cx, result, debugSource); } return result; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/3eb542db2c80d7521ea272c802d999a32072bfb6/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2103, 2083, 45, 1085, 12, 1042, 9494, 16, 22780, 2146, 16, 21821, 4284, 907, 326, 2083, 16, 1033, 4373, 3748, 13, 565, 288, 3639, 2097, 2083, 682, 273, 261, 5018, 13, 326, 2083, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 3639, 309, 261, 1282, 2083, 682, 480, 446, 13, 2398, 2103, 8649, 7503, 12, 4887, 16, 9494, 16, 4373, 3748, 1769, 3639, 1033, 8526, 31223, 48, 11235, 273, 446, 31, 3639, 5589, 3936, 1121, 273, 261, 5018, 13, 5787, 2083, 18, 588, 4658, 12, 907, 18, 28225, 67, 15811, 1769, 3639, 309, 261, 7584, 1121, 480, 446, 13, 2398, 31223, 48, 11235, 273, 2103, 13673, 48, 11235, 12, 71, 92, 16, 2146, 16, 3936, 1121, 1769, 3639, 7110, 1388, 569, 1388, 273, 326, 2083, 18, 588, 3092, 1388, 5621, 3639, 1250, 4260, 14857, 273, 326, 2083, 18, 18942, 14857, 1435, 747, 21394, 9494, 18, 291, 21755, 2829, 5621, 3639, 2103, 45, 1085, 1265, 2471, 12, 5787, 2083, 18, 588, 3024, 1763, 9334, 27573, 569, 1388, 16, 4260, 14857, 16, 1171, 9079, 4373, 3748, 1769, 10792, 2097, 751, 18, 1282, 461, 273, 326, 2083, 18, 588, 25258, 5621, 3639, 2097, 751, 18, 1282, 31150, 273, 261, 780, 13, 326, 2083, 18, 588, 4658, 12, 4766, 565, 2029, 18, 3584, 1099, 39, 21150, 67, 15811, 1769, 3639, 2097, 751, 18, 1282, 1830, 273, 261, 780, 13, 5787, 2083, 18, 588, 4658, 12, 907, 18, 6537, 67, 15811, 1769, 3639, 2097, 751, 18, 1282, 8649, 7503, 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, 2103, 2083, 45, 1085, 12, 1042, 9494, 16, 22780, 2146, 16, 21821, 4284, 907, 326, 2083, 16, 1033, 4373, 3748, 13, 565, 288, 3639, 2097, 2083, 682, 273, 261, 5018, 13, 326, 2083, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 3639, 309, 261, 1282, 2083, 682, 480, 446, 13, 2398, 2103, 8649, 7503, 12, 4887, 16, 9494, 16, 4373, 3748, 1769, 3639, 1033, 8526, 31223, 48, 11235, 273, 446, 31, 3639, 5589, 3936, 1121, 273, 261, 5018, 13, 5787, 2083, 18, 588, 4658, 12, 907, 18, 28225, 67, 15811, 1769, 3639, 309, 261, 7584, 1121, 480, 446, 13, 2398, 31223, 48, 11235, 273, 2103, 13673, 48, 11235, 12, 71, 92, 16, 2146, 16, 3936, 1121, 2 ]
private static void parseAdviseElements( final Element element, final AspectDefinition aspectDef) { AdviceWeavingRule adviceWeavingRule = new AdviceWeavingRule();
private static void parseAdviseElements(final Element aspect, final AspectDefinition aspectDef) { for (Iterator it2 = aspect.elementIterator(); it2.hasNext();) { final Element nestedAdviceElement = (Element)it2.next(); if (nestedAdviceElement.getName().trim().equals("advise") || nestedAdviceElement.getName().trim().equals("advice")) { try { AdviceWeavingRule adviceWeavingRule = new AdviceWeavingRule();
private static void parseAdviseElements( final Element element, final AspectDefinition aspectDef) { AdviceWeavingRule adviceWeavingRule = new AdviceWeavingRule(); for (Iterator it3 = element.attributeIterator(); it3.hasNext();) { Attribute attribute = (Attribute)it3.next(); String name = attribute.getName().trim(); String value = attribute.getValue().trim(); if (name.equals("cflow")) { adviceWeavingRule.setCFlowExpression(value); } else if (name.equals("pointcut") || name.equals("expression")) { adviceWeavingRule.setExpression(value); } else if (name.equals("advice-ref")) { adviceWeavingRule.addAdviceRef(value); break; // if advice-ref as an attribute => no more advices } } parseAdviceWeavingRuleNestedElements(element, adviceWeavingRule); aspectDef.addAdviceWeavingRule(adviceWeavingRule); // add the pointcut patterns to simplify the matching if (!aspectDef.isAbstract()) { for (Iterator it = aspectDef.getPointcutDefs().iterator(); it.hasNext();) { addPointcutPattern((PointcutDefinition)it.next(), adviceWeavingRule); } } }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/4479a0b620bfee7587f3ccefa780c178e06a676e/XmlDefinitionParser.java/buggy/aspectwerkz/src/main/org/codehaus/aspectwerkz/definition/XmlDefinitionParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1109, 28915, 784, 3471, 12, 5411, 727, 3010, 930, 16, 5411, 727, 2970, 1181, 1852, 9648, 3262, 13, 288, 3639, 4052, 633, 3218, 5339, 2175, 29929, 3218, 5339, 2175, 273, 394, 4052, 633, 3218, 5339, 2175, 5621, 3639, 364, 261, 3198, 518, 23, 273, 930, 18, 4589, 3198, 5621, 518, 23, 18, 5332, 2134, 5621, 13, 288, 5411, 3601, 1566, 273, 261, 1499, 13, 305, 23, 18, 4285, 5621, 5411, 514, 508, 273, 1566, 18, 17994, 7675, 5290, 5621, 5411, 514, 460, 273, 1566, 18, 24805, 7675, 5290, 5621, 5411, 309, 261, 529, 18, 14963, 2932, 71, 2426, 6, 3719, 288, 7734, 29929, 3218, 5339, 2175, 18, 542, 39, 5249, 2300, 12, 1132, 1769, 5411, 289, 5411, 469, 309, 261, 529, 18, 14963, 2932, 1153, 5150, 7923, 747, 508, 18, 14963, 2932, 8692, 6, 3719, 288, 7734, 29929, 3218, 5339, 2175, 18, 542, 2300, 12, 1132, 1769, 5411, 289, 5411, 469, 309, 261, 529, 18, 14963, 2932, 361, 633, 17, 1734, 6, 3719, 288, 7734, 29929, 3218, 5339, 2175, 18, 1289, 1871, 633, 1957, 12, 1132, 1769, 7734, 898, 31, 368, 309, 29929, 17, 1734, 487, 392, 1566, 516, 1158, 1898, 1261, 2094, 5411, 289, 3639, 289, 3639, 1109, 1871, 633, 3218, 5339, 2175, 8649, 3471, 12, 2956, 16, 29929, 3218, 5339, 2175, 1769, 3639, 9648, 3262, 18, 1289, 1871, 633, 3218, 5339, 2175, 12, 361, 633, 3218, 5339, 2175, 1769, 3639, 368, 527, 326, 29774, 6884, 358, 16499, 326, 3607, 3639, 309, 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, 1109, 28915, 784, 3471, 12, 5411, 727, 3010, 930, 16, 5411, 727, 2970, 1181, 1852, 9648, 3262, 13, 288, 3639, 4052, 633, 3218, 5339, 2175, 29929, 3218, 5339, 2175, 273, 394, 4052, 633, 3218, 5339, 2175, 5621, 3639, 364, 261, 3198, 518, 23, 273, 930, 18, 4589, 3198, 5621, 518, 23, 18, 5332, 2134, 5621, 13, 288, 5411, 3601, 1566, 273, 261, 1499, 13, 305, 23, 18, 4285, 5621, 5411, 514, 508, 273, 1566, 18, 17994, 7675, 5290, 5621, 5411, 514, 460, 273, 1566, 18, 24805, 7675, 5290, 5621, 5411, 309, 261, 529, 18, 14963, 2932, 71, 2426, 6, 3719, 288, 7734, 29929, 3218, 5339, 2175, 18, 542, 39, 5249, 2300, 12, 1132, 1769, 5411, 2 ]
lResult1 = LookupUtil.getBeanProperty(mTableDecorator, mProperty); lResult2 = LookupUtil.getBeanProperty(mTableDecorator, mProperty);
((TableDecorator) tableDecorator).initRow(lObj1, 0, 0); lResult1 = LookupUtil.getBeanProperty(tableDecorator, property); ((TableDecorator) tableDecorator).initRow(lObj2, 0, 0); lResult2 = LookupUtil.getBeanProperty(tableDecorator, property);
public final int compare(Object pObject1, Object pObject2) { Object lObj1 = null; Object lObj2 = null; // if property is null compare using two static cell objects if (mProperty == null) { if (pObject1 instanceof Row) { lObj1 = ((Row) pObject1).getCellList().get(mColumnIndex); } if (pObject2 instanceof Row) { lObj2 = ((Row) pObject2).getCellList().get(mColumnIndex); } return checkNullsAndCompare(lObj1, lObj2); } else { if (pObject1 instanceof Row) { lObj1 = ((Row) pObject1).getObject(); } if (pObject2 instanceof Row) { lObj2 = ((Row) pObject2).getObject(); } try { Object lResult1 = null; Object lResult2 = null; // If they have supplied a decorator, then make sure and use it for the sorting as well if (mTableDecorator != null && mTableDecorator.hasGetterFor(mProperty)) { lResult1 = LookupUtil.getBeanProperty(mTableDecorator, mProperty); lResult2 = LookupUtil.getBeanProperty(mTableDecorator, mProperty); } else { lResult1 = LookupUtil.getBeanProperty(lObj1, mProperty); lResult2 = LookupUtil.getBeanProperty(lObj2, mProperty); } return checkNullsAndCompare(lResult1, lResult2); } catch (ObjectLookupException e) { /** @todo error handling need to be improved, can't throw an exception here */ mLog.error( "ObjectLookupException thrown while trying to fetch property \"" + mProperty + "\" during sort", e); throw new RuntimeException( "ObjectLookupException thrown while trying to fetch property \"" + mProperty + "\" during sort"); } } }
10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/7f69be7f31b0e4fe8a4d4ecad7ab0a05c0bd9b0f/RowSorter.java/clean/displaytag/src/main/java/org/displaytag/model/RowSorter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 509, 3400, 12, 921, 293, 921, 21, 16, 1033, 293, 921, 22, 13, 565, 288, 3639, 1033, 328, 2675, 21, 273, 446, 31, 3639, 1033, 328, 2675, 22, 273, 446, 31, 3639, 368, 309, 1272, 353, 446, 3400, 1450, 2795, 760, 2484, 2184, 3639, 309, 261, 81, 1396, 422, 446, 13, 3639, 288, 5411, 309, 261, 84, 921, 21, 1276, 6556, 13, 5411, 288, 7734, 328, 2675, 21, 273, 14015, 1999, 13, 293, 921, 21, 2934, 588, 4020, 682, 7675, 588, 12, 81, 21689, 1769, 5411, 289, 5411, 309, 261, 84, 921, 22, 1276, 6556, 13, 5411, 288, 7734, 328, 2675, 22, 273, 14015, 1999, 13, 293, 921, 22, 2934, 588, 4020, 682, 7675, 588, 12, 81, 21689, 1769, 5411, 289, 5411, 327, 866, 31326, 1876, 8583, 12, 80, 2675, 21, 16, 328, 2675, 22, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 309, 261, 84, 921, 21, 1276, 6556, 13, 5411, 288, 7734, 328, 2675, 21, 273, 14015, 1999, 13, 293, 921, 21, 2934, 588, 921, 5621, 5411, 289, 5411, 309, 261, 84, 921, 22, 1276, 6556, 13, 5411, 288, 7734, 328, 2675, 22, 273, 14015, 1999, 13, 293, 921, 22, 2934, 588, 921, 5621, 5411, 289, 5411, 775, 5411, 288, 7734, 1033, 328, 1253, 21, 273, 446, 31, 7734, 1033, 328, 1253, 22, 273, 446, 31, 7734, 368, 971, 2898, 1240, 4580, 279, 7367, 16, 1508, 1221, 3071, 471, 999, 518, 364, 326, 9602, 487, 5492, 7734, 309, 261, 81, 1388, 10361, 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, 727, 509, 3400, 12, 921, 293, 921, 21, 16, 1033, 293, 921, 22, 13, 565, 288, 3639, 1033, 328, 2675, 21, 273, 446, 31, 3639, 1033, 328, 2675, 22, 273, 446, 31, 3639, 368, 309, 1272, 353, 446, 3400, 1450, 2795, 760, 2484, 2184, 3639, 309, 261, 81, 1396, 422, 446, 13, 3639, 288, 5411, 309, 261, 84, 921, 21, 1276, 6556, 13, 5411, 288, 7734, 328, 2675, 21, 273, 14015, 1999, 13, 293, 921, 21, 2934, 588, 4020, 682, 7675, 588, 12, 81, 21689, 1769, 5411, 289, 5411, 309, 261, 84, 921, 22, 1276, 6556, 13, 5411, 288, 7734, 328, 2675, 22, 273, 14015, 1999, 13, 293, 921, 22, 2934, 588, 4020, 682, 7675, 588, 12, 2 ]
if (!propagateKeys) { e.doit = false; return; } if (e.type == SWT.Traverse) { return; }
return; } if (e.type == SWT.Traverse) { return;
private void addControlListener(Control control) { if (DEBUG) { System.out .println("ContentProposalListener#installControlListener()"); //$NON-NLS-1$ } if (controlListener != null) { return; } controlListener = new Listener() { public void handleEvent(Event e) { if (!isEnabled) { return; } switch (e.type) { case SWT.Traverse: case SWT.KeyDown: if (DEBUG) { dump("Traverse and KeyDown received by adapter", e); //$NON-NLS-1$ } // If the popup is open, it gets first shot at the // keystroke. if (popup != null) { popup.getTargetControlListener().handleEvent(e); // If we are not propagating keys to the control while // the popup is open, then we are done. if (!propagateKeys) { e.doit = false; return; } // We were only listening to traverse events for the popup if (e.type == SWT.Traverse) { return; } } // The popup is not open. We are looking at keydown events // for a trigger to open the popup. if (triggerKeyStroke != null) { // Either there are no modifiers for the trigger and we // check the character field... if ((triggerKeyStroke.getModifierKeys() == KeyStroke.NO_KEY && triggerKeyStroke .getNaturalKey() == e.character) || // ...or there are modifiers, in which case the // keycode and state must match (triggerKeyStroke.getNaturalKey() == e.keyCode && ((triggerKeyStroke .getModifierKeys() & e.stateMask) == triggerKeyStroke .getModifierKeys()))) { // We never propagate the keystroke for an explicit // keystroke invocation of the popup e.doit = false; openProposalPopup(); return; } } /* * The triggering keystroke was not invoked. Check for * autoactivation characters. */ if (e.character != 0) { boolean autoActivated = false; // Auto-activation characters were specified. Check // them. if (autoActivateString != null) { if (autoActivateString.indexOf(e.character) >= 0) { autoActivated = true; } // Auto-activation characters were not specified. If // there was no key stroke specified, assume // activation for alphanumeric characters. } else if (triggerKeyStroke == null && Character.isLetterOrDigit(e.character)) { autoActivated = true; } /* * When autoactivating, we check the autoactivation * delay. */ if (autoActivated) { e.doit = propagateKeys; if (autoActivationDelay > 0) { Runnable runnable = new Runnable() { public void run() { try { Thread .sleep(autoActivationDelay); } catch (InterruptedException e) { } if (!isValid()) { return; } getControl().getDisplay().syncExec( new Runnable() { public void run() { openProposalPopup(); } }); } }; Thread t = new Thread(runnable); t.start(); } else { openProposalPopup(); } } } break; default: break; } } /** * Dump the given events to "standard" output. * * @param who * who is dumping the event * @param e * the event */ private void dump(String who, Event e) { StringBuffer sb = new StringBuffer( "--- [ContentProposalAdapter]\n"); //$NON-NLS-1$ sb.append(who); sb.append(" - e: keyCode=" + e.keyCode + hex(e.keyCode)); //$NON-NLS-1$ sb.append("; character=" + e.character + hex(e.character)); //$NON-NLS-1$ sb.append("; stateMask=" + e.stateMask + hex(e.stateMask)); //$NON-NLS-1$ sb.append("; doit=" + e.doit); //$NON-NLS-1$ sb.append("; detail=" + e.detail + hex(e.detail)); //$NON-NLS-1$ sb.append("; widget=" + e.widget); //$NON-NLS-1$ System.out.println(sb); } private String hex(int i) { return "[0x" + Integer.toHexString(i) + ']'; //$NON-NLS-1$ } }; control.addListener(SWT.KeyDown, controlListener); control.addListener(SWT.Traverse, controlListener); if (DEBUG) { System.out .println("ContentProposalAdapter#installControlListener() - installed"); //$NON-NLS-1$ } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fd9803a4a15212da994ccda210ceb9ce70ac43a8/ContentProposalAdapter.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 3367, 2223, 12, 3367, 3325, 13, 288, 202, 202, 430, 261, 9394, 13, 288, 1082, 202, 3163, 18, 659, 6862, 202, 18, 8222, 2932, 1350, 14592, 2223, 7, 5425, 3367, 2223, 1435, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 7098, 2223, 480, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 7098, 2223, 273, 394, 10652, 1435, 288, 1082, 202, 482, 918, 1640, 1133, 12, 1133, 425, 13, 288, 9506, 202, 430, 16051, 291, 1526, 13, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 9610, 261, 73, 18, 723, 13, 288, 9506, 202, 3593, 348, 8588, 18, 29654, 30, 9506, 202, 3593, 348, 8588, 18, 653, 4164, 30, 6862, 202, 430, 261, 9394, 13, 288, 25083, 202, 8481, 2932, 29654, 471, 1929, 4164, 5079, 635, 4516, 3113, 425, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 97, 6862, 202, 759, 971, 326, 10431, 353, 1696, 16, 518, 5571, 1122, 24167, 622, 326, 6862, 202, 759, 498, 16181, 18, 6862, 202, 430, 261, 16086, 480, 446, 13, 288, 25083, 202, 16086, 18, 588, 2326, 3367, 2223, 7675, 4110, 1133, 12, 73, 1769, 25083, 202, 759, 971, 732, 854, 486, 9619, 1776, 1311, 358, 326, 3325, 1323, 25083, 202, 759, 326, 10431, 353, 1696, 16, 1508, 732, 854, 2731, 18, 25083, 202, 430, 16051, 5986, 346, 340, 2396, 13, 288, 6862, 1082, 202, 73, 18, 2896, 305, 273, 629, 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, 527, 3367, 2223, 12, 3367, 3325, 13, 288, 202, 202, 430, 261, 9394, 13, 288, 1082, 202, 3163, 18, 659, 6862, 202, 18, 8222, 2932, 1350, 14592, 2223, 7, 5425, 3367, 2223, 1435, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 261, 7098, 2223, 480, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 7098, 2223, 273, 394, 10652, 1435, 288, 1082, 202, 482, 918, 1640, 1133, 12, 1133, 425, 13, 288, 9506, 202, 430, 16051, 291, 1526, 13, 288, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 9610, 261, 73, 18, 723, 13, 288, 9506, 202, 3593, 348, 8588, 18, 29654, 30, 9506, 202, 2 ]
JPanel expressionClearPanel = new JPanel(); expressionClearPanel.setLayout( new BoxLayout(expressionClearPanel, BoxLayout.Y_AXIS));
public ColorPanel( final RuleColorizer colorizer, final FilterModel filterModel) { super(); setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); this.colorizer = colorizer; final JColorChooser chooser = new JColorChooser(); listModel = new DefaultListModel(); final JList list = new JList(listModel); final JScrollPane scrollPane = new JScrollPane(list); scrollPane.setPreferredSize(new Dimension(400, 400)); //apply a set of defaults for now, (eventually color rules will be loaded from disk) listModel.addElement( new ColorRuleHolder( "level == FATAL", new ColorRule( EqualsRule.getRule("level", "FATAL"), new Color(147, 22, 0), Color.white))); listModel.addElement( new ColorRuleHolder( "level == ERROR", new ColorRule( EqualsRule.getRule("level", "ERROR"), new Color(147, 22, 0), Color.white))); listModel.addElement( new ColorRuleHolder( "level == WARN", new ColorRule( EqualsRule.getRule("level", "WARN"), Color.yellow.brighter()))); applyRules(); JPanel leftPanel = new JPanel(new BorderLayout()); JPanel leftCenterPanel = new JPanel(); leftCenterPanel.setLayout( new BoxLayout(leftCenterPanel, BoxLayout.Y_AXIS)); JPanel expressionClearPanel = new JPanel(); expressionClearPanel.setLayout( new BoxLayout(expressionClearPanel, BoxLayout.Y_AXIS)); JPanel expressionPanel = new JPanel(); expressionPanel.setLayout(new FlowLayout(FlowLayout.LEFT)); leftPanel.add(new JLabel("Rule:"), BorderLayout.NORTH); final JTextField expression = new JTextField(30); final Color defaultExpressionBackground = expression.getBackground(); final Color defaultExpressionForeground = expression.getForeground(); expression.addKeyListener( new ExpressionRuleContext(filterModel, expression)); expressionPanel.add(expression); JPanel addUpdatePanel = new JPanel(); addUpdatePanel.setLayout(new BoxLayout(addUpdatePanel, BoxLayout.X_AXIS)); addUpdatePanel.add(new JLabel(" ")); final JButton addUpdateButton = new JButton(ADD_TEXT); addUpdatePanel.add(addUpdateButton); expressionPanel.add(addUpdatePanel); expressionClearPanel.add(expressionPanel); JPanel clearPanel = new JPanel(new FlowLayout(FlowLayout.LEFT)); JButton clearButton = new JButton("Clear"); clearPanel.add(clearButton); clearButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { addMode = true; expression.setText(""); addUpdateButton.setText(ADD_TEXT); expression.setBackground(defaultExpressionBackground); expression.setForeground(defaultExpressionForeground); list.getSelectionModel().clearSelection(); } }); expressionClearPanel.add(clearPanel); leftCenterPanel.add(expressionClearPanel); JPanel chooserPanel = new JPanel(); chooserPanel.add(chooser); chooser.getSelectionModel().addChangeListener( new ChangeListener() { public void stateChanged(ChangeEvent evt) { expression.setBackground(chooser.getColor()); } }); leftCenterPanel.add(chooserPanel); leftPanel.add(leftCenterPanel); add(leftPanel); JPanel updownPanel = new JPanel(); updownPanel.setLayout(new GridLayout(6, 1)); JPanel removePanel = new JPanel(); final JButton removeButton = new JButton("Remove"); removeButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { int index = list.getSelectionModel().getMaxSelectionIndex(); if (index > -1) { ColorRuleHolder holder = (ColorRuleHolder) listModel.get(index); listModel.remove(index); if (index > 0) { index = index - 1; } addUpdateButton.setText(ADD_TEXT); addMode = true; if (listModel.getSize() > 0) { list.getSelectionModel().setSelectionInterval(index, index); } } } }); removePanel.add(removeButton); updownPanel.add(new JLabel(" ")); updownPanel.add(new JLabel(" ")); final JButton upButton = new JButton("Move Up"); final JButton downButton = new JButton("Move Down"); JPanel upPanel = new JPanel(); updownPanel.add(removePanel); upPanel.add(upButton); JPanel downPanel = new JPanel(); downPanel.add(downButton); updownPanel.add(upPanel); JPanel updownLabelPanel = new JPanel(); updownLabelPanel.add(new JLabel("Move rule")); updownPanel.add(updownLabelPanel); updownPanel.add(downPanel); add(updownPanel); upButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { int index = list.getSelectionModel().getMaxSelectionIndex(); if (index > 0) { ColorRuleHolder holder = (ColorRuleHolder) listModel.get(index); listModel.remove(index); index = index - 1; listModel.add(index, holder); list.getSelectionModel().setSelectionInterval(index, index); } } }); downButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { int index = list.getSelectionModel().getMaxSelectionIndex(); if ((index > -1) && (index < (listModel.getSize() - 1))) { ColorRuleHolder holder = (ColorRuleHolder) listModel.get(index); listModel.remove(index); index = index + 1; listModel.add(index, holder); list.getSelectionModel().setSelectionInterval(index, index); } } }); list.setCellRenderer(new ColorRenderer()); list.getSelectionModel().addListSelectionListener( new ListSelectionListener() { public void valueChanged(ListSelectionEvent e) { if (!e.getValueIsAdjusting()) { int index = list.getSelectionModel().getMaxSelectionIndex(); if (index > -1) { addMode = false; addUpdateButton.setText(UPDATE_TEXT); ColorRuleHolder holder = (ColorRuleHolder) listModel.get(index); expression.setText(holder.ruleText); expression.setBackground(holder.colorRule.getBackgroundColor()); expression.setForeground(holder.colorRule.getForegroundColor()); chooser.setColor(holder.colorRule.getBackgroundColor()); } if (index < 0) { removeButton.setEnabled(false); downButton.setEnabled(false); upButton.setEnabled(false); } else if ((index == 0) && (listModel.getSize() == 1)) { removeButton.setEnabled(true); downButton.setEnabled(false); upButton.setEnabled(false); } else if ((index == 0) && (listModel.getSize() > 1)) { removeButton.setEnabled(true); downButton.setEnabled(true); upButton.setEnabled(false); } else if (index == (listModel.getSize() - 1)) { removeButton.setEnabled(true); downButton.setEnabled(false); upButton.setEnabled(true); } else { removeButton.setEnabled(true); downButton.setEnabled(true); upButton.setEnabled(true); } } } }); addUpdateButton.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { ColorRuleHolder holder = new ColorRuleHolder( expression.getText(), new ColorRule( ExpressionRule.getRule(expression.getText()), chooser.getColor())); if (addMode) { listModel.addElement(holder); } else { int index = list.getSelectionModel().getMaxSelectionIndex(); listModel.remove(index); listModel.add(index, holder); } int index = listModel.indexOf(holder); list.getSelectionModel().setSelectionInterval(index, index); } }); JPanel rightPanel = new JPanel(new BorderLayout()); rightPanel.add(new JLabel("Rules:"), BorderLayout.NORTH); rightPanel.add(scrollPane, BorderLayout.CENTER); JPanel applyPanel = new JPanel(); JButton apply = new JButton("Apply"); applyPanel.add(apply); rightPanel.add(applyPanel, BorderLayout.SOUTH); apply.addActionListener( new AbstractAction() { public void actionPerformed(ActionEvent evt) { applyRules(); } }); add(rightPanel); }
47730 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47730/92c563e8dd067b2a4979d0f0907f8522bd12dcbc/ColorPanel.java/buggy/src/java/org/apache/log4j/chainsaw/color/ColorPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5563, 5537, 12, 565, 727, 6781, 2957, 1824, 2036, 1824, 16, 727, 4008, 1488, 1034, 1488, 13, 288, 565, 2240, 5621, 565, 18479, 12, 2704, 8549, 3744, 12, 2211, 16, 8549, 3744, 18, 60, 67, 25614, 10019, 565, 333, 18, 3266, 1824, 273, 2036, 1824, 31, 565, 727, 804, 2957, 17324, 5011, 13164, 273, 394, 804, 2957, 17324, 5621, 565, 666, 1488, 273, 394, 2989, 682, 1488, 5621, 565, 727, 804, 682, 666, 273, 394, 804, 682, 12, 1098, 1488, 1769, 565, 727, 804, 26360, 5532, 8485, 273, 394, 804, 26360, 12, 1098, 1769, 565, 5532, 8485, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 16010, 16, 7409, 10019, 565, 368, 9010, 279, 444, 434, 3467, 364, 2037, 16, 261, 2575, 3452, 2036, 2931, 903, 506, 4203, 628, 4234, 13, 565, 666, 1488, 18, 1289, 1046, 12, 1377, 394, 5563, 2175, 6064, 12, 3639, 315, 2815, 422, 478, 21226, 3113, 3639, 394, 5563, 2175, 12, 1850, 19344, 2175, 18, 588, 2175, 2932, 2815, 3113, 315, 29891, 6, 3631, 394, 5563, 12, 29488, 16, 11201, 16, 374, 3631, 1850, 5563, 18, 14739, 3719, 1769, 565, 666, 1488, 18, 1289, 1046, 12, 1377, 394, 5563, 2175, 6064, 12, 3639, 315, 2815, 422, 5475, 3113, 3639, 394, 5563, 2175, 12, 1850, 19344, 2175, 18, 588, 2175, 2932, 2815, 3113, 315, 3589, 6, 3631, 394, 5563, 12, 29488, 16, 11201, 16, 374, 3631, 1850, 5563, 18, 14739, 3719, 1769, 565, 666, 1488, 18, 1289, 1046, 12, 1377, 394, 5563, 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, 5563, 5537, 12, 565, 727, 6781, 2957, 1824, 2036, 1824, 16, 727, 4008, 1488, 1034, 1488, 13, 288, 565, 2240, 5621, 565, 18479, 12, 2704, 8549, 3744, 12, 2211, 16, 8549, 3744, 18, 60, 67, 25614, 10019, 565, 333, 18, 3266, 1824, 273, 2036, 1824, 31, 565, 727, 804, 2957, 17324, 5011, 13164, 273, 394, 804, 2957, 17324, 5621, 565, 666, 1488, 273, 394, 2989, 682, 1488, 5621, 565, 727, 804, 682, 666, 273, 394, 804, 682, 12, 1098, 1488, 1769, 565, 727, 804, 26360, 5532, 8485, 273, 394, 804, 26360, 12, 1098, 1769, 565, 5532, 8485, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 16010, 16, 7409, 10019, 565, 368, 9010, 279, 444, 434, 3467, 364, 2 ]
RegenerateClassFeatures regen = new RegenerateClassFeatures(bugCollection, args[1]).execute();
new RegenerateClassFeatures(bugCollection, args[1]).execute();
public static void main(String[] args) throws Exception { if (args.length != 2) { System.err.println("Usage: " + RegenerateClassFeatures.class.getName() + " <bug collection> <jar file>"); System.exit(1); } SortedBugCollection bugCollection = new SortedBugCollection(); Project project = new Project(); bugCollection.readXML(args[0], project); RegenerateClassFeatures regen = new RegenerateClassFeatures(bugCollection, args[1]).execute(); bugCollection.writeXML(System.out, project); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/6fb65d8d88c4283f912720e73d0b3fda18f590b3/RegenerateClassFeatures.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/model/RegenerateClassFeatures.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 430, 261, 1968, 18, 2469, 480, 576, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 5357, 30, 315, 397, 2526, 14681, 797, 8696, 18, 1106, 18, 17994, 1435, 397, 315, 411, 925, 1849, 34, 411, 11930, 585, 2984, 1769, 1082, 202, 3163, 18, 8593, 12, 21, 1769, 202, 202, 97, 9506, 202, 11739, 19865, 2532, 7934, 2532, 273, 394, 13717, 19865, 2532, 5621, 202, 202, 4109, 1984, 273, 394, 5420, 5621, 9506, 202, 925, 2532, 18, 896, 4201, 12, 1968, 63, 20, 6487, 1984, 1769, 9506, 202, 1617, 14681, 797, 8696, 960, 275, 273, 394, 2526, 14681, 797, 8696, 12, 925, 2532, 16, 833, 63, 21, 65, 2934, 8837, 5621, 9506, 202, 925, 2532, 18, 2626, 4201, 12, 3163, 18, 659, 16, 1984, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 430, 261, 1968, 18, 2469, 480, 576, 13, 288, 1082, 202, 3163, 18, 370, 18, 8222, 2932, 5357, 30, 315, 397, 2526, 14681, 797, 8696, 18, 1106, 18, 17994, 1435, 397, 315, 411, 925, 1849, 34, 411, 11930, 585, 2984, 1769, 1082, 202, 3163, 18, 8593, 12, 21, 1769, 202, 202, 97, 9506, 202, 11739, 19865, 2532, 7934, 2532, 273, 394, 13717, 19865, 2532, 5621, 202, 202, 4109, 1984, 273, 394, 5420, 5621, 9506, 202, 925, 2532, 18, 896, 4201, 12, 1968, 63, 20, 6487, 1984, 1769, 9506, 202, 1617, 14681, 797, 8696, 960, 275, 273, 394, 2526, 14681, 797, 8696, 12, 925, 2 ]
list.add(getNode(parent, "timeFormats/timeFormatLength[@type='full']/timeFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "timeFormats/timeFormatLength[@type='long']/timeFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "timeFormats/timeFormatLength[@type='medium']/timeFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "timeFormats/timeFormatLength[@type='short']/timeFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "dateFormats/dateFormatLength[@type='full']/dateFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "dateFormats/dateFormatLength[@type='long']/dateFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "dateFormats/dateFormatLength[@type='medium']/dateFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "dateFormats/dateFormatLength[@type='short']/dateFormat[@type='standard']/pattern", xpath, true, false));
list.add(getVettedNode(parent, "timeFormats/timeFormatLength[@type='full']/timeFormat[@type='standard']/pattern", xpath)); list.add(getVettedNode(parent, "timeFormats/timeFormatLength[@type='long']/timeFormat[@type='standard']/pattern", xpath)); list.add(getVettedNode(parent, "timeFormats/timeFormatLength[@type='medium']/timeFormat[@type='standard']/pattern", xpath)); list.add(getVettedNode(parent, "timeFormats/timeFormatLength[@type='short']/timeFormat[@type='standard']/pattern", xpath)); list.add(getVettedNode(parent, "dateFormats/dateFormatLength[@type='full']/dateFormat[@type='standard']/pattern", xpath)); list.add(getVettedNode(parent, "dateFormats/dateFormatLength[@type='long']/dateFormat[@type='standard']/pattern", xpath)); list.add(getVettedNode(parent, "dateFormats/dateFormatLength[@type='medium']/dateFormat[@type='standard']/pattern", xpath)); list.add(getVettedNode(parent, "dateFormats/dateFormatLength[@type='short']/dateFormat[@type='standard']/pattern", xpath));
private ICUResourceWriter.Resource parseDTF(Node root, StringBuffer xpath){ // TODO change the ICU format to reflect LDML format /* * The prefered ICU format would be * timeFormats{ * default{} * full{} * long{} * medium{} * short{} * .... * } * dateFormats{ * default{} * full{} * long{} * medium{} * short{} * ..... * } * dateTimeFormats{ * standard{} * .... * } */ // here we dont add stuff to XPATH since we are querying the parent // with the hardcoded XPATHS! //TODO figure out what to do for alias Node parent = root.getParentNode(); ArrayList list = new ArrayList(); list.add(getNode(parent, "timeFormats/timeFormatLength[@type='full']/timeFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "timeFormats/timeFormatLength[@type='long']/timeFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "timeFormats/timeFormatLength[@type='medium']/timeFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "timeFormats/timeFormatLength[@type='short']/timeFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "dateFormats/dateFormatLength[@type='full']/dateFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "dateFormats/dateFormatLength[@type='long']/dateFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "dateFormats/dateFormatLength[@type='medium']/dateFormat[@type='standard']/pattern", xpath, true, false)); list.add(getNode(parent, "dateFormats/dateFormatLength[@type='short']/dateFormat[@type='standard']/pattern", xpath, true, false)); //TODO guard this against possible failure list.add(getNode(parent, "dateTimeFormats/dateTimeFormatLength/dateTimeFormat/pattern", xpath, true, false)); if(list.size()<9){ throw new RuntimeException("Did not get expected output for Date and Time patterns!!"); } ICUResourceWriter.ResourceArray arr = new ICUResourceWriter.ResourceArray(); arr.name = DTP; ICUResourceWriter.Resource current = null; for(int i= 0; i<list.size(); i++){ ICUResourceWriter.ResourceString str = new ICUResourceWriter.ResourceString(); Node temp = (Node)list.get(i); if(temp==null){ System.err.println("WARNING: Some elements of DateTimePatterns resource are marked draft producing this resource."); break; } str.val = LDMLUtilities.getNodeValue(temp); if(str.val!=null){ if(current==null){ current = arr.first = str; }else{ current.next = str; current = current.next; } }else{ throw new RuntimeException("the node value for Date and Time patterns is null!!"); } } if(arr.first!=null){ return arr; } return null; }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/c4836c0b00d2397e8c72a793d44bcdd6891072f1/LDML2ICUConverter.java/clean/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 28009, 1420, 2289, 18, 1420, 1109, 9081, 42, 12, 907, 1365, 16, 6674, 6748, 15329, 3639, 368, 2660, 2549, 326, 28009, 740, 358, 3037, 28083, 1495, 740, 3639, 1748, 540, 380, 1021, 13256, 329, 28009, 740, 4102, 506, 540, 380, 813, 8976, 95, 540, 380, 1377, 805, 2916, 540, 380, 1377, 1983, 2916, 540, 380, 1377, 1525, 2916, 540, 380, 1377, 16212, 2916, 540, 380, 1377, 3025, 2916, 540, 380, 1377, 1372, 18, 540, 380, 289, 540, 380, 1509, 8976, 95, 540, 380, 1377, 805, 2916, 540, 380, 1377, 1983, 2916, 540, 380, 1377, 1525, 2916, 540, 380, 1377, 16212, 2916, 540, 380, 1377, 3025, 2916, 540, 380, 1377, 1372, 838, 540, 380, 289, 540, 380, 9296, 8976, 95, 540, 380, 1377, 4529, 2916, 540, 380, 1377, 1372, 18, 540, 380, 289, 540, 1195, 3639, 368, 2674, 732, 14046, 527, 10769, 358, 1139, 4211, 3241, 732, 854, 23936, 326, 982, 3639, 368, 598, 326, 7877, 24808, 1139, 4211, 55, 5, 3639, 368, 6241, 7837, 596, 4121, 358, 741, 364, 2308, 3639, 2029, 982, 273, 1365, 18, 588, 3054, 907, 5621, 3639, 2407, 666, 273, 394, 2407, 5621, 3639, 666, 18, 1289, 12, 588, 907, 12, 2938, 16, 315, 957, 8976, 19, 957, 1630, 1782, 14782, 723, 2218, 2854, 3546, 19, 957, 1630, 14782, 723, 2218, 10005, 3546, 19, 4951, 3113, 225, 6748, 16, 638, 16, 629, 10019, 3639, 666, 18, 1289, 12, 588, 907, 12, 2938, 16, 315, 957, 8976, 19, 957, 1630, 1782, 14782, 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, 28009, 1420, 2289, 18, 1420, 1109, 9081, 42, 12, 907, 1365, 16, 6674, 6748, 15329, 3639, 368, 2660, 2549, 326, 28009, 740, 358, 3037, 28083, 1495, 740, 3639, 1748, 540, 380, 1021, 13256, 329, 28009, 740, 4102, 506, 540, 380, 813, 8976, 95, 540, 380, 1377, 805, 2916, 540, 380, 1377, 1983, 2916, 540, 380, 1377, 1525, 2916, 540, 380, 1377, 16212, 2916, 540, 380, 1377, 3025, 2916, 540, 380, 1377, 1372, 18, 540, 380, 289, 540, 380, 1509, 8976, 95, 540, 380, 1377, 805, 2916, 540, 380, 1377, 1983, 2916, 540, 380, 1377, 1525, 2916, 540, 380, 1377, 16212, 2916, 540, 380, 1377, 3025, 2916, 540, 380, 1377, 1372, 838, 540, 380, 289, 540, 380, 9296, 2 ]
return EclipseMessager.APT_PROBLEM_ID;
if (_arguments != null) { return EclipseMessager.APT_QUICK_FIX_PROBLEM_ID; } else { return EclipseMessager.APT_PROBLEM_ID; }
public int getID() { return EclipseMessager.APT_PROBLEM_ID; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/01183640e0035cac2c0d8aba45f61a8be154617f/APTProblem.java/clean/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/APTProblem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 14744, 1435, 288, 202, 202, 2463, 20840, 10472, 49, 403, 6817, 18, 37, 1856, 67, 3373, 38, 26817, 67, 734, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 14744, 1435, 288, 202, 202, 2463, 20840, 10472, 49, 403, 6817, 18, 37, 1856, 67, 3373, 38, 26817, 67, 734, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
result.includeModule(runtime.getClasses().getEnumerableModule());
result.includeModule(runtime.getModule("Enumerable"));
public static RubyClass createRangeClass(Ruby runtime) { RubyClass result = runtime.defineClass("Range", runtime.getClasses().getObjectClass()); CallbackFactory callbackFactory = runtime.callbackFactory(RubyRange.class); result.includeModule(runtime.getClasses().getEnumerableModule()); result.defineMethod("==", callbackFactory.getMethod("equal", IRubyObject.class)); result.defineMethod("===", callbackFactory.getMethod("op_eqq", IRubyObject.class)); result.defineMethod("begin", callbackFactory.getMethod("first")); result.defineMethod("each", callbackFactory.getMethod("each")); result.defineMethod("end", callbackFactory.getMethod("last")); result.defineMethod("exclude_end?", callbackFactory.getMethod("exclude_end_p")); result.defineMethod("first", callbackFactory.getMethod("first")); result.defineMethod("initialize", callbackFactory.getOptMethod("initialize")); result.defineMethod("inspect", callbackFactory.getMethod("inspect")); result.defineMethod("last", callbackFactory.getMethod("last")); result.defineMethod("length", callbackFactory.getMethod("length")); result.defineMethod("size", callbackFactory.getMethod("length")); result.defineMethod("to_s", callbackFactory.getMethod("inspect")); result.defineMethod("to_a", callbackFactory.getMethod("to_a")); result.defineMethod("include?", callbackFactory.getMethod("include_p", IRubyObject.class)); // We override Enumerable#member? since ranges in 1.8.1 are continuous. result.defineAlias("member?", "include?"); return result; }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyRange.java/buggy/src/org/jruby/RubyRange.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 2655, 797, 12, 54, 10340, 3099, 13, 288, 3639, 19817, 797, 563, 273, 3099, 18, 11255, 797, 2932, 2655, 3113, 1171, 3099, 18, 588, 4818, 7675, 588, 921, 797, 10663, 3639, 8444, 1733, 1348, 1733, 273, 3099, 18, 3394, 1733, 12, 54, 10340, 2655, 18, 1106, 1769, 7734, 563, 18, 6702, 3120, 12, 9448, 18, 588, 3120, 2932, 3572, 25121, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 631, 3113, 1348, 1733, 18, 588, 1305, 2932, 9729, 3113, 15908, 10340, 921, 18, 1106, 10019, 3639, 563, 18, 11255, 1305, 2932, 631, 1546, 16, 1348, 1733, 18, 588, 1305, 2932, 556, 67, 11253, 85, 3113, 15908, 10340, 921, 18, 1106, 10019, 3639, 563, 18, 11255, 1305, 2932, 10086, 3113, 1348, 1733, 18, 588, 1305, 2932, 3645, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 13798, 3113, 1348, 1733, 18, 588, 1305, 2932, 13798, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 409, 3113, 1348, 1733, 18, 588, 1305, 2932, 2722, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 10157, 67, 409, 35, 3113, 1348, 1733, 18, 588, 1305, 2932, 10157, 67, 409, 67, 84, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 3645, 3113, 1348, 1733, 18, 588, 1305, 2932, 3645, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 11160, 3113, 1348, 1733, 18, 588, 6179, 1305, 2932, 11160, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 12009, 3113, 1348, 1733, 18, 588, 1305, 2932, 12009, 7923, 1769, 3639, 563, 18, 11255, 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, 19817, 797, 752, 2655, 797, 12, 54, 10340, 3099, 13, 288, 3639, 19817, 797, 563, 273, 3099, 18, 11255, 797, 2932, 2655, 3113, 1171, 3099, 18, 588, 4818, 7675, 588, 921, 797, 10663, 3639, 8444, 1733, 1348, 1733, 273, 3099, 18, 3394, 1733, 12, 54, 10340, 2655, 18, 1106, 1769, 7734, 563, 18, 6702, 3120, 12, 9448, 18, 588, 3120, 2932, 3572, 25121, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 631, 3113, 1348, 1733, 18, 588, 1305, 2932, 9729, 3113, 15908, 10340, 921, 18, 1106, 10019, 3639, 563, 18, 11255, 1305, 2932, 631, 1546, 16, 1348, 1733, 18, 588, 1305, 2932, 556, 67, 11253, 85, 3113, 15908, 10340, 921, 18, 1106, 10019, 3639, 563, 18, 2 ]
Iterator iter = pico.getComponentKeys().iterator();
Iterator iter = pico.getComponentAdapters().iterator();
public void clearPool() { Iterator iter = pico.getComponentKeys().iterator(); while (iter.hasNext()) { pico.unregisterComponent(iter.next()); } activeMap.clear(); poolKeys.clear(); size = 0; }
9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/51eaf30c6e1007893871f1be47505245629a6abf/DefaultPicoPool.java/clean/trunk/java/pool/src/java/org/nanocontainer/pool/DefaultPicoPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2424, 2864, 1435, 288, 3639, 4498, 1400, 273, 293, 10764, 18, 588, 1841, 26620, 7675, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 5411, 293, 10764, 18, 318, 4861, 1841, 12, 2165, 18, 4285, 10663, 3639, 289, 3639, 2695, 863, 18, 8507, 5621, 3639, 2845, 2396, 18, 8507, 5621, 3639, 963, 273, 374, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2424, 2864, 1435, 288, 3639, 4498, 1400, 273, 293, 10764, 18, 588, 1841, 26620, 7675, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 5411, 293, 10764, 18, 318, 4861, 1841, 12, 2165, 18, 4285, 10663, 3639, 289, 3639, 2695, 863, 18, 8507, 5621, 3639, 2845, 2396, 18, 8507, 5621, 3639, 963, 273, 374, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
store.setImage(null, (String) metadata.get("Timestamp"), null, null);
store.setImage(null, metadata.get("Timestamp").toString(), null, null);
private void initMetadata() throws IOException { in.seek(0); // start by reading the file header byte[] toRead = new byte[4]; in.read(toRead); long order = batoi(toRead); // byte ordering little = toRead[2] != 0xff || toRead[3] != 0xff; metadata.put("Byte Order", new Boolean(little)); in.skipBytes(4); in.read(toRead); long version = DataTools.bytesToLong(toRead, little); metadata.put("Version", new Long(version)); byte[] er = new byte[2]; in.read(er); short count = DataTools.bytesToShort(er, little); metadata.put("Count", new Short(count)); in.skipBytes(2); in.read(toRead); long offset = DataTools.bytesToLong(toRead, little); // skip to first tag in.seek(offset); // read in each tag and its data for (int i=0; i<count; i++) { in.read(er); short tag = DataTools.bytesToShort(er, little); in.skipBytes(2); in.read(toRead); offset = DataTools.bytesToLong(toRead, little); in.read(toRead); long fmt = DataTools.bytesToLong(toRead, little); metadata.put("Format", new Long(fmt)); in.read(toRead); long numBytes = DataTools.bytesToLong(toRead, little); metadata.put("NumBytes", new Long(numBytes)); if (tag == 67 || tag == 68) { byte[] b = new byte[1]; in.read(b); boolean isOpenlab2; if (b[0] == '0') isOpenlab2 = false; else isOpenlab2 = true; metadata.put("isOpenlab2", new Boolean(isOpenlab2)); in.skipBytes(2); in.read(er); short layerId = DataTools.bytesToShort(er, little); metadata.put("LayerID", new Short(layerId)); in.read(er); short layerType = DataTools.bytesToShort(er, little); metadata.put("LayerType", new Short(layerType)); in.read(er); short bitDepth = DataTools.bytesToShort(er, little); metadata.put("BitDepth", new Short(bitDepth)); in.read(er); short opacity = DataTools.bytesToShort(er, little); metadata.put("Opacity", new Short(opacity)); // not sure how many bytes to skip here in.skipBytes(10); in.read(toRead); long type = DataTools.bytesToLong(toRead, little); metadata.put("ImageType", new Long(type)); // not sure how many bytes to skip in.skipBytes(10); in.read(toRead); long timestamp = DataTools.bytesToLong(toRead, little); metadata.put("Timestamp", new Long(timestamp)); in.skipBytes(2); if (isOpenlab2 == true) { byte[] layerName = new byte[127]; in.read(layerName); metadata.put("LayerName", new String(layerName)); in.read(toRead); long timestampMS = DataTools.bytesToLong(toRead, little); metadata.put("Timestamp-MS", new Long(timestampMS)); in.skipBytes(1); byte[] notes = new byte[118]; in.read(notes); metadata.put("Notes", new String(notes)); } else in.skipBytes(123); } else if (tag == 69) { in.read(toRead); long platform = DataTools.bytesToLong(toRead, little); metadata.put("Platform", new Long(platform)); in.read(er); short units = DataTools.bytesToShort(er, little); metadata.put("Units", new Short(units)); in.read(er); short imageId = DataTools.bytesToShort(er, little); metadata.put("ID", new Short(imageId)); in.skipBytes(1); byte[] toRead2 = new byte[8]; double xOrigin = DataTools.readDouble(in, little); metadata.put("XOrigin", new Double(xOrigin)); double yOrigin = DataTools.readDouble(in, little); metadata.put("YOrigin", new Double(yOrigin)); double xScale = DataTools.readDouble(in, little); metadata.put("XScale", new Double(xScale)); double yScale = DataTools.readDouble(in, little); metadata.put("YScale", new Double(yScale)); in.skipBytes(1); byte[] other = new byte[31]; in.read(other); metadata.put("Other", new String(other)); } // Populate metadata store // The metadata store we're working with. MetadataStore store = getMetadataStore(); String type = "int8"; if (metadata.get("BitDepth") != null) { int bitDepth = ((Integer) metadata.get("BitDepth")).intValue(); if (bitDepth <= 8) type = "int8"; else if (bitDepth <= 16) type = "int16"; else type = "int32"; } store.setImage(null, (String) metadata.get("Timestamp"), null, null); // FIXME: There is a loss of precision here as we are down-casting from // double to float. store.setStageLabel(null, (Float) metadata.get("XOrigin"), (Float) metadata.get("YOrigin"), null, null); // FIXME: There is a loss of precision here as we are down-casting from // double to float. store.setDimensions((Float) metadata.get("XScale"), (Float) metadata.get("YScale"), null, null, null, null); in.seek(offset); // We need to poke at least one plane so that we can get "sizeX" and // "sizeY" set. to populate the pixels set. try { openImage(currentId, 0); } catch (FormatException e) { e.printStackTrace(); } store.setPixels(sizeX, sizeY, new Integer(numBlocks), new Integer(3), new Integer(1), type, new Boolean(!little), "XYCZT", null); } }
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/9505e643b52f7491e0055703a09512ad437442c0/OpenlabReader.java/clean/loci/formats/in/OpenlabReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 1435, 1216, 1860, 288, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 787, 635, 6453, 326, 585, 1446, 565, 1160, 8526, 358, 1994, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1353, 273, 27464, 11359, 12, 869, 1994, 1769, 225, 368, 1160, 9543, 565, 12720, 273, 358, 1994, 63, 22, 65, 480, 374, 5297, 747, 358, 1994, 63, 23, 65, 480, 374, 5297, 31, 565, 1982, 18, 458, 2932, 3216, 4347, 3113, 394, 3411, 12, 80, 7188, 10019, 565, 316, 18, 7457, 2160, 12, 24, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1177, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 1994, 16, 12720, 1769, 565, 1982, 18, 458, 2932, 1444, 3113, 394, 3407, 12, 1589, 10019, 565, 1160, 8526, 6445, 273, 394, 1160, 63, 22, 15533, 565, 316, 18, 896, 12, 264, 1769, 565, 3025, 1056, 273, 1910, 10348, 18, 3890, 774, 4897, 12, 264, 16, 12720, 1769, 565, 1982, 18, 458, 2932, 1380, 3113, 394, 7925, 12, 1883, 10019, 565, 316, 18, 7457, 2160, 12, 22, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1384, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 1994, 16, 12720, 1769, 565, 368, 2488, 358, 1122, 1047, 565, 316, 18, 16508, 12, 3348, 1769, 565, 368, 855, 316, 1517, 1047, 471, 2097, 501, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1883, 31, 277, 27245, 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, 282, 3238, 918, 1208, 2277, 1435, 1216, 1860, 288, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 787, 635, 6453, 326, 585, 1446, 565, 1160, 8526, 358, 1994, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1353, 273, 27464, 11359, 12, 869, 1994, 1769, 225, 368, 1160, 9543, 565, 12720, 273, 358, 1994, 63, 22, 65, 480, 374, 5297, 747, 358, 1994, 63, 23, 65, 480, 374, 5297, 31, 565, 1982, 18, 458, 2932, 3216, 4347, 3113, 394, 3411, 12, 80, 7188, 10019, 565, 316, 18, 7457, 2160, 12, 24, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1177, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 2 ]
else
resultMag[i] = aWord ^ bWord; if (resultNeg)
public BigInteger xor(BigInteger val) { int[] result; if (magnitude.length > val.magnitude.length) { result = new int[magnitude.length]; } else { result = new int[val.magnitude.length]; } for (int i = 0; i < result.length; i++) { int index = result.length - i - 1; if (magnitude.length > i) { result[index] = magnitude[magnitude.length - i - 1]; } if (val.magnitude.length > i) { result[index] ^= val.magnitude[val.magnitude.length - i - 1]; } else { result[index] ^= 0; } } int resSign = 1; if (sign < 0 || val.sign < 0) { resSign = -1; } return new BigInteger(resSign, result); }
14767 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14767/fe2a39de76625766f5237dee824467490dd0d768/BigInteger.java/clean/crypto/j2me/java/math/BigInteger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10246, 17586, 12, 24198, 1244, 13, 377, 288, 3639, 509, 8526, 563, 31, 7734, 309, 261, 30279, 18, 2469, 405, 1244, 18, 30279, 18, 2469, 13, 3639, 288, 5411, 563, 273, 394, 509, 63, 30279, 18, 2469, 15533, 3639, 289, 540, 563, 11372, 63, 77, 65, 273, 279, 3944, 3602, 324, 3944, 31, 225, 309, 261, 2088, 14337, 13, 3639, 288, 5411, 563, 273, 394, 509, 63, 1125, 18, 30279, 18, 2469, 15533, 3639, 289, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 563, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 509, 770, 273, 563, 18, 2469, 300, 277, 300, 404, 31, 13491, 309, 261, 30279, 18, 2469, 405, 277, 13, 5411, 288, 7734, 563, 63, 1615, 65, 273, 13463, 63, 30279, 18, 2469, 300, 277, 300, 404, 15533, 5411, 289, 5411, 309, 261, 1125, 18, 30279, 18, 2469, 405, 277, 13, 5411, 288, 7734, 563, 63, 1615, 65, 10352, 1244, 18, 30279, 63, 1125, 18, 30279, 18, 2469, 300, 277, 300, 404, 15533, 5411, 289, 2398, 563, 11372, 63, 77, 65, 273, 279, 3944, 3602, 324, 3944, 31, 225, 309, 261, 2088, 14337, 13, 5411, 288, 7734, 563, 63, 1615, 65, 10352, 374, 31, 5411, 289, 3639, 289, 540, 509, 400, 2766, 273, 404, 31, 7734, 309, 261, 2977, 411, 374, 747, 1244, 18, 2977, 411, 374, 13, 3639, 288, 5411, 400, 2766, 273, 300, 21, 31, 3639, 289, 7734, 327, 394, 10246, 12, 455, 2766, 16, 563, 1769, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10246, 17586, 12, 24198, 1244, 13, 377, 288, 3639, 509, 8526, 563, 31, 7734, 309, 261, 30279, 18, 2469, 405, 1244, 18, 30279, 18, 2469, 13, 3639, 288, 5411, 563, 273, 394, 509, 63, 30279, 18, 2469, 15533, 3639, 289, 540, 563, 11372, 63, 77, 65, 273, 279, 3944, 3602, 324, 3944, 31, 225, 309, 261, 2088, 14337, 13, 3639, 288, 5411, 563, 273, 394, 509, 63, 1125, 18, 30279, 18, 2469, 15533, 3639, 289, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 563, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 509, 770, 273, 563, 18, 2469, 300, 277, 300, 404, 31, 13491, 309, 261, 30279, 18, 2469, 405, 277, 13, 5411, 288, 7734, 2 ]
return name;
copyNS(nodeID,handler); return name;
protected final String copyElement(int nodeID, int exptype, SerializationHandler handler) throws SAXException { final ExtendedType extType = m_extendedTypes[exptype]; String uri = extType.getNamespace(); String name = extType.getLocalName(); if (uri.length() == 0) { handler.startElement(name); return name; } else { int qnameIndex = m_dataOrQName.elementAt(nodeID); if (qnameIndex == 0) { handler.startElement(name); handler.namespaceAfterStartElement(EMPTY_STR, uri); return name; } if (qnameIndex < 0) { qnameIndex = -qnameIndex; qnameIndex = m_data.elementAt(qnameIndex); } String qName = m_valuesOrPrefixes.indexToString(qnameIndex); handler.startElement(qName); int prefixIndex = qName.indexOf(':'); String prefix; if (prefixIndex > 0) { prefix = qName.substring(0, prefixIndex); } else { prefix = null; } handler.namespaceAfterStartElement(prefix, uri); return qName; } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/7e14ad388e34dfa8b3182c10b86c7f112efd4335/SAX2DTM2.java/clean/src/org/apache/xml/dtm/ref/sax2dtm/SAX2DTM2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 514, 1610, 1046, 12, 474, 14871, 16, 509, 431, 27672, 16, 1171, 9079, 15253, 1503, 1838, 13, 3639, 1216, 14366, 565, 288, 3639, 727, 14094, 559, 1110, 559, 273, 312, 67, 14948, 2016, 63, 338, 27672, 15533, 3639, 514, 2003, 273, 1110, 559, 18, 588, 3402, 5621, 3639, 514, 508, 273, 1110, 559, 18, 588, 29583, 5621, 2868, 309, 261, 1650, 18, 2469, 1435, 422, 374, 13, 288, 5411, 1838, 18, 1937, 1046, 12, 529, 1769, 5411, 1610, 3156, 12, 2159, 734, 16, 4176, 1769, 327, 508, 31, 3639, 289, 3639, 469, 288, 5411, 509, 12621, 1016, 273, 312, 67, 892, 1162, 13688, 18, 2956, 861, 12, 2159, 734, 1769, 7734, 309, 261, 85, 529, 1016, 422, 374, 13, 288, 7734, 1838, 18, 1937, 1046, 12, 529, 1769, 7734, 1838, 18, 4937, 4436, 1685, 1046, 12, 13625, 67, 3902, 16, 2003, 1769, 7734, 1610, 3156, 12, 2159, 734, 16, 4176, 1769, 327, 508, 31, 5411, 289, 8227, 309, 261, 85, 529, 1016, 411, 374, 13, 288, 377, 202, 3639, 12621, 1016, 273, 300, 85, 529, 1016, 31, 377, 202, 3639, 12621, 1016, 273, 312, 67, 892, 18, 2956, 861, 12, 85, 529, 1016, 1769, 5411, 289, 7734, 514, 22914, 273, 312, 67, 2372, 1162, 11700, 18, 1615, 5808, 12, 85, 529, 1016, 1769, 5411, 1838, 18, 1937, 1046, 12, 85, 461, 1769, 13491, 509, 1633, 1016, 273, 22914, 18, 31806, 2668, 2497, 1769, 5411, 514, 1633, 31, 5411, 309, 261, 3239, 1016, 405, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 514, 1610, 1046, 12, 474, 14871, 16, 509, 431, 27672, 16, 1171, 9079, 15253, 1503, 1838, 13, 3639, 1216, 14366, 565, 288, 3639, 727, 14094, 559, 1110, 559, 273, 312, 67, 14948, 2016, 63, 338, 27672, 15533, 3639, 514, 2003, 273, 1110, 559, 18, 588, 3402, 5621, 3639, 514, 508, 273, 1110, 559, 18, 588, 29583, 5621, 2868, 309, 261, 1650, 18, 2469, 1435, 422, 374, 13, 288, 5411, 1838, 18, 1937, 1046, 12, 529, 1769, 5411, 1610, 3156, 12, 2159, 734, 16, 4176, 1769, 327, 508, 31, 3639, 289, 3639, 469, 288, 5411, 509, 12621, 1016, 273, 312, 67, 892, 1162, 13688, 18, 2956, 861, 12, 2159, 734, 1769, 7734, 309, 261, 85, 529, 1016, 2 ]
ASTFunction function = new ASTFunction( symbol, nameEndOffset, parameters, returnType, exception, startOffset, startLine, nameOffset, nameLine, ownerTemplate, references, previouslyDeclared, hasFunctionTryBlock );
ASTFunction function = new ASTFunction( symbol, nameEndOffset, parameters, returnType, exception, startOffset, startLine, nameOffset, nameLine, ownerTemplate, references, previouslyDeclared, hasFunctionTryBlock, isFriend );
public IASTFunction createFunction( IASTScope scope, ITokenDuple name, List parameters, IASTAbstractDeclaration returnType, IASTExceptionSpecification exception, boolean isInline, boolean isFriend, boolean isStatic, int startOffset, int startLine, int nameOffset, int nameEndOffset, int nameLine, IASTTemplate ownerTemplate, boolean isConst, boolean isVolatile, boolean isVirtual, boolean isExplicit, boolean isPureVirtual, List constructorChain, boolean isFunctionDefinition, boolean hasFunctionTryBlock, boolean hasVariableArguments ) throws ASTSemanticException { List references = new ArrayList(); IContainerSymbol ownerScope = scopeToSymbol( scope ); // check if this is a method in a body file if(name.getSegmentCount() > 1){ ISymbol symbol = lookupQualifiedName( ownerScope, name.getLeadingSegments(), references, false, LookupType.FORPARENTSCOPE ); IContainerSymbol parentScope = null; if( symbol instanceof IContainerSymbol ) parentScope = (IContainerSymbol) symbol; else if( symbol instanceof IDeferredTemplateInstance ) parentScope = ((IDeferredTemplateInstance) symbol).getTemplate().getTemplatedSymbol(); if((parentScope != null) && ( (parentScope.getType() == TypeInfo.t_class) || (parentScope.getType() == TypeInfo.t_struct) || (parentScope.getType() == TypeInfo.t_union)) ){ IASTScope methodParentScope = (IASTScope)parentScope.getASTExtension().getPrimaryDeclaration(); ITokenDuple newName = name.getLastSegment(); return createMethod( methodParentScope, newName, parameters, returnType, exception, isInline, isFriend, isStatic, startOffset, startLine, newName.getFirstToken().getOffset(), nameEndOffset, nameLine, ownerTemplate, isConst, isVolatile, isVirtual, isExplicit, isPureVirtual, ASTAccessVisibility.PRIVATE, constructorChain, references, isFunctionDefinition, hasFunctionTryBlock, hasVariableArguments ); } } IParameterizedSymbol symbol = pst.newParameterizedSymbol( name.getFirstToken().getImage(), TypeInfo.t_function ); setFunctionTypeInfoBits(isInline, isFriend, isStatic, symbol); symbol.setHasVariableArgs( hasVariableArguments ); setParameter( symbol, returnType, false, references ); setParameters( symbol, references, parameters.iterator() ); symbol.setIsForwardDeclaration(!isFunctionDefinition); boolean previouslyDeclared = false; List functionParameters = new LinkedList(); // the lookup requires a list of type infos // instead of a list of IASTParameterDeclaration Iterator p = parameters.iterator(); while (p.hasNext()){ ASTParameterDeclaration param = (ASTParameterDeclaration)p.next(); if( param.getSymbol() == null ) handleProblem( IProblem.SEMANTICS_RELATED, param.getName(), param.getNameOffset(), param.getEndingOffset(), param.getStartingLine() ); functionParameters.add(param.getSymbol().getTypeInfo()); } IParameterizedSymbol functionDeclaration = null; functionDeclaration = (IParameterizedSymbol) lookupQualifiedName(ownerScope, name.getFirstToken().getImage(), TypeInfo.t_function, functionParameters, 0, new ArrayList(), false, LookupType.FORDEFINITION ); if( functionDeclaration != null ){ previouslyDeclared = true; if( isFunctionDefinition ){ functionDeclaration.setTypeSymbol( symbol ); } } if( previouslyDeclared == false || isFunctionDefinition ){ try { ownerScope.addSymbol( symbol ); } catch (ParserSymbolTableException e) { handleProblem( e.createProblemID(), name.toString()); } } else { symbol = functionDeclaration; } ASTFunction function = new ASTFunction( symbol, nameEndOffset, parameters, returnType, exception, startOffset, startLine, nameOffset, nameLine, ownerTemplate, references, previouslyDeclared, hasFunctionTryBlock ); attachSymbolExtension(symbol, function, isFunctionDefinition); return function; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/b3ac698a40a5545801c87daadba79560f2195acc/CompleteParseASTFactory.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/CompleteParseASTFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 9053, 2083, 752, 2083, 12, 202, 565, 467, 9053, 3876, 2146, 16, 202, 565, 467, 1345, 40, 2268, 508, 16, 202, 565, 987, 1472, 16, 202, 565, 467, 9053, 7469, 6094, 9424, 16, 202, 565, 467, 9053, 503, 8615, 1520, 16, 202, 565, 1250, 8048, 1369, 16, 202, 565, 1250, 17646, 7522, 16, 202, 565, 1250, 16116, 16, 202, 565, 509, 18245, 16, 202, 565, 509, 24636, 16, 202, 565, 509, 508, 2335, 16, 202, 202, 474, 508, 1638, 2335, 16, 202, 202, 474, 508, 1670, 16, 202, 202, 45, 9053, 2283, 3410, 2283, 16, 202, 202, 6494, 353, 9661, 16, 202, 202, 6494, 353, 17431, 20295, 16, 202, 202, 6494, 353, 6466, 16, 3196, 202, 6494, 353, 17186, 16, 3196, 202, 6494, 353, 13645, 6466, 16, 987, 3885, 3893, 16, 1250, 11233, 1852, 16, 1250, 711, 2083, 7833, 1768, 16, 1250, 711, 3092, 4628, 262, 1216, 9183, 13185, 9941, 503, 202, 95, 202, 202, 682, 5351, 273, 394, 2407, 5621, 202, 202, 45, 2170, 5335, 3410, 3876, 273, 2146, 774, 5335, 12, 2146, 11272, 25083, 202, 759, 866, 309, 333, 353, 279, 707, 316, 279, 1417, 585, 202, 202, 430, 12, 529, 18, 588, 4131, 1380, 1435, 405, 404, 15329, 1082, 202, 5127, 3284, 3273, 273, 3689, 12345, 12, 3410, 3876, 16, 9944, 225, 508, 18, 588, 19112, 7946, 9334, 9944, 225, 5351, 16, 9944, 225, 629, 16, 25083, 225, 8834, 559, 18, 7473, 14943, 19444, 11272, 25083, 202, 45, 2170, 5335, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 9053, 2083, 752, 2083, 12, 202, 565, 467, 9053, 3876, 2146, 16, 202, 565, 467, 1345, 40, 2268, 508, 16, 202, 565, 987, 1472, 16, 202, 565, 467, 9053, 7469, 6094, 9424, 16, 202, 565, 467, 9053, 503, 8615, 1520, 16, 202, 565, 1250, 8048, 1369, 16, 202, 565, 1250, 17646, 7522, 16, 202, 565, 1250, 16116, 16, 202, 565, 509, 18245, 16, 202, 565, 509, 24636, 16, 202, 565, 509, 508, 2335, 16, 202, 202, 474, 508, 1638, 2335, 16, 202, 202, 474, 508, 1670, 16, 202, 202, 45, 9053, 2283, 3410, 2283, 16, 202, 202, 6494, 353, 9661, 16, 202, 202, 6494, 353, 17431, 20295, 16, 202, 202, 6494, 353, 6466, 16, 3196, 2 ]
final String methodName = methodExpression.getReferenceName(); if(!queryNames.contains(methodName)){ return; }
public void visitMethodCallExpression(PsiMethodCallExpression call){ if(queried){ return; } super.visitMethodCallExpression(call); final PsiReferenceExpression methodExpression = call.getMethodExpression(); if(methodExpression == null){ return; } final String methodName = methodExpression.getReferenceName(); if(!queryNames.contains(methodName)){ return; } final PsiExpression qualifier = methodExpression.getQualifierExpression(); if(!(qualifier instanceof PsiReferenceExpression)){ return; } final PsiElement referent = ((PsiReference) qualifier).resolve(); if(referent == null){ return; } if(!referent.equals(variable)){ return; } queried = true; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/4dac7d77e908a20a1e98b321a920e69147be84ad/CollectionQueryCalledVisitor.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/CollectionQueryCalledVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 12592, 2300, 12, 52, 7722, 12592, 2300, 745, 15329, 3639, 309, 12, 25734, 2092, 15329, 5411, 327, 31, 3639, 289, 3639, 2240, 18, 11658, 12592, 2300, 12, 1991, 1769, 3639, 727, 453, 7722, 2404, 2300, 707, 2300, 273, 7734, 745, 18, 588, 1305, 2300, 5621, 3639, 309, 12, 2039, 2300, 422, 446, 15329, 5411, 327, 31, 3639, 289, 3639, 727, 514, 4918, 273, 707, 2300, 18, 588, 2404, 461, 5621, 3639, 309, 12, 5, 2271, 1557, 18, 12298, 12, 2039, 461, 3719, 95, 5411, 327, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 12327, 273, 7734, 707, 2300, 18, 588, 16185, 2300, 5621, 3639, 309, 12, 5, 12, 28157, 1276, 453, 7722, 2404, 2300, 3719, 95, 5411, 327, 31, 3639, 289, 3639, 727, 453, 7722, 1046, 283, 3518, 273, 14015, 52, 7722, 2404, 13, 12327, 2934, 10828, 5621, 3639, 309, 12, 266, 3518, 422, 446, 15329, 5411, 327, 31, 3639, 289, 3639, 309, 12, 5, 266, 3518, 18, 14963, 12, 6105, 3719, 95, 5411, 327, 31, 3639, 289, 3639, 23264, 273, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12592, 2300, 12, 52, 7722, 12592, 2300, 745, 15329, 3639, 309, 12, 25734, 2092, 15329, 5411, 327, 31, 3639, 289, 3639, 2240, 18, 11658, 12592, 2300, 12, 1991, 1769, 3639, 727, 453, 7722, 2404, 2300, 707, 2300, 273, 7734, 745, 18, 588, 1305, 2300, 5621, 3639, 309, 12, 2039, 2300, 422, 446, 15329, 5411, 327, 31, 3639, 289, 3639, 727, 514, 4918, 273, 707, 2300, 18, 588, 2404, 461, 5621, 3639, 309, 12, 5, 2271, 1557, 18, 12298, 12, 2039, 461, 3719, 95, 5411, 327, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 12327, 273, 7734, 707, 2300, 18, 588, 16185, 2300, 5621, 3639, 309, 12, 5, 12, 28157, 1276, 453, 7722, 2404, 2300, 3719, 2 ]
+ XMLWriter.normalizeText(str)
+ str
protected void writeString(String str, double x, double y) throws IOException { // str = FontEncoder.getEncodedString(str, getFont().getName()); if (isProperty(EMBED_FONTS)) { fontTable.addGlyphs(str, getFont()); } // font transformation should _not_ transform string position // so we draw at 0:0 and translate _before_ using getFont().getTransform() // we could not just translate before and reverse translation after // writing because the clipping area // create style StringBuffer style = new StringBuffer(getPaintString(null, getPaint())); style.append(getFontString(getFont())); style.append(getStrokeString(getStroke(), false)); os.println(getTransformedString( // general transformation getTransform(), // general clip getClippedString( getTransformedString( // text offset new AffineTransform(1, 0, 0, 1, x, y), getTransformedString( // font transformation and text getFont().getTransform(), "<text " // style + style(style.toString()) // coordiantes + " x=\"0\" y=\"0\">" // text + XMLWriter.normalizeText(str) + "</text>"))))); }
57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/a07620d7c45b61de1bcfbc13b3100b60aa2ea4e8/SVGGraphics2D.java/buggy/freehep-graphicsio-svg/src/main/java/org/freehep/graphicsio/svg/SVGGraphics2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 12967, 12, 780, 609, 16, 1645, 619, 16, 1645, 677, 13, 5411, 1216, 1860, 288, 3639, 368, 609, 273, 10063, 7204, 18, 588, 10397, 780, 12, 701, 16, 18776, 7675, 17994, 10663, 3639, 309, 261, 291, 1396, 12, 3375, 22235, 67, 42, 673, 8047, 3719, 288, 5411, 3512, 1388, 18, 1289, 25399, 12, 701, 16, 18776, 10663, 3639, 289, 3639, 368, 3512, 8620, 1410, 389, 902, 67, 2510, 533, 1754, 3639, 368, 1427, 732, 3724, 622, 374, 30, 20, 471, 4204, 389, 5771, 67, 1450, 18776, 7675, 588, 4059, 1435, 3639, 368, 732, 3377, 486, 2537, 4204, 1865, 471, 4219, 4794, 1839, 3639, 368, 7410, 2724, 326, 31686, 5091, 3639, 368, 752, 2154, 3639, 6674, 2154, 273, 394, 6674, 12, 588, 12699, 780, 12, 2011, 16, 1689, 1598, 1435, 10019, 3639, 2154, 18, 6923, 12, 588, 5711, 780, 12, 588, 5711, 1435, 10019, 3639, 2154, 18, 6923, 12, 588, 14602, 780, 12, 588, 14602, 9334, 629, 10019, 3639, 1140, 18, 8222, 12, 588, 4059, 329, 780, 12, 5411, 368, 7470, 8620, 5411, 336, 4059, 9334, 5411, 368, 7470, 6807, 5411, 1927, 3169, 1845, 780, 12, 7734, 336, 4059, 329, 780, 12, 10792, 368, 977, 1384, 10792, 394, 23906, 558, 4059, 12, 21, 16, 374, 16, 374, 16, 404, 16, 619, 16, 677, 3631, 10792, 336, 4059, 329, 780, 12, 13491, 368, 3512, 8620, 471, 977, 13491, 18776, 7675, 588, 4059, 9334, 13491, 3532, 955, 315, 18701, 368, 2154, 18701, 397, 2154, 12, 4060, 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, 4750, 918, 12967, 12, 780, 609, 16, 1645, 619, 16, 1645, 677, 13, 5411, 1216, 1860, 288, 3639, 368, 609, 273, 10063, 7204, 18, 588, 10397, 780, 12, 701, 16, 18776, 7675, 17994, 10663, 3639, 309, 261, 291, 1396, 12, 3375, 22235, 67, 42, 673, 8047, 3719, 288, 5411, 3512, 1388, 18, 1289, 25399, 12, 701, 16, 18776, 10663, 3639, 289, 3639, 368, 3512, 8620, 1410, 389, 902, 67, 2510, 533, 1754, 3639, 368, 1427, 732, 3724, 622, 374, 30, 20, 471, 4204, 389, 5771, 67, 1450, 18776, 7675, 588, 4059, 1435, 3639, 368, 732, 3377, 486, 2537, 4204, 1865, 471, 4219, 4794, 1839, 3639, 368, 7410, 2724, 326, 31686, 5091, 3639, 368, 752, 2154, 3639, 6674, 2154, 2 ]
return match.getParentName() + "::" + match.getName() + " - " + match.getLocation();
return match.getParentName() + "::" + match.getName() + " - " + match.getLocation();
public Object computeGroupByKey(IMarker marker) { if( marker == null ){ return null; } IMatch match = null; try { match = (IMatch) marker.getAttribute(CSearchResultCollector.IMATCH); } catch (CoreException e) { } return match.getParentName() + "::" + match.getName() + " - " + match.getLocation(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/1738ff26440cb838b4d42f49cb8d29c4cc9babdf/GroupByKeyComputer.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/GroupByKeyComputer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3671, 1114, 14560, 12, 3445, 1313, 264, 5373, 13, 288, 202, 202, 430, 12, 5373, 422, 446, 262, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 9506, 202, 45, 2060, 845, 273, 446, 31, 9506, 202, 698, 288, 1082, 202, 1916, 273, 261, 45, 2060, 13, 5373, 18, 588, 1499, 12, 39, 24916, 7134, 18, 3445, 5858, 1769, 202, 202, 97, 1044, 261, 25341, 425, 13, 288, 202, 202, 97, 9506, 202, 2463, 845, 18, 588, 3054, 461, 1435, 397, 31120, 397, 845, 18, 17994, 1435, 397, 315, 300, 315, 397, 845, 18, 588, 2735, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3671, 1114, 14560, 12, 3445, 1313, 264, 5373, 13, 288, 202, 202, 430, 12, 5373, 422, 446, 262, 95, 1082, 202, 2463, 446, 31, 202, 202, 97, 9506, 202, 45, 2060, 845, 273, 446, 31, 9506, 202, 698, 288, 1082, 202, 1916, 273, 261, 45, 2060, 13, 5373, 18, 588, 1499, 12, 39, 24916, 7134, 18, 3445, 5858, 1769, 202, 202, 97, 1044, 261, 25341, 425, 13, 288, 202, 202, 97, 9506, 202, 2463, 845, 18, 588, 3054, 461, 1435, 397, 31120, 397, 845, 18, 17994, 1435, 397, 315, 300, 315, 397, 845, 18, 588, 2735, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_figPoly.setFillColor(col); _name.setFillColor(col); }
_figPoly.setFillColor(col); _name.setFillColor(col); }
public void setFillColor(Color col) { _figPoly.setFillColor(col); _name.setFillColor(col); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/FigMessage.java/buggy/src_new/org/argouml/uml/diagram/ui/FigMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 27101, 2957, 12, 2957, 645, 13, 288, 565, 389, 470, 12487, 18, 542, 8026, 2957, 12, 1293, 1769, 565, 389, 529, 18, 542, 8026, 2957, 12, 1293, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 918, 27101, 2957, 12, 2957, 645, 13, 288, 565, 389, 470, 12487, 18, 542, 8026, 2957, 12, 1293, 1769, 565, 389, 529, 18, 542, 8026, 2957, 12, 1293, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (selection == null) return null;
if (selection == null) { return null; }
private String promptForWorkspace() { // get the current workspace as the default ChooseWorkspaceData data = new ChooseWorkspaceData(Platform .getInstanceLocation().getURL()); ChooseWorkspaceDialog dialog = new ChooseWorkspaceDialog(window .getShell(), data, true, false); dialog.prompt(true); // return null if the user changed their mind String selection = data.getSelection(); if (selection == null) return null; // otherwise store the new selection and return the selection data.writePersistedData(); return selection; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/OpenWorkspaceAction.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/OpenWorkspaceAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 6866, 1290, 8241, 1435, 288, 3639, 368, 336, 326, 783, 6003, 487, 326, 805, 3639, 25593, 8241, 751, 501, 273, 394, 25593, 8241, 751, 12, 8201, 7734, 263, 588, 1442, 2735, 7675, 588, 1785, 10663, 3639, 25593, 8241, 6353, 6176, 273, 394, 25593, 8241, 6353, 12, 5668, 7734, 263, 588, 13220, 9334, 501, 16, 638, 16, 629, 1769, 3639, 6176, 18, 13325, 12, 3767, 1769, 3639, 368, 327, 446, 309, 326, 729, 3550, 3675, 22838, 3639, 514, 4421, 273, 501, 18, 588, 6233, 5621, 3639, 309, 261, 10705, 422, 446, 13, 5411, 327, 446, 31, 3639, 368, 3541, 1707, 326, 394, 4421, 471, 327, 326, 4421, 3639, 501, 18, 2626, 12771, 329, 751, 5621, 3639, 327, 4421, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 514, 6866, 1290, 8241, 1435, 288, 3639, 368, 336, 326, 783, 6003, 487, 326, 805, 3639, 25593, 8241, 751, 501, 273, 394, 25593, 8241, 751, 12, 8201, 7734, 263, 588, 1442, 2735, 7675, 588, 1785, 10663, 3639, 25593, 8241, 6353, 6176, 273, 394, 25593, 8241, 6353, 12, 5668, 7734, 263, 588, 13220, 9334, 501, 16, 638, 16, 629, 1769, 3639, 6176, 18, 13325, 12, 3767, 1769, 3639, 368, 327, 446, 309, 326, 729, 3550, 3675, 22838, 3639, 514, 4421, 273, 501, 18, 588, 6233, 5621, 3639, 309, 261, 10705, 422, 446, 13, 5411, 327, 446, 31, 3639, 368, 3541, 1707, 326, 394, 4421, 471, 327, 326, 4421, 3639, 501, 18, 2626, 12771, 329, 751, 5621, 3639, 327, 2 ]
init = assignExpr(ts, source, inForInit);
init = assignExpr(ts, inForInit);
private Object variables(TokenStream ts, Source source, boolean inForInit) throws IOException, JavaScriptException { Object pn = nf.createVariables(ts.getLineno()); boolean first = true; source.append((char)ts.VAR); for (;;) { Object name; Object init; mustMatchToken(ts, ts.NAME, "msg.bad.var"); String s = ts.getString(); if (!first) source.append((char)ts.COMMA); first = false; source.addString(ts.NAME, s); name = nf.createName(s); // omitted check for argument hiding if (ts.matchToken(ts.ASSIGN)) { if (ts.getOp() != ts.NOP) reportError(ts, "msg.bad.var.init"); source.append((char)ts.ASSIGN); source.append((char)ts.NOP); init = assignExpr(ts, source, inForInit); nf.addChildToBack(name, init); } nf.addChildToBack(pn, name); if (!ts.matchToken(ts.COMMA)) break; } return pn; }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/cb763059f39a0f44e8695140a747f151637d1ad8/Parser.java/buggy/js/rhino/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3152, 12, 1345, 1228, 3742, 16, 4998, 1084, 16, 1250, 316, 1290, 2570, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 13958, 18, 2640, 6158, 12, 3428, 18, 588, 48, 267, 5764, 10663, 3639, 1250, 1122, 273, 638, 31, 3639, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 7716, 1769, 3639, 364, 261, 25708, 13, 288, 5411, 1033, 508, 31, 5411, 1033, 1208, 31, 5411, 1297, 2060, 1345, 12, 3428, 16, 3742, 18, 1985, 16, 315, 3576, 18, 8759, 18, 1401, 8863, 5411, 514, 272, 273, 3742, 18, 588, 780, 5621, 5411, 309, 16051, 3645, 13, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 4208, 5535, 1769, 5411, 1122, 273, 629, 31, 5411, 1084, 18, 1289, 780, 12, 3428, 18, 1985, 16, 272, 1769, 5411, 508, 273, 13958, 18, 2640, 461, 12, 87, 1769, 5411, 368, 16195, 866, 364, 1237, 366, 10415, 5411, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 23289, 3719, 288, 7734, 309, 261, 3428, 18, 588, 3817, 1435, 480, 3742, 18, 3417, 52, 13, 10792, 17887, 12, 3428, 16, 315, 3576, 18, 8759, 18, 1401, 18, 2738, 8863, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 23289, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 3417, 52, 1769, 7734, 1208, 273, 2683, 4742, 12, 3428, 16, 316, 1290, 2570, 1769, 7734, 13958, 18, 1289, 1763, 774, 2711, 12, 529, 16, 1208, 1769, 5411, 289, 5411, 13958, 18, 1289, 1763, 774, 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, 1033, 3152, 12, 1345, 1228, 3742, 16, 4998, 1084, 16, 1250, 316, 1290, 2570, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 13958, 18, 2640, 6158, 12, 3428, 18, 588, 48, 267, 5764, 10663, 3639, 1250, 1122, 273, 638, 31, 3639, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 7716, 1769, 3639, 364, 261, 25708, 13, 288, 5411, 1033, 508, 31, 5411, 1033, 1208, 31, 5411, 1297, 2060, 1345, 12, 3428, 16, 3742, 18, 1985, 16, 315, 3576, 18, 8759, 18, 1401, 8863, 5411, 514, 272, 273, 3742, 18, 588, 780, 5621, 5411, 309, 16051, 3645, 13, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 4208, 5535, 1769, 5411, 1122, 273, 2 ]
while (it.hasNext()) { DataType dt = (DataType)it.next();
for (Iterator it = m_root.getObjectTypes().iterator(); it.hasNext(); ) { com.arsdigita.persistence.proto.metadata.ObjectType ot = (com.arsdigita.persistence.proto.metadata.ObjectType) it.next(); if (ot.getModel().equals(m_model)) { result.add(ot); } }
public Collection getObjectTypes() { Iterator it = m_types.values().iterator(); Collection retval = new ArrayList(); while (it.hasNext()) { DataType dt = (DataType)it.next(); if (dt instanceof ObjectType) { retval.add(dt); } } return retval; }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/33d40a30749ceabf445a17f71fe56c89d7fc913c/Model.java/clean/archive/proto/src/com/arsdigita/persistence/metadata/Model.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2200, 6455, 2016, 1435, 288, 3639, 4498, 518, 273, 312, 67, 2352, 18, 2372, 7675, 9838, 5621, 3639, 2200, 5221, 273, 394, 2407, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 14828, 3681, 273, 261, 6273, 13, 305, 18, 4285, 5621, 5411, 309, 261, 7510, 1276, 21338, 13, 288, 7734, 5221, 18, 1289, 12, 7510, 1769, 5411, 289, 3639, 289, 3639, 327, 5221, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2200, 6455, 2016, 1435, 288, 3639, 4498, 518, 273, 312, 67, 2352, 18, 2372, 7675, 9838, 5621, 3639, 2200, 5221, 273, 394, 2407, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 14828, 3681, 273, 261, 6273, 13, 305, 18, 4285, 5621, 5411, 309, 261, 7510, 1276, 21338, 13, 288, 7734, 5221, 18, 1289, 12, 7510, 1769, 5411, 289, 3639, 289, 3639, 327, 5221, 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 ]
protected void doUpdateItem(final Item item, Object element) { if (!(item instanceof TreeItem)) return; TreeItem treeItem = (TreeItem)item; if (treeItem.isDisposed()) { unmapElement(element); return; } colorAndFontCollector.setFontsAndColors(element); IBaseLabelProvider prov = getLabelProvider(); ITableLabelProvider tprov = null; if (prov instanceof ITableLabelProvider) { tprov = (ITableLabelProvider) prov; } int columnCount = tree.getColumnCount(); if(columnCount == 0){//If no columns were created use the label provider ViewerLabel updateLabel = new ViewerLabel(treeItem .getText(), treeItem.getImage()); buildLabel(updateLabel,element); //As it is possible for user code to run the event //loop check here. if (treeItem.isDisposed()) { unmapElement(element); return; } if(updateLabel.hasNewText()) treeItem.setText(updateLabel.getText()); if(updateLabel.hasNewImage()) treeItem.setImage(updateLabel.getImage()); } else{//Use the table based support for (int column = 0; column < columnCount; column++) { // Similar code in TableViewer.doUpdateItem() String text = "";//$NON-NLS-1$ Image image = null; treeColorAndFont.setFontsAndColors(treeItem, element,column); if (tprov == null) { if (column == 0) { ViewerLabel updateLabel = new ViewerLabel(treeItem .getText(), treeItem.getImage()); buildLabel(updateLabel,element); //As it is possible for user code to run the event //loop check here. if (treeItem.isDisposed()) { unmapElement(element); return; } text = updateLabel.getText(); image = updateLabel.getImage(); } } else { text = tprov.getColumnText(element, column); image = tprov.getColumnImage(element, column); } //Avoid setting text to null if (text == null) text = ""; //$NON-NLS-1$ treeItem.setText(column, text); if (treeItem.getImage(column) != image) { treeItem.setImage(column, image); } } } colorAndFontCollector.applyFontsAndColors(treeItem); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/d94e309c616b79ca7e205fa94a5f9687ffcbe4f8/TreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 1891, 1180, 12, 6385, 4342, 761, 16, 1033, 930, 13, 288, 1082, 309, 16051, 12, 1726, 1276, 4902, 1180, 3719, 327, 31, 3639, 4902, 1180, 2151, 1180, 273, 261, 2471, 1180, 13, 1726, 31, 3639, 309, 261, 3413, 1180, 18, 291, 1669, 7423, 10756, 288, 5411, 640, 1458, 1046, 12, 2956, 1769, 5411, 327, 31, 3639, 289, 13491, 2036, 1876, 5711, 7134, 18, 542, 5711, 87, 1876, 12570, 12, 2956, 1769, 7734, 467, 2171, 2224, 2249, 17197, 273, 11237, 2249, 5621, 202, 202, 1285, 429, 2224, 2249, 268, 25529, 273, 446, 31, 202, 202, 430, 261, 25529, 1276, 467, 1388, 2224, 2249, 13, 288, 1082, 202, 88, 25529, 273, 261, 1285, 429, 2224, 2249, 13, 17197, 31, 202, 202, 97, 540, 509, 22429, 273, 2151, 18, 588, 1494, 1380, 5621, 202, 202, 430, 12, 2827, 1380, 422, 374, 15329, 759, 2047, 1158, 2168, 4591, 2522, 999, 326, 1433, 2893, 1082, 202, 18415, 2224, 1089, 2224, 273, 394, 4441, 264, 2224, 12, 3413, 1180, 6862, 202, 18, 588, 1528, 9334, 2151, 1180, 18, 588, 2040, 10663, 1082, 202, 3510, 2224, 12, 2725, 2224, 16, 2956, 1769, 25083, 202, 759, 1463, 518, 353, 3323, 364, 729, 981, 358, 1086, 326, 871, 2398, 368, 6498, 866, 2674, 18, 1082, 202, 430, 261, 3413, 1180, 18, 291, 1669, 7423, 10756, 288, 7734, 640, 1458, 1046, 12, 2956, 1769, 7734, 327, 31, 5411, 289, 565, 25083, 202, 430, 12, 2725, 2224, 18, 5332, 1908, 1528, 10756, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 1891, 1180, 12, 6385, 4342, 761, 16, 1033, 930, 13, 288, 1082, 309, 16051, 12, 1726, 1276, 4902, 1180, 3719, 327, 31, 3639, 4902, 1180, 2151, 1180, 273, 261, 2471, 1180, 13, 1726, 31, 3639, 309, 261, 3413, 1180, 18, 291, 1669, 7423, 10756, 288, 5411, 640, 1458, 1046, 12, 2956, 1769, 5411, 327, 31, 3639, 289, 13491, 2036, 1876, 5711, 7134, 18, 542, 5711, 87, 1876, 12570, 12, 2956, 1769, 7734, 467, 2171, 2224, 2249, 17197, 273, 11237, 2249, 5621, 202, 202, 1285, 429, 2224, 2249, 268, 25529, 273, 446, 31, 202, 202, 430, 261, 25529, 1276, 467, 1388, 2224, 2249, 13, 288, 1082, 202, 88, 25529, 273, 261, 1285, 429, 2224, 2249, 13, 2 ]
private StaticInheritanceVisitor(BaseInspection inspection, InspectionManager inspectionManager, boolean isOnTheFly) {
private StaticInheritanceVisitor(BaseInspection inspection, InspectionManager inspectionManager, boolean isOnTheFly){
private StaticInheritanceVisitor(BaseInspection inspection, InspectionManager inspectionManager, boolean isOnTheFly) { super(inspection, inspectionManager, isOnTheFly); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/5aa35b2df570765c60519b186a4c55bd7ac791a6/StaticInheritanceInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/classlayout/StaticInheritanceInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 10901, 28255, 7413, 12, 2171, 14985, 2763, 7017, 16, 22085, 7017, 1318, 2763, 7017, 1318, 16, 1250, 28181, 1986, 42, 715, 15329, 5411, 2240, 12, 2679, 7017, 16, 2763, 7017, 1318, 16, 28181, 1986, 42, 715, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3238, 10901, 28255, 7413, 12, 2171, 14985, 2763, 7017, 16, 22085, 7017, 1318, 2763, 7017, 1318, 16, 1250, 28181, 1986, 42, 715, 15329, 5411, 2240, 12, 2679, 7017, 16, 2763, 7017, 1318, 16, 28181, 1986, 42, 715, 1769, 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 ]
} else if (j > 0 && word.equalsIgnoreCase(terms[0])) { j = 1; term = terms[j]; distance = 0 ; continue; } if (-1 < distance) ++distance;
current_distance = -1; while ((token = tok.nextToken()) != null) { word = token.getText().toLowerCase(); if (current_distance > max_distance) { j = 0; term = terms[j]; current_distance = -1; } if (word.equalsIgnoreCase(term)) { boolean withIn = current_distance >= min_distance ? true : false; current_distance = 0; j++; if (j == terms.length) { if (withIn) { r.add(current);
private Sequence exactMatch(XQueryContext context, NodeSet result) { // walk through hits and calculate term-distances String value; String term; String word; TextToken token; NodeProxy current; NodeSet r = new ExtArrayNodeSet(); Tokenizer tok = context.getBroker().getTextEngine().getTokenizer(); int j; int distance; for (Iterator i = result.iterator(); i.hasNext();) { current = (NodeProxy) i.next(); value = current.getNodeValueSeparated(); tok.setText(value); j = 0; if (j < terms.length) term = terms[j]; else break; distance = -1; while ((token = tok.nextToken()) != null) { word = token.getText().toLowerCase(); if (distance > max_distance) { // reset j = 0; term = terms[j]; distance = -1; } // that else would cause some words to be ignored in the matching if (word.equalsIgnoreCase(term)) { distance = 0; j++; if (j == terms.length) { // all terms found r.add(current); break; } else term = terms[j]; } else if (j > 0 && word.equalsIgnoreCase(terms[0])) { // first search term found: start again j = 1; term = terms[j]; distance = 0 ; continue; } // that else MAY cause the distance count to be off by one but i'm not sure if (-1 < distance) ++distance; } }// LOG.debug("found " + r.getLength()); return r; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/fe57a1331a6ebec3b7a121c4252864f738e66b8c/ExtNear.java/clean/src/org/exist/xquery/functions/ExtNear.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 8370, 5565, 2060, 12, 60, 1138, 1042, 819, 16, 2029, 694, 563, 13, 288, 202, 202, 759, 5442, 3059, 11076, 471, 4604, 2481, 17, 25834, 202, 202, 780, 460, 31, 202, 202, 780, 2481, 31, 202, 202, 780, 2076, 31, 202, 202, 1528, 1345, 1147, 31, 202, 202, 907, 3886, 783, 31, 202, 202, 907, 694, 436, 273, 394, 6419, 1076, 907, 694, 5621, 202, 202, 10524, 946, 273, 819, 18, 588, 11194, 7675, 588, 1528, 4410, 7675, 588, 10524, 5621, 202, 202, 474, 525, 31, 202, 202, 474, 3888, 31, 202, 202, 1884, 261, 3198, 277, 273, 563, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 2972, 273, 261, 907, 3886, 13, 277, 18, 4285, 5621, 1082, 202, 1132, 273, 783, 18, 588, 907, 620, 28174, 5621, 1082, 202, 17692, 18, 542, 1528, 12, 1132, 1769, 1082, 202, 78, 273, 374, 31, 1082, 202, 430, 261, 78, 411, 6548, 18, 2469, 13, 9506, 202, 6408, 273, 6548, 63, 78, 15533, 1082, 202, 12107, 9506, 202, 8820, 31, 1082, 202, 8969, 273, 300, 21, 31, 1082, 202, 17523, 14015, 2316, 273, 946, 18, 4285, 1345, 10756, 480, 446, 13, 288, 9506, 202, 1095, 273, 1147, 18, 588, 1528, 7675, 869, 5630, 5621, 9506, 202, 430, 261, 8969, 405, 943, 67, 8969, 13, 288, 6862, 202, 759, 2715, 6862, 202, 78, 273, 374, 31, 6862, 202, 6408, 273, 6548, 63, 78, 15533, 6862, 202, 8969, 273, 300, 21, 31, 6862, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 8370, 5565, 2060, 12, 60, 1138, 1042, 819, 16, 2029, 694, 563, 13, 288, 202, 202, 759, 5442, 3059, 11076, 471, 4604, 2481, 17, 25834, 202, 202, 780, 460, 31, 202, 202, 780, 2481, 31, 202, 202, 780, 2076, 31, 202, 202, 1528, 1345, 1147, 31, 202, 202, 907, 3886, 783, 31, 202, 202, 907, 694, 436, 273, 394, 6419, 1076, 907, 694, 5621, 202, 202, 10524, 946, 273, 819, 18, 588, 11194, 7675, 588, 1528, 4410, 7675, 588, 10524, 5621, 202, 202, 474, 525, 31, 202, 202, 474, 3888, 31, 202, 202, 1884, 261, 3198, 277, 273, 563, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 2972, 273, 261, 907, 3886, 2 ]
} catch (OperationCanceledException exception) { System.err.println("Cancelled");
} catch (OperationCanceledException exception) { return; } catch (Exception e) { MessageDialog.openError(null, "Error updating search options", "Error was : "+e.getMessage()); return;
private void updateAttributesFromRepository(String repositoryUrl, String[] selectedProducts, boolean connect) { if (connect) { // TODO: make cancelable (bug 143011) monitorDialog.setCancelable(false); monitorDialog.open(); IProgressMonitor monitor = monitorDialog.getProgressMonitor(); try { monitor.beginTask("Updating search options...", 55); BugzillaUiPlugin.updateQueryOptions(repository, monitor); } catch (LoginException exception) { // we had a problem that seems to have been caused from bad // login info MessageDialog .openError( null, "Login Error", "Bugzilla could not log you in to get the information you requested since login name or password is incorrect.\nPlease check your settings in the bugzilla preferences. "); // BugzillaPlugin.log(exception); return; } catch (IOException e) { MessageDialog.openError(null, "Connection Error", e.getMessage() + "\nPlease check your settings in the bugzilla preferences. "); return; } catch (OperationCanceledException exception) { System.err.println("Cancelled"); } finally { monitor.done(); monitorDialog.close(); } } if (selectedProducts == null) { String[] productsList = BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_PRODUCT, null, repositoryUrl); Arrays.sort(productsList, String.CASE_INSENSITIVE_ORDER); product.setItems(productsList); } String[] componentsList = BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_COMPONENT, selectedProducts, repositoryUrl); Arrays.sort(componentsList, String.CASE_INSENSITIVE_ORDER); component.setItems(componentsList); version.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_VERSION, selectedProducts, repositoryUrl)); target.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_TARGET, selectedProducts, repositoryUrl)); if (selectedProducts == null) { status.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_STATUS, selectedProducts, repositoryUrl)); // status.setSelection(BugzillaRepositoryUtil.getQueryOptions(IBugzillaConstants.VALUSE_STATUS_PRESELECTED, // repositoryUrl)); resolution.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_RESOLUTION, selectedProducts, repositoryUrl)); severity.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_SEVERITY, selectedProducts, repositoryUrl)); priority.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_PRIORITY, selectedProducts, repositoryUrl)); hardware.setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_HARDWARE, selectedProducts, repositoryUrl)); os .setItems(BugzillaUiPlugin.getQueryOptions(IBugzillaConstants.VALUES_OS, selectedProducts, repositoryUrl)); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/022f75a91905ba0f0ed48e84d09a03613357992d/BugzillaSearchPage.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 2498, 1265, 3305, 12, 780, 3352, 1489, 16, 514, 8526, 3170, 13344, 16, 1250, 3077, 13, 288, 202, 202, 430, 261, 3612, 13, 288, 1082, 202, 759, 2660, 30, 1221, 3755, 429, 261, 925, 5045, 31831, 21, 13, 1082, 202, 10259, 6353, 18, 542, 6691, 429, 12, 5743, 1769, 1082, 202, 10259, 6353, 18, 3190, 5621, 25083, 202, 45, 5491, 7187, 6438, 273, 6438, 6353, 18, 588, 5491, 7187, 5621, 1082, 202, 698, 288, 9506, 202, 10259, 18, 10086, 2174, 2932, 17858, 1623, 702, 7070, 16, 21483, 1769, 9506, 202, 19865, 15990, 13943, 3773, 18, 2725, 1138, 1320, 12, 9071, 16, 6438, 1769, 1082, 202, 97, 1044, 261, 5358, 503, 1520, 13, 288, 9506, 202, 759, 732, 9323, 279, 6199, 716, 12001, 358, 1240, 2118, 15848, 628, 5570, 9506, 202, 759, 3925, 1123, 9506, 202, 1079, 6353, 25083, 202, 18, 3190, 668, 12, 6862, 9506, 202, 2011, 16, 6862, 9506, 202, 6, 5358, 1068, 3113, 6862, 9506, 202, 6, 19865, 15990, 3377, 486, 613, 1846, 316, 358, 336, 326, 1779, 1846, 3764, 3241, 3925, 508, 578, 2201, 353, 11332, 8403, 82, 8496, 866, 3433, 1947, 316, 326, 7934, 15990, 12750, 18, 315, 1769, 9506, 202, 759, 16907, 15990, 3773, 18, 1330, 12, 4064, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 1044, 261, 14106, 425, 13, 288, 9506, 202, 1079, 6353, 18, 3190, 668, 12, 2011, 16, 315, 1952, 1068, 3113, 425, 18, 24906, 1435, 25083, 202, 15, 1548, 82, 8496, 866, 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, 1089, 2498, 1265, 3305, 12, 780, 3352, 1489, 16, 514, 8526, 3170, 13344, 16, 1250, 3077, 13, 288, 202, 202, 430, 261, 3612, 13, 288, 1082, 202, 759, 2660, 30, 1221, 3755, 429, 261, 925, 5045, 31831, 21, 13, 1082, 202, 10259, 6353, 18, 542, 6691, 429, 12, 5743, 1769, 1082, 202, 10259, 6353, 18, 3190, 5621, 25083, 202, 45, 5491, 7187, 6438, 273, 6438, 6353, 18, 588, 5491, 7187, 5621, 1082, 202, 698, 288, 9506, 202, 10259, 18, 10086, 2174, 2932, 17858, 1623, 702, 7070, 16, 21483, 1769, 9506, 202, 19865, 15990, 13943, 3773, 18, 2725, 1138, 1320, 12, 9071, 16, 6438, 1769, 1082, 202, 97, 1044, 261, 5358, 503, 1520, 13, 288, 9506, 2 ]
ChannelDefinition chanDef = channelStore.getChannelDefinition(fname); ai.addAttribute(uri,"id","id","CDATA",chanDef.getId()+"");
chanDef = channelStore.getChannelDefinition(fname);
public void startElement (String uri, String localName, String qName, Attributes atts) throws SAXException { AttributesImpl ai=new AttributesImpl(atts); // Adding the fragment name to the vector if ( qName.equals("fragment") ) { String name = atts.getValue("name"); try { String id = layoutStore.getNextFragmentId(); if ( !fragmentIds.containsKey(name) ) fragmentIds.put(name,id); ai.addAttribute(uri,"id","id","CDATA",id); ai.addAttribute(uri,"owner","owner","CDATA",getAdminId()); } catch ( Exception pe ) { throw new SAXException(pe.getMessage()); } } // Getting the channel ID by the fname else if ( qName.equals("channel") ) { String fname = atts.getValue("fname"); try { ChannelDefinition chanDef = channelStore.getChannelDefinition(fname); ai.addAttribute(uri,"id","id","CDATA",chanDef.getId()+""); } catch ( Exception e ) { throw new SAXException(e.getMessage()); } } if(qName.equals("group")) { // this could be made more robust by adding another mode for "groups" element groupMode=true; groupUri=uri; groupLocalName=localName; groupAtts=new AttributesImpl(atts); } else if(qName.equals("restriction")) { // this can also be made more robust by adding another mode for "restrictions" element // look up restriction name in the DB if(ai.getIndex("type")!=-1) { // restriction type was specified if(ai.getIndex("name")!=-1 && rMap.containsKey(ai.getValue("name")) && (!ai.getValue("type").equals(ai.getValue("name")))) { System.out.println("ERROR: specified restriction type \""+ai.getValue("type")+"\" does not match the specified name \""+ai.getValue("name")+"\" in the database. name \""+ai.getValue("name")+"\" matches restriction type \""+(String)rMap.get(ai.getValue("name"))+"\""); System.exit(1); } else { super.startElement(uri,localName,qName,ai); } } else { String restrName=ai.getValue("name"); if(restrName!=null) { ai.addAttribute(uri,"type","type","CDATA",restrName); } else { System.out.println("ERROR: config file specifies a restriction name \""+restrName+"\" which is not registered with the database!"); System.exit(1); } super.startElement(uri,localName,qName,ai); } } else { super.startElement(uri,localName,qName,ai); } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/f9184319c2300549dccb20fe4574bbce19294de4/FragmentLoader.java/clean/source/org/jasig/portal/layout/utils/FragmentLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 13591, 261, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 15687, 13, 1216, 14366, 288, 5411, 9055, 2828, 14679, 33, 2704, 9055, 2828, 12, 270, 3428, 1769, 2398, 368, 21240, 326, 5481, 508, 358, 326, 3806, 5411, 309, 261, 22914, 18, 14963, 2932, 11956, 7923, 262, 288, 2398, 514, 508, 273, 15687, 18, 24805, 2932, 529, 8863, 2398, 775, 288, 2868, 514, 612, 273, 3511, 2257, 18, 588, 2134, 7456, 548, 5621, 2868, 309, 261, 401, 11956, 2673, 18, 12298, 653, 12, 529, 13, 262, 7734, 5481, 2673, 18, 458, 12, 529, 16, 350, 1769, 2868, 14679, 18, 1289, 1499, 12, 1650, 10837, 350, 15937, 350, 15937, 18375, 3113, 350, 1769, 2868, 14679, 18, 1289, 1499, 12, 1650, 10837, 8443, 15937, 8443, 15937, 18375, 3113, 588, 4446, 548, 10663, 2398, 289, 1044, 261, 1185, 2804, 262, 288, 1171, 604, 394, 14366, 12, 347, 18, 24906, 10663, 9079, 289, 5411, 289, 368, 26602, 326, 1904, 1599, 635, 326, 5299, 5411, 469, 309, 261, 22914, 18, 14963, 2932, 4327, 7923, 262, 288, 2398, 514, 5299, 273, 15687, 18, 24805, 2932, 12749, 8863, 2398, 775, 288, 2868, 5307, 1852, 3861, 3262, 273, 1904, 2257, 18, 588, 2909, 1852, 12, 12749, 1769, 2868, 14679, 18, 1289, 1499, 12, 1650, 10837, 350, 15937, 350, 15937, 18375, 3113, 7472, 3262, 18, 26321, 1435, 15, 3660, 1769, 2398, 289, 1044, 261, 1185, 425, 262, 288, 1171, 604, 394, 14366, 12, 73, 18, 24906, 10663, 9079, 289, 5411, 289, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 13591, 261, 780, 2003, 16, 514, 11927, 16, 514, 22914, 16, 9055, 15687, 13, 1216, 14366, 288, 5411, 9055, 2828, 14679, 33, 2704, 9055, 2828, 12, 270, 3428, 1769, 2398, 368, 21240, 326, 5481, 508, 358, 326, 3806, 5411, 309, 261, 22914, 18, 14963, 2932, 11956, 7923, 262, 288, 2398, 514, 508, 273, 15687, 18, 24805, 2932, 529, 8863, 2398, 775, 288, 2868, 514, 612, 273, 3511, 2257, 18, 588, 2134, 7456, 548, 5621, 2868, 309, 261, 401, 11956, 2673, 18, 12298, 653, 12, 529, 13, 262, 7734, 5481, 2673, 18, 458, 12, 529, 16, 350, 1769, 2868, 14679, 18, 1289, 1499, 12, 1650, 10837, 350, 15937, 350, 15937, 18375, 3113, 350, 1769, 2868, 14679, 18, 2 ]
return;
return;*/
protected void processKeyEvent(KeyEvent evt) { if(!isEnabled()) return; evt = KeyEventWorkaround.processKeyEvent(evt); if(evt == null) return; if(evt.getID() == KeyEvent.KEY_PRESSED) { if(evt.getKeyCode() == KeyEvent.VK_ENTER) { if(enterAddsToHistory) addCurrentToHistory(); if(evt.getModifiers() == 0) { fireActionPerformed(); evt.consume(); } } else if(evt.getKeyCode() == KeyEvent.VK_UP) { if(evt.isShiftDown()) doBackwardSearch(); else historyPrevious(); evt.consume(); } else if(evt.getKeyCode() == KeyEvent.VK_DOWN) { if(evt.isShiftDown()) doForwardSearch(); else historyNext(); evt.consume(); } else if(evt.getKeyCode() == KeyEvent.VK_TAB && evt.isControlDown()) { doBackwardSearch(); evt.consume(); } } if(!evt.isConsumed()) super.processKeyEvent(evt); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/a6475e60e80cb554b7b5725fa2af2277cecac8da/HistoryTextField.java/buggy/org/gjt/sp/jedit/gui/HistoryTextField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1207, 653, 1133, 12, 653, 1133, 6324, 13, 202, 95, 202, 202, 430, 12, 5, 291, 1526, 10756, 1082, 202, 2463, 31, 202, 202, 73, 11734, 273, 23737, 2421, 12716, 18, 2567, 653, 1133, 12, 73, 11734, 1769, 202, 202, 430, 12, 73, 11734, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 430, 12, 73, 11734, 18, 588, 734, 1435, 422, 23737, 18, 3297, 67, 27388, 13, 202, 202, 95, 1082, 202, 430, 12, 73, 11734, 18, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 12278, 13, 1082, 202, 95, 9506, 202, 430, 12, 2328, 3655, 774, 5623, 13, 6862, 202, 1289, 3935, 774, 5623, 5621, 9506, 202, 430, 12, 73, 11734, 18, 588, 11948, 1435, 422, 374, 13, 9506, 202, 95, 6862, 202, 12179, 19449, 5621, 6862, 202, 73, 11734, 18, 21224, 5621, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 309, 12, 73, 11734, 18, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 3079, 13, 1082, 202, 95, 9506, 202, 430, 12, 73, 11734, 18, 291, 10544, 4164, 10756, 6862, 202, 2896, 26283, 2979, 5621, 9506, 202, 12107, 6862, 202, 8189, 8351, 5621, 9506, 202, 73, 11734, 18, 21224, 5621, 1082, 202, 97, 1082, 202, 12107, 309, 12, 73, 11734, 18, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 12711, 13, 1082, 202, 95, 9506, 202, 430, 12, 73, 11734, 18, 291, 10544, 4164, 10756, 6862, 202, 2896, 8514, 2979, 5621, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1207, 653, 1133, 12, 653, 1133, 6324, 13, 202, 95, 202, 202, 430, 12, 5, 291, 1526, 10756, 1082, 202, 2463, 31, 202, 202, 73, 11734, 273, 23737, 2421, 12716, 18, 2567, 653, 1133, 12, 73, 11734, 1769, 202, 202, 430, 12, 73, 11734, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 430, 12, 73, 11734, 18, 588, 734, 1435, 422, 23737, 18, 3297, 67, 27388, 13, 202, 202, 95, 1082, 202, 430, 12, 73, 11734, 18, 588, 653, 1085, 1435, 422, 23737, 18, 58, 47, 67, 12278, 13, 1082, 202, 95, 9506, 202, 430, 12, 2328, 3655, 774, 5623, 13, 6862, 202, 1289, 3935, 774, 5623, 5621, 9506, 202, 430, 12, 73, 11734, 2 ]
GridData gridData = new GridData(GridData.FILL_BOTH); completionsTable.setLayoutData(gridData);
private void openMultiKeyAssistShell(final Display display) { // Get the status line. If none, then abort. StatusLineContributionItem statusLine = state.getStatusLine(); if (statusLine == null) { return; } Point statusLineLocation = statusLine.getDisplayLocation(); if (statusLineLocation == null) { return; } // Set up the shell. multiKeyAssistShell = new Shell(display, SWT.NO_TRIM); GridLayout layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; multiKeyAssistShell.setLayout(layout); multiKeyAssistShell.setBackground(display.getSystemColor(SWT.COLOR_INFO_BACKGROUND)); // Get the list of items. Map partialMatches = new TreeMap(new Comparator() { public int compare(Object a, Object b) { KeySequence sequenceA = (KeySequence) a; KeySequence sequenceB = (KeySequence) b; return sequenceA.format().compareTo(sequenceB.format()); } }); partialMatches.putAll(commandManager.getPartialMatches(state.getCurrentSequence())); Iterator partialMatchItr = partialMatches.entrySet().iterator(); while (partialMatchItr.hasNext()) { Map.Entry entry = (Map.Entry) partialMatchItr.next(); String commandId = (String) entry.getValue(); ICommand command = commandManager.getCommand(commandId); // TODO The enabled property of ICommand is broken. if (!command.isDefined() || !command.isActive() // || // !command.isEnabled() ) { partialMatchItr.remove(); } } // Layout the partial matches. if (partialMatches.isEmpty()) { Label noMatchesLabel = new Label(multiKeyAssistShell, SWT.NULL); noMatchesLabel.setText(Util.translateString(RESOURCE_BUNDLE, "NoMatches.Message")); //$NON-NLS-1$ noMatchesLabel.setLayoutData(new GridData(GridData.FILL_BOTH)); noMatchesLabel.setBackground(multiKeyAssistShell.getBackground()); } else { final Table completionsTable = new Table(multiKeyAssistShell, SWT.SINGLE); completionsTable.setBackground(multiKeyAssistShell.getBackground()); // Initialize the rows. final List commands = new ArrayList(); // remember commands completionsTable.setLayoutData(new GridData(GridData.FILL_BOTH)); new TableColumn(completionsTable, SWT.LEFT); new TableColumn(completionsTable, SWT.LEFT); Iterator itemsItr = partialMatches.entrySet().iterator(); while (itemsItr.hasNext()) { Map.Entry entry = (Map.Entry) itemsItr.next(); KeySequence sequence = (KeySequence) entry.getKey(); String commandId = (String) entry.getValue(); ICommand command = commandManager.getCommand(commandId); try { String[] text = { sequence.format(), command.getName()}; TableItem item = new TableItem(completionsTable, SWT.NULL); item.setText(text); commands.add(command); } catch (NotDefinedException e) { // Not much to do, but this shouldn't really happen. } } // If you double-click on the table, it should execute the selected // command. completionsTable.addSelectionListener(new SelectionListener() { public void widgetDefaultSelected(SelectionEvent e) { int selectionIndex = completionsTable.getSelectionIndex(); if (selectionIndex >= 0) { ICommand command = (ICommand) commands.get(selectionIndex); executeCommand(command.getId(), new Event()); } } public void widgetSelected(SelectionEvent e) { // Do nothing } }); } // Size the shell. multiKeyAssistShell.pack(); Point assistShellSize = multiKeyAssistShell.getSize(); if (assistShellSize.x > 300) { assistShellSize.x = 300; } if (assistShellSize.y > 200) { assistShellSize.y = 200; } multiKeyAssistShell.setSize(assistShellSize); // Position the shell. Point assistShellLocation = new Point(statusLineLocation.x, statusLineLocation.y - assistShellSize.y); Rectangle displayBounds = display.getBounds(); final int displayRightEdge = displayBounds.x + displayBounds.width; if (assistShellLocation.x < displayBounds.x) { assistShellLocation.x = displayBounds.x; } else if ((assistShellLocation.x + assistShellSize.x) > displayRightEdge) { assistShellLocation.x = displayRightEdge - assistShellSize.x; } final int displayBottomEdge = displayBounds.y + displayBounds.height; if (assistShellLocation.y < displayBounds.y) { assistShellLocation.y = displayBounds.y; } else if ((assistShellLocation.y + assistShellSize.y) > displayBottomEdge) { assistShellLocation.y = displayBottomEdge - assistShellSize.y; } multiKeyAssistShell.setLocation(assistShellLocation); // If the shell loses focus, it should be closed. multiKeyAssistShell.addListener(SWT.Deactivate, new Listener() { public void handleEvent(Event event) { multiKeyAssistShell.close(); multiKeyAssistShell = null; } }); // Open the shell. multiKeyAssistShell.open(); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/2642882f9ad45e31787615c39be93f4c5dfdae20/WorkbenchKeyboard.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/WorkbenchKeyboard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1696, 5002, 653, 2610, 376, 13220, 12, 6385, 9311, 2562, 13, 288, 202, 202, 759, 968, 326, 1267, 980, 18, 971, 6555, 16, 1508, 6263, 18, 202, 202, 1482, 1670, 442, 4027, 1180, 1267, 1670, 273, 919, 18, 588, 1482, 1670, 5621, 202, 202, 430, 261, 2327, 1670, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2148, 1267, 1670, 2735, 273, 1267, 1670, 18, 588, 4236, 2735, 5621, 202, 202, 430, 261, 2327, 1670, 2735, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 1000, 731, 326, 5972, 18, 202, 202, 7027, 653, 2610, 376, 13220, 273, 394, 19433, 12, 5417, 16, 348, 8588, 18, 3417, 67, 6566, 49, 1769, 202, 202, 6313, 3744, 3511, 273, 394, 7145, 3744, 5621, 202, 202, 6741, 18, 10107, 2686, 273, 374, 31, 202, 202, 6741, 18, 10107, 2384, 273, 374, 31, 202, 202, 7027, 653, 2610, 376, 13220, 18, 542, 3744, 12, 6741, 1769, 202, 202, 7027, 653, 2610, 376, 13220, 18, 542, 8199, 12, 5417, 18, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 5923, 67, 8720, 20166, 10019, 202, 202, 759, 968, 326, 666, 434, 1516, 18, 202, 202, 863, 4702, 6869, 273, 394, 16381, 12, 2704, 13359, 1435, 288, 1082, 202, 482, 509, 3400, 12, 921, 279, 16, 1033, 324, 13, 288, 9506, 202, 653, 4021, 3102, 37, 273, 261, 653, 4021, 13, 279, 31, 9506, 202, 653, 4021, 3102, 38, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1696, 5002, 653, 2610, 376, 13220, 12, 6385, 9311, 2562, 13, 288, 202, 202, 759, 968, 326, 1267, 980, 18, 971, 6555, 16, 1508, 6263, 18, 202, 202, 1482, 1670, 442, 4027, 1180, 1267, 1670, 273, 919, 18, 588, 1482, 1670, 5621, 202, 202, 430, 261, 2327, 1670, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2148, 1267, 1670, 2735, 273, 1267, 1670, 18, 588, 4236, 2735, 5621, 202, 202, 430, 261, 2327, 1670, 2735, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 1000, 731, 326, 5972, 18, 202, 202, 7027, 653, 2610, 376, 13220, 273, 394, 19433, 12, 5417, 16, 348, 8588, 18, 2 ]
if (str == null) str = "null"; int len = str.count; ensureCapacity_unsynchronized(count + len); str.getChars(0, len, value, count); count += len; return this;
return append(obj == null ? "null" : obj.toString());
public synchronized StringBuffer append(String str) { if (str == null) str = "null"; int len = str.count; ensureCapacity_unsynchronized(count + len); str.getChars(0, len, value, count); count += len; return this; }
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/450177e0156131c4865e7edb8c9f3883032aa5f9/StringBuffer.java/buggy/libjava/java/lang/StringBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 6674, 714, 12, 780, 609, 13, 225, 288, 565, 309, 261, 701, 422, 446, 13, 1377, 609, 273, 315, 2011, 14432, 565, 509, 562, 273, 609, 18, 1883, 31, 565, 3387, 7437, 67, 318, 22043, 12, 1883, 397, 562, 1769, 565, 609, 18, 588, 7803, 12, 20, 16, 562, 16, 460, 16, 1056, 1769, 565, 1056, 1011, 562, 31, 565, 327, 333, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 6674, 714, 12, 780, 609, 13, 225, 288, 565, 309, 261, 701, 422, 446, 13, 1377, 609, 273, 315, 2011, 14432, 565, 509, 562, 273, 609, 18, 1883, 31, 565, 3387, 7437, 67, 318, 22043, 12, 1883, 397, 562, 1769, 565, 609, 18, 588, 7803, 12, 20, 16, 562, 16, 460, 16, 1056, 1769, 565, 1056, 1011, 562, 31, 565, 327, 333, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
long token = _context.random().nextLong(I2NPMessage.MAX_ID_VALUE);
long token = getContext().random().nextLong(I2NPMessage.MAX_ID_VALUE);
private void sendStoreThroughGarlic(DatabaseStoreMessage msg, RouterInfo peer, long expiration) { long token = _context.random().nextLong(I2NPMessage.MAX_ID_VALUE); TunnelId replyTunnelId = selectInboundTunnel(); TunnelInfo replyTunnel = _context.tunnelManager().getTunnelInfo(replyTunnelId); if (replyTunnel == null) { _log.error("No reply inbound tunnels available!"); return; } msg.setReplyToken(token); msg.setReplyTunnel(replyTunnelId); msg.setReplyGateway(replyTunnel.getThisHop()); if (_log.shouldLog(Log.DEBUG)) _log.debug(getJobId() + ": send(dbStore) w/ token expected " + token); _state.addPending(peer.getIdentity().getHash()); SendSuccessJob onReply = new SendSuccessJob(peer); FailedJob onFail = new FailedJob(peer); StoreMessageSelector selector = new StoreMessageSelector(_context, getJobId(), peer, token, expiration); TunnelId outTunnelId = selectOutboundTunnel(); if (outTunnelId != null) { //if (_log.shouldLog(Log.DEBUG)) // _log.debug(getJobId() + ": Sending tunnel message out " + outTunnelId + " to " // + peer.getIdentity().getHash().toBase64()); TunnelId targetTunnelId = null; // not needed Job onSend = null; // not wanted SendTunnelMessageJob j = new SendTunnelMessageJob(_context, msg, outTunnelId, peer.getIdentity().getHash(), targetTunnelId, onSend, onReply, onFail, selector, STORE_TIMEOUT_MS, STORE_PRIORITY); _context.jobQueue().addJob(j); } else { if (_log.shouldLog(Log.ERROR)) _log.error("No outbound tunnels to send a dbStore out!"); fail(); } }
27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/e737e5c9507ed0d463dc9e45a8f63657f466b177/StoreJob.java/clean/router/java/src/net/i2p/router/networkdb/kademlia/StoreJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 2257, 14287, 43, 13007, 335, 12, 4254, 2257, 1079, 1234, 16, 9703, 966, 4261, 16, 1525, 7686, 13, 288, 3639, 1525, 1147, 273, 6474, 7675, 9188, 7675, 4285, 3708, 12, 45, 22, 23430, 1079, 18, 6694, 67, 734, 67, 4051, 1769, 7734, 399, 8564, 548, 4332, 20329, 548, 273, 2027, 20571, 20329, 5621, 3639, 399, 8564, 966, 4332, 20329, 273, 389, 2472, 18, 19878, 1318, 7675, 588, 20329, 966, 12, 10629, 20329, 548, 1769, 3639, 309, 261, 10629, 20329, 422, 446, 13, 288, 5411, 389, 1330, 18, 1636, 2932, 2279, 4332, 13357, 14825, 87, 2319, 4442, 1769, 5411, 327, 31, 3639, 289, 3639, 1234, 18, 542, 7817, 1345, 12, 2316, 1769, 3639, 1234, 18, 542, 7817, 20329, 12, 10629, 20329, 548, 1769, 3639, 1234, 18, 542, 7817, 5197, 12, 10629, 20329, 18, 588, 2503, 27461, 10663, 3639, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 1330, 18, 4148, 12, 588, 23378, 1435, 397, 6398, 1366, 12, 1966, 2257, 13, 341, 19, 1147, 2665, 315, 397, 1147, 1769, 7734, 389, 2019, 18, 1289, 8579, 12, 12210, 18, 588, 4334, 7675, 588, 2310, 10663, 7734, 2479, 4510, 2278, 603, 7817, 273, 394, 2479, 4510, 2278, 12, 12210, 1769, 3639, 11175, 2278, 603, 3754, 273, 394, 11175, 2278, 12, 12210, 1769, 3639, 4994, 1079, 4320, 3451, 273, 394, 4994, 1079, 4320, 24899, 2472, 16, 13024, 548, 9334, 4261, 16, 1147, 16, 7686, 1769, 7734, 399, 8564, 548, 596, 20329, 548, 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, 1366, 2257, 14287, 43, 13007, 335, 12, 4254, 2257, 1079, 1234, 16, 9703, 966, 4261, 16, 1525, 7686, 13, 288, 3639, 1525, 1147, 273, 6474, 7675, 9188, 7675, 4285, 3708, 12, 45, 22, 23430, 1079, 18, 6694, 67, 734, 67, 4051, 1769, 7734, 399, 8564, 548, 4332, 20329, 548, 273, 2027, 20571, 20329, 5621, 3639, 399, 8564, 966, 4332, 20329, 273, 389, 2472, 18, 19878, 1318, 7675, 588, 20329, 966, 12, 10629, 20329, 548, 1769, 3639, 309, 261, 10629, 20329, 422, 446, 13, 288, 5411, 389, 1330, 18, 1636, 2932, 2279, 4332, 13357, 14825, 87, 2319, 4442, 1769, 5411, 327, 31, 3639, 289, 3639, 1234, 18, 542, 7817, 1345, 12, 2316, 1769, 3639, 1234, 18, 542, 2 ]
containingDocument.dispatchExternalEvent(pipelineContext, new XXFormsInitializeEvent(containingDocument));
containingDocument.dispatchEvent(pipelineContext, new XXFormsInitializeEvent(containingDocument));
public void readImpl(final PipelineContext pipelineContext, ContentHandler contentHandler) { // Get XForms model XFormsModel model = (org.orbeon.oxf.xforms.XFormsModel) readCacheInputAsObject(pipelineContext, getInputByName(INPUT_MODEL), new CacheableInputReader(){ public Object read(PipelineContext context, ProcessorInput input) { return new XFormsModel(readInputAsDOM4J(context, input)); } }); try { // Clone model because we set the instance, and that must not be cached model = (XFormsModel) model.clone(); } catch (CloneNotSupportedException e) { throw new OXFException(e); } // Set annotated instance on model Document instanceDocument = (Document) readCacheInputAsDOM4J(pipelineContext, INPUT_INSTANCE).clone(); model.setInstanceDocument(pipelineContext, 0, instanceDocument, null, null, null); // Create and initialize XForms Engine final ExternalContext externalContext = (ExternalContext) pipelineContext.getAttribute(PipelineContext.EXTERNAL_CONTEXT); final XFormsContainingDocument containingDocument = new XFormsContainingDocument(model, externalContext); containingDocument.dispatchExternalEvent(pipelineContext, new XXFormsInitializeEvent(containingDocument)); // Output the instance to the specified content handler model.getDefaultInstance().read(contentHandler); }
51410 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51410/e9e5c165d524bda80b4fe2b76ca37220ce0fe11b/XFormsAnnotate.java/buggy/src/java/org/orbeon/oxf/processor/xforms/validation/XFormsAnnotate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 855, 2828, 12, 6385, 13671, 1042, 5873, 1042, 16, 3697, 1503, 913, 1503, 13, 288, 7734, 368, 968, 1139, 18529, 938, 7734, 1139, 18529, 1488, 938, 273, 261, 3341, 18, 280, 2196, 265, 18, 2409, 74, 18, 92, 9741, 18, 60, 18529, 1488, 13, 855, 1649, 1210, 1463, 921, 12, 14511, 1042, 16, 12353, 5911, 12, 15934, 67, 17391, 3631, 394, 4379, 429, 1210, 2514, 1435, 95, 10792, 1071, 1033, 855, 12, 8798, 1042, 819, 16, 15476, 1210, 810, 13, 288, 13491, 327, 394, 1139, 18529, 1488, 12, 896, 1210, 1463, 8168, 24, 46, 12, 2472, 16, 810, 10019, 10792, 289, 7734, 15549, 7734, 775, 288, 10792, 368, 12758, 938, 2724, 732, 444, 326, 791, 16, 471, 716, 1297, 486, 506, 3472, 10792, 938, 273, 261, 60, 18529, 1488, 13, 938, 18, 14056, 5621, 7734, 289, 1044, 261, 10930, 25482, 425, 13, 288, 10792, 604, 394, 531, 60, 42, 503, 12, 73, 1769, 7734, 289, 7734, 368, 1000, 10529, 791, 603, 938, 7734, 4319, 791, 2519, 273, 261, 2519, 13, 855, 1649, 1210, 1463, 8168, 24, 46, 12, 14511, 1042, 16, 12943, 67, 13341, 2934, 14056, 5621, 7734, 938, 18, 542, 1442, 2519, 12, 14511, 1042, 16, 374, 16, 791, 2519, 16, 446, 16, 446, 16, 446, 1769, 7734, 368, 1788, 471, 4046, 1139, 18529, 10507, 7734, 727, 11352, 1042, 3903, 1042, 273, 261, 6841, 1042, 13, 5873, 1042, 18, 588, 1499, 12, 8798, 1042, 18, 2294, 11702, 67, 13181, 1769, 7734, 727, 1139, 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, 2398, 1071, 918, 855, 2828, 12, 6385, 13671, 1042, 5873, 1042, 16, 3697, 1503, 913, 1503, 13, 288, 7734, 368, 968, 1139, 18529, 938, 7734, 1139, 18529, 1488, 938, 273, 261, 3341, 18, 280, 2196, 265, 18, 2409, 74, 18, 92, 9741, 18, 60, 18529, 1488, 13, 855, 1649, 1210, 1463, 921, 12, 14511, 1042, 16, 12353, 5911, 12, 15934, 67, 17391, 3631, 394, 4379, 429, 1210, 2514, 1435, 95, 10792, 1071, 1033, 855, 12, 8798, 1042, 819, 16, 15476, 1210, 810, 13, 288, 13491, 327, 394, 1139, 18529, 1488, 12, 896, 1210, 1463, 8168, 24, 46, 12, 2472, 16, 810, 10019, 10792, 289, 7734, 15549, 7734, 775, 288, 10792, 368, 12758, 938, 2724, 732, 444, 326, 791, 16, 2 ]
pullRulesets(style, sheet);
CSSRuleList rl = style.getCssRules(); pullRulesets(rl, sheet, info);
public Stylesheet parse(java.io.Reader reader, StylesheetInfo info) { InputSource is = new InputSource(reader); CSSStyleSheet style = null; try { style = parser.parseStyleSheet(is); } catch (java.io.IOException e) { throw new XRRuntimeException("IOException on parsing style seet from a Reader; don't know the URI.", e); } Stylesheet sheet = new Stylesheet(info); pullRulesets(style, sheet); return sheet; }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/37a4a3d1b1f6a7c86c2b59853a3db3638b9bf1e0/StylesheetFactory.java/buggy/src/java/org/xhtmlrenderer/css/sheet/StylesheetFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29483, 2963, 1109, 12, 6290, 18, 1594, 18, 2514, 2949, 16, 29483, 2963, 966, 1123, 13, 288, 3639, 23699, 353, 273, 394, 23699, 12, 10530, 1769, 3639, 6765, 2885, 8229, 2154, 273, 446, 31, 3639, 775, 288, 5411, 2154, 273, 2082, 18, 2670, 2885, 8229, 12, 291, 1769, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 5411, 604, 394, 1139, 54, 11949, 2932, 14106, 603, 5811, 2154, 695, 278, 628, 279, 5393, 31, 2727, 1404, 5055, 326, 3699, 1199, 16, 425, 1769, 3639, 289, 3639, 29483, 2963, 6202, 273, 394, 29483, 2963, 12, 1376, 1769, 3639, 6765, 2175, 682, 11618, 273, 2154, 18, 588, 7359, 4478, 5621, 6892, 4478, 2413, 12, 1321, 16, 6202, 16, 1123, 1769, 3639, 327, 6202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29483, 2963, 1109, 12, 6290, 18, 1594, 18, 2514, 2949, 16, 29483, 2963, 966, 1123, 13, 288, 3639, 23699, 353, 273, 394, 23699, 12, 10530, 1769, 3639, 6765, 2885, 8229, 2154, 273, 446, 31, 3639, 775, 288, 5411, 2154, 273, 2082, 18, 2670, 2885, 8229, 12, 291, 1769, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 5411, 604, 394, 1139, 54, 11949, 2932, 14106, 603, 5811, 2154, 695, 278, 628, 279, 5393, 31, 2727, 1404, 5055, 326, 3699, 1199, 16, 425, 1769, 3639, 289, 3639, 29483, 2963, 6202, 273, 394, 29483, 2963, 12, 1376, 1769, 3639, 6765, 2175, 682, 11618, 273, 2154, 18, 588, 7359, 4478, 5621, 6892, 4478, 2413, 12, 1321, 16, 2 ]
_breakpointsPanel = new BreakpointsPanel(this);
if (_model.getDebugger().isAvailable()) { _breakpointsPanel = new BreakpointsPanel(this); }
private void _setUpTabs() { _compilerErrorPanel = new CompilerErrorPanel(_model, this); _consoleController = new ConsoleController(_model.getConsoleDocument(), _model.getSwingConsoleDocument()); _consolePane = _consoleController.getPane(); // Interactions _interactionsController = new InteractionsController(_model.getInteractionsModel(), _model.getSwingInteractionsDocument()); _interactionsController.setPrevPaneAction(_switchToPreviousPaneAction); _interactionsController.setNextPaneAction(_switchToNextPaneAction); _interactionsPane = _interactionsController.getPane(); // _model.setInputListener(_consoleController.getInputListener());// _model.getInteractionsModel().setInputListener(_interactionsController.getInputListener()); // Moved to the interactions controller. _findReplace = new FindReplaceDialog(this, _model); _consoleScroll = new BorderlessScrollPane(_consolePane) { public boolean requestFocusInWindow() { return _consolePane.requestFocusInWindow(); } }; JScrollPane interactionsScroll = new BorderlessScrollPane(_interactionsPane); _interactionsContainer = new JPanel(new BorderLayout()) { public boolean requestFocusInWindow() { return _interactionsPane.requestFocusInWindow(); } }; _interactionsContainer.add(interactionsScroll, BorderLayout.CENTER); _junitErrorPanel = new JUnitPanel(_model, this); _javadocErrorPanel = new JavadocErrorPanel(_model, this); _breakpointsPanel = new BreakpointsPanel(this); _tabbedPane = new JTabbedPane(); _tabbedPane.addChangeListener(new ChangeListener () { public void stateChanged(ChangeEvent e) {// Utilities.showDebug("MainFrame.stateChanged called with event"); clearStatusMessage(); if (_tabbedPane.getSelectedComponent() == _consoleScroll) // Use SwingUtilities because this action must execute AFTER all pending events in the event queue SwingUtilities.invokeLater(new Runnable() { public void run() { _consolePane.requestFocusInWindow(); } }); // Update error highlights? if (_currentDefPane != null) { int pos = _currentDefPane.getCaretPosition(); _currentDefPane.removeErrorHighlight(); //this line removes the highlighting whenever the current tabbed pane is switched _currentDefPane.getErrorCaretListener().updateHighlight(pos); } } }); //_interactionsWithSyncPanel = new JPanel(new BorderLayout()); //_syncStatus = new JLabel("Testing"); //_interactionsWithSyncPanel.add(new BorderlessScrollPane(_interactionsPane), BorderLayout.CENTER); //_interactionsWithSyncPanel.add(_syncStatus, BorderLayout.SOUTH); _tabbedPane.add("Interactions", _interactionsContainer); _tabbedPane.add("Console", _consoleScroll); _tabs = new LinkedList<TabbedPanel>(); _tabs.addLast(_compilerErrorPanel); _tabs.addLast(_junitErrorPanel); _tabs.addLast(_javadocErrorPanel); _tabs.addLast(_findReplace); _tabs.addLast(_breakpointsPanel); _interactionsPane.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { _lastFocusOwner = _interactionsContainer; } }); _consolePane.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { _lastFocusOwner = _consoleScroll; } }); _compilerErrorPanel.getMainPanel().addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { _lastFocusOwner = _compilerErrorPanel; } }); _junitErrorPanel.getMainPanel().addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { _lastFocusOwner = _junitErrorPanel; } }); _javadocErrorPanel.getMainPanel().addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { _lastFocusOwner = _javadocErrorPanel; } }); _findReplace.getFindField().addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { _lastFocusOwner = _findReplace; } }); // Show compiler output pane by default showTab(_compilerErrorPanel); _tabbedPane.setSelectedIndex(0); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/579a4d89882b0dda3dd1f44a56fcd202a72dea14/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 542, 1211, 17348, 1435, 288, 565, 389, 9576, 668, 5537, 273, 394, 12972, 668, 5537, 24899, 2284, 16, 333, 1769, 3639, 389, 8698, 2933, 273, 394, 9657, 2933, 24899, 2284, 18, 588, 10215, 2519, 9334, 389, 2284, 18, 588, 6050, 310, 10215, 2519, 10663, 565, 389, 8698, 8485, 273, 389, 8698, 2933, 18, 588, 8485, 5621, 3639, 368, 5294, 4905, 565, 389, 2761, 4905, 2933, 273, 1377, 394, 5294, 4905, 2933, 24899, 2284, 18, 588, 2465, 4905, 1488, 9334, 389, 2284, 18, 588, 6050, 310, 2465, 4905, 2519, 10663, 565, 389, 2761, 4905, 2933, 18, 542, 9958, 8485, 1803, 24899, 9610, 774, 8351, 8485, 1803, 1769, 565, 389, 2761, 4905, 2933, 18, 542, 2134, 8485, 1803, 24899, 9610, 774, 2134, 8485, 1803, 1769, 565, 389, 2761, 4905, 8485, 273, 389, 2761, 4905, 2933, 18, 588, 8485, 5621, 565, 368, 565, 389, 2284, 18, 542, 1210, 2223, 24899, 8698, 2933, 18, 588, 1210, 2223, 10663, 759, 565, 389, 2284, 18, 588, 2465, 4905, 1488, 7675, 542, 1210, 2223, 24899, 2761, 4905, 2933, 18, 588, 1210, 2223, 10663, 565, 368, 490, 9952, 358, 326, 23877, 2596, 18, 3639, 389, 4720, 5729, 273, 394, 4163, 5729, 6353, 12, 2211, 16, 389, 2284, 1769, 3639, 389, 8698, 6806, 273, 394, 13525, 2656, 26360, 24899, 8698, 8485, 13, 288, 1377, 1071, 1250, 590, 9233, 382, 3829, 1435, 288, 327, 389, 8698, 8485, 18, 2293, 9233, 382, 3829, 5621, 289, 565, 289, 31, 565, 804, 26360, 23877, 6806, 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, 918, 389, 542, 1211, 17348, 1435, 288, 565, 389, 9576, 668, 5537, 273, 394, 12972, 668, 5537, 24899, 2284, 16, 333, 1769, 3639, 389, 8698, 2933, 273, 394, 9657, 2933, 24899, 2284, 18, 588, 10215, 2519, 9334, 389, 2284, 18, 588, 6050, 310, 10215, 2519, 10663, 565, 389, 8698, 8485, 273, 389, 8698, 2933, 18, 588, 8485, 5621, 3639, 368, 5294, 4905, 565, 389, 2761, 4905, 2933, 273, 1377, 394, 5294, 4905, 2933, 24899, 2284, 18, 588, 2465, 4905, 1488, 9334, 389, 2284, 18, 588, 6050, 310, 2465, 4905, 2519, 10663, 565, 389, 2761, 4905, 2933, 18, 542, 9958, 8485, 1803, 24899, 9610, 774, 8351, 8485, 1803, 1769, 565, 389, 2761, 4905, 2933, 18, 542, 2134, 8485, 2 ]
assertEquals(PropertySetter.AS_PROPERTY, setter.canContainComponent("count")); assertEquals(PropertySetter.AS_PROPERTY, setter.canContainComponent("Count"));
assertEquals(ContainmentType.AS_SINGLE_PROPERTY, setter.canContainComponent("count")); assertEquals(ContainmentType.AS_SINGLE_PROPERTY, setter.canContainComponent("Count"));
public void testCanContainComponent() { House house = new House(); PropertySetter setter = new PropertySetter(house); assertEquals(PropertySetter.AS_COMPONENT, setter.canContainComponent("door")); assertEquals(PropertySetter.AS_PROPERTY, setter.canContainComponent("count")); assertEquals(PropertySetter.AS_PROPERTY, setter.canContainComponent("Count")); assertEquals(PropertySetter.AS_PROPERTY, setter.canContainComponent("name")); assertEquals(PropertySetter.AS_PROPERTY, setter.canContainComponent("Name")); assertEquals(PropertySetter.AS_PROPERTY, setter.canContainComponent("open")); assertEquals(PropertySetter.AS_PROPERTY, setter.canContainComponent("Open")); }
47402 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47402/445c93509c33d1cf431a1f997c92db98d3b8fd69/PropertySetterTest.java/clean/logback-core/src/test/java/ch/qos/logback/core/util/PropertySetterTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2568, 22928, 1841, 1435, 288, 565, 670, 3793, 23867, 273, 394, 670, 3793, 5621, 565, 4276, 8465, 7794, 273, 394, 4276, 8465, 12, 13028, 1769, 565, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 22922, 16, 7794, 18, 4169, 22928, 1841, 2932, 2896, 280, 7923, 1769, 3639, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 1883, 7923, 1769, 565, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 1380, 7923, 1769, 3639, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 529, 7923, 1769, 565, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 461, 7923, 1769, 3639, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 3190, 7923, 1769, 565, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 3678, 7923, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2568, 22928, 1841, 1435, 288, 565, 670, 3793, 23867, 273, 394, 670, 3793, 5621, 565, 4276, 8465, 7794, 273, 394, 4276, 8465, 12, 13028, 1769, 565, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 22922, 16, 7794, 18, 4169, 22928, 1841, 2932, 2896, 280, 7923, 1769, 3639, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 1883, 7923, 1769, 565, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 1380, 7923, 1769, 3639, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 9900, 16, 7794, 18, 4169, 22928, 1841, 2932, 529, 7923, 1769, 565, 1815, 8867, 12, 1396, 8465, 18, 3033, 67, 2 ]
JSPManager.showJSP(request, response, "/dspace-admin/edit-community.jsp");
JSPManager.showJSP(request, response, "/tools/edit-community.jsp");
protected void doDSPost(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { // First, see if we have a multipart request (uploading a logo) String contentType = request.getContentType(); if (contentType != null && contentType.indexOf("multipart/form-data") != -1) { // This is a multipart request, so it's a file upload processUploadLogo(context, request, response); return; } /* * Respond to submitted forms. Each form includes an "action" parameter * indicating what needs to be done (from the constants above.) */ int action = UIUtil.getIntParameter(request, "action"); /* * Most of the forms supply one or more of these values. Since we just * get null if we try and find something with ID -1, we'll just try * and find both here to save hassle later on */ Community community = Community.find(context, UIUtil.getIntParameter(request, "community_id")); Community parentCommunity = Community.find(context, UIUtil.getIntParameter(request, "parent_community_id")); Collection collection = Collection.find(context, UIUtil.getIntParameter(request, "collection_id")); // Just about every JSP will need the values we received request.setAttribute("community", community); request.setAttribute("parent", parentCommunity); request.setAttribute("collection", collection); /* * First we check for a "cancel" button - if it's been pressed, we * simply return to the main control page */ if (request.getParameter("submit_cancel") != null) { showControls(context, request, response); return; } // Now proceed according to "action" parameter switch (action) { case START_EDIT_COMMUNITY: // Display the relevant "edit community" page JSPManager.showJSP(request, response, "/dspace-admin/edit-community.jsp"); break; case START_DELETE_COMMUNITY: // Show "confirm delete" page JSPManager.showJSP(request, response, "/dspace-admin/confirm-delete-community.jsp"); break; case START_CREATE_COMMUNITY: // Display edit community page with empty fields + create button JSPManager.showJSP(request, response, "/dspace-admin/edit-community.jsp"); break; case START_EDIT_COLLECTION: // Display the relevant "edit collection" page JSPManager.showJSP(request, response, "/dspace-admin/edit-collection.jsp"); break; case START_DELETE_COLLECTION: // Show "confirm delete" page JSPManager.showJSP(request, response, "/dspace-admin/confirm-delete-collection.jsp"); break; case START_CREATE_COLLECTION: // Forward to collection creation wizard response.sendRedirect(response.encodeRedirectURL( request.getContextPath() + "/dspace-admin/collection-wizard?community_id=" + community.getID())); break; case CONFIRM_EDIT_COMMUNITY: // Edit or creation of a community confirmed processConfirmEditCommunity(context, request, response, community); break; case CONFIRM_DELETE_COMMUNITY: // remember the parent community, if any Community parent = community.getParentCommunity(); // Delete the community community.delete(); // if community was top-level, redirect to community-list page if (parent == null) { response.sendRedirect(response.encodeRedirectURL( request.getContextPath() + "/community-list")); } else // redirect to parent community page { response.sendRedirect(response.encodeRedirectURL( request.getContextPath() + "/handle/" + parent.getHandle() )); } // Show main control page //showControls(context, request, response); // Commit changes to DB context.complete(); break; case CONFIRM_EDIT_COLLECTION: // Edit or creation of a collection confirmed processConfirmEditCollection( context, request, response, community, collection); break; case CONFIRM_DELETE_COLLECTION: // Delete the collection community.removeCollection(collection); // Show main control page showControls(context, request, response); // Commit changes to DB context.complete(); break; default: // Erm... weird action value received. log.warn(LogManager.getHeader(context, "integrity_error", UIUtil.getRequestLogInfo(request))); JSPManager.showIntegrityError(request, response); } }
25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/44d920f6673301feb8b329391378fb326189f9de/EditCommunitiesServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/admin/EditCommunitiesServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 40, 3118, 669, 12, 1042, 819, 16, 3639, 9984, 590, 16, 3639, 12446, 766, 13, 3639, 1216, 16517, 16, 1860, 16, 6483, 16, 23859, 503, 565, 288, 3639, 368, 5783, 16, 2621, 309, 732, 1240, 279, 10263, 590, 261, 6327, 310, 279, 19128, 13, 3639, 514, 5064, 273, 590, 18, 588, 8046, 5621, 3639, 309, 261, 22194, 480, 446, 597, 5411, 5064, 18, 31806, 2932, 16404, 19, 687, 17, 892, 7923, 480, 300, 21, 13, 3639, 288, 5411, 368, 1220, 353, 279, 10263, 590, 16, 1427, 518, 1807, 279, 585, 3617, 5411, 1207, 4777, 26604, 12, 2472, 16, 590, 16, 766, 1769, 5411, 327, 31, 3639, 289, 3639, 1748, 540, 380, 25019, 358, 9638, 10138, 18, 225, 8315, 646, 6104, 392, 315, 1128, 6, 1569, 540, 380, 11193, 4121, 4260, 358, 506, 2731, 261, 2080, 326, 6810, 5721, 12998, 540, 1195, 3639, 509, 1301, 273, 6484, 1304, 18, 588, 1702, 1662, 12, 2293, 16, 315, 1128, 8863, 3639, 1748, 540, 380, 22099, 434, 326, 10138, 14467, 1245, 578, 1898, 434, 4259, 924, 18, 225, 7897, 732, 2537, 540, 380, 336, 446, 309, 732, 775, 471, 1104, 5943, 598, 1599, 300, 21, 16, 732, 5614, 2537, 775, 540, 380, 471, 1104, 3937, 2674, 358, 1923, 366, 428, 298, 5137, 603, 540, 1195, 3639, 16854, 13352, 19833, 273, 16854, 13352, 18, 4720, 12, 2472, 16, 5411, 6484, 1304, 18, 588, 1702, 1662, 12, 2293, 16, 315, 20859, 67, 350, 7923, 1769, 3639, 16854, 13352, 982, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 40, 3118, 669, 12, 1042, 819, 16, 3639, 9984, 590, 16, 3639, 12446, 766, 13, 3639, 1216, 16517, 16, 1860, 16, 6483, 16, 23859, 503, 565, 288, 3639, 368, 5783, 16, 2621, 309, 732, 1240, 279, 10263, 590, 261, 6327, 310, 279, 19128, 13, 3639, 514, 5064, 273, 590, 18, 588, 8046, 5621, 3639, 309, 261, 22194, 480, 446, 597, 5411, 5064, 18, 31806, 2932, 16404, 19, 687, 17, 892, 7923, 480, 300, 21, 13, 3639, 288, 5411, 368, 1220, 353, 279, 10263, 590, 16, 1427, 518, 1807, 279, 585, 3617, 5411, 1207, 4777, 26604, 12, 2472, 16, 590, 16, 766, 1769, 5411, 327, 31, 3639, 289, 3639, 1748, 540, 380, 25019, 358, 9638, 10138, 2 ]
index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), 0, 2);
index = AssertArrays.makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), 0, 2);
public void testIndexPast() { int index = makeIEEE32ArrayEmpty().indexPast(IEEE32Value.make(1.1f), 0, 1); assertEquals(-1, index); index = makeIEEE32Array1().indexPast(IEEE32Value.make(1.1f), 0, 1); assertEquals(-1, index); index = makeIEEE32Array1().indexPast(IEEE32Value.make(1.1f), 0, 0); assertEquals(-1, index); index = makeIEEE32Array12345().indexPast(IEEE32Value.make(1.1f), 0, 1); assertEquals(1, index); index = makeIEEE32Array12345().indexPast(IEEE32Value.make(1.1f), 0, 2); assertEquals(2, index); index = makeIEEE32Array12345().indexPast(IEEE32Value.make(1.1f), 1, 1); assertEquals(1, index); index = makeIEEE32Array12345().indexPast(IEEE32Value.make(5.5f), 0, 1); assertEquals(0, index); index = makeIEEE32Array12345().indexPast(IEEE32Value.make(5.5f), 3, 1); assertEquals(3, index); index = makeIEEE32Array12345().indexPast(IEEE32Value.make(5.5f), 4, 1); assertEquals(-1, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), 0, 1); assertEquals(0, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), 0, 2); assertEquals(2, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(1.1f), -1, -1); assertEquals(3, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), -1, -1); assertEquals(4, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), -1, 1); assertEquals(4, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), -1, 2); assertEquals(-1, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), -1, -2); assertEquals(2, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), -1, -3); assertEquals(0, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), -3, -1); assertEquals(2, index); index = makeIEEE32Array12321().indexPast(IEEE32Value.make(1.1f), -1, 1); assertEquals(-1, index); try { makeIEEE32Array12321().indexPast(IEEE32Value.make(2.2f), -6, 1); fail(); } catch (IndexOutOfBoundsException e) { // expected } }
6519 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6519/f909356caa9c9683aa1c0941d0bb69048d2d5ec5/IEEE32ArrayTest.java/buggy/src/org/abora/white/collection/arrays/tests/IEEE32ArrayTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1016, 52, 689, 1435, 288, 9506, 202, 474, 770, 273, 1221, 8732, 9383, 1578, 1076, 1921, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 374, 16, 404, 1769, 202, 202, 11231, 8867, 19236, 21, 16, 770, 1769, 202, 202, 1615, 273, 1221, 8732, 9383, 1578, 1076, 21, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 374, 16, 404, 1769, 202, 202, 11231, 8867, 19236, 21, 16, 770, 1769, 202, 202, 1615, 273, 1221, 8732, 9383, 1578, 1076, 21, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 374, 16, 374, 1769, 202, 202, 11231, 8867, 19236, 21, 16, 770, 1769, 9506, 202, 1615, 273, 1221, 8732, 9383, 1578, 1076, 2138, 25574, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 374, 16, 404, 1769, 202, 202, 11231, 8867, 12, 21, 16, 770, 1769, 202, 202, 1615, 273, 1221, 8732, 9383, 1578, 1076, 2138, 25574, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 374, 16, 576, 1769, 202, 202, 11231, 8867, 12, 22, 16, 770, 1769, 202, 202, 1615, 273, 1221, 8732, 9383, 1578, 1076, 2138, 25574, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 404, 16, 404, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1016, 52, 689, 1435, 288, 9506, 202, 474, 770, 273, 1221, 8732, 9383, 1578, 1076, 1921, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 374, 16, 404, 1769, 202, 202, 11231, 8867, 19236, 21, 16, 770, 1769, 202, 202, 1615, 273, 1221, 8732, 9383, 1578, 1076, 21, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 374, 16, 404, 1769, 202, 202, 11231, 8867, 19236, 21, 16, 770, 1769, 202, 202, 1615, 273, 1221, 8732, 9383, 1578, 1076, 21, 7675, 1615, 52, 689, 12, 8732, 9383, 1578, 620, 18, 6540, 12, 21, 18, 21, 74, 3631, 374, 2 ]
State state = getStateInstance(); if (state == State.STOPPED || state == State.STOPPING) { return; } else if (state == State.STARTING) { setState(State.STOPPED); return;
assert !Thread.holdsLock(this): "This method cannot be called while holding a syncrhonized lock on this"; synchronized (this) { State state = getStateInstance(); if (state == State.STOPPED || state == State.STOPPING) { return; } setState(State.STOPPING);
public final void stop() throws Exception { State state = getStateInstance(); if (state == State.STOPPED || state == State.STOPPING) { return; } else if (state == State.STARTING) { setState(State.STOPPED); return; } try { setState(State.STOPPING); // stop all of my dependent objects Set dependents = dependencyService.getStartChildren(objectName); for (Iterator iterator = dependents.iterator(); iterator.hasNext();) { ObjectName name = (ObjectName) iterator.next(); server.invoke(name, "stop", null, null); } // stop myself if (dependencyService.canStop(objectName)) { doStop(); setState(State.STOPPED); } } catch (Exception e) { setState(State.FAILED); throw e; } catch (Error e) { setState(State.FAILED); throw e; } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/40cf70816d34bf1ed8ffac9ed94360bb1ca26b22/AbstractStateManageable.java/clean/modules/core/src/java/org/apache/geronimo/common/AbstractStateManageable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 2132, 1435, 1216, 1185, 288, 3639, 3287, 919, 273, 8997, 1442, 5621, 3639, 309, 261, 2019, 422, 3287, 18, 17513, 12120, 747, 919, 422, 3287, 18, 17513, 20002, 13, 288, 5411, 327, 31, 3639, 289, 469, 309, 261, 2019, 422, 3287, 18, 7570, 1360, 13, 288, 5411, 12947, 12, 1119, 18, 17513, 12120, 1769, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 12947, 12, 1119, 18, 17513, 20002, 1769, 5411, 368, 2132, 777, 434, 3399, 10460, 2184, 5411, 1000, 2447, 4877, 273, 4904, 1179, 18, 588, 1685, 4212, 12, 1612, 461, 1769, 5411, 364, 261, 3198, 2775, 273, 2447, 4877, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 7734, 21013, 508, 273, 261, 16707, 13, 2775, 18, 4285, 5621, 7734, 1438, 18, 14407, 12, 529, 16, 315, 5681, 3113, 446, 16, 446, 1769, 5411, 289, 5411, 368, 2132, 3399, 2890, 5411, 309, 261, 15896, 1179, 18, 4169, 4947, 12, 1612, 461, 3719, 288, 7734, 741, 4947, 5621, 7734, 12947, 12, 1119, 18, 17513, 12120, 1769, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 12947, 12, 1119, 18, 11965, 1769, 5411, 604, 425, 31, 3639, 289, 1044, 261, 668, 425, 13, 288, 5411, 12947, 12, 1119, 18, 11965, 1769, 5411, 604, 425, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 2132, 1435, 1216, 1185, 288, 3639, 3287, 919, 273, 8997, 1442, 5621, 3639, 309, 261, 2019, 422, 3287, 18, 17513, 12120, 747, 919, 422, 3287, 18, 17513, 20002, 13, 288, 5411, 327, 31, 3639, 289, 469, 309, 261, 2019, 422, 3287, 18, 7570, 1360, 13, 288, 5411, 12947, 12, 1119, 18, 17513, 12120, 1769, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 12947, 12, 1119, 18, 17513, 20002, 1769, 5411, 368, 2132, 777, 434, 3399, 10460, 2184, 5411, 1000, 2447, 4877, 273, 4904, 1179, 18, 588, 1685, 4212, 12, 1612, 461, 1769, 5411, 364, 261, 3198, 2775, 273, 2447, 4877, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 7734, 21013, 508, 273, 2 ]
return logger; }
return logger; }
public ConsoleLogger getLogger() { return logger; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/4748a5a9b76f3dd763ee6bc7755c932a711bd6a6/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9657, 3328, 7156, 1435, 288, 3639, 327, 1194, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9657, 3328, 7156, 1435, 288, 3639, 327, 1194, 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 ]
dialog.setResource(file);
dialog.setResource(resource);
public void run() { IFile file = getElement(getStructuredSelection()); if (file != null) { TaskPropertiesDialog dialog= new TaskPropertiesDialog(shell); dialog.setResource(file); dialog.open(); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0394e10cfa665379893553dd69d063447c7526c7/AddTaskAction.java/clean/bundles/org.eclipse.ui.views/extensions/org/eclipse/ui/actions/AddTaskAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 45, 812, 585, 273, 7426, 12, 588, 30733, 6233, 10663, 202, 202, 430, 261, 768, 480, 446, 13, 288, 1082, 202, 2174, 2297, 6353, 6176, 33, 394, 3837, 2297, 6353, 12, 10304, 1769, 1082, 202, 12730, 18, 542, 1420, 12, 768, 1769, 1082, 202, 12730, 18, 3190, 5621, 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, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 45, 812, 585, 273, 7426, 12, 588, 30733, 6233, 10663, 202, 202, 430, 261, 768, 480, 446, 13, 288, 1082, 202, 2174, 2297, 6353, 6176, 33, 394, 3837, 2297, 6353, 12, 10304, 1769, 1082, 202, 12730, 18, 542, 1420, 12, 768, 1769, 1082, 202, 12730, 18, 3190, 5621, 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, -100, -100, -100, -100 ]
public void handleException(Throwable e) { super.handleException(e); removePageListener(l); }
public void firePageOpened(final IWorkbenchPage page) { Object [] listeners = this.listeners.getListeners(); for (int i = 0; i < listeners.length; i ++) { final IPageListener l = (IPageListener)listeners[i]; Platform.run(new SafeRunnable() { public void run() { l.pageOpened(page); } public void handleException(Throwable e) { super.handleException(e); //If and unexpected exception happens, remove it //to make sure the workbench keeps running. removePageListener(l); } }); }}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e8477e9d466ef58559b76fa62a3c7e84260a1416/PageListenerList.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PageListenerList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 4452, 1964, 23115, 12, 6385, 467, 2421, 22144, 1964, 1363, 13, 288, 202, 921, 5378, 4679, 273, 333, 18, 16072, 18, 588, 5583, 5621, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4679, 18, 2469, 31, 277, 965, 13, 288, 202, 202, 6385, 467, 1964, 2223, 328, 273, 261, 45, 1964, 2223, 13, 16072, 63, 77, 15533, 202, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 80, 18, 2433, 23115, 12, 2433, 1769, 1082, 202, 97, 1082, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 9506, 202, 9565, 18, 4110, 503, 12, 73, 1769, 9506, 202, 759, 2047, 471, 9733, 1520, 10555, 16, 1206, 518, 9506, 202, 759, 869, 1221, 3071, 326, 1440, 22144, 20948, 3549, 18, 9506, 202, 4479, 1964, 2223, 12, 80, 1769, 1082, 202, 97, 202, 202, 22938, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 4452, 1964, 23115, 12, 6385, 467, 2421, 22144, 1964, 1363, 13, 288, 202, 921, 5378, 4679, 273, 333, 18, 16072, 18, 588, 5583, 5621, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4679, 18, 2469, 31, 277, 965, 13, 288, 202, 202, 6385, 467, 1964, 2223, 328, 273, 261, 45, 1964, 2223, 13, 16072, 63, 77, 15533, 202, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 80, 18, 2433, 23115, 12, 2433, 1769, 1082, 202, 97, 1082, 202, 482, 918, 20879, 12, 15155, 425, 13, 288, 9506, 202, 9565, 18, 4110, 503, 12, 73, 1769, 9506, 202, 759, 2047, 471, 9733, 1520, 10555, 16, 2 ]
StringTokenizer st = new StringTokenizer(l_sql, " \r\t");
StringTokenizer st = new StringTokenizer(l_sql, " \r\t\n");
public void parseQuery() { String[] l_sqlFragments = ((AbstractJdbc2Statement)statement).getSqlFragments(); String l_sql = l_sqlFragments[0]; StringTokenizer st = new StringTokenizer(l_sql, " \r\t"); boolean tableFound = false, tablesChecked = false; String name = ""; singleTable = true; while ( !tableFound && !tablesChecked && st.hasMoreTokens() ) { name = st.nextToken(); if ( !tableFound ) { if (name.toLowerCase().equals("from")) { tableName = st.nextToken(); tableFound = true; } } else { tablesChecked = true; // if the very next token is , then there are multiple tables singleTable = !name.equalsIgnoreCase(","); } } }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/f03f4848cd46be9072e1d5162f67bfcb21f5fc7a/AbstractJdbc2ResultSet.java/buggy/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1109, 1138, 1435, 202, 95, 202, 202, 780, 8526, 328, 67, 4669, 27588, 273, 14015, 7469, 25316, 22, 3406, 13, 11516, 2934, 588, 5101, 27588, 5621, 202, 202, 780, 328, 67, 4669, 273, 328, 67, 4669, 27588, 63, 20, 15533, 202, 202, 780, 10524, 384, 273, 394, 16370, 12, 80, 67, 4669, 16, 315, 521, 86, 64, 88, 8863, 202, 202, 6494, 1014, 2043, 273, 629, 16, 4606, 11454, 273, 629, 31, 202, 202, 780, 508, 273, 1408, 31, 202, 202, 7526, 1388, 273, 638, 31, 202, 202, 17523, 261, 401, 2121, 2043, 597, 401, 9373, 11454, 597, 384, 18, 5332, 7417, 5157, 1435, 262, 202, 202, 95, 1082, 202, 529, 273, 384, 18, 4285, 1345, 5621, 1082, 202, 430, 261, 401, 2121, 2043, 262, 1082, 202, 95, 9506, 202, 430, 261, 529, 18, 869, 5630, 7675, 14963, 2932, 2080, 6, 3719, 9506, 202, 95, 6862, 202, 18033, 273, 384, 18, 4285, 1345, 5621, 6862, 202, 2121, 2043, 273, 638, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 9373, 11454, 273, 638, 31, 9506, 202, 759, 309, 326, 8572, 1024, 1147, 353, 269, 1508, 1915, 854, 3229, 4606, 9506, 202, 7526, 1388, 273, 401, 529, 18, 14963, 5556, 2932, 16, 8863, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1109, 1138, 1435, 202, 95, 202, 202, 780, 8526, 328, 67, 4669, 27588, 273, 14015, 7469, 25316, 22, 3406, 13, 11516, 2934, 588, 5101, 27588, 5621, 202, 202, 780, 328, 67, 4669, 273, 328, 67, 4669, 27588, 63, 20, 15533, 202, 202, 780, 10524, 384, 273, 394, 16370, 12, 80, 67, 4669, 16, 315, 521, 86, 64, 88, 8863, 202, 202, 6494, 1014, 2043, 273, 629, 16, 4606, 11454, 273, 629, 31, 202, 202, 780, 508, 273, 1408, 31, 202, 202, 7526, 1388, 273, 638, 31, 202, 202, 17523, 261, 401, 2121, 2043, 597, 401, 9373, 11454, 597, 384, 18, 5332, 7417, 5157, 1435, 262, 202, 202, 95, 1082, 202, 529, 273, 384, 18, 4285, 2 ]
Logger.log(Logger.ERROR,"ChannelManager.processRequestChannelParameters() : malformed channel address. Null channel target ID.");
Logger.log(Logger.ERROR,"ChannelManager.processRequestChannelParameters() : malformed channel address. Null channel target Id.");
private void processRequestChannelParameters (HttpServletRequest req) { // clear the previous settings channelTarget = null; targetParams = new Hashtable (); String sp=req.getServletPath(); if(sp!=null) { int si1=sp.indexOf(this.channelAddressingPathElement+"/"); if(si1!=-1) { si1+=channelAddressingPathElement.length()+1; int si2=sp.indexOf("/",si1); if(si2!=-1) { channelTarget=sp.substring(si1,si2); if(channelTarget==null) { Logger.log(Logger.ERROR,"ChannelManager.processRequestChannelParameters() : malformed channel address. Null channel target ID."); return; } Logger.log(Logger.DEBUG,"ChannelManager::processRequestChannelParameters() : channelTarget=\""+channelTarget+"\"."); Enumeration en = req.getParameterNames (); if (en != null) { while (en.hasMoreElements ()) { String pName= (String) en.nextElement (); if (!pName.equals ("channelTarget")) { Object[] val= (Object[]) req.getParameterValues(pName); if (val == null) { val = ((PortalSessionManager.RequestParamWrapper)req).getObjectParameterValues(pName); } targetParams.put (pName, val); } } } // check if the channel is an IPrivilegedChannel, and if it is, // pass portal control structures and runtime data. Object chObj; if ((chObj=channelTable.get(channelTarget)) == null) { try { chObj=instantiateChannel(channelTarget); } catch (Exception e) { CError errorChannel=new CError(CError.SET_STATIC_DATA_EXCEPTION,e,channelTarget,null); channelTable.put(channelTarget,errorChannel); chObj=errorChannel; Logger.log(Logger.ERROR,"ChannelManager::processRequestChannelParameters() : unable to pass find/create an instance of a channel. Bogus ID ? ! (id=\""+channelTarget+"\")."); } } if(chObj!=null && (chObj instanceof IPrivilegedChannel)) { IPrivilegedChannel isc=(IPrivilegedChannel) chObj; try { isc.setPortalControlStructures(pcs); } catch (Exception e) { channelTable.remove(isc); CError errorChannel=new CError(CError.SET_PCS_EXCEPTION,e,channelTarget,isc); channelTable.put(channelTarget,errorChannel); isc=errorChannel; // set portal control structures try { errorChannel.setPortalControlStructures(pcs); } catch (Exception e2) { // things are looking bad for our hero StringWriter sw=new StringWriter(); e2.printStackTrace(new PrintWriter(sw)); sw.flush(); Logger.log(Logger.ERROR,"ChannelManager::outputChannels : Error channel threw ! "+sw.toString()); } } ChannelRuntimeData rd = new ChannelRuntimeData (); rd.setParameters(targetParams); rd.setBrowserInfo(binfo); /* String reqURI = req.getRequestURI (); reqURI = reqURI.substring (reqURI.lastIndexOf ("/") + 1, reqURI.length ()); rd.setBaseActionURL (reqURI + "?channelTarget=" + channelTarget + "&");*/ rd.setBaseActionURL(req.getContextPath()+"/channel/"+channelTarget+"/"+uPElement); try { isc.setRuntimeData (rd); } catch (Exception e) { channelTable.remove(isc); CError errorChannel=new CError(CError.SET_RUNTIME_DATA_EXCEPTION,e,channelTarget,isc); channelTable.put(channelTarget,errorChannel); isc=errorChannel; // demand output try { ChannelRuntimeData erd = new ChannelRuntimeData (); erd.setBrowserInfo(binfo); erd.setBaseActionURL(req.getContextPath()+"/channel/"+channelTarget+"/"+uPElement); errorChannel.setPortalControlStructures(pcs); errorChannel.setRuntimeData (erd); } catch (Exception e2) { // things are looking bad for our hero StringWriter sw=new StringWriter(); e2.printStackTrace(new PrintWriter(sw)); sw.flush(); Logger.log(Logger.ERROR,"ChannelManager::outputChannels : Error channel threw ! "+sw.toString()); } } } } } } }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/df83bb43208ce7273788c0297fb8b34b8951e21f/ChannelManager.java/buggy/source/org/jasig/portal/ChannelManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 691, 2909, 2402, 261, 2940, 18572, 1111, 13, 565, 288, 3639, 368, 2424, 326, 2416, 1947, 3639, 1904, 2326, 273, 446, 31, 3639, 1018, 1370, 273, 394, 18559, 261, 1769, 3639, 514, 1694, 33, 3658, 18, 588, 4745, 743, 5621, 3639, 309, 12, 1752, 5, 33, 2011, 13, 288, 5411, 509, 7533, 21, 33, 1752, 18, 31806, 12, 2211, 18, 4327, 1887, 310, 743, 1046, 9078, 4898, 1769, 5411, 309, 12, 7722, 21, 5, 29711, 21, 13, 288, 7734, 7533, 21, 15, 33, 4327, 1887, 310, 743, 1046, 18, 2469, 1435, 15, 21, 31, 7734, 509, 7533, 22, 33, 1752, 18, 31806, 2932, 19, 3113, 7722, 21, 1769, 7734, 309, 12, 7722, 22, 5, 29711, 21, 13, 288, 10792, 1904, 2326, 33, 1752, 18, 28023, 12, 7722, 21, 16, 7722, 22, 1769, 10792, 309, 12, 4327, 2326, 631, 2011, 13, 288, 13491, 4242, 18, 1330, 12, 3328, 18, 3589, 10837, 2909, 1318, 18, 2567, 691, 2909, 2402, 1435, 294, 17458, 1904, 1758, 18, 4112, 1904, 1018, 3124, 1199, 1769, 13491, 327, 31, 10792, 289, 10792, 4242, 18, 1330, 12, 3328, 18, 9394, 10837, 2909, 1318, 2866, 2567, 691, 2909, 2402, 1435, 294, 1904, 2326, 13186, 15, 4327, 2326, 9078, 2412, 1199, 1769, 10792, 13864, 570, 273, 1111, 18, 588, 1662, 1557, 261, 1769, 10792, 309, 261, 275, 480, 446, 13, 288, 13491, 1323, 261, 275, 18, 5332, 7417, 3471, 1832, 13, 288, 18701, 514, 30026, 33, 261, 780, 13, 570, 18, 4285, 1046, 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, 1207, 691, 2909, 2402, 261, 2940, 18572, 1111, 13, 565, 288, 3639, 368, 2424, 326, 2416, 1947, 3639, 1904, 2326, 273, 446, 31, 3639, 1018, 1370, 273, 394, 18559, 261, 1769, 3639, 514, 1694, 33, 3658, 18, 588, 4745, 743, 5621, 3639, 309, 12, 1752, 5, 33, 2011, 13, 288, 5411, 509, 7533, 21, 33, 1752, 18, 31806, 12, 2211, 18, 4327, 1887, 310, 743, 1046, 9078, 4898, 1769, 5411, 309, 12, 7722, 21, 5, 29711, 21, 13, 288, 7734, 7533, 21, 15, 33, 4327, 1887, 310, 743, 1046, 18, 2469, 1435, 15, 21, 31, 7734, 509, 7533, 22, 33, 1752, 18, 31806, 2932, 19, 3113, 7722, 21, 1769, 7734, 309, 12, 7722, 22, 5, 29711, 2 ]
anActor = ac.GetNextItem();
anActor = ac.GetNextActor();
public void keyPressed(KeyEvent e) { if (ren.VisibleActorCount() == 0) return; char keyChar = e.getKeyChar(); if ('r' == keyChar) { ren.ResetCamera(); this.Render(); } if ('u' == keyChar) { vtkPicker picker = new vtkPicker(); picker.Pick(lastX,700 - lastY,0.0,ren); } if ('w' == keyChar) { vtkActorCollection ac; vtkActor anActor; vtkActor aPart; int i, j; ac = ren.GetActors(); ac.InitTraversal(); for (i = 0; i < ac.GetNumberOfItems(); i++) { anActor = ac.GetNextItem(); anActor.InitPartTraversal(); for (j = 0; j < anActor.GetNumberOfParts(); j++) { aPart = anActor.GetNextPart(); aPart.GetProperty().SetRepresentationToWireframe(); } } this.Render(); } if ('s' == keyChar) { vtkActorCollection ac; vtkActor anActor; vtkActor aPart; int i, j; ac = ren.GetActors(); ac.InitTraversal(); for (i = 0; i < ac.GetNumberOfItems(); i++) { anActor = ac.GetNextItem(); anActor.InitPartTraversal(); for (j = 0; j < anActor.GetNumberOfParts(); j++) { aPart = anActor.GetNextPart(); aPart.GetProperty().SetRepresentationToSurface(); } } this.Render(); } }
45453 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45453/31eb8902995695a25f4e72da720ab162cdbc49e1/vtkPanel.java/clean/java/vtk/vtkPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 498, 24624, 12, 653, 1133, 425, 13, 225, 288, 565, 309, 261, 1187, 18, 6207, 17876, 1380, 1435, 422, 374, 13, 327, 31, 565, 1149, 498, 2156, 273, 425, 18, 588, 653, 2156, 5621, 565, 309, 7707, 86, 11, 422, 498, 2156, 13, 1377, 288, 1377, 1654, 18, 7013, 16521, 5621, 1377, 333, 18, 3420, 5621, 1377, 289, 565, 309, 7707, 89, 11, 422, 498, 2156, 13, 1377, 288, 1377, 13659, 13194, 18141, 273, 394, 13659, 13194, 5621, 1377, 18141, 18, 17968, 12, 2722, 60, 16, 26874, 300, 1142, 61, 16, 20, 18, 20, 16, 1187, 1769, 1377, 289, 565, 309, 7707, 91, 11, 422, 498, 2156, 13, 1377, 288, 1377, 13659, 17876, 2532, 1721, 31, 1377, 13659, 17876, 392, 17876, 31, 1377, 13659, 17876, 279, 1988, 31, 1377, 509, 277, 16, 525, 31, 7734, 1721, 273, 1654, 18, 967, 2459, 1383, 5621, 1377, 1721, 18, 2570, 25087, 5621, 1377, 364, 261, 77, 273, 374, 31, 277, 411, 1721, 18, 967, 9226, 3126, 5621, 277, 27245, 202, 95, 202, 304, 17876, 273, 1721, 18, 967, 2134, 1180, 5621, 202, 304, 17876, 18, 2570, 1988, 25087, 5621, 202, 1884, 261, 78, 273, 374, 31, 525, 411, 392, 17876, 18, 967, 9226, 4305, 5621, 525, 27245, 202, 225, 288, 3196, 225, 279, 1988, 273, 392, 17876, 18, 967, 2134, 1988, 5621, 202, 225, 279, 1988, 18, 967, 1396, 7675, 694, 13742, 774, 15249, 3789, 5621, 202, 225, 289, 202, 97, 1377, 333, 18, 3420, 5621, 1377, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 498, 24624, 12, 653, 1133, 425, 13, 225, 288, 565, 309, 261, 1187, 18, 6207, 17876, 1380, 1435, 422, 374, 13, 327, 31, 565, 1149, 498, 2156, 273, 425, 18, 588, 653, 2156, 5621, 565, 309, 7707, 86, 11, 422, 498, 2156, 13, 1377, 288, 1377, 1654, 18, 7013, 16521, 5621, 1377, 333, 18, 3420, 5621, 1377, 289, 565, 309, 7707, 89, 11, 422, 498, 2156, 13, 1377, 288, 1377, 13659, 13194, 18141, 273, 394, 13659, 13194, 5621, 1377, 18141, 18, 17968, 12, 2722, 60, 16, 26874, 300, 1142, 61, 16, 20, 18, 20, 16, 1187, 1769, 1377, 289, 565, 309, 7707, 91, 11, 422, 498, 2156, 13, 1377, 288, 1377, 13659, 17876, 2532, 1721, 31, 1377, 2 ]
} } } }
} } } }
public void setProperty(Object element,boolean newState) throws PropertyVetoException { if (_wellformednessRules != null && element instanceof MBase) { Object helper = UmlHelper.getHelper().getHelper(element); if (helper != null) { for (int i = 0; i < _wellformednessRules.length; i++) { Object arg = _falseArg[0]; if (newState) { arg = _trueArg[0]; } if (arg != null) { if (!_wellformednessRules[i].isWellformed((MBase)element, arg)) { throw new PropertyVetoException( _wellformednessRules[i].getUserMessage(), new PropertyChangeEvent(element, getPropertyName(), new Boolean(!newState), new Boolean(newState))); } } } } } if(_setMethod != null && element != null) { try { // // this allows enumerations to work properly // if newState is false, it won't override // a different enumeration value boolean oldState = getProperty(element); if(newState != oldState) { if(newState) { _setMethod.invoke(element,_trueArg); } else { _setMethod.invoke(element,_falseArg); } } } catch(Exception e) { logger.fatal("Error in UMLEnumerationBooleanProperty.setProperty for " + getPropertyName() + ": " + e.toString()); } } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/UMLEnumerationBooleanProperty.java/buggy/src_new/org/argouml/uml/ui/UMLEnumerationBooleanProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7486, 12, 921, 930, 16, 6494, 15907, 13, 1216, 4276, 58, 11453, 503, 288, 540, 202, 430, 261, 67, 30389, 7312, 4496, 4478, 480, 446, 597, 930, 1276, 490, 2171, 13, 288, 377, 202, 202, 921, 4222, 273, 587, 781, 2276, 18, 588, 2276, 7675, 588, 2276, 12, 2956, 1769, 4202, 202, 202, 430, 261, 4759, 480, 446, 13, 288, 202, 377, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 389, 30389, 7312, 4496, 4478, 18, 2469, 31, 277, 27245, 288, 202, 377, 1082, 202, 921, 1501, 273, 389, 5743, 4117, 63, 20, 15533, 202, 377, 1082, 202, 430, 261, 2704, 1119, 13, 288, 202, 377, 9506, 202, 3175, 273, 389, 3767, 4117, 63, 20, 15533, 202, 377, 1082, 202, 97, 202, 377, 1082, 202, 430, 261, 3175, 480, 446, 13, 288, 202, 377, 9506, 202, 430, 16051, 67, 30389, 7312, 4496, 4478, 63, 77, 8009, 291, 59, 1165, 7312, 12443, 49, 2171, 13, 2956, 16, 1501, 3719, 288, 1082, 377, 9506, 202, 12849, 394, 4276, 58, 11453, 503, 12, 389, 30389, 7312, 4496, 4478, 63, 77, 8009, 588, 1299, 1079, 9334, 1082, 377, 6862, 202, 2704, 4276, 20930, 12, 2956, 16, 27190, 9334, 394, 3411, 12, 5, 2704, 1119, 3631, 394, 3411, 12, 2704, 1119, 3719, 1769, 1082, 377, 6862, 1082, 377, 9506, 202, 97, 202, 377, 1082, 202, 97, 202, 377, 202, 202, 97, 377, 202, 202, 97, 377, 202, 97, 377, 202, 377, 202, 3639, 309, 24899, 542, 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, 7486, 12, 921, 930, 16, 6494, 15907, 13, 1216, 4276, 58, 11453, 503, 288, 540, 202, 430, 261, 67, 30389, 7312, 4496, 4478, 480, 446, 597, 930, 1276, 490, 2171, 13, 288, 377, 202, 202, 921, 4222, 273, 587, 781, 2276, 18, 588, 2276, 7675, 588, 2276, 12, 2956, 1769, 4202, 202, 202, 430, 261, 4759, 480, 446, 13, 288, 202, 377, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 389, 30389, 7312, 4496, 4478, 18, 2469, 31, 277, 27245, 288, 202, 377, 1082, 202, 921, 1501, 273, 389, 5743, 4117, 63, 20, 15533, 202, 377, 1082, 202, 430, 261, 2704, 1119, 13, 288, 202, 377, 9506, 202, 3175, 273, 389, 3767, 4117, 2 ]
asm.emitLWZ (offsetRegister, VM_ObjectModel.getArrayLengthOffset().toInt(), refRegister);
asm.emitLIntOffset (offsetRegister, refRegister, VM_ObjectModel.getArrayLengthOffset());
private int aloadSetup (int logSize, int indexRegister, int refRegister, int offsetRegister) { asm.emitLWZ (offsetRegister, VM_ObjectModel.getArrayLengthOffset().toInt(), refRegister); asm.emitTWLLE(offsetRegister, indexRegister); // trap if index < 0 // or index >= // length if (logSize > 0) { asm.emitSLWI (offsetRegister, indexRegister, logSize); // convert index to offset return offsetRegister; } else return indexRegister; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/607ce8428a60a1e2ea6aeee16fe403ddf08d4b83/VM_QuickCompiler.java/clean/rvm/src/vm/arch/powerPC/compilers/quick/VM_QuickCompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 279, 945, 7365, 261, 474, 613, 1225, 16, 509, 770, 3996, 16, 509, 1278, 3996, 16, 21821, 509, 1384, 3996, 13, 288, 565, 20415, 18, 18356, 48, 1702, 2335, 282, 261, 3348, 3996, 16, 1278, 3996, 16, 8251, 67, 921, 1488, 18, 588, 1076, 1782, 2335, 10663, 1377, 20415, 18, 18356, 18869, 48, 900, 12, 3348, 3996, 16, 770, 3996, 1769, 368, 23034, 309, 770, 411, 374, 4766, 5375, 368, 578, 770, 1545, 4766, 5375, 368, 769, 565, 309, 261, 1330, 1225, 405, 374, 13, 288, 1377, 20415, 18, 18356, 4559, 23109, 225, 261, 3348, 3996, 16, 770, 3996, 16, 225, 613, 1225, 1769, 368, 1765, 770, 358, 1384, 1377, 327, 1384, 3996, 31, 565, 289, 469, 1377, 327, 770, 3996, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 279, 945, 7365, 261, 474, 613, 1225, 16, 509, 770, 3996, 16, 509, 1278, 3996, 16, 21821, 509, 1384, 3996, 13, 288, 565, 20415, 18, 18356, 48, 1702, 2335, 282, 261, 3348, 3996, 16, 1278, 3996, 16, 8251, 67, 921, 1488, 18, 588, 1076, 1782, 2335, 10663, 1377, 20415, 18, 18356, 18869, 48, 900, 12, 3348, 3996, 16, 770, 3996, 1769, 368, 23034, 309, 770, 411, 374, 4766, 5375, 368, 578, 770, 1545, 4766, 5375, 368, 769, 565, 309, 261, 1330, 1225, 405, 374, 13, 288, 1377, 20415, 18, 18356, 4559, 23109, 225, 261, 3348, 3996, 16, 770, 3996, 16, 225, 613, 1225, 1769, 368, 1765, 770, 358, 1384, 1377, 327, 1384, 3996, 31, 565, 289, 2 ]
jEdit.setProperty("history." + name + "." + i,
jEdit.setProperty("history." + name + "." + (getItemCount() - i - 1),
public void save() { String text = (String)getEditor().getItem(); if(text == null) text = (String)getSelectedItem(); if(text != null && text.length() != 0) addItem(text); for(int i = 0; i < getItemCount(); i++) { jEdit.setProperty("history." + name + "." + i, (String)getItemAt(i)); } }
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/3e1382675228f8716f8bd518c63e07842d92607b/HistoryTextField.java/buggy/org/gjt/sp/jedit/gui/HistoryTextField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1923, 1435, 202, 95, 202, 202, 780, 977, 273, 261, 780, 13, 588, 6946, 7675, 588, 1180, 5621, 202, 202, 430, 12, 955, 422, 446, 13, 1082, 202, 955, 273, 261, 780, 13, 588, 7416, 1180, 5621, 202, 202, 430, 12, 955, 480, 446, 597, 977, 18, 2469, 1435, 480, 374, 13, 1082, 202, 1289, 1180, 12, 955, 1769, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 8143, 1380, 5621, 277, 27245, 202, 202, 95, 1082, 202, 78, 4666, 18, 542, 1396, 2932, 8189, 1199, 397, 508, 397, 4585, 397, 277, 16, 9506, 202, 12, 780, 13, 588, 1180, 861, 12, 77, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1923, 1435, 202, 95, 202, 202, 780, 977, 273, 261, 780, 13, 588, 6946, 7675, 588, 1180, 5621, 202, 202, 430, 12, 955, 422, 446, 13, 1082, 202, 955, 273, 261, 780, 13, 588, 7416, 1180, 5621, 202, 202, 430, 12, 955, 480, 446, 597, 977, 18, 2469, 1435, 480, 374, 13, 1082, 202, 1289, 1180, 12, 955, 1769, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 8143, 1380, 5621, 277, 27245, 202, 202, 95, 1082, 202, 78, 4666, 18, 542, 1396, 2932, 8189, 1199, 397, 508, 397, 4585, 397, 277, 16, 9506, 202, 12, 780, 13, 588, 1180, 861, 12, 77, 10019, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100 ]
XSAnnotationImpl traverseSyntheticAnnotation(Element annotationParent, String initialContent, Object[] parentAttrs, boolean isGlobal, XSDocumentInfo schemaDoc) { String contents = initialContent; // find the grammar; fSchemaHandler must be known! SchemaGrammar grammar = fSchemaHandler.getGrammar(schemaDoc.fTargetNamespace); // fish out local attributes passed from parent Vector annotationLocalAttrs = (Vector)parentAttrs[XSAttributeChecker.ATTIDX_NONSCHEMA]; // optimize for case where there are no local attributes if (annotationLocalAttrs != null && !annotationLocalAttrs.isEmpty()) { StringBuffer localStrBuffer = new StringBuffer(64); localStrBuffer.append(" "); // Vector should contain rawname value pairs int i = 0; while (i < annotationLocalAttrs.size()) { String rawname = (String)annotationLocalAttrs.elementAt(i++); int colonIndex = rawname.indexOf(':'); String prefix, localpart; if (colonIndex == -1) { prefix = ""; localpart = rawname; } else { prefix = rawname.substring(0,colonIndex); localpart = rawname.substring(colonIndex+1); } String uri = schemaDoc.fNamespaceSupport.getURI(fSymbolTable.addSymbol(prefix)); localStrBuffer.append(rawname) .append("=\""); String value = (String)annotationLocalAttrs.elementAt(i++); // search for pesky "s and >s within attr value: value = processAttValue(value); localStrBuffer.append(value) .append("\" "); } // and now splice it into place; immediately after the annotation token, for simplicity's sake StringBuffer contentBuffer = new StringBuffer(contents.length() + localStrBuffer.length()); int annotationTokenEnd = contents.indexOf(SchemaSymbols.ELT_ANNOTATION); // annotation must occur somewhere or we're in big trouble... if(annotationTokenEnd == -1) return null; annotationTokenEnd += SchemaSymbols.ELT_ANNOTATION.length(); contentBuffer.append(contents.substring(0,annotationTokenEnd)); contentBuffer.append(localStrBuffer.toString()); contentBuffer.append(contents.substring(annotationTokenEnd, contents.length())); final String annotation = contentBuffer.toString(); if (fValidateAnnotations) { schemaDoc.addAnnotation(new XSAnnotationInfo(annotation, annotationParent)); } return new XSAnnotationImpl(annotation, grammar); } else { if (fValidateAnnotations) { schemaDoc.addAnnotation(new XSAnnotationInfo(contents, annotationParent)); } return new XSAnnotationImpl(contents, grammar); } }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/89e06865b3b318a81a91e4881866fbcb8b2b493e/XSDAbstractTraverser.java/clean/src/org/apache/xerces/impl/xs/traversers/XSDAbstractTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1139, 55, 3257, 2828, 10080, 10503, 16466, 3257, 12, 1046, 3204, 3054, 16, 514, 2172, 1350, 16, 5411, 1033, 8526, 982, 8262, 16, 1250, 353, 5160, 16, 1139, 55, 2519, 966, 1963, 1759, 13, 288, 7734, 514, 2939, 273, 2172, 1350, 31, 7734, 368, 1104, 326, 6473, 31, 284, 3078, 1503, 1297, 506, 4846, 5, 3639, 4611, 18576, 6473, 273, 284, 3078, 1503, 18, 588, 18576, 12, 4821, 1759, 18, 74, 2326, 3402, 1769, 3639, 368, 284, 1468, 596, 1191, 1677, 2275, 628, 982, 3639, 5589, 3204, 2042, 8262, 273, 261, 5018, 13, 2938, 8262, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 3993, 14233, 15533, 3639, 368, 10979, 364, 648, 1625, 1915, 854, 1158, 1191, 1677, 3639, 309, 261, 11495, 2042, 8262, 480, 446, 597, 401, 11495, 2042, 8262, 18, 291, 1921, 10756, 288, 5411, 6674, 1191, 1585, 1892, 273, 394, 6674, 12, 1105, 1769, 5411, 1191, 1585, 1892, 18, 6923, 2932, 315, 1769, 5411, 368, 5589, 1410, 912, 1831, 529, 460, 5574, 5411, 509, 277, 273, 374, 31, 5411, 1323, 261, 77, 411, 3204, 2042, 8262, 18, 1467, 10756, 288, 7734, 514, 1831, 529, 273, 261, 780, 13, 11495, 2042, 8262, 18, 2956, 861, 12, 77, 9904, 1769, 7734, 509, 13336, 1016, 273, 1831, 529, 18, 31806, 2668, 2497, 1769, 7734, 514, 1633, 16, 1191, 2680, 31, 7734, 309, 261, 22667, 1016, 422, 300, 21, 13, 288, 10792, 1633, 273, 1408, 31, 10792, 1191, 2680, 273, 1831, 529, 31, 7734, 289, 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, 1139, 55, 3257, 2828, 10080, 10503, 16466, 3257, 12, 1046, 3204, 3054, 16, 514, 2172, 1350, 16, 5411, 1033, 8526, 982, 8262, 16, 1250, 353, 5160, 16, 1139, 55, 2519, 966, 1963, 1759, 13, 288, 7734, 514, 2939, 273, 2172, 1350, 31, 7734, 368, 1104, 326, 6473, 31, 284, 3078, 1503, 1297, 506, 4846, 5, 3639, 4611, 18576, 6473, 273, 284, 3078, 1503, 18, 588, 18576, 12, 4821, 1759, 18, 74, 2326, 3402, 1769, 3639, 368, 284, 1468, 596, 1191, 1677, 2275, 628, 982, 3639, 5589, 3204, 2042, 8262, 273, 261, 5018, 13, 2938, 8262, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 3993, 14233, 15533, 3639, 368, 10979, 364, 648, 1625, 1915, 854, 1158, 1191, 2 ]
form_data_modified = new NVPair[form_data.length + 6];
form_data_modified = new NVPair[form_data.length + 7];
public NVPair[] fudgeFormParameters(NVPair form_data[]) { NVPair[] form_data_modified; if (ZEND_DEBUG) { form_data_modified = new NVPair[form_data.length + 6]; } else { form_data_modified = new NVPair[form_data.length + 1]; } for (int i = 0; i < form_data.length; i++) { if (form_data[i] != null) { form_data_modified[i] = new NVPair("g2_form[" + form_data[i].getName() + "]", form_data[i].getValue(), form_data[i].safeGetEncoding()); } else { form_data_modified[i] = null; } } form_data_modified[form_data.length] = new NVPair("g2_controller", "remote.GalleryRemote"); if (ZEND_DEBUG) { form_data_modified[form_data.length + 1] = new NVPair("start_debug", "1"); form_data_modified[form_data.length + 2] = new NVPair("debug_port", "10000"); form_data_modified[form_data.length + 3] = new NVPair("debug_host", "172.16.1.35,127.0.0.1"); form_data_modified[form_data.length + 4] = new NVPair("send_sess_end", "1"); //form_data_modified[form_data.length + 5] = new NVPair("debug_no_cache", "1077182887875"); //form_data_modified[form_data.length + 6] = new NVPair("debug_stop", "1"); form_data_modified[form_data.length + 5] = new NVPair("debug_url", "1"); } Log.log(Log.LEVEL_TRACE, MODULE, "Overriding form data: " + Arrays.asList(form_data_modified)); return form_data_modified; }
9402 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9402/9cd3a9936cec8bf69237006c0e4e1ca78f583d85/GalleryComm2_5.java/clean/com/gallery/GalleryRemote/GalleryComm2_5.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 423, 58, 4154, 8526, 284, 27110, 1204, 2402, 12, 11679, 4154, 646, 67, 892, 63, 5717, 288, 202, 202, 11679, 4154, 8526, 646, 67, 892, 67, 7342, 31, 202, 202, 430, 261, 62, 4415, 67, 9394, 13, 288, 1082, 202, 687, 67, 892, 67, 7342, 273, 394, 423, 58, 4154, 63, 687, 67, 892, 18, 2469, 397, 1666, 15533, 202, 202, 97, 469, 288, 1082, 202, 687, 67, 892, 67, 7342, 273, 394, 423, 58, 4154, 63, 687, 67, 892, 18, 2469, 397, 404, 15533, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 646, 67, 892, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 687, 67, 892, 63, 77, 65, 480, 446, 13, 288, 9506, 202, 687, 67, 892, 67, 7342, 63, 77, 65, 273, 394, 423, 58, 4154, 2932, 75, 22, 67, 687, 9614, 397, 646, 67, 892, 63, 77, 8009, 17994, 1435, 397, 9850, 3113, 646, 67, 892, 63, 77, 8009, 24805, 9334, 646, 67, 892, 63, 77, 8009, 4626, 967, 4705, 10663, 1082, 202, 97, 469, 288, 9506, 202, 687, 67, 892, 67, 7342, 63, 77, 65, 273, 446, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 687, 67, 892, 67, 7342, 63, 687, 67, 892, 18, 2469, 65, 273, 394, 423, 58, 4154, 2932, 75, 22, 67, 5723, 3113, 315, 7222, 18, 18511, 5169, 8863, 202, 202, 430, 261, 62, 4415, 67, 9394, 13, 288, 1082, 202, 687, 67, 892, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 423, 58, 4154, 8526, 284, 27110, 1204, 2402, 12, 11679, 4154, 646, 67, 892, 63, 5717, 288, 202, 202, 11679, 4154, 8526, 646, 67, 892, 67, 7342, 31, 202, 202, 430, 261, 62, 4415, 67, 9394, 13, 288, 1082, 202, 687, 67, 892, 67, 7342, 273, 394, 423, 58, 4154, 63, 687, 67, 892, 18, 2469, 397, 1666, 15533, 202, 202, 97, 469, 288, 1082, 202, 687, 67, 892, 67, 7342, 273, 394, 423, 58, 4154, 63, 687, 67, 892, 18, 2469, 397, 404, 15533, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 646, 67, 892, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 261, 687, 67, 892, 63, 2 ]
return new ToStringBuilder(this, ShortToStringStyle.SHORT_STYLE)
return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
public String toString() { return new ToStringBuilder(this, ShortToStringStyle.SHORT_STYLE) // .append("rowListFull", this.rowListFull) //$NON-NLS-1$ .append("rowListPage", this.rowListPage) //$NON-NLS-1$ .append("properties", this.properties) //$NON-NLS-1$ .append("empty", this.isEmpty()) //$NON-NLS-1$ .append("encoding", this.encoding) //$NON-NLS-1$ .append("numberOfColumns", this.getNumberOfColumns()) //$NON-NLS-1$ .append("headerCellList", this.headerCellList) //$NON-NLS-1$ .append("sortFullTable", this.sortFullTable) //$NON-NLS-1$ .append("sortedColumnNumber", this.getSortedColumnNumber()) //$NON-NLS-1$ .append("sortOrderAscending", this.sortOrderAscending) //$NON-NLS-1$ .append("sortedColumnHeader", this.getSortedColumnHeader()) //$NON-NLS-1$ .append("sorted", this.isSorted()) //$NON-NLS-1$ .append("tableDecorator", this.tableDecorator) //$NON-NLS-1$ .toString(); }
7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/5f5bd882fd66ff8af34bcc482fc41059b87ff137/TableModel.java/clean/displaytag/src/main/java/org/displaytag/model/TableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 327, 394, 2974, 21253, 12, 2211, 16, 21901, 2885, 18, 15993, 67, 6307, 67, 15066, 13, 368, 5411, 263, 6923, 2932, 492, 682, 5080, 3113, 333, 18, 492, 682, 5080, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 492, 682, 1964, 3113, 333, 18, 492, 682, 1964, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 4738, 3113, 333, 18, 4738, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 5531, 3113, 333, 18, 291, 1921, 10756, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 5999, 3113, 333, 18, 5999, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 2696, 951, 3380, 3113, 333, 18, 588, 9226, 3380, 10756, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 3374, 4020, 682, 3113, 333, 18, 3374, 4020, 682, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 3804, 5080, 1388, 3113, 333, 18, 3804, 5080, 1388, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 10350, 1494, 1854, 3113, 333, 18, 588, 11739, 1494, 1854, 10756, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 3804, 2448, 13665, 2846, 3113, 333, 18, 3804, 2448, 13665, 2846, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 10350, 1494, 1864, 3113, 333, 18, 588, 11739, 1494, 1864, 10756, 4329, 3993, 17, 5106, 17, 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, 1762, 1435, 565, 288, 3639, 327, 394, 2974, 21253, 12, 2211, 16, 21901, 2885, 18, 15993, 67, 6307, 67, 15066, 13, 368, 5411, 263, 6923, 2932, 492, 682, 5080, 3113, 333, 18, 492, 682, 5080, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 492, 682, 1964, 3113, 333, 18, 492, 682, 1964, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 4738, 3113, 333, 18, 4738, 13, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 5531, 3113, 333, 18, 291, 1921, 10756, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 263, 6923, 2932, 5999, 3113, 333, 18, 5999, 13, 4329, 3993, 17, 5106, 17, 21, 8, 2 ]
public String[] getFactoryPids() { if (_allFPidOCDs.size() == 0) { return new String[0]; } Vector fpids = new Vector(7); Enumeration e = _allFPidOCDs.elements(); while (e.hasMoreElements()) { ObjectClassDefinitionImpl ocd = (ObjectClassDefinitionImpl) e.nextElement(); fpids.addElement(ocd.getPID()); } String[] retvalue = new String[fpids.size()]; fpids.toArray(retvalue); return retvalue; }
13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/8182b2b8e0b3e9416709c48fc660ec972788073c/MetaTypeInformationImpl.java/buggy/bundles/org.eclipse.equinox.metatype/src/org/eclipse/equinox/metatype/MetaTypeInformationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 780, 8526, 588, 1733, 52, 2232, 1435, 95, 202, 202, 430, 24899, 454, 42, 12478, 51, 10160, 87, 18, 1467, 1435, 631, 20, 15329, 1082, 202, 2463, 2704, 780, 63, 20, 15533, 202, 202, 97, 202, 202, 5018, 7944, 2232, 33, 2704, 5018, 12, 27, 1769, 202, 202, 21847, 73, 33, 67, 454, 42, 12478, 51, 10160, 87, 18, 6274, 5621, 202, 202, 17523, 12, 73, 18, 5332, 7417, 3471, 10756, 95, 1082, 202, 921, 797, 1852, 22683, 1829, 72, 28657, 921, 797, 1852, 2828, 13, 73, 18, 4285, 1046, 5621, 1082, 202, 7944, 2232, 18, 1289, 1046, 12, 504, 72, 18, 588, 16522, 10663, 202, 202, 97, 202, 202, 780, 8526, 1349, 1132, 33, 2704, 780, 63, 7944, 2232, 18, 1467, 1435, 15533, 202, 202, 7944, 2232, 18, 31447, 12, 1349, 1132, 1769, 202, 202, 2463, 1349, 1132, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 780, 8526, 588, 1733, 52, 2232, 1435, 95, 202, 202, 430, 24899, 454, 42, 12478, 51, 10160, 87, 18, 1467, 1435, 631, 20, 15329, 1082, 202, 2463, 2704, 780, 63, 20, 15533, 202, 202, 97, 202, 202, 5018, 7944, 2232, 33, 2704, 5018, 12, 27, 1769, 202, 202, 21847, 73, 33, 67, 454, 42, 12478, 51, 10160, 87, 18, 6274, 5621, 202, 202, 17523, 12, 73, 18, 5332, 7417, 3471, 10756, 95, 1082, 202, 921, 797, 1852, 22683, 1829, 72, 28657, 921, 797, 1852, 2828, 13, 73, 18, 4285, 1046, 5621, 1082, 202, 7944, 2232, 18, 1289, 1046, 12, 504, 72, 18, 588, 16522, 10663, 202, 202, 97, 202, 202, 780, 8526, 1349, 1132, 33, 2704, 2 ]
} else {
} else {
Object executeRegExp(Scriptable scopeObj, String str, int indexp[], boolean test) { NativeRegExp re = this; Context cx = Context.getCurrentContext(); RegExpImpl res = getImpl(cx); /* * Initialize a CompilerState to minimize recursive argument traffic. */ MatchState state = new MatchState(); state.anchoring = false; state.flags = re.flags; state.scope = scopeObj; char[] charArray = str.toCharArray(); int start = indexp[0]; if (start > charArray.length) start = charArray.length; int index = start; state.cpbegin = 0; state.cpend = charArray.length; state.start = start; state.skipped = 0; state.input = charArray; state.parenCount = 0; state.maybeParens = new SubString[re.parenCount]; state.parens = new SubString[re.parenCount]; // We allocate the elements of "parens" and "maybeParens" lazily in // the Java port since we don't have arenas. /* * Call the recursive matcher to do the real work. Return null on mismatch * whether testing or not. On match, return an extended Array object. */ index = matchRegExp(state, ren, index); if (index == -1) { return null; } int i = index - state.cpbegin; indexp[0] = i; int matchlen = i - (start + state.skipped); int ep = index; index -= matchlen; Object result; Scriptable obj; if (test) { /* * Testing for a match and updating cx.regExpImpl: don't allocate * an array object, do return true. */ result = Boolean.TRUE; obj = null; } else { /* * The array returned on match has element 0 bound to the matched * string, elements 1 through state.parenCount bound to the paren * matches, an index property telling the length of the left context, * and an input property referring to the input string. */ Scriptable scope = getTopLevelScope(scopeObj); result = ScriptRuntime.newObject(cx, scope, "Array", null); obj = (Scriptable) result; String matchstr = new String(charArray, index, matchlen); obj.put(0, obj, matchstr); } if (state.parenCount > re.parenCount) throw new RuntimeException(); if (state.parenCount == 0) { res.parens.setSize(0); res.lastParen = SubString.emptySubString; } else { SubString parsub = null; int num; res.parens.setSize(state.parenCount); for (num = 0; num < state.parenCount; num++) { parsub = state.parens[num]; res.parens.setElementAt(parsub, num); if (test) continue; String parstr = parsub == null ? "": parsub.toString(); obj.put(num+1, obj, parstr); } res.lastParen = parsub; } if (!test) { /* * Define the index and input properties last for better for/in loop * order (so they come after the elements). */ obj.put("index", obj, new Integer(start + state.skipped)); obj.put("input", obj, str); } if (res.lastMatch == null) { res.lastMatch = new SubString(); res.leftContext = new SubString(); res.rightContext = new SubString(); } res.lastMatch.charArray = charArray; res.lastMatch.index = index; res.lastMatch.length = matchlen; res.leftContext.charArray = charArray; if (cx.getLanguageVersion() == Context.VERSION_1_2) { /* * JS1.2 emulated Perl4.0.1.8 (patch level 36) for global regexps used * in scalar contexts, and unintentionally for the string.match "list" * psuedo-context. On "hi there bye", the following would result: * * Language while(/ /g){print("$`");} s/ /$`/g * perl4.036 "hi", "there" "hihitherehi therebye" * perl5 "hi", "hi there" "hihitherehi therebye" * js1.2 "hi", "there" "hihitheretherebye" * * Insofar as JS1.2 always defined $` as "left context from the last * match" for global regexps, it was more consistent than perl4. */ res.leftContext.index = start; res.leftContext.length = state.skipped; } else { /* * For JS1.3 and ECMAv2, emulate Perl5 exactly: * * js1.3 "hi", "hi there" "hihitherehi therebye" */ res.leftContext.index = 0; res.leftContext.length = start + state.skipped; } res.rightContext.charArray = charArray; res.rightContext.index = ep; res.rightContext.length = state.cpend - ep; return result; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/4aee7d25d756bce350cfec71216aff6e8c8bbc4b/NativeRegExp.java/clean/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 1836, 13673, 12, 3651, 429, 2146, 2675, 16, 514, 609, 16, 509, 770, 84, 63, 6487, 12900, 1250, 1842, 13, 288, 3639, 16717, 13673, 283, 273, 333, 31, 3639, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 3639, 10679, 2828, 400, 273, 336, 2828, 12, 71, 92, 1769, 3639, 1748, 540, 380, 9190, 279, 12972, 1119, 358, 18935, 5904, 1237, 16301, 18, 540, 1195, 3639, 4639, 1119, 919, 273, 394, 4639, 1119, 5621, 3639, 919, 18, 16215, 310, 273, 629, 31, 3639, 919, 18, 7133, 273, 283, 18, 7133, 31, 3639, 919, 18, 4887, 273, 2146, 2675, 31, 3639, 1149, 8526, 1149, 1076, 273, 609, 18, 869, 15936, 5621, 3639, 509, 787, 273, 770, 84, 63, 20, 15533, 3639, 309, 261, 1937, 405, 1149, 1076, 18, 2469, 13, 5411, 787, 273, 1149, 1076, 18, 2469, 31, 3639, 509, 770, 273, 787, 31, 3639, 919, 18, 4057, 10086, 273, 374, 31, 3639, 919, 18, 71, 1302, 273, 1149, 1076, 18, 2469, 31, 3639, 919, 18, 1937, 273, 787, 31, 3639, 919, 18, 25346, 273, 374, 31, 3639, 919, 18, 2630, 273, 1149, 1076, 31, 3639, 919, 18, 13012, 1380, 273, 374, 31, 3639, 919, 18, 19133, 52, 21660, 273, 394, 2592, 780, 63, 266, 18, 13012, 1380, 15533, 3639, 919, 18, 1848, 2387, 273, 394, 2592, 780, 63, 266, 18, 13012, 1380, 15533, 3639, 368, 1660, 10101, 326, 2186, 434, 315, 1848, 2387, 6, 471, 315, 19133, 52, 21660, 6, 25047, 316, 3639, 368, 326, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1033, 1836, 13673, 12, 3651, 429, 2146, 2675, 16, 514, 609, 16, 509, 770, 84, 63, 6487, 12900, 1250, 1842, 13, 288, 3639, 16717, 13673, 283, 273, 333, 31, 3639, 1772, 9494, 273, 1772, 18, 588, 3935, 1042, 5621, 3639, 10679, 2828, 400, 273, 336, 2828, 12, 71, 92, 1769, 3639, 1748, 540, 380, 9190, 279, 12972, 1119, 358, 18935, 5904, 1237, 16301, 18, 540, 1195, 3639, 4639, 1119, 919, 273, 394, 4639, 1119, 5621, 3639, 919, 18, 16215, 310, 273, 629, 31, 3639, 919, 18, 7133, 273, 283, 18, 7133, 31, 3639, 919, 18, 4887, 273, 2146, 2675, 31, 3639, 1149, 8526, 1149, 1076, 273, 609, 18, 869, 15936, 5621, 3639, 509, 787, 273, 770, 84, 63, 2 ]
public void insert_ulong(int value) {
public void insert_ulong(int value) {
public void insert_ulong(int value) { org.omg.CORBA.portable.OutputStream output = create_output_stream(); output.write_ulong(value); read_value(null, TypeCode.ULONG); }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/Any.java/clean/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/Any.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2243, 67, 332, 932, 12, 474, 460, 13, 288, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 4632, 876, 273, 752, 67, 2844, 67, 3256, 5621, 3639, 876, 18, 2626, 67, 332, 932, 12, 1132, 1769, 3639, 855, 67, 1132, 12, 2011, 16, 30332, 18, 1506, 7390, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 2243, 67, 332, 932, 12, 474, 460, 13, 288, 3639, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 4632, 876, 273, 752, 67, 2844, 67, 3256, 5621, 3639, 876, 18, 2626, 67, 332, 932, 12, 1132, 1769, 3639, 855, 67, 1132, 12, 2011, 16, 30332, 18, 1506, 7390, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if( Logger.isActive() )
if (Logger.isActive())
private PacketRowResult loadRow(PacketRowResult result) throws SQLException, TdsException, java.io.IOException { int i; Columns columnsInfo = result.getContext().getColumnInfo(); for (i = 1; i <= columnsInfo.realColumnCount(); i++) { Object element; int colType = columnsInfo.getNativeType(i); if( Logger.isActive() ) Logger.println("colno=" + i + " type=" + colType + " offset=" + Integer.toHexString(comm.inBufferIndex)); switch (colType) { case SYBINTN: case SYBINT1: case SYBINT2: case SYBINT4: { element = getIntValue(colType); break; } case SYBIMAGE: { element = getImageValue(); break; } case SYBTEXT: { element = getTextValue(false); break; } case SYBNTEXT: { element = getTextValue(true); break; } case SYBCHAR: case SYBVARCHAR: { element = getCharValue(false,false); break; } case SYBNCHAR: case SYBNVARCHAR: { element = getCharValue(true,false); break; } case SYBREAL: { element = readFloatN(4); break; } case SYBFLT8: { element = readFloatN(8); break; } case SYBFLTN: { int len; len = comm.getByte(); element = readFloatN(len); break; } case SYBSMALLMONEY: case SYBMONEY: case SYBMONEYN: { element = getMoneyValue(colType); break; } case SYBNUMERIC: case SYBDECIMAL: { element = getDecimalValue(columnsInfo.getScale(i)); break; } case SYBDATETIME4: case SYBDATETIMN: case SYBDATETIME: { element = getDatetimeValue(colType); break; } case SYBVARBINARY: case SYBBINARY: { int len = tdsVer == Tds.TDS70 ? comm.getTdsShort() : (comm.getByte() & 0xff); if (tdsVer == Tds.TDS70 && len == 0xffff) { element = null; } else { element = comm.getBytes(len, true); } break; } case SYBBITN: case SYBBIT: { if (colType == SYBBITN && comm.getByte() == 0) { element = null; } else { element = new Boolean((comm.getByte() != 0) ? true : false); } break; } case SYBUNIQUEID: { int len = comm.getByte() & 0xff; element = len==0 ? null : TdsUtil.uniqueIdToString(comm.getBytes(len, false)); break; } default: { element = null; throw new TdsNotImplemented("Don't now how to handle " + "column type 0x" + Integer.toHexString(colType)); } } result.setElementAt(i, element); } return result; }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/961a45de8bf5d82c43254ac74e0e90a332e67845/Tds.java/clean/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 11114, 1999, 1253, 1262, 1999, 12, 6667, 1999, 1253, 563, 13, 3639, 1216, 6483, 16, 399, 2377, 503, 16, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 509, 277, 31, 3639, 14962, 2168, 966, 273, 563, 18, 29120, 7675, 588, 1494, 966, 5621, 3639, 364, 261, 77, 273, 404, 31, 277, 1648, 2168, 966, 18, 7688, 1494, 1380, 5621, 277, 27245, 288, 5411, 1033, 930, 31, 5411, 509, 645, 559, 273, 2168, 966, 18, 588, 9220, 559, 12, 77, 1769, 5411, 309, 261, 3328, 18, 291, 3896, 10756, 7734, 4242, 18, 8222, 2932, 1293, 2135, 1546, 397, 277, 397, 13491, 315, 618, 1546, 397, 645, 559, 397, 13491, 315, 1384, 1546, 397, 2144, 18, 869, 14866, 12, 5702, 18, 267, 1892, 1016, 10019, 5411, 1620, 261, 1293, 559, 13, 288, 7734, 648, 7068, 38, 3217, 50, 30, 7734, 648, 7068, 38, 3217, 21, 30, 7734, 648, 7068, 38, 3217, 22, 30, 7734, 648, 7068, 38, 3217, 24, 30, 7734, 288, 10792, 930, 273, 8145, 620, 12, 1293, 559, 1769, 10792, 898, 31, 7734, 289, 7734, 648, 7068, 38, 13603, 30, 7734, 288, 10792, 930, 273, 10567, 620, 5621, 10792, 898, 31, 7734, 289, 7734, 648, 7068, 38, 5151, 30, 7734, 288, 10792, 930, 273, 6701, 620, 12, 5743, 1769, 10792, 898, 31, 7734, 289, 7734, 648, 7068, 15388, 5151, 30, 7734, 288, 10792, 930, 273, 6701, 620, 12, 3767, 1769, 10792, 898, 31, 7734, 289, 7734, 648, 7068, 38, 7305, 30, 7734, 648, 7068, 38, 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, 11114, 1999, 1253, 1262, 1999, 12, 6667, 1999, 1253, 563, 13, 3639, 1216, 6483, 16, 399, 2377, 503, 16, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 509, 277, 31, 3639, 14962, 2168, 966, 273, 563, 18, 29120, 7675, 588, 1494, 966, 5621, 3639, 364, 261, 77, 273, 404, 31, 277, 1648, 2168, 966, 18, 7688, 1494, 1380, 5621, 277, 27245, 288, 5411, 1033, 930, 31, 5411, 509, 645, 559, 273, 2168, 966, 18, 588, 9220, 559, 12, 77, 1769, 5411, 309, 261, 3328, 18, 291, 3896, 10756, 7734, 4242, 18, 8222, 2932, 1293, 2135, 1546, 397, 277, 397, 13491, 315, 618, 1546, 397, 645, 559, 397, 13491, 315, 1384, 1546, 397, 2144, 18, 869, 14866, 12, 2 ]
List values = new ArrayList(foo.size());
List values = FastList.newInstance();
public List convert(String fromEntityName, Map data) { Map foo = (Map) conversions.get(fromEntityName); if (foo == null) return null; Iterator it = foo.values().iterator(); List values = new ArrayList(foo.size()); while (it.hasNext()) { ModelConversion conversion = (ModelConversion) it.next(); values.add(conversion.convert(data)); } return values; }
55411 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55411/f701d5dcc3b233813787c77eb6d860b522558fa0/ModelViewEntity.java/buggy/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 1765, 12, 780, 628, 19441, 16, 1635, 501, 13, 288, 3639, 1635, 8431, 273, 261, 863, 13, 22586, 18, 588, 12, 2080, 19441, 1769, 3639, 309, 261, 11351, 422, 446, 13, 327, 446, 31, 3639, 4498, 518, 273, 8431, 18, 2372, 7675, 9838, 5621, 3639, 987, 924, 273, 9545, 682, 18, 2704, 1442, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 3164, 6814, 4105, 273, 261, 1488, 6814, 13, 518, 18, 4285, 5621, 5411, 924, 18, 1289, 12, 20990, 18, 6283, 12, 892, 10019, 3639, 289, 3639, 327, 924, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 1765, 12, 780, 628, 19441, 16, 1635, 501, 13, 288, 3639, 1635, 8431, 273, 261, 863, 13, 22586, 18, 588, 12, 2080, 19441, 1769, 3639, 309, 261, 11351, 422, 446, 13, 327, 446, 31, 3639, 4498, 518, 273, 8431, 18, 2372, 7675, 9838, 5621, 3639, 987, 924, 273, 9545, 682, 18, 2704, 1442, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 3164, 6814, 4105, 273, 261, 1488, 6814, 13, 518, 18, 4285, 5621, 5411, 924, 18, 1289, 12, 20990, 18, 6283, 12, 892, 10019, 3639, 289, 3639, 327, 924, 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 ]
stereotypeVisible = true; forceRepaintShadow(); renderingChanged(); damage(); }
Editor ce = Globals.curEditor(); Vector figs = ce.getSelectionManager().getFigs(); Iterator i = figs.iterator(); boolean v = !stereotypeVisible; while (i.hasNext()) { Fig f = (Fig) i.next(); if (f instanceof StereotypeContainer) { ((StereotypeContainer) f).setStereotypeVisible(v); } if (f instanceof FigNodeModelElement) { ((FigNodeModelElement) f).forceRepaintShadow(); ((FigNodeModelElement) f).renderingChanged(); } f.damage(); } }
public void actionPerformed(ActionEvent ae) { stereotypeVisible = true; forceRepaintShadow(); renderingChanged(); damage(); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/32b3a41dc6b756caa8ff16a9d03437547abaaa32/FigPackage.java/clean/src_new/org/argouml/uml/diagram/static_structure/ui/FigPackage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 14221, 13, 288, 1082, 565, 22890, 10570, 6207, 273, 638, 31, 10792, 2944, 18933, 1598, 12957, 5621, 1082, 565, 9782, 5033, 5621, 1082, 565, 302, 301, 410, 5621, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 14221, 13, 288, 1082, 565, 22890, 10570, 6207, 273, 638, 31, 10792, 2944, 18933, 1598, 12957, 5621, 1082, 565, 9782, 5033, 5621, 1082, 565, 302, 301, 410, 5621, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public synchronized void retry()
public void retry()
public synchronized void retry() { remarshalException = true; ready = true; notify(); }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/951453326c22ede10295a4ef43cc06579fcbfde3/ReplyPlaceholder.java/buggy/src/org/jacorb/orb/giop/ReplyPlaceholder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3300, 1435, 565, 288, 3639, 849, 2237, 503, 273, 638, 31, 3639, 5695, 273, 638, 31, 3639, 5066, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3300, 1435, 565, 288, 3639, 849, 2237, 503, 273, 638, 31, 3639, 5695, 273, 638, 31, 3639, 5066, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
action.setText(DiagramActionsResourceManager.getI18NString("ChangeRouterAction.Rectilinear.ActionLabelText")); action.setToolTipText(DiagramActionsResourceManager.getI18NString("ChangeRouterAction.Rectilinear.ActionToolTipText")); ImageDescriptor enabledImage = DiagramActionsResourceManager .getInstance() .getImageDescriptor( DiagramActionsResourceManager.IMAGE_CHANGEROUTERACTION_RECTILINEAR); action.setImageDescriptor(enabledImage);
public static RouterAction createRectilinearRouterAction(IWorkbenchPage workbenchPage) { RouterAction action = new RouterAction(workbenchPage, Routing.RECTILINEAR_LITERAL); action.setId(ActionIds.ACTION_ROUTER_RECTILINEAR); action.setText(DiagramActionsResourceManager.getI18NString("ChangeRouterAction.Rectilinear.ActionLabelText")); //$NON-NLS-1$ action.setToolTipText(DiagramActionsResourceManager.getI18NString("ChangeRouterAction.Rectilinear.ActionToolTipText")); //$NON-NLS-1$ ImageDescriptor enabledImage = DiagramActionsResourceManager .getInstance() .getImageDescriptor( DiagramActionsResourceManager.IMAGE_CHANGEROUTERACTION_RECTILINEAR); action.setImageDescriptor(enabledImage); action .setDisabledImageDescriptor(DiagramActionsResourceManager .getInstance() .getImageDescriptor( DiagramActionsResourceManager.IMAGE_CHANGEROUTERACTION_RECTILINEAR_DISABLED)); action.setHoverImageDescriptor(enabledImage); return action; }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/e66f9c3483db21ee776650f0e5341a7a370f06cb/RouterAction.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui.actions/src/org/eclipse/gmf/runtime/diagram/ui/actions/internal/RouterAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 9703, 1803, 752, 6120, 12554, 297, 8259, 1803, 12, 45, 2421, 22144, 1964, 1440, 22144, 1964, 13, 288, 202, 202, 8259, 1803, 1301, 273, 1082, 202, 2704, 9703, 1803, 12, 1252, 22144, 1964, 16, 19349, 18, 4512, 30690, 985, 67, 23225, 1769, 202, 202, 1128, 18, 542, 548, 12, 1803, 2673, 18, 12249, 67, 1457, 1693, 654, 67, 4512, 30690, 985, 1769, 202, 202, 1128, 18, 542, 1528, 12, 14058, 1940, 6100, 1420, 1318, 18, 588, 45, 2643, 50, 780, 2932, 3043, 8259, 1803, 18, 6120, 12554, 297, 18, 1803, 2224, 1528, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1128, 18, 542, 29250, 1528, 12, 14058, 1940, 6100, 1420, 1318, 18, 588, 45, 2643, 50, 780, 2932, 3043, 8259, 1803, 18, 6120, 12554, 297, 18, 1803, 29250, 1528, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2040, 3187, 3696, 2040, 273, 14539, 1940, 6100, 1420, 1318, 1082, 202, 18, 588, 1442, 1435, 1082, 202, 18, 588, 2040, 3187, 12, 9506, 202, 14058, 1940, 6100, 1420, 1318, 18, 13603, 67, 1792, 1258, 3101, 5069, 654, 12249, 67, 4512, 30690, 985, 1769, 202, 202, 1128, 18, 542, 2040, 3187, 12, 5745, 2040, 1769, 202, 202, 1128, 1082, 202, 18, 542, 8853, 2040, 3187, 12, 14058, 1940, 6100, 1420, 1318, 9506, 202, 18, 588, 1442, 1435, 9506, 202, 18, 588, 2040, 3187, 12, 6862, 202, 14058, 1940, 6100, 1420, 1318, 18, 13603, 67, 1792, 1258, 3101, 5069, 654, 12249, 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, 9703, 1803, 752, 6120, 12554, 297, 8259, 1803, 12, 45, 2421, 22144, 1964, 1440, 22144, 1964, 13, 288, 202, 202, 8259, 1803, 1301, 273, 1082, 202, 2704, 9703, 1803, 12, 1252, 22144, 1964, 16, 19349, 18, 4512, 30690, 985, 67, 23225, 1769, 202, 202, 1128, 18, 542, 548, 12, 1803, 2673, 18, 12249, 67, 1457, 1693, 654, 67, 4512, 30690, 985, 1769, 202, 202, 1128, 18, 542, 1528, 12, 14058, 1940, 6100, 1420, 1318, 18, 588, 45, 2643, 50, 780, 2932, 3043, 8259, 1803, 18, 6120, 12554, 297, 18, 1803, 2224, 1528, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1128, 18, 542, 29250, 1528, 12, 14058, 1940, 6100, 1420, 1318, 18, 2 ]
PreferencesMessages.getString("TodoTaskInputDialog.priority.high"), PreferencesMessages.getString("TodoTaskInputDialog.priority.normal"), PreferencesMessages.getString("TodoTaskInputDialog.priority.low")
PreferencesMessages.TodoTaskInputDialog_priority_high, PreferencesMessages.TodoTaskInputDialog_priority_normal, PreferencesMessages.TodoTaskInputDialog_priority_low
public TodoTaskInputDialog(Shell parent, TodoTask task, List existingEntries) { super(parent); fExistingNames= new ArrayList(existingEntries.size()); for (int i= 0; i < existingEntries.size(); i++) { TodoTask curr= (TodoTask) existingEntries.get(i); if (!curr.equals(task)) { fExistingNames.add(curr.name); } } if (task == null) { setTitle(PreferencesMessages.getString("TodoTaskInputDialog.new.title")); //$NON-NLS-1$ } else { setTitle(PreferencesMessages.getString("TodoTaskInputDialog.edit.title")); //$NON-NLS-1$ } CompilerTodoTaskInputAdapter adapter= new CompilerTodoTaskInputAdapter(); fNameDialogField= new StringDialogField(); fNameDialogField.setLabelText(PreferencesMessages.getString("TodoTaskInputDialog.name.label")); //$NON-NLS-1$ fNameDialogField.setDialogFieldListener(adapter); fNameDialogField.setText((task != null) ? task.name : ""); //$NON-NLS-1$ String[] items= new String[] { PreferencesMessages.getString("TodoTaskInputDialog.priority.high"), //$NON-NLS-1$ PreferencesMessages.getString("TodoTaskInputDialog.priority.normal"), //$NON-NLS-1$ PreferencesMessages.getString("TodoTaskInputDialog.priority.low") //$NON-NLS-1$ }; fPriorityDialogField= new ComboDialogField(SWT.READ_ONLY); fPriorityDialogField.setLabelText(PreferencesMessages.getString("TodoTaskInputDialog.priority.label")); //$NON-NLS-1$ fPriorityDialogField.setItems(items); if (task != null) { if (CCorePlugin.TRANSLATION_TASK_PRIORITY_HIGH.equals(task.priority)) { fPriorityDialogField.selectItem(0); } else if (CCorePlugin.TRANSLATION_TASK_PRIORITY_NORMAL.equals(task.priority)) { fPriorityDialogField.selectItem(1); } else { fPriorityDialogField.selectItem(2); } } else { fPriorityDialogField.selectItem(1); } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/f234a522db00e1071063f0885f1670c3e1eb4c39/TodoTaskInputDialog.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/TodoTaskInputDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 7370, 2174, 1210, 6353, 12, 13220, 982, 16, 399, 7370, 2174, 1562, 16, 987, 2062, 5400, 13, 288, 202, 202, 9565, 12, 2938, 1769, 9506, 202, 74, 9895, 1557, 33, 394, 2407, 12, 11711, 5400, 18, 1467, 10663, 202, 202, 1884, 261, 474, 277, 33, 374, 31, 277, 411, 2062, 5400, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 56, 7370, 2174, 4306, 33, 261, 56, 7370, 2174, 13, 2062, 5400, 18, 588, 12, 77, 1769, 1082, 202, 430, 16051, 17016, 18, 14963, 12, 4146, 3719, 288, 9506, 202, 74, 9895, 1557, 18, 1289, 12, 17016, 18, 529, 1769, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 261, 4146, 422, 446, 13, 288, 1082, 202, 542, 4247, 12, 12377, 5058, 18, 588, 780, 2932, 56, 7370, 2174, 1210, 6353, 18, 2704, 18, 2649, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 469, 288, 1082, 202, 542, 4247, 12, 12377, 5058, 18, 588, 780, 2932, 56, 7370, 2174, 1210, 6353, 18, 4619, 18, 2649, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 9213, 56, 7370, 2174, 1210, 4216, 4516, 33, 394, 12972, 56, 7370, 2174, 1210, 4216, 5621, 202, 202, 74, 461, 6353, 974, 33, 394, 514, 6353, 974, 5621, 202, 202, 74, 461, 6353, 974, 18, 542, 2224, 1528, 12, 12377, 5058, 18, 588, 780, 2932, 56, 7370, 2174, 1210, 6353, 18, 529, 18, 1925, 7923, 1769, 4329, 3993, 17, 5106, 17, 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, 399, 7370, 2174, 1210, 6353, 12, 13220, 982, 16, 399, 7370, 2174, 1562, 16, 987, 2062, 5400, 13, 288, 202, 202, 9565, 12, 2938, 1769, 9506, 202, 74, 9895, 1557, 33, 394, 2407, 12, 11711, 5400, 18, 1467, 10663, 202, 202, 1884, 261, 474, 277, 33, 374, 31, 277, 411, 2062, 5400, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 56, 7370, 2174, 4306, 33, 261, 56, 7370, 2174, 13, 2062, 5400, 18, 588, 12, 77, 1769, 1082, 202, 430, 16051, 17016, 18, 14963, 12, 4146, 3719, 288, 9506, 202, 74, 9895, 1557, 18, 1289, 12, 17016, 18, 529, 1769, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 261, 4146, 422, 446, 13, 288, 1082, 2 ]
System.out.println(e.getClass() + ": " + e.getMessage());
System.out.println(e.getClass() + ": " + e.getMessage());
public void exceptionThrown(Exception e) { System.out.println(e.getClass() + ": " + e.getMessage()); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/fbebe792ba7d15ca09ee75a1c409e3a37b2da0db/Encoder.java/buggy/modules/beans/src/main/java/java/beans/Encoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 1520, 29591, 12, 503, 425, 13, 288, 10792, 2332, 18, 659, 18, 8222, 12, 73, 18, 588, 797, 1435, 397, 6398, 315, 397, 425, 18, 24906, 10663, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1171, 1071, 918, 1520, 29591, 12, 503, 425, 13, 288, 10792, 2332, 18, 659, 18, 8222, 12, 73, 18, 588, 797, 1435, 397, 6398, 315, 397, 425, 18, 24906, 10663, 7734, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void leaveToken(DetailAST aAST)
public void leaveToken(DetailAST aAST)
public void leaveToken(DetailAST aAST) { mHandlers.pop(); }
31427 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31427/a4d63db21d57ab53aff8a467f89df3867518ab91/IndentationCheck.java/clean/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/IndentationCheck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8851, 1345, 12, 6109, 9053, 279, 9053, 13, 377, 288, 3639, 312, 6919, 18, 5120, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8851, 1345, 12, 6109, 9053, 279, 9053, 13, 377, 288, 3639, 312, 6919, 18, 5120, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (jj_3R_271()) return true;
if (jj_3R_272()) return true;
final private boolean jj_3R_253() { if (jj_3R_271()) return true; return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/ac9207dcb7a8bbf54f85da7f1bdae7d7162b86b3/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 30304, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5324, 22, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 30304, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5324, 22, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (attribute.equals(DataBinding.SELECTION)) { return Object.class; } throw new AssertionError("unexpected attribute");
Assert.isTrue(attribute.equals(DataBinding.SELECTION), "unexpected attribute: " + attribute); return Object.class;
public Class getValueType() { if (attribute.equals(DataBinding.SELECTION)) { return Object.class; } throw new AssertionError("unexpected attribute"); //$NON-NLS-1$ }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/8d8e50e4bead4d2275e825541a51df2da6bbd6a5/StructuredViewerUpdatableValue.java/clean/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/internal/viewers/StructuredViewerUpdatableValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1659, 2366, 559, 1435, 288, 202, 202, 430, 261, 4589, 18, 14963, 12, 751, 5250, 18, 1090, 15445, 3719, 288, 1082, 202, 2463, 1033, 18, 1106, 31, 202, 202, 97, 202, 202, 12849, 394, 12068, 2932, 21248, 1566, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 1659, 2366, 559, 1435, 288, 202, 202, 430, 261, 4589, 18, 14963, 12, 751, 5250, 18, 1090, 15445, 3719, 288, 1082, 202, 2463, 1033, 18, 1106, 31, 202, 202, 97, 202, 202, 12849, 394, 12068, 2932, 21248, 1566, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 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 ]
try { list = RepositoryHelper.Process(mySynchStatus); } catch (Exception e) { Messages.showErrorDialog(IdeBundle.message("error.list.of.plugins.was.not.loaded"), IdeBundle.message("title.plugins")); }
try { list = RepositoryHelper.Process( mySynchStatus ); } catch( Exception e ) { error = e; }
public Object construct() { try { list = RepositoryHelper.Process(mySynchStatus); } catch (Exception e) { Messages.showErrorDialog(IdeBundle.message("error.list.of.plugins.was.not.loaded"), IdeBundle.message("title.plugins")); } return list; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/514d5bdeccbfc3f62ed180b3672ead37b57ee655/PluginManagerMain.java/buggy/plugins-management/src/com/intellij/ide/plugins/PluginManagerMain.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 1033, 4872, 1435, 288, 3639, 775, 288, 1850, 666, 273, 6281, 2276, 18, 2227, 12, 4811, 55, 2515, 1482, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 1850, 4838, 18, 4500, 668, 6353, 12, 45, 323, 3405, 18, 2150, 2932, 1636, 18, 1098, 18, 792, 18, 8057, 18, 17416, 18, 902, 18, 4230, 6, 3631, 23062, 3405, 18, 2150, 2932, 2649, 18, 8057, 7923, 1769, 3639, 289, 3639, 327, 666, 31, 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, 0, 0, 0, 0, 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, 4202, 1071, 1033, 4872, 1435, 288, 3639, 775, 288, 1850, 666, 273, 6281, 2276, 18, 2227, 12, 4811, 55, 2515, 1482, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 288, 1850, 4838, 18, 4500, 668, 6353, 12, 45, 323, 3405, 18, 2150, 2932, 1636, 18, 1098, 18, 792, 18, 8057, 18, 17416, 18, 902, 18, 4230, 6, 3631, 23062, 3405, 18, 2150, 2932, 2649, 18, 8057, 7923, 1769, 3639, 289, 3639, 327, 666, 31, 1377, 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 ]
Applet app = (Applet) appletClass.newInstance(); app.setSize( size );
if( appletClass != null ) { Applet app = (Applet) appletClass.newInstance(); app.setSize( size );
public void createApplet( String appletID, String className, URL codeBase, URL docBase, String jars, String name, Dimension size ) { try { URL real_codeBase = codeBase; if( real_codeBase == null ) real_codeBase = docBase; if( real_codeBase == null ) { //we have a serious problem- where do we get classes from ??? Main.kjas_debug( "Can't create URLClassLoader with a valid url" ); throw new IllegalArgumentException( "no codeBase for applet" ); } else { Main.kjas_debug( "checking the url for validity" ); Main.kjas_debug( "real_codeBase.getFile() == " + real_codeBase.getFile() ); //if this is a url like http://www.foo.com, it needs a slash on //the end otherwise URLClassLoader thinks it's a jar file ?? if( ( real_codeBase.getFile().trim().length() == 0 || real_codeBase.getFile() == null ) && !real_codeBase.toString().endsWith(".jar") ) { Main.kjas_debug( "real_codeBase has no file, adding a /" ); real_codeBase = new URL( real_codeBase.toString().concat( "/" ) ); } } if( loader == null ) { Main.kjas_debug( "Creating class loader with url = " + real_codeBase ); loader = KJASAppletClassLoader.createLoader( real_codeBase ); } else { loader.addCodeBase( real_codeBase ); } if( jars != null ) { StringTokenizer parser = new StringTokenizer( jars, ",", false ); while( parser.hasMoreTokens() ) { String jar = parser.nextToken().trim(); loader.addJar( codeBase, jar ); } } Class appletClass = loader.loadClass( className ); // Load and instantiate applet Applet app = (Applet) appletClass.newInstance(); app.setSize( size ); KJASAppletStub stub = new KJASAppletStub( this, appletID, app, codeBase, docBase, name ); appletNames.put( name, app ); appletIDs.put( appletID, app ); stubs.put( appletID, stub ); } catch ( ClassNotFoundException e ) { Main.kjas_err( "Could not find the needed class" + e, e ); } catch ( Exception e ) { Main.kjas_err( "Something bad happened: " + e, e ); } }
1818 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1818/8dcc505deceab8358b453199c9111352bb93146e/KJASAppletContext.java/clean/khtml/java/org/kde/kjas/server/KJASAppletContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 23696, 12, 514, 21853, 734, 16, 17311, 514, 2658, 16, 1976, 981, 2171, 16, 17311, 1976, 997, 2171, 16, 514, 28838, 16, 17311, 514, 508, 16, 13037, 963, 262, 565, 288, 3639, 775, 3639, 288, 5411, 1976, 2863, 67, 710, 2171, 273, 981, 2171, 31, 5411, 309, 12, 2863, 67, 710, 2171, 422, 446, 262, 7734, 2863, 67, 710, 2171, 273, 997, 2171, 31, 5411, 309, 12, 2863, 67, 710, 2171, 422, 446, 262, 5411, 288, 7734, 368, 1814, 1240, 279, 703, 22774, 6199, 17, 1625, 741, 732, 336, 3318, 628, 5317, 35, 7734, 12740, 18, 79, 78, 345, 67, 4148, 12, 315, 2568, 1404, 752, 1976, 7805, 598, 279, 923, 880, 6, 11272, 7734, 604, 394, 2754, 12, 315, 2135, 981, 2171, 364, 21853, 6, 11272, 5411, 289, 5411, 469, 5411, 288, 7734, 12740, 18, 79, 78, 345, 67, 4148, 12, 315, 24609, 326, 880, 364, 13800, 6, 11272, 7734, 12740, 18, 79, 78, 345, 67, 4148, 12, 315, 7688, 67, 710, 2171, 18, 29925, 1435, 422, 315, 397, 2863, 67, 710, 2171, 18, 29925, 1435, 11272, 7734, 368, 430, 333, 353, 279, 880, 3007, 1062, 2207, 5591, 18, 11351, 18, 832, 16, 518, 4260, 279, 9026, 603, 7734, 368, 5787, 679, 3541, 1976, 7805, 15507, 87, 518, 1807, 279, 7334, 585, 5317, 7734, 309, 12, 261, 2863, 67, 710, 2171, 18, 29925, 7675, 5290, 7675, 2469, 1435, 422, 374, 747, 8227, 2863, 67, 710, 2171, 18, 29925, 1435, 422, 446, 262, 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, 752, 23696, 12, 514, 21853, 734, 16, 17311, 514, 2658, 16, 1976, 981, 2171, 16, 17311, 1976, 997, 2171, 16, 514, 28838, 16, 17311, 514, 508, 16, 13037, 963, 262, 565, 288, 3639, 775, 3639, 288, 5411, 1976, 2863, 67, 710, 2171, 273, 981, 2171, 31, 5411, 309, 12, 2863, 67, 710, 2171, 422, 446, 262, 7734, 2863, 67, 710, 2171, 273, 997, 2171, 31, 5411, 309, 12, 2863, 67, 710, 2171, 422, 446, 262, 5411, 288, 7734, 368, 1814, 1240, 279, 703, 22774, 6199, 17, 1625, 741, 732, 336, 3318, 628, 5317, 35, 7734, 12740, 18, 79, 78, 345, 67, 4148, 12, 315, 2568, 1404, 752, 1976, 7805, 598, 279, 923, 880, 6, 11272, 7734, 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/SecurityList.java/buggy/src/java/src/quickfix/fix44/SecurityList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 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 ]
private static boolean hasActionCost( int itemID )
private static boolean hasActionCost( int itemId )
private static boolean hasActionCost( int itemID ) { switch ( itemID ) { case 2: // Seal Tooth case 4: // Scroll of Turtle Summoning case 8: // Spices case 536: // Dictionary 1 case 1316: // Dictionary 2 return false; default: return true; } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/db652071b06715a4456f702f081fbe5b47aa5a70/FightRequest.java/buggy/src/net/sourceforge/kolmafia/FightRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 711, 1803, 8018, 12, 509, 761, 734, 262, 202, 95, 202, 202, 9610, 261, 761, 734, 262, 202, 202, 95, 202, 202, 3593, 576, 30, 202, 202, 759, 3265, 287, 399, 8595, 202, 202, 3593, 1059, 30, 202, 202, 759, 23134, 434, 399, 295, 5929, 9352, 2586, 310, 202, 202, 3593, 1725, 30, 202, 202, 759, 5878, 1242, 202, 202, 3593, 1381, 5718, 30, 202, 759, 16447, 404, 202, 202, 3593, 5958, 2313, 30, 202, 759, 16447, 576, 1082, 202, 2463, 629, 31, 202, 202, 1886, 30, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 711, 1803, 8018, 12, 509, 761, 734, 262, 202, 95, 202, 202, 9610, 261, 761, 734, 262, 202, 202, 95, 202, 202, 3593, 576, 30, 202, 202, 759, 3265, 287, 399, 8595, 202, 202, 3593, 1059, 30, 202, 202, 759, 23134, 434, 399, 295, 5929, 9352, 2586, 310, 202, 202, 3593, 1725, 30, 202, 202, 759, 5878, 1242, 202, 202, 3593, 1381, 5718, 30, 202, 759, 16447, 404, 202, 202, 3593, 5958, 2313, 30, 202, 759, 16447, 576, 1082, 202, 2463, 629, 31, 202, 202, 1886, 30, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
}
public CmsI18nInfo getI18nInfo(HttpServletRequest req, CmsUser user, CmsProject project, String resource) { Locale locale = null; // try to read locale from session if (req != null) { // set the request character encoding try { req.setCharacterEncoding(m_defaultEncoding); } catch (UnsupportedEncodingException e) { // should not ever really happen OpenCms.getLog(this).error("Unsupported encoding set for workplace '" + m_defaultEncoding + "'", e); } // read workplace settings HttpSession session = req.getSession(false); if (session != null) { CmsWorkplaceSettings settings = (CmsWorkplaceSettings)session.getAttribute(CmsWorkplace.C_SESSION_WORKPLACE_SETTINGS); if (settings != null) { locale = settings.getUserSettings().getLocale(); } } } if (locale == null) { // no session available, try to read the locale form the user additional info if (! user.isGuestUser()) { // check user settings only for "real" users CmsUserSettings settings = new CmsUserSettings(user); locale = settings.getLocale(); } if (req != null) { List acceptedLocales = (new CmsAcceptLanguageHeaderParser(req, getDefaultLocale())).getAcceptedLocales(); if ((locale != null) && (! acceptedLocales.contains(locale))) { acceptedLocales.add(0, locale); } locale = OpenCms.getLocaleManager().getFirstMatchingLocale(acceptedLocales, m_locales); } // if no locale was found, use the default if (locale == null) { locale = getDefaultLocale(); } } return new CmsI18nInfo(locale, m_defaultEncoding); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/09bcb6a947e23be7c0069d1828218e012fe628ab/CmsWorkplaceManager.java/buggy/src/org/opencms/workplace/CmsWorkplaceManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2149, 45, 2643, 82, 966, 8974, 2643, 82, 966, 12, 2940, 18572, 1111, 16, 25492, 729, 16, 2149, 4109, 1984, 16, 514, 1058, 13, 288, 13491, 6458, 2573, 273, 446, 31, 3639, 368, 775, 358, 855, 2573, 628, 1339, 3639, 309, 261, 3658, 480, 446, 13, 288, 13491, 368, 444, 326, 590, 3351, 2688, 5411, 775, 288, 7734, 1111, 18, 542, 7069, 4705, 12, 81, 67, 1886, 4705, 1769, 5411, 289, 1044, 261, 8544, 13836, 425, 13, 288, 7734, 368, 1410, 486, 14103, 8654, 5865, 7734, 10319, 18, 588, 1343, 12, 2211, 2934, 1636, 2932, 8544, 2688, 444, 364, 28676, 2119, 397, 312, 67, 1886, 4705, 397, 2491, 3113, 425, 1769, 5411, 289, 5397, 368, 855, 28676, 1947, 5411, 26166, 1339, 273, 1111, 18, 588, 2157, 12, 5743, 1769, 5411, 309, 261, 3184, 480, 446, 13, 288, 7734, 27755, 2628, 1947, 273, 261, 4747, 16514, 2628, 13, 3184, 18, 588, 1499, 12, 4747, 16514, 18, 39, 67, 7042, 67, 10566, 12134, 67, 19428, 1769, 7734, 309, 261, 4272, 480, 446, 13, 288, 10792, 2573, 273, 1947, 18, 588, 1299, 2628, 7675, 588, 3916, 5621, 7734, 289, 5411, 289, 5411, 289, 7734, 309, 261, 6339, 422, 446, 13, 288, 5411, 368, 1158, 1339, 2319, 16, 775, 358, 855, 326, 2573, 646, 326, 729, 3312, 1123, 5411, 309, 16051, 729, 18, 291, 12978, 1299, 10756, 288, 7734, 368, 866, 729, 1947, 1338, 364, 315, 7688, 6, 3677, 7734, 25492, 2628, 1947, 273, 394, 25492, 2628, 12, 1355, 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, 2149, 45, 2643, 82, 966, 8974, 2643, 82, 966, 12, 2940, 18572, 1111, 16, 25492, 729, 16, 2149, 4109, 1984, 16, 514, 1058, 13, 288, 13491, 6458, 2573, 273, 446, 31, 3639, 368, 775, 358, 855, 2573, 628, 1339, 3639, 309, 261, 3658, 480, 446, 13, 288, 13491, 368, 444, 326, 590, 3351, 2688, 5411, 775, 288, 7734, 1111, 18, 542, 7069, 4705, 12, 81, 67, 1886, 4705, 1769, 5411, 289, 1044, 261, 8544, 13836, 425, 13, 288, 7734, 368, 1410, 486, 14103, 8654, 5865, 7734, 10319, 18, 588, 1343, 12, 2211, 2934, 1636, 2932, 8544, 2688, 444, 364, 28676, 2119, 397, 312, 67, 1886, 4705, 397, 2491, 3113, 425, 1769, 5411, 289, 5397, 368, 855, 28676, 2 ]
stepLoader = new StepLoader(new String[] { Const.PLUGIN_STEPS_DIRECTORY_PUBLIC, Const.PLUGIN_STEPS_DIRECTORY_PRIVATE } );
stepLoader = new StepLoader(pluginDirectory);
public static final StepLoader getInstance() { if (stepLoader != null) return stepLoader; stepLoader = new StepLoader(new String[] { Const.PLUGIN_STEPS_DIRECTORY_PUBLIC, Const.PLUGIN_STEPS_DIRECTORY_PRIVATE } ); return stepLoader; }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/03d4f634e8c8f5eabd44f40018e75e4fdc22ac5d/StepLoader.java/buggy/src/be/ibridge/kettle/trans/StepLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 8693, 2886, 3694, 1435, 565, 288, 3639, 309, 261, 4119, 2886, 480, 446, 13, 327, 2235, 2886, 31, 3639, 2235, 2886, 273, 394, 8693, 2886, 12, 4094, 2853, 1769, 3639, 327, 2235, 2886, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 727, 8693, 2886, 3694, 1435, 565, 288, 3639, 309, 261, 4119, 2886, 480, 446, 13, 327, 2235, 2886, 31, 3639, 2235, 2886, 273, 394, 8693, 2886, 12, 4094, 2853, 1769, 3639, 327, 2235, 2886, 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 ]
int _m2713 = mark(); synPredMatched2713 = true;
int _m46 = mark(); synPredMatched46 = true;
public final void value() throws RecognitionException, TokenStreamException { Token s = null; Token n = null; Token m = null; try { // for error handling boolean synPredMatched2709 = false; if (((_tokenSet_14.member(LA(1))) && (LA(2)==NL||LA(2)==ADR) && (_tokenSet_15.member(LA(3))))) { int _m2709 = mark(); synPredMatched2709 = true; inputState.guessing++; try { { switch ( LA(1)) { case HASH_REF: { match(HASH_REF); break; } case SCALAR_REF: { match(SCALAR_REF); break; } case CODE_REF: { match(CODE_REF); break; } case REF: { match(REF); break; } case FILE_REF: { match(FILE_REF); break; } case GLOB: { match(GLOB); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } } catch (RecognitionException pe) { synPredMatched2709 = false; } rewind(_m2709); inputState.guessing--; } if ( synPredMatched2709 ) { refs(); } else { boolean synPredMatched2711 = false; if (((LA(1)==STRING) && (LA(2)==NL) && (_tokenSet_9.member(LA(3))))) { int _m2711 = mark(); synPredMatched2711 = true; inputState.guessing++; try { { match(STRING); match(NL); } } catch (RecognitionException pe) { synPredMatched2711 = false; } rewind(_m2711); inputState.guessing--; } if ( synPredMatched2711 ) { s = LT(1); match(STRING); if ( inputState.guessing==0 ) { setVal(s.getText(),"Scalar");printConsole(" VAL:"+s.getText()+"\n"); } match(NL); } else { boolean synPredMatched2713 = false; if (((LA(1)==NUMBER) && (LA(2)==NL) && (_tokenSet_9.member(LA(3))))) { int _m2713 = mark(); synPredMatched2713 = true; inputState.guessing++; try { { match(NUMBER); match(NL); } } catch (RecognitionException pe) { synPredMatched2713 = false; } rewind(_m2713); inputState.guessing--; } if ( synPredMatched2713 ) { n = LT(1); match(NUMBER); if ( inputState.guessing==0 ) { setVal(n.getText(),"Scalar");printConsole(" VAL_NUM:"+n.getText()+"\n"); } match(NL); } else { boolean synPredMatched2715 = false; if (((LA(1)==FILE_HANDLE) && (LA(2)==PAREN_OP) && (LA(3)==PURE_NAME))) { int _m2715 = mark(); synPredMatched2715 = true; inputState.guessing++; try { { match(FILE_HANDLE); } } catch (RecognitionException pe) { synPredMatched2715 = false; } rewind(_m2715); inputState.guessing--; } if ( synPredMatched2715 ) { fileHandle(); match(NL); } else { boolean synPredMatched2717 = false; if (((LA(1)==NL) && (_tokenSet_9.member(LA(2))) && (_tokenSet_15.member(LA(3))))) { int _m2717 = mark(); synPredMatched2717 = true; inputState.guessing++; try { { match(NL); } } catch (RecognitionException pe) { synPredMatched2717 = false; } rewind(_m2717); inputState.guessing--; } if ( synPredMatched2717 ) { match(NL); if ( inputState.guessing==0 ) { setVal("undef","Scalar"); } } else { boolean synPredMatched2720 = false; if (((_tokenSet_16.member(LA(1))) && (_tokenSet_8.member(LA(2))) && ((LA(3) >= ARRAY_NAME && LA(3) <= CHAR_ESC)))) { int _m2720 = mark(); synPredMatched2720 = true; inputState.guessing++; try { { { match(_tokenSet_16); } match(EQ); } } catch (RecognitionException pe) { synPredMatched2720 = false; } rewind(_m2720); inputState.guessing--; } if ( synPredMatched2720 ) { if ( inputState.guessing==0 ) { mLex.mIgnoreWS=false; } { int _cnt2723=0; _loop2723: do { if ((_tokenSet_16.member(LA(1)))) { { m = LT(1); match(_tokenSet_16); } if ( inputState.guessing==0 ) { appendVal(m.getText()); } } else { if ( _cnt2723>=1 ) { break _loop2723; } else {throw new NoViableAltException(LT(1), getFilename());} } _cnt2723++; } while (true); } if ( inputState.guessing==0 ) { mLex.mIgnoreWS=true; } match(EQ); { boolean synPredMatched2726 = false; if (((_tokenSet_14.member(LA(1))) && (LA(2)==NL||LA(2)==ADR) && (_tokenSet_15.member(LA(3))))) { int _m2726 = mark(); synPredMatched2726 = true; inputState.guessing++; try { { switch ( LA(1)) { case HASH_REF: { match(HASH_REF); break; } case SCALAR_REF: { match(SCALAR_REF); break; } case CODE_REF: { match(CODE_REF); break; } case REF: { match(REF); break; } case FILE_REF: { match(FILE_REF); break; } case GLOB: { match(GLOB); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } } catch (RecognitionException pe) { synPredMatched2726 = false; } rewind(_m2726); inputState.guessing--; } if ( synPredMatched2726 ) { refs(); } else if (((LA(1) >= ARRAY_NAME && LA(1) <= CHAR_ESC)) && (_tokenSet_15.member(LA(2))) && (_tokenSet_15.member(LA(3)))) { val_nonl(); match(NL); } else { throw new NoViableAltException(LT(1), getFilename()); } } } else if (((LA(1) >= ARRAY_NAME && LA(1) <= CHAR_ESC)) && (_tokenSet_15.member(LA(2))) && (_tokenSet_15.member(LA(3)))) { val_nonl(); match(NL); } else { throw new NoViableAltException(LT(1), getFilename()); } }}}}} } catch (RecognitionException ex) { if (inputState.guessing==0) { reportError(ex); consume(); consumeUntil(_tokenSet_9); } else { throw ex; } } }
48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/588fa46a989be704f3cfb7e6dd6997282136a5e7/PerlParserSimple.java/buggy/org.epic.debug/src/org/epic/debug/varparser/PerlParserSimple.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 460, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 1345, 225, 272, 273, 446, 31, 202, 202, 1345, 225, 290, 273, 446, 31, 202, 202, 1345, 225, 312, 273, 446, 31, 9506, 202, 698, 288, 1377, 368, 364, 555, 5057, 1082, 202, 6494, 6194, 10391, 15400, 5324, 5908, 273, 629, 31, 1082, 202, 430, 261, 12443, 67, 2316, 694, 67, 3461, 18, 5990, 12, 2534, 12, 21, 20349, 597, 261, 2534, 12, 22, 13, 631, 24924, 20081, 2534, 12, 22, 13, 631, 1880, 54, 13, 597, 261, 67, 2316, 694, 67, 3600, 18, 5990, 12, 2534, 12, 23, 3719, 20349, 288, 9506, 202, 474, 389, 81, 5324, 5908, 273, 2267, 5621, 9506, 202, 11982, 10391, 15400, 5324, 5908, 273, 638, 31, 9506, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 9506, 202, 698, 288, 6862, 202, 95, 6862, 202, 9610, 261, 2928, 12, 21, 3719, 288, 6862, 202, 3593, 20857, 67, 10771, 30, 6862, 202, 95, 25083, 202, 1916, 12, 15920, 67, 10771, 1769, 25083, 202, 8820, 31, 6862, 202, 97, 6862, 202, 3593, 348, 7913, 985, 67, 10771, 30, 6862, 202, 95, 25083, 202, 1916, 12, 2312, 1013, 985, 67, 10771, 1769, 25083, 202, 8820, 31, 6862, 202, 97, 6862, 202, 3593, 11128, 67, 10771, 30, 6862, 202, 95, 25083, 202, 1916, 12, 5572, 67, 10771, 1769, 25083, 202, 8820, 31, 6862, 202, 97, 6862, 202, 3593, 20557, 30, 6862, 202, 95, 25083, 202, 1916, 12, 10771, 1769, 25083, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 460, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 1345, 225, 272, 273, 446, 31, 202, 202, 1345, 225, 290, 273, 446, 31, 202, 202, 1345, 225, 312, 273, 446, 31, 9506, 202, 698, 288, 1377, 368, 364, 555, 5057, 1082, 202, 6494, 6194, 10391, 15400, 5324, 5908, 273, 629, 31, 1082, 202, 430, 261, 12443, 67, 2316, 694, 67, 3461, 18, 5990, 12, 2534, 12, 21, 20349, 597, 261, 2534, 12, 22, 13, 631, 24924, 20081, 2534, 12, 22, 13, 631, 1880, 54, 13, 597, 261, 67, 2316, 694, 67, 3600, 18, 5990, 12, 2534, 12, 23, 3719, 20349, 288, 9506, 202, 474, 389, 81, 5324, 5908, 273, 2267, 5621, 9506, 2 ]
newWizardActions.add(id);
newWizardActionIds.add(id);
public void restoreState(IMemento memento) { // Create persp descriptor. descriptor = new PerspectiveDescriptor(null,null,null); descriptor.restoreState(memento); PerspectiveDescriptor desc = (PerspectiveDescriptor)WorkbenchPlugin .getDefault().getPerspectiveRegistry().findPerspectiveWithId(descriptor.getId()); if (desc != null) descriptor = desc; IMemento boundsMem = memento.getChild(IWorkbenchConstants.TAG_WINDOW); if(boundsMem != null) { Rectangle r = new Rectangle(0,0,0,0); r.x = boundsMem.getInteger(IWorkbenchConstants.TAG_X).intValue(); r.y = boundsMem.getInteger(IWorkbenchConstants.TAG_Y).intValue(); r.height = boundsMem.getInteger(IWorkbenchConstants.TAG_HEIGHT).intValue(); r.width = boundsMem.getInteger(IWorkbenchConstants.TAG_WIDTH).intValue(); if(page.getWorkbenchWindow().getPages().length == 0) { page.getWorkbenchWindow().getShell().setBounds(r); } } // Create an empty presentation.. RootLayoutContainer mainLayout = new RootLayoutContainer(page.getMouseDownListener()); PerspectivePresentation pres = new PerspectivePresentation(page, mainLayout); // Read the layout. pres.restoreState(memento.getChild(IWorkbenchConstants.TAG_LAYOUT)); // Add the editor workbook. Do not hide it now. pres.replacePlaceholderWithPart(editorArea); // Add the visible views. IMemento [] views = memento.getChildren(IWorkbenchConstants.TAG_VIEW); List errors = new ArrayList(); for (int x = 0; x < views.length; x ++) { // Get the view details. IMemento childMem = views[x]; String viewID = childMem.getString(IWorkbenchConstants.TAG_ID); // Create and open the view. try { ViewPane pane = restoreView(childMem,viewID); page.addPart(pane.getPart()); pres.replacePlaceholderWithPart(pane); } catch (PartInitException e) { errors.add(e.getStatus()); } } // Load the fast views IMemento fastViewsMem = memento.getChild(IWorkbenchConstants.TAG_FAST_VIEWS); if(fastViewsMem != null) { views = fastViewsMem.getChildren(IWorkbenchConstants.TAG_VIEW); for (int x = 0; x < views.length; x ++) { // Get the view details. IMemento childMem = views[x]; String viewID = childMem.getString(IWorkbenchConstants.TAG_ID); Float ratio = childMem.getFloat(IWorkbenchConstants.TAG_RATIO); if (ratio == null) { Integer viewWidth = childMem.getInteger(IWorkbenchConstants.TAG_WIDTH); if (viewWidth == null) ratio = new Float(DEFAULT_FASTVIEW_RATIO); else ratio = new Float((float)viewWidth.intValue() / (float)getClientComposite().getSize().x); } mapFastViewToWidthRatio.put(viewID, ratio); // Create and open the view. try { ViewPane pane = restoreView(childMem,viewID); page.addPart(pane.getPart()); fastViews.add(pane.getPart()); } catch (PartInitException e) { errors.add(e.getStatus()); } } } if(errors.size() > 0) { String message; Status s; if(errors.size() == 1) { s = (Status)errors.get(0); message = WorkbenchMessages.getString("Perspective.oneErrorRestoring"); //$NON-NLS-1$ } else { Status allErrors[] = new Status[errors.size()]; errors.toArray(allErrors); message = WorkbenchMessages.getString("Perspective.couldNotCreateAllViews"); //$NON-NLS-1$ s = new MultiStatus(PlatformUI.PLUGIN_ID,0,allErrors,WorkbenchMessages.getString("Perspective.multipleErrorsRestoring"),null); //$NON-NLS-1$ } ErrorDialog.openError(null,WorkbenchMessages.getString("Error"),message,s); //$NON-NLS-1$ } // Load the action sets. IMemento [] actions = memento.getChildren(IWorkbenchConstants.TAG_ACTION_SET); ArrayList result = new ArrayList(actions.length); for (int x = 0; x < actions.length; x ++) { String actionSetID = actions[x].getString(IWorkbenchConstants.TAG_ID); result.add(actionSetID); } createInitialActionSets(result); // Load the always on action sets. actions = memento.getChildren(IWorkbenchConstants.TAG_ALWAYS_ON_ACTION_SET); for (int x = 0; x < actions.length; x ++) { String actionSetID = actions[x].getString(IWorkbenchConstants.TAG_ID); IActionSetDescriptor d = WorkbenchPlugin.getDefault().getActionSetRegistry().findActionSet(actionSetID); if (d != null) alwaysOnActionSets.add(d); } // Load the always off action sets. actions = memento.getChildren(IWorkbenchConstants.TAG_ALWAYS_OFF_ACTION_SET); for (int x = 0; x < actions.length; x ++) { String actionSetID = actions[x].getString(IWorkbenchConstants.TAG_ID); IActionSetDescriptor d = WorkbenchPlugin.getDefault().getActionSetRegistry().findActionSet(actionSetID); if (d != null) alwaysOffActionSets.add(d); } // Load "show view actions". actions = memento.getChildren(IWorkbenchConstants.TAG_SHOW_VIEW_ACTION); showViewActions = new ArrayList(actions.length); for (int x = 0; x < actions.length; x ++) { String id = actions[x].getString(IWorkbenchConstants.TAG_ID); showViewActions.add(id); } // Load "new wizard actions". actions = memento.getChildren(IWorkbenchConstants.TAG_NEW_WIZARD_ACTION); newWizardActions = new ArrayList(actions.length); for (int x = 0; x < actions.length; x ++) { String id = actions[x].getString(IWorkbenchConstants.TAG_ID); newWizardActions.add(id); } // Load "perspective actions". actions = memento.getChildren(IWorkbenchConstants.TAG_PERSPECTIVE_ACTION); perspectiveActions = new ArrayList(actions.length); for (int x = 0; x < actions.length; x ++) { String id = actions[x].getString(IWorkbenchConstants.TAG_ID); perspectiveActions.add(id); } // Save presentation. presentation = pres; // Hide the editor area if needed. Need to wait for the // presentation to be fully setup first. Integer areaVisible = memento.getInteger(IWorkbenchConstants.TAG_AREA_VISIBLE); if (areaVisible != null && areaVisible.intValue() == 0) hideEditorArea(); Integer threshold = memento.getInteger(IWorkbenchConstants.TAG_EDITOR_REUSE_THRESHOLD); if (threshold != null && threshold.intValue() != 0) setEditorReuseThreshold(threshold.intValue()); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/184de2fb4456a48b6e0e86aaa155745d8eb68b3a/Perspective.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/Perspective.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 5217, 1119, 12, 3445, 820, 83, 312, 820, 83, 13, 288, 202, 759, 1788, 13508, 84, 4950, 18, 202, 12628, 273, 394, 453, 414, 16772, 3187, 12, 2011, 16, 2011, 16, 2011, 1769, 202, 12628, 18, 13991, 1119, 12, 81, 820, 83, 1769, 202, 14781, 16772, 3187, 3044, 273, 261, 14781, 16772, 3187, 13, 2421, 22144, 3773, 202, 202, 18, 588, 1868, 7675, 588, 14781, 16772, 4243, 7675, 4720, 14781, 16772, 1190, 548, 12, 12628, 18, 26321, 10663, 202, 430, 261, 5569, 480, 446, 13, 202, 202, 12628, 273, 3044, 31, 202, 202, 3445, 820, 83, 4972, 3545, 273, 312, 820, 83, 18, 588, 1763, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 23407, 1769, 202, 430, 12, 10576, 3545, 480, 446, 13, 288, 202, 202, 19463, 436, 273, 394, 13264, 12, 20, 16, 20, 16, 20, 16, 20, 1769, 202, 202, 86, 18, 92, 273, 4972, 3545, 18, 588, 4522, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 60, 2934, 474, 620, 5621, 202, 202, 86, 18, 93, 273, 4972, 3545, 18, 588, 4522, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 61, 2934, 474, 620, 5621, 202, 202, 86, 18, 4210, 273, 4972, 3545, 18, 588, 4522, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 14595, 2934, 474, 620, 5621, 202, 202, 86, 18, 2819, 273, 4972, 3545, 18, 588, 4522, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 10023, 2934, 474, 620, 5621, 202, 202, 430, 12, 2433, 18, 588, 2421, 22144, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 5217, 1119, 12, 3445, 820, 83, 312, 820, 83, 13, 288, 202, 759, 1788, 13508, 84, 4950, 18, 202, 12628, 273, 394, 453, 414, 16772, 3187, 12, 2011, 16, 2011, 16, 2011, 1769, 202, 12628, 18, 13991, 1119, 12, 81, 820, 83, 1769, 202, 14781, 16772, 3187, 3044, 273, 261, 14781, 16772, 3187, 13, 2421, 22144, 3773, 202, 202, 18, 588, 1868, 7675, 588, 14781, 16772, 4243, 7675, 4720, 14781, 16772, 1190, 548, 12, 12628, 18, 26321, 10663, 202, 430, 261, 5569, 480, 446, 13, 202, 202, 12628, 273, 3044, 31, 202, 202, 3445, 820, 83, 4972, 3545, 273, 312, 820, 83, 18, 588, 1763, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 23407, 1769, 202, 430, 2 ]
throws HttpException, IOException
throws IOException
public boolean putMethod( String path, InputStream is, int contentLength ) throws HttpException, IOException { setClient(); PutMethod method = new PutMethod( URIUtil.encodePathQuery( path ) ); generateIfHeader( method ); if ( getGetContentType() != null && !getGetContentType().equals( "" ) ) method.setRequestHeader( "Content-Type", getGetContentType() ); method.setRequestContentLength( contentLength ); method.setRequestBody( is ); generateTransactionHeader( method ); generateAdditionalHeaders( method ); int statusCode = client.executeMethod( method ); setStatusCode( statusCode ); return ( statusCode >= 200 && statusCode < 300 ) ? true : false; }
51920 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51920/c3fc4cf7bb5ebe6018be7c14a1a4f2fa07d73764/CorrectedWebdavResource.java/buggy/wagon-providers/wagon-webdav/src/main/java/org/apache/maven/wagon/providers/webdav/CorrectedWebdavResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1378, 1305, 12, 514, 589, 16, 5037, 353, 16, 509, 17117, 262, 3639, 1216, 1860, 565, 288, 3639, 26001, 5621, 3639, 4399, 1305, 707, 273, 394, 4399, 1305, 12, 3699, 1304, 18, 3015, 743, 1138, 12, 589, 262, 11272, 3639, 2103, 2047, 1864, 12, 707, 11272, 3639, 309, 261, 336, 967, 8046, 1435, 480, 446, 597, 401, 588, 967, 8046, 7675, 14963, 12, 1408, 262, 262, 5411, 707, 18, 542, 691, 1864, 12, 315, 1350, 17, 559, 3113, 336, 967, 8046, 1435, 11272, 3639, 707, 18, 542, 691, 1350, 1782, 12, 17117, 11272, 3639, 707, 18, 542, 28843, 12, 353, 11272, 3639, 2103, 3342, 1864, 12, 707, 11272, 3639, 2103, 10552, 3121, 12, 707, 11272, 3639, 509, 6593, 273, 1004, 18, 8837, 1305, 12, 707, 11272, 3639, 21597, 12, 6593, 11272, 3639, 327, 261, 6593, 1545, 4044, 597, 6593, 411, 11631, 262, 692, 638, 294, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1378, 1305, 12, 514, 589, 16, 5037, 353, 16, 509, 17117, 262, 3639, 1216, 1860, 565, 288, 3639, 26001, 5621, 3639, 4399, 1305, 707, 273, 394, 4399, 1305, 12, 3699, 1304, 18, 3015, 743, 1138, 12, 589, 262, 11272, 3639, 2103, 2047, 1864, 12, 707, 11272, 3639, 309, 261, 336, 967, 8046, 1435, 480, 446, 597, 401, 588, 967, 8046, 7675, 14963, 12, 1408, 262, 262, 5411, 707, 18, 542, 691, 1864, 12, 315, 1350, 17, 559, 3113, 336, 967, 8046, 1435, 11272, 3639, 707, 18, 542, 691, 1350, 1782, 12, 17117, 11272, 3639, 707, 18, 542, 28843, 12, 353, 11272, 3639, 2103, 3342, 1864, 12, 707, 11272, 3639, 2103, 10552, 3121, 12, 707, 11272, 3639, 2 ]
statement.setString(8, owner.getName()+" "+owner.getFirstname()+" "+owner.getLastname());
statement.setString(8, ownerName);
public void backupProject(CmsProject project, int versionId, long publishDate, CmsUser currentUser) throws CmsException { Connection con = null; PreparedStatement statement = null; CmsUser owner = readUser(project.getOwnerId()); CmsGroup group = readGroup(project.getGroupId()); CmsGroup managerGroup = readGroup(project.getManagerGroupId()); Vector projectresources = readAllProjectResources(project.getId()); // write backup project to the database try { con = DriverManager.getConnection(m_poolNameBackup); // first write the project statement = con.prepareStatement(m_cq.get("C_PROJECTS_CREATE_BACKUP")); statement.setInt(1, versionId); statement.setInt(2, project.getId()); statement.setString(3, project.getName()); statement.setTimestamp(4, new Timestamp(publishDate)); statement.setInt(5, currentUser.getId()); statement.setString(6, currentUser.getName()+" "+currentUser.getFirstname()+" "+currentUser.getLastname()); statement.setInt(7, project.getOwnerId()); statement.setString(8, owner.getName()+" "+owner.getFirstname()+" "+owner.getLastname()); statement.setInt(9, project.getGroupId()); statement.setString(10, group.getName()); statement.setInt(11, project.getManagerGroupId()); statement.setString(12, managerGroup.getName()); statement.setString(13, project.getDescription()); statement.setTimestamp(14, new Timestamp(project.getCreateDate())); statement.setInt(15, project.getType()); statement.setInt(16, project.getTaskId()); statement.executeUpdate(); statement.close(); // now write the projectresources for(int i = 0; i < projectresources.size(); i++){ statement = con.prepareStatement(m_cq.get("C_PROJECTRESOURCES_CREATE_BACKUP")); statement.setInt(1, versionId); statement.setInt(2, project.getId()); statement.setString(3, (String)projectresources.get(i)); statement.executeUpdate(); statement.close(); } } catch (SQLException e) { throw new CmsException("[" + this.getClass().getName() + "] " + e.getMessage(), CmsException.C_SQL_ERROR, e); } finally { if(statement != null) { try { statement.close(); } catch(SQLException exc) { // nothing to do here } } if(con != null) { try { con.close(); } catch(SQLException exc) { // nothing to do here } } } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/f4b81f36545e9a7c07b7f72c07615151eb706158/CmsDbAccess.java/buggy/src/com/opencms/file/genericSql/CmsDbAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5114, 4109, 12, 4747, 4109, 1984, 16, 509, 15287, 16, 17311, 1525, 3808, 1626, 16, 25492, 13970, 13, 1216, 11228, 288, 3639, 4050, 356, 273, 446, 31, 3639, 16913, 3021, 273, 446, 31, 3639, 25492, 3410, 273, 855, 1299, 12, 4406, 18, 588, 5541, 548, 10663, 3639, 2149, 1114, 1041, 273, 855, 1114, 12, 4406, 18, 588, 8722, 10663, 3639, 2149, 1114, 3301, 1114, 273, 855, 1114, 12, 4406, 18, 588, 1318, 8722, 10663, 3639, 5589, 1984, 4683, 273, 31267, 4109, 3805, 12, 4406, 18, 26321, 10663, 3639, 368, 1045, 5114, 1984, 358, 326, 2063, 3639, 775, 288, 5411, 356, 273, 9396, 1318, 18, 588, 1952, 12, 81, 67, 6011, 461, 6248, 1769, 5411, 368, 1122, 1045, 326, 1984, 5411, 3021, 273, 356, 18, 9366, 3406, 12, 81, 67, 71, 85, 18, 588, 2932, 39, 67, 17147, 55, 67, 9344, 67, 8720, 3079, 7923, 1769, 5411, 3021, 18, 542, 1702, 12, 21, 16, 15287, 1769, 5411, 3021, 18, 542, 1702, 12, 22, 16, 1984, 18, 26321, 10663, 5411, 3021, 18, 542, 780, 12, 23, 16, 1984, 18, 17994, 10663, 5411, 3021, 18, 542, 4921, 12, 24, 16, 394, 8159, 12, 6543, 1626, 10019, 5411, 3021, 18, 542, 1702, 12, 25, 16, 13970, 18, 26321, 10663, 5411, 3021, 18, 542, 780, 12, 26, 16, 13970, 18, 17994, 1435, 9078, 13773, 2972, 1299, 18, 588, 3759, 529, 1435, 9078, 13773, 2972, 1299, 18, 588, 3024, 529, 10663, 5411, 3021, 18, 542, 1702, 12, 27, 16, 1984, 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, 5114, 4109, 12, 4747, 4109, 1984, 16, 509, 15287, 16, 17311, 1525, 3808, 1626, 16, 25492, 13970, 13, 1216, 11228, 288, 3639, 4050, 356, 273, 446, 31, 3639, 16913, 3021, 273, 446, 31, 3639, 25492, 3410, 273, 855, 1299, 12, 4406, 18, 588, 5541, 548, 10663, 3639, 2149, 1114, 1041, 273, 855, 1114, 12, 4406, 18, 588, 8722, 10663, 3639, 2149, 1114, 3301, 1114, 273, 855, 1114, 12, 4406, 18, 588, 1318, 8722, 10663, 3639, 5589, 1984, 4683, 273, 31267, 4109, 3805, 12, 4406, 18, 26321, 10663, 3639, 368, 1045, 5114, 1984, 358, 326, 2063, 3639, 775, 288, 5411, 356, 273, 9396, 1318, 18, 588, 1952, 12, 81, 67, 6011, 461, 6248, 1769, 5411, 368, 1122, 2 ]
encodedIndex += 3;
public static byte[] decode( byte[] base64Data ) { int numberQuadruple = base64Data.length/FOURBYTE; byte decodedData[] = null; byte b1=0,b2=0,b3=0, b4=0, marker0=0, marker1=0; // Throw away anything not in base64Data // Adjust size int encodedIndex = 0; int dataIndex = 0; decodedData = new byte[ numberQuadruple*3 + 1 ]; for (int i = 0; i<numberQuadruple; i++ ) { dataIndex = i*4; marker0 = base64Data[dataIndex +2]; marker1 = base64Data[dataIndex +3]; b1 = base64Alphabet[base64Data[dataIndex]]; b2 = base64Alphabet[base64Data[dataIndex +1]]; if ( marker0 != PAD && marker1 != PAD ) { //No PAD e.g 3cQl b3 = base64Alphabet[ marker0 ]; b4 = base64Alphabet[ marker1 ]; decodedData[encodedIndex] = (byte)( b1 <<2 | b2>>4 ) ; decodedData[encodedIndex+1] = (byte)(((b2 & 0xf)<<4 ) |( (b3>>2) & 0xf) ); decodedData[encodedIndex+2] = (byte)( b3<<6 | b4 ); } else if ( marker0 == PAD ) { //Two PAD e.g. 3c[Pad][Pad] decodedData[encodedIndex] = (byte)( b1 <<2 | b2>>4 ) ; decodedData[encodedIndex+1] = (byte)((b2 & 0xf)<<4 ); decodedData[encodedIndex+2] = (byte) 0; } else if ( marker1 == PAD ) { //One PAD e.g. 3cQ[Pad] b3 = base64Alphabet[ marker0 ]; decodedData[encodedIndex] = (byte)( b1 <<2 | b2>>4 ); decodedData[encodedIndex+1] = (byte)(((b2 & 0xf)<<4 ) |( (b3>>2) & 0xf) ); decodedData[encodedIndex+2] = (byte)( b3<<6); } encodedIndex += 3; } return decodedData; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/883e3640a5fdfbff1ae8c32eabc60743dc590d6c/Base64.java/clean/src/org/apache/xerces/utils/Base64.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1160, 8526, 2495, 12, 1160, 8526, 1026, 1105, 751, 262, 288, 3639, 509, 1377, 1300, 24483, 86, 2268, 565, 273, 1026, 1105, 751, 18, 2469, 19, 3313, 1099, 15377, 31, 3639, 1160, 377, 6383, 751, 8526, 1377, 273, 446, 31, 3639, 1160, 377, 324, 21, 33, 20, 16, 70, 22, 33, 20, 16, 70, 23, 33, 20, 16, 324, 24, 33, 20, 16, 5373, 20, 33, 20, 16, 5373, 21, 33, 20, 31, 3639, 368, 3743, 10804, 6967, 486, 316, 1026, 1105, 751, 3639, 368, 17720, 963, 3639, 509, 3749, 1016, 273, 374, 31, 3639, 509, 501, 1016, 565, 273, 374, 31, 3639, 6383, 751, 1377, 273, 394, 1160, 63, 1300, 24483, 86, 2268, 14, 23, 397, 404, 308, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 32, 2696, 24483, 86, 2268, 31, 277, 9904, 262, 288, 5411, 501, 1016, 273, 277, 14, 24, 31, 5411, 5373, 20, 282, 273, 1026, 1105, 751, 63, 892, 1016, 397, 22, 15533, 2398, 5373, 21, 282, 273, 1026, 1105, 751, 63, 892, 1016, 397, 23, 15533, 2398, 324, 21, 273, 1026, 1105, 27316, 63, 1969, 1105, 751, 63, 892, 1016, 13563, 31, 2398, 324, 22, 273, 1026, 1105, 27316, 63, 1969, 1105, 751, 63, 892, 1016, 397, 21, 13563, 31, 5411, 309, 261, 5373, 20, 480, 453, 1880, 597, 5373, 21, 480, 453, 1880, 262, 288, 377, 368, 2279, 453, 1880, 425, 18, 75, 890, 71, 53, 80, 7734, 324, 23, 273, 1026, 1105, 27316, 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, 1160, 8526, 2495, 12, 1160, 8526, 1026, 1105, 751, 262, 288, 3639, 509, 1377, 1300, 24483, 86, 2268, 565, 273, 1026, 1105, 751, 18, 2469, 19, 3313, 1099, 15377, 31, 3639, 1160, 377, 6383, 751, 8526, 1377, 273, 446, 31, 3639, 1160, 377, 324, 21, 33, 20, 16, 70, 22, 33, 20, 16, 70, 23, 33, 20, 16, 324, 24, 33, 20, 16, 5373, 20, 33, 20, 16, 5373, 21, 33, 20, 31, 3639, 368, 3743, 10804, 6967, 486, 316, 1026, 1105, 751, 3639, 368, 17720, 963, 3639, 509, 3749, 1016, 273, 374, 31, 3639, 509, 501, 1016, 565, 273, 374, 31, 3639, 6383, 751, 1377, 273, 394, 1160, 63, 1300, 24483, 86, 2268, 14, 23, 2 ]
public ObjectMacroDescriptor( String name, String signature, List tokenizedExpansion, String expansionSignature )
public ObjectMacroDescriptor( String name, String expansionSignature )
public ObjectMacroDescriptor( String name, String signature, List tokenizedExpansion, String expansionSignature ) { this.name = name; this.tokenizedExpansion = tokenizedExpansion; this.fullSignature = signature; this.expansionSignature = expansionSignature; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/6dbe39d0d05fc79c35b81cae69bd88ac089585bb/ObjectMacroDescriptor.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ObjectMacroDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 17392, 3187, 12, 514, 508, 16, 514, 3372, 16, 987, 26073, 2966, 12162, 16, 514, 17965, 5374, 262, 202, 95, 202, 202, 2211, 18, 529, 273, 508, 31, 202, 202, 2211, 18, 2316, 1235, 2966, 12162, 273, 26073, 2966, 12162, 31, 202, 202, 2211, 18, 2854, 5374, 273, 3372, 31, 202, 202, 2211, 18, 2749, 12162, 5374, 273, 17965, 5374, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 1033, 17392, 3187, 12, 514, 508, 16, 514, 3372, 16, 987, 26073, 2966, 12162, 16, 514, 17965, 5374, 262, 202, 95, 202, 202, 2211, 18, 529, 273, 508, 31, 202, 202, 2211, 18, 2316, 1235, 2966, 12162, 273, 26073, 2966, 12162, 31, 202, 202, 2211, 18, 2854, 5374, 273, 3372, 31, 202, 202, 2211, 18, 2749, 12162, 5374, 273, 17965, 5374, 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 ]
+ "yu <> \u1172;" + "yo <> \u116d;" + "yi <> \u1174;" + "yeo <> \u1167;" + "ye <> \u1168;" + "yae <> \u1164;" + "ya <> \u1163;" + "wi <> \u1171;" + "weo <> \u116f;" + "we <> \u1170;" + "wae <> \u116b;" + "wa <> \u116a;" + "u <> \u116e;"
+ "({initial}) yu <> \u1172;" + "({initial}) yo <> \u116d;" + "({initial}) yi <> \u1174;" + "({initial}) yeo <> \u1167;" + "({initial}) ye <> \u1168;" + "({initial}) yae <> \u1164;" + "({initial}) ya <> \u1163;" + "({initial}) wi <> \u1171;" + "({initial}) weo <> \u116f;" + "({initial}) we <> \u1170;" + "({initial}) wae <> \u116b;" + "({initial}) wa <> \u116a;" + "({initial}) u <> \u116e;" + "({initial}) oe <> \u116c;" + "({initial}) o <> \u1169;" + "({initial}) i <> \u1175;" + "({initial}) eu <> \u1173;" + "({initial}) eo <> \u1165;" + "({initial}) e <> \u1166;" + "({initial}) ae <> \u1162;" + "({initial}) a <> \u1161;" + "yu > \u110B\u1172;" + "yo > \u110B\u116d;" + "yi > \u110B\u1174;" + "yeo > \u110B\u1167;" + "ye > \u110B\u1168;" + "yae > \u110B\u1164;" + "ya > \u110B\u1163;" + "wi > \u110B\u1171;" + "weo > \u110B\u116f;" + "we > \u110B\u1170;" + "wae > \u110B\u116b;" + "wa > \u110B\u116a;" + "u > \u110B\u116e;" + "oe > \u110B\u116c;" + "o > \u110B\u1169;" + "i > \u110B\u1175;" + "eu > \u110B\u1173;" + "eo > \u110B\u1165;" + "e > \u110B\u1166;" + "ae > \u110B\u1162;" + "a > \u110B\u1161;"
public Object[][] getContents() { return new Object[][] { { "Rule", "" // VARIABLES + "medial=[\u1160-\u11A7];" + "final=[\u11A8-\u11F9];" // added - aliu + "vowel=[aeiouwyAEIOUWY\u1160-\u11A7];" + "ye=[yeYE];" + "ywe=[yweYWE];" + "yw=[ywYW];" + "nl=[nlNL];" + "gnl=[gnlGNL];" + "lsgb=[lsgbLSGB];" + "ywao=[ywaoYWAO];" + "bl=[blBL];" // RULES // Hangul structure is IMF or IM // So you can have, because of adjacent sequences // IM, but not II or IF // MF or MI, but not MM // FI, but not FF or FM // For English, we just have C or V. // To generate valid Hangul: // Vowels: // We insert IEUNG between VV, and otherwise map V to M // We also insert IEUNG if there is no // Consonants: // We don't break doubles // Cases like lmgg, we have to break at lm // So to guess whether a consonant is I or F // we map all C's to F, except when followed by a vowel, e.g. // X[{vowel}>CHOSEONG (initial) // X>JONGSEONG (final) // special insertion for funny sequences of vowels + "({medial}) ({vowel}) > \u110B;" // HANGUL CHOSEONG IEUNG // Fix casing. // Because Korean is caseless, we just want to treat everything as // lowercase. // we could do this by always preceeding this transliterator with // an upper-lowercase transformation, but that wouldn't invert nicely. // We use the "revisit" syntax to just convert latin to latin // so that we can avoid // having to restate all the Latin=>Jamo rules, with the I/F handling. // We don't have to add titlecase, since that will be picked up // since the first letter is converted, then revisited. E.g. // |Gg => |gg => {sang kiyeok} // We do have to have all caps, since otherwise we could get: // |GG => |gG => {kiyeok}|G => {kiyeok}|g => {kiyeok}{kiyeok} + "Z > |z;" + "YU > |yu;" + "YO > |yo;" + "YI > |yi;" + "YEO > |yeo;" + "YE > |ye;" + "YAE > |yae;" + "YA > |ya;" + "Y > |y;" + "WI > |wi;" + "WEO > |weo;" + "WE > |we;" + "WAE > |wae;" + "WA > |wa;" + "W > |w;" + "U > |u;" + "T > |t;" + "SS > |ss;" + "S > |s;" + "P > |p;" + "OE > |oe;" + "O > |o;" + "NJ > |nj;" + "NH > |nh;" + "NG > |ng;" + "N > |n;" + "M > |m;" + "LT > |lt;" + "LS > |ls;" + "LP > |lp;" + "LM > |lm;" + "LH > |lh;" + "LG > |lg;" + "LB > |lb;" + "L > |l;" + "K > |k;" + "JJ > |jj;" + "J > |j;" + "I > |i;" + "H > |h;" + "GS > |gs;" + "GG > |gg;" + "G > |g;" + "EU > |eu;" + "EO > |eo;" + "E > |e;" + "DD > |dd;" + "D > |d;" + "BS > |bs;" + "BB > |bb;" + "B > |b;" + "AE > |ae;" + "A > |a;" // APOSTROPHE // As always, an apostrophe is used to separate digraphs into // singles. That is, if you really wanted [KAN][GGAN], instead // of [KANG][GAN] you would write "kan'ggan". // Rules for inserting ' when mapping separated digraphs back // from Hangul to Latin. Catch every letter that can be the // LAST of a digraph (or multigraph) + "''u < ({ye}) \u116e;" // hangul jungseong u + "''t < (l) \u11c0;" // hangul jongseong thieuth + "''t < (l) \u1110;" // hangul choseong thieuth + "''s < ({lsgb}) \u11ba;" // hangul jongseong sios + "''s < ({lsgb}) \u1109;" // hangul choseong sios + "''p < (l) \u11c1;" // hangul jongseong phieuph + "''p < (l) \u1111;" // hangul choseong phieuph + "''o < ({ywe}) \u1169;" // hangul jungseong o + "''m < (l) \u11b7;" // hangul jongseong mieum + "''m < (l) \u1106;" // hangul choseong mieum + "''j < (n) \u11bd;" // hangul jongseong cieuc + "''j < (n) \u110c;" // hangul choseong cieuc + "''i < ({yw}) \u1175;" // hangul jungseong i + "''h < ({nl}) \u11c2;" // hangul jongseong hieuh + "''h < ({nl}) \u1112;" // hangul choseong hieuh + "''g < ({gnl}) \u11a9;" // hangul jongseong ssangkiyeok + "''g < ({gnl}) \u1100;" // hangul choseong kiyeok + "''e < ({ywao}) \u1166;" // hangul jungseong e + "''d < (d) \u11ae;" // hangul jongseong tikeut + "''d < (d) \u1103;" // hangul choseong tikeut + "''b < ({bl}) \u11b8;" // hangul jongseong pieup + "''b < ({bl}) \u1107;" // hangul choseong pieup + "''a < ({yw}) \u1161;" // hangul jungseong a // INITIALS + "t ({vowel}) <> \u1110;" // hangul choseong thieuth + "ss ({vowel}) <> \u110a;" // hangul choseong ssangsios + "s ({vowel}) <> \u1109;" // hangul choseong sios + "p ({vowel}) <> \u1111;" // hangul choseong phieuph + "n ({vowel}) <> \u1102;" // hangul choseong nieun + "m ({vowel}) <> \u1106;" // hangul choseong mieum + "l ({vowel}) <> \u1105;" // hangul choseong rieul + "k ({vowel}) <> \u110f;" // hangul choseong khieukh + "j ({vowel}) <> \u110c;" // hangul choseong cieuc + "h ({vowel}) <> \u1112;" // hangul choseong hieuh + "gg ({vowel}) <> \u1101;" // hangul choseong ssangkiyeok + "g ({vowel}) <> \u1100;" // hangul choseong kiyeok + "d ({vowel}) <> \u1103;" // hangul choseong tikeut + "c ({vowel}) <> \u110e;" // hangul choseong chieuch + "bb ({vowel}) <> \u1108;" // hangul choseong ssangpieup + "b ({vowel}) <> \u1107;" // hangul choseong pieup // If we have gotten through to these rules, and we start with // a consonant, then the remaining mappings would be to F, // because must have CC (or C<non-letter>), not CV. // If we have F before us, then // we would end up with FF, which is wrong. The simplest fix is // to still make it an initial, but also insert an "u", // so we end up with F, I, u, and then continue with the C + "({final}) t > \u1110\u116e;" // hangul choseong thieuth + "({final}) ss > \u110a\u116e;" // hangul choseong ssangsios + "({final}) s > \u1109\u116e;" // hangul choseong sios + "({final}) p > \u1111\u116e;" // hangul choseong phieuph + "({final}) n > \u1102\u116e;" // hangul choseong nieun + "({final}) m > \u1106\u116e;" // hangul choseong mieum + "({final}) l > \u1105\u116e;" // hangul choseong rieul + "({final}) k > \u110f\u116e;" // hangul choseong khieukh + "({final}) j > \u110c\u116e;" // hangul choseong cieuc + "({final}) h > \u1112\u116e;" // hangul choseong hieuh + "({final}) gg > \u1101\u116e;" // hangul choseong ssangkiyeok + "({final}) g > \u1100\u116e;" // hangul choseong kiyeok + "({final}) d > \u1103\u116e;" // hangul choseong tikeut + "({final}) c > \u110e\u116e;" // hangul choseong chieuch + "({final}) bb > \u1108\u116e;" // hangul choseong ssangpieup + "({final}) b > \u1107\u116e;" // hangul choseong pieup // MEDIALS (vowels) and FINALS + "yu <> \u1172;" // hangul jungseong yu + "yo <> \u116d;" // hangul jungseong yo + "yi <> \u1174;" // hangul jungseong yi + "yeo <> \u1167;" // hangul jungseong yeo + "ye <> \u1168;" // hangul jungseong ye + "yae <> \u1164;" // hangul jungseong yae + "ya <> \u1163;" // hangul jungseong ya + "wi <> \u1171;" // hangul jungseong wi + "weo <> \u116f;" // hangul jungseong weo + "we <> \u1170;" // hangul jungseong we + "wae <> \u116b;" // hangul jungseong wae + "wa <> \u116a;" // hangul jungseong wa + "u <> \u116e;" // hangul jungseong u + "t <> \u11c0;" // hangul jongseong thieuth + "ss <> \u11bb;" // hangul jongseong ssangsios + "s <> \u11ba;" // hangul jongseong sios + "p <> \u11c1;" // hangul jongseong phieuph + "oe <> \u116c;" // hangul jungseong oe + "o <> \u1169;" // hangul jungseong o + "nj <> \u11ac;" // hangul jongseong nieun-cieuc + "nh <> \u11ad;" // hangul jongseong nieun-hieuh + "ng <> \u11bc;" // hangul jongseong ieung + "n <> \u11ab;" // hangul jongseong nieun + "m <> \u11b7;" // hangul jongseong mieum + "lt <> \u11b4;" // hangul jongseong rieul-thieuth + "ls <> \u11b3;" // hangul jongseong rieul-sios + "lp <> \u11b5;" // hangul jongseong rieul-phieuph + "lm <> \u11b1;" // hangul jongseong rieul-mieum + "lh <> \u11b6;" // hangul jongseong rieul-hieuh + "lg <> \u11b0;" // hangul jongseong rieul-kiyeok + "lb <> \u11b2;" // hangul jongseong rieul-pieup + "l <> \u11af;" // hangul jongseong rieul + "k <> \u11bf;" // hangul jongseong khieukh + "jj <> \u110d;" // hangul choseong ssangcieuc + "j <> \u11bd;" // hangul jongseong cieuc + "i <> \u1175;" // hangul jungseong i + "h <> \u11c2;" // hangul jongseong hieuh + "gs <> \u11aa;" // hangul jongseong kiyeok-sios + "gg <> \u11a9;" // hangul jongseong ssangkiyeok + "g <> \u11a8;" // hangul jongseong kiyeok + "eu <> \u1173;" // hangul jungseong eu + "eo <> \u1165;" // hangul jungseong eo + "e <> \u1166;" // hangul jungseong e + "dd <> \u1104;" // hangul choseong ssangtikeut + "d <> \u11ae;" // hangul jongseong tikeut + "c <> \u11be;" // hangul jongseong chieuch + "bs <> \u11b9;" // hangul jongseong pieup-sios + "b <> \u11b8;" // hangul jongseong pieup + "ae <> \u1162;" // hangul jungseong ae + "a <> \u1161;" // hangul jungseong a // extra English letters // {moved to bottom - aliu} + "z > |s;" //{ + "Z > |s;" } masked + "x > |ks;" + "X > |ks;" + "v > |b;" + "V > |b;" + "r > |l;" + "R > |l;" + "q > |k;" + "Q > |k;" + "f > |p;" + "F > |p;" //{ + "c > |k;" } masked + "C > |k;" // ==================================== // Normal final rule: remove ' // ==================================== + "''>;" } }; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/16730bea7366c1b77ba75842d5254daa82667371/TransliterationRule$Latin$Jamo.java/clean/icu4j/src/com/ibm/text/resources/TransliterationRule$Latin$Jamo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 63, 6362, 65, 15015, 1435, 288, 3639, 327, 394, 1033, 63, 6362, 65, 288, 5411, 288, 315, 2175, 3113, 1408, 225, 368, 22965, 55, 225, 397, 315, 2937, 649, 33, 7438, 89, 21, 16874, 6943, 89, 2499, 37, 27, 65, 4868, 225, 397, 315, 6385, 33, 7438, 89, 2499, 37, 28, 6943, 89, 2499, 42, 29, 65, 4868, 368, 3096, 300, 15033, 89, 225, 397, 315, 90, 19634, 22850, 8906, 77, 1395, 91, 93, 16985, 4294, 57, 59, 61, 64, 89, 21, 16874, 6943, 89, 2499, 37, 27, 65, 4868, 225, 397, 315, 20513, 22850, 20513, 61, 41, 65, 4868, 225, 397, 315, 93, 1814, 22850, 93, 1814, 61, 6950, 65, 4868, 225, 397, 315, 93, 91, 22850, 93, 91, 61, 59, 65, 4868, 225, 397, 315, 14039, 22850, 14039, 24924, 65, 4868, 225, 397, 315, 1600, 80, 22850, 1600, 80, 8318, 48, 65, 4868, 225, 397, 315, 80, 1055, 70, 22850, 80, 1055, 70, 3045, 5887, 65, 4868, 225, 397, 315, 93, 91, 6033, 22850, 93, 91, 6033, 61, 59, 20463, 65, 4868, 225, 397, 315, 3083, 22850, 3083, 14618, 65, 4868, 225, 368, 12651, 55, 225, 368, 670, 539, 332, 3695, 353, 6246, 42, 578, 6246, 225, 368, 6155, 1846, 848, 1240, 16, 2724, 434, 16335, 8463, 225, 368, 6246, 16, 1496, 486, 23076, 578, 11083, 225, 368, 490, 42, 578, 20806, 16, 1496, 486, 18295, 225, 368, 4011, 16, 1496, 486, 6512, 578, 478, 49, 225, 368, 2457, 24151, 16, 732, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 63, 6362, 65, 15015, 1435, 288, 3639, 327, 394, 1033, 63, 6362, 65, 288, 5411, 288, 315, 2175, 3113, 1408, 225, 368, 22965, 55, 225, 397, 315, 2937, 649, 33, 7438, 89, 21, 16874, 6943, 89, 2499, 37, 27, 65, 4868, 225, 397, 315, 6385, 33, 7438, 89, 2499, 37, 28, 6943, 89, 2499, 42, 29, 65, 4868, 368, 3096, 300, 15033, 89, 225, 397, 315, 90, 19634, 22850, 8906, 77, 1395, 91, 93, 16985, 4294, 57, 59, 61, 64, 89, 21, 16874, 6943, 89, 2499, 37, 27, 65, 4868, 225, 397, 315, 20513, 22850, 20513, 61, 41, 65, 4868, 225, 397, 315, 93, 1814, 22850, 93, 1814, 61, 6950, 65, 4868, 225, 397, 315, 93, 2 ]
public void startElement( String ns, String localName, String name, Attributes atts) throws org.xml.sax.SAXException { Element elem; // Note that the namespace-aware call must be used to correctly // construct a Level 2 DOM, even for non-namespaced nodes. if ((null == ns) || (ns.length() == 0)) elem = m_doc.createElementNS(null,name); else elem = m_doc.createElementNS(ns, name); append(elem); try { int nAtts = atts.getLength(); if (0 != nAtts) { for (int i = 0; i < nAtts; i++) { //System.out.println("type " + atts.getType(i) + " name " + atts.getLocalName(i) ); // First handle a possible ID attribute if (atts.getType(i).equalsIgnoreCase("ID")) setIDAttribute(atts.getValue(i), elem); String attrNS = atts.getURI(i); if("".equals(attrNS)) attrNS = null; // DOM represents no-namespace as null // System.out.println("attrNS: "+attrNS+", localName: "+atts.getQName(i) // +", qname: "+atts.getQName(i)+", value: "+atts.getValue(i)); // Crimson won't let us set an xmlns: attribute on the DOM. String attrQName = atts.getQName(i); // In SAX, xmlns: attributes have an empty namespace, while in DOM they should have the xmlns namespace if (attrQName.startsWith("xmlns:")) attrNS = "http://www.w3.org/2000/xmlns/"; // ALWAYS use the DOM Level 2 call! elem.setAttributeNS(attrNS,attrQName, atts.getValue(i)); } } // append(elem); m_elemStack.push(elem); m_currentNode = elem; // append(elem); } catch(java.lang.Exception de) { // de.printStackTrace(); throw new org.xml.sax.SAXException(de); } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2e0b00b8a6934230ad868c2d870cc815a6d623b7/DOMBuilder.java/buggy/src/org/apache/xml/utils/DOMBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 13591, 12, 1850, 514, 3153, 16, 514, 11927, 16, 514, 508, 16, 9055, 15687, 13, 5411, 1216, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 225, 288, 565, 3010, 3659, 31, 202, 759, 3609, 716, 326, 1981, 17, 30799, 745, 1297, 506, 1399, 358, 8783, 202, 759, 4872, 279, 4557, 576, 4703, 16, 5456, 364, 1661, 17, 16904, 2199, 18, 565, 309, 14015, 2011, 422, 3153, 13, 747, 261, 2387, 18, 2469, 1435, 422, 374, 3719, 1377, 3659, 273, 312, 67, 2434, 18, 2640, 1046, 3156, 12, 2011, 16, 529, 1769, 565, 469, 1377, 3659, 273, 312, 67, 2434, 18, 2640, 1046, 3156, 12, 2387, 16, 508, 1769, 565, 714, 12, 10037, 1769, 565, 775, 565, 288, 1377, 509, 290, 3075, 87, 273, 15687, 18, 588, 1782, 5621, 3639, 309, 261, 20, 480, 290, 3075, 87, 13, 1377, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 3075, 87, 31, 277, 27245, 3639, 288, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 723, 315, 397, 15687, 18, 588, 559, 12, 77, 13, 397, 315, 508, 315, 397, 15687, 18, 588, 29583, 12, 77, 13, 11272, 1850, 368, 5783, 1640, 279, 3323, 1599, 1566, 1850, 309, 261, 270, 3428, 18, 588, 559, 12, 77, 2934, 14963, 5556, 2932, 734, 6, 3719, 5411, 444, 734, 1499, 12, 270, 3428, 18, 24805, 12, 77, 3631, 3659, 1769, 5411, 514, 1604, 3156, 273, 15687, 18, 588, 3098, 12, 77, 1769, 10792, 309, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 13591, 12, 1850, 514, 3153, 16, 514, 11927, 16, 514, 508, 16, 9055, 15687, 13, 5411, 1216, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 225, 288, 565, 3010, 3659, 31, 202, 759, 3609, 716, 326, 1981, 17, 30799, 745, 1297, 506, 1399, 358, 8783, 202, 759, 4872, 279, 4557, 576, 4703, 16, 5456, 364, 1661, 17, 16904, 2199, 18, 565, 309, 14015, 2011, 422, 3153, 13, 747, 261, 2387, 18, 2469, 1435, 422, 374, 3719, 1377, 3659, 273, 312, 67, 2434, 18, 2640, 1046, 3156, 12, 2011, 16, 529, 1769, 565, 469, 1377, 3659, 273, 312, 67, 2434, 18, 2640, 1046, 3156, 12, 2387, 16, 508, 1769, 565, 714, 12, 10037, 1769, 565, 2 ]
return this;
return runtime.getNil();
public RubyString swapcase_bang() { char[] chars = getValue().toCharArray(); StringBuffer sb = new StringBuffer(chars.length); for (int i = 0; i < chars.length; i++) { if (!Character.isLetter(chars[i])) { sb.append(chars[i]); } else if (Character.isLowerCase(chars[i])) { sb.append(Character.toUpperCase(chars[i])); } else { sb.append(Character.toLowerCase(chars[i])); } } setValue(getValue().toLowerCase()); return this; }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/4e8afef0dba3b66a390c9ba70b997174b975fc0e/RubyString.java/clean/src/org/jruby/RubyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 780, 7720, 3593, 67, 70, 539, 1435, 288, 202, 202, 3001, 8526, 5230, 273, 2366, 7675, 869, 15936, 5621, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 7549, 18, 2469, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5230, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 16051, 7069, 18, 291, 13938, 12, 7549, 63, 77, 22643, 288, 9506, 202, 18366, 18, 6923, 12, 7549, 63, 77, 19226, 1082, 202, 97, 469, 309, 261, 7069, 18, 291, 5630, 12, 7549, 63, 77, 22643, 288, 9506, 202, 18366, 18, 6923, 12, 7069, 18, 869, 8915, 12, 7549, 63, 77, 5717, 1769, 1082, 202, 97, 469, 288, 9506, 202, 18366, 18, 6923, 12, 7069, 18, 869, 5630, 12, 7549, 63, 77, 5717, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 542, 620, 12, 24805, 7675, 869, 5630, 10663, 202, 202, 2463, 333, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 780, 7720, 3593, 67, 70, 539, 1435, 288, 202, 202, 3001, 8526, 5230, 273, 2366, 7675, 869, 15936, 5621, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 7549, 18, 2469, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 5230, 18, 2469, 31, 277, 27245, 288, 1082, 202, 430, 16051, 7069, 18, 291, 13938, 12, 7549, 63, 77, 22643, 288, 9506, 202, 18366, 18, 6923, 12, 7549, 63, 77, 19226, 1082, 202, 97, 469, 309, 261, 7069, 18, 291, 5630, 12, 7549, 63, 77, 22643, 288, 9506, 202, 18366, 18, 6923, 12, 7069, 18, 869, 8915, 12, 7549, 63, 77, 5717, 1769, 1082, 202, 97, 469, 288, 9506, 202, 18366, 18, 2 ]
String newHeader = new String (decryptedHeader);
String newHeader = new String ((byte[])decryptedHeader.getAttribute("foo"));
public void testHeaderEncryption() { // Create a test header String header = "Source:" + source + " - Target:" + destination; byte[] rawData = header.getBytes(); byte[] encryptedHeader = null; byte[] decryptedHeader = null; // Encrypt header try { encryptedHeader = mps.protectHeader(rawData, source, destination); } catch (Exception e) { e.printStackTrace(); Assert.assertTrue("Exception while trying to encrypt header:" + e.toString(), false); } Assert.assertNotNull("Encrypted Header is null", encryptedHeader); // Decrypt header try { decryptedHeader = mps.unprotectHeader(encryptedHeader, source, destination); } catch (Exception e) { e.printStackTrace(); Assert.assertTrue("Exception while trying to decrypt header:" + e.toString(), false); } String newHeader = new String (decryptedHeader); Assert.assertNotNull("Deccrypted Header is null", decryptedHeader); // Original header and (encrypted then decrypted) header should be equal. Assert.assertEquals(header, newHeader); // Original header and encrypted header should be different // (but of course that does not guarantee that encryption is done properly) boolean isDifferent = !header.equals(new String(encryptedHeader)); Assert.assertTrue(isDifferent); System.out.println("Header before encryption: " + header); //System.out.println("Header after encryption: " + new String(encryptedHeader)); System.out.println("Header after encryption/decryption: " + newHeader); }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/c8aa38ea4b630713d3c26461b5e9a5c945062c28/MessageProtectionServiceTest.java/buggy/securityservices/regress/test/org/cougaar/core/security/crypto/MessageProtectionServiceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1864, 7894, 1435, 288, 565, 368, 1788, 279, 1842, 1446, 565, 514, 1446, 273, 315, 1830, 2773, 397, 1084, 397, 315, 300, 5916, 2773, 397, 2929, 31, 565, 1160, 8526, 16503, 273, 1446, 18, 588, 2160, 5621, 565, 1160, 8526, 6901, 1864, 273, 446, 31, 565, 1160, 8526, 13794, 1864, 273, 446, 31, 565, 368, 19612, 1446, 565, 775, 288, 1377, 6901, 1864, 273, 30167, 18, 11815, 386, 1864, 12, 1899, 751, 16, 25083, 225, 1084, 16, 25083, 225, 2929, 1769, 565, 289, 565, 1044, 261, 503, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 5452, 18, 11231, 5510, 2932, 503, 1323, 8374, 358, 7347, 1446, 2773, 1082, 202, 15, 425, 18, 10492, 9334, 629, 1769, 565, 289, 565, 5452, 18, 11231, 5962, 2932, 14678, 4304, 353, 446, 3113, 6901, 1864, 1769, 4202, 368, 22411, 1446, 565, 775, 288, 1377, 13794, 1864, 273, 30167, 18, 318, 11815, 386, 1864, 12, 18702, 1864, 16, 25083, 565, 1084, 16, 25083, 565, 2929, 1769, 565, 289, 565, 1044, 261, 503, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 5452, 18, 11231, 5510, 2932, 503, 1323, 8374, 358, 8420, 1446, 2773, 1082, 202, 15, 425, 18, 10492, 9334, 629, 1769, 565, 289, 565, 514, 394, 1864, 273, 394, 514, 14015, 7229, 63, 5717, 4924, 4567, 1864, 18, 588, 1499, 2932, 11351, 7923, 1769, 565, 5452, 18, 11231, 5962, 2932, 1799, 71, 4567, 4304, 353, 446, 3113, 13794, 1864, 1769, 565, 368, 19225, 1446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1864, 7894, 1435, 288, 565, 368, 1788, 279, 1842, 1446, 565, 514, 1446, 273, 315, 1830, 2773, 397, 1084, 397, 315, 300, 5916, 2773, 397, 2929, 31, 565, 1160, 8526, 16503, 273, 1446, 18, 588, 2160, 5621, 565, 1160, 8526, 6901, 1864, 273, 446, 31, 565, 1160, 8526, 13794, 1864, 273, 446, 31, 565, 368, 19612, 1446, 565, 775, 288, 1377, 6901, 1864, 273, 30167, 18, 11815, 386, 1864, 12, 1899, 751, 16, 25083, 225, 1084, 16, 25083, 225, 2929, 1769, 565, 289, 565, 1044, 261, 503, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 5452, 18, 11231, 5510, 2932, 503, 1323, 8374, 358, 7347, 1446, 2773, 1082, 202, 15, 425, 18, 10492, 2 ]
super(provider, Messages.getString("openAction.title"));
super(provider, MarkerMessages.openAction_title);
public ActionOpenMarker(IWorkbenchPart part, ISelectionProvider provider) { super(provider, Messages.getString("openAction.title")); //$NON-NLS-1$ this.part = part; setImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor(IMAGE_PATH)); setDisabledImageDescriptor(IDEWorkbenchPlugin.getIDEImageDescriptor(DISABLED_IMAGE_PATH)); setEnabled(false); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9fd38ff5015f18d343d054773283a2bca6122227/ActionOpenMarker.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionOpenMarker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 3678, 7078, 12, 45, 2421, 22144, 1988, 1087, 16, 467, 6233, 2249, 2893, 13, 288, 3639, 2240, 12, 6778, 16, 14742, 5058, 18, 3190, 1803, 67, 2649, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 333, 18, 2680, 273, 1087, 31, 3639, 18893, 3187, 12, 10385, 2421, 22144, 3773, 18, 588, 10385, 2040, 3187, 12, 13603, 67, 4211, 10019, 3639, 444, 8853, 2040, 3187, 12, 10385, 2421, 22144, 3773, 18, 588, 10385, 2040, 3187, 12, 24493, 67, 13603, 67, 4211, 10019, 3639, 12888, 12, 5743, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4382, 3678, 7078, 12, 45, 2421, 22144, 1988, 1087, 16, 467, 6233, 2249, 2893, 13, 288, 3639, 2240, 12, 6778, 16, 14742, 5058, 18, 3190, 1803, 67, 2649, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 333, 18, 2680, 273, 1087, 31, 3639, 18893, 3187, 12, 10385, 2421, 22144, 3773, 18, 588, 10385, 2040, 3187, 12, 13603, 67, 4211, 10019, 3639, 444, 8853, 2040, 3187, 12, 10385, 2421, 22144, 3773, 18, 588, 10385, 2040, 3187, 12, 24493, 67, 13603, 67, 4211, 10019, 3639, 12888, 12, 5743, 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 ]
for(int i = 0; i < n; i++)
for (int i = 0; i < n; i++)
public void recompose() throws SAXException { recomposeImports(); recomposeOutput(); int n = getGlobalImportCount(); for(int i = 0; i < n; i++) { StylesheetComposed sheet = getGlobalImport(i); if(sheet != this) // already done { sheet.recomposeImports(); sheet.recomposeIncludes(sheet); sheet.recomposeAttributeSets(); sheet.recomposeDecimalFormats(); sheet.recomposeKeys(); sheet.recomposeNamespaceAliases(); sheet.recomposeParams(); sheet.recomposeTemplates(); sheet.recomposeVariables(); sheet.recomposeWhiteSpaceInfo(); } } recomposeIncludes(this); recomposeAttributeSets(); recomposeDecimalFormats(); recomposeKeys(); recomposeNamespaceAliases(); recomposeParams(); recomposeTemplates(); recomposeVariables(); recomposeWhiteSpaceInfo(); composeTemplates(this); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/77ad973f1d6ad8f28fd358f2ba4d4c63da65d953/StylesheetRoot.java/buggy/src/org/apache/xalan/templates/StylesheetRoot.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 283, 23658, 1435, 565, 1216, 14366, 225, 288, 565, 283, 23658, 13347, 5621, 565, 283, 23658, 1447, 5621, 3639, 509, 290, 273, 20591, 5010, 1380, 5621, 377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 277, 27245, 565, 288, 1377, 29483, 2963, 799, 7423, 6202, 273, 20591, 5010, 12, 77, 1769, 1377, 309, 12, 8118, 480, 333, 13, 368, 1818, 2731, 1377, 288, 1850, 6202, 18, 266, 23658, 13347, 5621, 3639, 6202, 18, 266, 23658, 16815, 12, 8118, 1769, 3639, 6202, 18, 266, 23658, 1499, 2785, 5621, 3639, 6202, 18, 266, 23658, 5749, 8976, 5621, 3639, 6202, 18, 266, 23658, 2396, 5621, 3639, 6202, 18, 266, 23658, 3402, 9667, 5621, 3639, 6202, 18, 266, 23658, 1370, 5621, 3639, 6202, 18, 266, 23658, 8218, 5621, 3639, 6202, 18, 266, 23658, 6158, 5621, 3639, 6202, 18, 266, 23658, 23108, 966, 5621, 1377, 289, 565, 289, 1377, 283, 23658, 16815, 12, 2211, 1769, 565, 283, 23658, 1499, 2785, 5621, 565, 283, 23658, 5749, 8976, 5621, 565, 283, 23658, 2396, 5621, 565, 283, 23658, 3402, 9667, 5621, 565, 283, 23658, 1370, 5621, 565, 283, 23658, 8218, 5621, 565, 283, 23658, 6158, 5621, 565, 283, 23658, 23108, 966, 5621, 3639, 11458, 8218, 12, 2211, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 283, 23658, 1435, 565, 1216, 14366, 225, 288, 565, 283, 23658, 13347, 5621, 565, 283, 23658, 1447, 5621, 3639, 509, 290, 273, 20591, 5010, 1380, 5621, 377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 277, 27245, 565, 288, 1377, 29483, 2963, 799, 7423, 6202, 273, 20591, 5010, 12, 77, 1769, 1377, 309, 12, 8118, 480, 333, 13, 368, 1818, 2731, 1377, 288, 1850, 6202, 18, 266, 23658, 13347, 5621, 3639, 6202, 18, 266, 23658, 16815, 12, 8118, 1769, 3639, 6202, 18, 266, 23658, 1499, 2785, 5621, 3639, 6202, 18, 266, 23658, 5749, 8976, 5621, 3639, 6202, 18, 266, 23658, 2396, 5621, 3639, 6202, 18, 266, 23658, 3402, 9667, 5621, 3639, 6202, 18, 2 ]
if (jj_2_55(2)) {
if (jj_2_56(2)) {
final public void arrayDimsAndInitsLookahead() throws ParseException { if (jj_2_57(2)) { label_70: while (true) { jj_consume_token(LBRACKET); expressionLookahead(); jj_consume_token(RBRACKET); if (jj_2_55(2)) { ; } else { break label_70; } } label_71: while (true) { if (jj_2_56(2)) { ; } else { break label_71; } jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); } } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: label_72: while (true) { jj_consume_token(LBRACKET); jj_consume_token(RBRACKET); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACKET: ; break; default: jj_la1[197] = jj_gen; break label_72; } } arrayInitializerLookahead(); break; default: jj_la1[198] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 526, 25006, 1876, 382, 1282, 9794, 11617, 1435, 1216, 10616, 288, 565, 309, 261, 78, 78, 67, 22, 67, 10321, 12, 22, 3719, 288, 1377, 1433, 67, 7301, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 3639, 2652, 9794, 11617, 5621, 3639, 10684, 67, 21224, 67, 2316, 12, 54, 21217, 1769, 3639, 309, 261, 78, 78, 67, 22, 67, 4313, 12, 22, 3719, 288, 1850, 274, 3639, 289, 469, 288, 1850, 898, 1433, 67, 7301, 31, 3639, 289, 1377, 289, 1377, 1433, 67, 11212, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 309, 261, 78, 78, 67, 22, 67, 4313, 12, 22, 3719, 288, 1850, 274, 3639, 289, 469, 288, 1850, 898, 1433, 67, 11212, 31, 3639, 289, 3639, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 3639, 10684, 67, 21224, 67, 2316, 12, 54, 21217, 1769, 1377, 289, 565, 289, 469, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 511, 21217, 30, 3639, 1433, 67, 9060, 30, 3639, 1323, 261, 3767, 13, 288, 1850, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 1850, 10684, 67, 21224, 67, 2316, 12, 54, 21217, 1769, 1850, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1850, 648, 511, 21217, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 526, 25006, 1876, 382, 1282, 9794, 11617, 1435, 1216, 10616, 288, 565, 309, 261, 78, 78, 67, 22, 67, 10321, 12, 22, 3719, 288, 1377, 1433, 67, 7301, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 3639, 2652, 9794, 11617, 5621, 3639, 10684, 67, 21224, 67, 2316, 12, 54, 21217, 1769, 3639, 309, 261, 78, 78, 67, 22, 67, 4313, 12, 22, 3719, 288, 1850, 274, 3639, 289, 469, 288, 1850, 898, 1433, 67, 7301, 31, 3639, 289, 1377, 289, 1377, 1433, 67, 11212, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 309, 261, 78, 78, 67, 22, 67, 4313, 12, 22, 3719, 288, 1850, 274, 2 ]
_actionJoinPseudoState = new ActionCreatePseudostate( ((Class)ModelFacade.JOIN_PSEUDOSTATEKIND).newInstance(), "Join"); } catch (Exception ex) {}
_actionJoinPseudoState = new ActionCreatePseudostate(ModelFacade.JOIN_PSEUDOSTATEKIND, "Join");
public UMLActivityDiagram() { try { setName(getNewDiagramName()); } catch (PropertyVetoException pve) {} try { // start state, end state, forks, joins, etc. _actionStartPseudoState = new ActionCreatePseudostate( ((Class)ModelFacade.INITIAL_PSEUDOSTATEKIND).newInstance(), "Initial"); _actionFinalPseudoState = new CmdCreateNode(ModelFacade.FINALSTATE, "FinalState"); _actionBranchPseudoState = new ActionCreatePseudostate( ((Class)ModelFacade.BRANCH_PSEUDOSTATEKIND).newInstance(), "Branch"); _actionForkPseudoState = new ActionCreatePseudostate( ((Class)ModelFacade.FORK_PSEUDOSTATEKIND).newInstance(), "Fork"); _actionJoinPseudoState = new ActionCreatePseudostate( ((Class)ModelFacade.JOIN_PSEUDOSTATEKIND).newInstance(), "Join"); } catch (Exception ex) {} }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/6ddf65488265bb0b7790ac9daf4b3e5dcdde1ba6/UMLActivityDiagram.java/clean/src_new/org/argouml/uml/diagram/activity/ui/UMLActivityDiagram.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 1495, 6193, 14058, 1940, 1435, 288, 3639, 775, 288, 5411, 6788, 12, 588, 1908, 14058, 1940, 461, 10663, 3639, 289, 1044, 261, 1396, 58, 11453, 503, 293, 537, 13, 2618, 3639, 775, 288, 5411, 368, 787, 919, 16, 679, 919, 16, 364, 7904, 16, 13471, 16, 5527, 18, 5411, 389, 1128, 1685, 26716, 1119, 273, 7734, 394, 4382, 1684, 52, 23715, 669, 340, 12, 10792, 14015, 797, 13, 1488, 12467, 18, 28497, 67, 52, 1090, 57, 3191, 7998, 47, 2356, 2934, 2704, 1442, 9334, 10792, 315, 4435, 8863, 5411, 389, 1128, 7951, 26716, 1119, 273, 7734, 394, 13328, 1684, 907, 12, 1488, 12467, 18, 7263, 1013, 7998, 16, 315, 7951, 1119, 8863, 5411, 389, 1128, 7108, 26716, 1119, 273, 7734, 394, 4382, 1684, 52, 23715, 669, 340, 12, 10792, 14015, 797, 13, 1488, 12467, 18, 7192, 20360, 67, 52, 1090, 57, 3191, 7998, 47, 2356, 2934, 2704, 1442, 9334, 10792, 315, 7108, 8863, 5411, 389, 1128, 22662, 26716, 1119, 273, 7734, 394, 4382, 1684, 52, 23715, 669, 340, 12, 10792, 14015, 797, 13, 1488, 12467, 18, 7473, 47, 67, 52, 1090, 57, 3191, 7998, 47, 2356, 2934, 2704, 1442, 9334, 10792, 315, 22662, 8863, 5411, 389, 1128, 4572, 26716, 1119, 273, 7734, 394, 4382, 1684, 52, 23715, 669, 340, 12, 10792, 14015, 797, 13, 1488, 12467, 18, 18800, 67, 52, 1090, 57, 3191, 7998, 47, 2356, 2934, 2704, 1442, 9334, 10792, 315, 4572, 8863, 3639, 289, 1044, 261, 503, 431, 13, 2618, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 1495, 6193, 14058, 1940, 1435, 288, 3639, 775, 288, 5411, 6788, 12, 588, 1908, 14058, 1940, 461, 10663, 3639, 289, 1044, 261, 1396, 58, 11453, 503, 293, 537, 13, 2618, 3639, 775, 288, 5411, 368, 787, 919, 16, 679, 919, 16, 364, 7904, 16, 13471, 16, 5527, 18, 5411, 389, 1128, 1685, 26716, 1119, 273, 7734, 394, 4382, 1684, 52, 23715, 669, 340, 12, 10792, 14015, 797, 13, 1488, 12467, 18, 28497, 67, 52, 1090, 57, 3191, 7998, 47, 2356, 2934, 2704, 1442, 9334, 10792, 315, 4435, 8863, 5411, 389, 1128, 7951, 26716, 1119, 273, 7734, 394, 13328, 1684, 907, 12, 1488, 12467, 18, 7263, 1013, 7998, 16, 315, 7951, 1119, 8863, 5411, 389, 1128, 7108, 2 ]
if (!configuration.isDebugMode())
if (!creatorManager.isDebug())
protected void doIndex(HttpServletRequest req, HttpServletResponse resp) throws IOException { if (!configuration.isDebugMode()) { Log.warn("Failed attempt to access index page outside of debug mode. Set the debug init-parameter to true to enable."); //$NON-NLS-1$ resp.sendError(HttpServletResponse.SC_FORBIDDEN); } resp.setContentType(MIME_HTML); PrintWriter out = resp.getWriter(); out.println("<html>"); //$NON-NLS-1$ out.println("<head><title>DWR Test Index</title></head>"); //$NON-NLS-1$ out.println("<body>"); //$NON-NLS-1$ out.println("<h2>Classes known to DWR:</h2>"); //$NON-NLS-1$ out.println("<ul>"); //$NON-NLS-1$ for (Iterator it = creatorManager.getCreatorNames().iterator(); it.hasNext();) { String name = (String) it.next(); Creator creator = creatorManager.getCreator(name); out.println("<li><a href='" + req.getContextPath() + req.getServletPath() + PATH_TEST + name + "'>" + name + "</a> (" + creator.getType().getName() + ")</li>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ } out.println("</ul>"); //$NON-NLS-1$ out.println("<h2>Other Links</h2>"); //$NON-NLS-1$ out.println("<ul>"); //$NON-NLS-1$ out.println("<li>Up to <a href='" + req.getContextPath() + "/'>top level of web app</a>.</li>"); //$NON-NLS-1$ //$NON-NLS-2$ out.println("</ul>"); //$NON-NLS-1$ out.println("</body></html>"); //$NON-NLS-1$ out.flush(); }
45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/225f234c47ef4d1706dfcc3422daf5dfc3fcc47a/DWRServlet.java/buggy/java/uk/ltd/getahead/dwr/DWRServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 1016, 12, 2940, 18572, 1111, 16, 12446, 1718, 13, 1216, 1860, 565, 288, 3639, 309, 16051, 20394, 1318, 18, 291, 2829, 10756, 3639, 288, 5411, 1827, 18, 8935, 2932, 2925, 4395, 358, 2006, 770, 1363, 8220, 434, 1198, 1965, 18, 1000, 326, 1198, 1208, 17, 6775, 358, 638, 358, 4237, 1199, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 1718, 18, 4661, 668, 12, 2940, 29910, 18, 2312, 67, 7473, 30198, 1769, 3639, 289, 3639, 1718, 18, 542, 8046, 12, 18178, 67, 4870, 1769, 3639, 14071, 596, 273, 1718, 18, 588, 2289, 5621, 3639, 596, 18, 8222, 2932, 32, 2620, 2984, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 596, 18, 8222, 2932, 32, 1978, 4438, 2649, 34, 40, 7181, 7766, 3340, 1757, 2649, 4695, 1978, 2984, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 596, 18, 8222, 2932, 32, 3432, 2984, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 596, 18, 8222, 2932, 32, 76, 22, 34, 4818, 4846, 358, 463, 7181, 19814, 76, 22, 2984, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 596, 18, 8222, 2932, 32, 332, 2984, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 364, 261, 3198, 518, 273, 11784, 1318, 18, 588, 10636, 1557, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 3639, 288, 5411, 514, 508, 273, 261, 780, 13, 518, 18, 4285, 5621, 5411, 29525, 11784, 273, 11784, 1318, 18, 588, 10636, 12, 529, 1769, 5411, 596, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 1016, 12, 2940, 18572, 1111, 16, 12446, 1718, 13, 1216, 1860, 565, 288, 3639, 309, 16051, 20394, 1318, 18, 291, 2829, 10756, 3639, 288, 5411, 1827, 18, 8935, 2932, 2925, 4395, 358, 2006, 770, 1363, 8220, 434, 1198, 1965, 18, 1000, 326, 1198, 1208, 17, 6775, 358, 638, 358, 4237, 1199, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 1718, 18, 4661, 668, 12, 2940, 29910, 18, 2312, 67, 7473, 30198, 1769, 3639, 289, 3639, 1718, 18, 542, 8046, 12, 18178, 67, 4870, 1769, 3639, 14071, 596, 273, 1718, 18, 588, 2289, 5621, 3639, 596, 18, 8222, 2932, 32, 2620, 2984, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 596, 18, 8222, 2932, 2 ]
tuple[8] = "0".getBytes();
tuple[8] = encoding.encode("0");
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, getMaxNameLength()); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, getMaxNameLength()); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, getMaxNameLength()); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, getMaxNameLength()); f[4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "TYPE_NAME", iVarcharOid, getMaxNameLength()); f[6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, getMaxNameLength()); f[8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, getMaxNameLength()); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, getMaxNameLength()); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, getMaxNameLength()); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid, 4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, getMaxNameLength()); String sql; if (connection.haveMinimumServerVersion("7.3")) { sql = "SELECT n.nspname,c.relname,a.attname,a.atttypid,a.attnotnull,a.atttypmod,a.attlen,a.attnum,def.adsrc,dsc.description "+ " FROM pg_catalog.pg_namespace n "+ " JOIN pg_catalog.pg_class c ON (c.relnamespace = n.oid) "+ " JOIN pg_catalog.pg_attribute a ON (a.attrelid=c.oid) "+ " LEFT JOIN pg_catalog.pg_attrdef def ON (a.attrelid=def.adrelid AND a.attnum = def.adnum) "+ " LEFT JOIN pg_catalog.pg_description dsc ON (c.oid=dsc.objoid AND a.attnum = dsc.objsubid) "+ " LEFT JOIN pg_catalog.pg_class dc ON (dc.oid=dsc.classoid AND dc.relname='pg_class') "+ " LEFT JOIN pg_catalog.pg_namespace dn ON (dc.relnamespace=dn.oid AND dn.nspname='pg_catalog') "+ " WHERE a.attnum > 0 AND NOT a.attisdropped "; if (schemaPattern != null && !"".equals(schemaPattern)) { sql += " AND n.nspname LIKE '"+escapeQuotes(schemaPattern)+"' "; } } else if (connection.haveMinimumServerVersion("7.2")) { sql = "SELECT NULL::text AS nspname,c.relname,a.attname,a.atttypid,a.attnotnull,a.atttypmod,a.attlen,a.attnum,def.adsrc,dsc.description "+ " FROM pg_class c "+ " JOIN pg_attribute a ON (a.attrelid=c.oid) "+ " LEFT JOIN pg_attrdef def ON (a.attrelid=def.adrelid AND a.attnum = def.adnum) "+ " LEFT JOIN pg_description dsc ON (c.oid=dsc.objoid AND a.attnum = dsc.objsubid) "+ " LEFT JOIN pg_class dc ON (dc.oid=dsc.classoid AND dc.relname='pg_class') "+ " WHERE a.attnum > 0 "; } else if (connection.haveMinimumServerVersion("7.1")) { sql = "SELECT NULL::text AS nspname,c.relname,a.attname,a.atttypid,a.attnotnull,a.atttypmod,a.attlen,a.attnum,def.adsrc,dsc.description "+ " FROM pg_class c "+ " JOIN pg_attribute a ON (a.attrelid=c.oid) "+ " LEFT JOIN pg_attrdef def ON (a.attrelid=def.adrelid AND a.attnum = def.adnum) "+ " LEFT JOIN pg_description dsc ON (a.oid=dsc.objoid) "+ " WHERE a.attnum > 0 "; } else { // if < 7.1 then don't get defaults or descriptions. sql = "SELECT NULL::text AS nspname,c.relname,a.attname,a.atttypid,a.attnotnull,a.atttypmod,a.attlen,a.attnum,NULL AS adsrc,NULL AS description "+ " FROM pg_class c, pg_attribute a "+ " WHERE a.attrelid=c.oid AND a.attnum > 0 "; } if (tableNamePattern != null && !"".equals(tableNamePattern)) { sql += " AND c.relname LIKE '"+escapeQuotes(tableNamePattern)+"' "; } if (columnNamePattern != null && !"".equals(columnNamePattern)) { sql += " AND a.attname LIKE '"+escapeQuotes(columnNamePattern)+"' "; } sql += " ORDER BY nspname,relname,attnum "; ResultSet rs = connection.createStatement().executeQuery(sql); while (rs.next()) { byte[][] tuple = new byte[18][]; int typeOid = rs.getInt("atttypid"); tuple[0] = null; // Catalog name, not supported tuple[1] = rs.getBytes("nspname"); // Schema tuple[2] = rs.getBytes("relname"); // Table name tuple[3] = rs.getBytes("attname"); // Column name tuple[4] = Integer.toString(connection.getSQLType(typeOid)).getBytes(); String pgType = connection.getPGType(typeOid); tuple[5] = pgType.getBytes(); // Type name // by default no decimal_digits // if the type is numeric or decimal we will // overwrite later. tuple[8] = "0".getBytes(); if (pgType.equals("bpchar") || pgType.equals("varchar")) { int atttypmod = rs.getInt("atttypmod"); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else if (pgType.equals("numeric") || pgType.equals("decimal")) { int attypmod = rs.getInt("atttypmod") - VARHDRSZ; tuple[6] = Integer.toString( ( attypmod >> 16 ) & 0xffff ).getBytes(); tuple[8] = Integer.toString(attypmod & 0xffff).getBytes(); tuple[9] = "10".getBytes(); } else if (pgType.equals("bit") || pgType.equals("varbit")) { tuple[6] = rs.getBytes("atttypmod"); tuple[9] = "2".getBytes(); } else { tuple[6] = rs.getBytes("attlen"); tuple[9] = "10".getBytes(); } tuple[7] = null; // Buffer length tuple[10] = Integer.toString(rs.getBoolean("attnotnull") ? java.sql.DatabaseMetaData.columnNoNulls : java.sql.DatabaseMetaData.columnNullable).getBytes(); // Nullable tuple[11] = rs.getBytes("description"); // Description (if any) tuple[12] = rs.getBytes("adsrc"); // Column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = rs.getBytes("attnum"); // ordinal position tuple[17] = (rs.getBoolean("attnotnull") ? "NO" : "YES").getBytes(); // Is nullable v.addElement(tuple); } rs.close(); return (ResultSet) ((BaseStatement)connection.createStatement()).createResultSet(f, v, "OK", 1, 0, false); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/f9d3ed65c43e04c595b097a59d4d1c4542d82794/AbstractJdbc1DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 202, 95, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 202, 202, 759, 1021, 652, 14215, 364, 326, 394, 10842, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 202, 202, 74, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 4574, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 202, 95, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 202, 202, 759, 1021, 652, 14215, 364, 326, 394, 10842, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 7288, 461, 1782, 10663, 2 ]
catch(InterruptedException ex) { notify(); throw ex; } }
public boolean attempt(long msecs) throws InterruptedException { if (Thread.interrupted()) throw new InterruptedException(); synchronized(this) { if (permits_ > 0) { --permits_; return true; } else if (msecs <= 0) return false; else { try { long startTime = System.currentTimeMillis(); long waitTime = msecs; for (;;) { wait(waitTime); if (permits_ > 0) { --permits_; return true; } else { waitTime = msecs - (System.currentTimeMillis() - startTime); if (waitTime <= 0) return false; } } } catch(InterruptedException ex) { notify(); throw ex; } } } }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/Semaphore.java/buggy/src/java/org/logicalcobwebs/concurrent/Semaphore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 4395, 12, 5748, 18689, 2143, 13, 1216, 7558, 288, 565, 309, 261, 3830, 18, 474, 5954, 10756, 604, 394, 7558, 5621, 565, 3852, 12, 2211, 13, 288, 1377, 309, 261, 12160, 1282, 67, 405, 374, 13, 288, 540, 1493, 12160, 1282, 67, 31, 3639, 327, 638, 31, 1377, 289, 1377, 469, 309, 261, 81, 21317, 1648, 374, 13, 6647, 327, 629, 31, 1377, 469, 288, 3639, 775, 288, 1850, 1525, 8657, 273, 2332, 18, 2972, 28512, 5621, 1850, 1525, 30452, 273, 18689, 2143, 31, 10792, 364, 261, 25708, 13, 288, 5411, 2529, 12, 7048, 950, 1769, 5411, 309, 261, 12160, 1282, 67, 405, 374, 13, 288, 2868, 1493, 12160, 1282, 67, 31, 2868, 327, 638, 31, 5411, 289, 5411, 469, 288, 9079, 30452, 273, 18689, 2143, 300, 261, 3163, 18, 2972, 28512, 1435, 300, 8657, 1769, 2868, 309, 261, 7048, 950, 1648, 374, 13, 1171, 327, 629, 31, 5411, 289, 1850, 289, 3639, 289, 3639, 1044, 12, 24485, 503, 431, 13, 288, 6647, 5066, 5621, 1850, 604, 431, 31, 3639, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 4395, 12, 5748, 18689, 2143, 13, 1216, 7558, 288, 565, 309, 261, 3830, 18, 474, 5954, 10756, 604, 394, 7558, 5621, 565, 3852, 12, 2211, 13, 288, 1377, 309, 261, 12160, 1282, 67, 405, 374, 13, 288, 540, 1493, 12160, 1282, 67, 31, 3639, 327, 638, 31, 1377, 289, 1377, 469, 309, 261, 81, 21317, 1648, 374, 13, 6647, 327, 629, 31, 1377, 469, 288, 3639, 775, 288, 1850, 1525, 8657, 273, 2332, 18, 2972, 28512, 5621, 1850, 1525, 30452, 273, 18689, 2143, 31, 10792, 364, 261, 25708, 13, 288, 5411, 2529, 12, 7048, 950, 1769, 5411, 309, 261, 12160, 1282, 67, 405, 374, 13, 288, 2868, 1493, 12160, 1282, 67, 31, 2868, 327, 638, 31, 2 ]
mirrors.meta_defineField(AGSymbol.alloc("Factory"), NATMirrorFactory._INSTANCE_);
mirrors.meta_defineField(AGSymbol.jAlloc("Factory"), NATMirrorFactory._INSTANCE_);
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField(AGSymbol.alloc("symbol"), symbol); lexicalRoot.meta_defineField(AGSymbol.alloc("true"), True); lexicalRoot.meta_defineField(AGSymbol.alloc("false"), False); lexicalRoot.meta_defineField(AGSymbol.alloc("closures"), closures); lexicalRoot.meta_defineField(AGSymbol.alloc("symIfTrue"), AGSymbol.alloc("ifTrue:")); ATObject mirrors = new NATObject(lexicalRoot); mirrors.meta_defineField(AGSymbol.alloc("Factory"), NATMirrorFactory._INSTANCE_); ATObject natives = new NATObject(lexicalRoot); natives.meta_defineField(AGSymbol.alloc("Context"), NATMirrorFactory._INSTANCE_); ATObject at = new NATObject(lexicalRoot); at.meta_defineField(AGSymbol.alloc("mirrors"), mirrors); at.meta_defineField(AGSymbol.alloc("natives"), natives); lexicalRoot.meta_defineField(AGSymbol.alloc("at"), at); lexicalRoot.meta_defineField(AGSymbol.alloc("root"), lexicalRoot); lexicalRoot.meta_defineField(AGSymbol.alloc("unittest:"), unittest_); lexicalRoot.meta_defineField(AGSymbol.alloc("unit"), OBJUnit._INSTANCE_); }
57139 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57139/48c9291154adf80addbe964a51750f5d02bb8019/ReflectiveAccessTest.java/buggy/test/edu/vub/at/objects/mirrors/ReflectiveAccessTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 4149, 1706, 2375, 273, 394, 31395, 921, 12, 24547, 14756, 1706, 2375, 6315, 13341, 67, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 4768, 6, 3631, 2216, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 6870, 6, 3631, 2321, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 12946, 2773, 3631, 3376, 67, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 7175, 6, 3631, 3273, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 3767, 6, 3631, 1053, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 5743, 6, 3631, 1083, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 7550, 8421, 6, 3631, 1219, 8421, 1769, 9506, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 8117, 2047, 5510, 6, 3631, 432, 43, 5335, 18, 9853, 2932, 430, 5510, 2773, 10019, 9506, 202, 789, 921, 312, 27026, 273, 394, 31395, 921, 12, 4149, 1706, 2375, 1769, 202, 202, 81, 27026, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 1733, 6, 3631, 31395, 13035, 1733, 6315, 13341, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 4149, 1706, 2375, 273, 394, 31395, 921, 12, 24547, 14756, 1706, 2375, 6315, 13341, 67, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 4768, 6, 3631, 2216, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 6870, 6, 3631, 2321, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 12946, 2773, 3631, 3376, 67, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 67, 11255, 974, 12, 1781, 5335, 18, 9853, 2932, 7175, 6, 3631, 3273, 1769, 202, 202, 4149, 1706, 2375, 18, 3901, 2 ]
public String generateClassifier(MClassifier cls) { /* * 2002-07-11 * Jaap Branderhorst * To prevent generation of not requested whitespace etc. the method is reorganized. * First the start of the classifier is generated. * Next the body (method). * Then the end of the classifier. * The last step is to concatenate everything. * Done this because if the body was empty there were still linefeeds. * Start old code: StringBuffer sb = generateClassifierStart(cls); if (sb == null) return ""; // not a class or interface String tv = null; // helper for tagged values // add attributes Collection strs = MMUtil.SINGLETON.getAttributes(cls); // // 2002-06-08 // Jaap Branderhorst // Bugfix: strs is never null. Should check for isEmpty instead // old code: // if (strs != null) // new code: // if (!strs.isEmpty()) { sb.append('\n'); if (_verboseDocs && cls instanceof MClass) { sb.append(INDENT).append("// Attributes\n"); } Iterator strEnum = strs.iterator(); while (strEnum.hasNext()) { MStructuralFeature sf = (MStructuralFeature) strEnum.next(); sb.append(generate(sf)); tv = generateTaggedValues(sf); if (tv != null && tv.length() > 0) { sb.append(INDENT).append(tv); } } } // add attributes implementing associations Collection ends = cls.getAssociationEnds(); if (ends != null) { sb.append('\n'); if (_verboseDocs && cls instanceof MClass) { sb.append(INDENT).append("// Associations\n"); } Iterator endEnum = ends.iterator(); while (endEnum.hasNext()) { MAssociationEnd ae = (MAssociationEnd) endEnum.next(); MAssociation a = ae.getAssociation(); sb.append(generateAssociationFrom(a, ae)); tv = generateTaggedValues(a); if (tv != null && tv.length() > 0) { sb.append(INDENT).append(tv); } } } // add operations // TODO: constructors Collection behs = MMUtil.SINGLETON.getOperations(cls); // // 2002-06-08 // Jaap Branderhorst // Bugfix: behs is never null. Should check for isEmpty instead // old code: // if (behs != null) // new code: // if (!behs.isEmpty()) { sb.append('\n'); if (_verboseDocs) { sb.append(INDENT).append("// Operations\n"); } Iterator behEnum = behs.iterator(); while (behEnum.hasNext()) { MBehavioralFeature bf = (MBehavioralFeature) behEnum.next(); sb.append(generate(bf)); tv = generateTaggedValues((MModelElement) bf); if ((cls instanceof MClass) && (bf instanceof MOperation) && (!((MOperation) bf).isAbstract())) { if (_lfBeforeCurly) sb.append('\n').append(INDENT); else sb.append(' '); sb.append('{'); if (tv.length() > 0) { sb.append('\n').append(INDENT).append(tv); } // there is no ReturnType in behavioral feature (nsuml) sb.append('\n').append(generateMethodBody((MOperation) bf)).append( INDENT).append( "}\n"); } else { sb.append(";\n"); if (tv.length() > 0) { sb.append(INDENT).append(tv).append('\n'); } } } } sb = appendClassifierEnd(sb, cls, false); return sb.toString(); start new code: */ StringBuffer returnValue = new StringBuffer(); StringBuffer start = generateClassifierStart(cls); if ((start != null) && (start.length() > 0)) { StringBuffer body = generateClassifierBody(cls); StringBuffer end = generateClassifierEnd(cls); returnValue.append(start); if ((body != null) && (body.length() > 0)) { returnValue.append(LINE_SEPARATOR); returnValue.append(body); if (_lfBeforeCurly) { returnValue.append(LINE_SEPARATOR); } } returnValue.append((end != null) ? end.toString() : ""); } return returnValue.toString(); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/1ce896ad0f797771279af0ca1a1533274d877b88/GeneratorJava.java/clean/src_new/org/argouml/language/java/generator/GeneratorJava.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2103, 13860, 12, 49, 13860, 2028, 13, 288, 3639, 1748, 540, 380, 4044, 22, 17, 8642, 17, 2499, 540, 380, 804, 69, 438, 605, 7884, 264, 76, 280, 334, 540, 380, 2974, 5309, 9377, 434, 486, 3764, 7983, 5527, 18, 326, 707, 353, 283, 22543, 1235, 18, 540, 380, 5783, 326, 787, 434, 326, 14622, 353, 4374, 18, 540, 380, 4804, 326, 1417, 261, 2039, 2934, 540, 380, 9697, 326, 679, 434, 326, 14622, 18, 540, 380, 1021, 1142, 2235, 353, 358, 11361, 7756, 18, 540, 380, 8677, 333, 2724, 309, 326, 1417, 1703, 1008, 1915, 4591, 4859, 980, 7848, 87, 18, 540, 380, 3603, 1592, 981, 30, 3639, 6674, 2393, 273, 2103, 13860, 1685, 12, 6429, 1769, 3639, 309, 261, 18366, 422, 446, 13, 540, 202, 2463, 1408, 31, 368, 486, 279, 667, 578, 1560, 7734, 514, 13521, 273, 446, 31, 368, 4222, 364, 12503, 924, 7734, 368, 527, 1677, 3639, 2200, 19954, 273, 18295, 1304, 18, 20184, 56, 673, 18, 588, 2498, 12, 6429, 1769, 3639, 368, 540, 368, 4044, 22, 17, 7677, 17, 6840, 540, 368, 804, 69, 438, 605, 7884, 264, 76, 280, 334, 540, 368, 16907, 904, 30, 19954, 353, 5903, 446, 18, 9363, 866, 364, 2709, 3560, 540, 368, 1592, 981, 30, 540, 368, 309, 261, 24432, 480, 446, 13, 540, 368, 394, 981, 30, 540, 368, 3639, 309, 16051, 24432, 18, 291, 1921, 10756, 3639, 288, 540, 202, 18366, 18, 6923, 2668, 64, 82, 8284, 540, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2103, 13860, 12, 49, 13860, 2028, 13, 288, 3639, 1748, 540, 380, 4044, 22, 17, 8642, 17, 2499, 540, 380, 804, 69, 438, 605, 7884, 264, 76, 280, 334, 540, 380, 2974, 5309, 9377, 434, 486, 3764, 7983, 5527, 18, 326, 707, 353, 283, 22543, 1235, 18, 540, 380, 5783, 326, 787, 434, 326, 14622, 353, 4374, 18, 540, 380, 4804, 326, 1417, 261, 2039, 2934, 540, 380, 9697, 326, 679, 434, 326, 14622, 18, 540, 380, 1021, 1142, 2235, 353, 358, 11361, 7756, 18, 540, 380, 8677, 333, 2724, 309, 326, 1417, 1703, 1008, 1915, 4591, 4859, 980, 7848, 87, 18, 540, 380, 3603, 1592, 981, 30, 3639, 6674, 2393, 273, 2103, 13860, 1685, 12, 2 ]
combo = new Combo(getComposite(), SWT.READ_ONLY | SWT.DROP_DOWN); cviewer = new ComboViewer(combo);
combo = new Combo(getComposite(), SWT.READ_ONLY | SWT.DROP_DOWN); cviewer = new ComboViewer(combo);
protected void setUp() throws Exception { super.setUp(); getComposite().setLayout(new FillLayout()); combo = new Combo(getComposite(), SWT.READ_ONLY | SWT.DROP_DOWN); cviewer = new ComboViewer(combo); catalog = SampleData.CATALOG_2005; // Lodging source }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/a469cb14d7815f1d5dea6c4a44ea9ea80e229bed/ComboScenarios.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/ComboScenarios.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 2240, 18, 542, 1211, 5621, 3639, 336, 9400, 7675, 542, 3744, 12, 2704, 14192, 3744, 10663, 3639, 16778, 273, 394, 1286, 1075, 12, 588, 9400, 9334, 348, 8588, 18, 6949, 67, 10857, 571, 348, 8588, 18, 18768, 67, 12711, 1769, 3639, 276, 25256, 273, 394, 1286, 1075, 18415, 12, 25053, 1769, 3639, 6222, 273, 11474, 751, 18, 14130, 18683, 67, 6976, 25, 31, 368, 511, 369, 1998, 1084, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 2240, 18, 542, 1211, 5621, 3639, 336, 9400, 7675, 542, 3744, 12, 2704, 14192, 3744, 10663, 3639, 16778, 273, 394, 1286, 1075, 12, 588, 9400, 9334, 348, 8588, 18, 6949, 67, 10857, 571, 348, 8588, 18, 18768, 67, 12711, 1769, 3639, 276, 25256, 273, 394, 1286, 1075, 18415, 12, 25053, 1769, 3639, 6222, 273, 11474, 751, 18, 14130, 18683, 67, 6976, 25, 31, 368, 511, 369, 1998, 1084, 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 ]