rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
/*if (classReference != null) { return DeprecationInspection.checkDeprecated(constructor, classReference); }*/
public static HighlightInfo checkConstructorCall(PsiClassType.ClassResolveResult typeResolveResult, PsiConstructorCall constructorCall, PsiType type, PsiJavaCodeReferenceElement classReference) { PsiExpressionList list = constructorCall.getArgumentList(); if (list == null) return null; PsiClass aClass = typeResolveResult.getElement(); if (aClass == null) return null; final PsiResolveHelper resolveHelper = constructorCall.getManager().getResolveHelper(); PsiClass accessObjectClass = null; if (constructorCall instanceof PsiNewExpression) { PsiExpression qualifier = ((PsiNewExpression)constructorCall).getQualifier(); if (qualifier != null) { accessObjectClass = (PsiClass)PsiUtil.getAccessObjectClass(qualifier).getElement(); } } if (classReference != null && !resolveHelper.isAccessible(aClass, constructorCall, accessObjectClass)) { String description = HighlightUtil.buildProblemWithAccessDescription(classReference, typeResolveResult); HighlightInfo info = HighlightInfo.createHighlightInfo(HighlightInfoType.ERROR, classReference.getReferenceNameElement(), description); HighlightUtil.registerAccessQuickFixAction(aClass, classReference, info, null); return info; } PsiMethod[] constructors = aClass.getConstructors(); if (constructors.length == 0) { if (list.getExpressions().length != 0) { String constructorName = aClass.getName(); String argTypes = HighlightUtil.buildArgTypesList(list); String description = JavaErrorMessages.message("wrong.constructor.arguments", constructorName+"()", argTypes); String tooltip = createMismatchedArgumentsHtmlTooltip(list, PsiParameter.EMPTY_ARRAY, constructorName, PsiSubstitutor.EMPTY, aClass); HighlightInfo info = HighlightInfo.createHighlightInfo(HighlightInfoType.ERROR, list, description, tooltip); QuickFixAction.registerQuickFixAction(info, constructorCall.getTextRange(), new CreateConstructorFromCallAction(constructorCall), null, null); info.navigationShift = +1; return info; } } else { JavaResolveResult[] results = resolveHelper.multiResolveConstructor((PsiClassType)type, list, list); MethodCandidateInfo result = null; if (results.length == 1) result = (MethodCandidateInfo)results[0]; PsiMethod constructor = result == null ? null : result.getElement(); if (constructor == null) { String name = aClass.getName(); name += HighlightUtil.buildArgTypesList(list); String description = JavaErrorMessages.message("cannot.resolve.constructor", name); HighlightInfo info = HighlightInfo.createHighlightInfo(HighlightInfoType.ERROR, list, description); QuickFixAction.registerQuickFixAction(info, constructorCall.getTextRange(), new CreateConstructorFromCallAction(constructorCall), null, null); if (classReference != null) { CastConstructorParametersFix.registerCastActions(classReference, constructorCall, info); } WrapExpressionFix.registerWrapAction(results, list.getExpressions(), info); info.navigationShift = +1; return info; } else { if (!result.isAccessible() || callingProtectedConstructorFromDerivedClass(constructor, constructorCall)) { String description = HighlightUtil.buildProblemWithAccessDescription(classReference, result); HighlightInfo info = HighlightInfo.createHighlightInfo(HighlightInfoType.ERROR, list, description); info.navigationShift = +1; if (classReference != null && result.isStaticsScopeCorrect()) { HighlightUtil.registerAccessQuickFixAction(constructor, classReference, info, result.getCurrentFileResolveScope()); } return info; } else if (!result.isApplicable()) { String constructorName = HighlightMessageUtil.getSymbolName(constructor, result.getSubstitutor()); String containerName = HighlightMessageUtil.getSymbolName(constructor.getParent(), result.getSubstitutor()); String argTypes = HighlightUtil.buildArgTypesList(list); String description = JavaErrorMessages.message("wrong.method.arguments", constructorName, containerName, argTypes); String toolTip = createMismatchedArgumentsHtmlTooltip(result, list); PsiElement infoElement = list.getTextLength() > 0 ? list : constructorCall; HighlightInfo info = HighlightInfo.createHighlightInfo(HighlightInfoType.ERROR, infoElement, description, toolTip); QuickFixAction.registerQuickFixAction(info, constructorCall.getTextRange(), new CreateConstructorFromCallAction(constructorCall), null, null); if (classReference != null) { CastConstructorParametersFix.registerCastActions(classReference, constructorCall, info); ChangeMethodSignatureFromUsageFix.registerIntentions(results, list, info, null); } info.navigationShift = +1; return info; } else { HighlightInfo highlightInfo = GenericsHighlightUtil.checkUncheckedCall(result, constructorCall); if (highlightInfo != null) return highlightInfo; if (constructorCall instanceof PsiNewExpression) { highlightInfo = GenericsHighlightUtil.checkGenericCallWithRawArguments(result, (PsiCallExpression)constructorCall); } if (highlightInfo != null) return highlightInfo; /*if (classReference != null) { return DeprecationInspection.checkDeprecated(constructor, classReference); }*/ } } } return null; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/649d9a65411ea451539361398ec9a18af83c404e/HighlightMethodUtil.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/analysis/HighlightMethodUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 31386, 966, 866, 6293, 1477, 12, 52, 7722, 18328, 18, 797, 8460, 1253, 618, 8460, 1253, 16, 4766, 10402, 453, 7722, 6293, 1477, 3885, 1477, 16, 4766, 10402, 453, 7722, 559, 618, 16, 4766, 10402, 453, 7722, 5852, 1085, 2404, 1046, 667, 2404, 13, 288, 565, 453, 7722, 2300, 682, 666, 273, 3885, 1477, 18, 588, 1379, 682, 5621, 565, 309, 261, 1098, 422, 446, 13, 327, 446, 31, 565, 453, 7722, 797, 20148, 273, 618, 8460, 1253, 18, 21336, 5621, 565, 309, 261, 69, 797, 422, 446, 13, 327, 446, 31, 565, 727, 453, 7722, 8460, 2276, 2245, 2276, 273, 3885, 1477, 18, 588, 1318, 7675, 588, 8460, 2276, 5621, 565, 453, 7722, 797, 2006, 921, 797, 273, 446, 31, 565, 309, 261, 12316, 1477, 1276, 453, 7722, 1908, 2300, 13, 288, 1377, 453, 7722, 2300, 12327, 273, 14015, 52, 7722, 1908, 2300, 13, 12316, 1477, 2934, 588, 16185, 5621, 1377, 309, 261, 28157, 480, 446, 13, 288, 3639, 2006, 921, 797, 273, 261, 52, 7722, 797, 13, 52, 7722, 1304, 18, 588, 1862, 921, 797, 12, 28157, 2934, 21336, 5621, 1377, 289, 565, 289, 565, 309, 261, 1106, 2404, 480, 446, 597, 401, 10828, 2276, 18, 291, 10451, 12, 69, 797, 16, 3885, 1477, 16, 2006, 921, 797, 3719, 288, 1377, 514, 2477, 273, 31386, 1304, 18, 3510, 13719, 1190, 1862, 3291, 12, 1106, 2404, 16, 618, 8460, 1253, 1769, 1377, 31386, 966, 1123, 273, 31386, 966, 18, 2640, 16205, 966, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 31386, 966, 866, 6293, 1477, 12, 52, 7722, 18328, 18, 797, 8460, 1253, 618, 8460, 1253, 16, 4766, 10402, 453, 7722, 6293, 1477, 3885, 1477, 16, 4766, 10402, 453, 7722, 559, 618, 16, 4766, 10402, 453, 7722, 5852, 1085, 2404, 1046, 667, 2404, 13, 288, 565, 453, 7722, 2300, 682, 666, 273, 3885, 1477, 18, 588, 1379, 682, 5621, 565, 309, 261, 1098, 422, 446, 13, 327, 446, 31, 565, 453, 7722, 797, 20148, 273, 618, 8460, 1253, 18, 21336, 5621, 565, 309, 261, 69, 797, 422, 446, 13, 327, 446, 31, 565, 727, 453, 7722, 8460, 2276, 2245, 2276, 273, 3885, 1477, 18, 588, 1318, 7675, 588, 8460, 2276, 5621, 565, 453, 7722, 797, 2006, 2 ]
return importationManager.getCurrentPackage();
return importationManager.getCurrentPackage();
public String getCurrentPackage() { return importationManager.getCurrentPackage(); }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/108e1021fab89bb260b33d4575fd7b4622fb8703/GlobalContext.java/buggy/src/koala/dynamicjava/interpreter/context/GlobalContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 5175, 2261, 1435, 288, 202, 2463, 1930, 367, 1318, 18, 588, 3935, 2261, 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,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 514, 5175, 2261, 1435, 288, 202, 2463, 1930, 367, 1318, 18, 588, 3935, 2261, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String argName = f.argNames[index];
String argName = f.getParamOrVarName(index);
private boolean sharedWithActivation(int index) { NativeFunction f = activation.function; int definedCount = f.argCount; if (index < definedCount) { // Check if argument is not hidden by later argument with the same // name as hidden arguments are not shared with activation if (index < definedCount - 1) { String argName = f.argNames[index]; for (int i = index + 1; i < definedCount; i++) { if (argName.equals(f.argNames[i])) { return false; } } } return true; } return false; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/993454366a57fd32ee051c61ff3a0658292d84f2/Arguments.java/buggy/js/rhino/src/org/mozilla/javascript/Arguments.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 5116, 1190, 14857, 12, 474, 770, 13, 565, 288, 3639, 16717, 2083, 284, 273, 10027, 18, 915, 31, 3639, 509, 2553, 1380, 273, 284, 18, 3175, 1380, 31, 3639, 309, 261, 1615, 411, 2553, 1380, 13, 288, 5411, 368, 2073, 309, 1237, 353, 486, 5949, 635, 5137, 1237, 598, 326, 1967, 5411, 368, 508, 487, 5949, 1775, 854, 486, 5116, 598, 10027, 5411, 309, 261, 1615, 411, 2553, 1380, 300, 404, 13, 288, 7734, 514, 29975, 273, 284, 18, 588, 786, 1162, 18129, 12, 1615, 1769, 7734, 364, 261, 474, 277, 273, 770, 397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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 5116, 1190, 14857, 12, 474, 770, 13, 565, 288, 3639, 16717, 2083, 284, 273, 10027, 18, 915, 31, 3639, 509, 2553, 1380, 273, 284, 18, 3175, 1380, 31, 3639, 309, 261, 1615, 411, 2553, 1380, 13, 288, 5411, 368, 2073, 309, 1237, 353, 486, 5949, 635, 5137, 1237, 598, 326, 1967, 5411, 368, 508, 487, 5949, 1775, 854, 486, 5116, 598, 10027, 5411, 309, 261, 1615, 411, 2553, 1380, 300, 404, 13, 288, 7734, 514, 29975, 273, 284, 18, 588, 786, 1162, 18129, 12, 1615, 1769, 7734, 364, 261, 474, 277, 273, 770, 397, 404, 31, 277, 411, 2553, 1380, 31, 277, 27245, 288, 10792, 309, 261, 3175, 461, 18, 14963, 12, 74, 18, 3175, 1557, 2 ]
String c1 = element1.getSummary(); String c2 = element2.getSummary(); return this.view.sortDirection * taskKeyComparator.compare(c1, c2);
String summary1 = element1.getSummary(); String summary2 = element2.getSummary(); if (element1 instanceof AbstractQueryHit) { AbstractRepositoryTask task1 = ((AbstractQueryHit)element1).getCorrespondingTask(); if (task1 != null && task1.getIdLabel() != null) { summary1 = task1.getIdLabel() + ": " + summary1; } } else if (element1 instanceof AbstractRepositoryTask) { AbstractRepositoryTask task1 = (AbstractRepositoryTask)element1; if (task1.getIdLabel() != null) { summary1 = task1.getIdLabel() + ": " + summary1; } } if (element2 instanceof AbstractRepositoryTask) { AbstractRepositoryTask task2 = (AbstractRepositoryTask)element2; if (task2.getIdLabel() != null) { summary2 = task2.getIdLabel() + ": " + summary2; } } else if (element2 instanceof AbstractQueryHit) { AbstractRepositoryTask task2 = ((AbstractQueryHit)element2).getCorrespondingTask(); if (task2 != null && task2.getIdLabel() != null) { summary2 = task2.getIdLabel() + ": " + summary2; } } return this.view.sortDirection * taskKeyComparator.compare(summary1, summary2);
private int compareElements(ITaskListElement element1, ITaskListElement element2) { if (column != null && column.equals(this.view.columnNames[1])) { return 0; } else if (column == this.view.columnNames[2]) { return this.view.sortDirection * element1.getPriority().compareTo(element2.getPriority()); } else if (column == this.view.columnNames[4]) { String c1 = element1.getSummary(); String c2 = element2.getSummary(); return this.view.sortDirection * taskKeyComparator.compare(c1, c2); } else { return 0; } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/aa0965a2f250d8c081524525bb267fb94c496d23/TaskListTableSorter.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListTableSorter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 3400, 3471, 12, 1285, 835, 682, 1046, 930, 21, 16, 467, 2174, 682, 1046, 930, 22, 13, 288, 202, 202, 430, 261, 2827, 480, 446, 597, 1057, 18, 14963, 12, 2211, 18, 1945, 18, 2827, 1557, 63, 21, 22643, 288, 1082, 202, 2463, 374, 31, 202, 202, 97, 469, 309, 261, 2827, 422, 333, 18, 1945, 18, 2827, 1557, 63, 22, 5717, 288, 1082, 202, 2463, 333, 18, 1945, 18, 3804, 8212, 380, 930, 21, 18, 588, 8183, 7675, 9877, 774, 12, 2956, 22, 18, 588, 8183, 10663, 202, 202, 97, 469, 309, 261, 2827, 422, 333, 18, 1945, 18, 2827, 1557, 63, 24, 5717, 288, 1082, 202, 780, 276, 21, 273, 930, 21, 18, 588, 4733, 5621, 1082, 202, 780, 276, 22, 273, 930, 22, 18, 588, 4733, 5621, 1082, 202, 2463, 333, 18, 1945, 18, 3804, 8212, 380, 1562, 653, 5559, 18, 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, 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, 509, 3400, 3471, 12, 1285, 835, 682, 1046, 930, 21, 16, 467, 2174, 682, 1046, 930, 22, 13, 288, 202, 202, 430, 261, 2827, 480, 446, 597, 1057, 18, 14963, 12, 2211, 18, 1945, 18, 2827, 1557, 63, 21, 22643, 288, 1082, 202, 2463, 374, 31, 202, 202, 97, 469, 309, 261, 2827, 422, 333, 18, 1945, 18, 2827, 1557, 63, 22, 5717, 288, 1082, 202, 2463, 333, 18, 1945, 18, 3804, 8212, 380, 930, 21, 18, 588, 8183, 7675, 9877, 774, 12, 2956, 22, 18, 588, 8183, 10663, 202, 202, 97, 469, 309, 261, 2827, 422, 333, 18, 1945, 18, 2827, 1557, 63, 24, 5717, 288, 1082, 202, 780, 276, 21, 273, 930, 21, 18, 2 ]
static TagsetCache getFlagsetCache(Connection conn, int mailboxId)
static TagsetCache getFlagsetCache(Connection conn, Mailbox mbox)
static TagsetCache getFlagsetCache(Connection conn, int mailboxId) throws ServiceException { Integer id = new Integer(mailboxId); TagsetCache flagsets = null; synchronized (sFlagsetCache) { flagsets = sFlagsetCache.get(id); } // All access to a mailbox is synchronized, so we can initialize // the flagset cache for a single mailbox outside the // synchronized block. if (flagsets == null) { ZimbraLog.cache.info("Loading tagset cache"); flagsets = new TagsetCache("Mailbox " + mailboxId + " flags"); flagsets.addTagsets(DbMailbox.getDistinctFlagsets(conn, mailboxId)); synchronized (sFlagsetCache) { sFlagsetCache.put(id, flagsets); } } return flagsets; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/ddefc0e424e4cccf845f5a987c40274fece99e76/DbMailItem.java/clean/ZimbraServer/src/java/com/zimbra/cs/db/DbMailItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 4034, 542, 1649, 336, 4678, 542, 1649, 12, 1952, 1487, 16, 11542, 2147, 312, 2147, 13, 565, 1216, 16489, 288, 3639, 2144, 612, 273, 394, 2144, 12, 4408, 2147, 548, 1769, 3639, 4034, 542, 1649, 2982, 4424, 273, 446, 31, 3639, 3852, 261, 87, 4678, 542, 1649, 13, 288, 5411, 2982, 4424, 273, 272, 4678, 542, 1649, 18, 588, 12, 350, 1769, 3639, 289, 3639, 368, 4826, 2006, 358, 279, 14187, 353, 3852, 16, 1427, 732, 848, 4046, 3639, 368, 326, 2982, 542, 1247, 364, 279, 2202, 14187, 8220, 326, 3639, 368, 3852, 1203, 18, 3639, 309, 261, 6420, 4424, 422, 446, 13, 288, 5411, 2285, 381, 15397, 1343, 18, 2493, 18, 1376, 2932, 10515, 1047, 542, 1247, 8863, 5411, 2982, 4424, 273, 394, 4034, 542, 1649, 2932, 30239, 315, 397, 14187, 548, 397, 315, 2943, 8863, 5411, 2982, 4424, 18, 1289, 1805, 4424, 12, 4331, 30239, 18, 588, 23402, 4678, 4424, 12, 4646, 16, 14187, 548, 10019, 5411, 3852, 261, 87, 4678, 542, 1649, 13, 288, 7734, 272, 4678, 542, 1649, 18, 458, 12, 350, 16, 2982, 4424, 1769, 5411, 289, 3639, 289, 7734, 327, 2982, 4424, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 4034, 542, 1649, 336, 4678, 542, 1649, 12, 1952, 1487, 16, 11542, 2147, 312, 2147, 13, 565, 1216, 16489, 288, 3639, 2144, 612, 273, 394, 2144, 12, 4408, 2147, 548, 1769, 3639, 4034, 542, 1649, 2982, 4424, 273, 446, 31, 3639, 3852, 261, 87, 4678, 542, 1649, 13, 288, 5411, 2982, 4424, 273, 272, 4678, 542, 1649, 18, 588, 12, 350, 1769, 3639, 289, 3639, 368, 4826, 2006, 358, 279, 14187, 353, 3852, 16, 1427, 732, 848, 4046, 3639, 368, 326, 2982, 542, 1247, 364, 279, 2202, 14187, 8220, 326, 3639, 368, 3852, 1203, 18, 3639, 309, 261, 6420, 4424, 422, 446, 13, 288, 5411, 2285, 381, 15397, 1343, 18, 2493, 18, 1376, 2932, 10515, 1047, 542, 2 ]
public org.quickfix.field.LegSecurityID getLegSecurityID() throws FieldNotFound { org.quickfix.field.LegSecurityID value = new org.quickfix.field.LegSecurityID();
public quickfix.field.LegSecurityID getLegSecurityID() throws FieldNotFound { quickfix.field.LegSecurityID value = new quickfix.field.LegSecurityID();
public org.quickfix.field.LegSecurityID getLegSecurityID() throws FieldNotFound { org.quickfix.field.LegSecurityID value = new org.quickfix.field.LegSecurityID(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/News.java/clean/src/java/src/quickfix/fix44/News.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4368, 734, 336, 8329, 4368, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4368, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4368, 734, 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,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4368, 734, 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 ]
public static char getCombiningChar(char c, char d) { switch (c) { case 0x0300 : switch (d) { case 0x0041 : return 0x00C0; case 0x0045 : return 0x00C8; case 0x0049 : return 0x00CC; case 0x004F : return 0x00D2; case 0x0055 : return 0x00D9; case 0x0061 : return 0x00E0; case 0x0065 : return 0x00E8; case 0x0069 : return 0x00EC; case 0x006F : return 0x00F2; case 0x0075 : return 0x00F9; default: break; } case 0x0301 : switch (d) { case 0x0041 : return 0x00C1; case 0x0043 : return 0x0106; case 0x0045 : return 0x00C9; case 0x0047 : return 0x01F4; case 0x0049 : return 0x00CD; case 0x004B : return 0x1E30; case 0x004C : return 0x0139; case 0x004D : return 0x1E3E; case 0x004E : return 0x0143; case 0x004F : return 0x00D3; case 0x0050 : return 0x1E54; case 0x0052 : return 0x0154; case 0x0053 : return 0x015A; case 0x0055 : return 0x00DA; case 0x0059 : return 0x00DD; case 0x005A : return 0x0179; case 0x0061 : return 0x00E1; case 0x0063 : return 0x0107; case 0x0065 : return 0x00E9; case 0x0067 : return 0x01F5; case 0x0069 : return 0x00ED; case 0x006B : return 0x1E31; case 0x006C : return 0x013A; case 0x006D : return 0x1E3F; case 0x006E : return 0x0144; case 0x006F : return 0x00F3; case 0x0070 : return 0x1E55; case 0x0072 : return 0x0155; case 0x0073 : return 0x015B; case 0x0075 : return 0x00FA; case 0x0079 : return 0x00FD; case 0x007A : return 0x017A; case 0x00A2 : return 0x01FE; case 0x00B2 : return 0x01FF; default: break; } case 0x0302 : switch(d) { case 0x0041 : return 0x00C2; case 0x0043 : return 0x0108; case 0x0045 : return 0x00CA; case 0x0047 : return 0x011C; case 0x0048 : return 0x0124; case 0x0049 : return 0x00CE; case 0x004A : return 0x0134; case 0x004B : return 0x01E8; case 0x004C : return 0x1E3C; case 0x004F : return 0x00D4; case 0x0053 : return 0x015C; case 0x0054 : return 0x1E70; case 0x0055 : return 0x00DB; case 0x0057 : return 0x0174; case 0x0059 : return 0x0176; case 0x0061 : return 0x00E2; case 0x0063 : return 0x0109; case 0x0065 : return 0x00EA; case 0x0067 : return 0x011D; case 0x0068 : return 0x0125; case 0x0069 : return 0x00EE; case 0x006A : return 0x0135; case 0x006B : return 0x01E9; case 0x006C : return 0x1E3D; case 0x006F : return 0x00F4; case 0x0073 : return 0x015D; case 0x0074 : return 0x1E71; case 0x0075 : return 0x00FB; case 0x0077 : return 0x0175; case 0x0079 : return 0x0177; default: break; } case 0x0303 : switch(d) { case 0x0041 : return 0x00C3; case 0x0049 : return 0x0128; case 0x004E : return 0x00D1; case 0x004F : return 0x00D5; case 0x0055 : return 0x0168; case 0x0061 : return 0x00E3; case 0x0069 : return 0x0129; case 0x006E : return 0x00F1; case 0x006F : return 0x00F5; case 0x0075 : return 0x0169; default: break; } case 0x0304 : switch(d) { case 0x0041 : return 0x0100; case 0x0045 : return 0x0112; case 0x0049 : return 0x012A; case 0x004F : return 0x014C; case 0x0055 : return 0x016A; case 0x0061 : return 0x0101; case 0x0065 : return 0x0113; case 0x0069 : return 0x012B; case 0x006F : return 0x014D; case 0x0075 : return 0x016B; default: break; } case 0x0306 : switch(d) { case 0x0041 : return 0x0102; case 0x0045 : return 0x0114; case 0x0047 : return 0x011E; case 0x0049 : return 0x012C; case 0x004F : return 0x014E; case 0x0055 : return 0x016C; case 0x0061 : return 0x0103; case 0x0065 : return 0x0115; case 0x0069 : return 0x012D; case 0x006F : return 0x014F; case 0x0075 : return 0x016D; default: break; } case 0x0307 : switch(d) { case 0x0041 : return 0x0226; case 0x0042 : return 0x1E02; case 0x0043 : return 0x010A; case 0x0045 : return 0x0116; case 0x0046 : return 0x1E1E; case 0x0047 : return 0x0120; case 0x0048 : return 0x1E22; case 0x0049 : return 0x0130; case 0x004D : return 0x1E40; case 0x004E : return 0x1E44; case 0x0054 : return 0x1E6A; case 0x0057 : return 0x1E86; case 0x0058 : return 0x1E8A; case 0x0059 : return 0x1E8E; case 0x005A : return 0x017B; case 0x0061 : return 0x0227; case 0x0062 : return 0x1E03; case 0x0063 : return 0x010B; case 0x0065 : return 0x0117; case 0x0066 : return 0x1E1F; case 0x0067 : return 0x0121; case 0x0068 : return 0x1E23; case 0x006D : return 0x1E41; case 0x006E : return 0x1E45; case 0x0074 : return 0x1E6B; case 0x0077 : return 0x1E87; case 0x0078 : return 0x1E8B; case 0x0079 : return 0x1E8F; case 0x007A : return 0x017C; default: break; } case 0x0308 : switch(d) { case 0x0041 : return 0x00C4; case 0x0045 : return 0x00CB; case 0x0049 : return 0x00CF; case 0x004F : return 0x00D6; case 0x0055 : return 0x00DC; case 0x0059 : return 0x0178; case 0x0061 : return 0x00E4; case 0x0065 : return 0x00EB; case 0x0069 : return 0x00EF; case 0x006F : return 0x00F6; case 0x0075 : return 0x00FC; case 0x0079 : return 0x00FF; default: break; } case 0x0309 : switch(d) { case 0x0041 : return 0x1EA2; case 0x0061 : return 0x1EA3; case 0x00C2 : return 0x1EA8; case 0x00E2 : return 0x1EA9; case 0x0102 : return 0x1EB2; case 0x0103 : return 0x1EB3; case 0x0045 : return 0x1EBA; case 0x0065 : return 0x1EBB; case 0x00CA : return 0x1EC0; case 0x00EA : return 0x1EC1; case 0x0049 : return 0x1EC8; case 0x0069 : return 0x1EC9; case 0x004F : return 0x1ECE; case 0x006F : return 0x1ECF; case 0x00D4 : return 0x1ED4; case 0x00F4 : return 0x1ED5; // latin capital letter O with horn and hook above case 0x01A0 : return 0x1EDE; // latin small letter o with horn and hook above case 0x01A1 : return 0x1EDF; // latin capital letter U with hook above case 0x0055 : return 0x1EE6; // latin small letter U with hook above case 0x0075 : return 0x1EE7; // latin capital letter U with horn and hook above case 0x01AF : return 0x1EEC; // latin small letter u with horn and hook above case 0x01B0 : return 0x1EED; // latin capital letter Y with hook above case 0x0059 : return 0x1EF6; // latin small letter y with hook above case 0x0079 : return 0x1EF7; default : break; } case 0x030C : switch(d) { case 0x0043 : return 0x010C; case 0x0044 : return 0x010E; case 0x0045 : return 0x011A; case 0x0047 : return 0x01E6; case 0x004C : return 0x013D; case 0x004E : return 0x0147; case 0x004F : return 0x01D1; case 0x0052 : return 0x0158; case 0x0053 : return 0x0160; case 0x0054 : return 0x0164; case 0x005A : return 0x017D; case 0x0063 : return 0x010D; case 0x0064 : return 0x010F; case 0x0065 : return 0x011B; case 0x0067 : return 0x01E7; case 0x006C : return 0x013E; case 0x006E : return 0x0148; case 0x006F : return 0x01D2; case 0x0072 : return 0x0159; case 0x0073 : return 0x0161; case 0x0074 : return 0x0165; case 0x007A : return 0x017E; default: break; } case 0x030A : switch(d) { case 0x0041 : return 0x00C5; case 0x0055 : return 0x016E; case 0x0061 : return 0x00E5; case 0x0075 : return 0x016F; default: break; } case 0x0315 : switch(d) { case 0x006E : return 0x0149; default: break; } case 0x030B : switch(d) { case 0x004F : return 0x0150; case 0x0055 : return 0x0170; case 0x006F : return 0x0151; case 0x0075 : return 0x0171; default: break; } case 0x0323 : switch(d) { case 0x0041 : return 0x1EA0; case 0x0042 : return 0x1E04; case 0x0044 : return 0x1E0C; case 0x004B : return 0x1E32; case 0x004C : return 0x1E36; case 0x004D : return 0x1E42; case 0x004E : return 0x1E46; case 0x0052 : return 0x1E5A; case 0x0054 : return 0x1E6C; case 0x0056 : return 0x1E7E; case 0x005A : return 0x1E92; case 0x0061 : return 0x1EA1; case 0x0062 : return 0x1E05; case 0x0064 : return 0x1E0D; case 0x0065 : return 0x1EB9; case 0x006B : return 0x1E33; case 0x006C : return 0x1E37; case 0x006D : return 0x1E43; case 0x006E : return 0x1E47; case 0x0072 : return 0x1E5B; case 0x0074 : return 0x1E6D; case 0x0076 : return 0x1E7F; case 0x007A : return 0x1E93; default: break; } case 0x0325 : switch(d) { case 0x0041 : return 0x1E00; case 0x0061 : return 0x1E01; default: break; } case 0x0327 : switch(d) { case 0x0043 : return 0x00C7; case 0x0047 : return 0x0122; case 0x004B : return 0x0136; case 0x004C : return 0x013B; case 0x004E : return 0x0145; case 0x0053 : return 0x015E; case 0x0054 : return 0x0162; case 0x0063 : return 0x00E7; case 0x0067 : return 0x0123; case 0x006B : return 0x0137; case 0x006C : return 0x013C; case 0x006E : return 0x0146; case 0x0072 : return 0x0157; case 0x0073 : return 0x015F; case 0x0074 : return 0x0163; default: break; } case 0x0328 : switch(d) { case 0x0041 : return 0x0104; case 0x0045 : return 0x0118; case 0x0049 : return 0x012E; case 0x004F : return 0x01EA; case 0x0055 : return 0x0172; case 0x0061 : return 0x0105; case 0x0065 : return 0x0119; case 0x0069 : return 0x012F; case 0x006F : return 0x01EB; case 0x0075 : return 0x0173; default: break; } case 0x0331 : switch(d) { case 0x0042 : return 0x1E06; case 0x0062 : return 0x1E07; default: break; } case 0x0333 : switch(d) { case 0x0047 : return 0x01E4; case 0x0048 : return 0x0126; case 0x0054 : return 0x0166; case 0x0067 : return 0x01E5; case 0x0068 : return 0x0127; case 0x0074 : return 0x0167; default: break; } case 0x0332 : switch(d) { case 0x0042 : return 0x1E06; case 0x0044 : return 0x1E0E; case 0x004B : return 0x1E34; case 0x004C : return 0x1E3A; case 0x004E : return 0x1E47; case 0x0052 : return 0x1E5E; case 0x0054 : return 0x1E6E; case 0x0062 : return 0x1E07; case 0x0064 : return 0x1E0F; case 0x006B : return 0x1E35; case 0x006C : return 0x1E3B; case 0x006E : return 0x1E48; case 0x0072 : return 0x1E5F; case 0x0074 : return 0x1E6F; default: break; } case 0x031C : switch(d) { case 0x0052 : return 0x0156; default: break; } case 0x032E : switch(d) { case 0x0048 : return 0x1E2A; case 0x0068 : return 0x1E2B; default: break; } default: break; } return 0; }
46685 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46685/5a70bb5e1a663b495a4eb352ec7c7510a3bfc2f1/Unicode.java/buggy/src/org/marc4j/util/Unicode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 343, 826, 24107, 310, 2156, 12, 3001, 71, 16, 343, 1060, 15329, 202, 9610, 12, 71, 15329, 3593, 20, 92, 4630, 713, 30, 9610, 12, 72, 15329, 3593, 20, 92, 713, 9803, 30, 2463, 20, 92, 713, 39, 20, 31, 3593, 20, 92, 713, 7950, 30, 2463, 20, 92, 713, 39, 28, 31, 3593, 20, 92, 713, 7616, 30, 2463, 20, 92, 713, 6743, 31, 3593, 20, 92, 26565, 42, 30, 2463, 20, 92, 713, 40, 22, 31, 3593, 20, 92, 713, 2539, 30, 2463, 20, 92, 713, 40, 29, 31, 3593, 20, 92, 713, 9498, 30, 2463, 20, 92, 713, 41, 20, 31, 3593, 20, 92, 713, 9222, 30, 2463, 20, 92, 713, 41, 28, 31, 3593, 20, 92, 713, 8148, 30, 2463, 20, 92, 713, 7228, 31, 3593, 20, 92, 713, 26, 42, 30, 2463, 20, 92, 713, 42, 22, 31, 3593, 20, 92, 713, 5877, 30, 2463, 20, 92, 713, 42, 29, 31, 1886, 30, 8820, 31, 97, 3593, 20, 92, 4630, 1611, 30, 9610, 12, 72, 15329, 3593, 20, 92, 713, 9803, 30, 2463, 20, 92, 713, 39, 21, 31, 3593, 20, 92, 713, 8942, 30, 2463, 20, 92, 1611, 7677, 31, 3593, 20, 92, 713, 7950, 30, 2463, 20, 92, 713, 39, 29, 31, 3593, 20, 92, 713, 9462, 30, 2463, 20, 92, 1611, 42, 24, 31, 3593, 20, 92, 713, 7616, 30, 2463, 20, 92, 713, 10160, 31, 3593, 20, 92, 26565, 38, 30, 2463, 20, 92, 21, 41, 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, 3845, 343, 826, 24107, 310, 2156, 12, 3001, 71, 16, 343, 1060, 15329, 202, 9610, 12, 71, 15329, 3593, 20, 92, 4630, 713, 30, 9610, 12, 72, 15329, 3593, 20, 92, 713, 9803, 30, 2463, 20, 92, 713, 39, 20, 31, 3593, 20, 92, 713, 7950, 30, 2463, 20, 92, 713, 39, 28, 31, 3593, 20, 92, 713, 7616, 30, 2463, 20, 92, 713, 6743, 31, 3593, 20, 92, 26565, 42, 30, 2463, 20, 92, 713, 40, 22, 31, 3593, 20, 92, 713, 2539, 30, 2463, 20, 92, 713, 40, 29, 31, 3593, 20, 92, 713, 9498, 30, 2463, 20, 92, 713, 41, 20, 31, 3593, 20, 92, 713, 9222, 30, 2463, 20, 92, 713, 41, 28, 31, 2 ]
RoomListener[] listenerArray = (RoomListener[]) listeners .getListeners(RoomListener.class); for (int i = 0; i < listenerArray.length; i++) { RoomListener listener = listenerArray[i]; listener.table_joined(table_index); } }
RoomListener[] listenerArray = (RoomListener[]) listeners .getListeners(RoomListener.class); for (int i = 0; i < listenerArray.length; i++) { RoomListener listener = listenerArray[i]; listener.table_joined(table_index); } }
public void fire_table_joined(int table_index) { RoomListener[] listenerArray = (RoomListener[]) listeners .getListeners(RoomListener.class); for (int i = 0; i < listenerArray.length; i++) { RoomListener listener = listenerArray[i]; listener.table_joined(table_index); } }
45800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45800/23297b98c08218eabfb0ce50651df65538ee0abb/Room.java/clean/java/src/ggz/client/core/Room.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 4452, 67, 2121, 67, 5701, 329, 12, 474, 1014, 67, 1615, 13, 288, 1082, 202, 13646, 2223, 8526, 2991, 1076, 273, 261, 13646, 2223, 63, 5717, 4679, 6862, 202, 18, 588, 5583, 12, 13646, 2223, 18, 1106, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2991, 1076, 18, 2469, 31, 277, 27245, 288, 9506, 202, 13646, 2223, 2991, 273, 2991, 1076, 63, 77, 15533, 9506, 202, 12757, 18, 2121, 67, 5701, 329, 12, 2121, 67, 1615, 1769, 1082, 202, 97, 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, 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 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 4452, 67, 2121, 67, 5701, 329, 12, 474, 1014, 67, 1615, 13, 288, 1082, 202, 13646, 2223, 8526, 2991, 1076, 273, 261, 13646, 2223, 63, 5717, 4679, 6862, 202, 18, 588, 5583, 12, 13646, 2223, 18, 1106, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2991, 1076, 18, 2469, 31, 277, 27245, 288, 9506, 202, 13646, 2223, 2991, 273, 2991, 1076, 63, 77, 15533, 9506, 202, 12757, 18, 2121, 67, 5701, 329, 12, 2121, 67, 1615, 1769, 1082, 202, 97, 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 ]
return "Feature"+(featureId==null ? ":Hash"+this.hashCode() : ":"+featureId);
return "Feature"+(featureId==null ? ":Hash_"+this.hashCode() : ":Id_"+featureId);
public String toString(){ return "Feature"+(featureId==null ? ":Hash"+this.hashCode() : ":"+featureId); }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/51a3c546dfc7a7a98b29771a459df19094fc5b51/Feature.java/clean/components/common/src/ome/model/Feature.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 95, 202, 2463, 315, 4595, 6, 15, 12, 7238, 548, 631, 2011, 692, 6398, 2310, 9548, 15, 2211, 18, 2816, 1085, 1435, 294, 6398, 548, 9548, 15, 7238, 548, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 95, 202, 2463, 315, 4595, 6, 15, 12, 7238, 548, 631, 2011, 692, 6398, 2310, 9548, 15, 2211, 18, 2816, 1085, 1435, 294, 6398, 548, 9548, 15, 7238, 548, 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 ]
AST __t408 = _t;
AST __t137 = _t;
public final Expression numericExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; org.exist.xquery.parser.XQueryAST numericExpr_AST_in = (_t == ASTNULL) ? null : (org.exist.xquery.parser.XQueryAST)_t; org.exist.xquery.parser.XQueryAST plus = null; org.exist.xquery.parser.XQueryAST minus = null; org.exist.xquery.parser.XQueryAST uminus = null; org.exist.xquery.parser.XQueryAST uplus = null; org.exist.xquery.parser.XQueryAST div = null; org.exist.xquery.parser.XQueryAST idiv = null; org.exist.xquery.parser.XQueryAST mod = null; org.exist.xquery.parser.XQueryAST mult = null; step= null; PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PLUS: { AST __t405 = _t; plus = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,PLUS); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t405; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(context, left, right, Constants.PLUS); op.setASTNode(plus); path.addPath(op); step= op; break; } case MINUS: { AST __t406 = _t; minus = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,MINUS); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t406; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(context, left, right, Constants.MINUS); op.setASTNode(minus); path.addPath(op); step= op; break; } case UNARY_MINUS: { AST __t407 = _t; uminus = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,UNARY_MINUS); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; _t = __t407; _t = _t.getNextSibling(); UnaryExpr unary= new UnaryExpr(context, Constants.MINUS); unary.setASTNode(uminus); unary.add(left); path.addPath(unary); step= unary; break; } case UNARY_PLUS: { AST __t408 = _t; uplus = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,UNARY_PLUS); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; _t = __t408; _t = _t.getNextSibling(); UnaryExpr unary= new UnaryExpr(context, Constants.PLUS); unary.setASTNode(uplus); unary.add(left); path.addPath(unary); step= unary; break; } case LITERAL_div: { AST __t409 = _t; div = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_div); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t409; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(context, left, right, Constants.DIV); op.setASTNode(div); path.addPath(op); step= op; break; } case LITERAL_idiv: { AST __t410 = _t; idiv = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_idiv); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t410; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(context, left, right, Constants.IDIV); op.setASTNode(idiv); path.addPath(op); step= op; break; } case LITERAL_mod: { AST __t411 = _t; mod = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,LITERAL_mod); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t411; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(context, left, right, Constants.MOD); op.setASTNode(mod); path.addPath(op); step= op; break; } case STAR: { AST __t412 = _t; mult = _t==ASTNULL ? null :(org.exist.xquery.parser.XQueryAST)_t; match(_t,STAR); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; _t = __t412; _t = _t.getNextSibling(); OpNumeric op= new OpNumeric(context, left, right, Constants.MULT); op.setASTNode(mult); path.addPath(op); step= op; break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/06537933dfbae14c444eb15b44247b312b5f47d7/XQueryTreeParser.java/clean/src/org/exist/xquery/parser/XQueryTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 6389, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 6389, 4742, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 8737, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 12647, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 9570, 267, 407, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 582, 10103, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3739, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 612, 427, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 681, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1778, 273, 446, 31, 6862, 202, 4119, 33, 446, 31, 1082, 202, 743, 4742, 2002, 33, 394, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 6389, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 6389, 4742, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 67, 88, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 8737, 273, 446, 31, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 12647, 2 ]
slot.setDisplayNameID( "Data Sets" ); slot.setName( "dataSets" ); slot.setMultipleCardinality( true ); slot.addType( ReportDesignConstants.DATA_SOURCE_ELEMENT ); label.addSlot( slot );
MetadataTestUtil.setDisplayNameKey( slot, "Data Sets" ); MetadataTestUtil.setName( slot, "dataSets" ); MetadataTestUtil.setMultipleCardinality( slot, true ); MetadataTestUtil.addType( slot, ReportDesignConstants.DATA_SOURCE_ELEMENT ); MetadataTestUtil.addSlot( label, slot );
public void testAddSlotToElement( ) { // Get an element from dictionary ElementDefn label = (ElementDefn) MetaDataDictionary.getInstance( ) .getElement( ReportDesignConstants.LABEL_ITEM ); assertEquals( 0, label.getSlotCount( ) ); // Add one slot SlotDefn slot = new SlotDefn( ); slot.setDisplayNameID( "Data Sets" ); //$NON-NLS-1$ slot.setName( "dataSets" ); //$NON-NLS-1$ slot.setMultipleCardinality( true ); slot.addType( ReportDesignConstants.DATA_SOURCE_ELEMENT ); label.addSlot( slot ); assertEquals( 1, label.getSlotCount( ) ); // Add another slot label.addSlot( slot ); assertEquals( 2, label.getSlotCount( ) ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/0115a332efae7883ec3d1205f01f11f15df413fc/ElementDefnTest.java/buggy/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/metadata/ElementDefnTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 986, 8764, 774, 1046, 12, 262, 202, 95, 202, 202, 759, 968, 392, 930, 628, 3880, 202, 202, 1046, 3262, 82, 1433, 273, 261, 1046, 3262, 82, 13, 27512, 10905, 18, 588, 1442, 12, 262, 9506, 202, 18, 21336, 12, 8706, 15478, 2918, 18, 13545, 67, 12674, 11272, 202, 202, 11231, 8867, 12, 374, 16, 1433, 18, 588, 8764, 1380, 12, 262, 11272, 202, 202, 759, 1436, 1245, 4694, 202, 202, 8764, 3262, 82, 4694, 273, 394, 23195, 3262, 82, 12, 11272, 202, 202, 14194, 18, 542, 20524, 734, 12, 315, 751, 11511, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 14194, 18, 542, 461, 12, 315, 892, 2785, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 14194, 18, 542, 8438, 20091, 12, 638, 11272, 202, 202, 14194, 18, 1289, 559, 12, 8706, 15478, 2918, 18, 4883, 67, 6537, 67, 10976, 11272, 202, 202, 1925, 18, 1289, 8764, 12, 4694, 11272, 202, 202, 11231, 8867, 12, 404, 16, 1433, 18, 588, 8764, 1380, 12, 262, 11272, 202, 202, 759, 1436, 4042, 4694, 202, 202, 1925, 18, 1289, 8764, 12, 4694, 11272, 202, 202, 11231, 8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930, 628, 3880, 202, 202, 1046, 3262, 82, 1433, 273, 261, 1046, 3262, 82, 13, 27512, 10905, 18, 588, 1442, 12, 262, 9506, 202, 18, 21336, 12, 8706, 15478, 2918, 18, 13545, 67, 12674, 11272, 202, 202, 11231, 8867, 12, 374, 16, 1433, 18, 588, 8764, 1380, 12, 262, 11272, 202, 202, 759, 1436, 1245, 4694, 202, 202, 8764, 3262, 82, 4694, 273, 394, 23195, 3262, 82, 12, 11272, 202, 202, 14194, 18, 542, 20524, 734, 12, 315, 751, 11511, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 14194, 18, 542, 461, 12, 315, 892, 2785, 6, 11272, 2 ]
this.pkg = isCaseSensitive ? pkg : CharOperation.toLowerCase(pkg); if (isCaseSensitive || enclosingTypeNames == null) { this.enclosingTypeNames = enclosingTypeNames; } else { int length = enclosingTypeNames.length; this.enclosingTypeNames = new char[length][]; for (int i = 0; i < length; i++){ this.enclosingTypeNames[i] = CharOperation.toLowerCase(enclosingTypeNames[i]); } } this.simpleName = isCaseSensitive ? simpleName : CharOperation.toLowerCase(simpleName); this.classOrInterface = classOrInterface; this.needsResolve = pkg != null && enclosingTypeNames != null;
public TypeDeclarationPattern( char[] pkg, char[][] enclosingTypeNames, char[] simpleName, char classOrInterface, int matchMode, boolean isCaseSensitive) { super(matchMode, isCaseSensitive); this.pkg = isCaseSensitive ? pkg : CharOperation.toLowerCase(pkg); if (isCaseSensitive || enclosingTypeNames == null) { this.enclosingTypeNames = enclosingTypeNames; } else { int length = enclosingTypeNames.length; this.enclosingTypeNames = new char[length][]; for (int i = 0; i < length; i++){ this.enclosingTypeNames[i] = CharOperation.toLowerCase(enclosingTypeNames[i]); } } this.simpleName = isCaseSensitive ? simpleName : CharOperation.toLowerCase(simpleName); this.classOrInterface = classOrInterface; this.needsResolve = pkg != null && enclosingTypeNames != null;}
12408 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12408/97695ccc3a078d804bc7df2ed83ae543abea2e44/TypeDeclarationPattern.java/clean/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeDeclarationPattern.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1412, 6094, 3234, 12, 202, 3001, 8526, 3475, 16, 202, 3001, 63, 6362, 65, 16307, 559, 1557, 16, 202, 3001, 8526, 4143, 461, 16, 202, 3001, 667, 1162, 1358, 16, 202, 474, 845, 2309, 16, 225, 202, 6494, 353, 2449, 14220, 13, 288, 202, 9565, 12, 1916, 2309, 16, 353, 2449, 14220, 1769, 202, 2211, 18, 10657, 273, 353, 2449, 14220, 692, 3475, 294, 3703, 2988, 18, 869, 5630, 12, 10657, 1769, 202, 430, 261, 291, 2449, 14220, 747, 16307, 559, 1557, 422, 446, 13, 288, 202, 202, 2211, 18, 1331, 10910, 559, 1557, 273, 16307, 559, 1557, 31, 202, 97, 469, 288, 202, 202, 474, 769, 273, 16307, 559, 1557, 18, 2469, 31, 202, 202, 2211, 18, 1331, 10910, 559, 1557, 273, 394, 1149, 63, 2469, 6362, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 95, 1082, 202, 2211, 18, 1331, 10910, 559, 1557, 63, 77, 65, 273, 3703, 2988, 18, 869, 5630, 12, 1331, 10910, 559, 1557, 63, 77, 19226, 202, 202, 97, 202, 97, 202, 2211, 18, 9647, 461, 273, 353, 2449, 14220, 692, 4143, 461, 294, 3703, 2988, 18, 869, 5630, 12, 9647, 461, 1769, 202, 2211, 18, 1106, 1162, 1358, 273, 667, 1162, 1358, 31, 202, 202, 2211, 18, 20600, 8460, 273, 3475, 480, 446, 597, 16307, 559, 1557, 480, 446, 31, 97, 2, 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, 1, 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, 1412, 6094, 3234, 12, 202, 3001, 8526, 3475, 16, 202, 3001, 63, 6362, 65, 16307, 559, 1557, 16, 202, 3001, 8526, 4143, 461, 16, 202, 3001, 667, 1162, 1358, 16, 202, 474, 845, 2309, 16, 225, 202, 6494, 353, 2449, 14220, 13, 288, 202, 9565, 12, 1916, 2309, 16, 353, 2449, 14220, 1769, 202, 2211, 18, 10657, 273, 353, 2449, 14220, 692, 3475, 294, 3703, 2988, 18, 869, 5630, 12, 10657, 1769, 202, 430, 261, 291, 2449, 14220, 747, 16307, 559, 1557, 422, 446, 13, 288, 202, 202, 2211, 18, 1331, 10910, 559, 1557, 273, 16307, 559, 1557, 31, 202, 97, 469, 288, 202, 202, 474, 769, 273, 16307, 559, 1557, 18, 2469, 31, 202, 202, 2211, 18, 2 ]
Map pushers; synchronized(pushObservers) { pushers = new HashMap(pushObservers); pushObservers.clear(); } for(Iterator i = pushers.values().iterator(); i.hasNext(); ) {
List pushObservers = pushes.getAllAndClear(); for(Iterator i = pushObservers.iterator(); i.hasNext(); ) {
private void killAllWorkers() { List workers = getAllWorkers(); // cannot interrupt while iterating through the main list, because that // could cause ConcurrentMods. for (Iterator iter = workers.iterator(); iter.hasNext();) { DownloadWorker doomed = (DownloadWorker) iter.next(); doomed.interrupt(); } Map pushers; synchronized(pushObservers) { pushers = new HashMap(pushObservers); pushObservers.clear(); } // cannot iterate over pushObservers because shutdown may attempt // to remove from it. for(Iterator i = pushers.values().iterator(); i.hasNext(); ) { HTTPConnectObserver next = (HTTPConnectObserver)i.next(); next.shutdown(); } }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/e9fed1b324ca5e2eae31dea559710ddd249677ed/ManagedDownloader.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/downloader/ManagedDownloader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 8673, 1595, 15252, 1435, 288, 3639, 987, 9798, 273, 5514, 15252, 5621, 7734, 368, 2780, 13123, 1323, 13099, 3059, 326, 2774, 666, 16, 2724, 716, 3639, 368, 3377, 4620, 15242, 1739, 87, 18, 3639, 364, 261, 3198, 1400, 273, 9798, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 13059, 6671, 741, 362, 329, 273, 261, 7109, 6671, 13, 1400, 18, 4285, 5621, 5411, 741, 362, 329, 18, 31847, 5621, 3639, 289, 7734, 1635, 1817, 414, 31, 3639, 3852, 12, 6206, 29393, 13, 288, 5411, 1817, 414, 273, 394, 4317, 12, 6206, 29393, 1769, 5411, 1817, 29393, 18, 8507, 5621, 3639, 289, 7734, 368, 2780, 7401, 1879, 1817, 29393, 2724, 5731, 2026, 4395, 3639, 368, 358, 1206, 628, 518, 18, 3639, 364, 12, 3198, 277, 273, 1817, 414, 18, 2372, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 5411, 2239, 5215, 11048, 1024, 273, 261, 3693, 5215, 11048, 13, 77, 18, 4285, 5621, 5411, 1024, 18, 15132, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 8673, 1595, 15252, 1435, 288, 3639, 987, 9798, 273, 5514, 15252, 5621, 7734, 368, 2780, 13123, 1323, 13099, 3059, 326, 2774, 666, 16, 2724, 716, 3639, 368, 3377, 4620, 15242, 1739, 87, 18, 3639, 364, 261, 3198, 1400, 273, 9798, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 13059, 6671, 741, 362, 329, 273, 261, 7109, 6671, 13, 1400, 18, 4285, 5621, 5411, 741, 362, 329, 18, 31847, 5621, 3639, 289, 7734, 1635, 1817, 414, 31, 3639, 3852, 12, 6206, 29393, 13, 288, 5411, 1817, 414, 273, 394, 4317, 12, 6206, 29393, 1769, 5411, 1817, 29393, 18, 8507, 5621, 3639, 289, 7734, 368, 2780, 7401, 1879, 1817, 29393, 2724, 5731, 2026, 4395, 3639, 2 ]
stateChange(CLASS_LOADED);
stateChange(CLASS_LOADED); Object object = null;
void createApplet() { panel = new KJASAppletPanel(); frame = new JFrame(windowName); // under certain circumstances, it may happen that the // applet is not embedded but shown in a separate window. // think of konqueror running under fvwm or gnome. // than, the user should have the ability to close the window. frame.addWindowListener ( new WindowAdapter() { public void windowClosing(WindowEvent e) { me.destroyApplet(); } } ); frame.getContentPane().add( "Center", panel ); frame.pack(); frame.setVisible(true); loader.addStatusListener(panel); runThread = new Thread ( new Runnable() { public void run() { //this order is very important and took a long time //to figure out- don't modify it unless there are //real bug fixes // till 2002 09 18 // commented out the synchronized block because // it leads to a deadlock of the JVM with // j2re 1.4.1 //synchronized( me ) { try { appletClass = loader.loadClass( className ); } catch (Exception e) { Main.kjas_err("Class could not be loaded: " + className, e); setFailed(e.toString()); return; } if (Thread.interrupted()) return; stateChange(CLASS_LOADED); try { synchronized (appletClass) { app = (Applet) appletClass.newInstance(); } } catch( InstantiationException e ) { Main.kjas_err( "Could not instantiate applet", e ); setFailed(e.toString()); return; } catch( IllegalAccessException e ) { Main.kjas_err( "Could not instantiate applet", e ); setFailed(e.toString()); return; } //} // synchronized if (Thread.interrupted()) return; app.setStub( me ); stateChange(INSTANCIATED); app.setVisible(false); panel.setApplet( app ); app.setSize(appletSize.getWidth() > 0 ? appletSize : panel.getSize()); try { app.init(); } catch (Error er) { Main.info("Error " + er.toString() + " during applet initialization"); er.printStackTrace(); setFailed(er.toString()); return; } catch (Exception ex) { Main.info("Exception " + ex.toString() + " during applet initialization"); ex.printStackTrace(); setFailed(ex.toString()); return; } if (Thread.interrupted()) return; stateChange(INITIALIZED); loader.removeStatusListener(panel); app.setVisible(true); //panel.validate(); // stop the loading... animation panel.stopAnimation(); // create a new thread, so we know, when the applet was started /*Thread appletThread = new KJASAppletThread(me, "KJAS-Applet-" + appletID + "-" + appletName); appletThread.start(); state = STARTED; context.showStatus("Applet " + appletName + " started.");*/ } } , "KJAS-AppletStub-" + appletID + "-" + appletName); runThread.setContextClassLoader(loader); runThread.start(); }
45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/6f611e66cd6be9441f9a344ac15ab77d6489ca32/KJASAppletStub.java/clean/khtml/java/org/kde/kjas/server/KJASAppletStub.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 752, 23696, 1435, 288, 3639, 6594, 273, 394, 1475, 46, 3033, 23696, 5537, 5621, 3639, 2623, 273, 394, 804, 3219, 12, 5668, 461, 1769, 3639, 368, 3613, 8626, 29951, 2639, 16, 518, 2026, 5865, 716, 326, 3639, 368, 21853, 353, 486, 7488, 1496, 12188, 316, 279, 9004, 2742, 18, 3639, 368, 15507, 434, 417, 265, 25734, 280, 3549, 3613, 10097, 91, 81, 578, 22908, 1742, 18, 3639, 368, 2353, 16, 326, 729, 1410, 1240, 326, 7123, 358, 1746, 326, 2742, 18, 7734, 2623, 18, 1289, 3829, 2223, 3639, 261, 5411, 394, 6076, 4216, 1435, 288, 7734, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 10792, 1791, 18, 11662, 23696, 5621, 7734, 289, 5411, 289, 3639, 11272, 3639, 2623, 18, 588, 1350, 8485, 7675, 1289, 12, 315, 8449, 3113, 6594, 11272, 3639, 2623, 18, 2920, 5621, 3639, 2623, 18, 542, 6207, 12, 3767, 1769, 3639, 4088, 18, 1289, 1482, 2223, 12, 13916, 1769, 3639, 1086, 3830, 273, 394, 4884, 3639, 261, 3639, 394, 10254, 1435, 288, 5411, 1071, 918, 1086, 1435, 288, 7734, 368, 2211, 1353, 353, 8572, 10802, 471, 23151, 279, 1525, 813, 7734, 368, 869, 7837, 596, 17, 2727, 1404, 5612, 518, 3308, 1915, 854, 7734, 368, 7688, 7934, 24436, 27573, 368, 21364, 4044, 22, 21058, 6549, 7734, 368, 31813, 596, 326, 3852, 1203, 2724, 7734, 368, 518, 5871, 87, 358, 279, 8363, 739, 434, 326, 14131, 598, 7734, 368, 525, 22, 266, 404, 18, 24, 18, 21, 7734, 368, 22043, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 752, 23696, 1435, 288, 3639, 6594, 273, 394, 1475, 46, 3033, 23696, 5537, 5621, 3639, 2623, 273, 394, 804, 3219, 12, 5668, 461, 1769, 3639, 368, 3613, 8626, 29951, 2639, 16, 518, 2026, 5865, 716, 326, 3639, 368, 21853, 353, 486, 7488, 1496, 12188, 316, 279, 9004, 2742, 18, 3639, 368, 15507, 434, 417, 265, 25734, 280, 3549, 3613, 10097, 91, 81, 578, 22908, 1742, 18, 3639, 368, 2353, 16, 326, 729, 1410, 1240, 326, 7123, 358, 1746, 326, 2742, 18, 7734, 2623, 18, 1289, 3829, 2223, 3639, 261, 5411, 394, 6076, 4216, 1435, 288, 7734, 1071, 918, 2742, 15745, 12, 3829, 1133, 425, 13, 288, 10792, 1791, 18, 11662, 23696, 5621, 7734, 289, 5411, 289, 3639, 2 ]
Object val) throws CalFacadeException;
Object val, boolean debug) throws CalFacadeException;
public void initialise(String userid, CallBack cb, Object val) throws CalFacadeException;
50848 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50848/63264e887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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 21301, 12, 780, 6709, 16, 3049, 2711, 2875, 16, 7682, 1033, 1244, 13, 1216, 3596, 12467, 503, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 RuntimeException(e.toString());
throw new DbcpException(e);
public Connection createConnection() { try { return _driver.connect(_connectUri,_props); } catch(SQLException e) { throw new RuntimeException(e.toString()); } }
50976 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50976/fb0daa2dedafffab350ddb069e54de21ca3f2b3c/DriverConnectionFactory.java/buggy/src/java/org/apache/commons/dbcp/DriverConnectionFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4050, 27870, 1435, 288, 3639, 775, 288, 5411, 327, 389, 7407, 18, 3612, 24899, 3612, 3006, 16, 67, 9693, 1769, 3639, 289, 1044, 12, 23116, 425, 13, 288, 5411, 604, 394, 8408, 4057, 503, 12, 73, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4050, 27870, 1435, 288, 3639, 775, 288, 5411, 327, 389, 7407, 18, 3612, 24899, 3612, 3006, 16, 67, 9693, 1769, 3639, 289, 1044, 12, 23116, 425, 13, 288, 5411, 604, 394, 8408, 4057, 503, 12, 73, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
initializeLookAndFeel();
this.initializeLookAndFeel();
public boolean initGraphics() { initializeLookAndFeel(); IconBox.loadIcons(); mainWindow = new MainWindow(this); configWindow = new ConfigWindow(this); configWindow.setVisible(false); return true; }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/Core.java/clean/src/thaw/core/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1208, 17558, 1435, 288, 202, 202, 11160, 9794, 1876, 2954, 292, 5621, 202, 202, 5554, 3514, 18, 945, 27510, 5621, 202, 202, 5254, 3829, 273, 394, 12740, 3829, 12, 2211, 1769, 202, 202, 1425, 3829, 273, 394, 1903, 3829, 12, 2211, 1769, 202, 202, 1425, 3829, 18, 542, 6207, 12, 5743, 1769, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 202, 202, 1425, 3829, 273, 394, 1903, 3829, 12, 2211, 1769, 202, 202, 1425, 3829, 18, 542, 6207, 12, 5743, 1769, 202, 202, 2463, 638, 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 ]
{ emitCatchEnd(); }
emitCatchEnd();
public void emitFinallyStart() { emitTryEnd(); if (try_stack.try_type != null) { emitCatchEnd(); } readPC = PC; try_stack.end_pc = PC; pushScope(); Type except_type = Type.pointer_type; Variable except = addLocal(except_type); emitCatchStart(null); pushType(except_type); emitStore(except); emitGoto(try_stack.finally_subr, 168); // jsr emitLoad(except); emitThrow(); //emitCatchEnd(); //if (try_stack.finally_subr == null) // error(); try_stack.finally_subr.define(this); Type ret_addr_type = Type.pointer_type; try_stack.finally_ret_addr = addLocal(ret_addr_type); pushType(ret_addr_type); emitStore(try_stack.finally_ret_addr); }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/27dbaa42eb5c75386b13a6fda269d28ca12f210b/CodeAttr.java/clean/gnu/bytecode/CodeAttr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3626, 29987, 1685, 1435, 225, 288, 565, 3626, 7833, 1638, 5621, 565, 309, 261, 698, 67, 3772, 18, 698, 67, 723, 480, 446, 13, 1377, 288, 202, 18356, 14842, 1638, 5621, 1377, 289, 565, 855, 3513, 273, 26300, 31, 565, 775, 67, 3772, 18, 409, 67, 2436, 273, 26300, 31, 565, 1817, 3876, 5621, 565, 1412, 1335, 67, 723, 273, 1412, 18, 10437, 67, 723, 31, 565, 7110, 1335, 273, 527, 2042, 12, 14137, 67, 723, 1769, 565, 3626, 14842, 1685, 12, 2011, 1769, 565, 1817, 559, 12, 14137, 67, 723, 1769, 565, 3626, 2257, 12, 14137, 1769, 565, 3626, 43, 6302, 12, 698, 67, 3772, 18, 23417, 67, 1717, 86, 16, 2872, 28, 1769, 368, 3828, 86, 565, 3626, 2563, 12, 14137, 1769, 565, 3626, 8282, 5621, 3639, 368, 18356, 14842, 1638, 5621, 3639, 368, 430, 261, 698, 67, 3772, 18, 23417, 67, 1717, 86, 422, 446, 13, 565, 368, 555, 5621, 565, 775, 67, 3772, 18, 23417, 67, 1717, 86, 18, 11255, 12, 2211, 1769, 565, 1412, 325, 67, 4793, 67, 723, 273, 1412, 18, 10437, 67, 723, 31, 565, 775, 67, 3772, 18, 23417, 67, 1349, 67, 4793, 273, 527, 2042, 12, 1349, 67, 4793, 67, 723, 1769, 565, 1817, 559, 12, 1349, 67, 4793, 67, 723, 1769, 565, 3626, 2257, 12, 698, 67, 3772, 18, 23417, 67, 1349, 67, 4793, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3626, 29987, 1685, 1435, 225, 288, 565, 3626, 7833, 1638, 5621, 565, 309, 261, 698, 67, 3772, 18, 698, 67, 723, 480, 446, 13, 1377, 288, 202, 18356, 14842, 1638, 5621, 1377, 289, 565, 855, 3513, 273, 26300, 31, 565, 775, 67, 3772, 18, 409, 67, 2436, 273, 26300, 31, 565, 1817, 3876, 5621, 565, 1412, 1335, 67, 723, 273, 1412, 18, 10437, 67, 723, 31, 565, 7110, 1335, 273, 527, 2042, 12, 14137, 67, 723, 1769, 565, 3626, 14842, 1685, 12, 2011, 1769, 565, 1817, 559, 12, 14137, 67, 723, 1769, 565, 3626, 2257, 12, 14137, 1769, 565, 3626, 43, 6302, 12, 698, 67, 3772, 18, 23417, 67, 1717, 86, 16, 2872, 28, 1769, 368, 2 ]
if (ClusterBackend.debugPrint)
if (ClusterBackend.debugging)
void combineInit() { int node_id; if (combine_ptr + 1 >= loop_start) return; init(); if (ClusterBackend.debugPrint) { System.out.println("-------------------------------------"); System.out.println("----------- COMBINING ---------------"); System.out.println("-------------------------------------"); } for (int curr = 0; curr < combine_ptr; curr++) { node_id = 0; for (int y = 0; y < ph; y++) { HashSet<SIROperator> p = sched.getAllOperatorsInPhase(y); Iterator<SIROperator> it = p.iterator(); while (it.hasNext()) { SIROperator oper = it.next(); int id = NodeEnumerator.getSIROperatorId(oper); int exec = ((Integer)phases.get(curr).get(node_id)).intValue(); int _iter = iteration.get(oper).intValue(); List<Tape> in = RegisterStreams.getNodeInStreams(oper); List<Tape> out = RegisterStreams.getNodeOutStreams(oper); for (int z = 0; z < in.size(); z++) { Tape ns = in.get(z); if (ns != null) { SIROperator src = NodeEnumerator.getOperator(ns.getSource()); int qsize = queue_size.get(makeVector(src, oper)).intValue(); qsize -= getPop(oper, z) * exec; queue_size.put(makeVector(src, oper), new Integer(qsize)); } } for (int z = 0; z < out.size(); z++) { Tape ns = out.get(z); if (ns != null) { SIROperator dst = NodeEnumerator.getOperator(ns.getDest()); int qsize = queue_size.get(makeVector(oper, dst)).intValue(); qsize += getPush(oper, z) * exec; queue_size.put(makeVector(oper, dst), new Integer(qsize)); } } for (int z = 0; z < exec; z++, _iter++) { if (!(oper instanceof SIRFilter)) continue; HashSet<LatencyConstraint> cons = LatencyConstraints.getOutgoingConstraints((SIRFilter)oper); Iterator<LatencyConstraint> ci = cons.iterator(); while (ci.hasNext()) { //System.out.println("latency constraint"); LatencyConstraint c = ci.next(); SIRFilter dst = (SIRFilter)c.getReceiver(); boolean down = LatencyConstraints.isMessageDirectionDownstream((SIRFilter)oper, (SIRFilter)dst); int init_c = c.getSourceInit(); if (down) { if (_iter >= init_c) { int s_steady = c.getSourceSteadyExec(); int cycle = (_iter - init_c) / s_steady; int offs = (_iter - init_c) % s_steady; int dep = c.getDependencyData(offs); if (dep > 0) { int cc = dep + cycle * c.getDestSteadyExec(); credit.put(dst, new Integer(cc)); if (ClusterBackend.debugPrint) System.out.println("Send credit: "+cc); } } } else { int s_steady = c.getSourceSteadyExec(); int cycle = _iter / s_steady; int offs = _iter % s_steady; int dep = c.getDependencyData(offs); if (dep > 0) { int cc = dep + cycle * c.getDestSteadyExec(); credit.put(dst, new Integer(cc)); if (ClusterBackend.debugPrint) System.out.println("Send credit: "+cc); } } } } iteration.put(oper, new Integer(_iter)); } } } boolean success = true; node_id = 0; Vector<Integer> new_phase = new Vector<Integer>(); for (int y = 0; y < ph; y++) { HashSet<SIROperator> p = sched.getAllOperatorsInPhase(y); Iterator<SIROperator> it = p.iterator(); while (it.hasNext()) { SIROperator oper = it.next(); int id = NodeEnumerator.getSIROperatorId(oper); int steady_count = ((Integer)phases.get(combine_ptr).get(node_id)).intValue() + ((Integer)phases.get(combine_ptr+1).get(node_id)).intValue(); node_id++; int _iter = iteration.get(oper).intValue(); int _credit = credit.get(oper).intValue(); int exec = steady_count; if (_credit >= 0 && _iter + steady_count > _credit) { exec = _credit - _iter; } int input = 2000000000; List<Tape> in = RegisterStreams.getNodeInStreams(oper); List<Tape> out = RegisterStreams.getNodeOutStreams(oper); for (int z = 0; z < in.size(); z++) { Tape ns = in.get(z); if (ns != null) { SIROperator src = NodeEnumerator.getOperator(ns.getSource()); int qsize = queue_size.get(makeVector(src, oper)).intValue(); int peek = getPeek(oper, z); int pop = getPop(oper, z); if (peek < pop) peek = pop; int extra = peek - pop; int can = (qsize-extra)/pop; if (can < 0) can = 0; if (can < input) input = can; } } if (input < exec) exec = input; //System.out.println("CREDIT = "+_credit+" INPUT = "+input+" EXEC = "+exec); for (int z = 0; z < in.size(); z++) { Tape ns = in.get(z); if (ns != null) { SIROperator src = NodeEnumerator.getOperator(ns.getSource()); int qsize = queue_size.get(makeVector(src, oper)).intValue(); qsize -= getPop(oper, z) * exec; queue_size.put(makeVector(src, oper), new Integer(qsize)); } } for (int z = 0; z < out.size(); z++) { Tape ns = out.get(z); if (ns != null) { SIROperator dst = NodeEnumerator.getOperator(ns.getDest()); int qsize = queue_size.get(makeVector(oper, dst)).intValue(); qsize += getPush(oper, z) * exec; queue_size.put(makeVector(oper, dst), new Integer(qsize)); } } if (ClusterBackend.debugPrint) System.out.println(oper.getName()+" Exec = "+exec+"/"+steady_count); if (exec < steady_count) success = false; new_phase.add(new Integer(exec)); // push exec count to phase vector for (int z = 0; z < exec; z++, _iter++) { if (!(oper instanceof SIRFilter)) continue; HashSet<LatencyConstraint> cons = LatencyConstraints.getOutgoingConstraints((SIRFilter)oper); Iterator<LatencyConstraint> ci = cons.iterator(); while (ci.hasNext()) { //System.out.println("latency constraint"); LatencyConstraint c = ci.next(); SIRFilter dst = (SIRFilter)c.getReceiver(); boolean down = LatencyConstraints.isMessageDirectionDownstream((SIRFilter)oper, (SIRFilter)dst); int init_c = c.getSourceInit(); if (down) { if (_iter >= init_c) { int s_steady = c.getSourceSteadyExec(); int cycle = (_iter - init_c) / s_steady; int offs = (_iter - init_c) % s_steady; int dep = c.getDependencyData(offs); //System.out.println("dep = "+dep); //System.out.println("c = "+cycle); //System.out.println("o = "+offs); if (dep > 0) { int cc = dep + cycle * c.getDestSteadyExec(); credit.put(dst, new Integer(cc)); if (ClusterBackend.debugPrint) System.out.println("Send credit: "+cc); } } } else { int s_steady = c.getSourceSteadyExec(); int cycle = _iter / s_steady; int offs = _iter % s_steady; int dep = c.getDependencyData(offs); if (dep > 0) { int cc = dep + cycle * c.getDestSteadyExec(); credit.put(dst, new Integer(cc)); if (ClusterBackend.debugPrint) System.out.println("Send credit: "+cc); } } } } iteration.put(oper, new Integer(_iter)); } } if (ClusterBackend.debugPrint) System.out.println(success?"SUCCESS":"FAILED"); if (success) { phases.set(combine_ptr, new_phase); phases.remove(combine_ptr+1); loop_start--; } else { combine_ptr++; } }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/f1197ac29a976f6015baaa30c8e231cc5cf68a9f/Greedy.java/buggy/streams/src/at/dms/kjc/cluster/Greedy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 8661, 2570, 1435, 288, 3639, 509, 756, 67, 350, 31, 3639, 309, 261, 14082, 67, 6723, 397, 404, 1545, 2798, 67, 1937, 13, 327, 31, 3639, 1208, 5621, 3639, 309, 261, 3629, 7172, 18, 4148, 1998, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 2443, 13465, 8863, 5411, 2332, 18, 659, 18, 8222, 2932, 13849, 5423, 12615, 1360, 300, 17908, 8863, 5411, 2332, 18, 659, 18, 8222, 2932, 2443, 13465, 8863, 3639, 289, 3639, 364, 261, 474, 4306, 273, 374, 31, 4306, 411, 8661, 67, 6723, 31, 4306, 27245, 288, 5411, 756, 67, 350, 273, 374, 31, 5411, 364, 261, 474, 677, 273, 374, 31, 677, 411, 1844, 31, 677, 27245, 288, 7734, 6847, 32, 2320, 1457, 457, 639, 34, 293, 273, 23964, 18, 588, 1595, 24473, 382, 11406, 12, 93, 1769, 7734, 4498, 32, 2320, 1457, 457, 639, 34, 518, 273, 293, 18, 9838, 5621, 7734, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 10792, 5705, 1457, 457, 639, 2255, 273, 518, 18, 4285, 5621, 10792, 509, 612, 273, 2029, 3572, 7385, 18, 588, 2320, 1457, 457, 639, 548, 12, 4063, 1769, 10792, 509, 1196, 273, 14015, 4522, 13, 844, 3304, 18, 588, 12, 17016, 2934, 588, 12, 2159, 67, 350, 13, 2934, 474, 620, 5621, 10792, 509, 389, 2165, 273, 6532, 18, 588, 12, 4063, 2934, 474, 620, 5621, 10792, 987, 32, 30421, 34, 316, 273, 5433, 10301, 18, 588, 907, 382, 10301, 12, 4063, 1769, 10792, 987, 32, 30421, 34, 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, 918, 8661, 2570, 1435, 288, 3639, 509, 756, 67, 350, 31, 3639, 309, 261, 14082, 67, 6723, 397, 404, 1545, 2798, 67, 1937, 13, 327, 31, 3639, 1208, 5621, 3639, 309, 261, 3629, 7172, 18, 4148, 1998, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 2443, 13465, 8863, 5411, 2332, 18, 659, 18, 8222, 2932, 13849, 5423, 12615, 1360, 300, 17908, 8863, 5411, 2332, 18, 659, 18, 8222, 2932, 2443, 13465, 8863, 3639, 289, 3639, 364, 261, 474, 4306, 273, 374, 31, 4306, 411, 8661, 67, 6723, 31, 4306, 27245, 288, 5411, 756, 67, 350, 273, 374, 31, 5411, 364, 261, 474, 677, 273, 374, 31, 677, 411, 1844, 31, 677, 27245, 288, 7734, 6847, 32, 2320, 2 ]
codeSource);
new CodeSource(entry.codeBase, entry.certificates));
protected Class findClassInternal(String name) throws ClassNotFoundException { if (!validate(name)) throw new ClassNotFoundException(name); String tempPath = name.replace('.', '/'); String classPath = tempPath + ".class"; ResourceEntry entry = null; entry = findResourceInternal(name, classPath); if (entry == null) throw new ClassNotFoundException(name); Class clazz = entry.loadedClass; if (clazz != null) return clazz; synchronized (this) { if (entry.binaryContent == null && entry.loadedClass == null) throw new ClassNotFoundException(name); } // Looking up the package String packageName = null; int pos = name.lastIndexOf('.'); if (pos != -1) packageName = name.substring(0, pos); Package pkg = null; if (packageName != null) { pkg = getPackage(packageName); // Define the package (if null) if (pkg == null) { if (entry.manifest == null) { definePackage(packageName, null, null, null, null, null, null, null); } else { definePackage(packageName, entry.manifest, entry.codeBase); } } } // Create the code source object CodeSource codeSource = new CodeSource(entry.codeBase, entry.certificates); if (securityManager != null) { // Checking sealing if (pkg != null) { boolean sealCheck = true; if (pkg.isSealed()) { sealCheck = pkg.isSealed(entry.codeBase); } else { sealCheck = (entry.manifest == null) || !isPackageSealed(packageName, entry.manifest); } if (!sealCheck) throw new SecurityException ("Sealing violation loading " + name + " : Package " + packageName + " is sealed."); } } synchronized (this) { if (entry.loadedClass == null) { clazz = defineClass(name, entry.binaryContent, 0, entry.binaryContent.length, codeSource); entry.loadedClass = clazz; entry.binaryContent = null; entry.source = null; entry.codeBase = null; entry.manifest = null; entry.certificates = null; } else { clazz = entry.loadedClass; } } return clazz; }
26330 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26330/79631bba45a132c8c614355cc11303fc113ffb0e/WebappClassLoader.java/clean/java/org/apache/catalina/loader/WebappClassLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1659, 1104, 797, 3061, 12, 780, 508, 13, 3639, 1216, 10403, 288, 3639, 309, 16051, 5662, 12, 529, 3719, 5411, 604, 394, 10403, 12, 529, 1769, 3639, 514, 1906, 743, 273, 508, 18, 2079, 2668, 1093, 16, 2023, 1769, 3639, 514, 22503, 273, 1906, 743, 397, 3552, 1106, 14432, 3639, 2591, 1622, 1241, 273, 446, 31, 3639, 1241, 273, 1104, 1420, 3061, 12, 529, 16, 22503, 1769, 3639, 309, 261, 4099, 422, 446, 13, 5411, 604, 394, 10403, 12, 529, 1769, 3639, 1659, 4003, 273, 1241, 18, 4230, 797, 31, 3639, 309, 261, 830, 3638, 480, 446, 13, 5411, 327, 4003, 31, 3639, 3852, 261, 2211, 13, 288, 5411, 309, 261, 4099, 18, 8578, 1350, 422, 446, 597, 1241, 18, 4230, 797, 422, 446, 13, 7734, 604, 394, 10403, 12, 529, 1769, 3639, 289, 3639, 368, 10176, 310, 731, 326, 2181, 3639, 514, 9929, 273, 446, 31, 3639, 509, 949, 273, 508, 18, 2722, 31985, 2668, 1093, 1769, 3639, 309, 261, 917, 480, 300, 21, 13, 5411, 9929, 273, 508, 18, 28023, 12, 20, 16, 949, 1769, 3639, 7508, 3475, 273, 446, 31, 3639, 309, 261, 5610, 461, 480, 446, 13, 288, 5411, 3475, 273, 11506, 12, 5610, 461, 1769, 5411, 368, 13184, 326, 2181, 261, 430, 446, 13, 5411, 309, 261, 10657, 422, 446, 13, 288, 7734, 309, 261, 4099, 18, 14357, 422, 446, 13, 288, 10792, 4426, 2261, 12, 5610, 461, 16, 446, 16, 446, 16, 446, 16, 446, 16, 446, 16, 21394, 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, 1659, 1104, 797, 3061, 12, 780, 508, 13, 3639, 1216, 10403, 288, 3639, 309, 16051, 5662, 12, 529, 3719, 5411, 604, 394, 10403, 12, 529, 1769, 3639, 514, 1906, 743, 273, 508, 18, 2079, 2668, 1093, 16, 2023, 1769, 3639, 514, 22503, 273, 1906, 743, 397, 3552, 1106, 14432, 3639, 2591, 1622, 1241, 273, 446, 31, 3639, 1241, 273, 1104, 1420, 3061, 12, 529, 16, 22503, 1769, 3639, 309, 261, 4099, 422, 446, 13, 5411, 604, 394, 10403, 12, 529, 1769, 3639, 1659, 4003, 273, 1241, 18, 4230, 797, 31, 3639, 309, 261, 830, 3638, 480, 446, 13, 5411, 327, 4003, 31, 3639, 3852, 261, 2211, 13, 288, 5411, 309, 261, 4099, 18, 8578, 1350, 422, 446, 2 ]
return url;
} /** * @see wicket.Component#getPath() */ public String getPath() { reset(); return super.getPath();
protected AbstractImage getJunctionImage(final DefaultMutableTreeNode node) { if (!node.isLeaf()) { // we want the image to be dynamically, yet resolving to a application // static image. IModel imgModel = new Model() { public Object getObject() { final String url; if(isExpanded(node)) { url = getRequestCycle().urlFor( JUNCTION_IMG_MINUS, IResourceListener.class); } else { url = getRequestCycle().urlFor( JUNCTION_IMG_PLUS, IResourceListener.class); } return url; } }; LocalImage img = new LocalImage(JUNCTION_IMAGE_NAME, imgModel); return img; } else { String url = getRequestCycle().urlFor(JUNCTION_IMG_BLANK, IResourceListener.class); LocalImage img = new LocalImage(JUNCTION_IMAGE_NAME, url); return img; } }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/fa621b043e832e6b9e223ce5c860a5c1d39efd4c/IndentTree.java/buggy/wicket/src/java/wicket/markup/html/tree/IndentTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4115, 2040, 9285, 418, 2040, 12, 6385, 2989, 19536, 12513, 756, 13, 202, 95, 202, 202, 430, 16051, 2159, 18, 291, 9858, 10756, 202, 202, 95, 1082, 202, 759, 732, 2545, 326, 1316, 358, 506, 18373, 16, 4671, 17188, 358, 279, 2521, 1082, 202, 759, 760, 1316, 18, 1082, 202, 45, 1488, 3774, 1488, 273, 394, 3164, 1435, 1082, 202, 95, 9506, 202, 482, 1033, 6455, 1435, 9506, 202, 95, 6862, 202, 6385, 514, 880, 31, 6862, 202, 430, 12, 291, 17957, 12, 2159, 3719, 6862, 202, 95, 25083, 202, 718, 273, 4328, 13279, 7675, 718, 1290, 12, 6862, 9506, 202, 46, 6367, 67, 3445, 43, 67, 6236, 3378, 16, 467, 1420, 2223, 18, 1106, 1769, 6862, 202, 97, 6862, 202, 12107, 6862, 202, 95, 25083, 202, 718, 273, 4328, 13279, 7675, 718, 1290, 12, 6862, 9506, 202, 46, 6367, 67, 3445, 43, 67, 6253, 3378, 16, 467, 1420, 2223, 18, 1106, 1769, 6862, 202, 97, 6862, 202, 2463, 880, 31, 9506, 202, 97, 1082, 202, 20451, 1082, 202, 2042, 2040, 3774, 273, 394, 3566, 2040, 12, 46, 6367, 67, 13603, 67, 1985, 16, 3774, 1488, 1769, 1082, 202, 2463, 3774, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 780, 880, 273, 4328, 13279, 7675, 718, 1290, 12, 46, 6367, 67, 3445, 43, 67, 38, 24307, 16, 467, 1420, 2223, 18, 1106, 1769, 1082, 202, 2042, 2040, 3774, 273, 394, 3566, 2040, 12, 46, 6367, 67, 13603, 67, 1985, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4115, 2040, 9285, 418, 2040, 12, 6385, 2989, 19536, 12513, 756, 13, 202, 95, 202, 202, 430, 16051, 2159, 18, 291, 9858, 10756, 202, 202, 95, 1082, 202, 759, 732, 2545, 326, 1316, 358, 506, 18373, 16, 4671, 17188, 358, 279, 2521, 1082, 202, 759, 760, 1316, 18, 1082, 202, 45, 1488, 3774, 1488, 273, 394, 3164, 1435, 1082, 202, 95, 9506, 202, 482, 1033, 6455, 1435, 9506, 202, 95, 6862, 202, 6385, 514, 880, 31, 6862, 202, 430, 12, 291, 17957, 12, 2159, 3719, 6862, 202, 95, 25083, 202, 718, 273, 4328, 13279, 7675, 718, 1290, 12, 6862, 9506, 202, 46, 6367, 67, 3445, 43, 67, 6236, 3378, 16, 467, 1420, 2223, 18, 1106, 1769, 2 ]
public PerspectiveDropTarget(Object draggedObject, Point location, Rectangle dragRectangle) {
public PerspectiveDropTarget(Object draggedObject, Point location, Rectangle dragRectangle) {
public PerspectiveDropTarget(Object draggedObject, Point location, Rectangle dragRectangle) { update(draggedObject, location, dragRectangle); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/04aabdd41be60938c86dabee86663a60046dd26c/PerspectiveSwitcher.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveSwitcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 453, 414, 16772, 7544, 2326, 12, 921, 8823, 2423, 921, 16, 4686, 2117, 16, 225, 13264, 8823, 19463, 13, 288, 6862, 202, 2725, 12, 15997, 2423, 921, 16, 2117, 16, 8823, 19463, 1769, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 453, 414, 16772, 7544, 2326, 12, 921, 8823, 2423, 921, 16, 4686, 2117, 16, 225, 13264, 8823, 19463, 13, 288, 6862, 202, 2725, 12, 15997, 2423, 921, 16, 2117, 16, 8823, 19463, 1769, 9506, 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 ]
assertEquals(6, values.length);
assertEquals(24, values.length);
public void testGetSchoolTypesValues() throws Exception { try { List<Record> records = createSamples(); facade.doUpdate(records); String[] values = facade.getSchoolTypesValues(); assertEquals(6, values.length); } catch (Exception e) { e.printStackTrace(); fail(); } }
11670 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11670/8fd87b1d6bddb6ad852866d330e81432e4979d46/RepositoryFacadeTest.java/buggy/trunk/src/test/java/org/metaz/repository/RepositoryFacadeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 967, 55, 343, 1371, 2016, 1972, 1435, 27573, 1216, 1185, 225, 288, 565, 775, 288, 1377, 987, 32, 2115, 34, 3853, 273, 752, 13239, 5621, 1377, 11270, 18, 2896, 1891, 12, 7094, 1769, 1377, 514, 8526, 924, 273, 11270, 18, 588, 55, 343, 1371, 2016, 1972, 5621, 1377, 1815, 8867, 12, 3247, 16, 924, 18, 2469, 1769, 565, 289, 1044, 261, 503, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 2321, 5621, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 967, 55, 343, 1371, 2016, 1972, 1435, 27573, 1216, 1185, 225, 288, 565, 775, 288, 1377, 987, 32, 2115, 34, 3853, 273, 752, 13239, 5621, 1377, 11270, 18, 2896, 1891, 12, 7094, 1769, 1377, 514, 8526, 924, 273, 11270, 18, 588, 55, 343, 1371, 2016, 1972, 5621, 1377, 1815, 8867, 12, 3247, 16, 924, 18, 2469, 1769, 565, 289, 1044, 261, 503, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 2321, 5621, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private String getChildElementValue(final PipelineContext pipelineContext, QName qName) { // NOTE: This returns an HTML string. final XFormsControls xformsControls = containingDocument.getXFormsControls(); // Check that there is a current child element final Element childElement = controlElement.element(qName); if (childElement == null) return null; // Child element becomes the new binding String result = null; xformsControls.setBinding(pipelineContext, this); xformsControls.pushBinding(pipelineContext, childElement); { final XFormsControls.BindingContext currentBindingContext = xformsControls.getCurrentBindingContext(); // "the order of precedence is: single node binding attributes, linking attributes, inline text." // Try to get single node binding if (currentBindingContext.isNewBind()) { final NodeInfo currentNode = currentBindingContext.getSingleNode(); if (currentNode != null) result = XFormsInstance.getValueForNode(currentNode); } // Try to get value attribute // NOTE: This is an extension attribute not standard in XForms 1.0 or 1.1 if (result == null) { final String valueAttribute = childElement.attributeValue("value"); if (valueAttribute != null) { final List currentNodeset = currentBindingContext.getNodeset(); if (currentNodeset != null && currentNodeset.size() > 0) { final String tempResult = containingDocument.getEvaluator().evaluateAsString(pipelineContext, currentNodeset, currentBindingContext.getPosition(), valueAttribute, Dom4jUtils.getNamespaceContextNoDefault(childElement), null, containingDocument.getXFormsControls().getFunctionLibrary(), null); result = XMLUtils.escapeXMLMinimal(tempResult); } else { result = ""; } } } // Try to get linking attribute // NOTE: This is deprecated in XForms 1.1 if (result == null) { final String srcAttributeValue = childElement.attributeValue("src"); if (srcAttributeValue != null) { try { // TODO: should cache this? final String tempResult = XFormsUtils.retrieveSrcValue(srcAttributeValue); result = XMLUtils.escapeXMLMinimal(tempResult); } catch (IOException e) { // Dispatch xforms-link-error to model final XFormsModel currentModel = currentBindingContext.getModel(); containingDocument.dispatchEvent(pipelineContext, new XFormsLinkErrorEvent(currentModel, srcAttributeValue, childElement, e)); } } } // Try to get inline value if (result == null) { System.out.println("..."); final StringBuffer sb = new StringBuffer(); // Visit the subtree and serialize // NOTE: It is a litte funny to do our own serialization here, but the alternative is to build a DOM // and serialize it, which is not trivial because of the possible interleaved xforms:output's Dom4jUtils.visitSubtree(childElement, new Dom4jUtils.VisitorListener() { public void startElement(Element element) { if (element.getQName().equals(XFormsConstants.XFORMS_OUTPUT_QNAME)) { // This is an xforms:output final XFormsOutputControl outputControl = new XFormsOutputControl(containingDocument, null, element, element.getName(), null); outputControl.setBindingContext(currentBindingContext); outputControl.evaluate(pipelineContext); // Escape only if the mediatype is not HTML if (!"text/html".equals(outputControl.getMediatype())) sb.append(XMLUtils.escapeXMLMinimal(outputControl.getDisplayValueOrValue())); else sb.append(outputControl.getDisplayValueOrValue()); } else { // This is a regular element, just serialize the start tag to no namespace sb.append('<'); sb.append(element.getName()); final List attributes = element.attributes(); if (attributes.size() > 0) { for (Iterator i = attributes.iterator(); i.hasNext();) { final Attribute currentAttribute = (Attribute) i.next(); sb.append(' '); sb.append(currentAttribute.getName()); sb.append("=\""); sb.append(currentAttribute.getValue()); sb.append('"'); } } sb.append('>'); } } public void endElement(Element element) { if (!element.getQName().equals(XFormsConstants.XFORMS_OUTPUT_QNAME)) { // This is a regular element, just serialize the end tag to no namespace sb.append("</"); sb.append(element.getName()); sb.append('>'); } } public void text(Text text) { sb.append(XMLUtils.escapeXMLMinimal(text.getStringValue())); } }); result = sb.toString(); } } xformsControls.popBinding(); return result; }
57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/5808cd7915199543a0d92a8b38748c550c55fba5/XFormsControl.java/buggy/src/java/org/orbeon/oxf/xforms/control/XFormsControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 3238, 282, 514, 282, 8154, 1046, 620, 12, 6385, 282, 13671, 1042, 282, 5873, 1042, 16, 282, 16723, 282, 22914, 13, 282, 288, 13491, 368, 282, 5219, 30, 282, 1220, 282, 1135, 282, 392, 282, 3982, 282, 533, 18, 13491, 727, 282, 1139, 18529, 16795, 282, 619, 9741, 16795, 282, 273, 282, 4191, 2519, 18, 588, 60, 18529, 16795, 5621, 13491, 368, 282, 2073, 282, 716, 282, 1915, 282, 353, 282, 279, 282, 783, 282, 1151, 282, 930, 13491, 727, 282, 3010, 282, 1151, 1046, 282, 273, 282, 3325, 1046, 18, 2956, 12, 85, 461, 1769, 13491, 309, 282, 261, 3624, 1046, 282, 422, 282, 446, 13, 4766, 565, 327, 282, 446, 31, 13491, 368, 282, 7451, 282, 930, 282, 12724, 282, 326, 282, 394, 282, 5085, 13491, 514, 282, 563, 282, 273, 282, 446, 31, 13491, 619, 9741, 16795, 18, 542, 5250, 12, 14511, 1042, 16, 282, 333, 1769, 13491, 619, 9741, 16795, 18, 6206, 5250, 12, 14511, 1042, 16, 282, 1151, 1046, 1769, 13491, 288, 4766, 565, 727, 282, 1139, 18529, 16795, 18, 5250, 1042, 282, 783, 5250, 1042, 282, 273, 282, 619, 9741, 16795, 18, 588, 3935, 5250, 1042, 5621, 4766, 565, 368, 282, 315, 5787, 282, 1353, 282, 434, 282, 14172, 282, 353, 30, 282, 2202, 282, 756, 282, 5085, 282, 1677, 16, 282, 27651, 282, 1677, 16, 282, 6370, 282, 977, 1199, 4766, 565, 368, 282, 6161, 282, 358, 282, 336, 282, 2202, 282, 756, 282, 5085, 4766, 565, 309, 282, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 3238, 282, 514, 282, 8154, 1046, 620, 12, 6385, 282, 13671, 1042, 282, 5873, 1042, 16, 282, 16723, 282, 22914, 13, 282, 288, 13491, 368, 282, 5219, 30, 282, 1220, 282, 1135, 282, 392, 282, 3982, 282, 533, 18, 13491, 727, 282, 1139, 18529, 16795, 282, 619, 9741, 16795, 282, 273, 282, 4191, 2519, 18, 588, 60, 18529, 16795, 5621, 13491, 368, 282, 2073, 282, 716, 282, 1915, 282, 353, 282, 279, 282, 783, 282, 1151, 282, 930, 13491, 727, 282, 3010, 282, 1151, 1046, 282, 273, 282, 3325, 1046, 18, 2956, 12, 85, 461, 1769, 13491, 309, 282, 261, 3624, 1046, 282, 422, 282, 446, 13, 4766, 565, 327, 282, 446, 31, 13491, 368, 282, 7451, 282, 2 ]
double apol = 0; int atomicNumber = 0; try { ifac = IsotopeFactory.getInstance(); Element element = null; Atom[] atoms = container.getAtoms(); String symbol = null; for (int i = 0; i < atoms.length; i++) { symbol = container.getAtomAt(i).getSymbol(); element = ifac.getElement(symbol); atomicNumber = element.getAtomicNumber(); apol += polarizabilities[atomicNumber]; } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(apol)); } catch (Exception ex1) { logger.debug(ex1); throw new CDKException("Problems with IsotopeFactory due to " + ex1.toString()); } }
double apol = 0; int atomicNumber = 0; try { ifac = IsotopeFactory.getInstance(); Element element = null; Atom[] atoms = container.getAtoms(); String symbol = null; for (int i = 0; i < atoms.length; i++) { symbol = container.getAtomAt(i).getSymbol(); element = ifac.getElement(symbol); atomicNumber = element.getAtomicNumber(); apol += polarizabilities[atomicNumber]; } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(apol)); } catch (Exception ex1) { logger.debug(ex1); throw new CDKException("Problems with IsotopeFactory due to " + ex1.toString()); } }
public DescriptorValue calculate(AtomContainer container) throws CDKException { double apol = 0; int atomicNumber = 0; try { ifac = IsotopeFactory.getInstance(); Element element = null; Atom[] atoms = container.getAtoms(); String symbol = null; for (int i = 0; i < atoms.length; i++) { symbol = container.getAtomAt(i).getSymbol(); element = ifac.getElement(symbol); atomicNumber = element.getAtomicNumber(); apol += polarizabilities[atomicNumber]; } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(apol)); } catch (Exception ex1) { logger.debug(ex1); throw new CDKException("Problems with IsotopeFactory due to " + ex1.toString()); } }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/4bc2c11fccaec888ecd7ae5d5a9705014f7ebbca/APolDescriptor.java/buggy/src/org/openscience/cdk/qsar/APolDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 3641, 2170, 1478, 13, 1216, 24570, 288, 202, 202, 9056, 513, 355, 273, 374, 31, 202, 202, 474, 7960, 1854, 273, 374, 31, 202, 202, 698, 288, 1082, 202, 430, 1077, 273, 2585, 18946, 1733, 18, 588, 1442, 5621, 25083, 202, 1046, 930, 273, 446, 31, 1082, 202, 3641, 8526, 9006, 273, 1478, 18, 588, 14280, 5621, 1082, 202, 780, 3273, 273, 446, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 9006, 18, 2469, 31, 277, 27245, 288, 9506, 202, 7175, 273, 1478, 18, 588, 3641, 861, 12, 77, 2934, 588, 5335, 5621, 9506, 202, 2956, 273, 309, 1077, 18, 21336, 12, 7175, 1769, 9506, 202, 27718, 1854, 273, 930, 18, 588, 23102, 1854, 5621, 9506, 202, 438, 355, 1011, 24244, 452, 5756, 63, 27718, 1854, 15533, 1082, 202, 97, 1082, 202, 2463, 394, 12823, 620, 12, 588, 8615, 9334, 5575, 1557, 9334, 10028, 9334, 394, 3698, 1253, 12, 438, 355, 10019, 202, 202, 97, 1044, 261, 503, 431, 21, 13, 288, 10792, 1194, 18, 4148, 12, 338, 21, 1769, 1082, 202, 12849, 394, 24570, 2932, 626, 19122, 598, 2585, 18946, 1733, 6541, 358, 315, 397, 431, 21, 18, 10492, 10663, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0,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, 1077, 273, 2585, 18946, 1733, 18, 588, 1442, 5621, 25083, 202, 1046, 930, 273, 446, 31, 1082, 202, 3641, 8526, 9006, 273, 1478, 18, 588, 14280, 5621, 1082, 202, 780, 3273, 273, 446, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 9006, 18, 2469, 31, 277, 27245, 288, 9506, 202, 7175, 273, 1478, 18, 588, 3641, 861, 12, 77, 2934, 588, 5335, 5621, 9506, 202, 2956, 273, 309, 1077, 18, 21336, 12, 7175, 1769, 9506, 202, 27718, 1854, 2 ]
atrClausula = Clausula(); errDeNega = atrClausula.getErr(); tipoNega = atrClausula.getTipo();
atrDeClausula = Clausula(); errDeNega = atrDeClausula.getErr();
public Atributos Nega() throws Exception{ System.out.println("Nega"); Atributos a = new Atributos(); boolean errDeNega = true; String tipoNega = ""; Atributos atrClausula; Token tk; Token aux = new Token(); tk = lexico.getNextToken(); tk = lexico.lexer(Tipos.TKNOT); if (!tk.equals(aux)){ atrClausula = Clausula(); errDeNega = atrClausula.getErr(); tipoNega = atrClausula.getTipo(); genOpNot(); } else{ atrClausula = Clausula(); errDeNega = atrClausula.getErr(); tipoNega = atrClausula.getTipo(); } a.setErr(errDeNega); a.setTipo(tipoNega); return a; }
10474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10474/607fe0347d565e290f4f50c945e527feb5f375fe/Sintactico.java/buggy/plg/procesador/Sintactico.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 432, 665, 322, 538, 423, 11061, 1435, 1216, 1185, 95, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 50, 11061, 8863, 202, 202, 37, 665, 322, 538, 279, 273, 394, 432, 665, 322, 538, 5621, 202, 202, 6494, 393, 758, 50, 11061, 273, 638, 31, 202, 202, 780, 25196, 50, 11061, 273, 1408, 31, 202, 202, 37, 665, 322, 538, 622, 86, 2009, 69, 407, 5552, 31, 202, 202, 1345, 13030, 31, 202, 202, 1345, 9397, 273, 394, 3155, 5621, 202, 202, 16099, 273, 5275, 10764, 18, 588, 9399, 5621, 202, 202, 16099, 273, 5275, 10764, 18, 31731, 12, 14189, 538, 18, 56, 47, 4400, 1769, 202, 202, 430, 16051, 16099, 18, 14963, 12, 18196, 3719, 95, 1082, 202, 270, 86, 2009, 69, 407, 5552, 273, 3905, 69, 407, 5552, 5621, 1082, 202, 370, 758, 50, 11061, 273, 622, 86, 2009, 69, 407, 5552, 18, 588, 2524, 5621, 1082, 202, 14587, 83, 50, 11061, 273, 622, 86, 2009, 69, 407, 5552, 18, 588, 14189, 83, 5621, 1082, 202, 4507, 3817, 1248, 5621, 202, 202, 97, 202, 202, 12107, 95, 1082, 202, 270, 86, 2009, 69, 407, 5552, 273, 3905, 69, 407, 5552, 5621, 1082, 202, 370, 758, 50, 11061, 273, 622, 86, 2009, 69, 407, 5552, 18, 588, 2524, 5621, 1082, 202, 14587, 83, 50, 11061, 273, 622, 86, 2009, 69, 407, 5552, 18, 588, 14189, 83, 5621, 202, 202, 97, 202, 202, 69, 18, 542, 2524, 12, 370, 758, 50, 11061, 1769, 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, 432, 665, 322, 538, 423, 11061, 1435, 1216, 1185, 95, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 50, 11061, 8863, 202, 202, 37, 665, 322, 538, 279, 273, 394, 432, 665, 322, 538, 5621, 202, 202, 6494, 393, 758, 50, 11061, 273, 638, 31, 202, 202, 780, 25196, 50, 11061, 273, 1408, 31, 202, 202, 37, 665, 322, 538, 622, 86, 2009, 69, 407, 5552, 31, 202, 202, 1345, 13030, 31, 202, 202, 1345, 9397, 273, 394, 3155, 5621, 202, 202, 16099, 273, 5275, 10764, 18, 588, 9399, 5621, 202, 202, 16099, 273, 5275, 10764, 18, 31731, 12, 14189, 538, 18, 56, 47, 4400, 1769, 202, 202, 430, 16051, 16099, 18, 14963, 12, 18196, 3719, 2 ]
new double[]{0.93,0.75,0.1, 1.0,0.6,0.1});
new double[]{0.93,0.75,0.1,1.0,0.6,0.1});
public void testSampleExtractionTest() { SpanFeatureExtractor fe = new Recommended.TokenFE(); doExtractionTest( new SequenceAnnotatorLearner( new CMMLearner(new VotedPerceptron(), 3), fe), new double[]{0.93,0.75,0.1, 1.0,0.6,0.1}); doExtractionTest( new SequenceAnnotatorLearner( new CMMLearner(new SVMLearner(), 3), fe), new double[]{0.93,1.0,0.1, 1.0,1.0,0.1} ); }
51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/855f10f0be51395949365698948f282cc1e1495c/SampleExtractionTest.java/clean/test/edu/cmu/minorthird/text/learn/SampleExtractionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 8504, 25757, 4709, 1435, 225, 288, 202, 202, 6952, 4595, 10958, 1656, 273, 394, 25546, 3934, 18, 1345, 8090, 5621, 202, 202, 2896, 25757, 4709, 12, 394, 8370, 11280, 639, 1682, 24834, 12, 394, 15871, 1495, 2091, 1224, 12, 2704, 776, 16474, 2173, 311, 6723, 265, 9334, 890, 3631, 1656, 3631, 6862, 6862, 1082, 394, 1645, 63, 7073, 20, 18, 11180, 16, 20, 18, 5877, 16, 20, 18, 21, 16, 404, 18, 20, 16, 20, 18, 26, 16, 20, 18, 21, 22938, 202, 202, 2896, 25757, 4709, 12, 394, 8370, 11280, 639, 1682, 24834, 12, 394, 15871, 1495, 2091, 1224, 12, 2704, 29537, 1495, 2091, 1224, 9334, 890, 3631, 225, 1656, 3631, 6862, 6862, 1082, 202, 2704, 1645, 63, 7073, 20, 18, 11180, 16, 21, 18, 20, 16, 20, 18, 21, 16, 225, 404, 18, 20, 16, 21, 18, 20, 16, 20, 18, 21, 97, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 1842, 8504, 25757, 4709, 1435, 225, 288, 202, 202, 6952, 4595, 10958, 1656, 273, 394, 25546, 3934, 18, 1345, 8090, 5621, 202, 202, 2896, 25757, 4709, 12, 394, 8370, 11280, 639, 1682, 24834, 12, 394, 15871, 1495, 2091, 1224, 12, 2704, 776, 16474, 2173, 311, 6723, 265, 9334, 890, 3631, 1656, 3631, 6862, 6862, 1082, 394, 1645, 63, 7073, 20, 18, 11180, 16, 20, 18, 5877, 16, 20, 18, 21, 16, 404, 18, 20, 16, 20, 18, 26, 16, 20, 18, 21, 22938, 202, 202, 2896, 25757, 4709, 12, 394, 8370, 11280, 639, 1682, 24834, 12, 394, 15871, 1495, 2091, 1224, 12, 2704, 29537, 1495, 2091, 1224, 9334, 890, 3631, 225, 1656, 3631, 6862, 6862, 1082, 2 ]
public RubyBoolean respond_to(RubySymbol sym) {
public RubyBoolean respond_to(RubyObject methodName) { String name; if (methodName instanceof RubySymbol) { name = ((RubySymbol) methodName).toId(); } else if (methodName instanceof RubyString) { name = ((RubyString) methodName).getValue(); } else { throw new ArgumentError(getRuby(), "not a symbol"); }
public RubyBoolean respond_to(RubySymbol sym) { //Look in cache CacheEntry ent = getRuby().getMethodCache().getEntry(getRubyClass(), sym.toId()); if (ent != null) { //Check to see if it's private and we're not including privates(return false) //otherwise return true return ruby.getTrue(); } //Get from instance IMethod method = getRubyClass().searchMethod(sym.toId()); if (method != null) { return ruby.getTrue(); } return ruby.getFalse(); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/4e4c0a90262b62b83d3fc5717371745bcc928c2b/RubyObject.java/clean/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 6846, 67, 869, 12, 54, 10340, 921, 4918, 13, 288, 514, 508, 31, 309, 261, 2039, 461, 1276, 19817, 5335, 13, 288, 508, 273, 14015, 54, 10340, 5335, 13, 4918, 2934, 869, 548, 5621, 289, 469, 309, 261, 2039, 461, 1276, 19817, 780, 13, 288, 508, 273, 14015, 54, 10340, 780, 13, 4918, 2934, 24805, 5621, 289, 469, 288, 604, 394, 9236, 12, 588, 54, 10340, 9334, 315, 902, 279, 3273, 8863, 289, 540, 368, 9794, 316, 1247, 3639, 27657, 3281, 273, 4170, 10340, 7675, 588, 1305, 1649, 7675, 588, 1622, 12, 588, 54, 10340, 797, 9334, 5382, 18, 869, 548, 10663, 3639, 309, 261, 319, 480, 446, 13, 288, 5411, 368, 1564, 358, 2621, 309, 518, 1807, 3238, 471, 732, 4565, 486, 6508, 6015, 815, 12, 2463, 629, 13, 5411, 368, 29778, 327, 638, 5411, 327, 22155, 18, 588, 5510, 5621, 3639, 289, 3639, 368, 967, 628, 791, 3639, 467, 1305, 707, 273, 4170, 10340, 797, 7675, 3072, 1305, 12, 8117, 18, 869, 548, 10663, 3639, 309, 261, 2039, 480, 446, 13, 288, 5411, 327, 22155, 18, 588, 5510, 5621, 3639, 289, 3639, 327, 22155, 18, 588, 8381, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 6846, 67, 869, 12, 54, 10340, 921, 4918, 13, 288, 514, 508, 31, 309, 261, 2039, 461, 1276, 19817, 5335, 13, 288, 508, 273, 14015, 54, 10340, 5335, 13, 4918, 2934, 869, 548, 5621, 289, 469, 309, 261, 2039, 461, 1276, 19817, 780, 13, 288, 508, 273, 14015, 54, 10340, 780, 13, 4918, 2934, 24805, 5621, 289, 469, 288, 604, 394, 9236, 12, 588, 54, 10340, 9334, 315, 902, 279, 3273, 8863, 289, 540, 368, 9794, 316, 1247, 3639, 27657, 3281, 273, 4170, 10340, 7675, 588, 1305, 1649, 7675, 588, 1622, 12, 588, 54, 10340, 797, 9334, 5382, 18, 869, 548, 10663, 3639, 309, 261, 319, 480, 446, 13, 288, 5411, 368, 1564, 358, 2621, 2 ]
public PermissionDescriptor(Element permission) { init(permission);
public PermissionDescriptor() {
public PermissionDescriptor(Element permission) { init(permission); }
7621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7621/4c41edce1cb52c59a232efb4c9d5ba120d2558ba/PermissionDescriptor.java/buggy/src/java/com/opensymphony/workflow/loader/PermissionDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8509, 3187, 12, 1046, 4132, 13, 288, 3639, 1208, 12, 9827, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8509, 3187, 12, 1046, 4132, 13, 288, 3639, 1208, 12, 9827, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Type retrieve( Class type, Object key ) { Session session = null; try { Type retval; session = openSession(); Transaction tx = session.beginTransaction(); retval = (Type) session.get( type, (Serializable) key ); tx.commit(); //session.close(); return retval; } catch (Exception e) { //e.printStackTrace(); LOG.error( e ); try { if( session != null && session.isOpen() ) { if ( session.isConnected() ) session.connection().rollback(); session.close(); } } catch( Exception ignore ) { LOG.error( ignore ); } try { if (sessionFactory!=null) { sessionFactory.close(); sessionFactory=null; } } catch( Exception ignore ) { LOG.error( ignore ); } return null; } }
51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/8b7e6c005d18c6dc6d02b4588af401617a55c949/DelegatedHibernateDAO.java/buggy/yawl/src/au/edu/qut/yawl/persistence/dao/DelegatedHibernateDAO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 56, 8300, 3333, 537, 12, 2009, 345, 27273, 16, 921, 856, 15329, 1082, 202, 2157, 3184, 33, 2011, 31, 1082, 202, 698, 95, 9506, 202, 56, 8300, 278, 1125, 31, 9506, 202, 3184, 33, 3190, 2157, 5621, 9506, 202, 3342, 978, 33, 3184, 18, 10086, 3342, 5621, 9506, 202, 18341, 28657, 559, 13, 3184, 18, 588, 12, 723, 16, 12, 21682, 13, 856, 1769, 9506, 202, 978, 18, 7371, 5621, 9506, 202, 759, 3184, 18, 4412, 5621, 9506, 202, 2463, 18341, 31, 1082, 202, 97, 1082, 202, 14683, 12, 503, 73, 15329, 9506, 202, 759, 73, 18, 1188, 6332, 5621, 9506, 202, 4842, 18, 1636, 12, 73, 1769, 9506, 202, 698, 95, 6862, 202, 430, 12, 3184, 5, 33, 2011, 10, 10, 3184, 18, 291, 3678, 10756, 95, 25083, 202, 430, 12, 3184, 18, 291, 8932, 10756, 3184, 18, 4071, 7675, 20050, 5621, 25083, 202, 3184, 18, 4412, 5621, 6862, 202, 97, 9506, 202, 97, 9506, 202, 14683, 12, 503, 6185, 15329, 6862, 9506, 202, 4842, 18, 1636, 12, 6185, 1769, 9506, 202, 97, 9506, 202, 698, 95, 6862, 202, 430, 12, 3184, 1733, 5, 33, 2011, 15329, 25083, 202, 3184, 1733, 18, 4412, 5621, 25083, 202, 3184, 1733, 33, 2011, 31, 6862, 202, 97, 9506, 202, 97, 9506, 202, 14683, 12, 503, 6185, 15329, 6862, 202, 4842, 18, 1636, 12, 6185, 1769, 9506, 202, 97, 9506, 202, 2463, 2011, 31, 1082, 202, 97, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 56, 8300, 3333, 537, 12, 2009, 345, 27273, 16, 921, 856, 15329, 1082, 202, 2157, 3184, 33, 2011, 31, 1082, 202, 698, 95, 9506, 202, 56, 8300, 278, 1125, 31, 9506, 202, 3184, 33, 3190, 2157, 5621, 9506, 202, 3342, 978, 33, 3184, 18, 10086, 3342, 5621, 9506, 202, 18341, 28657, 559, 13, 3184, 18, 588, 12, 723, 16, 12, 21682, 13, 856, 1769, 9506, 202, 978, 18, 7371, 5621, 9506, 202, 759, 3184, 18, 4412, 5621, 9506, 202, 2463, 18341, 31, 1082, 202, 97, 1082, 202, 14683, 12, 503, 73, 15329, 9506, 202, 759, 73, 18, 1188, 6332, 5621, 9506, 202, 4842, 18, 1636, 12, 73, 1769, 9506, 202, 698, 95, 6862, 202, 430, 12, 2 ]
this.name = value; }
this.name = value; }
public void setName(String value) { this.name = value; }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/99f335ad4dfc53503a1890e981ff118c3c404811/InsertTag.java/buggy/src/share/org/apache/struts/taglib/tiles/InsertTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6788, 12, 780, 460, 13, 288, 202, 202, 2211, 18, 529, 273, 460, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6788, 12, 780, 460, 13, 288, 202, 202, 2211, 18, 529, 273, 460, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void execute() { dssArray = DisplayUtils.getComponents(dataSetSeismogram); if(dssArray.length < 2){// in case only one component was available completion = false; return; } ChannelId[] channelGroup = new ChannelId[dssArray.length]; for(int counter = 0; counter < dssArray.length; counter++) { channelGroup[counter] = dssArray[counter].getRequestFilter().channel_id; } for(int counter = 0; counter < dssArray.length; counter++) { String counterOrientation = DisplayUtils.getOrientationName(channelGroup[counter].channel_code); for(int subcounter = counter+1; subcounter < dssArray.length; subcounter++) { boolean horizPlane = isHorizontalPlane(dssArray[counter].getRequestFilter().channel_id, dssArray[subcounter].getRequestFilter().channel_id, dssArray[counter].getDataSet()); String subCounterOrientation = DisplayUtils.getOrientationName(channelGroup[subcounter].channel_code); String orientationString; DataSetSeismogram hSeis,vSeis; //From display util determined orientation, lay the seismograms //out in the particle motion view if(counterOrientation.equals(DisplayUtils.UP)){//Up always goes vertical vSeis = dssArray[counter]; hSeis = dssArray[subcounter]; orientationString = counterOrientation + "-" + subCounterOrientation; }else if(counterOrientation.equals(DisplayUtils.EAST)){//East always goes horizontal vSeis = dssArray[subcounter]; hSeis = dssArray[counter]; orientationString = subCounterOrientation + "-" + counterOrientation; }else{//counterOrientation must be North if(subCounterOrientation.equals(DisplayUtils.EAST)){//North goes vertical with East vSeis = dssArray[counter]; hSeis = dssArray[subcounter]; orientationString = counterOrientation + "-" + subCounterOrientation; }else{//North goes horizontal with Up vSeis = dssArray[subcounter]; hSeis = dssArray[counter]; orientationString = subCounterOrientation + "-" + counterOrientation; } } particleMotionDisplay.getView().add(hSeis, vSeis, tc, displayColor, orientationString, horizPlane); } } completion = true; }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/ce5022aaf4719514ac6ce4e87697297490695185/ParticleMotionDisplayThread.java/clean/src/edu/sc/seis/fissuresUtil/display/ParticleMotionDisplayThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 90, 11359, 561, 557, 624, 1435, 95, 72, 1049, 1076, 33, 4236, 1989, 18, 588, 7171, 12, 892, 694, 1761, 6228, 5553, 1769, 430, 12, 72, 1049, 1076, 18, 2469, 32, 22, 15329, 759, 267, 3593, 3700, 476, 4652, 17416, 5699, 11469, 33, 5743, 31, 2463, 31, 97, 2909, 548, 8526, 4327, 1114, 33, 2704, 2909, 548, 63, 72, 1049, 1076, 18, 2469, 15533, 1884, 12, 474, 7476, 33, 20, 31, 7476, 32, 72, 1049, 1076, 18, 2469, 31, 7476, 27245, 95, 4327, 1114, 63, 7476, 65, 33, 72, 1049, 1076, 63, 7476, 8009, 588, 691, 1586, 7675, 4327, 67, 350, 31, 97, 1884, 12, 474, 7476, 33, 20, 31, 7476, 32, 72, 1049, 1076, 18, 2469, 31, 7476, 27245, 95, 780, 7476, 14097, 33, 4236, 1989, 18, 588, 14097, 461, 12, 4327, 1114, 63, 7476, 8009, 4327, 67, 710, 1769, 1884, 12, 474, 1717, 7476, 33, 7476, 15, 21, 31, 1717, 7476, 32, 72, 1049, 1076, 18, 2469, 31, 1717, 7476, 27245, 95, 6494, 76, 5331, 19505, 33, 291, 14457, 19505, 12, 72, 1049, 1076, 63, 7476, 8009, 588, 691, 1586, 7675, 4327, 67, 350, 16, 72, 1049, 1076, 63, 1717, 7476, 8009, 588, 691, 1586, 7675, 4327, 67, 350, 16, 72, 1049, 1076, 63, 7476, 8009, 588, 13676, 10663, 780, 1717, 4789, 14097, 33, 4236, 1989, 18, 588, 14097, 461, 12, 4327, 1114, 63, 1717, 7476, 8009, 4327, 67, 710, 1769, 780, 19235, 780, 31, 13676, 1761, 6228, 5553, 76, 1761, 291, 16, 90, 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, 90, 11359, 561, 557, 624, 1435, 95, 72, 1049, 1076, 33, 4236, 1989, 18, 588, 7171, 12, 892, 694, 1761, 6228, 5553, 1769, 430, 12, 72, 1049, 1076, 18, 2469, 32, 22, 15329, 759, 267, 3593, 3700, 476, 4652, 17416, 5699, 11469, 33, 5743, 31, 2463, 31, 97, 2909, 548, 8526, 4327, 1114, 33, 2704, 2909, 548, 63, 72, 1049, 1076, 18, 2469, 15533, 1884, 12, 474, 7476, 33, 20, 31, 7476, 32, 72, 1049, 1076, 18, 2469, 31, 7476, 27245, 95, 4327, 1114, 63, 7476, 65, 33, 72, 1049, 1076, 63, 7476, 8009, 588, 691, 1586, 7675, 4327, 67, 350, 31, 97, 1884, 12, 474, 7476, 33, 20, 31, 7476, 32, 72, 1049, 1076, 18, 2469, 31, 2 ]
if (thisObj == (Scriptable)args[0].getPrototype())
if (thisObj == ((Scriptable)args[0]).getPrototype())
public static Object jsFunction_isPrototypeOf(Context cx, Scriptable thisObj, Object[] args, Function funObj) { if (args.length != 0) if (args[0] instanceof Scriptable) if (thisObj == (Scriptable)args[0].getPrototype()) return Boolean.TRUE; return Boolean.FALSE; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/e7cd7580aab7b960803d3130cd2134c883a63a27/NativeObject.java/buggy/src/org/mozilla/javascript/NativeObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 291, 15846, 951, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 10402, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 309, 261, 1968, 18, 2469, 480, 374, 13, 5411, 309, 261, 1968, 63, 20, 65, 1276, 22780, 13, 7734, 309, 261, 2211, 2675, 422, 14015, 3651, 429, 13, 1968, 63, 20, 65, 2934, 588, 15846, 10756, 5411, 327, 3411, 18, 18724, 31, 3639, 327, 3411, 18, 21053, 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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15261, 16, 4766, 10402, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 309, 261, 1968, 18, 2469, 480, 374, 13, 5411, 309, 261, 1968, 63, 20, 65, 1276, 22780, 13, 7734, 309, 261, 2211, 2675, 422, 14015, 3651, 429, 13, 1968, 63, 20, 65, 2934, 588, 15846, 10756, 5411, 327, 3411, 18, 18724, 31, 3639, 327, 3411, 18, 21053, 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 ]
return PsiManager.getInstance(file.getProject()).findDirectory( ProjectRootManager.getInstance(file.getProject()).getFileIndex().getContentRootForFile(file.getVirtualFile()) );
final VirtualFile contentRootForFile = ProjectRootManager.getInstance(project).getFileIndex().getContentRootForFile(file.getVirtualFile()); if (contentRootForFile!=null) { return PsiManager.getInstance(project).findDirectory(contentRootForFile); }
public PsiElement getDefaultContext (PsiElement element) { Project project = element.getProject(); PsiFile file = element.getContainingFile(); if (!file.isPhysical()) file = file.getOriginalFile(); if (file == null) return null; final WebModuleProperties properties = (WebModuleProperties)WebUtil.getWebModuleProperties(file); if (myPathString.startsWith(SEPARATOR_STRING)) { if (properties != null) { return JspManager.getInstance(project).findWebDirectoryElementByPath("/", properties); } else { return PsiManager.getInstance(file.getProject()).findDirectory( ProjectRootManager.getInstance(file.getProject()).getFileIndex().getContentRootForFile(file.getVirtualFile()) ); } } else { final PsiDirectory dir = file.getContainingDirectory(); if (dir != null) { if (properties != null) { return JspManager.getInstance(project).findWebDirectoryByFile(dir.getVirtualFile(), properties); } else { return dir; } } } return null; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/5248f293b90f5eca89c3eb900d71dc882378f231/FileReferenceSet.java/buggy/source/com/intellij/psi/impl/source/resolve/reference/impl/providers/FileReferenceSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 453, 7722, 1046, 4829, 1042, 261, 52, 7722, 1046, 930, 13, 288, 565, 5420, 1984, 273, 930, 18, 588, 4109, 5621, 565, 453, 7722, 812, 585, 273, 930, 18, 588, 24344, 812, 5621, 565, 309, 16051, 768, 18, 291, 18136, 10756, 585, 273, 585, 18, 588, 8176, 812, 5621, 565, 309, 261, 768, 422, 446, 13, 327, 446, 31, 565, 727, 2999, 3120, 2297, 1790, 273, 261, 4079, 3120, 2297, 13, 4079, 1304, 18, 588, 4079, 3120, 2297, 12, 768, 1769, 565, 309, 261, 4811, 743, 780, 18, 17514, 1190, 12, 4550, 67, 5804, 3719, 288, 1377, 309, 261, 4738, 480, 446, 13, 288, 3639, 327, 19300, 1318, 18, 588, 1442, 12, 4406, 2934, 4720, 4079, 2853, 1046, 16736, 2932, 19, 3113, 1790, 1769, 1377, 289, 469, 288, 3639, 327, 453, 7722, 1318, 18, 588, 1442, 12, 768, 18, 588, 4109, 1435, 2934, 4720, 2853, 12, 1850, 5420, 2375, 1318, 18, 588, 1442, 12, 768, 18, 588, 4109, 1435, 2934, 29925, 1016, 7675, 588, 1350, 2375, 1290, 812, 12, 768, 18, 588, 6466, 812, 10756, 3639, 11272, 1377, 289, 565, 289, 565, 469, 288, 1377, 727, 453, 7722, 2853, 1577, 273, 585, 18, 588, 24344, 2853, 5621, 1377, 309, 261, 1214, 480, 446, 13, 288, 3639, 309, 261, 4738, 480, 446, 13, 288, 1850, 327, 19300, 1318, 18, 588, 1442, 12, 4406, 2934, 4720, 4079, 2853, 858, 812, 12, 1214, 18, 588, 6466, 812, 9334, 1790, 1769, 3639, 289, 469, 288, 1850, 327, 1577, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 453, 7722, 1046, 4829, 1042, 261, 52, 7722, 1046, 930, 13, 288, 565, 5420, 1984, 273, 930, 18, 588, 4109, 5621, 565, 453, 7722, 812, 585, 273, 930, 18, 588, 24344, 812, 5621, 565, 309, 16051, 768, 18, 291, 18136, 10756, 585, 273, 585, 18, 588, 8176, 812, 5621, 565, 309, 261, 768, 422, 446, 13, 327, 446, 31, 565, 727, 2999, 3120, 2297, 1790, 273, 261, 4079, 3120, 2297, 13, 4079, 1304, 18, 588, 4079, 3120, 2297, 12, 768, 1769, 565, 309, 261, 4811, 743, 780, 18, 17514, 1190, 12, 4550, 67, 5804, 3719, 288, 1377, 309, 261, 4738, 480, 446, 13, 288, 3639, 327, 19300, 1318, 18, 588, 1442, 12, 4406, 2934, 4720, 4079, 2853, 2 ]
if (msgPkt.getBodies().isEmpty() && msgPkt.getExtensions().isEmpty() && msgPkt.getSubjects().isEmpty() && msgPkt.getThreadID() == null)
if (msgPkt.getBodies().isEmpty() && msgPkt.getExtensions().isEmpty() && msgPkt.getSubjects().isEmpty() && msgPkt.getThreadID() == null)
public void handle(Socket socket, ConnectionContext connCtx) throws IOException { UnmarshallingContext uctx = streamCtx.getUnmarshallingContext(); // start incoming data packet reading and outgoing packet queue sending try { while (!shutdown) { while (paused && !shutdown) synchronized (this) { try { wait(); } catch (InterruptedException ex) { // intentionally left empty } } if (shutdown) break; queue.resume(); streamCtx.getReader().startLogging(); // purposely synchronize because of possible multithread // accessing issue synchronized (uctx) { uctx.next(); } IStanzaPacket packet = null; if (!paused) { // parse incoming data if (uctx.currentEvent() == UnmarshallingContext.END_DOCUMENT) { break; } else if (uctx.isEnd()) { continue; } else if (uctx.isAt(NS_XMPP_CLIENT, PRESENCE_ELEMENT_NAME)) { packet = (IStanzaPacket) JiBXUtil.unmarshallObject(uctx, PresencePacket.class); } else if (uctx.isAt(NS_XMPP_CLIENT, MESSAGE_ELEMENT_NAME)) { MessagePacket msgPkt = (MessagePacket) JiBXUtil.unmarshallObject(uctx, MessagePacket.class); // according to XMPP, message stanza with no child // element // or unknown namespace extensions should be ignored // This translates to this API ignoring message stanzas // with no child elements // and no extensions in this API. if (msgPkt.getBodies().isEmpty() && msgPkt.getExtensions().isEmpty() && msgPkt.getSubjects().isEmpty() && msgPkt.getThreadID() == null) streamCtx.getReader().flushIgnoredDataToLog(); else packet = msgPkt; } else if (uctx.isAt(NS_XMPP_CLIENT, IQ_ELEMENT_NAME)) { IQPacket iqpkt = (IQPacket) JiBXUtil.unmarshallObject(uctx, IQPacket.class); // according to XMPP, if an entity receives an IQ stanza // of type "get" or "set" containing a child element // qualified by a namespace it does not understand, the // entity SHOULD return an IQ stanza of type "error" // with an error condition of <service-unavailable/>. // Here, it is ignored as well. In addition, an // error packet is also sent back to the user, as // specified by the specs. if (IQPacket.class.getName().equals(iqpkt.getClass().getName()) && (IQPacket.TYPE_SET.equals(iqpkt.getType()) || IQPacket.TYPE_GET.equals(iqpkt.getType()))) { if (log.isDebugEnabled()) log.debug("Found IQ packet with unknown extension inside. Ignoring and sending unavailable error packet reply..."); streamCtx.getReader().flushIgnoredDataToLog(); IQPacket errpkt = new IQPacket(); errpkt.setTo(iqpkt.getFrom()); errpkt.setId(iqpkt.getId()); // TODO: For now, the return result does not include // the original packet request data. XMPP specs // RECOMMENDS includes the original packet request // data. StanzaErrorPacket error = new StanzaErrorPacket(); error.setCondition(ErrorCode.C_SERVICE_UNAVAILABLE); error.setErrorType(StanzaErrorPacket.CANCEL); errpkt.setError(error); try { queuePacket(errpkt, false); } catch (SendPacketFailedException ex) { // intentionally empty (will never get thrown) } } else { packet = iqpkt; } } else if (uctx.isAt(NS_JABBER_STREAM, ERROR_ELEMENT_NAME)) { // stream level error received = close stream ErrorPacket errorPkt = (ErrorPacket) JiBXUtil.unmarshallObject(uctx, ErrorPacket.class); XMPPStanzaErrorException ex = new XMPPStanzaErrorException("Stream error", errorPkt); IOException ioex = new IOException(); ioex.initCause(ex); throw ioex; } else { uctx.skipElement(); streamCtx.getReader().flushIgnoredDataToLog(); } // match packets with those in queue in case any packets are // waiting for replies if (packet != null) { packet = queue.packetReceived(packet); if (listenerManager != null) listenerManager.firePacketReceived(packet); streamCtx.getReader().flushLog(); } } } } catch (JiBXException ex) { // intentionally left empty if (log.isInfoEnabled()) log.info("Error while reading incoming data. Likely stream is closed due to shutdown or error", ex); } finally { // error reading incoming data (maybe connection closed) shutdown(); endStream(); IOUtil.closeSocket(streamCtx.getSocket()); } }
13024 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13024/8aa5f83e7598eea04256ed347903a98b5b4bc4ad/XMPPConnectionHandler.java/buggy/feridian/trunk/modules/xmpp/src/com/echomine/xmpp/impl/XMPPConnectionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 12, 4534, 2987, 16, 4050, 1042, 1487, 6442, 13, 1216, 1860, 288, 3639, 1351, 12201, 310, 1042, 582, 5900, 273, 1407, 6442, 18, 588, 984, 12201, 310, 1042, 5621, 3639, 368, 787, 6935, 501, 4414, 6453, 471, 12902, 4414, 2389, 5431, 3639, 775, 288, 5411, 1323, 16051, 15132, 13, 288, 7734, 1323, 261, 8774, 3668, 597, 401, 15132, 13, 10792, 3852, 261, 2211, 13, 288, 13491, 775, 288, 18701, 2529, 5621, 13491, 289, 1044, 261, 24485, 503, 431, 13, 288, 18701, 368, 509, 22918, 2002, 1008, 13491, 289, 10792, 289, 7734, 309, 261, 15132, 13, 10792, 898, 31, 7734, 2389, 18, 25158, 5621, 7734, 1407, 6442, 18, 588, 2514, 7675, 1937, 7735, 5621, 7734, 368, 5405, 917, 2357, 16978, 2724, 434, 3323, 1778, 483, 896, 7734, 368, 19531, 5672, 7734, 3852, 261, 853, 92, 13, 288, 10792, 582, 5900, 18, 4285, 5621, 7734, 289, 7734, 467, 510, 15214, 6667, 4414, 273, 446, 31, 7734, 309, 16051, 8774, 3668, 13, 288, 10792, 368, 1109, 6935, 501, 10792, 309, 261, 853, 92, 18, 2972, 1133, 1435, 422, 1351, 12201, 310, 1042, 18, 4415, 67, 18450, 13, 288, 13491, 898, 31, 10792, 289, 469, 309, 261, 853, 92, 18, 291, 1638, 10756, 288, 13491, 1324, 31, 10792, 289, 469, 309, 261, 853, 92, 18, 291, 861, 12, 3156, 67, 60, 19388, 67, 11935, 16, 7071, 1090, 50, 1441, 67, 10976, 67, 1985, 3719, 288, 13491, 4414, 273, 261, 45, 510, 15214, 6667, 13, 804, 17632, 60, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 12, 4534, 2987, 16, 4050, 1042, 1487, 6442, 13, 1216, 1860, 288, 3639, 1351, 12201, 310, 1042, 582, 5900, 273, 1407, 6442, 18, 588, 984, 12201, 310, 1042, 5621, 3639, 368, 787, 6935, 501, 4414, 6453, 471, 12902, 4414, 2389, 5431, 3639, 775, 288, 5411, 1323, 16051, 15132, 13, 288, 7734, 1323, 261, 8774, 3668, 597, 401, 15132, 13, 10792, 3852, 261, 2211, 13, 288, 13491, 775, 288, 18701, 2529, 5621, 13491, 289, 1044, 261, 24485, 503, 431, 13, 288, 18701, 368, 509, 22918, 2002, 1008, 13491, 289, 10792, 289, 7734, 309, 261, 15132, 13, 10792, 898, 31, 7734, 2389, 18, 25158, 5621, 7734, 1407, 6442, 18, 588, 2514, 7675, 1937, 7735, 5621, 7734, 368, 2 ]
return propertyList.get("font-size").getLength().mvalue();
return propertyList.get("font-size").getLength().getValue();
public int getBaseLength() { switch (iBaseType) { case FONTSIZE: return propertyList.get("font-size").getLength().mvalue(); case INH_FONTSIZE: return propertyList.getInherited("font-size").getLength().mvalue(); //case CONTAINING_BOX: // depends on property?? inline-progression vs block-progression //return parentFO.getContentWidth(); case CONTAINING_REFAREA: // example: start-indent, end-indent { //FONode fo; //for (fo = parentFO; fo != null && !fo.generatesReferenceAreas(); // fo = fo.getParent()); //return (((fo != null) && (fo instanceof FObj)) ? ((FObj)fo).getContentWidth() : 0); return 0; } case CUSTOM_BASE: //log.debug("!!! LengthBase.getBaseLength() called on CUSTOM_BASE type !!!"); return 0; default: //log.error("Unknown base type for LengthBase."); return 0; } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/eef12c894b3a6b778bd8cc21a0da2dc0faa4e00f/LengthBase.java/buggy/src/org/apache/fop/datatypes/LengthBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8297, 1782, 1435, 288, 3639, 1620, 261, 77, 2171, 559, 13, 288, 3639, 648, 27104, 4574, 30, 5411, 327, 1272, 682, 18, 588, 2932, 5776, 17, 1467, 20387, 588, 1782, 7675, 24805, 5621, 3639, 648, 2120, 44, 67, 25221, 4574, 30, 5411, 327, 1272, 682, 18, 588, 29078, 2932, 5776, 17, 1467, 20387, 588, 1782, 7675, 81, 1132, 5621, 3639, 368, 3593, 8020, 6964, 1360, 67, 16876, 30, 5411, 368, 10935, 603, 1272, 14646, 6370, 17, 8298, 285, 6195, 1203, 17, 8298, 285, 5411, 368, 2463, 982, 3313, 18, 588, 1350, 2384, 5621, 3639, 648, 8020, 6964, 1360, 67, 862, 2046, 29416, 30, 565, 368, 3454, 30, 787, 17, 9355, 16, 679, 17, 9355, 540, 288, 5411, 368, 42, 673, 390, 18261, 31, 5411, 368, 1884, 261, 617, 273, 982, 3313, 31, 18261, 480, 446, 597, 401, 617, 18, 3441, 815, 2404, 28377, 5621, 5411, 368, 3639, 18261, 273, 18261, 18, 588, 3054, 10663, 5411, 368, 2463, 261, 12443, 617, 480, 446, 13, 597, 261, 617, 1276, 478, 2675, 3719, 692, 14015, 42, 2675, 13, 617, 2934, 588, 1350, 2384, 1435, 294, 374, 1769, 5411, 327, 374, 31, 3639, 289, 3639, 648, 21012, 67, 8369, 30, 5411, 368, 1330, 18, 4148, 2932, 25885, 11311, 2171, 18, 588, 2171, 1782, 1435, 2566, 603, 21012, 67, 8369, 618, 401, 5, 4442, 1769, 5411, 327, 374, 31, 3639, 805, 30, 5411, 368, 1330, 18, 1636, 2932, 4874, 1026, 618, 364, 11311, 2171, 1199, 1769, 5411, 327, 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, 509, 8297, 1782, 1435, 288, 3639, 1620, 261, 77, 2171, 559, 13, 288, 3639, 648, 27104, 4574, 30, 5411, 327, 1272, 682, 18, 588, 2932, 5776, 17, 1467, 20387, 588, 1782, 7675, 24805, 5621, 3639, 648, 2120, 44, 67, 25221, 4574, 30, 5411, 327, 1272, 682, 18, 588, 29078, 2932, 5776, 17, 1467, 20387, 588, 1782, 7675, 81, 1132, 5621, 3639, 368, 3593, 8020, 6964, 1360, 67, 16876, 30, 5411, 368, 10935, 603, 1272, 14646, 6370, 17, 8298, 285, 6195, 1203, 17, 8298, 285, 5411, 368, 2463, 982, 3313, 18, 588, 1350, 2384, 5621, 3639, 648, 8020, 6964, 1360, 67, 862, 2046, 29416, 30, 565, 368, 3454, 30, 787, 17, 9355, 16, 679, 17, 9355, 540, 288, 2 ]
public void setLayout (LayoutManager layout) { /* FIXME */ }
public void setLayout(LayoutManager mgr) { layoutMgr = mgr; }
public void setLayout (LayoutManager layout) { /* FIXME */ }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/42de8277e53eabea04a48598c12ed6d488412a7b/Container.java/clean/libjava/java/awt/Container.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18479, 261, 3744, 1318, 3511, 13, 225, 288, 1748, 9852, 1195, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 18479, 261, 3744, 1318, 3511, 13, 225, 288, 1748, 9852, 1195, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public FSOutputStream createRaw(File f, boolean overwrite, short replication)
public FSOutputStream createRaw(Path f, boolean overwrite, short replication)
public FSOutputStream createRaw(File f, boolean overwrite, short replication) throws IOException { return dfs.create(getPath(f), overwrite, replication); }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/ee01fef4b4fb82c7492a4a747793839a4d14cd39/DistributedFileSystem.java/clean/src/java/org/apache/hadoop/dfs/DistributedFileSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9247, 4632, 752, 4809, 12, 743, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9247, 4632, 752, 4809, 12, 743, 284, 16, 1250, 6156, 16, 3025, 11335, 13, 1377, 1216, 1860, 288, 1377, 327, 13868, 18, 2640, 12, 588, 743, 12, 74, 3631, 6156, 16, 11335, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static int getDelimiterOffset(String line, int start,String delimiter){ int offset = 0; for (int i = start; i < line.length(); i++){ offset++; if (line.substring(i,i+1).equals(delimiter)){ return offset; } } return -1;
public static int getDelimiterOffset(String line, int start, String delimiter) { int offset = 0; for (int i = start; i < line.length(); i++) { offset++; if (line.substring(i, i + 1).equals(delimiter)) { return offset; } } return -1;
public static int getDelimiterOffset(String line, int start,String delimiter){ int offset = 0; for (int i = start; i < line.length(); i++){ offset++; if (line.substring(i,i+1).equals(delimiter)){ return offset; } } return -1; }
8836 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8836/73647f36b9ada99ead4f9d0f67e459369342ca74/ParserUtils.java/buggy/PZFileReader/com/pz/reader/util/ParserUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 18531, 4340, 2335, 12, 780, 980, 16, 509, 787, 16, 780, 5654, 15329, 4202, 509, 1384, 273, 374, 31, 4202, 364, 261, 474, 277, 273, 787, 31, 277, 411, 980, 18, 2469, 5621, 277, 27245, 95, 6647, 1384, 9904, 31, 6647, 309, 261, 1369, 18, 28023, 12, 77, 16, 77, 15, 21, 2934, 14963, 12, 15751, 3719, 95, 9079, 327, 1384, 31, 6647, 289, 4202, 289, 4202, 327, 300, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 18531, 4340, 2335, 12, 780, 980, 16, 509, 787, 16, 780, 5654, 15329, 4202, 509, 1384, 273, 374, 31, 4202, 364, 261, 474, 277, 273, 787, 31, 277, 411, 980, 18, 2469, 5621, 277, 27245, 95, 6647, 1384, 9904, 31, 6647, 309, 261, 1369, 18, 28023, 12, 77, 16, 77, 15, 21, 2934, 14963, 12, 15751, 3719, 95, 9079, 327, 1384, 31, 6647, 289, 4202, 289, 4202, 327, 300, 21, 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 ]
debugOptions = options;
public void setDebugOptions(int options) { // TODO }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3606b7996ab5dbdf4a0195418025163510897b5d/DebugGraphics.java/buggy/core/src/classpath/javax/javax/swing/DebugGraphics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1198, 1320, 273, 702, 31, 1198, 1320, 273, 702, 31, 1071, 4148, 1320, 273, 702, 31, 918, 4148, 1320, 273, 702, 31, 444, 2829, 1320, 12, 474, 4148, 1320, 273, 702, 31, 702, 13, 4148, 1320, 273, 702, 31, 1198, 1320, 273, 702, 31, 288, 202, 202, 759, 4148, 1320, 273, 702, 31, 2660, 4148, 1320, 273, 702, 31, 1198, 1320, 273, 702, 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,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273, 702, 31, 1198, 1320, 273, 702, 31, 288, 202, 202, 759, 4148, 1320, 273, 702, 31, 2660, 4148, 1320, 273, 702, 31, 1198, 1320, 273, 702, 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 ]
return (XPath)m_whitespacePreservingElements.elementAt(i);
return (XPath) m_whitespacePreservingElements.elementAt(i);
public XPath getPreserveSpace(int i) throws ArrayIndexOutOfBoundsException { if(null == m_whitespacePreservingElements) throw new ArrayIndexOutOfBoundsException(); return (XPath)m_whitespacePreservingElements.elementAt(i); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/77ad973f1d6ad8f28fd358f2ba4d4c63da65d953/Stylesheet.java/buggy/src/org/apache/xalan/templates/Stylesheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10172, 1689, 455, 6527, 3819, 12, 474, 277, 13, 565, 1216, 1510, 30548, 225, 288, 565, 309, 12, 2011, 422, 312, 67, 18777, 12236, 264, 6282, 3471, 13, 1377, 604, 394, 1510, 30548, 5621, 377, 327, 261, 14124, 13, 312, 67, 18777, 12236, 264, 6282, 3471, 18, 2956, 861, 12, 77, 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, 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 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, 10172, 1689, 455, 6527, 3819, 12, 474, 277, 13, 565, 1216, 1510, 30548, 225, 288, 565, 309, 12, 2011, 422, 312, 67, 18777, 12236, 264, 6282, 3471, 13, 1377, 604, 394, 1510, 30548, 5621, 377, 327, 261, 14124, 13, 312, 67, 18777, 12236, 264, 6282, 3471, 18, 2956, 861, 12, 77, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return AttributeFactory.eINSTANCE.convertToString( AttributePackage.eINSTANCE.getAnchor( ),
return convertAnchorToString( AttributePackage.Literals.ANCHOR,
public String convertAnchorObjectToString( EDataType eDataType, Object instanceValue ) { return AttributeFactory.eINSTANCE.convertToString( AttributePackage.eINSTANCE.getAnchor( ), instanceValue ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/036e8c78765730b146e5854b9d6c397a296fed86/AttributeFactoryImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/AttributeFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1765, 11605, 921, 5808, 12, 20807, 11479, 16, 1082, 202, 921, 13523, 262, 202, 95, 202, 202, 2463, 3601, 1733, 18, 73, 13341, 18, 6283, 5808, 12, 3601, 2261, 18, 73, 13341, 18, 588, 11605, 12, 262, 16, 9506, 202, 1336, 620, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1765, 11605, 921, 5808, 12, 20807, 11479, 16, 1082, 202, 921, 13523, 262, 202, 95, 202, 202, 2463, 3601, 1733, 18, 73, 13341, 18, 6283, 5808, 12, 3601, 2261, 18, 73, 13341, 18, 588, 11605, 12, 262, 16, 9506, 202, 1336, 620, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(f.getName().endsWith(".jar")) { for( Enumeration e=(new JarFile(f)).entries(); e.hasMoreElements(); ) { ZipEntry entry = (ZipEntry)e.nextElement(); if( ! entry.isDirectory() && entry.getName().endsWith(".class")) {
if (f.getName().endsWith(".jar")) { for ( Enumeration e = (new JarFile(f)).entries(); e.hasMoreElements(); ) { ZipEntry entry = (ZipEntry) e.nextElement(); if ( !entry.isDirectory() && entry.getName().endsWith(".class")) {
private int countFiles(File f, boolean subdirectories) throws Exception { if( f.isDirectory() && subdirectories) { return countDirectory(f); } else { if(f.getName().endsWith(".class")) { return 1; } else { int total = 0; if(f.getName().endsWith(".jar")) { for( Enumeration e=(new JarFile(f)).entries(); e.hasMoreElements(); ) { ZipEntry entry = (ZipEntry)e.nextElement(); if( ! entry.isDirectory() && entry.getName().endsWith(".class")) { total++; } } } return total; } } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/5cee6094c7b77e3bcf6338f68456e6e531e781b7/ClassfileImport.java/buggy/modules/classfile/src/org/argouml/uml/reveng/classfile/ClassfileImport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1056, 2697, 12, 812, 284, 16, 1250, 31220, 13, 1216, 1185, 288, 202, 430, 12, 284, 18, 291, 2853, 1435, 597, 31220, 13, 288, 202, 565, 327, 1056, 2853, 12, 74, 1769, 202, 97, 469, 288, 202, 565, 309, 12, 74, 18, 17994, 7675, 5839, 1190, 2932, 18, 1106, 6, 3719, 288, 202, 202, 2463, 404, 31, 202, 565, 289, 469, 288, 202, 202, 474, 2078, 273, 374, 31, 202, 202, 430, 12, 74, 18, 17994, 7675, 5839, 1190, 2932, 18, 11930, 6, 3719, 288, 1082, 565, 364, 12, 13864, 425, 28657, 2704, 15644, 812, 12, 74, 13, 2934, 8219, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 1082, 202, 9141, 1622, 1241, 273, 261, 9141, 1622, 13, 73, 18, 4285, 1046, 5621, 1082, 202, 430, 12, 401, 1241, 18, 291, 2853, 1435, 597, 1241, 18, 17994, 7675, 5839, 1190, 2932, 18, 1106, 6, 3719, 288, 9506, 565, 2078, 9904, 31, 1082, 202, 97, 1082, 565, 289, 202, 202, 97, 202, 202, 2463, 2078, 31, 202, 565, 289, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1056, 2697, 12, 812, 284, 16, 1250, 31220, 13, 1216, 1185, 288, 202, 430, 12, 284, 18, 291, 2853, 1435, 597, 31220, 13, 288, 202, 565, 327, 1056, 2853, 12, 74, 1769, 202, 97, 469, 288, 202, 565, 309, 12, 74, 18, 17994, 7675, 5839, 1190, 2932, 18, 1106, 6, 3719, 288, 202, 202, 2463, 404, 31, 202, 565, 289, 469, 288, 202, 202, 474, 2078, 273, 374, 31, 202, 202, 430, 12, 74, 18, 17994, 7675, 5839, 1190, 2932, 18, 11930, 6, 3719, 288, 1082, 565, 364, 12, 13864, 425, 28657, 2704, 15644, 812, 12, 74, 13, 2934, 8219, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 1082, 202, 9141, 1622, 1241, 273, 261, 2 ]
}else
} else
private void insertNode( String treatedPath ) { boolean isAttribute = isAttribute(treatedPath); //Remove the leading "/" then split the path. String[] path = treatedPath.replaceFirst("/","").split("/"); //If the path specified an attribute then re-build the path array so that it can divid element and //its attribute to two array items. if( isAttribute ) { String[] temp = path[path.length - 1].split("\\Q[@\\E"); assert temp.length == 2; String[] temp1 = new String[ path.length + 1]; for( int i = 0; i < path.length - 1; i ++) { temp1[i] = path[i]; } temp1[temp1.length - 2] = temp[0]; temp1[temp1.length - 1] = temp[1].replaceAll("\\Q]\\E",""); path = temp1; } //The parentNode ATreeNode parentNode = root; //Iterate each path array element, find or create its countpart node instance. for( int i = 0; i < path.length; i ++) { //This variable hosts the node instance that matches the given path array item value. ATreeNode matchedNode = null; for( int j = 0; j < parentNode.getChildren().length; j++) { if( ((ATreeNode)parentNode.getChildren()[j]).getValue().equals( path[i] )) { matchedNode = (ATreeNode)parentNode.getChildren()[j]; break; } } if( matchedNode != null ) { parentNode = matchedNode; }else { matchedNode = new ATreeNode(); if((i == path.length - 1) && isAttribute) { matchedNode.setType( ATreeNode.ATTRIBUTE_TYPE ); } else { matchedNode.setType( ATreeNode.ELEMENT_TYPE); } matchedNode.setValue( path[i]); matchedNode.setParent( parentNode ); parentNode = matchedNode; } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/145a679d5a271527073531183c90d5bb2a955ab0/SchemaPopulationUtil.java/buggy/data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2243, 907, 12, 514, 13974, 743, 262, 202, 95, 202, 202, 6494, 353, 1499, 273, 353, 1499, 12, 27427, 690, 743, 1769, 9506, 202, 759, 3288, 326, 7676, 4016, 1508, 1416, 326, 589, 18, 202, 202, 780, 8526, 589, 273, 13974, 743, 18, 2079, 3759, 2932, 19, 3113, 3660, 2934, 4939, 2932, 4898, 1769, 9506, 202, 759, 2047, 326, 589, 1269, 392, 1566, 1508, 283, 17, 3510, 326, 589, 526, 1427, 716, 518, 848, 3739, 350, 930, 471, 3196, 202, 759, 1282, 1566, 358, 2795, 526, 1516, 18, 202, 202, 430, 12, 353, 1499, 262, 202, 202, 95, 1082, 202, 780, 8526, 1906, 273, 589, 63, 803, 18, 2469, 300, 404, 8009, 4939, 2932, 1695, 53, 14782, 1695, 41, 8863, 25083, 202, 11231, 1906, 18, 2469, 422, 576, 31, 25083, 202, 780, 8526, 1906, 21, 273, 394, 514, 63, 589, 18, 2469, 397, 404, 15533, 1082, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 589, 18, 2469, 300, 404, 31, 277, 965, 13, 1082, 202, 95, 9506, 202, 5814, 21, 63, 77, 65, 273, 589, 63, 77, 15533, 1082, 202, 97, 1082, 202, 5814, 21, 63, 5814, 21, 18, 2469, 300, 576, 65, 273, 1906, 63, 20, 15533, 1082, 202, 5814, 21, 63, 5814, 21, 18, 2469, 300, 404, 65, 273, 1906, 63, 21, 8009, 2079, 1595, 2932, 1695, 53, 65, 1695, 41, 3113, 3660, 1769, 1082, 202, 803, 273, 1906, 21, 31, 202, 202, 97, 9506, 202, 759, 1986, 7234, 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, 2243, 907, 12, 514, 13974, 743, 262, 202, 95, 202, 202, 6494, 353, 1499, 273, 353, 1499, 12, 27427, 690, 743, 1769, 9506, 202, 759, 3288, 326, 7676, 4016, 1508, 1416, 326, 589, 18, 202, 202, 780, 8526, 589, 273, 13974, 743, 18, 2079, 3759, 2932, 19, 3113, 3660, 2934, 4939, 2932, 4898, 1769, 9506, 202, 759, 2047, 326, 589, 1269, 392, 1566, 1508, 283, 17, 3510, 326, 589, 526, 1427, 716, 518, 848, 3739, 350, 930, 471, 3196, 202, 759, 1282, 1566, 358, 2795, 526, 1516, 18, 202, 202, 430, 12, 353, 1499, 262, 202, 202, 95, 1082, 202, 780, 8526, 1906, 273, 589, 63, 803, 18, 2469, 300, 404, 8009, 4939, 2932, 1695, 2 ]
rsp_list = _req.getResults();
rsp_list=_req.getResults();
public Object sendMessage(Message msg, int mode, long timeout) throws TimeoutException, SuspectedException { Vector mbrs = new Vector(); RspList rsp_list = null; Object dest = msg.getDest(); Rsp rsp; GroupRequest _req = null; if (dest == null) { if (log.isErrorEnabled()) { log.error("the message's destination is null, " + "cannot send message"); } return null; } mbrs.addElement(dest); // dummy membership (of destination address) _req = new GroupRequest(msg, corr, mbrs, mode, timeout, 0); _req.execute(); if (mode == GroupRequest.GET_NONE) { return null; } rsp_list = _req.getResults(); if (rsp_list.size() == 0) { if (log.isWarnEnabled()) { log.warn(" response list is empty"); } return null; } if (rsp_list.size() > 1) { if (log.isWarnEnabled()) { log.warn("response list contains " + "more that 1 response; returning first response !"); } } rsp = (Rsp) rsp_list.elementAt(0); if (rsp.wasSuspected()) { throw new SuspectedException(dest); } if (!rsp.wasReceived()) { throw new TimeoutException(); } return rsp.getValue(); }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/595c1743692efa6e4226a77afcc832561ea81eb9/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 15399, 12, 1079, 1234, 16, 509, 1965, 16, 1525, 2021, 13, 1216, 23334, 16, 348, 407, 1789, 503, 288, 3639, 5589, 312, 2848, 87, 273, 394, 5589, 5621, 3639, 534, 1752, 682, 12049, 67, 1098, 273, 446, 31, 3639, 1033, 1570, 273, 1234, 18, 588, 9378, 5621, 3639, 534, 1752, 12049, 31, 3639, 3756, 691, 389, 3658, 273, 446, 31, 3639, 309, 261, 10488, 422, 446, 13, 288, 5411, 309, 261, 1330, 18, 291, 668, 1526, 10756, 288, 7734, 613, 18, 1636, 2932, 5787, 883, 1807, 2929, 353, 446, 16, 315, 397, 12900, 315, 12892, 1366, 883, 8863, 5411, 289, 5411, 327, 446, 31, 3639, 289, 3639, 312, 2848, 87, 18, 1289, 1046, 12, 10488, 1769, 282, 368, 9609, 12459, 261, 792, 2929, 1758, 13, 3639, 389, 3658, 273, 394, 3756, 691, 12, 3576, 16, 19480, 16, 312, 2848, 87, 16, 1965, 16, 2021, 16, 374, 1769, 3639, 389, 3658, 18, 8837, 5621, 3639, 309, 261, 3188, 422, 3756, 691, 18, 3264, 67, 9826, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 12049, 67, 1098, 33, 67, 3658, 18, 588, 3447, 5621, 3639, 309, 261, 86, 1752, 67, 1098, 18, 1467, 1435, 422, 374, 13, 288, 5411, 309, 261, 1330, 18, 291, 3160, 1526, 10756, 288, 7734, 613, 18, 8935, 2932, 766, 666, 353, 1008, 8863, 5411, 289, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 86, 1752, 67, 1098, 18, 1467, 1435, 405, 404, 13, 288, 5411, 309, 261, 1330, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 15399, 12, 1079, 1234, 16, 509, 1965, 16, 1525, 2021, 13, 1216, 23334, 16, 348, 407, 1789, 503, 288, 3639, 5589, 312, 2848, 87, 273, 394, 5589, 5621, 3639, 534, 1752, 682, 12049, 67, 1098, 273, 446, 31, 3639, 1033, 1570, 273, 1234, 18, 588, 9378, 5621, 3639, 534, 1752, 12049, 31, 3639, 3756, 691, 389, 3658, 273, 446, 31, 3639, 309, 261, 10488, 422, 446, 13, 288, 5411, 309, 261, 1330, 18, 291, 668, 1526, 10756, 288, 7734, 613, 18, 1636, 2932, 5787, 883, 1807, 2929, 353, 446, 16, 315, 397, 12900, 315, 12892, 1366, 883, 8863, 5411, 289, 5411, 327, 446, 31, 3639, 289, 3639, 312, 2848, 87, 18, 1289, 1046, 12, 10488, 1769, 2 ]
item.setText(parts[i].getTitle());
if(parts[i].isDirty()) item.setText("*" + parts[i].getTitle()); else item.setText(parts[i].getTitle());
protected void addItems(Table table,WorkbenchPage page) { IEditorPart parts[] = page.getSortedEditors(); for (int i = parts.length - 1; i >= 0 ; i--) { TableItem item = null; if(parts[i] instanceof IEditorPart) { item = new TableItem(table,SWT.NONE); item.setText(parts[i].getTitle()); item.setImage(parts[i].getTitleImage()); item.setData(parts[i]); } }}
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2674f77faeef32aafb0925d86279381f5cb628c2/CycleEditorAction.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/CycleEditorAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 527, 3126, 12, 1388, 1014, 16, 2421, 22144, 1964, 1363, 13, 288, 202, 45, 6946, 1988, 2140, 8526, 273, 1363, 18, 588, 11739, 4666, 1383, 5621, 202, 1884, 261, 474, 277, 273, 2140, 18, 2469, 300, 404, 31, 277, 1545, 374, 274, 277, 413, 13, 288, 202, 202, 1388, 1180, 761, 225, 273, 446, 31, 202, 202, 430, 12, 6019, 63, 77, 65, 1276, 467, 6946, 1988, 13, 288, 1082, 202, 1726, 273, 394, 3555, 1180, 12, 2121, 16, 55, 8588, 18, 9826, 1769, 1082, 202, 1726, 18, 542, 1528, 12, 6019, 63, 77, 8009, 588, 4247, 10663, 1082, 202, 1726, 18, 542, 2040, 12, 6019, 63, 77, 8009, 588, 4247, 2040, 10663, 1082, 202, 1726, 18, 542, 751, 12, 6019, 63, 77, 19226, 202, 202, 97, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 527, 3126, 12, 1388, 1014, 16, 2421, 22144, 1964, 1363, 13, 288, 202, 45, 6946, 1988, 2140, 8526, 273, 1363, 18, 588, 11739, 4666, 1383, 5621, 202, 1884, 261, 474, 277, 273, 2140, 18, 2469, 300, 404, 31, 277, 1545, 374, 274, 277, 413, 13, 288, 202, 202, 1388, 1180, 761, 225, 273, 446, 31, 202, 202, 430, 12, 6019, 63, 77, 65, 1276, 467, 6946, 1988, 13, 288, 1082, 202, 1726, 273, 394, 3555, 1180, 12, 2121, 16, 55, 8588, 18, 9826, 1769, 1082, 202, 1726, 18, 542, 1528, 12, 6019, 63, 77, 8009, 588, 4247, 10663, 1082, 202, 1726, 18, 542, 2040, 12, 6019, 63, 77, 8009, 588, 4247, 2040, 10663, 1082, 202, 1726, 18, 2 ]
newnode = newdoctype; break;
newnode = newdoctype; break;
public Node importNode(Node source, boolean deep) throws DOMException { NodeImpl newnode=null; // Sigh. This doesn't work; too many nodes have private data that // would have to be manually tweaked. May be able to add local // shortcuts to each nodetype. Consider ????? // if(source instanceof NodeImpl && // !(source instanceof DocumentImpl)) // { // // Can't clone DocumentImpl since it invokes us... // newnode=(NodeImpl)source.cloneNode(false); // newnode.ownerDocument=this; //} //else int type = source.getNodeType(); switch (type) { case ELEMENT_NODE: { Element newelement = createElement(source.getNodeName()); NamedNodeMap srcattr = source.getAttributes(); if (srcattr != null) { for(int i = 0; i < srcattr.getLength(); i++) { newelement.setAttributeNode( (AttrImpl)importNode(srcattr.item(i), true)); } } newnode = (NodeImpl)newelement; break; } case ATTRIBUTE_NODE: { newnode = (NodeImpl)createAttribute(source.getNodeName()); // Kids carry value break; } case TEXT_NODE: { newnode = (NodeImpl)createTextNode(source.getNodeValue()); break; } case CDATA_SECTION_NODE: { newnode = (NodeImpl)createCDATASection(source.getNodeValue()); break; } case ENTITY_REFERENCE_NODE: { newnode = (NodeImpl)createEntityReference(source.getNodeName()); deep = false; // ????? Right Thing? // Value implied by doctype, so we should not copy it // -- instead, refer to local doctype, if any. break; } case ENTITY_NODE: { Entity srcentity = (Entity)source; EntityImpl newentity = (EntityImpl)createEntity(source.getNodeName()); newentity.setPublicId(srcentity.getPublicId()); newentity.setSystemId(srcentity.getSystemId()); newentity.setNotationName(srcentity.getNotationName()); // Kids carry additional value newnode = newentity; break; } case PROCESSING_INSTRUCTION_NODE: { newnode = (ProcessingInstructionImpl)createProcessingInstruction(source.getNodeName(), source.getNodeValue()); break; } case COMMENT_NODE: { newnode = (NodeImpl)createComment(source.getNodeValue()); break; } case DOCUMENT_TYPE_NODE: { DocumentTypeImpl doctype = (DocumentTypeImpl)source; DocumentTypeImpl newdoctype = (DocumentTypeImpl)createDocumentType( doctype.getNodeName(), doctype.getPublicId(), doctype.getSystemId() ); // Values are on NamedNodeMaps NamedNodeMap smap = ((DocumentType)source).getEntities(); NamedNodeMap tmap = newdoctype.getEntities(); if(smap != null) { for(int i = 0; i < smap.getLength(); i++) { tmap.setNamedItem((EntityImpl)importNode(smap.item(i), true)); } } smap = ((DocumentType)source).getNotations(); tmap = newdoctype.getNotations(); if (smap != null) { for(int i = 0; i < smap.getLength(); i++) { tmap.setNamedItem((NotationImpl)importNode(smap.item(i), true)); } } // NOTE: At this time, the DOM definition of DocumentType // doesn't cover Elements and their Attributes. domimpl's // extentions in that area will not be preserved, even if // copying from domimpl to domimpl. We could special-case // that here. Arguably we should. Consider. ????? newnode = newdoctype; break; } case DOCUMENT_FRAGMENT_NODE: { newnode = (NodeImpl)createDocumentFragment(); // No name, kids carry value break; } case NOTATION_NODE: { Notation srcnotation = (Notation)source; NotationImpl newnotation = (NotationImpl)createNotation(source.getNodeName()); newnotation.setPublicId(srcnotation.getPublicId()); newnotation.setSystemId(srcnotation.getSystemId()); // Kids carry additional value newnode = newnotation; // No name, no value break; } case DOCUMENT_NODE : // Document can't be child of Document default: { // Unknown node type throw new DOMExceptionImpl(DOMException.HIERARCHY_REQUEST_ERR, "DOM006 Hierarchy request error"); } } // If deep, replicate and attach the kids. if (deep) { for (Node srckid = source.getFirstChild(); srckid != null; srckid = srckid.getNextSibling()) { newnode.appendChild(importNode(srckid, true)); } } return newnode; } // importNode(Node,boolean):Node
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/fd788f496dd24d0d34e5ecb1936da8999ed6c269/DocumentImpl.java/clean/src/org/apache/xerces/dom/DocumentImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 1930, 907, 12, 907, 1084, 16, 1250, 4608, 13, 3639, 1216, 4703, 503, 288, 377, 202, 907, 2828, 29267, 33, 2011, 31, 377, 202, 759, 348, 2031, 18, 1220, 3302, 1404, 1440, 31, 4885, 4906, 2199, 1240, 3238, 501, 716, 377, 202, 759, 4102, 1240, 358, 506, 10036, 10810, 9477, 18, 16734, 506, 7752, 358, 527, 1191, 377, 202, 759, 25641, 358, 1517, 14003, 5872, 18, 23047, 5317, 14646, 35, 377, 202, 759, 309, 12, 3168, 1276, 2029, 2828, 597, 377, 202, 759, 202, 5, 12, 3168, 1276, 4319, 2828, 3719, 377, 202, 759, 288, 377, 202, 759, 225, 368, 4480, 1404, 3236, 4319, 2828, 3241, 518, 18058, 584, 2777, 377, 202, 759, 202, 2704, 2159, 28657, 907, 2828, 13, 3168, 18, 14056, 907, 12, 5743, 1769, 377, 202, 759, 202, 2704, 2159, 18, 8443, 2519, 33, 2211, 31, 377, 202, 759, 97, 377, 202, 759, 12107, 3639, 509, 618, 273, 1084, 18, 588, 15101, 5621, 377, 202, 9610, 261, 723, 13, 288, 377, 1082, 5411, 648, 13424, 67, 8744, 30, 288, 377, 1082, 202, 1046, 394, 2956, 273, 6310, 12, 3168, 18, 588, 18948, 10663, 377, 1082, 202, 7604, 907, 863, 1705, 1747, 273, 1084, 18, 588, 2498, 5621, 377, 1082, 202, 430, 261, 4816, 1747, 480, 446, 13, 288, 377, 9506, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 1705, 1747, 18, 588, 1782, 5621, 277, 27245, 288, 377, 6862, 202, 2704, 2956, 18, 542, 1499, 907, 12, 377, 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, 377, 1071, 2029, 1930, 907, 12, 907, 1084, 16, 1250, 4608, 13, 3639, 1216, 4703, 503, 288, 377, 202, 907, 2828, 29267, 33, 2011, 31, 377, 202, 759, 348, 2031, 18, 1220, 3302, 1404, 1440, 31, 4885, 4906, 2199, 1240, 3238, 501, 716, 377, 202, 759, 4102, 1240, 358, 506, 10036, 10810, 9477, 18, 16734, 506, 7752, 358, 527, 1191, 377, 202, 759, 25641, 358, 1517, 14003, 5872, 18, 23047, 5317, 14646, 35, 377, 202, 759, 309, 12, 3168, 1276, 2029, 2828, 597, 377, 202, 759, 202, 5, 12, 3168, 1276, 4319, 2828, 3719, 377, 202, 759, 288, 377, 202, 759, 225, 368, 4480, 1404, 3236, 4319, 2828, 3241, 518, 18058, 584, 2777, 377, 202, 759, 202, 2704, 2159, 2 ]
}
public static RubyArray createBacktrace(Ruby ruby, int level) { RubyFrame frame = ruby.getRubyFrame(); RubyArray backtrace = RubyArray.newArray(ruby); if (level < 0) { StringBuffer sb = new StringBuffer(100); if (frame.getLastFunc() != null) { sb.append(ruby.getSourceFile()).append(':').append(ruby.getSourceLine()); sb.append(":in '").append(frame.getLastFunc()).append('\''); } else if (ruby.getSourceLine() == 0) { sb.append(ruby.getSourceFile()); } else { sb.append(ruby.getSourceFile()).append(':').append(ruby.getSourceLine()); } backtrace.push(RubyString.newString(ruby, sb.toString())); } else { while (level-- > 0) { frame = frame.getPrev(); if (frame == null) { return RubyArray.nilArray(ruby); } } } while (frame != null && frame.getFile() != null) { StringBuffer sb = new StringBuffer(100); if (frame.getPrev() != null && frame.getPrev().getLastFunc() != null) { sb.append(frame.getFile()).append(':').append(frame.getLine()); sb.append(":in '").append(frame.getPrev().getLastFunc()).append('\''); } else { sb.append(frame.getFile()).append(':').append(frame.getLine()); } backtrace.push(RubyString.newString(ruby, sb.toString())); frame = frame.getPrev(); } return backtrace; }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/043fa4419ad506aa6f8843684eb8114b226fe4b5/RaiseException.java/buggy/org/jruby/exceptions/RaiseException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 1076, 752, 2711, 5129, 12, 54, 10340, 22155, 16, 509, 1801, 13, 288, 3639, 19817, 3219, 2623, 273, 22155, 18, 588, 54, 10340, 3219, 5621, 3639, 19817, 1076, 13902, 273, 19817, 1076, 18, 2704, 1076, 12, 27768, 1769, 3639, 309, 261, 2815, 411, 374, 13, 288, 5411, 6674, 2393, 273, 394, 6674, 12, 6625, 1769, 5411, 309, 261, 3789, 18, 588, 3024, 2622, 1435, 480, 446, 13, 288, 7734, 2393, 18, 6923, 12, 27768, 18, 588, 31150, 1435, 2934, 6923, 2668, 2497, 2934, 6923, 12, 27768, 18, 588, 1830, 1670, 10663, 7734, 2393, 18, 6923, 2932, 30, 267, 2119, 2934, 6923, 12, 3789, 18, 588, 3024, 2622, 1435, 2934, 6923, 2668, 3730, 8284, 2398, 469, 309, 261, 27768, 18, 588, 1830, 1670, 1435, 422, 374, 13, 288, 7734, 2393, 18, 6923, 12, 27768, 18, 588, 31150, 10663, 2398, 469, 288, 7734, 2393, 18, 6923, 12, 27768, 18, 588, 31150, 1435, 2934, 6923, 2668, 2497, 2934, 6923, 12, 27768, 18, 588, 1830, 1670, 10663, 13491, 13902, 18, 6206, 12, 54, 10340, 780, 18, 2704, 780, 12, 27768, 16, 2393, 18, 10492, 1435, 10019, 540, 469, 288, 5411, 1323, 261, 2815, 413, 405, 374, 13, 288, 7734, 2623, 273, 2623, 18, 588, 9958, 5621, 7734, 309, 261, 3789, 422, 446, 13, 288, 10792, 327, 19817, 1076, 18, 20154, 1076, 12, 27768, 1769, 4766, 5411, 1323, 261, 3789, 480, 446, 597, 2623, 18, 29925, 1435, 480, 446, 13, 288, 5411, 6674, 2393, 273, 394, 6674, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 1076, 752, 2711, 5129, 12, 54, 10340, 22155, 16, 509, 1801, 13, 288, 3639, 19817, 3219, 2623, 273, 22155, 18, 588, 54, 10340, 3219, 5621, 3639, 19817, 1076, 13902, 273, 19817, 1076, 18, 2704, 1076, 12, 27768, 1769, 3639, 309, 261, 2815, 411, 374, 13, 288, 5411, 6674, 2393, 273, 394, 6674, 12, 6625, 1769, 5411, 309, 261, 3789, 18, 588, 3024, 2622, 1435, 480, 446, 13, 288, 7734, 2393, 18, 6923, 12, 27768, 18, 588, 31150, 1435, 2934, 6923, 2668, 2497, 2934, 6923, 12, 27768, 18, 588, 1830, 1670, 10663, 7734, 2393, 18, 6923, 2932, 30, 267, 2119, 2934, 6923, 12, 3789, 18, 588, 3024, 2622, 1435, 2934, 6923, 2668, 3730, 8284, 2398, 469, 2 ]
if (option.equals("-categories")) {
if (option.equals("-categories") || option.equals("-hmcm")) { keyMode = argv[arg];
public static void main(String[] argv) throws Exception { if (argv.length < 1) { usage(); } int arg = 0; String categoryList = ""; boolean diffMode = false; while (arg < argv.length - 1) { String option = argv[arg]; if (option.equals("-categories")) { ++arg; if (arg >= argv.length) throw new IllegalArgumentException("-categories option requires argument"); categoryList = argv[arg]; } else if (option.equals("-diff")) { diffMode = true; } else break; ++arg; } if (arg >= argv.length) usage(); String filename = argv[arg++]; CountBugs countBugs = new CountBugs(filename); countBugs.setCategories(categoryList); countBugs.execute(); if (diffMode) { if (arg >= argv.length) usage(); CountBugs countBugs2 = new CountBugs(argv[arg++]); countBugs2.setCategories(categoryList); countBugs2.execute(); countBugs.diffCounts(countBugs2); } countBugs.printCounts(System.out, diffMode); if (!diffMode) System.out.println("Total:\t" + countBugs.getTotal()); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/6ab9552e363a328a33e3cf3e382472f55fc1c1cd/CountBugs.java/clean/findbugs/src/java/edu/umd/cs/findbugs/CountBugs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 5261, 13, 1216, 1185, 288, 202, 202, 430, 261, 19485, 18, 2469, 411, 404, 13, 288, 1082, 202, 9167, 5621, 202, 202, 97, 202, 202, 474, 1501, 273, 374, 31, 202, 202, 780, 3150, 682, 273, 1408, 31, 202, 202, 6494, 3122, 2309, 273, 629, 31, 202, 202, 17523, 261, 3175, 411, 5261, 18, 2469, 300, 404, 13, 288, 1082, 202, 780, 1456, 273, 5261, 63, 3175, 15533, 1082, 202, 430, 261, 3482, 18, 14963, 2932, 17, 8995, 6, 3719, 288, 9506, 202, 9904, 3175, 31, 9506, 202, 430, 261, 3175, 1545, 5261, 18, 2469, 13, 6862, 202, 12849, 394, 2754, 2932, 17, 8995, 1456, 4991, 1237, 8863, 9506, 202, 4743, 682, 273, 5261, 63, 3175, 15533, 1082, 202, 97, 469, 309, 261, 3482, 18, 14963, 2932, 17, 5413, 6, 3719, 288, 9506, 202, 5413, 2309, 273, 638, 31, 1082, 202, 97, 469, 9506, 202, 8820, 31, 1082, 202, 9904, 3175, 31, 202, 202, 97, 202, 202, 430, 261, 3175, 1545, 5261, 18, 2469, 13, 1082, 202, 9167, 5621, 202, 202, 780, 1544, 273, 5261, 63, 3175, 9904, 15533, 202, 202, 1380, 31559, 1056, 31559, 273, 394, 6974, 31559, 12, 3459, 1769, 202, 202, 1883, 31559, 18, 542, 10487, 12, 4743, 682, 1769, 202, 202, 1883, 31559, 18, 8837, 5621, 202, 202, 430, 261, 5413, 2309, 13, 288, 1082, 202, 430, 261, 3175, 1545, 5261, 18, 2469, 13, 9506, 202, 9167, 5621, 1082, 202, 1380, 31559, 1056, 31559, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 5261, 13, 1216, 1185, 288, 202, 202, 430, 261, 19485, 18, 2469, 411, 404, 13, 288, 1082, 202, 9167, 5621, 202, 202, 97, 202, 202, 474, 1501, 273, 374, 31, 202, 202, 780, 3150, 682, 273, 1408, 31, 202, 202, 6494, 3122, 2309, 273, 629, 31, 202, 202, 17523, 261, 3175, 411, 5261, 18, 2469, 300, 404, 13, 288, 1082, 202, 780, 1456, 273, 5261, 63, 3175, 15533, 1082, 202, 430, 261, 3482, 18, 14963, 2932, 17, 8995, 6, 3719, 288, 9506, 202, 9904, 3175, 31, 9506, 202, 430, 261, 3175, 1545, 5261, 18, 2469, 13, 6862, 202, 12849, 394, 2754, 2932, 17, 8995, 1456, 4991, 1237, 8863, 9506, 202, 2 ]
{ return treeState.getRowHeight(); }
{ return treeState.getRowHeight(); }
protected int getRowHeight() { return treeState.getRowHeight(); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/f71ada05aa98432b7634671fbae8b77fd2a7c713/BasicTreeUI.java/clean/libraries/javalib/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 509, 11835, 2686, 1435, 202, 95, 202, 202, 2463, 2151, 1119, 18, 588, 1999, 2686, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 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, 225, 202, 1117, 509, 11835, 2686, 1435, 202, 95, 202, 202, 2463, 2151, 1119, 18, 588, 1999, 2686, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
rs.close();
public void testCallableStatementCall1() throws Exception { CallableStatement cstmt = con.prepareCall("{call sp_who}"); makeTestTables(cstmt); makeObjects(cstmt, 8); ResultSet rs = cstmt.executeQuery(); dump(rs); cstmt.close(); rs.close(); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/31239e9062bef524a204bbd17ef75857ed26f1f9/CallableStatementTest.java/buggy/src/test/net/sourceforge/jtds/test/CallableStatementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 11452, 3406, 1477, 21, 1435, 1216, 1185, 288, 3639, 10464, 3406, 276, 10589, 273, 356, 18, 9366, 1477, 2932, 95, 1991, 1694, 67, 3350, 83, 1532, 1769, 3639, 1221, 4709, 6905, 12, 71, 10589, 1769, 3639, 1221, 4710, 12, 71, 10589, 16, 1725, 1769, 3639, 10842, 3597, 273, 276, 10589, 18, 8837, 1138, 5621, 3639, 4657, 12, 5453, 1769, 3639, 276, 10589, 18, 4412, 5621, 6647, 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, 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]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 11452, 3406, 1477, 21, 1435, 1216, 1185, 288, 3639, 10464, 3406, 276, 10589, 273, 356, 18, 9366, 1477, 2932, 95, 1991, 1694, 67, 3350, 83, 1532, 1769, 3639, 1221, 4709, 6905, 12, 71, 10589, 1769, 3639, 1221, 4710, 12, 71, 10589, 16, 1725, 1769, 3639, 10842, 3597, 273, 276, 10589, 18, 8837, 1138, 5621, 3639, 4657, 12, 5453, 1769, 3639, 276, 10589, 18, 4412, 5621, 6647, 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 ]
public Message marshalResponse(Object returnObject, Object[] holderObjects, OperationDescription operationDesc)
public Message marshalResponse(Object returnObject, Object[] holderObjects, OperationDescription operationDesc, Protocol protocol)
public Message marshalResponse(Object returnObject, Object[] holderObjects, OperationDescription operationDesc) throws WebServiceException { // TODO Unsupported throw new UnsupportedOperationException(); }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/ffe73e708d58b0c967f263c4551617c6fa6c78e7/RPCLitMethodMarshallerImpl.java/buggy/modules/jaxws/src/org/apache/axis2/jaxws/marshaller/impl/RPCLitMethodMarshallerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2350, 10893, 1064, 12, 921, 327, 921, 16, 1033, 8526, 10438, 4710, 16, 4189, 3291, 1674, 4217, 16, 4547, 1771, 13, 5411, 1216, 2999, 15133, 288, 3639, 368, 2660, 7221, 3639, 604, 394, 13172, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2350, 10893, 1064, 12, 921, 327, 921, 16, 1033, 8526, 10438, 4710, 16, 4189, 3291, 1674, 4217, 16, 4547, 1771, 13, 5411, 1216, 2999, 15133, 288, 3639, 368, 2660, 7221, 3639, 604, 394, 13172, 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 ]
delBTN.setBackground(BACK_COLOR);
delBTN.setOpaque(false);
public NotePanel(MetadataPane.TablePanel tp) { super(); tableP = tp; setBackground(BACK_COLOR); Vector noteEleList = getNoteElements(); DefaultListModel thisModel = new DefaultListModel(); noteList = new ClickableList(thisModel,this); noteList.addListSelectionListener(this); if (noteEleList != null) { for(int i = 0;i<noteEleList.size();i++) { Element e = (Element) noteEleList.get(i); thisModel.addElement(e.getAttribute("Name")); } } // buggy...// if (thisModel.getSize() > 0) noteList.setSelectedIndex(0); JScrollPane jScroll = new JScrollPane(noteList); jScroll.setPreferredSize(new Dimension(150,100)); textArea = new JTextArea(); textArea.setLineWrap(true); textArea.setWrapStyleWord(true); textArea.getDocument().addDocumentListener(noteList); JScrollPane jNoteScroll = new JScrollPane(textArea); jNoteScroll.setPreferredSize(new Dimension(450,100)); jNoteScroll.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); FormLayout layout = new FormLayout( "pref, 5dlu, pref:grow, 5dlu, pref, 5dlu, pref", "pref,2dlu,pref"); PanelBuilder builder = new PanelBuilder(layout); CellConstraints cc = new CellConstraints(); if (thisModel.size() == 0) nameLabel = new JLabel("Name", NO_NOTES_BULLET, JLabel.LEFT); else nameLabel = new JLabel("Name", NOTES_BULLET, JLabel.LEFT); noteLabel = new JLabel("Notes", NO_NOTES_BULLET, JLabel.LEFT); Font thisFont = nameLabel.getFont(); thisFont = new Font(thisFont.getFontName(), Font.BOLD,thisFont.getSize()); nameLabel.setFont(thisFont); thisFont = noteLabel.getFont(); thisFont = new Font(thisFont.getFontName(), Font.BOLD,thisFont.getSize()); noteLabel.setFont(thisFont); JButton addBTN = new JButton("New Note"); addBTN.setPreferredSize(new Dimension(100,17)); addBTN.setActionCommand("add"); addBTN.addActionListener(noteList); addBTN.setToolTipText("Add a new note to the \"Name\" list."); addBTN.setForeground(MetadataPane.ADD_COLOR); addBTN.setBackground(BACK_COLOR); JButton delBTN = new JButton("Delete Note"); delBTN.setPreferredSize(new Dimension(100,17)); delBTN.setActionCommand("remove"); delBTN.addActionListener(noteList); delBTN.setToolTipText("Delete the note selected in the \"Name\" list."); delBTN.setForeground(MetadataPane.DELETE_COLOR); delBTN.setBackground(BACK_COLOR); builder.add(nameLabel, cc.xy(1,1, "left,center")); builder.add(noteLabel, cc.xy(3,1, "left,center")); builder.add(addBTN, cc.xy(5,1, "left,center")); builder.add(delBTN, cc.xy(7,1, "left,center")); builder.add(jScroll, cc.xy(1,3, "fill,center")); builder.add(jNoteScroll, cc.xyw(3,3,5, "fill,center")); builder.getPanel().setBackground(BACK_COLOR); add(builder.getPanel()); setVisible(false); if(noteEleList != null) setVisible(true); }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/6298bc44d12f634ef846a5bb08de557962763ff0/NotePanel.java/buggy/loci/ome/notebook/NotePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3609, 5537, 12, 2277, 8485, 18, 1388, 5537, 8071, 13, 288, 202, 225, 2240, 5621, 202, 21114, 225, 1014, 52, 273, 8071, 31, 202, 225, 31217, 12, 8720, 67, 10989, 1769, 202, 21114, 225, 5589, 4721, 17274, 682, 273, 336, 8067, 3471, 5621, 202, 225, 2989, 682, 1488, 333, 1488, 273, 394, 2989, 682, 1488, 5621, 202, 225, 4721, 682, 273, 394, 18417, 429, 682, 12, 2211, 1488, 16, 2211, 1769, 202, 225, 4721, 682, 18, 1289, 682, 6233, 2223, 12, 2211, 1769, 202, 21114, 225, 309, 261, 7652, 17274, 682, 480, 446, 13, 288, 202, 565, 364, 12, 474, 277, 273, 374, 31, 77, 32, 7652, 17274, 682, 18, 1467, 5621, 77, 27245, 288, 202, 1377, 3010, 425, 273, 261, 1046, 13, 4721, 17274, 682, 18, 588, 12, 77, 1769, 202, 1377, 333, 1488, 18, 1289, 1046, 12, 73, 18, 588, 1499, 2932, 461, 7923, 1769, 202, 565, 289, 202, 225, 289, 202, 21114, 225, 368, 324, 5696, 93, 2777, 759, 202, 225, 309, 261, 2211, 1488, 18, 588, 1225, 1435, 405, 374, 13, 4721, 682, 18, 542, 7416, 1016, 12, 20, 1769, 202, 21114, 225, 804, 26360, 525, 6806, 273, 394, 804, 26360, 12, 7652, 682, 1769, 202, 225, 525, 6806, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 23014, 16, 6625, 10019, 202, 21114, 225, 977, 5484, 273, 394, 804, 1528, 5484, 5621, 202, 225, 977, 5484, 18, 542, 1670, 2964, 12, 3767, 1769, 565, 977, 5484, 18, 542, 2964, 2885, 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, 3609, 5537, 12, 2277, 8485, 18, 1388, 5537, 8071, 13, 288, 202, 225, 2240, 5621, 202, 21114, 225, 1014, 52, 273, 8071, 31, 202, 225, 31217, 12, 8720, 67, 10989, 1769, 202, 21114, 225, 5589, 4721, 17274, 682, 273, 336, 8067, 3471, 5621, 202, 225, 2989, 682, 1488, 333, 1488, 273, 394, 2989, 682, 1488, 5621, 202, 225, 4721, 682, 273, 394, 18417, 429, 682, 12, 2211, 1488, 16, 2211, 1769, 202, 225, 4721, 682, 18, 1289, 682, 6233, 2223, 12, 2211, 1769, 202, 21114, 225, 309, 261, 7652, 17274, 682, 480, 446, 13, 288, 202, 565, 364, 12, 474, 277, 273, 374, 31, 77, 32, 7652, 17274, 682, 18, 1467, 5621, 77, 27245, 288, 202, 2 ]
view.getTextArea().grabFocus();
view.getTextArea().requestFocus();
public void run() { view.getTextArea().grabFocus(); if(act == null) { if(finalCmd != null) { view.getStatus().setMessageAndClear( jEdit.getProperty( "view.action.no-completions")); } } else { view.getInputHandler().setRepeatCount(repeatCount); view.getInputHandler().invokeAction(act); } }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/2b85a2aa5aa9138969febf87dd786a71619d4189/ActionBar.java/buggy/org/gjt/sp/jedit/gui/ActionBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 1082, 202, 95, 9506, 202, 1945, 18, 588, 1528, 5484, 7675, 2752, 70, 9233, 5621, 9506, 202, 430, 12, 621, 422, 446, 13, 9506, 202, 95, 6862, 202, 430, 12, 6385, 5931, 480, 446, 13, 6862, 202, 95, 25083, 202, 1945, 18, 588, 1482, 7675, 542, 1079, 1876, 9094, 12, 6862, 1082, 202, 78, 4666, 18, 588, 1396, 12, 6862, 1082, 202, 6, 1945, 18, 1128, 18, 2135, 17, 7806, 1115, 7923, 1769, 6862, 202, 97, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 1945, 18, 588, 1210, 1503, 7675, 542, 16750, 1380, 12, 9374, 1380, 1769, 6862, 202, 1945, 18, 588, 1210, 1503, 7675, 14407, 1803, 12, 621, 1769, 9506, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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086, 1435, 1082, 202, 95, 9506, 202, 1945, 18, 588, 1528, 5484, 7675, 2752, 70, 9233, 5621, 9506, 202, 430, 12, 621, 422, 446, 13, 9506, 202, 95, 6862, 202, 430, 12, 6385, 5931, 480, 446, 13, 6862, 202, 95, 25083, 202, 1945, 18, 588, 1482, 7675, 542, 1079, 1876, 9094, 12, 6862, 1082, 202, 78, 4666, 18, 588, 1396, 12, 6862, 1082, 202, 6, 1945, 18, 1128, 18, 2135, 17, 7806, 1115, 7923, 1769, 6862, 202, 97, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 1945, 18, 588, 1210, 1503, 7675, 542, 16750, 1380, 12, 9374, 1380, 1769, 6862, 202, 1945, 18, 588, 1210, 1503, 7675, 14407, 1803, 12, 621, 1769, 2 ]
m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK);
m_report.println( org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK);
private void mergePages() throws CmsException { int size = m_foldersEqualnames.size(); if (size > 0) { m_report.println(Messages.get().container(Messages.RPT_MERGE_PAGES_BEGIN_1, String.valueOf(size)) , I_CmsReport.C_FORMAT_HEADLINE); String defaultLocale = CmsLocaleManager.getDefaultLocale().toString(); String locale2 = m_cms.readPropertyObject(getParamFolder2(), "locale", true).getValue(defaultLocale); // lock the source and the target folder m_report.print(Messages.get().container(Messages.RPT_LOCK_FOLDER_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_ARGUMENT_1, getParamFolder1())); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_DOTS_0)); m_cms.lockResource(getParamFolder1()); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); m_report.print(Messages.get().container(Messages.RPT_LOCK_FOLDER_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_ARGUMENT_1, getParamFolder2())); m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_DOTS_0)); m_cms.lockResource(getParamFolder2()); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // now loop through all collected resources int count = 1; Iterator i = m_foldersEqualnames.iterator(); while (i.hasNext()) { String resFolder1Name = (String)i.next(); try { String resFolder2Name = getResourceNameInOtherFolder(resFolder1Name, getParamFolder1(), getParamFolder2()); m_report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_SUCCESSION_2, String.valueOf(count++), String.valueOf(size)), I_CmsReport.C_FORMAT_NOTE); m_report.print(Messages.get().container(Messages.RPT_PROCESS_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_ARGUMENT_1, resFolder1Name)); m_report.print(Messages.get().container(Messages.RPT_DOUBLE_ARROW_0), I_CmsReport.C_FORMAT_NOTE); m_report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_ARGUMENT_1, resFolder2Name)); m_report.println(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_DOTS_0)); // get the content of the resource in folder1 String locale = m_cms.readPropertyObject(resFolder1Name, "locale", true).getValue(defaultLocale); m_report.print(Messages.get().container(Messages.RPT_READ_CONTENT_2, resFolder1Name, locale), I_CmsReport.C_FORMAT_NOTE); CmsResource resFolder1 = m_cms.readResource(resFolder1Name, CmsResourceFilter.IGNORE_EXPIRATION); CmsFile fileFolder1 = CmsFile.upgrade(resFolder1, m_cms); CmsXmlPage pageFolder1 = CmsXmlPageFactory.unmarshal(m_cms, fileFolder1); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // get the content of the resource in folder2 locale = m_cms.readPropertyObject(resFolder2Name, "locale", true).getValue(defaultLocale); m_report.print(Messages.get().container(Messages.RPT_READ_CONTENT_2, resFolder2Name, locale), I_CmsReport.C_FORMAT_NOTE); CmsResource resFolder2 = m_cms.readResource(resFolder2Name, CmsResourceFilter.IGNORE_EXPIRATION); CmsFile fileFolder2 = CmsFile.upgrade(resFolder2, m_cms); CmsXmlPage pageFolder2 = CmsXmlPageFactory.unmarshal(m_cms, fileFolder2); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // now get all the text elements from the resource in folder 2 which match the the locale of folder 2 Locale loc = new Locale(locale2); List textElements2 = pageFolder2.getNames(loc); Iterator j = textElements2.iterator(); while (j.hasNext()) { String textElementName = (String) j.next(); m_report.print(Messages.get().container(Messages.RPT_PROCESS_TEXT_ELEM_1, textElementName), I_CmsReport.C_FORMAT_NOTE); // get the text element from the resource in folder 2... String textElement = pageFolder2.getValue(textElementName, loc).getStringValue(m_cms); // and set it in the resource in folder 1... // WARNING: An existing content will be overwritten! if (!pageFolder1.hasValue(textElementName, loc)) { pageFolder1.addValue(textElementName, loc); } pageFolder1.setStringValue(m_cms, textElementName, loc, textElement); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); } // the resource in folder 1 now has all text elements in both locales, so update it in the vfs m_report.print(Messages.get().container(Messages.RPT_WRITE_CONTENT_1, resFolder1Name), I_CmsReport.C_FORMAT_NOTE); fileFolder1.setContents(pageFolder1.marshal()); m_cms.writeFile(fileFolder1); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // save all properties from the resource in folder2 m_report.print(Messages.get().container(Messages.RPT_READ_PROPERTIES_1, resFolder2Name), I_CmsReport.C_FORMAT_NOTE); List properties = m_cms.readPropertyObjects(resFolder2Name, false); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // the next thing to do is to delete the old resource in folder 2 m_report.print(Messages.get().container(Messages.RPT_DELETE_PAGE_1, resFolder2Name), I_CmsReport.C_FORMAT_NOTE); m_cms.deleteResource(resFolder2Name, I_CmsConstants.C_DELETE_OPTION_PRESERVE_SIBLINGS); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // copy a sibling of the resource from folder 1 to folder 2 m_report.print(Messages.get().container(Messages.RPT_COPY_2, resFolder1Name, resFolder2Name), I_CmsReport.C_FORMAT_NOTE); m_cms.copyResource(resFolder1Name, resFolder2Name, I_CmsConstants.C_COPY_AS_SIBLING); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); // restore the properties at the sibling in folder 2 m_report.print(Messages.get().container(Messages.RPT_RESORE_PROPERTIES_1, resFolder2Name), I_CmsReport.C_FORMAT_NOTE); m_cms.writePropertyObjects(resFolder2Name, properties); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); resFolder1 = null; resFolder2 = null; fileFolder1 = null; fileFolder2 = null; pageFolder1 = null; pageFolder2 = null; } catch (CmsException e) { m_report.println(e); } } // lock the source and the target folder m_report.print(Messages.get().container(Messages.RPT_UNLOCK_1, getParamFolder1()), I_CmsReport.C_FORMAT_NOTE); m_cms.unlockResource(getParamFolder1()); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); m_report.print(Messages.get().container(Messages.RPT_UNLOCK_1, getParamFolder2()), I_CmsReport.C_FORMAT_NOTE); m_cms.unlockResource(getParamFolder2()); m_report.println(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_OK_0), I_CmsReport.C_FORMAT_OK); m_report.println(Messages.get().container(Messages.RPT_MERGE_PAGES_END_0), I_CmsReport.C_FORMAT_HEADLINE); } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/41dcaa9d1a1b8f8fa6c1dd9a04fc8532eb83ebb7/CmsMergePages.java/buggy/src-modules/org/opencms/workplace/tools/content/CmsMergePages.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2691, 5716, 1435, 1216, 11228, 288, 3639, 509, 963, 273, 312, 67, 16064, 5812, 1973, 18, 1467, 5621, 3639, 309, 261, 1467, 405, 374, 13, 288, 13491, 312, 67, 6006, 18, 8222, 12, 5058, 18, 588, 7675, 3782, 12, 5058, 18, 54, 1856, 67, 20969, 7113, 67, 11219, 55, 67, 16061, 67, 21, 16, 514, 18, 1132, 951, 12, 1467, 3719, 269, 467, 67, 25702, 18, 39, 67, 7254, 67, 12458, 5997, 1769, 5411, 514, 30108, 273, 2149, 3916, 1318, 18, 588, 1868, 3916, 7675, 10492, 5621, 5411, 514, 2573, 22, 273, 312, 67, 6851, 18, 896, 1396, 921, 12, 588, 786, 3899, 22, 9334, 315, 6339, 3113, 638, 2934, 24805, 12, 1886, 3916, 1769, 4766, 15604, 368, 2176, 326, 1084, 471, 326, 1018, 3009, 5411, 312, 67, 6006, 18, 1188, 12, 5058, 18, 588, 7675, 3782, 12, 5058, 18, 54, 1856, 67, 6589, 67, 17357, 67, 20, 3631, 467, 67, 25702, 18, 39, 67, 7254, 67, 17857, 1769, 5411, 312, 67, 6006, 18, 1188, 12, 3341, 18, 556, 14645, 18, 6006, 18, 5058, 18, 588, 7675, 3782, 12, 7734, 2358, 18, 556, 14645, 18, 6006, 18, 5058, 18, 54, 1856, 67, 18311, 67, 21, 16, 9027, 3899, 21, 1435, 10019, 5411, 312, 67, 6006, 18, 1188, 12, 3341, 18, 556, 14645, 18, 6006, 18, 5058, 18, 588, 7675, 3782, 12, 7734, 2358, 18, 556, 14645, 18, 6006, 18, 5058, 18, 54, 1856, 67, 17591, 55, 67, 20, 10019, 5411, 312, 67, 6851, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2691, 5716, 1435, 1216, 11228, 288, 3639, 509, 963, 273, 312, 67, 16064, 5812, 1973, 18, 1467, 5621, 3639, 309, 261, 1467, 405, 374, 13, 288, 13491, 312, 67, 6006, 18, 8222, 12, 5058, 18, 588, 7675, 3782, 12, 5058, 18, 54, 1856, 67, 20969, 7113, 67, 11219, 55, 67, 16061, 67, 21, 16, 514, 18, 1132, 951, 12, 1467, 3719, 269, 467, 67, 25702, 18, 39, 67, 7254, 67, 12458, 5997, 1769, 5411, 514, 30108, 273, 2149, 3916, 1318, 18, 588, 1868, 3916, 7675, 10492, 5621, 5411, 514, 2573, 22, 273, 312, 67, 6851, 18, 896, 1396, 921, 12, 588, 786, 3899, 22, 9334, 315, 6339, 3113, 638, 2934, 24805, 12, 1886, 3916, 1769, 4766, 2 ]
int nf = pg_stream.ReceiveInteger(2), i;
int nf = pg_stream.ReceiveIntegerR(2), i;
private Field[] ReceiveFields() throws SQLException { int nf = pg_stream.ReceiveInteger(2), i; Field[] fields = new Field[nf]; for (i = 0 ; i < nf ; ++i) { String typname = pg_stream.ReceiveString(8192); int typid = pg_stream.ReceiveInteger(4); int typlen = pg_stream.ReceiveInteger(2); fields[i] = new Field(this, typname, typid, typlen); } return fields; }
46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/4e9dd952966b600951f05ab2913b5b97936d42ba/Connection.java/buggy/src/interfaces/jdbc/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 2286, 8526, 17046, 2314, 1435, 1216, 6483, 225, 288, 565, 509, 13958, 273, 7184, 67, 3256, 18, 11323, 4522, 54, 12, 22, 3631, 277, 31, 565, 2286, 8526, 1466, 273, 394, 2286, 63, 82, 74, 15533, 3639, 364, 261, 77, 273, 374, 274, 277, 411, 13958, 274, 965, 77, 13, 1377, 288, 202, 780, 3815, 529, 273, 7184, 67, 3256, 18, 11323, 780, 12, 28, 15561, 1769, 202, 474, 3815, 350, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 24, 1769, 202, 474, 13806, 28907, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 22, 1769, 202, 2821, 63, 77, 65, 273, 394, 2286, 12, 2211, 16, 3815, 529, 16, 3815, 350, 16, 13806, 28907, 1769, 1377, 289, 565, 327, 1466, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 2286, 8526, 17046, 2314, 1435, 1216, 6483, 225, 288, 565, 509, 13958, 273, 7184, 67, 3256, 18, 11323, 4522, 54, 12, 22, 3631, 277, 31, 565, 2286, 8526, 1466, 273, 394, 2286, 63, 82, 74, 15533, 3639, 364, 261, 77, 273, 374, 274, 277, 411, 13958, 274, 965, 77, 13, 1377, 288, 202, 780, 3815, 529, 273, 7184, 67, 3256, 18, 11323, 780, 12, 28, 15561, 1769, 202, 474, 3815, 350, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 24, 1769, 202, 474, 13806, 28907, 273, 7184, 67, 3256, 18, 11323, 4522, 12, 22, 1769, 202, 2821, 63, 77, 65, 273, 394, 2286, 12, 2211, 16, 3815, 529, 16, 3815, 350, 16, 13806, 28907, 1769, 1377, 289, 2 ]
try {
try {
public void submitToRepository() { submitButton.setEnabled(false); showBusy(true); if (isDirty()) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { doSave(new NullProgressMonitor()); } }); } BugzillaReportSubmitForm bugzillaReportSubmitForm; try { if (taskData.isLocallyCreated()) { boolean wrap = IBugzillaConstants.BugzillaServerVersion.SERVER_218.equals(repository.getVersion()); bugzillaReportSubmitForm = BugzillaReportSubmitForm.makeNewBugPost(repository.getUrl(), repository .getUserName(), repository.getPassword(), editorInput.getProxySettings(), repository .getCharacterEncoding(), taskData, wrap); } else { bugzillaReportSubmitForm = BugzillaReportSubmitForm.makeExistingBugPost(taskData, repository.getUrl(), repository.getUserName(), repository.getPassword(), editorInput.getProxySettings(), removeCC, repository.getCharacterEncoding()); } } catch (UnsupportedEncodingException e) { // should never get here but just in case... MessageDialog.openError(null, "Posting Error", "Ensure proper encoding selected in " + TaskRepositoriesView.NAME + "."); return; } final BugzillaRepositoryConnector bugzillaRepositoryConnector = (BugzillaRepositoryConnector) TasksUiPlugin .getRepositoryManager().getRepositoryConnector(BugzillaCorePlugin.REPOSITORY_KIND); JobChangeAdapter submitJobListener = new JobChangeAdapter() { public void done(final IJobChangeEvent event) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { if (event.getJob().getResult().getCode() == Status.OK && event.getJob().getResult().getMessage() != null) {// // Attach context if (getAttachContext()) { final AbstractRepositoryTask modifiedTask = (AbstractRepositoryTask) TasksUiPlugin .getTaskListManager() .getTaskList() .getTask( AbstractRepositoryTask.getHandle(repository.getUrl(), taskData.getId())); IWorkbench wb = PlatformUI.getWorkbench(); IProgressService ps = wb.getProgressService(); try { ps.busyCursorWhile(new IRunnableWithProgress() { public void run(IProgressMonitor pm) { try { bugzillaRepositoryConnector.attachContext(repository, modifiedTask, "", TasksUiPlugin.getDefault().getProxySettings()); } catch (Exception e) { MylarStatusHandler.fail(e, "Failed to attach task context.\n\n" + e.getMessage(), true); } } }); } catch (InvocationTargetException e1) { MylarStatusHandler.fail(e1.getCause(), "Failed to attach task context.\n\n" + e1.getMessage(), true); } catch (InterruptedException e1) { // ignore } // IWorkbenchSite site = // BugzillaTaskEditor.this.getEditor().getSite(); // if (site instanceof IEditorSite) { // IStatusLineManager statusLineManager = // ((IEditorSite)site).getActionBars().getStatusLineManager(); // IProgressMonitor pm = // statusLineManager.getProgressMonitor(); // pm.beginTask("Attaching context", // IProgressMonitor.UNKNOWN); // pm.worked(1); // try { // bugzillaRepositoryConnector.attachContext(repository, // modifiedTask, "", TasksUiPlugin // .getDefault().getProxySettings()); // } catch (Exception e) { // MylarStatusHandler.fail(e, "Failed to attach // task context.\n\n"+e.getMessage(), true); // } // pm.done(); // // } } close(); return; } else if (event.getJob().getResult().getCode() == Status.INFO) { WebBrowserDialog.openAcceptAgreement(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event .getJob().getResult().getMessage(), event.getJob().getResult().getException() .getMessage()); submitButton.setEnabled(true); BugzillaTaskEditor.this.showBusy(false); } else if (event.getJob().getResult().getCode() == Status.ERROR) { MessageDialog.openError(null, IBugzillaConstants.REPORT_SUBMIT_ERROR, event.getResult() .getMessage()); submitButton.setEnabled(true); BugzillaTaskEditor.this.showBusy(false); } } }); } }; submissionHandler.submitBugReport(bugzillaReportSubmitForm, submitJobListener, false, false); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d8cf4a085d2950342ae5851d555f0eb0fa73e0b8/BugzillaTaskEditor.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4879, 774, 3305, 1435, 288, 202, 202, 9297, 3616, 18, 542, 1526, 12, 5743, 1769, 202, 202, 4500, 29289, 12, 3767, 1769, 202, 202, 430, 261, 291, 10785, 10756, 288, 1082, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 9506, 202, 482, 918, 1086, 1435, 288, 6862, 202, 2896, 4755, 12, 2704, 4112, 5491, 7187, 10663, 9506, 202, 97, 1082, 202, 22938, 202, 202, 97, 202, 202, 19865, 15990, 4820, 11620, 1204, 7934, 15990, 4820, 11620, 1204, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 4146, 751, 18, 291, 1333, 1230, 6119, 10756, 288, 9506, 202, 6494, 2193, 273, 467, 19865, 15990, 2918, 18, 19865, 15990, 2081, 1444, 18, 4370, 67, 22, 2643, 18, 14963, 12, 9071, 18, 588, 1444, 10663, 9506, 202, 925, 15990, 4820, 11620, 1204, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 1908, 19865, 3349, 12, 9071, 18, 588, 1489, 9334, 3352, 25083, 202, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 4858, 1210, 18, 588, 3886, 2628, 9334, 3352, 25083, 202, 18, 588, 7069, 4705, 9334, 1562, 751, 16, 2193, 1769, 1082, 202, 97, 469, 288, 9506, 202, 925, 15990, 4820, 11620, 1204, 273, 16907, 15990, 4820, 11620, 1204, 18, 6540, 9895, 19865, 3349, 12, 4146, 751, 16, 3352, 18, 588, 1489, 9334, 25083, 202, 9071, 18, 588, 15296, 9334, 3352, 18, 588, 3913, 9334, 4858, 1210, 18, 588, 3886, 2628, 9334, 1206, 6743, 16, 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, 918, 4879, 774, 3305, 1435, 288, 202, 202, 9297, 3616, 18, 542, 1526, 12, 5743, 1769, 202, 202, 4500, 29289, 12, 3767, 1769, 202, 202, 430, 261, 291, 10785, 10756, 288, 1082, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 9506, 202, 482, 918, 1086, 1435, 288, 6862, 202, 2896, 4755, 12, 2704, 4112, 5491, 7187, 10663, 9506, 202, 97, 1082, 202, 22938, 202, 202, 97, 202, 202, 19865, 15990, 4820, 11620, 1204, 7934, 15990, 4820, 11620, 1204, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 4146, 751, 18, 291, 1333, 1230, 6119, 10756, 288, 9506, 202, 6494, 2193, 273, 467, 19865, 15990, 2918, 18, 2 ]
if(t == null) {
if(t == null || !t.isAlive()) {
void start() { if(t == null) { t=new Thread(this, "UDP.OutgoingPacketHandler thread"); t.setDaemon(true); t.start(); } }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/dcbfbb7544cca747537450da32f70f440e9afc59/UDP.java/buggy/src/org/jgroups/protocols/UDP.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 787, 1435, 288, 5411, 309, 12, 88, 422, 446, 747, 401, 88, 18, 291, 10608, 10756, 288, 7734, 268, 33, 2704, 4884, 12, 2211, 16, 315, 20352, 18, 24866, 6667, 1503, 2650, 8863, 7734, 268, 18, 542, 12858, 12, 3767, 1769, 7734, 268, 18, 1937, 5621, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 787, 1435, 288, 5411, 309, 12, 88, 422, 446, 747, 401, 88, 18, 291, 10608, 10756, 288, 7734, 268, 33, 2704, 4884, 12, 2211, 16, 315, 20352, 18, 24866, 6667, 1503, 2650, 8863, 7734, 268, 18, 542, 12858, 12, 3767, 1769, 7734, 268, 18, 1937, 5621, 5411, 289, 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 ]
LOG.warn("loading " + p);
if (LOG.isDebugEnabled()) { LOG.debug("loading " + p); }
Map load(Session ssn) { Collection paths = m_signature.getPaths(); LinkedList remaining = new LinkedList(); for (Iterator it = paths.iterator(); it.hasNext(); ) { Path path = (Path) it.next(); for (; ; path = path.getParent()) { if (!remaining.contains(path)) { remaining.add(path); } if (m_signature.isSource(path)) { break; } } } HashMap values = new HashMap(); int before; do { before = remaining.size(); OUTER: for (Iterator it = remaining.iterator(); it.hasNext(); ) { Path p = (Path) it.next(); LOG.warn("loading " + p); ObjectType type = m_signature.getType(p); Adapter adapter = ssn.getRoot().getAdapter(type); Collection props = type.getImmediateProperties(); if (props.size() == 0) { values.put(p, get(p)); it.remove(); } else { PropertyMap pmap = new PropertyMap(type); for (Iterator iter = props.iterator(); iter.hasNext(); ) { Property prop = (Property) iter.next(); Path kp = Path.add(p, prop.getName()); if (values.containsKey(kp)) { pmap.put(prop, values.get(kp)); } else if (m_signature.isFetched(kp)) { continue OUTER; } } Object obj = null; if (!pmap.isNull()) { Object previous = null; if (type.isKeyed()) { previous = ssn.getObject (adapter.getSessionKey(type, pmap)); if (previous != null) { ObjectType prevType = adapter.getObjectType(previous); if (type.equals(prevType) || prevType.isSubtypeOf(type)) { obj = previous; } else if (!type.isSubtypeOf(prevType)) { throw new IllegalStateException ("object of wrong type in session " + type + " " + prevType); } } } if (obj == null) { obj = adapter.getObject(type, pmap); if (previous != obj) { ssn.use(obj); } } } values.put(p, obj); it.remove(); } } } while (remaining.size() < before); if (remaining.size() > 0) { throw new IllegalStateException ("unable to load the following paths: " + remaining + "\nsignature: " + m_signature); } HashMap cursorValues = new HashMap(); for (Iterator it = values.entrySet().iterator(); it.hasNext(); ) { Map.Entry me = (Map.Entry) it.next(); Path p = (Path) me.getKey(); Object value = me.getValue(); if (m_signature.isSource(p)) { cursorValues.put(p, value); continue; } Property prop = m_signature.getProperty(p); if (prop.getContainer().isKeyed() && !prop.isCollection()) { Object container = values.get(p.getParent()); if (container == null) { if (value == null) { continue; } else { throw new IllegalStateException ("container of " + p + " is null"); } } ssn.load(container, prop, value); } else { cursorValues.put(p, value); } } return cursorValues; }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/2e98e5f975065a0b0c5b784847deb35648f16b9d/RecordSet.java/clean/archive/qgen/src/com/redhat/persistence/RecordSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1635, 1262, 12, 2157, 5202, 82, 13, 288, 3639, 2200, 2953, 273, 312, 67, 8195, 18, 588, 4466, 5621, 202, 13174, 682, 4463, 273, 394, 10688, 5621, 202, 1884, 261, 3198, 518, 273, 2953, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 202, 565, 2666, 589, 273, 261, 743, 13, 518, 18, 4285, 5621, 5411, 364, 261, 31, 274, 589, 273, 589, 18, 588, 3054, 10756, 288, 7734, 309, 16051, 17956, 18, 12298, 12, 803, 3719, 288, 10792, 4463, 18, 1289, 12, 803, 1769, 7734, 289, 7734, 309, 261, 81, 67, 8195, 18, 291, 1830, 12, 803, 3719, 288, 10792, 898, 31, 7734, 289, 5411, 289, 3639, 289, 202, 8658, 924, 273, 394, 4317, 5621, 202, 474, 1865, 31, 202, 2896, 288, 202, 565, 1865, 273, 4463, 18, 1467, 5621, 202, 565, 28759, 30, 364, 261, 3198, 518, 273, 4463, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 202, 202, 743, 293, 273, 261, 743, 13, 518, 18, 4285, 5621, 7734, 2018, 18, 8935, 2932, 15174, 315, 397, 293, 1769, 202, 202, 17610, 618, 273, 312, 67, 8195, 18, 588, 559, 12, 84, 1769, 7734, 14238, 4516, 273, 5202, 82, 18, 588, 2375, 7675, 588, 4216, 12, 723, 1769, 202, 202, 2532, 3458, 273, 618, 18, 588, 22651, 2297, 5621, 202, 202, 430, 261, 9693, 18, 1467, 1435, 422, 374, 13, 288, 1082, 565, 924, 18, 458, 12, 84, 16, 336, 12, 84, 10019, 1082, 565, 518, 18, 4479, 5621, 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, 377, 1635, 1262, 12, 2157, 5202, 82, 13, 288, 3639, 2200, 2953, 273, 312, 67, 8195, 18, 588, 4466, 5621, 202, 13174, 682, 4463, 273, 394, 10688, 5621, 202, 1884, 261, 3198, 518, 273, 2953, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 202, 565, 2666, 589, 273, 261, 743, 13, 518, 18, 4285, 5621, 5411, 364, 261, 31, 274, 589, 273, 589, 18, 588, 3054, 10756, 288, 7734, 309, 16051, 17956, 18, 12298, 12, 803, 3719, 288, 10792, 4463, 18, 1289, 12, 803, 1769, 7734, 289, 7734, 309, 261, 81, 67, 8195, 18, 291, 1830, 12, 803, 3719, 288, 10792, 898, 31, 7734, 289, 5411, 289, 3639, 289, 202, 8658, 924, 273, 394, 4317, 5621, 202, 2 ]
iVisited.accept(_Payload);
_Payload.visitZSuperNode(iVisited);
public void visitZSuperNode(ZSuperNode iVisited) { iVisited.accept(_Payload); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 62, 8051, 907, 12, 62, 8051, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3757, 62, 8051, 907, 12, 62, 8051, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
while(!allTransfersCompleted) { try { wait(10*1000); } catch (InterruptedException e) { }
if(cw != null) { while(!allTransfersCompleted) { try { wait(10*1000); } catch (InterruptedException e) { } } } else { allTransfersCompleted = true;
private void finish(int code, PeerNode next) { Logger.minor(this, "Finished: "+code+" on "+this, new Exception("debug")); if(status != NOT_FINISHED) throw new IllegalStateException("finish() called with "+code+" when was already "+status); setStatusTime = System.currentTimeMillis(); if(code == ROUTE_NOT_FOUND && nodesWaitingForCompletion.isEmpty()) code = ROUTE_REALLY_NOT_FOUND; status = code; synchronized(this) { notifyAll(); } Logger.minor(this, "Set status code: "+getStatusString()); // Now wait for transfers, or for downstream transfer notifications. synchronized(this) { while(!allTransfersCompleted) { try { wait(10*1000); } catch (InterruptedException e) { // Try again } } } synchronized(this) { notifyAll(); } Logger.minor(this, "Returning from finish()"); }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/6455389420efb8add0eddbd5fb06a55c94e80fd7/InsertSender.java/buggy/src/freenet/node/InsertSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4076, 12, 474, 981, 16, 10669, 907, 1024, 13, 288, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 10577, 30, 13773, 710, 9078, 603, 13773, 2211, 16, 394, 1185, 2932, 4148, 7923, 1769, 3639, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 540, 202, 12849, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 3639, 9433, 950, 273, 2332, 18, 2972, 28512, 5621, 7734, 309, 12, 710, 422, 6525, 9099, 67, 4400, 67, 9294, 597, 2199, 15946, 1290, 11238, 18, 291, 1921, 10756, 540, 202, 710, 273, 6525, 9099, 67, 862, 4685, 61, 67, 4400, 67, 9294, 31, 7734, 1267, 273, 981, 31, 7734, 3852, 12, 2211, 13, 288, 5411, 5066, 1595, 5621, 3639, 289, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 694, 1267, 981, 30, 13773, 588, 1482, 780, 10663, 7734, 368, 4494, 2529, 364, 29375, 16, 578, 364, 18186, 7412, 9208, 18, 7734, 3852, 12, 2211, 13, 288, 540, 202, 17523, 12, 5, 454, 1429, 18881, 9556, 13, 288, 540, 202, 202, 698, 288, 6862, 202, 7048, 12, 2163, 14, 18088, 1769, 9506, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 759, 6161, 3382, 9506, 202, 97, 540, 202, 97, 3639, 289, 7734, 3852, 12, 2211, 13, 288, 5411, 5066, 1595, 5621, 3639, 289, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 28365, 628, 4076, 1435, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4076, 12, 474, 981, 16, 10669, 907, 1024, 13, 288, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 10577, 30, 13773, 710, 9078, 603, 13773, 2211, 16, 394, 1185, 2932, 4148, 7923, 1769, 3639, 309, 12, 2327, 480, 4269, 67, 23259, 2056, 13, 540, 202, 12849, 394, 5477, 2932, 13749, 1435, 2566, 598, 13773, 710, 9078, 1347, 1703, 1818, 13773, 2327, 1769, 3639, 9433, 950, 273, 2332, 18, 2972, 28512, 5621, 7734, 309, 12, 710, 422, 6525, 9099, 67, 4400, 67, 9294, 597, 2199, 15946, 1290, 11238, 18, 291, 1921, 10756, 540, 202, 710, 273, 6525, 9099, 67, 862, 4685, 61, 67, 4400, 67, 9294, 31, 7734, 1267, 273, 981, 31, 7734, 3852, 12, 2211, 13, 2 ]
Icon posterClarifier = thePoster.getClarifier(); if (posterClarifier != null) { return posterClarifier; } return null;
return thePoster.getClarifier();
public Icon getClarifier() { Icon posterClarifier = thePoster.getClarifier(); if (posterClarifier != null) { return posterClarifier; } return null; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/3e4f17f38fe33adb648b96409106895462372b51/ToDoItem.java/clean/src_new/org/argouml/cognitive/ToDoItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16011, 1927, 7901, 1251, 1435, 288, 202, 5554, 1603, 264, 2009, 297, 1251, 273, 326, 3349, 264, 18, 588, 2009, 297, 1251, 5621, 202, 430, 261, 2767, 264, 2009, 297, 1251, 480, 446, 13, 288, 202, 565, 327, 1603, 264, 2009, 297, 1251, 31, 202, 97, 202, 2463, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16011, 1927, 7901, 1251, 1435, 288, 202, 5554, 1603, 264, 2009, 297, 1251, 273, 326, 3349, 264, 18, 588, 2009, 297, 1251, 5621, 202, 430, 261, 2767, 264, 2009, 297, 1251, 480, 446, 13, 288, 202, 565, 327, 1603, 264, 2009, 297, 1251, 31, 202, 97, 202, 2463, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.error(e);
System.err.println(e);
public static void main(String args[]) { MulticastSocket sock; InetAddress mcast_addr=null, bind_addr=null; DatagramPacket packet; byte buf[]=null; byte[] recv_buf; String tmp; int port=5555; try { for(int i=0; i < args.length; i++) { tmp=args[i]; if("-help".equals(tmp)) { help(); return; } if("-bind_addr".equals(tmp)) { bind_addr=InetAddress.getByName(args[++i]); continue; } if("-mcast_addr".equals(tmp)) { mcast_addr=InetAddress.getByName(args[++i]); continue; } if("-port".equals(tmp)) { port=Integer.parseInt(args[++i]); continue; } help(); return; } if(mcast_addr == null) mcast_addr=InetAddress.getByName("224.0.0.150"); } catch(Exception ex) { log.error(ex); return; } try { sock=new MulticastSocket(port); if(bind_addr != null) sock.setInterface(bind_addr); sock.joinGroup(mcast_addr); System.out.println("Socket=" + sock.getLocalAddress() + ':' + sock.getLocalPort() + ", bind interface=" + sock.getInterface()); while(true) { buf=new byte[256]; packet=new DatagramPacket(buf, buf.length); sock.receive(packet); recv_buf=packet.getData(); System.out.println(new String(recv_buf) + " [sender=" + packet.getAddress().getHostAddress() + ':' + packet.getPort() + ']'); byte[] buf2="Hello from Bela".getBytes(); DatagramPacket rsp=new DatagramPacket(buf2, buf2.length, packet.getAddress(), packet.getPort()); sock.send(rsp); } } catch(Exception e) { log.error(e); } }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/5ad015d9a78e1da3350d9b398b46b2f5d4508564/McastReceiverTest.java/buggy/tests/other/org/jgroups/tests/McastReceiverTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 7778, 12544, 4534, 7313, 31, 3639, 14218, 312, 4155, 67, 4793, 33, 2011, 16, 1993, 67, 4793, 33, 2011, 31, 3639, 6168, 17049, 6667, 4414, 31, 3639, 1160, 1681, 8526, 33, 2011, 31, 3639, 1160, 8526, 10665, 67, 4385, 31, 3639, 514, 1853, 31, 3639, 509, 1756, 33, 27982, 31, 3639, 775, 288, 5411, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 7734, 1853, 33, 1968, 63, 77, 15533, 7734, 309, 2932, 17, 5201, 9654, 14963, 12, 5645, 3719, 288, 10792, 2809, 5621, 10792, 327, 31, 7734, 289, 7734, 309, 2932, 17, 4376, 67, 4793, 9654, 14963, 12, 5645, 3719, 288, 10792, 1993, 67, 4793, 33, 382, 278, 1887, 18, 588, 5911, 12, 1968, 63, 9904, 77, 19226, 10792, 1324, 31, 7734, 289, 7734, 309, 2932, 17, 81, 4155, 67, 4793, 9654, 14963, 12, 5645, 3719, 288, 10792, 312, 4155, 67, 4793, 33, 382, 278, 1887, 18, 588, 5911, 12, 1968, 63, 9904, 77, 19226, 10792, 1324, 31, 7734, 289, 7734, 309, 2932, 17, 655, 9654, 14963, 12, 5645, 3719, 288, 10792, 1756, 33, 4522, 18, 2670, 1702, 12, 1968, 63, 9904, 77, 19226, 10792, 1324, 31, 7734, 289, 7734, 2809, 5621, 7734, 327, 31, 5411, 289, 5411, 309, 12, 81, 4155, 67, 4793, 422, 446, 13, 7734, 312, 4155, 67, 4793, 33, 382, 278, 1887, 18, 588, 5911, 2932, 23622, 18, 20, 18, 20, 18, 23014, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 7778, 12544, 4534, 7313, 31, 3639, 14218, 312, 4155, 67, 4793, 33, 2011, 16, 1993, 67, 4793, 33, 2011, 31, 3639, 6168, 17049, 6667, 4414, 31, 3639, 1160, 1681, 8526, 33, 2011, 31, 3639, 1160, 8526, 10665, 67, 4385, 31, 3639, 514, 1853, 31, 3639, 509, 1756, 33, 27982, 31, 3639, 775, 288, 5411, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 7734, 1853, 33, 1968, 63, 77, 15533, 7734, 309, 2932, 17, 5201, 9654, 14963, 12, 5645, 3719, 288, 10792, 2809, 5621, 10792, 327, 31, 7734, 289, 7734, 309, 2932, 17, 4376, 67, 4793, 9654, 14963, 12, 5645, 2 ]
DisplayEditor3D display_editor = new DisplayEditor3D();
DisplayEditor display_editor = new DisplayEditor();
private void showMainPanel() { ClassLoader loader = BeanJarClassLoader.instance(); DefaultControlPanelModel model = new DefaultControlPanelModel(); model.add("D i s p l a y", new ImageIcon(loader.getResource("org/vrjuggler/vrjconfig/images/display64.png"))); model.add("S i m u l a t o r", new ImageIcon(loader.getResource("org/vrjuggler/vrjconfig/images/simulator64.png"))); model.add("C l u s t e r", new ImageIcon(loader.getResource("org/vrjuggler/vrjconfig/images/cluster64.png"))); model.add("D e v i c e s", new ImageIcon(loader.getResource("org/vrjuggler/vrjconfig/images/devices64.png"))); model.add("A u d i o", new ImageIcon(loader.getResource("org/vrjuggler/vrjconfig/images/audio64.png"))); ControlPanel new_control = new ControlPanel(); new_control.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { ControlPanel control = (ControlPanel)evt.getSource(); Object value = control.getModel().getElementAt(evt.getID()); String item = (String)value; if (item.equals("D e v i c e s")) { showDevicesPanel(); } else if (item.equals("D i s p l a y")) { DisplayEditor3D display_editor = new DisplayEditor3D(); display_editor.setConfigContext(context); pushCurrentBack(display_editor); } else if (item.equals("C l u s t e r")) { JDialog dlg = new JDialog( (Frame)SwingUtilities.getAncestorOfClass(Frame.class, ControlPanelView.this), "Sim Device Editor", true); dlg.getContentPane().setLayout(new BorderLayout()); SimAnalogDeviceEditor editor = new SimAnalogDeviceEditor(context); List chunks = getConfigBroker().getChunks(context); ConfigChunk device = (ConfigChunk)ConfigUtilities.getChunksWithName(chunks, "Analog Simulator").get(0); editor.setDevice(device); dlg.getContentPane().add(editor, BorderLayout.CENTER); dlg.pack(); dlg.setVisible(true); } } }); new_control.setModel(model); new_control.setTitle("Choose a category"); new_control.setWatermark(new ImageIcon(loader.getResource("org/vrjuggler/vrjconfig/images/watermark_logo.png"))); pushCurrentBack(new_control); }
49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/8dd647b06da8ee3ab4842b6ef5ef3b6d3b9c16b1/ControlPanelView.java/buggy/modules/vrjuggler/vrjconfig/org/vrjuggler/vrjconfig/ControlPanelView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 2405, 6376, 5537, 1435, 282, 288, 1377, 9403, 4088, 273, 7704, 10813, 7805, 18, 1336, 5621, 1377, 2989, 3367, 5537, 1488, 938, 273, 394, 2989, 3367, 5537, 1488, 5621, 1377, 938, 18, 1289, 2932, 40, 277, 272, 293, 328, 279, 677, 3113, 4202, 394, 3421, 5554, 12, 6714, 18, 588, 1420, 2932, 3341, 19, 18090, 78, 5696, 749, 19, 18090, 78, 1425, 19, 7369, 19, 5417, 1105, 18, 6446, 6, 3719, 1769, 1377, 938, 18, 1289, 2932, 55, 277, 312, 582, 328, 279, 268, 320, 436, 3113, 282, 394, 3421, 5554, 12, 6714, 18, 588, 1420, 2932, 3341, 19, 18090, 78, 5696, 749, 19, 18090, 78, 1425, 19, 7369, 19, 9812, 11775, 1105, 18, 6446, 6, 3719, 1769, 1377, 938, 18, 1289, 2932, 39, 328, 582, 272, 268, 425, 436, 3113, 4202, 394, 3421, 5554, 12, 6714, 18, 588, 1420, 2932, 3341, 19, 18090, 78, 5696, 749, 19, 18090, 78, 1425, 19, 7369, 19, 7967, 1105, 18, 6446, 6, 3719, 1769, 1377, 938, 18, 1289, 2932, 40, 425, 331, 277, 276, 425, 272, 3113, 4202, 394, 3421, 5554, 12, 6714, 18, 588, 1420, 2932, 3341, 19, 18090, 78, 5696, 749, 19, 18090, 78, 1425, 19, 7369, 19, 12506, 1105, 18, 6446, 6, 3719, 1769, 1377, 938, 18, 1289, 2932, 37, 582, 302, 277, 320, 3113, 6647, 394, 3421, 5554, 12, 6714, 18, 588, 1420, 2932, 3341, 19, 18090, 78, 5696, 749, 19, 18090, 78, 1425, 19, 7369, 19, 11509, 1105, 18, 6446, 6, 3719, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 2405, 6376, 5537, 1435, 282, 288, 1377, 9403, 4088, 273, 7704, 10813, 7805, 18, 1336, 5621, 1377, 2989, 3367, 5537, 1488, 938, 273, 394, 2989, 3367, 5537, 1488, 5621, 1377, 938, 18, 1289, 2932, 40, 277, 272, 293, 328, 279, 677, 3113, 4202, 394, 3421, 5554, 12, 6714, 18, 588, 1420, 2932, 3341, 19, 18090, 78, 5696, 749, 19, 18090, 78, 1425, 19, 7369, 19, 5417, 1105, 18, 6446, 6, 3719, 1769, 1377, 938, 18, 1289, 2932, 55, 277, 312, 582, 328, 279, 268, 320, 436, 3113, 282, 394, 3421, 5554, 12, 6714, 18, 588, 1420, 2932, 3341, 19, 18090, 78, 5696, 749, 19, 18090, 78, 1425, 19, 7369, 19, 9812, 11775, 1105, 18, 6446, 6, 2 ]
public void removeTriangle(Object node)
public void removeTriangle(QueueItem node)
public void removeTriangle(Object node) { if(!(node instanceof TreeNode)) throw new RuntimeException("Not a TreeNode"); triQueue.remove(node); }
46075 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46075/b66104acbbcca8ab1f6799fedcc4176924fbc233/TreeQueueManager.java/clean/src/java/org/j3d/terrain/roam/TreeQueueManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1206, 31506, 12, 3183, 1180, 756, 13, 565, 288, 3639, 309, 12, 5, 12, 2159, 1276, 20270, 3719, 5411, 604, 394, 3235, 2932, 1248, 279, 20270, 8863, 3639, 6882, 3183, 18, 4479, 12, 2159, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 31506, 12, 3183, 1180, 756, 13, 565, 288, 3639, 309, 12, 5, 12, 2159, 1276, 20270, 3719, 5411, 604, 394, 3235, 2932, 1248, 279, 20270, 8863, 3639, 6882, 3183, 18, 4479, 12, 2159, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( ( publicId != null && publicId.equals( _dtdInfo[ i ].publicId ) ) || ( systemId != null && systemId.equals( _dtdInfo[ i ].systemId ) ) ) { return new InputSource( getClass().getResourceAsStream( _dtdInfo[ i ].resource ) );
if ( publicId != null && publicId.equals( _dtdInfo[ i ].publicId ) ) { source = new InputSource( getClass().getResourceAsStream( _dtdInfo[ i ].resource ) ); source.setPublicId(publicId); return source; } if ( systemId != null && systemId.equals( _dtdInfo[ i ].systemId ) ) { source = new InputSource( getClass().getResourceAsStream( _dtdInfo[ i ].resource ) ); source.setSystemId(systemId); return source;
public InputSource resolveEntity( String publicId, String systemId ) throws IOException, SAXException { int i; InputSource source; // First, resolve all the DTD/schema. for ( i = 0 ; i < _dtdInfo.length ; ++i ) { if ( ( publicId != null && publicId.equals( _dtdInfo[ i ].publicId ) ) || ( systemId != null && systemId.equals( _dtdInfo[ i ].systemId ) ) ) { return new InputSource( getClass().getResourceAsStream( _dtdInfo[ i ].resource ) ); } } // If a resolver was specified, use it. if ( _resolver != null ) { source = _resolver.resolveEntity( publicId, systemId ); if ( source != null ) return source; } // Can't resolve public id, but might be able to resolve relative // system id, since we have a base URI. if ( systemId != null && _baseUrl != null ) { URL url; try { url = new URL( systemId ); return new InputSource( url.openStream() ); } catch ( MalformedURLException except ) { try { url = new URL( _baseUrl, systemId ); return new InputSource( url.openStream() ); } catch ( MalformedURLException ex2 ) { } } return null; } // No resolving. return null; }
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/85b153c6605b29bbf1c3881fd21ab630ecf7e186/DTDResolver.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/util/DTDResolver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 23699, 2245, 1943, 12, 514, 1071, 548, 16, 514, 30083, 262, 3639, 1216, 1860, 16, 14366, 565, 288, 3639, 509, 540, 277, 31, 3639, 23699, 1084, 31, 3639, 368, 5783, 16, 2245, 777, 326, 10696, 40, 19, 4821, 18, 3639, 364, 261, 277, 273, 374, 274, 277, 411, 389, 31834, 966, 18, 2469, 274, 965, 77, 262, 288, 5411, 309, 261, 261, 1071, 548, 480, 446, 597, 1071, 548, 18, 14963, 12, 389, 31834, 966, 63, 277, 308, 18, 482, 548, 262, 262, 747, 1171, 261, 30083, 480, 446, 597, 30083, 18, 14963, 12, 389, 31834, 966, 63, 277, 308, 18, 4299, 548, 262, 262, 262, 288, 7734, 327, 394, 23699, 12, 2900, 7675, 588, 1420, 17052, 12, 389, 31834, 966, 63, 277, 308, 18, 3146, 262, 11272, 5411, 289, 3639, 289, 3639, 368, 971, 279, 5039, 1703, 1269, 16, 999, 518, 18, 3639, 309, 261, 389, 14122, 480, 446, 262, 288, 5411, 1084, 273, 389, 14122, 18, 10828, 1943, 12, 1071, 548, 16, 30083, 11272, 5411, 309, 261, 1084, 480, 446, 262, 7734, 327, 1084, 31, 3639, 289, 3639, 368, 4480, 1404, 2245, 1071, 612, 16, 1496, 4825, 506, 7752, 358, 2245, 3632, 3639, 368, 2619, 612, 16, 3241, 732, 1240, 279, 1026, 3699, 18, 3639, 309, 261, 30083, 480, 446, 597, 389, 31576, 480, 446, 262, 288, 5411, 1976, 880, 31, 5411, 775, 288, 7734, 880, 273, 394, 1976, 12, 30083, 11272, 7734, 327, 394, 23699, 12, 880, 18, 3190, 1228, 1435, 11272, 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, 23699, 2245, 1943, 12, 514, 1071, 548, 16, 514, 30083, 262, 3639, 1216, 1860, 16, 14366, 565, 288, 3639, 509, 540, 277, 31, 3639, 23699, 1084, 31, 3639, 368, 5783, 16, 2245, 777, 326, 10696, 40, 19, 4821, 18, 3639, 364, 261, 277, 273, 374, 274, 277, 411, 389, 31834, 966, 18, 2469, 274, 965, 77, 262, 288, 5411, 309, 261, 261, 1071, 548, 480, 446, 597, 1071, 548, 18, 14963, 12, 389, 31834, 966, 63, 277, 308, 18, 482, 548, 262, 262, 747, 1171, 261, 30083, 480, 446, 597, 30083, 18, 14963, 12, 389, 31834, 966, 63, 277, 308, 18, 4299, 548, 262, 262, 262, 288, 7734, 327, 394, 23699, 12, 2900, 7675, 588, 1420, 17052, 2 ]
final Set<PsiMethod> processedMethods)
Set<PsiMethod> pendingMethods)
private boolean isInSynchronizedContext(PsiReference reference, Set<PsiMethod> methodsAlwaysSynchronized, Set<PsiMethod> methodsNotAlwaysSynchronized, final Set<PsiMethod> processedMethods) { final PsiElement element = reference.getElement(); if(PsiTreeUtil.getParentOfType(element, PsiSynchronizedStatement.class) != null){ return true; } final PsiMethod method = PsiTreeUtil .getParentOfType(element, PsiMethod.class); if(method == null){ return false; } if (processedMethods.contains(method)) return true; processedMethods.add(method); if(method.hasModifierProperty(PsiModifier.SYNCHRONIZED)){ return true; } return methodIsAlwaysUsedSynchronized(method, methodsAlwaysSynchronized, methodsNotAlwaysSynchronized, processedMethods); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/1c66bd07c76b86e4314f2eee7acc5ea7824f6729/VariableAccessVisitor.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/threading/VariableAccessVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 8048, 55, 15666, 1042, 12, 52, 7722, 2404, 2114, 16, 4766, 5411, 1000, 32, 52, 7722, 1305, 34, 2590, 18806, 55, 15666, 16, 4766, 5411, 1000, 32, 52, 7722, 1305, 34, 2590, 1248, 18806, 55, 15666, 16, 4766, 5411, 1000, 32, 52, 7722, 1305, 34, 4634, 4712, 13, 565, 288, 3639, 727, 453, 7722, 1046, 930, 273, 2114, 18, 21336, 5621, 3639, 309, 12, 52, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 2956, 16, 4766, 4202, 453, 7722, 55, 15666, 3406, 18, 1106, 13, 480, 446, 15329, 5411, 327, 638, 31, 3639, 289, 3639, 727, 453, 7722, 1305, 707, 273, 453, 7722, 2471, 1304, 7734, 263, 588, 3054, 18859, 12, 2956, 16, 453, 7722, 1305, 18, 1106, 1769, 3639, 309, 12, 2039, 422, 446, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 11005, 4712, 18, 12298, 12, 2039, 3719, 327, 638, 31, 3639, 5204, 4712, 18, 1289, 12, 2039, 1769, 3639, 309, 12, 2039, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 7474, 50, 1792, 19359, 24131, 3719, 95, 5411, 327, 638, 31, 3639, 289, 3639, 327, 707, 2520, 18806, 6668, 55, 15666, 12, 2039, 16, 2590, 18806, 55, 15666, 16, 4766, 2868, 2590, 1248, 18806, 55, 15666, 16, 5204, 4712, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 8048, 55, 15666, 1042, 12, 52, 7722, 2404, 2114, 16, 4766, 5411, 1000, 32, 52, 7722, 1305, 34, 2590, 18806, 55, 15666, 16, 4766, 5411, 1000, 32, 52, 7722, 1305, 34, 2590, 1248, 18806, 55, 15666, 16, 4766, 5411, 1000, 32, 52, 7722, 1305, 34, 4634, 4712, 13, 565, 288, 3639, 727, 453, 7722, 1046, 930, 273, 2114, 18, 21336, 5621, 3639, 309, 12, 52, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 2956, 16, 4766, 4202, 453, 7722, 55, 15666, 3406, 18, 1106, 13, 480, 446, 15329, 5411, 327, 638, 31, 3639, 289, 3639, 727, 453, 7722, 1305, 707, 273, 453, 7722, 2471, 1304, 7734, 263, 588, 3054, 18859, 12, 2956, 16, 453, 7722, 1305, 2 ]
try { Method getEncoding = fDocument.getClass().getMethod("getInputEncoding", new Class[] {}); if (getEncoding != null) { encoding = (String) getEncoding.invoke(fDocument, (Object[]) null); } } catch (Exception e) { }
String encoding = _getInputEncoding(node);
public boolean writeToURI(Node node, String URI) throws LSException{ if (node == null){ return false; } Method getXmlVersion = null; XMLSerializer ser = null; String ver = null; String encoding = null; Document fDocument =(node.getNodeType() == Node.DOCUMENT_NODE) ? (Document) node : node.getOwnerDocument(); // this should run under JDK 1.1.8... try { getXmlVersion = fDocument.getClass().getMethod("getXmlVersion", new Class[] {}); if (getXmlVersion != null) { ver = (String) getXmlVersion.invoke(fDocument, (Object[]) null); } } catch (Exception e) { // no way to test the version... // ignore the exception } if (ver != null && ver.equals("1.1")) { if (xml11Serializer == null) { xml11Serializer = new XML11Serializer(); initSerializer(xml11Serializer); } // copy setting from "main" serializer to XML 1.1 serializer copySettings(serializer, xml11Serializer); ser = xml11Serializer; } else { ser = serializer; } try { Method getEncoding = fDocument.getClass().getMethod("getInputEncoding", new Class[] {}); if (getEncoding != null) { encoding = (String) getEncoding.invoke(fDocument, (Object[]) null); } } catch (Exception e) { // ignore the exception } if (encoding == null) { try { Method getEncoding = fDocument.getClass().getMethod("getXmlEncoding", new Class[] {}); if (getEncoding != null) { encoding = (String) getEncoding.invoke(fDocument, (Object[]) null); } } catch (Exception e) { // ignore the exception } if (encoding == null) { encoding = "UTF-8"; } } try { prepareForSerialization(ser, node); ser._format.setEncoding(encoding); // URI was specified. Handle relative URIs. String expanded = XMLEntityManager.expandSystemId(URI, null, true); URL url = new URL(expanded != null ? expanded : URI); OutputStream out = null; String protocol = url.getProtocol(); String host = url.getHost(); // Use FileOutputStream if this URI is for a local file. if (protocol.equals("file") && (host == null || host.length() == 0 || host.equals("localhost"))) { out = new FileOutputStream(getPathWithoutEscapes(url.getFile())); } // Try to write to some other kind of URI. Some protocols // won't support this, though HTTP should work. else { URLConnection urlCon = url.openConnection(); urlCon.setDoInput(false); urlCon.setDoOutput(true); urlCon.setUseCaches(false); // Enable tunneling. if (urlCon instanceof HttpURLConnection) { // The DOM L3 LS CR says if we are writing to an HTTP URI // it is to be done with an HTTP PUT. HttpURLConnection httpCon = (HttpURLConnection) urlCon; httpCon.setRequestMethod("PUT"); } out = urlCon.getOutputStream(); } ser.setOutputByteStream(out); if (node.getNodeType() == Node.DOCUMENT_NODE) ser.serialize((Document) node); else if (node.getNodeType() == Node.DOCUMENT_FRAGMENT_NODE) ser.serialize((DocumentFragment) node); else if (node.getNodeType() == Node.ELEMENT_NODE) ser.serialize((Element) node); else return false; } catch (LSException lse) { // Rethrow LSException. throw lse; } catch (RuntimeException e) { if (e == DOMNormalizer.abort){ // stopped at user request return false; } throw (LSException) DOMUtil.createLSException(LSException.SERIALIZE_ERR, e).fillInStackTrace(); } catch (Exception e) { if (ser.fDOMErrorHandler != null) { DOMErrorImpl error = new DOMErrorImpl(); error.fException = e; error.fMessage = e.getMessage(); error.fSeverity = DOMError.SEVERITY_ERROR; ser.fDOMErrorHandler.handleError(error); } throw (LSException) DOMUtil.createLSException(LSException.SERIALIZE_ERR, e).fillInStackTrace(); } return true; } //writeURI
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/79051c332f89b308cf564a9b0e070bbc49227002/DOMSerializerImpl.java/clean/src/org/apache/xml/serialize/DOMSerializerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 12870, 3098, 12, 907, 756, 16, 514, 3699, 13, 1216, 29204, 503, 95, 3639, 309, 261, 2159, 422, 446, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 2985, 28504, 1444, 273, 446, 31, 3639, 3167, 6306, 703, 273, 446, 31, 3639, 514, 1924, 273, 446, 31, 3639, 514, 2688, 273, 446, 31, 3639, 4319, 284, 2519, 273, 12, 2159, 18, 588, 15101, 1435, 422, 2029, 18, 18450, 67, 8744, 13, 7734, 692, 261, 2519, 13, 756, 7734, 294, 756, 18, 588, 5541, 2519, 5621, 3639, 368, 333, 1410, 1086, 3613, 24387, 404, 18, 21, 18, 28, 2777, 3639, 775, 288, 5411, 28504, 1444, 273, 7734, 284, 2519, 18, 588, 797, 7675, 588, 1305, 2932, 588, 4432, 1444, 3113, 394, 1659, 8526, 2618, 1769, 5411, 309, 261, 588, 4432, 1444, 480, 446, 13, 288, 7734, 1924, 273, 261, 780, 13, 28504, 1444, 18, 14407, 12, 74, 2519, 16, 261, 921, 63, 5717, 446, 1769, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 368, 1158, 4031, 358, 1842, 326, 1177, 2777, 5411, 368, 2305, 326, 1520, 3639, 289, 3639, 309, 261, 502, 480, 446, 597, 1924, 18, 14963, 2932, 21, 18, 21, 6, 3719, 288, 5411, 309, 261, 2902, 2499, 6306, 422, 446, 13, 288, 7734, 2025, 2499, 6306, 273, 394, 3167, 2499, 6306, 5621, 7734, 1208, 6306, 12, 2902, 2499, 6306, 1769, 5411, 289, 5411, 368, 1610, 3637, 628, 315, 5254, 6, 6340, 358, 3167, 404, 18, 21, 6340, 5411, 1610, 2628, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 12870, 3098, 12, 907, 756, 16, 514, 3699, 13, 1216, 29204, 503, 95, 3639, 309, 261, 2159, 422, 446, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 2985, 28504, 1444, 273, 446, 31, 3639, 3167, 6306, 703, 273, 446, 31, 3639, 514, 1924, 273, 446, 31, 3639, 514, 2688, 273, 446, 31, 3639, 4319, 284, 2519, 273, 12, 2159, 18, 588, 15101, 1435, 422, 2029, 18, 18450, 67, 8744, 13, 7734, 692, 261, 2519, 13, 756, 7734, 294, 756, 18, 588, 5541, 2519, 5621, 3639, 368, 333, 1410, 1086, 3613, 24387, 404, 18, 21, 18, 28, 2777, 3639, 775, 288, 5411, 28504, 1444, 273, 7734, 284, 2519, 18, 588, 797, 7675, 588, 1305, 2932, 588, 4432, 2 ]
databaseProductName = comm.getString(nameLen);
databaseProductName = comm.getString(nameLen, encoder);
private PacketResult processLoginAck() throws net.sourceforge.jtds.jdbc.TdsException, java.io.IOException { getSubPacketLength(); // Packet length if( tdsVer == Tds.TDS70 ) { comm.skip(5); int nameLen = comm.getByte(); databaseProductName = comm.getString(nameLen); databaseProductVersion = ("0" + (databaseMajorVersion=comm.getByte()) + ".0" + comm.getByte() + ".0" + ((256 * (comm.getByte()+1)) + comm.getByte())); } else { comm.skip(5); short nameLen = comm.getByte(); databaseProductName = comm.getString(nameLen); comm.skip(1); databaseProductVersion = ("" + (databaseMajorVersion=comm.getByte()) + "." + comm.getByte()); comm.skip(1); } if (databaseProductName.length() > 1 && -1 != databaseProductName.indexOf('\0')) { int last = databaseProductName.indexOf('\0'); databaseProductName = databaseProductName.substring(0, last); } return new PacketResult(TDS_LOGINACK); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/97164a0afa05dda770bcb5e79a95c97cd975d5f7/Tds.java/clean/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 11114, 1253, 1207, 5358, 11931, 1435, 2398, 1216, 2901, 18, 3168, 1884, 908, 18, 78, 88, 2377, 18, 24687, 18, 56, 2377, 503, 16, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 7040, 6667, 1782, 5621, 368, 11114, 769, 3639, 309, 12, 268, 2377, 3945, 422, 399, 2377, 18, 56, 3948, 7301, 262, 3639, 288, 5411, 1543, 18, 7457, 12, 25, 1769, 5411, 509, 508, 2891, 273, 1543, 18, 588, 3216, 5621, 5411, 2063, 4133, 461, 273, 1543, 18, 588, 780, 12, 529, 2891, 16, 7261, 1769, 5411, 2063, 4133, 1444, 273, 7566, 20, 6, 397, 261, 6231, 17581, 1444, 33, 5702, 18, 588, 3216, 10756, 397, 3552, 20, 6, 5397, 397, 1543, 18, 588, 3216, 1435, 397, 3552, 20, 6, 5397, 397, 14015, 5034, 380, 261, 5702, 18, 588, 3216, 1435, 15, 21, 3719, 397, 1543, 18, 588, 3216, 1435, 10019, 3639, 289, 3639, 469, 3639, 288, 5411, 1543, 18, 7457, 12, 25, 1769, 5411, 3025, 508, 2891, 273, 1543, 18, 588, 3216, 5621, 5411, 2063, 4133, 461, 273, 1543, 18, 588, 780, 12, 529, 2891, 16, 7261, 1769, 5411, 1543, 18, 7457, 12, 21, 1769, 5411, 2063, 4133, 1444, 273, 261, 3660, 397, 261, 6231, 17581, 1444, 33, 5702, 18, 588, 3216, 10756, 397, 4585, 397, 1543, 18, 588, 3216, 10663, 5411, 1543, 18, 7457, 12, 21, 1769, 3639, 289, 3639, 309, 261, 6231, 4133, 461, 18, 2469, 1435, 405, 404, 1171, 597, 300, 21, 480, 2063, 4133, 461, 18, 31806, 2668, 64, 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, 1253, 1207, 5358, 11931, 1435, 2398, 1216, 2901, 18, 3168, 1884, 908, 18, 78, 88, 2377, 18, 24687, 18, 56, 2377, 503, 16, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 7040, 6667, 1782, 5621, 368, 11114, 769, 3639, 309, 12, 268, 2377, 3945, 422, 399, 2377, 18, 56, 3948, 7301, 262, 3639, 288, 5411, 1543, 18, 7457, 12, 25, 1769, 5411, 509, 508, 2891, 273, 1543, 18, 588, 3216, 5621, 5411, 2063, 4133, 461, 273, 1543, 18, 588, 780, 12, 529, 2891, 16, 7261, 1769, 5411, 2063, 4133, 1444, 273, 7566, 20, 6, 397, 261, 6231, 17581, 1444, 33, 5702, 18, 588, 3216, 10756, 397, 3552, 20, 6, 5397, 397, 1543, 18, 588, 3216, 1435, 2 ]
public static ValueLinkApi getInstance(GenericDelegator delegator, Properties props) { return getInstance(delegator, props, false);
public static ValueLinkApi getInstance(GenericDelegator delegator, Properties props, boolean reload) { String merchantId = (String) props.get("payment.valuelink.merchantId"); if (props == null) { throw new IllegalArgumentException("Properties cannot be null"); } ValueLinkApi api = (ValueLinkApi) objectCache.get(merchantId); if (api == null || reload) { synchronized(ValueLinkApi.class) { api = (ValueLinkApi) objectCache.get(merchantId); if (api == null || reload) { api = new ValueLinkApi(delegator, props); objectCache.put(merchantId, api); } } } if (api == null) { throw new RuntimeException("Runtime problems with ValueLinkApi; unable to create instance"); } return api;
public static ValueLinkApi getInstance(GenericDelegator delegator, Properties props) { return getInstance(delegator, props, false); }
55411 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55411/123e21403fe4a296eca2d0a5773e2c661b11dba7/ValueLinkApi.java/buggy/applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1445, 2098, 3064, 3694, 12, 7014, 15608, 639, 11158, 639, 16, 6183, 3458, 13, 288, 3639, 327, 3694, 12, 3771, 1332, 639, 16, 3458, 16, 629, 1769, 565, 289, 2, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1445, 2098, 3064, 3694, 12, 7014, 15608, 639, 11158, 639, 16, 6183, 3458, 13, 288, 3639, 327, 3694, 12, 3771, 1332, 639, 16, 3458, 16, 629, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
child.setAttribute(WSDLPump.XSD_TYPE, relaventElementInSchemaReferedByPart.getAttribute(WSDLPump.XSD_TYPE));
child.setAttribute(WSDLPump.XSD_TYPE, relaventElementInSchemaReferedByPart.getAttribute(WSDLPump.XSD_TYPE));
private QName generateReferenceQname(Message wsdl4jMessage) { QName referenceQName = null; if (wsdl4jMessage.getParts().size() > 1) { Map parts = wsdl4jMessage.getParts(); Iterator i = parts.keySet().iterator(); Part thisPart = (Part)(parts.get(i.next())); if (thisPart.getElementName() != null) { throw new RuntimeException( "We don't support multiple element parts in a WSDL message"); } // Multipart Message // NOTE (gdaniels) : It appears this code is taking multiple // part declarations and "wrapping" them into a single schema // type. This is fine for RPC style stuff, but should not be // happening for document style. // TODO : sanity check // Check whether this message parts have been made to a type Iterator multipartListIterator = this.resolvedMultipartMessageList.iterator(); boolean multipartAlreadyResolved = false; while (multipartListIterator.hasNext() && !multipartAlreadyResolved) { QName temp = (QName) multipartListIterator.next(); multipartAlreadyResolved = wsdl4jMessage.getQName().equals(temp); } if (multipartAlreadyResolved) { //This message with multiple parts has resolved and a new type has been //made out of it earlier. //FIXME Actual element name should it be xs:, if yes change the qname added to the //resolvedmessage list too. referenceQName = wsdl4jMessage.getQName(); } else { //Get the list of multiparts of the message and create a new Element //out of it and add it to the schema. Element schemaElement = null; WSDLTypes types = womDefinition.getTypes(); //If types is null create a new one to be used for multipart //resolution if any. if (null == types) { DocumentBuilder documentBuilder = null; try { documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); } catch (ParserConfigurationException e) { throw new RuntimeException(e); } Document newDoc = documentBuilder.newDocument(); Element newSchemaElement = newDoc.createElementNS("http://www.w3.org/2001/XMLSchema", "schema"); types = wsdlComponentFactory.createTypes(); ExtensionFactory extensionFactory = wsdlComponentFactory.createExtensionFactory(); org.apache.wsdl.extensions.Schema typesElement = (org.apache.wsdl.extensions.Schema) extensionFactory.getExtensionElement( ExtensionConstants.SCHEMA); typesElement.setElelment(newSchemaElement); types.addExtensibilityElement(typesElement); this.womDefinition.setTypes(types); } // Iterator schemaEIIterator = types.getExtensibilityElements() .iterator(); while (schemaEIIterator.hasNext()) { WSDLExtensibilityElement temp = (WSDLExtensibilityElement) schemaEIIterator.next(); if (ExtensionConstants.SCHEMA.equals(temp.getType())) { schemaElement = ((org.apache.wsdl.extensions.Schema) temp).getElelment(); break; } } schemaElement.setAttribute(WSDLPump.XMLNS_AXIS2WRAPPED, schemaElement.getAttribute(WSDLPump.XSD_TARGETNAMESPACE)); Document doc = schemaElement.getOwnerDocument(); String name = wsdl4jMessage.getQName().getLocalPart(); Element newType = doc.createElementNS(WSDLPump.NAMESPACE_XMLSCHEMA, WSDLPump.XSD_COMPLEXTYPE); newType.setAttribute(WSDLPump.XSD_NAME, name); Element cmplxContent = doc.createElementNS(WSDLPump.NAMESPACE_XMLSCHEMA, WSDLPump.XSD_SEQUENCE); Element child; Element relaventElementInSchemaReferedByPart = null; Iterator iterator = parts.keySet().iterator(); while (iterator.hasNext()) { Part part = (Part) parts.get(iterator.next()); QName elementName = part.getElementName(); if (null == elementName) { elementName = part.getTypeName(); } NodeList allSchemaElements = schemaElement.getChildNodes(); for(int idx = 0; idx < allSchemaElements.getLength(); idx++){ if(allSchemaElements.item(idx).getNodeType() == Node.ELEMENT_NODE && allSchemaElements.item(idx).getLocalName().equals(WSDLPump.XSD_ELEMENT) && elementName.getLocalPart().equals(((Element)allSchemaElements.item(idx)).getAttribute(WSDLPump.XSD_NAME))){ relaventElementInSchemaReferedByPart = (Element)allSchemaElements.item(idx); break; } } child = doc.createElementNS(WSDLPump.NAMESPACE_XMLSCHEMA, WSDLPump.XSD_ELEMENT); child.setAttribute(WSDLPump.XSD_NAME, elementName.getLocalPart()); if(null != relaventElementInSchemaReferedByPart){ child.setAttribute(WSDLPump.XSD_TYPE, relaventElementInSchemaReferedByPart.getAttribute(WSDLPump.XSD_TYPE)); }else{ child.setAttribute(WSDLPump.XSD_TYPE, elementName.getLocalPart()); } cmplxContent.appendChild(child); } newType.appendChild(cmplxContent); schemaElement.appendChild(newType); Element newElement = doc.createElementNS(WSDLPump.NAMESPACE_XMLSCHEMA, WSDLPump.XSD_ELEMENT); newElement.setAttribute(WSDLPump.XSD_NAME, wsdl4jMessage.getQName().getLocalPart()); newElement.setAttribute(WSDLPump.XSD_TYPE, "axis2wrapped:"+wsdl4jMessage.getQName().getLocalPart()); schemaElement.appendChild(newElement); //Now since a new type is created augmenting the parts add the QName //of the newly created type as the messageReference's name. referenceQName = wsdl4jMessage.getQName(); //Add this message as a resolved message, so that incase some other //operation refer to the same message the if above will take a hit //and the cashed QName can be used instead of creating another type //for the same message. this.resolvedMultipartMessageList.add(wsdl4jMessage.getQName()); } } else { //Only one part so copy the QName of the referenced type. Iterator outputIterator = wsdl4jMessage.getParts().values().iterator(); if (outputIterator.hasNext()) { Part outPart = ((Part) outputIterator.next()); QName typeName; if (null != (typeName = outPart.getTypeName())) { referenceQName = typeName; } else { referenceQName = outPart.getElementName(); } } } return referenceQName; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/75a39e698ad064999b536c0847ee45b2f0a756cd/WSDLPump.java/buggy/modules/wsdl/src/org/apache/axis2/wsdl/builder/wsdl4j/WSDLPump.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 16723, 2103, 2404, 53, 529, 12, 1079, 17642, 24, 78, 1079, 13, 288, 3639, 16723, 2114, 13688, 273, 446, 31, 3639, 309, 261, 4749, 5761, 24, 78, 1079, 18, 588, 4305, 7675, 1467, 1435, 405, 404, 13, 288, 5411, 1635, 2140, 273, 17642, 24, 78, 1079, 18, 588, 4305, 5621, 5411, 4498, 277, 273, 2140, 18, 856, 694, 7675, 9838, 5621, 5411, 6393, 333, 1988, 273, 261, 1988, 21433, 6019, 18, 588, 12, 77, 18, 4285, 1435, 10019, 5411, 309, 261, 2211, 1988, 18, 21336, 461, 1435, 480, 446, 13, 288, 7734, 604, 394, 3235, 12, 13491, 315, 3218, 2727, 1404, 2865, 3229, 930, 2140, 316, 279, 30567, 883, 8863, 5411, 289, 5411, 368, 19919, 2350, 5411, 368, 5219, 261, 19016, 28662, 10558, 13, 294, 2597, 14606, 333, 981, 353, 13763, 3229, 5411, 368, 1087, 12312, 471, 315, 4113, 1382, 6, 2182, 1368, 279, 2202, 1963, 5411, 368, 618, 18, 225, 1220, 353, 11079, 364, 8295, 2154, 10769, 16, 1496, 1410, 486, 506, 5411, 368, 5865, 310, 364, 1668, 2154, 18, 5411, 368, 2660, 294, 16267, 866, 5411, 368, 2073, 2856, 333, 883, 2140, 1240, 2118, 7165, 358, 279, 618, 5411, 4498, 10263, 682, 3198, 273, 333, 18, 11792, 12024, 1079, 682, 18, 9838, 5621, 5411, 1250, 10263, 9430, 12793, 273, 629, 31, 5411, 1323, 261, 16404, 682, 3198, 18, 5332, 2134, 1435, 597, 10792, 401, 16404, 9430, 12793, 13, 288, 7734, 16723, 1906, 273, 261, 13688, 13, 10263, 682, 3198, 18, 4285, 5621, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 16723, 2103, 2404, 53, 529, 12, 1079, 17642, 24, 78, 1079, 13, 288, 3639, 16723, 2114, 13688, 273, 446, 31, 3639, 309, 261, 4749, 5761, 24, 78, 1079, 18, 588, 4305, 7675, 1467, 1435, 405, 404, 13, 288, 5411, 1635, 2140, 273, 17642, 24, 78, 1079, 18, 588, 4305, 5621, 5411, 4498, 277, 273, 2140, 18, 856, 694, 7675, 9838, 5621, 5411, 6393, 333, 1988, 273, 261, 1988, 21433, 6019, 18, 588, 12, 77, 18, 4285, 1435, 10019, 5411, 309, 261, 2211, 1988, 18, 21336, 461, 1435, 480, 446, 13, 288, 7734, 604, 394, 3235, 12, 13491, 315, 3218, 2727, 1404, 2865, 3229, 930, 2140, 316, 279, 30567, 883, 8863, 5411, 289, 5411, 368, 19919, 2350, 5411, 2 ]
"import javax.microedition.lcdui.Image; " + "import de.enough.polish.ui.*;";
"import javax.microedition.lcdui.Image"; this.completeMidp2 = this.defaultPackageCompleteMidp2 + "; import de.enough.polish.ui.*;";
public ImportConverter() { // init import statements to translate from the J2ME- to the polish-GUI: HashMap toPolish = new HashMap(); toPolish.put( "javax.microedition.lcdui.Choice", "de.enough.polish.ui.Choice; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.ChoiceGroup", "de.enough.polish.ui.ChoiceGroup; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.CustomItem", "de.enough.polish.ui.CustomItem; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.DateField", "de.enough.polish.ui.DateField; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.Form", "de.enough.polish.ui.Form; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.Gauge", "de.enough.polish.ui.Gauge; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.ImageItem", "de.enough.polish.ui.ImageItem; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.Item", "de.enough.polish.ui.Item; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.ItemCommandListener", "de.enough.polish.ui.ItemCommandListener; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.ItemStateListener", "de.enough.polish.ui.ItemStateListener; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.List", "de.enough.polish.ui.List; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.Screen", "de.enough.polish.ui.Screen; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.Spacer", "de.enough.polish.ui.Spacer; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.StringItem", "de.enough.polish.ui.StringItem; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.Style", "de.enough.polish.ui.Style; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.TextBox", "de.enough.polish.ui.TextBox; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.TextField", "de.enough.polish.ui.TextField; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.Ticker", "de.enough.polish.ui.Ticker; import de.enough.polish.ui.StyleSheet"); this.midp2ToPolish = toPolish; this.siemensColorGameApiToPolish = new HashMap( toPolish ); this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.GameCanvas", "com.siemens.mp.color_game.GameCanvas; import de.enough.polish.ui.StyleSheet" ); this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.Layer", "com.siemens.mp.color_game.Layer; import de.enough.polish.ui.StyleSheet" ); this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.LayerManager", "com.siemens.mp.color_game.LayerManager; import de.enough.polish.ui.StyleSheet" ); this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.TiledLayer", "com.siemens.mp.color_game.TiledLayer; import de.enough.polish.ui.StyleSheet" ); this.siemensColorGameApiToPolish.put( "javax.microedition.lcdui.game.Sprite", "de.enough.polish.ui.game.Sprite; import de.enough.polish.ui.StyleSheet"); this.polishToSiemensColorGameApi = new HashMap(); this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.GameCanvas", "com.siemens.mp.color_game.GameCanvas; import de.enough.polish.ui.StyleSheet" ); this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.Layer", "com.siemens.mp.color_game.Layer; import de.enough.polish.ui.StyleSheet" ); this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.LayerManager", "com.siemens.mp.color_game.LayerManager; import de.enough.polish.ui.StyleSheet" ); this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.TiledLayer", "com.siemens.mp.color_game.TiledLayer; import de.enough.polish.ui.StyleSheet" ); this.polishToSiemensColorGameApi.put( "javax.microedition.lcdui.game.Sprite", "de.enough.polish.ui.game.Sprite; import de.enough.polish.ui.StyleSheet"); toPolish = new HashMap( toPolish ); toPolish.put( "javax.microedition.lcdui.game.GameCanvas", "de.enough.polish.ui.game.GameCanvas; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.game.Layer", "de.enough.polish.ui.game.Layer; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.game.LayerManager", "de.enough.polish.ui.game.LayerManager; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.game.Sprite", "de.enough.polish.ui.game.Sprite; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.game.TiledLayer", "de.enough.polish.ui.game.TiledLayer; import de.enough.polish.ui.StyleSheet"); toPolish.put( "javax.microedition.lcdui.game.*", "de.enough.polish.ui.game.*; import de.enough.polish.ui.StyleSheet"); this.midp1ToPolish = toPolish; // that was peanuts now the tricky part comes: // when javax.microedition.lcdui.* is imported, there are still // some base classes which cannot be implemented by the polish framework, // these have to be inserted as well: this.completeMidp1 = "import javax.microedition.lcdui.CommandListener; " + "import javax.microedition.lcdui.Alert; " + "import javax.microedition.lcdui.AlertType; " + "import javax.microedition.lcdui.Canvas; " + "import javax.microedition.lcdui.Command; " + "import javax.microedition.lcdui.Display; " + "import javax.microedition.lcdui.Displayable; " + "import javax.microedition.lcdui.Font; " + "import javax.microedition.lcdui.Graphics; " + "import javax.microedition.lcdui.Image; " + "import de.enough.polish.ui.*;"; this.completeMidp2 = "import javax.microedition.lcdui.CommandListener; " + "import javax.microedition.lcdui.Alert; " + "import javax.microedition.lcdui.AlertType; " + "import javax.microedition.lcdui.Canvas; " + "import javax.microedition.lcdui.Command; " + "import javax.microedition.lcdui.Display; " + "import javax.microedition.lcdui.Displayable; " + "import javax.microedition.lcdui.Font; " + "import javax.microedition.lcdui.Graphics; " + "import javax.microedition.lcdui.Image; " + "import de.enough.polish.ui.*;"; // init import statements to translate from the polish- to the J2ME-GUI: HashMap toJavax = new HashMap(); toJavax.put( "de.enough.polish.ui.*", "javax.microedition.lcdui.*" ); // add all javaxToPolish-elements switched over: Set set = toPolish.keySet(); for (Iterator iter = set.iterator(); iter.hasNext();) { String key = (String) iter.next(); toJavax.put( toPolish.get(key), key ); } this.polishToMidp2 = new HashMap( toJavax ); // add game-API for MIDP/1.0 devices: toJavax.put( "javax.microedition.lcdui.game.GameCanvas", "de.enough.polish.ui.game.GameCanvas"); toJavax.put( "javax.microedition.lcdui.game.Layer", "de.enough.polish.ui.game.Layer"); toJavax.put( "javax.microedition.lcdui.game.LayerManager", "de.enough.polish.ui.game.LayerManager"); toJavax.put( "javax.microedition.lcdui.game.Sprite", "de.enough.polish.ui.game.Sprite"); toJavax.put( "javax.microedition.lcdui.game.TiledLayer", "de.enough.polish.ui.game.TiledLayer"); toJavax.put( "javax.microedition.lcdui.game.*", "de.enough.polish.ui.game.*"); this.polishToMidp1 = toJavax; }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/3b8c8b6c4d94de23963f563b591ccfed1277b62e/ImportConverter.java/clean/enough-polish-build/source/src/de/enough/polish/preprocess/ImportConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6164, 5072, 1435, 288, 202, 202, 759, 1208, 1930, 6317, 358, 4204, 628, 326, 804, 22, 958, 17, 358, 326, 2952, 1468, 17, 43, 5370, 30, 202, 202, 8658, 358, 5850, 1468, 273, 394, 4317, 5621, 202, 202, 869, 5850, 1468, 18, 458, 12, 315, 28384, 18, 14458, 329, 608, 18, 17704, 2544, 77, 18, 10538, 3113, 315, 323, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 10538, 31, 1930, 443, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 2885, 8229, 8863, 202, 202, 869, 5850, 1468, 18, 458, 12, 315, 28384, 18, 14458, 329, 608, 18, 17704, 2544, 77, 18, 10538, 1114, 3113, 315, 323, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 10538, 1114, 31, 1930, 443, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 2885, 8229, 8863, 202, 202, 869, 5850, 1468, 18, 458, 12, 315, 28384, 18, 14458, 329, 608, 18, 17704, 2544, 77, 18, 3802, 1180, 3113, 315, 323, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 3802, 1180, 31, 1930, 443, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 2885, 8229, 8863, 202, 202, 869, 5850, 1468, 18, 458, 12, 315, 28384, 18, 14458, 329, 608, 18, 17704, 2544, 77, 18, 1626, 974, 3113, 315, 323, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 1626, 974, 31, 1930, 443, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 2885, 8229, 8863, 202, 202, 869, 5850, 1468, 18, 458, 12, 315, 28384, 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, 6164, 5072, 1435, 288, 202, 202, 759, 1208, 1930, 6317, 358, 4204, 628, 326, 804, 22, 958, 17, 358, 326, 2952, 1468, 17, 43, 5370, 30, 202, 202, 8658, 358, 5850, 1468, 273, 394, 4317, 5621, 202, 202, 869, 5850, 1468, 18, 458, 12, 315, 28384, 18, 14458, 329, 608, 18, 17704, 2544, 77, 18, 10538, 3113, 315, 323, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 10538, 31, 1930, 443, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 18, 2885, 8229, 8863, 202, 202, 869, 5850, 1468, 18, 458, 12, 315, 28384, 18, 14458, 329, 608, 18, 17704, 2544, 77, 18, 10538, 1114, 3113, 315, 323, 18, 275, 4966, 18, 3915, 1468, 18, 4881, 2 ]
public void replaceOperation(IUndoableOperation operation, IUndoableOperation [] replacements) { // check the undo history first. int index = undoList.indexOf(operation); if (index > -1) { undoList.remove(operation); internalRemove(operation); ArrayList allContexts = new ArrayList(replacements.length); for (int i=0; i<replacements.length; i++) { IUndoContext [] opContexts = replacements[i].getContexts(); for (int j=0; j < opContexts.length; j++ ) { allContexts.add(opContexts[j]); } undoList.add(index, replacements[i]); notifyAdd(replacements[i]); } // recheck all the limits. We do this at the end so the index doesn't change during replacement for (int i=0; i<allContexts.size(); i++) { IUndoContext context = (IUndoContext)allContexts.get(i); forceUndoLimit(context, getLimit(context)); } // look in the redo history } else { index = redoList.indexOf(operation); if (index == -1) return; ArrayList allContexts = new ArrayList(replacements.length); redoList.remove(operation); internalRemove(operation); for (int i=0; i<replacements.length; i++) { IUndoContext [] opContexts = replacements[i].getContexts(); for (int j=0; j < opContexts.length; j++ ) { allContexts.add(opContexts[j]); } redoList.add(index, replacements[i]); notifyAdd(replacements[i]); } // recheck all the limits. We do this at the end so the index doesn't change during replacement for (int i=0; i<allContexts.size(); i++) { IUndoContext context = (IUndoContext)allContexts.get(i); forceRedoLimit(context, getLimit(context)); } } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3bad50e6f68ff26b260565b7df8938cfe4826b83/DefaultOperationHistory.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1453, 2988, 12, 45, 31224, 429, 2988, 1674, 16, 467, 31224, 429, 2988, 5378, 11413, 13, 288, 202, 202, 759, 866, 326, 15436, 4927, 1122, 18, 202, 202, 474, 770, 273, 15436, 682, 18, 31806, 12, 7624, 1769, 202, 202, 430, 261, 1615, 405, 300, 21, 13, 288, 1082, 202, 31226, 682, 18, 4479, 12, 7624, 1769, 1082, 202, 7236, 3288, 12, 7624, 1769, 1082, 202, 19558, 777, 15518, 273, 394, 2407, 12, 2079, 1346, 18, 2469, 1769, 1082, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 2079, 1346, 18, 2469, 31, 277, 27245, 288, 9506, 202, 45, 31224, 1042, 5378, 1061, 15518, 273, 11413, 63, 77, 8009, 588, 15518, 5621, 9506, 202, 1884, 261, 474, 525, 33, 20, 31, 525, 411, 1061, 15518, 18, 2469, 31, 525, 9904, 262, 288, 6862, 202, 454, 15518, 18, 1289, 12, 556, 15518, 63, 78, 19226, 9506, 202, 97, 9506, 202, 31226, 682, 18, 1289, 12, 1615, 16, 11413, 63, 77, 19226, 9506, 202, 12336, 986, 12, 2079, 1346, 63, 77, 19226, 1082, 202, 97, 1082, 202, 759, 283, 1893, 777, 326, 8181, 18, 225, 1660, 741, 333, 622, 326, 679, 1427, 326, 770, 3302, 1404, 2549, 4982, 6060, 1082, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 454, 15518, 18, 1467, 5621, 277, 27245, 288, 9506, 202, 45, 31224, 1042, 819, 273, 261, 45, 31224, 1042, 13, 454, 15518, 18, 588, 12, 77, 1769, 9506, 202, 5734, 31224, 3039, 12, 2472, 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, 1453, 2988, 12, 45, 31224, 429, 2988, 1674, 16, 467, 31224, 429, 2988, 5378, 11413, 13, 288, 202, 202, 759, 866, 326, 15436, 4927, 1122, 18, 202, 202, 474, 770, 273, 15436, 682, 18, 31806, 12, 7624, 1769, 202, 202, 430, 261, 1615, 405, 300, 21, 13, 288, 1082, 202, 31226, 682, 18, 4479, 12, 7624, 1769, 1082, 202, 7236, 3288, 12, 7624, 1769, 1082, 202, 19558, 777, 15518, 273, 394, 2407, 12, 2079, 1346, 18, 2469, 1769, 1082, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 2079, 1346, 18, 2469, 31, 277, 27245, 288, 9506, 202, 45, 31224, 1042, 5378, 1061, 15518, 273, 11413, 63, 77, 8009, 588, 15518, 5621, 9506, 202, 2 ]
prevEditorAction = ActionFactory.PREVIOUS_EDITOR.create(getWindow());
prevEditorAction = ActionFactory.PREVIOUS_EDITOR.create(window);
protected void makeActions(IWorkbenchWindow window) { // @issue should obtain from ConfigurationItemFactory statusLineItem = new StatusLineContributionItem("ModeContributionItem"); //$NON-NLS-1$ newWizardAction = ActionFactory.NEW.create(getWindow()); register(newWizardAction); newWizardDropDownAction = IDEActionFactory.NEW_WIZARD_DROP_DOWN .create(getWindow()); register(newWizardDropDownAction); importResourcesAction = ActionFactory.IMPORT.create(getWindow()); register(importResourcesAction); exportResourcesAction = ActionFactory.EXPORT.create(getWindow()); register(exportResourcesAction); buildAllAction = IDEActionFactory.BUILD.create(getWindow()); register(buildAllAction); cleanAction = IDEActionFactory.BUILD_CLEAN.create(getWindow()); register(cleanAction); toggleAutoBuildAction = IDEActionFactory.BUILD_AUTOMATICALLY .create(getWindow()); register(toggleAutoBuildAction); saveAction = ActionFactory.SAVE.create(getWindow()); register(saveAction); saveAsAction = ActionFactory.SAVE_AS.create(getWindow()); register(saveAsAction); saveAllAction = ActionFactory.SAVE_ALL.create(getWindow()); register(saveAllAction); undoAction = ActionFactory.UNDO.create(getWindow()); register(undoAction); redoAction = ActionFactory.REDO.create(getWindow()); register(redoAction); cutAction = ActionFactory.CUT.create(getWindow()); register(cutAction); copyAction = ActionFactory.COPY.create(getWindow()); register(copyAction); pasteAction = ActionFactory.PASTE.create(getWindow()); register(pasteAction); printAction = ActionFactory.PRINT.create(getWindow()); register(printAction); selectAllAction = ActionFactory.SELECT_ALL.create(getWindow()); register(selectAllAction); findAction = ActionFactory.FIND.create(getWindow()); register(findAction); closeAction = ActionFactory.CLOSE.create(getWindow()); register(closeAction); closeAllAction = ActionFactory.CLOSE_ALL.create(getWindow()); register(closeAllAction); closeAllSavedAction = ActionFactory.CLOSE_ALL_SAVED.create(getWindow()); register(closeAllSavedAction); helpContentsAction = ActionFactory.HELP_CONTENTS.create(getWindow()); register(helpContentsAction); aboutAction = ActionFactory.ABOUT.create(getWindow()); aboutAction .setImageDescriptor(IDEInternalWorkbenchImages .getImageDescriptor(IDEInternalWorkbenchImages.IMG_OBJS_DEFAULT_PROD)); register(aboutAction); openPreferencesAction = ActionFactory.PREFERENCES.create(getWindow()); register(openPreferencesAction); addBookmarkAction = IDEActionFactory.BOOKMARK.create(getWindow()); register(addBookmarkAction); addTaskAction = IDEActionFactory.ADD_TASK.create(getWindow()); register(addTaskAction); deleteAction = ActionFactory.DELETE.create(getWindow()); register(deleteAction); AboutInfo[] infos = IDEWorkbenchPlugin.getDefault().getFeatureInfos(); // See if a welcome page is specified for (int i = 0; i < infos.length; i++) { if (infos[i].getWelcomePageURL() != null) { quickStartAction = IDEActionFactory.QUICK_START .create(getWindow()); register(quickStartAction); break; } } // See if a tips and tricks page is specified for (int i = 0; i < infos.length; i++) { if (infos[i].getTipsAndTricksHref() != null) { tipsAndTricksAction = IDEActionFactory.TIPS_AND_TRICKS .create(getWindow()); register(tipsAndTricksAction); break; } } // Actions for invisible accelerators showViewMenuAction = ActionFactory.SHOW_VIEW_MENU.create(getWindow()); register(showViewMenuAction); showPartPaneMenuAction = ActionFactory.SHOW_PART_PANE_MENU .create(getWindow()); register(showPartPaneMenuAction); nextEditorAction = ActionFactory.NEXT_EDITOR.create(getWindow()); register(nextEditorAction); prevEditorAction = ActionFactory.PREVIOUS_EDITOR.create(getWindow()); register(prevEditorAction); ActionFactory.linkCycleActionPair(nextEditorAction, prevEditorAction); nextPartAction = ActionFactory.NEXT_PART.create(getWindow()); register(nextPartAction); prevPartAction = ActionFactory.PREVIOUS_PART.create(getWindow()); register(prevPartAction); ActionFactory.linkCycleActionPair(nextPartAction, prevPartAction); nextPerspectiveAction = ActionFactory.NEXT_PERSPECTIVE .create(getWindow()); register(nextPerspectiveAction); prevPerspectiveAction = ActionFactory.PREVIOUS_PERSPECTIVE .create(getWindow()); register(prevPerspectiveAction); ActionFactory.linkCycleActionPair(nextPerspectiveAction, prevPerspectiveAction); activateEditorAction = ActionFactory.ACTIVATE_EDITOR .create(getWindow()); register(activateEditorAction); maximizePartAction = ActionFactory.MAXIMIZE.create(getWindow()); register(maximizePartAction); minimizePartAction = ActionFactory.MINIMIZE.create(getWindow()); register(minimizePartAction); workbenchEditorsAction = ActionFactory.SHOW_OPEN_EDITORS .create(getWindow()); register(workbenchEditorsAction); workbookEditorsAction = ActionFactory.SHOW_WORKBOOK_EDITORS .create(getWindow()); register(workbookEditorsAction); hideShowEditorAction = ActionFactory.SHOW_EDITOR.create(getWindow()); register(hideShowEditorAction); savePerspectiveAction = ActionFactory.SAVE_PERSPECTIVE .create(getWindow()); register(savePerspectiveAction); editActionSetAction = ActionFactory.EDIT_ACTION_SETS .create(getWindow()); register(editActionSetAction); lockToolBarAction = ActionFactory.LOCK_TOOL_BAR.create(getWindow()); register(lockToolBarAction); resetPerspectiveAction = ActionFactory.RESET_PERSPECTIVE .create(getWindow()); register(resetPerspectiveAction); closePerspAction = ActionFactory.CLOSE_PERSPECTIVE.create(getWindow()); register(closePerspAction); closeAllPerspsAction = ActionFactory.CLOSE_ALL_PERSPECTIVES .create(getWindow()); register(closeAllPerspsAction); forwardHistoryAction = ActionFactory.FORWARD_HISTORY .create(getWindow()); register(forwardHistoryAction); backwardHistoryAction = ActionFactory.BACKWARD_HISTORY .create(getWindow()); register(backwardHistoryAction); revertAction = ActionFactory.REVERT.create(getWindow()); register(revertAction); refreshAction = ActionFactory.REFRESH.create(getWindow()); register(refreshAction); propertiesAction = ActionFactory.PROPERTIES.create(getWindow()); register(propertiesAction); quitAction = ActionFactory.QUIT.create(getWindow()); register(quitAction); moveAction = ActionFactory.MOVE.create(getWindow()); register(moveAction); renameAction = ActionFactory.RENAME.create(getWindow()); register(renameAction); goIntoAction = ActionFactory.GO_INTO.create(getWindow()); register(goIntoAction); backAction = ActionFactory.BACK.create(getWindow()); register(backAction); forwardAction = ActionFactory.FORWARD.create(getWindow()); register(forwardAction); upAction = ActionFactory.UP.create(getWindow()); register(upAction); nextAction = ActionFactory.NEXT.create(getWindow()); nextAction .setImageDescriptor(IDEInternalWorkbenchImages .getImageDescriptor(IDEInternalWorkbenchImages.IMG_ETOOL_NEXT_NAV)); register(nextAction); previousAction = ActionFactory.PREVIOUS.create(getWindow()); previousAction .setImageDescriptor(IDEInternalWorkbenchImages .getImageDescriptor(IDEInternalWorkbenchImages.IMG_ETOOL_PREVIOUS_NAV)); register(previousAction); buildProjectAction = IDEActionFactory.BUILD_PROJECT.create(getWindow()); register(buildProjectAction); openProjectAction = IDEActionFactory.OPEN_PROJECT.create(getWindow()); register(openProjectAction); closeProjectAction = IDEActionFactory.CLOSE_PROJECT.create(getWindow()); register(closeProjectAction); openWorkspaceAction = IDEActionFactory.OPEN_WORKSPACE .create(getWindow()); register(openWorkspaceAction); projectPropertyDialogAction = IDEActionFactory.OPEN_PROJECT_PROPERTIES .create(getWindow()); register(projectPropertyDialogAction); if (getWindow().getWorkbench().getIntroManager().hasIntro()) { introAction = ActionFactory.INTRO.create(window); register(introAction); } String showInQuickMenuId = "org.eclipse.ui.navigate.showInQuickMenu"; //$NON-NLS-1$ showInQuickMenu = new QuickMenuAction(showInQuickMenuId) { protected void fillMenu(IMenuManager menu) { menu.add(ContributionItemFactory.VIEWS_SHOW_IN .create(getWindow())); } }; register(showInQuickMenu); final String newQuickMenuId = "org.eclipse.ui.file.newQuickMenu"; //$NON-NLS-1$ newQuickMenu = new QuickMenuAction(newQuickMenuId) { protected void fillMenu(IMenuManager menu) { menu.add(new NewWizardMenu(getWindow())); } }; register(newQuickMenu); pinEditorContributionItem = ContributionItemFactory.PIN_EDITOR .create(getWindow()); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/1bde0643dd187b23bf57cd332e0997f6c371aaa1/WorkbenchActionBuilder.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1221, 6100, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 3639, 368, 632, 13882, 1410, 7161, 628, 4659, 1180, 1733, 3639, 1267, 30038, 273, 394, 2685, 1670, 442, 4027, 1180, 2932, 2309, 442, 4027, 1180, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 394, 27130, 1803, 273, 4382, 1733, 18, 12917, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 2704, 27130, 1803, 1769, 3639, 394, 27130, 7544, 4164, 1803, 273, 1599, 41, 1803, 1733, 18, 12917, 67, 59, 6867, 8085, 67, 18768, 67, 12711, 7734, 263, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 2704, 27130, 7544, 4164, 1803, 1769, 3639, 1930, 3805, 1803, 273, 4382, 1733, 18, 20445, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 5666, 3805, 1803, 1769, 3639, 3359, 3805, 1803, 273, 4382, 1733, 18, 31275, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 6530, 3805, 1803, 1769, 3639, 1361, 1595, 1803, 273, 1599, 41, 1803, 1733, 18, 20215, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 3510, 1595, 1803, 1769, 3639, 2721, 1803, 273, 1599, 41, 1803, 1733, 18, 20215, 67, 39, 10439, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 6200, 1803, 1769, 3639, 10486, 4965, 3116, 1803, 273, 1599, 41, 1803, 1733, 18, 20215, 67, 37, 1693, 1872, 11781, 4685, 61, 7734, 263, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 14401, 4965, 3116, 1803, 1769, 3639, 1923, 1803, 273, 4382, 1733, 18, 25242, 18, 2640, 12, 588, 3829, 10663, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1221, 6100, 12, 45, 2421, 22144, 3829, 2742, 13, 288, 3639, 368, 632, 13882, 1410, 7161, 628, 4659, 1180, 1733, 3639, 1267, 30038, 273, 394, 2685, 1670, 442, 4027, 1180, 2932, 2309, 442, 4027, 1180, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 394, 27130, 1803, 273, 4382, 1733, 18, 12917, 18, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 2704, 27130, 1803, 1769, 3639, 394, 27130, 7544, 4164, 1803, 273, 1599, 41, 1803, 1733, 18, 12917, 67, 59, 6867, 8085, 67, 18768, 67, 12711, 7734, 263, 2640, 12, 588, 3829, 10663, 3639, 1744, 12, 2704, 27130, 7544, 4164, 1803, 1769, 3639, 1930, 3805, 1803, 273, 4382, 1733, 18, 20445, 18, 2640, 12, 588, 3829, 2 ]
if (dense != null && 0 <= index && index < dense.length) { dense[index] = value; return; } super.put(index, start, value);
super.put(id, start, value);
public void put(int index, Scriptable start, Object value) { // only set the array length if given an array index (ECMA 15.4.0) if (this.length <= index) { // avoid overflowing index! this.length = (long)index + 1; } if (dense != null && 0 <= index && index < dense.length) { dense[index] = value; return; } super.put(index, start, value); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/032b7f4436573637adbecdd4a87a1f7f49395249/NativeArray.java/buggy/js/rhino/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 474, 770, 16, 22780, 787, 16, 1033, 460, 13, 288, 3639, 368, 1338, 444, 326, 526, 769, 309, 864, 392, 526, 770, 261, 7228, 5535, 4711, 18, 24, 18, 20, 13, 3639, 309, 261, 2211, 18, 2469, 1648, 770, 13, 288, 5411, 368, 4543, 9391, 310, 770, 5, 5411, 333, 18, 2469, 273, 261, 5748, 13, 1615, 397, 404, 31, 3639, 289, 3639, 309, 261, 25942, 480, 446, 597, 374, 1648, 770, 597, 770, 411, 16963, 18, 2469, 13, 288, 5411, 16963, 63, 1615, 65, 273, 460, 31, 5411, 327, 31, 3639, 289, 3639, 2240, 18, 458, 12, 1615, 16, 787, 16, 460, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 474, 770, 16, 22780, 787, 16, 1033, 460, 13, 288, 3639, 368, 1338, 444, 326, 526, 769, 309, 864, 392, 526, 770, 261, 7228, 5535, 4711, 18, 24, 18, 20, 13, 3639, 309, 261, 2211, 18, 2469, 1648, 770, 13, 288, 5411, 368, 4543, 9391, 310, 770, 5, 5411, 333, 18, 2469, 273, 261, 5748, 13, 1615, 397, 404, 31, 3639, 289, 3639, 309, 261, 25942, 480, 446, 597, 374, 1648, 770, 597, 770, 411, 16963, 18, 2469, 13, 288, 5411, 16963, 63, 1615, 65, 273, 460, 31, 5411, 327, 31, 3639, 289, 3639, 2240, 18, 458, 12, 1615, 16, 787, 16, 460, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected boolean formatValue( Object value, String formatStr, StyleDesign style, StringBuffer formattedStr ) { if ( value == null ) { return false; } assert style != null && formattedStr != null; assert context.getLocale( ) != null; if ( ( value instanceof Number ) ) { NumberFormatter numberFormat; if ( formatStr == null || formatStr.length( ) == 0 ) { numberFormat = style.getNumberFormatObject( ); //initial number-format for the first time if ( numberFormat == null ) { numberFormat = new NumberFormatter( context.getLocale( ) ); formatStr = style.getNumberFormat( ); if ( formatStr != null ) { numberFormat.applyPattern( formatStr ); } style.setNumberFormatObject( numberFormat ); } else { formatStr = numberFormat.getPattern( ); } } else //deal with value-of for text item { numberFormat = new NumberFormatter( context.getLocale( ) ); numberFormat.applyPattern( formatStr ); } formattedStr.append( numberFormat.format( ( (Number) value ) .doubleValue( ) ) ); } else if ( value instanceof Date ) { DateFormatter dateFormat; if ( formatStr == null || formatStr.length( ) == 0 ) { dateFormat = style.getDateFormatObject( ); //initial date-format for the first time if ( dateFormat == null ) { dateFormat = new DateFormatter( context.getLocale( ) ); formatStr = style.getDateTimeFormat( ); if ( formatStr != null ) { dateFormat.applyPattern( formatStr ); } style.setDateFormatObject( dateFormat ); } else { formatStr = dateFormat.getPattern( ); } } else //deal with value-of for text item { dateFormat = new DateFormatter( context.getLocale( ) ); dateFormat.applyPattern( formatStr ); } formattedStr.append( dateFormat.format( (Date) value ) ); } else if ( value instanceof String ) { StringFormatter stringFormat; if ( formatStr == null || formatStr.length( ) == 0 ) { stringFormat = style.getStringFormatObject( ); //initial string-format for the first time if ( stringFormat == null ) { stringFormat = new StringFormatter( ); //use default stringFormat stringFormat.setLocale( context.getLocale( ) ); //get format pattern from style formatStr = style.getStringFormat( ); if ( formatStr != null ) { stringFormat.applyPattern( formatStr ); } style.setStringFormatObject( stringFormat ); } else { formatStr = stringFormat.getPattern( ); } } else //deal with value-of for text item { stringFormat = new StringFormatter( ); stringFormat.setLocale( context.getLocale( ) ); stringFormat.applyPattern( formatStr ); } formattedStr.append( stringFormat.format( value.toString( ) ) ); } else { formattedStr.append( value.toString( ) ); return false; } if ( formatStr == null || formatStr.length( ) == 0 ) { return false; } return true; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/5e9b56cf7b8135282c03b97d8af0909f1c511509/StyledItemExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/StyledItemExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 740, 620, 12, 1033, 460, 16, 514, 740, 1585, 16, 1082, 202, 2885, 15478, 2154, 16, 6674, 4955, 1585, 262, 202, 95, 202, 202, 430, 261, 460, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 11231, 2154, 480, 446, 597, 4955, 1585, 480, 446, 31, 202, 202, 11231, 819, 18, 588, 3916, 12, 262, 480, 446, 31, 202, 202, 430, 261, 261, 460, 1276, 3588, 262, 262, 202, 202, 95, 1082, 202, 1854, 5074, 28239, 31, 1082, 202, 430, 261, 740, 1585, 422, 446, 747, 740, 1585, 18, 2469, 12, 262, 422, 374, 262, 1082, 202, 95, 9506, 202, 2696, 1630, 273, 2154, 18, 588, 1854, 1630, 921, 12, 11272, 9506, 202, 759, 6769, 1300, 17, 2139, 364, 326, 1122, 813, 9506, 202, 430, 261, 28239, 422, 446, 262, 9506, 202, 95, 6862, 202, 2696, 1630, 273, 394, 3588, 5074, 12, 819, 18, 588, 3916, 12, 262, 11272, 6862, 202, 2139, 1585, 273, 2154, 18, 588, 1854, 1630, 12, 11272, 6862, 202, 430, 261, 740, 1585, 480, 446, 262, 6862, 202, 95, 25083, 202, 2696, 1630, 18, 9010, 3234, 12, 740, 1585, 11272, 6862, 202, 97, 6862, 202, 4060, 18, 542, 1854, 1630, 921, 12, 28239, 11272, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 2139, 1585, 273, 28239, 18, 588, 3234, 12, 11272, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 759, 323, 287, 598, 460, 17, 792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 740, 620, 12, 1033, 460, 16, 514, 740, 1585, 16, 1082, 202, 2885, 15478, 2154, 16, 6674, 4955, 1585, 262, 202, 95, 202, 202, 430, 261, 460, 422, 446, 262, 202, 202, 95, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 11231, 2154, 480, 446, 597, 4955, 1585, 480, 446, 31, 202, 202, 11231, 819, 18, 588, 3916, 12, 262, 480, 446, 31, 202, 202, 430, 261, 261, 460, 1276, 3588, 262, 262, 202, 202, 95, 1082, 202, 1854, 5074, 28239, 31, 1082, 202, 430, 261, 740, 1585, 422, 446, 747, 740, 1585, 18, 2469, 12, 262, 422, 374, 262, 1082, 202, 95, 9506, 202, 2696, 1630, 273, 2154, 18, 588, 1854, 1630, 2 ]
c.gridwidth = GridBagConstraints.REMAINDER; c.gridheight = GridBagConstraints.REMAINDER;
public PropPanelString() { super("String"); GridBagLayout gb = new GridBagLayout(); setLayout(gb); GridBagConstraints c = new GridBagConstraints(); c.fill = GridBagConstraints.BOTH; c.weightx = 0.0; c.ipadx = 3; c.ipady = 3; c.gridx = 0; c.gridwidth = 1; c.gridy = 0; gb.setConstraints(_nameLabel, c); add(_nameLabel); c.weightx = 1.0; c.gridx = 1; //c.gridwidth = GridBagConstraints.REMAINDER; c.gridy = 0; gb.setConstraints(_nameField, c); add(_nameField); _nameField.getDocument().addDocumentListener(this); _nameField.setEditable(false); // needs-more-work: set font? }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/7e071908303156a4909ef9f4cea1501d452216c3/PropPanelString.java/buggy/src_new/org/argouml/uml/diagram/ui/PropPanelString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 1071, 71, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 10484, 5537, 780, 1435, 71, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 288, 71, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 2240, 2932, 780, 8863, 71, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 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, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 1071, 71, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 10484, 5537, 780, 1435, 71, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 288, 71, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 4210, 273, 13075, 18, 862, 5535, 14822, 31, 276, 18, 5222, 2 ]
System.out.println("adding bootclasspath [" + path +"]" );
public ClassLoader getClassLoader() { if (this.classLoader == null) { String[] bootClassPaths = this.classPath.getBootClassPaths(); AntClassLoader acl = new AntClassLoader(); //acl.addPathElement( this.bootClassPath ); for ( int i=0; i < bootClassPaths.length; i++ ) { String path = bootClassPaths[i]; //REMOVEME System.out.println("adding bootclasspath [" + path +"]" ); acl.addPathElement( path ); } String[] classPaths = this.classPath.getClassPaths(); for (int i=0; i < classPaths.length; i++ ) { String path = classPaths[i]; //REMOVEME System.out.println("adding classpath [" + path +"]" ); acl.addPathElement( path ); } acl.addPathElement( this.classesDir ); //System.out.println( "Classpath for device [" + this.identifier + "]: " + acl.getClasspath() ); this.classLoader = acl; } return this.classLoader; }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/1032515ab4f1f605dfbe53924ad3a6aa1706911f/Device.java/buggy/build/source/src/de/enough/polish/Device.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9403, 14352, 1435, 288, 202, 202, 430, 261, 2211, 18, 1106, 2886, 422, 446, 13, 288, 1082, 202, 780, 8526, 4835, 797, 4466, 273, 333, 18, 1106, 743, 18, 588, 15817, 797, 4466, 5621, 1082, 202, 14925, 7805, 7895, 273, 394, 18830, 7805, 5621, 1082, 202, 759, 10150, 18, 1289, 743, 1046, 12, 333, 18, 7137, 22158, 11272, 1082, 202, 1884, 261, 509, 277, 33, 20, 31, 277, 411, 4835, 797, 4466, 18, 2469, 31, 277, 9904, 262, 288, 9506, 202, 780, 589, 273, 4835, 797, 4466, 63, 77, 15533, 7734, 368, 22122, 958, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 3439, 4835, 26302, 8247, 397, 589, 397, 6, 4279, 11272, 9506, 202, 10150, 18, 1289, 743, 1046, 12, 589, 11272, 1082, 202, 97, 1082, 202, 780, 8526, 667, 4466, 273, 333, 18, 1106, 743, 18, 588, 797, 4466, 5621, 1082, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 411, 667, 4466, 18, 2469, 31, 277, 9904, 262, 288, 9506, 202, 780, 589, 273, 667, 4466, 63, 77, 15533, 9506, 202, 759, 22122, 958, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 3439, 10006, 8247, 397, 589, 397, 6, 4279, 11272, 9506, 202, 10150, 18, 1289, 743, 1046, 12, 589, 11272, 1082, 202, 97, 1082, 202, 10150, 18, 1289, 743, 1046, 12, 333, 18, 4701, 1621, 11272, 1082, 202, 759, 3163, 18, 659, 18, 8222, 12, 315, 17461, 364, 2346, 8247, 397, 333, 18, 5644, 397, 9850, 30, 315, 397, 7895, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9403, 14352, 1435, 288, 202, 202, 430, 261, 2211, 18, 1106, 2886, 422, 446, 13, 288, 1082, 202, 780, 8526, 4835, 797, 4466, 273, 333, 18, 1106, 743, 18, 588, 15817, 797, 4466, 5621, 1082, 202, 14925, 7805, 7895, 273, 394, 18830, 7805, 5621, 1082, 202, 759, 10150, 18, 1289, 743, 1046, 12, 333, 18, 7137, 22158, 11272, 1082, 202, 1884, 261, 509, 277, 33, 20, 31, 277, 411, 4835, 797, 4466, 18, 2469, 31, 277, 9904, 262, 288, 9506, 202, 780, 589, 273, 4835, 797, 4466, 63, 77, 15533, 7734, 368, 22122, 958, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 3439, 4835, 26302, 8247, 397, 589, 397, 6, 4279, 11272, 9506, 202, 10150, 18, 2 ]
calculateExceptionsThrownForForExpression((PsiForStatement) statement, exceptionTypes);
calculateExceptionsThrownForForExpression( (PsiForStatement) statement, exceptionTypes);
private static void calculateExceptionsThrownForStatement(PsiStatement statement, Set<PsiType> exceptionTypes){ if(statement == null){ return; } if(statement instanceof PsiBreakStatement || statement instanceof PsiContinueStatement){ // don't do anything } else if(statement instanceof PsiReturnStatement){ final PsiReturnStatement returnStatement = (PsiReturnStatement) statement; final PsiExpression returnValue = returnStatement.getReturnValue(); if(returnValue != null){ calculateExceptionsThrown(returnValue, exceptionTypes); } } else if(statement instanceof PsiThrowStatement){ calculateExceptionsThrownForThrowStatement((PsiThrowStatement) statement, exceptionTypes); } else if(statement instanceof PsiExpressionListStatement){ final PsiExpressionListStatement listStatement = (PsiExpressionListStatement) statement; calculateExceptionsThrownForExpressionListStatement(listStatement, exceptionTypes); } else if(statement instanceof PsiExpressionStatement){ final PsiExpressionStatement expStatement = (PsiExpressionStatement) statement; final PsiExpression expression = expStatement.getExpression(); calculateExceptionsThrown(expression, exceptionTypes); } else if(statement instanceof PsiAssertStatement){ final PsiAssertStatement assertStatement = (PsiAssertStatement) statement; calculateExceptionsThrownForAssertStatement(assertStatement, exceptionTypes); } else if(statement instanceof PsiDeclarationStatement){ final PsiDeclarationStatement declStatement = (PsiDeclarationStatement) statement; calculateExceptionsThrownForDeclarationStatemt(declStatement, exceptionTypes); } else if(statement instanceof PsiForStatement){ calculateExceptionsThrownForForExpression((PsiForStatement) statement, exceptionTypes); } else if(statement instanceof PsiWhileStatement){ calculateExceptionsThrownForWhileStatement((PsiWhileStatement) statement, exceptionTypes); } else if(statement instanceof PsiDoWhileStatement){ calculateExceptionsThrownForDoWhileStatement((PsiDoWhileStatement) statement, exceptionTypes); } else if(statement instanceof PsiSynchronizedStatement){ calculateExceptionsThrownForSynchronizedStatement((PsiSynchronizedStatement) statement, exceptionTypes); } else if(statement instanceof PsiBlockStatement){ final PsiBlockStatement block = (PsiBlockStatement) statement; calculateExceptionsThrownForBlockStatement(block, exceptionTypes); } else if(statement instanceof PsiLabeledStatement){ final PsiLabeledStatement labeledStatement = (PsiLabeledStatement) statement; calculateExceptionsThrownForLabeledStatement(labeledStatement, exceptionTypes); } else if(statement instanceof PsiIfStatement){ final PsiIfStatement ifStatement = (PsiIfStatement) statement; calculateExceptionsThrownForIfStatement(ifStatement, exceptionTypes); } else if(statement instanceof PsiTryStatement){ final PsiTryStatement tryStatement = (PsiTryStatement) statement; calculateExceptionsThrownForTryStatement(tryStatement, exceptionTypes); } else if(statement instanceof PsiSwitchStatement){ final PsiSwitchStatement switchStatement = (PsiSwitchStatement) statement; calculateExceptionsThrownForSwitchStatement(switchStatement, exceptionTypes); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/9c01b8e09c5dc949e20032c1ec0280d5b15fc659/ExceptionUtils.java/clean/plugins/IntentionPowerPak/src/com/siyeh/ipp/exceptions/ExceptionUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4604, 11416, 29591, 1290, 3406, 12, 52, 7722, 3406, 3021, 16, 4766, 17311, 1000, 32, 52, 7722, 559, 34, 1520, 2016, 15329, 3639, 309, 12, 11516, 422, 446, 15329, 5411, 327, 31, 3639, 289, 3639, 309, 12, 11516, 1276, 453, 7722, 7634, 3406, 747, 7734, 3021, 1276, 453, 7722, 12378, 3406, 15329, 5411, 368, 2727, 1404, 741, 6967, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 990, 3406, 15329, 5411, 727, 453, 7722, 990, 3406, 327, 3406, 273, 10792, 261, 52, 7722, 990, 3406, 13, 3021, 31, 5411, 727, 453, 7722, 2300, 7750, 273, 327, 3406, 18, 588, 19092, 5621, 5411, 309, 12, 2463, 620, 480, 446, 15329, 7734, 4604, 11416, 29591, 12, 2463, 620, 16, 1520, 2016, 1769, 5411, 289, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 8282, 3406, 15329, 5411, 4604, 11416, 29591, 1290, 8282, 3406, 12443, 52, 7722, 8282, 3406, 13, 3021, 16, 4766, 15604, 1520, 2016, 1769, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 2300, 682, 3406, 15329, 5411, 727, 453, 7722, 2300, 682, 3406, 666, 3406, 273, 10792, 261, 52, 7722, 2300, 682, 3406, 13, 3021, 31, 5411, 4604, 11416, 29591, 1290, 2300, 682, 3406, 12, 1098, 3406, 16, 4766, 27573, 1520, 2016, 1769, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 2300, 3406, 15329, 5411, 727, 453, 7722, 2300, 3406, 1329, 3406, 273, 10792, 261, 52, 7722, 2300, 3406, 13, 3021, 31, 5411, 727, 453, 7722, 2300, 2652, 273, 1329, 3406, 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, 4604, 11416, 29591, 1290, 3406, 12, 52, 7722, 3406, 3021, 16, 4766, 17311, 1000, 32, 52, 7722, 559, 34, 1520, 2016, 15329, 3639, 309, 12, 11516, 422, 446, 15329, 5411, 327, 31, 3639, 289, 3639, 309, 12, 11516, 1276, 453, 7722, 7634, 3406, 747, 7734, 3021, 1276, 453, 7722, 12378, 3406, 15329, 5411, 368, 2727, 1404, 741, 6967, 3639, 289, 469, 309, 12, 11516, 1276, 453, 7722, 990, 3406, 15329, 5411, 727, 453, 7722, 990, 3406, 327, 3406, 273, 10792, 261, 52, 7722, 990, 3406, 13, 3021, 31, 5411, 727, 453, 7722, 2300, 7750, 273, 327, 3406, 18, 588, 19092, 5621, 5411, 309, 12, 2463, 620, 480, 446, 15329, 7734, 4604, 11416, 29591, 12, 2463, 2 ]
loadAndCompare(test, "Instant.dat"); inlineCompare(test);
loadAndCompare(test, "Instant.dat", false); inlineCompare(test, false);
public void testSerializedInstant() throws Exception { Instant test = new Instant(); loadAndCompare(test, "Instant.dat"); inlineCompare(test); }
52859 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52859/226795703795b4e4031ca3cd76ca304d23916976/TestSerialization.java/clean/JodaTime/src/test/org/joda/time/TestSerialization.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15134, 10675, 1435, 1216, 1185, 288, 3639, 11190, 1842, 273, 394, 11190, 5621, 3639, 1262, 1876, 8583, 12, 3813, 16, 315, 10675, 18, 3404, 8863, 3639, 6370, 8583, 12, 3813, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15134, 10675, 1435, 1216, 1185, 288, 3639, 11190, 1842, 273, 394, 11190, 5621, 3639, 1262, 1876, 8583, 12, 3813, 16, 315, 10675, 18, 3404, 8863, 3639, 6370, 8583, 12, 3813, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( scaledImage == null ) { prepareScaledImage();
if ( xformImage == null ) { prepareXformImage();
public void paint( Graphics g ) { if ( scaledImage == null ) { prepareScaledImage(); } Graphics2D g2 = (Graphics2D) g; g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); if ( scaledImage != null ) { g2.drawImage( scaledImage, new AffineTransform(1f,0f,0f,1f,0,0), null ); } }
50360 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50360/e5f2678cd533d88c73e552c9c1ce4b2963978d47/PhotoView.java/buggy/src/photovault/swingui/PhotoView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 12, 16830, 314, 262, 288, 202, 430, 261, 12304, 2040, 422, 446, 262, 288, 202, 565, 2911, 55, 12825, 2040, 5621, 202, 97, 202, 17558, 22, 40, 314, 22, 273, 261, 17558, 22, 40, 13, 314, 31, 3639, 314, 22, 18, 542, 14261, 7002, 12, 14261, 13368, 18, 3297, 67, 6856, 31119, 1360, 16, 22391, 18, 4051, 67, 6856, 31119, 67, 673, 1769, 202, 202, 430, 261, 12304, 2040, 480, 446, 262, 288, 202, 377, 202, 565, 314, 22, 18, 9446, 2040, 12, 12304, 2040, 16, 394, 23906, 558, 4059, 12, 21, 74, 16, 20, 74, 16, 20, 74, 16, 21, 74, 16, 20, 16, 20, 3631, 446, 11272, 202, 97, 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, 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, 326, 981, 30, 377, 1071, 918, 12574, 12, 16830, 314, 262, 288, 202, 430, 261, 12304, 2040, 422, 446, 262, 288, 202, 565, 2911, 55, 12825, 2040, 5621, 202, 97, 202, 17558, 22, 40, 314, 22, 273, 261, 17558, 22, 40, 13, 314, 31, 3639, 314, 22, 18, 542, 14261, 7002, 12, 14261, 13368, 18, 3297, 67, 6856, 31119, 1360, 16, 22391, 18, 4051, 67, 6856, 31119, 67, 673, 1769, 202, 202, 430, 261, 12304, 2040, 480, 446, 262, 288, 202, 377, 202, 565, 314, 22, 18, 9446, 2040, 12, 12304, 2040, 16, 394, 23906, 558, 4059, 12, 21, 74, 16, 20, 74, 16, 20, 74, 16, 21, 74, 16, 20, 16, 20, 3631, 446, 11272, 202, 97, 565, 289, 2, -100, -100 ]
Set bc = new HashSet(Arrays.asList(new Class[]{ComponentB.class, ComponentC.class})); assertTrue(nested.contains(new UnsatisfiableDependenciesException(ComponentA.class, bc))); Set d = new HashSet(Arrays.asList(new Class[]{ComponentD.class})); assertTrue(nested.contains(new UnsatisfiableDependenciesException(ComponentE.class, d)));
public void testAggregatedVerificationException() { MutablePicoContainer pico = createPicoContainer(); pico.registerComponentImplementation(ComponentA.class); pico.registerComponentImplementation(ComponentE.class); try { pico.verify(); fail("we expect a PicoVerificationException"); } catch (PicoVerificationException e) { List nested = e.getNestedExceptions(); assertEquals(2, nested.size()); Set bc = new HashSet(Arrays.asList(new Class[]{ComponentB.class, ComponentC.class})); assertTrue(nested.contains(new UnsatisfiableDependenciesException(ComponentA.class, bc))); Set d = new HashSet(Arrays.asList(new Class[]{ComponentD.class})); assertTrue(nested.contains(new UnsatisfiableDependenciesException(ComponentE.class, d))); } }
9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/9ee7fdf8c55ca000c7d0ba65a9f0a7383a200b1c/AbstractPicoContainerTestCase.java/clean/trunk/java/picocontainer/src/test/org/picocontainer/tck/AbstractPicoContainerTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6078, 690, 13483, 503, 1435, 288, 3639, 10960, 52, 10764, 2170, 293, 10764, 273, 752, 52, 10764, 2170, 5621, 3639, 293, 10764, 18, 4861, 1841, 13621, 12, 1841, 37, 18, 1106, 1769, 3639, 293, 10764, 18, 4861, 1841, 13621, 12, 1841, 41, 18, 1106, 1769, 3639, 775, 288, 5411, 293, 10764, 18, 8705, 5621, 5411, 2321, 2932, 1814, 4489, 279, 453, 10764, 13483, 503, 8863, 3639, 289, 1044, 261, 52, 10764, 13483, 503, 425, 13, 288, 5411, 987, 4764, 273, 425, 18, 588, 8649, 11416, 5621, 5411, 1815, 8867, 12, 22, 16, 4764, 18, 1467, 10663, 5411, 1000, 6533, 273, 394, 6847, 12, 12726, 18, 345, 682, 12, 2704, 1659, 63, 7073, 1841, 38, 18, 1106, 16, 5435, 39, 18, 1106, 6792, 1769, 5411, 1815, 5510, 12, 12985, 18, 12298, 12, 2704, 1351, 12973, 7396, 2214, 8053, 503, 12, 1841, 37, 18, 1106, 16, 6533, 3719, 1769, 5411, 1000, 302, 273, 394, 6847, 12, 12726, 18, 345, 682, 12, 2704, 1659, 63, 7073, 1841, 40, 18, 1106, 6792, 1769, 5411, 1815, 5510, 12, 12985, 18, 12298, 12, 2704, 1351, 12973, 7396, 2214, 8053, 503, 12, 1841, 41, 18, 1106, 16, 302, 3719, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 918, 1842, 6078, 690, 13483, 503, 1435, 288, 3639, 10960, 52, 10764, 2170, 293, 10764, 273, 752, 52, 10764, 2170, 5621, 3639, 293, 10764, 18, 4861, 1841, 13621, 12, 1841, 37, 18, 1106, 1769, 3639, 293, 10764, 18, 4861, 1841, 13621, 12, 1841, 41, 18, 1106, 1769, 3639, 775, 288, 5411, 293, 10764, 18, 8705, 5621, 5411, 2321, 2932, 1814, 4489, 279, 453, 10764, 13483, 503, 8863, 3639, 289, 1044, 261, 52, 10764, 13483, 503, 425, 13, 288, 5411, 987, 4764, 273, 425, 18, 588, 8649, 11416, 5621, 5411, 1815, 8867, 12, 22, 16, 4764, 18, 1467, 10663, 5411, 1000, 6533, 273, 394, 6847, 12, 12726, 18, 345, 682, 12, 2704, 1659, 63, 7073, 1841, 38, 18, 2 ]
} else if ( dpct == DataPointComponentType.SERIES_VALUE_LITERAL ) {
public final SeriesRenderingHints getSeriesRenderingHints( Series seOrthogonal ) throws ChartException, IllegalArgumentException { if ( seOrthogonal == null || seOrthogonal.getClass( ) == SeriesImpl.class ) { // EMPTY PLOT RENDERING TECHNIQUE return null; } final EList elCategories = cwoa.getSeriesDefinitions( ); if ( elCategories.size( ) != 1 ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.DATA_FORMAT, "exception.cwoa.single.series.definition", //$NON-NLS-1$ Messages.getResourceBundle( rtc.getULocale( ) ) ); } final SeriesDefinition sd = (SeriesDefinition) elCategories.get( 0 ); final List al = sd.getRunTimeSeries( ); if ( al.size( ) != 1 ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.DATA_FORMAT, "exception.cwoa.single.runtime.series", //$NON-NLS-1$ Messages.getResourceBundle( rtc.getULocale( ) ) ); } final Series seBase = (Series) al.get( 0 ); final DataSetIterator dsiBaseValues = new DataSetIterator( seBase.getDataSet( ) ); final DataSetIterator dsiOrthogonalValues = new DataSetIterator( seOrthogonal.getDataSet( ) ); DataPointHints[] dpha = null; if ( dsiBaseValues.size( ) != dsiOrthogonalValues.size( ) ) // DO NOT // COMPUTE // DATA // POINT // HINTS FOR // OUT-OF-SYNC // DATA { logger.log( ILogger.INFORMATION, Messages.getString( "exception.data.outofsync", //$NON-NLS-1$ new Object[]{ new Integer( dsiBaseValues.size( ) ), new Integer( dsiOrthogonalValues.size( ) ) }, rtc.getULocale( ) ) ); } else { final int iCount = dsiOrthogonalValues.size( ); dpha = new DataPointHints[iCount]; // OPTIMIZED PRE-FETCH FORMAT SPECIFIERS FOR ALL DATA POINTS final DataPoint dp = seOrthogonal.getDataPoint( ); final EList el = dp.getComponents( ); DataPointComponent dpc; DataPointComponentType dpct; FormatSpecifier fsBase = null, fsOrthogonal = null, fsSeries = null, fsPercentile = null; for ( int i = 0; i < el.size( ); i++ ) { dpc = (DataPointComponent) el.get( i ); dpct = dpc.getType( ); if ( dpct == DataPointComponentType.BASE_VALUE_LITERAL ) { fsBase = dpc.getFormatSpecifier( ); if ( fsBase == null ) // BACKUP { fsBase = sd.getFormatSpecifier( ); } } else if ( dpct == DataPointComponentType.ORTHOGONAL_VALUE_LITERAL ) { fsOrthogonal = dpc.getFormatSpecifier( ); if ( fsOrthogonal == null && seOrthogonal.eContainer( ) instanceof SeriesDefinition ) { fsOrthogonal = ( (SeriesDefinition) seOrthogonal.eContainer( ) ).getFormatSpecifier( ); } } else if ( dpct == DataPointComponentType.SERIES_VALUE_LITERAL ) { fsSeries = dpc.getFormatSpecifier( ); } else if ( dpct == DataPointComponentType.PERCENTILE_ORTHOGONAL_VALUE_LITERAL ) { fsPercentile = dpc.getFormatSpecifier( ); } } UserDataSetHints udsh = new UserDataSetHints( seOrthogonal.getDataSets( ) ); udsh.reset( ); double total = 0; // get total orthogonal value. for ( int i = 0; i < iCount; i++ ) { Object v = dsiOrthogonalValues.next( ); if ( v instanceof Number ) { total += ( (Number) v ).doubleValue( ); } else if ( v instanceof NumberDataElement ) { total += ( (NumberDataElement) v ).getValue( ); } } dsiOrthogonalValues.reset( ); for ( int i = 0; i < iCount; i++ ) { Object orthValue = dsiOrthogonalValues.next( ); Object percentileValue = null; if ( total != 0 ) { if ( orthValue instanceof Number ) { percentileValue = new Double( ( (Number) orthValue ).doubleValue( ) / total ); } else if ( orthValue instanceof NumberDataElement ) { percentileValue = new Double( ( (NumberDataElement) orthValue ).getValue( ) / total ); } } else { percentileValue = new Double ( 0 ); } dpha[i] = new DataPointHints( dsiBaseValues.next( ), orthValue, seOrthogonal.getSeriesIdentifier( ), percentileValue, seOrthogonal.getDataPoint( ), fsBase, fsOrthogonal, fsSeries, fsPercentile, i, null, -1, rtc ); udsh.next( dpha[i] ); } } return new SeriesRenderingHints( this, dpha, dsiBaseValues, dsiOrthogonalValues ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/65c7a4aef75a07b56d9cec83d077f59629977738/PlotWithoutAxes.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withoutaxes/PlotWithoutAxes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 9225, 14261, 13368, 336, 6485, 14261, 13368, 12, 1082, 202, 6485, 695, 1162, 451, 28396, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 430, 261, 695, 1162, 451, 28396, 422, 446, 9506, 202, 20081, 695, 1162, 451, 28396, 18, 588, 797, 12, 262, 422, 9225, 2828, 18, 1106, 262, 202, 202, 95, 1082, 202, 759, 8984, 453, 1502, 56, 28332, 1360, 25156, 1792, 50, 45, 4067, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 6385, 17021, 415, 10487, 273, 276, 6933, 69, 18, 588, 6485, 7130, 12, 11272, 202, 202, 430, 261, 415, 10487, 18, 1467, 12, 262, 480, 404, 262, 202, 202, 95, 1082, 202, 12849, 394, 14804, 503, 12, 14804, 4410, 3773, 18, 734, 16, 6862, 202, 7984, 503, 18, 4883, 67, 7254, 16, 6862, 202, 6, 4064, 18, 71, 6933, 69, 18, 7526, 18, 10222, 18, 6907, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 5058, 18, 588, 18731, 12, 436, 5111, 18, 588, 57, 3916, 12, 262, 262, 11272, 202, 202, 97, 202, 202, 6385, 9225, 1852, 8349, 273, 261, 6485, 1852, 13, 415, 10487, 18, 588, 12, 374, 11272, 202, 202, 6385, 987, 524, 273, 8349, 18, 588, 1997, 28486, 12, 11272, 202, 202, 430, 261, 524, 18, 1467, 12, 262, 480, 404, 262, 202, 202, 95, 1082, 202, 12849, 394, 14804, 503, 12, 14804, 4410, 3773, 18, 734, 16, 6862, 202, 7984, 503, 18, 4883, 67, 7254, 16, 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, 482, 727, 9225, 14261, 13368, 336, 6485, 14261, 13368, 12, 1082, 202, 6485, 695, 1162, 451, 28396, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 430, 261, 695, 1162, 451, 28396, 422, 446, 9506, 202, 20081, 695, 1162, 451, 28396, 18, 588, 797, 12, 262, 422, 9225, 2828, 18, 1106, 262, 202, 202, 95, 1082, 202, 759, 8984, 453, 1502, 56, 28332, 1360, 25156, 1792, 50, 45, 4067, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 6385, 17021, 415, 10487, 273, 276, 6933, 69, 18, 588, 6485, 7130, 12, 11272, 202, 202, 430, 261, 415, 10487, 18, 1467, 12, 262, 480, 404, 262, 202, 202, 95, 1082, 202, 12849, 394, 14804, 2 ]
throw new RubyNameException(ruby, name + " is not struct member");
throw new NameError(ruby, name + " is not struct member");
private RubyObject getByName(String name) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLength(); i++) { if (member.entry(i).toId().equals(name)) { return values[i]; } } throw new RubyNameException(ruby, name + " is not struct member"); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/8140cac1b7c2375c549787852e38fa6c52b199df/RubyStruct.java/clean/org/jruby/RubyStruct.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 19817, 921, 30027, 12, 780, 508, 13, 288, 3639, 19817, 1076, 3140, 273, 261, 54, 10340, 1076, 13, 3694, 3092, 12, 1106, 951, 9334, 10425, 5990, 972, 8863, 3639, 309, 261, 5990, 18, 291, 12616, 10756, 288, 5411, 604, 394, 19817, 19865, 503, 2932, 318, 13227, 1958, 8863, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3140, 18, 588, 1782, 5621, 277, 27245, 288, 5411, 309, 261, 5990, 18, 4099, 12, 77, 2934, 869, 548, 7675, 14963, 12, 529, 3719, 288, 7734, 327, 924, 63, 77, 15533, 5411, 289, 3639, 289, 3639, 604, 394, 25473, 12, 27768, 16, 508, 397, 315, 353, 486, 1958, 3140, 8863, 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, 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 22398, 316, 326, 981, 30, 377, 3238, 19817, 921, 30027, 12, 780, 508, 13, 288, 3639, 19817, 1076, 3140, 273, 261, 54, 10340, 1076, 13, 3694, 3092, 12, 1106, 951, 9334, 10425, 5990, 972, 8863, 3639, 309, 261, 5990, 18, 291, 12616, 10756, 288, 5411, 604, 394, 19817, 19865, 503, 2932, 318, 13227, 1958, 8863, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3140, 18, 588, 1782, 5621, 277, 27245, 288, 5411, 309, 261, 5990, 18, 4099, 12, 77, 2934, 869, 548, 7675, 14963, 12, 529, 3719, 288, 7734, 327, 924, 63, 77, 15533, 5411, 289, 3639, 289, 3639, 604, 394, 25473, 12, 27768, 16, 508, 397, 315, 353, 486, 1958, 3140, 8863, 565, 289, 2, -100, -100, -100, -100, -100 ]
INode(String name, INode parent, Block blocks[]) {
INode(String name, Block blocks[], short replication) {
INode(String name, INode parent, Block blocks[]) { this.name = name; this.parent = parent; this.blocks = blocks; }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/ba0ca973d8fbf49c1b7c2d29e7763226576364e8/FSDirectory.java/buggy/src/java/org/apache/hadoop/dfs/FSDirectory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 21176, 12, 780, 508, 16, 3914, 4398, 63, 6487, 3025, 11335, 13, 288, 5411, 333, 18, 529, 273, 508, 31, 5411, 333, 18, 2938, 273, 982, 31, 5411, 333, 18, 7996, 273, 4398, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 21176, 12, 780, 508, 16, 3914, 4398, 63, 6487, 3025, 11335, 13, 288, 5411, 333, 18, 529, 273, 508, 31, 5411, 333, 18, 2938, 273, 982, 31, 5411, 333, 18, 7996, 273, 4398, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ArchiveContext actx, int recursionLevel, Bucket returnBucket) throws FetchException, MetadataParseException {
ArchiveContext actx, int recursionLevel, Bucket returnBucket, boolean dontTellParent) throws FetchException, MetadataParseException {
public SplitFileFetcher(Metadata metadata, GetCompletionCallback rcb, ClientGetter parent, FetcherContext newCtx, LinkedList decompressors, ClientMetadata clientMetadata, ArchiveContext actx, int recursionLevel, Bucket returnBucket) throws FetchException, MetadataParseException { this.finished = false; this.returnBucket = returnBucket; this.fetchContext = newCtx; this.archiveContext = actx; this.decompressors = decompressors; this.clientMetadata = clientMetadata; this.cb = rcb; this.recursionLevel = recursionLevel + 1; this.parent = parent; if(parent.isCancelled()) throw new FetchException(FetchException.CANCELLED); overrideLength = metadata.dataLength(); this.splitfileType = metadata.getSplitfileType(); splitfileDataBlocks = metadata.getSplitfileDataKeys(); splitfileCheckBlocks = metadata.getSplitfileCheckKeys(); splitUseLengths = metadata.splitUseLengths(); int blockLength = splitUseLengths ? -1 : NodeCHK.BLOCK_SIZE; if(splitfileType == Metadata.SPLITFILE_NONREDUNDANT) { // Don't need to do much - just fetch everything and piece it together. blocksPerSegment = -1; checkBlocksPerSegment = -1; segmentCount = 1; } else if(splitfileType == Metadata.SPLITFILE_ONION_STANDARD) { byte[] params = metadata.splitfileParams(); if(params == null || params.length < 8) throw new MetadataParseException("No splitfile params"); blocksPerSegment = Fields.bytesToInt(params, 0); checkBlocksPerSegment = Fields.bytesToInt(params, 4); if(blocksPerSegment > fetchContext.maxDataBlocksPerSegment || checkBlocksPerSegment > fetchContext.maxCheckBlocksPerSegment) throw new FetchException(FetchException.TOO_MANY_BLOCKS_PER_SEGMENT, "Too many blocks per segment: "+blocksPerSegment+" data, "+checkBlocksPerSegment+" check"); segmentCount = (splitfileDataBlocks.length / blocksPerSegment) + (splitfileDataBlocks.length % blocksPerSegment == 0 ? 0 : 1); // Onion, 128/192. // Will be segmented. } else throw new MetadataParseException("Unknown splitfile format: "+splitfileType); this.maxTempLength = fetchContext.maxTempLength; Logger.minor(this, "Algorithm: "+splitfileType+", blocks per segment: "+blocksPerSegment+", check blocks per segment: "+checkBlocksPerSegment+", segments: "+segmentCount); segments = new SplitFileFetcherSegment[segmentCount]; // initially null on all entries if(segmentCount == 1) { segments[0] = new SplitFileFetcherSegment(splitfileType, splitfileDataBlocks, splitfileCheckBlocks, this, archiveContext, fetchContext, maxTempLength, splitUseLengths, recursionLevel); } else { int dataBlocksPtr = 0; int checkBlocksPtr = 0; for(int i=0;i<segments.length;i++) { // Create a segment. Give it its keys. int copyDataBlocks = Math.min(splitfileDataBlocks.length - dataBlocksPtr, blocksPerSegment); int copyCheckBlocks = Math.min(splitfileCheckBlocks.length - checkBlocksPtr, checkBlocksPerSegment); FreenetURI[] dataBlocks = new FreenetURI[copyDataBlocks]; FreenetURI[] checkBlocks = new FreenetURI[copyCheckBlocks]; if(copyDataBlocks > 0) System.arraycopy(splitfileDataBlocks, dataBlocksPtr, dataBlocks, 0, copyDataBlocks); if(copyCheckBlocks > 0) System.arraycopy(splitfileCheckBlocks, checkBlocksPtr, checkBlocks, 0, copyCheckBlocks); dataBlocksPtr += copyDataBlocks; checkBlocksPtr += copyCheckBlocks; segments[i] = new SplitFileFetcherSegment(splitfileType, dataBlocks, checkBlocks, this, archiveContext, fetchContext, maxTempLength, splitUseLengths, recursionLevel+1); } } }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/5172c6eaf3d3ff5aaaf0703e2a38ccebe1b75ec3/SplitFileFetcher.java/buggy/src/freenet/client/async/SplitFileFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5385, 812, 16855, 12, 2277, 1982, 16, 968, 11238, 2428, 4519, 70, 16, 2445, 8461, 982, 16, 1082, 202, 16855, 1042, 394, 6442, 16, 10688, 16824, 1383, 16, 2445, 2277, 1004, 2277, 16, 1875, 202, 7465, 1042, 1328, 92, 16, 509, 13917, 2355, 16, 7408, 327, 4103, 13, 1216, 8065, 503, 16, 6912, 13047, 288, 202, 202, 2211, 18, 13527, 273, 629, 31, 202, 202, 2211, 18, 2463, 4103, 273, 327, 4103, 31, 202, 202, 2211, 18, 5754, 1042, 273, 394, 6442, 31, 202, 202, 2211, 18, 10686, 1042, 273, 1328, 92, 31, 202, 202, 2211, 18, 323, 14706, 1383, 273, 16824, 1383, 31, 202, 202, 2211, 18, 2625, 2277, 273, 1004, 2277, 31, 202, 202, 2211, 18, 7358, 273, 4519, 70, 31, 202, 202, 2211, 18, 31347, 2355, 273, 13917, 2355, 397, 404, 31, 202, 202, 2211, 18, 2938, 273, 982, 31, 202, 202, 430, 12, 2938, 18, 291, 21890, 10756, 1082, 202, 12849, 394, 8065, 503, 12, 5005, 503, 18, 25268, 6687, 1769, 202, 202, 10601, 1782, 273, 1982, 18, 892, 1782, 5621, 202, 202, 2211, 18, 4939, 768, 559, 273, 1982, 18, 588, 5521, 768, 559, 5621, 202, 202, 4939, 768, 751, 6450, 273, 1982, 18, 588, 5521, 768, 751, 2396, 5621, 202, 202, 4939, 768, 1564, 6450, 273, 1982, 18, 588, 5521, 768, 1564, 2396, 5621, 202, 202, 4939, 3727, 22406, 273, 1982, 18, 4939, 3727, 22406, 5621, 202, 202, 474, 25367, 273, 1416, 3727, 22406, 692, 300, 21, 294, 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, 5385, 812, 16855, 12, 2277, 1982, 16, 968, 11238, 2428, 4519, 70, 16, 2445, 8461, 982, 16, 1082, 202, 16855, 1042, 394, 6442, 16, 10688, 16824, 1383, 16, 2445, 2277, 1004, 2277, 16, 1875, 202, 7465, 1042, 1328, 92, 16, 509, 13917, 2355, 16, 7408, 327, 4103, 13, 1216, 8065, 503, 16, 6912, 13047, 288, 202, 202, 2211, 18, 13527, 273, 629, 31, 202, 202, 2211, 18, 2463, 4103, 273, 327, 4103, 31, 202, 202, 2211, 18, 5754, 1042, 273, 394, 6442, 31, 202, 202, 2211, 18, 10686, 1042, 273, 1328, 92, 31, 202, 202, 2211, 18, 323, 14706, 1383, 273, 16824, 1383, 31, 202, 202, 2211, 18, 2625, 2277, 273, 1004, 2277, 31, 202, 202, 2 ]
public void test03FailAuthenticateUser() throws Exception { cat.debug(">test03FailAuthenticateUser()"); // user that we know exists... Object obj1 = ctx.lookup("UserData"); UserDataHome userhome = (UserDataHome) javax.rmi.PortableRemoteObject.narrow(obj1, UserDataHome.class); UserDataPK pk = new UserDataPK("foo"); UserDataRemote data = userhome.findByPrimaryKey(pk); // Set status to GENERATED so authentication will fail data.setStatus(UserDataRemote.STATUS_GENERATED); boolean authfailed = false; try { UserAuthData auth = remote.authenticateUser("foo", "foo123"); } catch (Exception e) { authfailed = true; } assertTrue("Authentication succeeded when it should have failed.", authfailed); cat.debug("<test03FailAuthenticateUser()"); }
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/951eff5b1c47ce667465cb23f1aed9d3a0292d2f/TestAuthenticationSession.java/buggy/src/java/se/anatom/ejbca/ca/auth/junit/TestAuthenticationSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 4630, 3754, 17618, 1299, 1435, 15069, 503, 95, 2574, 18, 4148, 2932, 34, 3813, 4630, 3754, 17618, 1299, 1435, 8863, 759, 1355, 19056, 1814, 79, 3338, 1808, 2777, 921, 2603, 21, 33, 5900, 18, 8664, 2932, 19265, 8863, 19265, 8684, 1355, 8712, 28657, 19265, 8684, 13, 28384, 18, 8864, 77, 18, 2617, 429, 5169, 921, 18, 82, 7815, 12, 2603, 21, 16, 19265, 8684, 18, 1106, 1769, 19265, 8784, 5465, 33, 2704, 19265, 8784, 2932, 11351, 8863, 19265, 1933, 16474, 396, 33, 1355, 8712, 18, 4720, 858, 11575, 12, 5465, 1769, 759, 694, 5642, 641, 83, 31915, 2048, 12293, 20194, 507, 545, 396, 18, 542, 1482, 12, 19265, 5169, 18, 8608, 67, 31915, 1769, 6494, 1944, 7307, 33, 5743, 31, 698, 95, 1299, 1730, 751, 1944, 33, 7222, 18, 22035, 1299, 2932, 11351, 15937, 11351, 12936, 8863, 97, 14683, 12, 503, 73, 15329, 1944, 7307, 33, 3767, 31, 97, 11231, 5510, 2932, 6492, 87, 20983, 13723, 305, 13139, 21516, 7307, 1199, 16, 1944, 7307, 1769, 2574, 18, 4148, 2932, 32, 3813, 4630, 3754, 17618, 1299, 1435, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 4630, 3754, 17618, 1299, 1435, 15069, 503, 95, 2574, 18, 4148, 2932, 34, 3813, 4630, 3754, 17618, 1299, 1435, 8863, 759, 1355, 19056, 1814, 79, 3338, 1808, 2777, 921, 2603, 21, 33, 5900, 18, 8664, 2932, 19265, 8863, 19265, 8684, 1355, 8712, 28657, 19265, 8684, 13, 28384, 18, 8864, 77, 18, 2617, 429, 5169, 921, 18, 82, 7815, 12, 2603, 21, 16, 19265, 8684, 18, 1106, 1769, 19265, 8784, 5465, 33, 2704, 19265, 8784, 2932, 11351, 8863, 19265, 1933, 16474, 396, 33, 1355, 8712, 18, 4720, 858, 11575, 12, 5465, 1769, 759, 694, 5642, 641, 83, 31915, 2048, 12293, 20194, 507, 545, 396, 18, 542, 1482, 12, 19265, 5169, 18, 8608, 67, 31915, 1769, 6494, 1944, 2 ]
String i = (String)ii.next(); sb.append(i);
AbcClass i = (AbcClass)ii.next(); sb.append(i.getJvmName());
public String toString() { StringBuffer sb = new StringBuffer(); sb.append("declare parents: "); sb.append(getClasses()); sb.append(" implements "); Iterator ii = getInterfaces().iterator(); while (ii.hasNext()) { String i = (String)ii.next(); sb.append(i); if (ii.hasNext()) { sb.append(", "); } } sb.append(";"); return sb.toString(); }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/c70f720b2fd2c2b27100f43877d6f53474a306b3/DeclareParentsImpl.java/clean/aop/abc/src/abc/weaving/aspectinfo/DeclareParentsImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 202, 780, 1892, 2393, 273, 394, 6674, 5621, 202, 18366, 18, 6923, 2932, 29554, 6298, 30, 315, 1769, 202, 18366, 18, 6923, 12, 588, 4818, 10663, 202, 18366, 18, 6923, 2932, 4792, 315, 1769, 202, 3198, 6072, 273, 29833, 7675, 9838, 5621, 202, 17523, 261, 2835, 18, 5332, 2134, 10756, 288, 202, 565, 514, 277, 273, 261, 780, 13, 2835, 18, 4285, 5621, 202, 565, 2393, 18, 6923, 12, 77, 1769, 202, 565, 309, 261, 2835, 18, 5332, 2134, 10756, 288, 202, 202, 18366, 18, 6923, 2932, 16, 315, 1769, 202, 565, 289, 202, 97, 202, 18366, 18, 6923, 2932, 4868, 1769, 202, 2463, 2393, 18, 10492, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 202, 780, 1892, 2393, 273, 394, 6674, 5621, 202, 18366, 18, 6923, 2932, 29554, 6298, 30, 315, 1769, 202, 18366, 18, 6923, 12, 588, 4818, 10663, 202, 18366, 18, 6923, 2932, 4792, 315, 1769, 202, 3198, 6072, 273, 29833, 7675, 9838, 5621, 202, 17523, 261, 2835, 18, 5332, 2134, 10756, 288, 202, 565, 514, 277, 273, 261, 780, 13, 2835, 18, 4285, 5621, 202, 565, 2393, 18, 6923, 12, 77, 1769, 202, 565, 309, 261, 2835, 18, 5332, 2134, 10756, 288, 202, 202, 18366, 18, 6923, 2932, 16, 315, 1769, 202, 565, 289, 202, 97, 202, 18366, 18, 6923, 2932, 4868, 1769, 202, 2463, 2393, 18, 10492, 5621, 565, 289, 2, -100, -100, -100 ]
{ return createEObjectAdapter(); }
{ return createEObjectAdapter(); }
public Object defaultCase(EObject object) { return createEObjectAdapter(); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/bdab78403751f288b76844a99f50b999c34fb491/LayoutAdapterFactory.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/util/LayoutAdapterFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1033, 12566, 12, 8029, 733, 13, 3639, 288, 5411, 327, 752, 8029, 4216, 5621, 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,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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
td = data.get(sel); for ( Iterator<Character> it = td.getChars().iterator(); it.hasNext(); ) { res.append(it.next()); if (it.hasNext()) res.append(",");
td = data.get(backend.get(sel)); for ( Character c : td.getChars() ) { res.append(c); res.append(",");
public void run() { // listpanel enthlt die Liste mit allen Transitionen, darunter ein // Textfeld zur Bearbeitung der Transitionszeichen transList = new JList(); transChars = new JTextField(); listMod = new DefaultListModel(); for (int i = 0 ; i < data.size() ; i++ ) { listMod.addElement(data.get(i)); } transList.setModel(listMod); transList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); JPanel listPanel = new JPanel(); listPanel.setLayout(new BorderLayout()); listPanel.add(transList, BorderLayout.CENTER); listPanel.add(transChars, BorderLayout.SOUTH); JPanel buttonPanel = new JPanel(); buttonPanel.setLayout(new GridLayout(1,3)); delButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("remove")); updateButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("update")); okButton = new JButton(java.util.ResourceBundle.getBundle("global").getString("OK")); buttonPanel.add(okButton); buttonPanel.add(updateButton); buttonPanel.add(delButton); okButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { dispose(); } }); delButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { int sel = transList.getSelectedIndex(); if (sel!=-1) { // !!!! wir arbeiten auf der Originalreferenz, die Transition ist dann // tatschlich hin :) data.remove(sel); listMod.remove(sel); transList.setSelectedIndex(listMod.size()-1); if (listMod.isEmpty()) { delButton.setEnabled(false); } } } }); updateButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { Vector<Character> newChars; int sel = transList.getSelectedIndex(); if (sel!=-1) { newChars = AutWindow.parseTransChars(transChars.getText()); // wenn != null, war zumindest ein sinniges Zeichen dabei if (newChars!=null) { data.get(sel).setChars(newChars); listMod.setElementAt(data.get(sel).toString(), sel); } } } }); transList.addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent lEvent) { int sel = transList.getSelectedIndex(); TransitionData td; StringBuffer res = new StringBuffer(); // da wir vom User erwarten das er die Zeichen so eingibt wie wir // es gerne htten, mssen auch wir wohl oder bel den Char-Vec etwas anhbschen if (sel!=-1) { td = data.get(sel); for ( Iterator<Character> it = td.getChars().iterator(); it.hasNext(); ) { res.append(it.next()); if (it.hasNext()) res.append(","); } transChars.setText(res.toString()); } } }); getContentPane().setLayout(new BorderLayout()); getContentPane().add(listPanel, BorderLayout.CENTER); getContentPane().add(buttonPanel, BorderLayout.SOUTH); setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); pack(); setLocation(80,80); setSize(250,200); setVisible(true); }
11750 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11750/e52bc9bb7a81f5b8a747c29cc00e1456e4c54c6e/TransEdit.java/buggy/src/gui/dialogs/TransEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 7734, 368, 666, 13916, 3281, 76, 5618, 10387, 987, 73, 20310, 777, 275, 16515, 275, 16, 302, 297, 318, 387, 16315, 3639, 368, 3867, 74, 488, 998, 295, 25892, 2196, 305, 20651, 4854, 2604, 5029, 8489, 1354, 275, 3639, 906, 682, 273, 394, 804, 682, 5621, 3639, 906, 7803, 273, 394, 804, 16157, 5621, 7734, 666, 1739, 273, 394, 2989, 682, 1488, 5621, 7734, 364, 261, 474, 277, 273, 374, 274, 277, 411, 501, 18, 1467, 1435, 274, 277, 9904, 262, 288, 5411, 666, 1739, 18, 1289, 1046, 12, 892, 18, 588, 12, 77, 10019, 3639, 289, 7734, 906, 682, 18, 542, 1488, 12, 1098, 1739, 1769, 3639, 906, 682, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 7734, 24048, 666, 5537, 273, 394, 24048, 5621, 7734, 666, 5537, 18, 542, 3744, 12, 2704, 30814, 10663, 7734, 666, 5537, 18, 1289, 12, 2338, 682, 16, 30814, 18, 19835, 1769, 3639, 666, 5537, 18, 1289, 12, 2338, 7803, 16, 30814, 18, 3584, 5844, 1769, 7734, 24048, 3568, 5537, 273, 394, 24048, 5621, 7734, 3568, 5537, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 23, 10019, 7734, 1464, 3616, 273, 394, 28804, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 4479, 7923, 1769, 3639, 1089, 3616, 273, 394, 28804, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 2725, 7923, 1769, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 7734, 368, 666, 13916, 3281, 76, 5618, 10387, 987, 73, 20310, 777, 275, 16515, 275, 16, 302, 297, 318, 387, 16315, 3639, 368, 3867, 74, 488, 998, 295, 25892, 2196, 305, 20651, 4854, 2604, 5029, 8489, 1354, 275, 3639, 906, 682, 273, 394, 804, 682, 5621, 3639, 906, 7803, 273, 394, 804, 16157, 5621, 7734, 666, 1739, 273, 394, 2989, 682, 1488, 5621, 7734, 364, 261, 474, 277, 273, 374, 274, 277, 411, 501, 18, 1467, 1435, 274, 277, 9904, 262, 288, 5411, 666, 1739, 18, 1289, 1046, 12, 892, 18, 588, 12, 77, 10019, 3639, 289, 7734, 906, 682, 18, 542, 1488, 12, 1098, 1739, 1769, 3639, 906, 682, 18, 542, 6233, 2 ]
return _isPeer;
return isLeaf;
public boolean isClientSupernodeConnection() { return _isPeer; }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/4a647ca4ee63bf260dff1b2167d911eaccc8770a/BusyLeafQRTUpdateTest.java/buggy/components/gnutella-core/src/test/java/com/limegroup/gnutella/BusyLeafQRTUpdateTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 353, 1227, 8051, 2159, 1952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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 353, 1227, 8051, 2159, 1952, 1435, 288, 5411, 327, 31356, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final PsiElement firstReferenceScope; firstReferenceScope = ScopeUtils.getParentOfTypes(referenceElement, ScopeUtils.TYPES);
final PsiElement firstReferenceScope= ScopeUtils.getParentOfTypes(referenceElement, ScopeUtils.TYPES);
protected void doFix(Project project, ProblemDescriptor descriptor) throws IncorrectOperationException { final PsiElement variableIdentifier = descriptor.getPsiElement(); final PsiVariable variable = (PsiVariable)variableIdentifier.getParent(); assert variable != null; final PsiManager manager = variable.getManager(); final PsiSearchHelper searchHelper = manager.getSearchHelper(); final PsiReference[] references = searchHelper.findReferences(variable, variable.getUseScope(), false); final PsiReference firstReference = references[0]; final PsiElement referenceElement = firstReference.getElement(); PsiElement commonParent = ScopeUtils.getCommonParent(references); assert commonParent != null; final PsiExpression initializer = variable.getInitializer(); if (initializer != null) { final PsiElement variableScope = ScopeUtils.getParentOfTypes(variable, ScopeUtils.TYPES); assert variableScope != null; commonParent = ScopeUtils.moveOutOfLoops(commonParent, variableScope); if (commonParent == null) { return; } } final PsiElement firstReferenceScope; firstReferenceScope = ScopeUtils.getParentOfTypes(referenceElement, ScopeUtils.TYPES); assert firstReferenceScope != null; final PsiElement location; PsiDeclarationStatement newDeclaration; if (firstReferenceScope.equals(commonParent)) { location = referenceElement; newDeclaration = moveDeclarationToLocation(variable, location); } else { final PsiElement commonParentChild = ScopeUtils.getChildWhichContainsElement(commonParent, referenceElement); assert commonParentChild != null; location = ScopeUtils.findInsertionPoint(commonParentChild, variable); assert location != null; newDeclaration = createNewDeclaration(variable, initializer); newDeclaration = (PsiDeclarationStatement)commonParent.addAfter(newDeclaration, location); } removeOldVariable(variable); highlightElement(newDeclaration); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/9396a08aa214b58ce2fa1491742223b5adb618d3/TooBroadScopeInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/style/TooBroadScopeInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 741, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 7734, 1216, 657, 6746, 10602, 3639, 288, 5411, 727, 453, 7722, 1046, 2190, 3004, 273, 10792, 4950, 18, 588, 52, 7722, 1046, 5621, 5411, 727, 453, 7722, 3092, 2190, 273, 261, 52, 7722, 3092, 13, 6105, 3004, 18, 588, 3054, 5621, 5411, 1815, 2190, 480, 446, 31, 5411, 727, 453, 7722, 1318, 3301, 273, 2190, 18, 588, 1318, 5621, 5411, 727, 453, 7722, 2979, 2276, 1623, 2276, 273, 3301, 18, 588, 2979, 2276, 5621, 5411, 727, 453, 7722, 2404, 8526, 5351, 273, 10792, 1623, 2276, 18, 4720, 8221, 12, 6105, 16, 2190, 18, 588, 3727, 3876, 9334, 629, 1769, 5411, 727, 453, 7722, 2404, 1122, 2404, 273, 5351, 63, 20, 15533, 5411, 727, 453, 7722, 1046, 2114, 1046, 273, 1122, 2404, 18, 21336, 5621, 5411, 453, 7722, 1046, 2975, 3054, 273, 5468, 1989, 18, 588, 6517, 3054, 12, 14353, 1769, 5411, 1815, 2975, 3054, 480, 446, 31, 5411, 727, 453, 7722, 2300, 12562, 273, 2190, 18, 588, 14729, 5621, 5411, 309, 261, 22181, 480, 446, 13, 5411, 288, 7734, 727, 453, 7722, 1046, 2190, 3876, 273, 13491, 5468, 1989, 18, 588, 3054, 951, 2016, 12, 6105, 16, 5468, 1989, 18, 10564, 1769, 7734, 1815, 2190, 3876, 480, 446, 31, 7734, 2975, 3054, 273, 5468, 1989, 18, 8501, 11224, 31409, 12, 6054, 3054, 16, 2190, 3876, 1769, 7734, 309, 261, 6054, 3054, 422, 446, 13, 7734, 288, 10792, 327, 31, 7734, 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, 4750, 918, 741, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 7734, 1216, 657, 6746, 10602, 3639, 288, 5411, 727, 453, 7722, 1046, 2190, 3004, 273, 10792, 4950, 18, 588, 52, 7722, 1046, 5621, 5411, 727, 453, 7722, 3092, 2190, 273, 261, 52, 7722, 3092, 13, 6105, 3004, 18, 588, 3054, 5621, 5411, 1815, 2190, 480, 446, 31, 5411, 727, 453, 7722, 1318, 3301, 273, 2190, 18, 588, 1318, 5621, 5411, 727, 453, 7722, 2979, 2276, 1623, 2276, 273, 3301, 18, 588, 2979, 2276, 5621, 5411, 727, 453, 7722, 2404, 8526, 5351, 273, 10792, 1623, 2276, 18, 4720, 8221, 12, 6105, 16, 2190, 18, 588, 3727, 3876, 9334, 629, 1769, 5411, 727, 453, 7722, 2404, 1122, 2404, 2 ]
instance = new MetalTreeUI(); instances.put(component, instance);
instance = new MetalTreeUI(); instances.put(component, instance);
public static ComponentUI createUI(JComponent component) { if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalTreeUI instance; if (o == null) { instance = new MetalTreeUI(); instances.put(component, instance); } else instance = (MetalTreeUI) o; return instance; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MetalTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 5435, 5370, 752, 5370, 12, 46, 1841, 1794, 13, 225, 288, 565, 309, 261, 10162, 422, 446, 13, 1377, 3884, 273, 394, 4317, 5621, 565, 1033, 320, 273, 3884, 18, 588, 12, 4652, 1769, 565, 21604, 287, 2471, 5370, 791, 31, 565, 309, 261, 83, 422, 446, 13, 1377, 288, 1377, 791, 273, 394, 21604, 287, 2471, 5370, 5621, 202, 10162, 18, 458, 12, 4652, 16, 791, 1769, 1377, 289, 565, 469, 1377, 791, 273, 261, 26365, 2471, 5370, 13, 320, 31, 565, 327, 791, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 5435, 5370, 752, 5370, 12, 46, 1841, 1794, 13, 225, 288, 565, 309, 261, 10162, 422, 446, 13, 1377, 3884, 273, 394, 4317, 5621, 565, 1033, 320, 273, 3884, 18, 588, 12, 4652, 1769, 565, 21604, 287, 2471, 5370, 791, 31, 565, 309, 261, 83, 422, 446, 13, 1377, 288, 1377, 791, 273, 394, 21604, 287, 2471, 5370, 5621, 202, 10162, 18, 458, 12, 4652, 16, 791, 1769, 1377, 289, 565, 469, 1377, 791, 273, 261, 26365, 2471, 5370, 13, 320, 31, 565, 327, 791, 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 ]
public void setLocation(int x, int y)
public void setLocation(Point p)
public void setLocation(int x, int y) { this.x = x; this.y = y; }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/3fe1c14284ce32b79d0e66441aec6a45a77ff684/Rectangle.java/buggy/libjava/java/awt/Rectangle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 21751, 12, 2148, 293, 13, 225, 288, 565, 333, 18, 92, 273, 619, 31, 565, 333, 18, 93, 273, 677, 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, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 21751, 12, 2148, 293, 13, 225, 288, 565, 333, 18, 92, 273, 619, 31, 565, 333, 18, 93, 273, 677, 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, -100, -100, -100, -100, -100, -100, -100 ]
tabFolder.getControl().setVisible(isVisible);
folder.getTabFolder().getControl().setVisible(isVisible);
public void setVisible(boolean isVisible) { tabFolder.getControl().setVisible(isVisible); IPresentablePart current = getSite().getSelectedPart(); if (current != null) { current.setVisible(true); } if (isVisible) { layout(true); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/a44e3679b294ff539fce71b7e835499b2c444fa7/TabbedStackPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/newapi/TabbedStackPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16697, 12, 6494, 20453, 13, 288, 3639, 3009, 18, 588, 5661, 3899, 7675, 588, 3367, 7675, 542, 6207, 12, 291, 6207, 1769, 3639, 2971, 1581, 429, 1988, 783, 273, 11021, 7675, 588, 7416, 1988, 5621, 3639, 309, 261, 2972, 480, 446, 13, 288, 5411, 783, 18, 542, 6207, 12, 3767, 1769, 3639, 289, 3639, 309, 261, 291, 6207, 13, 288, 5411, 3511, 12, 3767, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 16697, 12, 6494, 20453, 13, 288, 3639, 3009, 18, 588, 5661, 3899, 7675, 588, 3367, 7675, 542, 6207, 12, 291, 6207, 1769, 3639, 2971, 1581, 429, 1988, 783, 273, 11021, 7675, 588, 7416, 1988, 5621, 3639, 309, 261, 2972, 480, 446, 13, 288, 5411, 783, 18, 542, 6207, 12, 3767, 1769, 3639, 289, 3639, 309, 261, 291, 6207, 13, 288, 5411, 3511, 12, 3767, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static void assertEquals(ITable expectedTable, ITable actualTable) throws Exception
public static void assertEquals(IDataSet expectedDataSet, IDataSet actualDataSet) throws Exception
public static void assertEquals(ITable expectedTable, ITable actualTable) throws Exception { Assertion.assertEquals(expectedTable, actualTable); }
2032 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2032/6273be403064cf9a41d6a4420170cc382377a45f/DataSetUtils.java/clean/src/java/org/dbunit/dataset/DataSetUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1815, 8867, 12, 1285, 429, 2665, 1388, 16, 467, 1388, 3214, 1388, 13, 5411, 1216, 1185, 565, 288, 3639, 9067, 18, 11231, 8867, 12, 3825, 1388, 16, 3214, 1388, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1815, 8867, 12, 1285, 429, 2665, 1388, 16, 467, 1388, 3214, 1388, 13, 5411, 1216, 1185, 565, 288, 3639, 9067, 18, 11231, 8867, 12, 3825, 1388, 16, 3214, 1388, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void createPartControl(Composite parent) { FormToolkit toolkit = new FormToolkit(parent.getDisplay()); ScrolledForm sform = toolkit.createScrolledForm(parent); Composite editorComposite = sform.getBody(); editorComposite.setLayout(new GridLayout()); GridData gridData = new GridData(); gridData.horizontalAlignment = GridData.FILL_BOTH; gridData.grabExcessHorizontalSpace = true; gridData.grabExcessVerticalSpace = true; editorComposite.setLayoutData(gridData); createSummarySection(editorComposite, toolkit, editorInput.getReportStartDate()); String label = LABEL_PAST_ACTIVITY; List<ITask> allTasks = new ArrayList<ITask>(); allTasks.addAll(editorInput.getCompletedTasks()); allTasks.addAll(editorInput.getInProgressTasks()); SashForm sashForm = new SashForm(editorComposite, SWT.VERTICAL); sashForm.setLayout(new GridLayout()); sashForm.setLayoutData(new GridData(GridData.FILL_BOTH)); activityContentProvider = new TaskActivityContentProvider(editorInput); final TableViewer activityViewer = createTableSection(sashForm, toolkit, label, activityColumnNames, activityColumnWidths, activitySortConstants); activityViewer.setContentProvider(activityContentProvider); activityViewer.setLabelProvider(new TaskPlannerLabelProvider()); setSorters(activityColumnNames, activitySortConstants, activityViewer.getTable(), activityViewer, false); activityViewer.setInput(editorInput); activityViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { updateLabels(); } }); MenuManager activityContextMenuMgr = new MenuManager("#ActivityPlannerPopupMenu"); activityContextMenuMgr.setRemoveAllWhenShown(true); activityContextMenuMgr.addMenuListener(new IMenuListener() { public void menuAboutToShow(IMenuManager manager) { TaskActivityEditorPart.this.fillContextMenu(activityViewer, manager); } }); Menu menu = activityContextMenuMgr.createContextMenu(activityViewer.getControl()); activityViewer.getControl().setMenu(menu); getSite().registerContextMenu(activityContextMenuMgr, activityViewer); planContentProvider = new PlannedTasksContentProvider(editorInput); final TableViewer planViewer = createTableSection(sashForm, toolkit, LABEL_PLANNED_ACTIVITY, planColumnNames, planColumnWidths, planSortConstants); planViewer.setContentProvider(planContentProvider); planViewer.setLabelProvider(new TaskPlanLabelProvider()); createPlanCellEditorListener(planViewer.getTable(), planViewer); planViewer.setCellModifier(new PlannedTasksCellModifier(planViewer)); initDrop(planViewer, planContentProvider); setSorters(planColumnNames, planSortConstants, planViewer.getTable(), planViewer, true); planViewer.setInput(editorInput); planViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { updateLabels(); } }); MenuManager planContextMenuMgr = new MenuManager("#PlanPlannerPopupMenu"); planContextMenuMgr.setRemoveAllWhenShown(true); planContextMenuMgr.addMenuListener(new IMenuListener() { public void menuAboutToShow(IMenuManager manager) { TaskActivityEditorPart.this.fillContextMenu(planViewer, manager); } }); Menu planMenu = planContextMenuMgr.createContextMenu(planViewer.getControl()); planViewer.getControl().setMenu(planMenu); getSite().registerContextMenu(planContextMenuMgr, planViewer); totalEstimatedHoursLabel = toolkit.createLabel(editorComposite, LABEL_ESTIMATED + "0 hours ", SWT.NULL); createButtons(editorComposite, toolkit, planViewer, planContentProvider); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/294cb122e3d7fb6215909ec1cc4061efcdc50581/TaskActivityEditorPart.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/planner/ui/TaskActivityEditorPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 2640, 1988, 3367, 12, 799, 1724, 881, 817, 15329, 202, 202, 1204, 6364, 8691, 6738, 8691, 33, 2704, 1204, 6364, 8691, 12, 2938, 18, 588, 4236, 10663, 202, 202, 1541, 25054, 18529, 687, 33, 6738, 8691, 18, 2640, 1541, 25054, 1204, 12, 2938, 1769, 202, 202, 9400, 9177, 9400, 33, 87, 687, 18, 588, 2250, 5621, 202, 202, 9177, 9400, 18, 542, 3744, 12, 2704, 6313, 3744, 10663, 202, 202, 6313, 5139, 22239, 751, 33, 2704, 6313, 751, 5621, 202, 202, 5222, 751, 18, 18396, 11535, 33, 6313, 751, 18, 29818, 67, 38, 18307, 31, 202, 202, 5222, 751, 18, 2752, 70, 424, 614, 14457, 3819, 33, 3767, 31, 202, 202, 5222, 751, 18, 2752, 70, 424, 614, 15704, 3819, 33, 3767, 31, 202, 202, 9177, 9400, 18, 542, 3744, 751, 12, 5222, 751, 1769, 202, 202, 2640, 4733, 5285, 12, 9177, 9400, 16, 6738, 8691, 16, 9177, 1210, 18, 588, 4820, 22635, 10663, 202, 202, 780, 1925, 33, 13545, 67, 4066, 882, 67, 22271, 4107, 31, 202, 202, 682, 32, 1285, 835, 34, 454, 6685, 33, 2704, 19558, 32, 1285, 835, 34, 5621, 202, 202, 454, 6685, 18, 1289, 1595, 12, 9177, 1210, 18, 588, 9556, 6685, 10663, 202, 202, 454, 6685, 18, 1289, 1595, 12, 9177, 1210, 18, 588, 13434, 6685, 10663, 202, 202, 55, 961, 18529, 961, 1204, 33, 2704, 55, 961, 1204, 12, 9177, 9400, 16, 55, 8588, 18, 21654, 10109, 1769, 202, 202, 87, 961, 1204, 18, 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, 225, 202, 482, 6459, 2640, 1988, 3367, 12, 799, 1724, 881, 817, 15329, 202, 202, 1204, 6364, 8691, 6738, 8691, 33, 2704, 1204, 6364, 8691, 12, 2938, 18, 588, 4236, 10663, 202, 202, 1541, 25054, 18529, 687, 33, 6738, 8691, 18, 2640, 1541, 25054, 1204, 12, 2938, 1769, 202, 202, 9400, 9177, 9400, 33, 87, 687, 18, 588, 2250, 5621, 202, 202, 9177, 9400, 18, 542, 3744, 12, 2704, 6313, 3744, 10663, 202, 202, 6313, 5139, 22239, 751, 33, 2704, 6313, 751, 5621, 202, 202, 5222, 751, 18, 18396, 11535, 33, 6313, 751, 18, 29818, 67, 38, 18307, 31, 202, 202, 5222, 751, 18, 2752, 70, 424, 614, 14457, 3819, 33, 3767, 31, 202, 202, 5222, 751, 18, 2752, 2 ]
private static void activateMemberView() {
private void activateMemberView() {
private static void activateMemberView() { inGroupView = false; memberViewAction.setChecked(true); groupViewAction.setChecked(false); }
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/0864a0a4f629d02327c19937554983b1f76d1da3/Visualiser.java/buggy/org.eclipse.contribution.visualiser/src/org/eclipse/contribution/visualiser/views/Visualiser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 10235, 4419, 1767, 1435, 288, 202, 202, 267, 1114, 1767, 273, 629, 31, 202, 202, 5990, 1767, 1803, 18, 542, 11454, 12, 3767, 1769, 202, 202, 1655, 1767, 1803, 18, 542, 11454, 12, 5743, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 10235, 4419, 1767, 1435, 288, 202, 202, 267, 1114, 1767, 273, 629, 31, 202, 202, 5990, 1767, 1803, 18, 542, 11454, 12, 3767, 1769, 202, 202, 1655, 1767, 1803, 18, 542, 11454, 12, 5743, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void popFrame() {
private void popFrame() {
void popFrame() { frameStack.pop(); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/e4c74a91b5c4165a9c90cde4d7b2ddd72e81af8d/Dim.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1843, 3219, 1435, 288, 5411, 2623, 2624, 18, 5120, 5621, 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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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, 918, 1843, 3219, 1435, 288, 5411, 2623, 2624, 18, 5120, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.LegSymbolSfx getLegSymbolSfx() throws FieldNotFound { org.quickfix.field.LegSymbolSfx value = new org.quickfix.field.LegSymbolSfx();
public quickfix.field.LegSymbolSfx getLegSymbolSfx() throws FieldNotFound { quickfix.field.LegSymbolSfx value = new quickfix.field.LegSymbolSfx();
public org.quickfix.field.LegSymbolSfx getLegSymbolSfx() throws FieldNotFound { org.quickfix.field.LegSymbolSfx value = new org.quickfix.field.LegSymbolSfx(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Quote.java/clean/src/java/src/quickfix/fix44/Quote.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 5335, 55, 19595, 336, 8329, 5335, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 5335, 55, 19595, 5621, 565, 5031, 12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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8329, 5335, 55, 19595, 336, 8329, 5335, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 5335, 55, 19595, 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 ]