rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
if (domainObject == null) { if (logger.isDebugEnabled()) { logger.debug("Voting to abstain - domainObject is null"); } return AccessDecisionVoter.ACCESS_ABSTAIN; }
public int vote(Authentication authentication, Object object, ConfigAttributeDefinition config) { Iterator iter = config.getConfigAttributes(); while (iter.hasNext()) { ConfigAttribute attr = (ConfigAttribute) iter.next(); if (this.supports(attr)) { // Need to make an access decision on this invocation // Attempt to locate the domain object instance to process Object domainObject = getDomainObjectInstance(object); // If domain object is null, vote to abstain if (domainObject == null) { if (logger.isDebugEnabled()) { logger.debug("Voting to abstain - domainObject is null"); } return AccessDecisionVoter.ACCESS_ABSTAIN; } // Evaluate if we are required to use an inner domain object if ((internalMethod != null) && !"".equals(internalMethod)) { try { Class clazz = domainObject.getClass(); Method method = clazz.getMethod(internalMethod, new Class[] {}); domainObject = method.invoke(domainObject, new Object[] {}); } catch (NoSuchMethodException nsme) { throw new AuthorizationServiceException("Object of class '" + domainObject.getClass() + "' does not provide the requested internalMethod: " + internalMethod); } catch (IllegalAccessException iae) { if (logger.isDebugEnabled()) { logger.debug("IllegalAccessException", iae); if (iae.getCause() != null) { logger.debug("Cause: " + iae.getCause().getMessage(), iae.getCause()); } } throw new AuthorizationServiceException("Problem invoking internalMethod: " + internalMethod + " for object: " + domainObject); } catch (InvocationTargetException ite) { if (logger.isDebugEnabled()) { logger.debug("InvocationTargetException", ite); if (ite.getCause() != null) { logger.debug("Cause: " + ite.getCause().getMessage(), ite.getCause()); } } throw new AuthorizationServiceException("Problem invoking internalMethod: " + internalMethod + " for object: " + domainObject); } } // Obtain the OID applicable to the domain object ObjectIdentity objectIdentity = objectIdentityRetrievalStrategy.getObjectIdentity(domainObject); // Obtain the SIDs applicable to the principal Sid[] sids = sidRetrievalStrategy.getSids(authentication); Acl acl; try { // Lookup only ACLs for SIDs we're interested in acl = aclService.readAclById(objectIdentity, sids); } catch (NotFoundException nfe) { if (logger.isDebugEnabled()) { logger.debug("Voting to deny access - no ACLs apply for this principal"); } return AccessDecisionVoter.ACCESS_DENIED; } try { if (acl.isGranted(requirePermission, sids, false)) { if (logger.isDebugEnabled()) { logger.debug("Voting to grant access"); } return AccessDecisionVoter.ACCESS_GRANTED; } else { if (logger.isDebugEnabled()) { logger.debug( "Voting to deny access - ACLs returned, but insufficient permissions for this principal"); } return AccessDecisionVoter.ACCESS_DENIED; } } catch (NotFoundException nfe) { if (logger.isDebugEnabled()) { logger.debug("Voting to deny access - no ACLs apply for this principal"); } return AccessDecisionVoter.ACCESS_DENIED; } } } // No configuration attribute matched, so abstain return AccessDecisionVoter.ACCESS_ABSTAIN; }
57740 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57740/1805ab8ec445d7b7d8dd163936037e55c0e2c5ff/AclEntryVoter.java/buggy/core/src/main/java/org/acegisecurity/vote/AclEntryVoter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 12501, 12, 6492, 5107, 16, 1033, 733, 16, 1903, 1499, 1852, 642, 13, 288, 3639, 4498, 1400, 273, 642, 18, 588, 809, 2498, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12501, 12, 6492, 5107, 16, 1033, 733, 16, 1903, 1499, 1852, 642, 13, 288, 3639, 4498, 1400, 273, 642, 18, 588, 809, 2498, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, ...
private boolean isDestinationSameAsSource(IContainer destination, IResource[] sourceResources) {
boolean isDestinationSameAsSource(IResource[] sourceResources, IContainer destination) {
private boolean isDestinationSameAsSource(IContainer destination, IResource[] sourceResources) { for (int i = 0; i < sourceResources.length; i++) { if (sourceResources[i].getParent().equals(destination)) { return true; } } return false; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/55a0765998ffb552f84192bb2b3b6177a5c39ba5/CopyFilesAndFoldersOperation.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 5683, 8650, 1463, 1830, 12, 45, 2170, 2929, 16, 467, 1420, 8526, 1084, 3805, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1084, 3805, 18, 2469, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 5683, 8650, 1463, 1830, 12, 45, 2170, 2929, 16, 467, 1420, 8526, 1084, 3805, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1084, 3805, 18, 2469, ...
assert context != null: Debug.show(this.context, " - ", member);
assert context != null: Debug.show(this.context, member);
private Symbol getAccessSymbol(Symbol member, Symbol svper) { if (member.isPublic() && svper == null) return member; Context context = this.context; for (; context != null; context = context.outer) if (svper != null ? context.clasz == svper : member.isPrivate() ? context.clasz == member.owner() // !!! This is incorrect without static access methods : context.clasz.isSubClass(member.owner())) break; assert context != null: Debug.show(this.context, " - ", member); if (context == this.context) return member; Map table = svper != null ? context.supers : context.selfs; Symbol access = (Symbol)table.get(member); if (access == null) { // !!! generate static access methods ? Name name = Names.ACCESS(member, svper != null); access = context.clasz.newAccessMethod(context.clasz.pos,name); global.nextPhase(); Type info = member.isMethod() ? member.info().cloneType(member, access) : Type.MethodType(Symbol.EMPTY_ARRAY, member.info()); access.setInfo(info); global.prevPhase(); table.put(member, access); context.clasz.nextInfo().members().enter(access); assert Debug.log("created access method: ", access); } return access; }
55146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55146/3b72eb55441fad6ff3f9c209315702371ff87fbb/ExplicitOuterClassesPhase.java/buggy/sources/scalac/transformer/ExplicitOuterClassesPhase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 8565, 21909, 5335, 12, 5335, 3140, 16, 8565, 5893, 457, 13, 288, 5411, 309, 261, 5990, 18, 291, 4782, 1435, 597, 5893, 457, 422, 446, 13, 327, 3140, 31, 5411, 1772, 819, 273, 333,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 8565, 21909, 5335, 12, 5335, 3140, 16, 8565, 5893, 457, 13, 288, 5411, 309, 261, 5990, 18, 291, 4782, 1435, 597, 5893, 457, 422, 446, 13, 327, 3140, 31, 5411, 1772, 819, 273, 333,...
null, "", null);
null, "", null);
protected IASTExpression postfixExpression(IASTScope scope) throws EndOfFileException, BacktrackException { IASTExpression firstExpression = null; boolean isTemplate = false; checkEndOfFile(); switch (LT(1)) { case IToken.t_typename : consume(IToken.t_typename); ITokenDuple nestedName = name(scope, CompletionKind.TYPE_REFERENCE); boolean templateTokenConsumed = false; if( LT(1) == IToken.t_template ) { consume( IToken.t_template ); templateTokenConsumed = true; } IToken current = mark(); ITokenDuple templateId = null; try { templateId = new TokenDuple( current, templateId(scope, CompletionKind.SINGLE_NAME_REFERENCE ) ); } catch( BacktrackException bt ) { if( templateTokenConsumed ) throw bt; backup( current ); } consume( IToken.tLPAREN ); IASTExpression expressionList = expression( scope ); consume( IToken.tRPAREN ); try { firstExpression = astFactory.createExpression( scope, (( templateId != null )? IASTExpression.Kind.POSTFIX_TYPENAME_TEMPLATEID : IASTExpression.Kind.POSTFIX_TYPENAME_IDENTIFIER ), expressionList, null, null, null, nestedName, "", null ); } catch (ASTSemanticException ase ) { throw backtrack; } catch (Exception e) { throw backtrack; } break; // simple-type-specifier ( assignment-expression , .. ) case IToken.t_char : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_CHAR); break; case IToken.t_wchar_t : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_WCHART); break; case IToken.t_bool : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_BOOL); break; case IToken.t_short : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_SHORT); break; case IToken.t_int : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_INT); break; case IToken.t_long : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_LONG); break; case IToken.t_signed : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_SIGNED); break; case IToken.t_unsigned : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_UNSIGNED); break; case IToken.t_float : firstExpression = simpleTypeConstructorExpression(scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_FLOAT); break; case IToken.t_double : firstExpression = simpleTypeConstructorExpression( scope, IASTExpression.Kind.POSTFIX_SIMPLETYPE_DOUBLE); break; case IToken.t_dynamic_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_DYNAMIC_CAST); break; case IToken.t_static_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_STATIC_CAST); break; case IToken.t_reinterpret_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_REINTERPRET_CAST); break; case IToken.t_const_cast : firstExpression = specialCastExpression(scope, IASTExpression.Kind.POSTFIX_CONST_CAST); break; case IToken.t_typeid : consume(); consume(IToken.tLPAREN); boolean isTypeId = true; IASTExpression lhs = null; IASTTypeId typeId = null; try { typeId = typeId(scope, false); } catch (BacktrackException b) { isTypeId = false; lhs = expression(scope); } consume(IToken.tRPAREN); try { firstExpression = astFactory.createExpression( scope, (isTypeId ? IASTExpression.Kind.POSTFIX_TYPEID_TYPEID : IASTExpression.Kind.POSTFIX_TYPEID_EXPRESSION), lhs, null, null, typeId, null, "", null); } catch (ASTSemanticException e6) { failParse(); throw backtrack; } catch (Exception e) { throw backtrack; } break; default : firstExpression = primaryExpression(scope); } IASTExpression secondExpression = null; for (;;) { switch (LT(1)) { case IToken.tLBRACKET : // array access consume(); secondExpression = expression(scope); consume(IToken.tRBRACKET); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_SUBSCRIPT, firstExpression, secondExpression, null, null, null, "", null); } catch (ASTSemanticException e2) { failParse(); throw backtrack; } catch (Exception e) { throw backtrack; } break; case IToken.tLPAREN : // function call consume(IToken.tLPAREN); secondExpression = expression(scope); consume(IToken.tRPAREN); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_FUNCTIONCALL, firstExpression, secondExpression, null, null, null, "", null); } catch (ASTSemanticException e3) { failParse(); throw backtrack; } catch (Exception e) { throw backtrack; } break; case IToken.tINCR : consume(); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_INCREMENT, firstExpression, null, null, null, null, "", null); } catch (ASTSemanticException e1) { failParse(); throw backtrack; } catch (Exception e) { throw backtrack; } break; case IToken.tDECR : consume(); try { firstExpression = astFactory.createExpression( scope, IASTExpression.Kind.POSTFIX_DECREMENT, firstExpression, null, null, null, null, "", null); } catch (ASTSemanticException e4) { failParse(); throw backtrack; } catch (Exception e) { throw backtrack; } break; case IToken.tDOT : // member access consume(IToken.tDOT); if( queryLookaheadCapability() ) if (LT(1) == IToken.t_template) { consume(IToken.t_template); isTemplate = true; } setCompletionValues(scope, CompletionKind.MEMBER_REFERENCE, KeywordSets.Key.EMPTY, firstExpression, isTemplate ); secondExpression = primaryExpression(scope); checkEndOfFile(); setCompletionValues(scope, CompletionKind.NO_SUCH_KIND, KeywordSets.Key.EMPTY ); try { firstExpression = astFactory.createExpression( scope, (isTemplate ? IASTExpression.Kind.POSTFIX_DOT_TEMPL_IDEXPRESS : IASTExpression.Kind.POSTFIX_DOT_IDEXPRESSION), firstExpression, secondExpression, null, null, null, "", null); } catch (ASTSemanticException e5) { failParse(); throw backtrack; } catch (Exception e) { throw backtrack; } break; case IToken.tARROW : // member access consume(IToken.tARROW); if( queryLookaheadCapability() ) if (LT(1) == IToken.t_template) { consume(IToken.t_template); isTemplate = true; } setCompletionValues(scope, CompletionKind.MEMBER_REFERENCE, KeywordSets.Key.EMPTY, firstExpression, isTemplate ); secondExpression = primaryExpression(scope); checkEndOfFile(); setCompletionValues(scope, CompletionKind.NO_SUCH_KIND, KeywordSets.Key.EMPTY ); try { firstExpression = astFactory.createExpression( scope, (isTemplate ? IASTExpression.Kind.POSTFIX_ARROW_TEMPL_IDEXP : IASTExpression.Kind.POSTFIX_ARROW_IDEXPRESSION), firstExpression, secondExpression, null, null, null, "", null); } catch (ASTSemanticException e) { failParse(); throw backtrack; } catch (Exception e) { throw backtrack; } break; default : return firstExpression; } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/95f42aeb9e7f38db093795981bd7c7300a3eeeb6/ExpressionParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ExpressionParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 9053, 2300, 18923, 2300, 12, 45, 9053, 3876, 2146, 13, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 288, 202, 565, 467, 9053, 2300, 1122, 2300, 273, 446, 31, 202, 565...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 467, 9053, 2300, 18923, 2300, 12, 45, 9053, 3876, 2146, 13, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 288, 202, 565, 467, 9053, 2300, 1122, 2300, 273, 446, 31, 202, 565...
+ " To add to dest, include dest in the list of sources");
+ " To add to dest, include dest in the list of sources\n" + " gcj-dbtool -p - Print default database name");
private static void usage(PrintStream out) { out.println ("gcj-dbtool: Manipulate gcj map database files\n" + "\n" + " Usage: \n" + " gcj-dbtool -n file.gcjdb [size] - Create a new gcj map database\n" + " gcj-dbtool -a file.gcjdb file.jar file.so\n" + " - Add the contents of file.jar to a new gcj map database\n" + " gcj-dbtool -f file.gcjdb file.jar file.so\n" + " - Add the contents of file.jar to a new gcj map database\n" + " gcj-dbtool -t file.gcjdb - Test a gcj map database\n" + " gcj-dbtool -l file.gcjdb - List a gcj map database\n" + " gcj-dbtool -m dest.gcjdb [source.gcjdb]...\n" + " gcj-dbtool -p - Print default database name\n" + " - Merge gcj map databases into dest\n" + " Replaces dest\n" + " To add to dest, include dest in the list of sources"); }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/8ae80f8d9d2c2b34b273086eda873d16b3dffe02/Main.java/buggy/libjava/gnu/gcj/tools/gcj_dbtool/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 4084, 12, 5108, 1228, 596, 13, 225, 288, 565, 596, 18, 8222, 1377, 7566, 13241, 78, 17, 1966, 6738, 30, 8660, 625, 6243, 8859, 78, 852, 2063, 1390, 64, 82, 6, 4202, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 4084, 12, 5108, 1228, 596, 13, 225, 288, 565, 596, 18, 8222, 1377, 7566, 13241, 78, 17, 1966, 6738, 30, 8660, 625, 6243, 8859, 78, 852, 2063, 1390, 64, 82, 6, 4202, 39...
public IPerson getPerson(HttpServletRequest request) throws PortalSecurityException { // Return the person object if it exists in the user's session IPerson person = (IPerson) request.getSession(false).getAttribute(PERSON_SESSION_KEY); if (person != null) return person; try { // Create a new instance of a person person = PersonFactory.createGuestPerson(); // If the user has authenticated with the server which has implemented web authentication, // the REMOTEUSER environment variable will be set. String remoteUser = request.getRemoteUser(); RemoteUserSecurityContext context = new RemoteUserSecurityContext(remoteUser); person.setSecurityContext(context); } catch (Exception e) { // Log the exception log.error("Exception creating person for request " + request, e); } // Add this person object to the user's session request.getSession(false).setAttribute(PERSON_SESSION_KEY, person); // Return the new person object return (person); }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/f720144d6731acf44f72a7bcce7ecd1f16f5b5f1/RemoteUserPersonManager.java/buggy/source/org/jasig/portal/security/provider/RemoteUserPersonManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2971, 3565, 29936, 12, 2940, 18572, 590, 13, 202, 202, 15069, 25478, 24918, 288, 202, 202, 759, 2000, 326, 6175, 733, 309, 518, 1704, 316, 326, 729, 1807, 1339, 202, 202, 2579, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2971, 3565, 29936, 12, 2940, 18572, 590, 13, 202, 202, 15069, 25478, 24918, 288, 202, 202, 759, 2000, 326, 6175, 733, 309, 518, 1704, 316, 326, 729, 1807, 1339, 202, 202, 2579, ...
public Map filterValues(SnmpVars snmpVars){
public Map filterValues(Map snmpVars){
public Map filterValues(SnmpVars snmpVars){ int runnable = 0; int stopped = 0; int inPageWait = 0; int nonInterruptableWait = 0; int sleeping = 0; int idle = 0; int zombie = 0; for(Iterator i = snmpVars.keySet().iterator() ; i.hasNext() ; ){ OID oid = (OID) i.next(); String state = (String) snmpVars.get(oid); if(RUNNABLE.equals(state)) runnable++; else if(STOPPED.equals(state)) stopped++; else if(INPAGEWAIT.equals(state)) inPageWait++; else if(NONINTERRUPTABLEWAIT.equals(state)) nonInterruptableWait++; else if(SLEEPING.equals(state)) sleeping++; else if(IDLE.equals(state)) idle++; else if(ZOMBIE.equals(state)) zombie++; } Map retValue = new HashMap(7); retValue.put(RUNNABLE, new Double(runnable)); retValue.put(STOPPED, new Double(stopped)); retValue.put(INPAGEWAIT, new Double(inPageWait)); retValue.put(NONINTERRUPTABLEWAIT, new Double(nonInterruptableWait)); retValue.put(SLEEPING, new Double(sleeping)); retValue.put(IDLE, new Double(idle)); retValue.put(ZOMBIE, new Double(zombie)); return retValue; }
31637 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31637/49ebab2d967cb2ea27d180bc01fa0fd077814b2f/ProcessStatus.java/buggy/src/jrds/probe/snmp/ProcessStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1635, 1034, 1972, 12, 10461, 1291, 5555, 15366, 5555, 15329, 202, 202, 474, 14685, 273, 374, 31, 202, 202, 474, 9627, 273, 374, 31, 202, 202, 474, 316, 1964, 5480, 273, 374, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1635, 1034, 1972, 12, 10461, 1291, 5555, 15366, 5555, 15329, 202, 202, 474, 14685, 273, 374, 31, 202, 202, 474, 9627, 273, 374, 31, 202, 202, 474, 316, 1964, 5480, 273, 374, 3...
sb.append("org.aspectj.weaver.WeavingURLClassLoader");
sb.append("org.aspectj.weaver.loadtime.WeavingURLClassLoader");
private String addExtraVMArgs(String vmArgs, String[] ajClasspath) { StringBuffer sb = new StringBuffer(vmArgs); sb.append(' '); //$NON-NLS-1$ sb.append(classLoaderOption); sb.append('='); //$NON-NLS-1$ sb.append("org.aspectj.weaver.WeavingURLClassLoader"); //$NON-NLS-1$ sb.append(' '); //$NON-NLS-1$ sb.append(ajClasspathOption); sb.append('='); //$NON-NLS-1$ for (int i = 0; i < ajClasspath.length; i++) { if(i != 0) { sb.append(';'); //$NON-NLS-1$ } sb.append(ajClasspath[i]); } return sb.toString(); }
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/5e1cf104aa92454d1dfab4e728265c36fdf36363/LTWApplicationLaunchConfigurationDelegate.java/clean/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/launching/LTWApplicationLaunchConfigurationDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 30477, 7397, 2615, 12, 780, 4268, 2615, 16, 514, 8526, 24787, 17461, 13, 288, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 3489, 2615, 1769, 202, 202, 18366, 18, 6923, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 30477, 7397, 2615, 12, 780, 4268, 2615, 16, 514, 8526, 24787, 17461, 13, 288, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 3489, 2615, 1769, 202, 202, 18366, 18, 6923, ...
Client.out.println("Client planning for frame: " + newFrame); _adjustingFrame = true; _cache.jumpTo(newFrame); _viewer.setNewFrame(true); _viewer.displayImage(_cacheDir + newFrame + ".jpg"); _adjustingFrame = false;
if (!_adjustingFrame){ _adjustingFrame = true; _cache.jumpTo(newFrame); _viewer.setNewFrame(true); _viewer.displayImage(_cacheDir + newFrame + ".jpg"); _adjustingFrame = false; }
public void jumpTo(String newFrame) { Client.out.println("Client planning for frame: " + newFrame); _adjustingFrame = true; _cache.jumpTo(newFrame); _viewer.setNewFrame(true); _viewer.displayImage(_cacheDir + newFrame + ".jpg"); _adjustingFrame = false; }
14573 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14573/3f641ee17f63d530d788c46f7cf7d11be971bbd8/Client.java/buggy/client/Client.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 11833, 774, 12, 780, 394, 3219, 13, 288, 565, 2445, 18, 659, 18, 8222, 2932, 1227, 886, 10903, 364, 2623, 30, 315, 397, 394, 3219, 1769, 565, 389, 13362, 310, 3219, 273, 638,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 11833, 774, 12, 780, 394, 3219, 13, 288, 565, 2445, 18, 659, 18, 8222, 2932, 1227, 886, 10903, 364, 2623, 30, 315, 397, 394, 3219, 1769, 565, 389, 13362, 310, 3219, 273, 638,...
outjarSettingChanged = false; outjarSettingUpdated = false;
aspectjSettingChanged = false; aspectjSettingUpdated = false;
protected Control createContents(Composite parent) { // Grab the resource (must be a project) for which this property page // is being created thisProject = (IProject) getElement(); BuildOptionsAdapter.ensurePropertiesInitialized(thisProject); Composite pageComposite = createPageComposite(parent, 3); // This will cover the top row of the panel. Composite row0Composite = createRowComposite(pageComposite,1); Label optionsLabel = createLabel( row0Composite, AspectJUIPlugin.getResourceString("compilerPropsPage.description")); // -------------------------- END OF TOP ROW ------------------------// Composite row1Comp = createRowComposite(pageComposite,3);//// inputJarsEditor =// new PathButtonFieldEditor(// "",// AspectJPlugin.getResourceString("compilerPropsPage.inputJars"),// row1Comp,// BROWSE_FOR_CLASSJARS);// inputJarsEditor.setChangeButtonText(// AspectJPlugin.getResourceString("compilerPropsPage.browseLabel")); // ------------------------- END OF SECOND ROW ------------------------// Composite row2Comp = createRowComposite(pageComposite,3);// // aspectJarsEditor =// new PathButtonFieldEditor(// "",// AspectJPlugin.getResourceString("compilerPropsPage.aspectJars"),// row2Comp,// BROWSE_FOR_ASPECTJARS);// aspectJarsEditor.setChangeButtonText(// AspectJPlugin.getResourceString("compilerPropsPage.browseLabel")); // ------------------------- END OF THIRD ROW ------------------------ //Label spacerLabel = createLabel( pageComposite,""); Composite row3Comp = createRowComposite(pageComposite,2); outputJarEditor = new StringFieldEditor("", AspectJUIPlugin.getResourceString("compilerPropsPage.outputJar"), row3Comp); // ------------------------- END OF FOURTH ROW ------------------------ //Composite row4Comp = createRowComposite(pageComposite,2); //Label spacerLabel008 = // createLabel( // pageComposite,"");// preprocessModeBtn =// buildButton(// pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.preprocessMode"));//// workingDirEditor =// new StringFieldEditor(// "",// AspectJPlugin.getResourceString("compilerPropsPage.workingDirPath"),// StringFieldEditor.UNLIMITED,// pageComposite); /* Removed, doesn't seem to be useful when invoking Compiler from Eclipse environment characterEncodingEditor = new StringFieldEditor( "", AspectJPlugin.getResourceString("compilerPropsPage.characterEncoding"), StringFieldEditor.UNLIMITED, pageComposite); */// source14modeBtn =// buildButton(// pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.source14"));//// portingModeBtn =// buildButton(// pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.portingMode"));////Label spacerLabel001 =// createLabel(// pageComposite,"");// // Label strictnessLabel =// createLabel(// pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.compilerStrictness"));//// compileMode_normalBtn =// createRadioButton(// pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.compilerStrictnessNormal"));// compileMode_lenientBtn =// createRadioButton(// pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.compilerStrictnessLenient"));// compileMode_strictBtn =// createRadioButton(// pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.compilerStrictnessStrict"));// // Label spacerLabel002 =// createLabel(// pageComposite,""); nonStandardOptionsEditor = new StringFieldEditor( "", AspectJUIPlugin.getResourceString("compilerPropsPage.nonStandardOptions"), StringFieldEditor.UNLIMITED, pageComposite); Label spacerLabel009 = createLabel( pageComposite,""); incremental_modeBtn = buildButton( pageComposite, AspectJUIPlugin.getResourceString("compilerPropsPage.useIncrementalCompiler")); // TODO Add in a message about incremental being experimental in this release. Label incExptLabel = createLabel( pageComposite, AspectJUIPlugin.getResourceString("compilerPropsPage.incrementalCompilerStatus")); //Label spacerLabel010 = createLabel( pageComposite,""); buildAsmBtn = buildButton( pageComposite, AspectJUIPlugin.getResourceString("compilerPropsPage.buildasm")); Label asmDetails = createLabel( pageComposite, AspectJUIPlugin.getResourceString("compilerPropsPage.buildasm.details")); showweavemessagesBtn = buildButton(pageComposite, AspectJUIPlugin.getResourceString("compilerPropsPage.showweavemessages")); Label showweavemessagesDetails = createLabel(pageComposite, AspectJUIPlugin.getResourceString("compilerPropsPage.showweavemessages.details")); createLabel(pageComposite,""); // fileExtBtn = buildButton( pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.fileExt"));// Label extDetails =// createLabel(// pageComposite,// AspectJPlugin.getResourceString("compilerPropsPage.fileExt.details")); updatePageContents(); outjarSettingChanged = false; outjarSettingUpdated = false; return pageComposite; }
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/8638dd6105fc1306d69d4d08d06441816f0072df/AspectJProjectPropertiesPage.java/buggy/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ui/AspectJProjectPropertiesPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6323, 12, 9400, 982, 13, 288, 202, 202, 759, 17150, 326, 1058, 261, 11926, 506, 279, 1984, 13, 364, 1492, 333, 1272, 1363, 202, 202, 759, 353, 3832, 2522, 202, 202...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6323, 12, 9400, 982, 13, 288, 202, 202, 759, 17150, 326, 1058, 261, 11926, 506, 279, 1984, 13, 364, 1492, 333, 1272, 1363, 202, 202, 759, 353, 3832, 2522, 202, 202...
return tableColumnModel;
return tableColumnModel;
public TableColumnModel getTableColumnModel(){ DefaultTableColumnModel tableColumnModel = new DefaultTableColumnModel(); // # min rsz edit remv desc typ def addTableColumn( tableColumnModel, 0, 150, true, false, false, false, Date.class, null, "timestamp" ); addTableColumn( tableColumnModel, 1, 55, true, false, false, false, String.class, null, "action" ); addTableColumn( tableColumnModel, 2, 165, true, false, false, false, String.class, null, "client" ); addTableColumn( tableColumnModel, 3, 100, true, false, false, false, String.class, null, "request" ); addTableColumn( tableColumnModel, 4, 150, true, false, false, false, String.class, null, sc.html("reason for<br>action") ); addTableColumn( tableColumnModel, 5, 100, true, false, false, false, String.class, null, sc.html("request<br>direction") ); addTableColumn( tableColumnModel, 6, 165, true, false, false, false, String.class, null, "server" ); return tableColumnModel; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/ff039aa0a88558bd57c3af5130d7d059b60c42c3/LogJPanel.java/clean/tran/protofilter/main/com/metavize/tran/protofilter/gui/LogJPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3555, 1494, 1488, 5638, 1494, 1488, 1435, 95, 28524, 10792, 202, 565, 2989, 1388, 1494, 1488, 1014, 1494, 1488, 273, 394, 2989, 1388, 1494, 1488, 5621, 4766, 5397, 202, 565, 368, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3555, 1494, 1488, 5638, 1494, 1488, 1435, 95, 28524, 10792, 202, 565, 2989, 1388, 1494, 1488, 1014, 1494, 1488, 273, 394, 2989, 1388, 1494, 1488, 5621, 4766, 5397, 202, 565, 368, ...
{ String table_name = getTableName(column); if (table_name.equals("")) return ""; return ""; }
{ String table_name = getTableName(column); if (table_name.equals("")) return ""; return ""; }
public String getSchemaName(int column) throws SQLException { String table_name = getTableName(column); // If the table name is invalid, so are we. if (table_name.equals("")) return ""; return ""; // Ok, so I don't know how to // do this as yet. }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/0c8299478c05542a0f240973829223c7dae7e4dd/ResultSetMetaData.java/buggy/postgresql/ResultSetMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11088, 461, 12, 474, 1057, 13, 1216, 6483, 202, 95, 202, 202, 780, 1014, 67, 529, 273, 11996, 12, 2827, 1769, 202, 202, 759, 971, 326, 1014, 508, 353, 2057, 16, 1427, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 11088, 461, 12, 474, 1057, 13, 1216, 6483, 202, 95, 202, 202, 780, 1014, 67, 529, 273, 11996, 12, 2827, 1769, 202, 202, 759, 971, 326, 1014, 508, 353, 2057, 16, 1427, 8...
return (new SomeJunction(host, agent));
return (new SomeJunction(host, agent, myWVM.getRMIPort(), 0));
public WorkletJunction getJunctionByURL (URL anURL, String host, String agent) { // should extract class from an URL // then instantiate a junction of the right class with the right parameters return (new SomeJunction(host, agent)); }
14769 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14769/bf6b8d826b28116f1907e2008d139925873c2eef/WorkletFactory.java/buggy/smartinf/WorkletFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4147, 1810, 46, 418, 9285, 418, 858, 1785, 261, 1785, 392, 1785, 16, 514, 1479, 16, 514, 4040, 13, 565, 288, 202, 759, 1410, 2608, 667, 628, 392, 1976, 202, 759, 1508, 10275, 279,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4147, 1810, 46, 418, 9285, 418, 858, 1785, 261, 1785, 392, 1785, 16, 514, 1479, 16, 514, 4040, 13, 565, 288, 202, 759, 1410, 2608, 667, 628, 392, 1976, 202, 759, 1508, 10275, 279,...
if (ScopeUtils.inCodeBlock(aAST)) {
if (ScopeUtils.isLocalVariableDef(aAST) || (aAST.getType() == TokenTypes.PARAMETER_DEF)) {
private void processVariable(DetailAST aAST) { if (!ScopeUtils.inInterfaceBlock(aAST)) { if (ScopeUtils.inCodeBlock(aAST)) { //local variable or parameter. Does it shadow a field? final DetailAST nameAST = aAST.findFirstToken(TokenTypes.IDENT); final String name = nameAST.getText(); final Iterator it = mFieldsStack.iterator(); while (it.hasNext()) { final HashSet aFieldsSet = (HashSet) it.next(); if (aFieldsSet.contains(name)) { log(nameAST.getLineNo(), nameAST.getColumnNo(), "hidden.field", name); break; } } } } }
50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/2af8515c14ab3333da8bc1152507318a6cf333eb/HiddenFieldCheck.java/buggy/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/HiddenFieldCheck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 3092, 12, 6109, 9053, 279, 9053, 13, 565, 288, 3639, 309, 16051, 3876, 1989, 18, 267, 1358, 1768, 12, 69, 9053, 3719, 288, 5411, 309, 261, 3876, 1989, 18, 291, 2042, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 3092, 12, 6109, 9053, 279, 9053, 13, 565, 288, 3639, 309, 16051, 3876, 1989, 18, 267, 1358, 1768, 12, 69, 9053, 3719, 288, 5411, 309, 261, 3876, 1989, 18, 291, 2042, 30...
Argo.log.error(this.getClass().toString() + "targetChanged() - " +
Argo.log.error(this.getClass().toString() + " targetChanged() - " +
public void targetChanged() { // Give up if we don't have a target that is some sort of model // element. Object target = _container.getTarget(); if (!(target instanceof MModelElement)) { return; } // Make sure we have a model as well. PJS comments that this needs more // work - it should never happen. MModelElement element = (MModelElement) target; MModel model = element.getModel(); if (model == null) { Argo.log.error(this.getClass().toString() + "targetChanged() - " + "getModel() == null for " + target.getClass().toString()); return; } // Needs_work... // This if statement was not allowing us to update the Stereotype or // Type information once the system had previously loaded the // combo-box. // Perhaps what is required is a way to invalidate the model, instead // of collecting the elements everytime we change property panels. For // now this does not seem to cause us any performance problems... // Modified Jan.06, 2002...pjs // Empty the set and get the profile we can use for creating new // entries, formatting etc. _set.clear(); Profile profile = _container.getProfile(); // Add an empty entry if allowed if(_allowVoid) { _set.add(new UMLComboBoxEntry(null, profile, false)); } // Collect elements from the model supplied. if (model != null) { collectElements(model,profile,false); } // Add elements from the model associated with the profile if allowed. if(_addElementsFromProfileModel) { MModel profileModel = profile.getProfileModel(); if(profileModel != null) { collectElements(profileModel,profile,true); } } // Scan for name collisions, where the short (i.e. formatted) name of // entries is identical. Where this is the case, use the long name as // the display name. Iterator iter = _set.iterator(); String before = null; UMLComboBoxEntry currentEntry = null; String current = null; UMLComboBoxEntry afterEntry = null; String after = null; while(iter.hasNext()) { before = current; currentEntry = afterEntry; current = after; afterEntry = (UMLComboBoxEntry) iter.next(); after = afterEntry.getShortName(); if(currentEntry != null) { currentEntry.checkCollision(before,after); } } if(afterEntry != null) { afterEntry.checkCollision(current,null); } // The original version had a fireContentsChanged statement here as // follows: // fireContentsChanged(this,0,_set.size()); // Phil Sager suggested removing this statement to solve a problem // where on reload of a project or load of a new project the // stereotype, attribute or parameter of the first class chosen would // be changed to null in the case of a stereotype or to BigDecimal in // the case of an attribute or parameter. // Jeremy Bennett's fix is i) to keep the fireContentsChanged() call, // but move it to *after* the check on the selected item and ii) to use // _set.size()-1 as the final argument (it is the index of the last // element, not the size of the set). // Get current value, and make sure it is the selected entry. Allow for // the possibility that this blows up. // WARNING. If two entries have identical fully qualified names, only // the first will appear in this set! try { Object[] _noArgs = {}; Object currentObj = _getMethod.invoke(_container,_noArgs); // Now find this one in the set Iterator iter2 = _set.iterator(); while(iter2.hasNext()) { UMLComboBoxEntry entry = (UMLComboBoxEntry) iter2.next(); // 2002-07-13 // Jaap Branderhorst // the next if statement doesn't work since the element from the model // equals the currentObj but is not the same object in case of an abstraction // with a stereotype. // this is an error while constructing the abstraction probably. if(!(entry.isPhantom()) && (entry.getElement(model) == currentObj)) { _selectedItem = entry; // 2002-07-15 // Jaap Branderhorst // probably good idea for performance to break out of the while loop break; } } } catch(Exception e) { System.out.println(e.toString() + ". " + this.getClass().toString() + ": targetChanged() - get method failed."); _selectedItem = null; } // Finally tell Swing that things may have changed (I'm not sure we // shouldn't be using add and remove). fireContentsChanged(this,0,_set.size() - 1); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/04e32d46d86239c2effd65b3a75cf53864a2c24f/UMLComboBoxModel.java/clean/src_new/org/argouml/uml/ui/UMLComboBoxModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1018, 5033, 1435, 288, 3639, 368, 22374, 731, 309, 732, 2727, 1404, 1240, 279, 1018, 716, 353, 2690, 1524, 434, 938, 3639, 368, 930, 18, 3639, 1033, 1018, 273, 389, 3782, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1018, 5033, 1435, 288, 3639, 368, 22374, 731, 309, 732, 2727, 1404, 1240, 279, 1018, 716, 353, 2690, 1524, 434, 938, 3639, 368, 930, 18, 3639, 1033, 1018, 273, 389, 3782, 18, ...
setStartColor((ColorDefinition)null);
setStartColor((ColorDefinition) null);
public void eUnset(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case AttributePackage.GRADIENT__TYPE: unsetType(); return; case AttributePackage.GRADIENT__START_COLOR: setStartColor((ColorDefinition)null); return; case AttributePackage.GRADIENT__END_COLOR: setEndColor((ColorDefinition)null); return; case AttributePackage.GRADIENT__DIRECTION: unsetDirection(); return; case AttributePackage.GRADIENT__CYCLIC: unsetCyclic(); return; case AttributePackage.GRADIENT__TRANSPARENCY: unsetTransparency(); return; } eDynamicUnset(eFeature); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/GradientImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/GradientImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 6997, 17708, 2222, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 6997, 17708, 2222, ...
private boolean checkedAddExponent(long offset) { double d = exponent; boolean isOverFlow = false; d += offset; if (d >= Long.MAX_VALUE) { setInfinite(); isOverFlow = true; } else if (d <= -Long.MAX_VALUE) { setZero(); isOverFlow = true;
private void checkedAddExponent(long offset) { long result = exponent + offset; int expSign = Long.signum(exponent); if (expSign * Long.signum(offset) > 0 && expSign * Long.signum(result) < 0) { exponent = expSign * Long.MAX_VALUE;
private boolean checkedAddExponent(long offset) { double d = exponent; boolean isOverFlow = false; d += offset; if (d >= Long.MAX_VALUE) { setInfinite(); isOverFlow = true; } else if (d <= -Long.MAX_VALUE) { setZero(); isOverFlow = true; } else { exponent += offset; } return isOverFlow; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/371d12883609a89198390aefa2b794e40799c91f/FloatingPointParser.java/clean/modules/luni/src/main/java/org/apache/harmony/luni/util/FloatingPointParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 5950, 986, 17972, 12, 5748, 1384, 13, 288, 3639, 1645, 302, 273, 9100, 31, 3639, 1250, 353, 4851, 5249, 273, 629, 31, 3639, 302, 1011, 1384, 31, 3639, 309, 261, 72, 1545, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 5950, 986, 17972, 12, 5748, 1384, 13, 288, 3639, 1645, 302, 273, 9100, 31, 3639, 1250, 353, 4851, 5249, 273, 629, 31, 3639, 302, 1011, 1384, 31, 3639, 309, 261, 72, 1545, 34...
if (e.widget instanceof CTabItem) { CTabItem item = (CTabItem) e.widget; IPresentablePart part = getPartForTab(item); part.removePropertyListener(childPropertyChangeListener); } }
if (e.widget instanceof CTabItem) { CTabItem item = (CTabItem) e.widget; IPresentablePart part = getPartForTab(item); part.removePropertyListener(childPropertyChangeListener); } }
public void widgetDisposed(DisposeEvent e) { if (e.widget instanceof CTabItem) { CTabItem item = (CTabItem) e.widget; IPresentablePart part = getPartForTab(item); part.removePropertyListener(childPropertyChangeListener); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/38085a8072ad4fd21bad0983f8bc31ac736c9f72/R21EditorStackPresentation.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21EditorStackPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 5411, 309, 261, 73, 18, 6587, 1276, 385, 5661, 1180, 13, 288, 7734, 385, 5661, 1180, 761, 273, 261, 1268, 378, 1180, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 5411, 309, 261, 73, 18, 6587, 1276, 385, 5661, 1180, 13, 288, 7734, 385, 5661, 1180, 761, 273, 261, 1268, 378, 1180, 13,...
final ExpectedTypeVisitor visitor = new ExpectedTypeVisitor(wrappedExp, calculateTypeForComplexReferences);
final ExpectedTypeVisitor visitor = new ExpectedTypeVisitor(wrappedExp, calculateTypeForComplexReferences);
public static PsiType findExpectedType(PsiExpression exp, boolean calculateTypeForComplexReferences){ PsiElement context = exp.getParent(); PsiExpression wrappedExp = exp; while(context != null && context instanceof PsiParenthesizedExpression){ wrappedExp = (PsiExpression) context; context = context.getParent(); } if(context == null){ return null; } final ExpectedTypeVisitor visitor = new ExpectedTypeVisitor(wrappedExp, calculateTypeForComplexReferences); context.accept(visitor); return visitor.getExpectedType(); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/c0407ff2e96433617e2f28044bd6915d154d1cef/ExpectedTypeUtils.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/ExpectedTypeUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 453, 7722, 559, 1104, 6861, 559, 12, 52, 7722, 2300, 1329, 16, 4766, 6647, 1250, 4604, 559, 1290, 12795, 8221, 15329, 3639, 453, 7722, 1046, 819, 273, 1329, 18, 588, 3054, 5621...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 453, 7722, 559, 1104, 6861, 559, 12, 52, 7722, 2300, 1329, 16, 4766, 6647, 1250, 4604, 559, 1290, 12795, 8221, 15329, 3639, 453, 7722, 1046, 819, 273, 1329, 18, 588, 3054, 5621...
if(dialogArea != null) getShell().layout(true);
getShell().layout(true);
private void layoutForNewMessage(){ int verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING); int horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING); if (errorMessage == null) { setImageLabelVisible(false); setLayoutsForNormalMessage(verticalSpacing,horizontalSpacing); } else { messageImageLabel.setImage(errorMsgImage); messageImageLabel.setVisible(true); fillerLabel.setVisible(true); FormData data = new FormData(); data.left = new FormAttachment(0, 0); data.top = new FormAttachment(titleLabel, verticalSpacing); messageImageLabel.setLayoutData(data); data = new FormData(); data.top = new FormAttachment(messageImageLabel, 0); data.left = new FormAttachment(0, 0); data.bottom = new FormAttachment(messageLabel, 0, SWT.BOTTOM); data.right = new FormAttachment(messageImageLabel, 0, SWT.RIGHT); fillerLabel.setLayoutData(data); FormData messageLabelData = new FormData(); messageLabelData.top = new FormAttachment(titleLabel,verticalSpacing); messageLabelData.right = new FormAttachment(titleImage); messageLabelData.left = new FormAttachment(messageImageLabel,0); if(titleImageLargest) messageLabelData.bottom = new FormAttachment(titleImage,0,SWT.BOTTOM); messageLabel.setLayoutData(messageLabelData); } //Do not layout before the dialog area has been created //to avoid incomplete calculations. if(dialogArea != null) getShell().layout(true); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/646e5b2f39c90ae76691f3abe324fd16360140ff/TitleAreaDialog.java/clean/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/dialogs/TitleAreaDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 3511, 1290, 1908, 1079, 1435, 95, 202, 202, 474, 9768, 18006, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 3118, 2226, 1360, 1769, 202, 474, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 3511, 1290, 1908, 1079, 1435, 95, 202, 202, 474, 9768, 18006, 273, 1765, 15704, 8914, 3477, 774, 18079, 12, 734, 3529, 2918, 18, 21654, 10109, 67, 3118, 2226, 1360, 1769, 202, 474, ...
return msCollector.getInitialHeaderValue(bytes);
if (bytes > LOS_SIZE_THRESHOLD) return losSpace.getInitialHeaderValue(bytes); else return msSpace.getInitialHeaderValue();
public static final int getInitialHeaderValue(EXTENT bytes) throws VM_PragmaInline { return msCollector.getInitialHeaderValue(bytes); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/eb203cbb034349ef341b564644dac5533d9f2e13/Plan.java/buggy/rvm/src/vm/memoryManagers/JMTk/plan/copyMS/Plan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 727, 509, 24044, 31229, 12, 4142, 2222, 1731, 13, 565, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 309, 261, 3890, 405, 1806, 55, 67, 4574, 67, 23840, 13, 327, 22148, 3819, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 727, 509, 24044, 31229, 12, 4142, 2222, 1731, 13, 565, 1216, 8251, 67, 2050, 9454, 10870, 288, 565, 309, 261, 3890, 405, 1806, 55, 67, 4574, 67, 23840, 13, 327, 22148, 3819, ...
else pushed = false; return pushed;
MappingRecord map = new MappingRecord(prefix,uri,elemDepth); stack.push(map); m_nodeStack.push(map); return true;
public boolean pushNamespace(String prefix, String uri, int elemDepth) { boolean pushed; // Prefixes "xml" and "xmlns" cannot be redefined if (!prefix.startsWith(XML_PREFIX)) { Stack stack; // Get the stack that contains URIs for the specified prefix if ((stack = getPrefixStack(prefix)) == null) stack = createPrefixStack(prefix); switch (stack.top) { case -1 : pushed = true; // stack is empty, so push the new one on the stack break; case 0 : { // only one thing on the stack, if the new one is the // same prefix/uri mapping as the old one don't push, // but if the uri's differ push it on the stack. MappingRecord pm = (MappingRecord) stack.peek(); if (uri.equals(pm.m_uri)) pushed = false; else pushed = true; } break; default : // 2 or more things on the stack { MappingRecord pm = (MappingRecord) stack.peek(); if (null == pm.m_uri && !uri.equals(EMPTYSTRING) && pm.m_declarationDepth == elemDepth) { // The top of the stack masks shallower mappings and // the new mapping is at the same depth as the masking // and the masked mapping is the same as the new one MappingRecord pm2 = (MappingRecord) stack.peek(stack.top - 1); if (uri.equals(pm2.m_uri)) { // The masked mapping is the same as the new one // so don't push this mapping, but delete the masking // one by popping it off the top // This is an optimization to re-use the ancestors mapping. pushed = false; stack.pop(); } else pushed = true; // the ancestors mapping differs, so push it } else { // The mapping at the top of the stack is not a masking // or is shallower than the new one or the new mapping is // itself not a masking if (uri.equals(pm.m_uri)) { pushed = false; // old and new URI's are the same, don't push // this is an optimization to re-use the ancestors mapping } else pushed = true; // old and new URI's differ, so push } } break; } if (pushed) { MappingRecord namespaceNode = new MappingRecord(prefix, uri, elemDepth); stack.push(namespaceNode); // m_nodeStack.push(new Integer(elemDepth)); m_nodeStack.push(namespaceNode); } } else pushed = false; return pushed; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/25d0f54a5a50920085fe8cc3285ff69d00444e15/NamespaceMappings.java/buggy/src/org/apache/xml/serializer/NamespaceMappings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1817, 3402, 12, 780, 1633, 16, 514, 2003, 16, 509, 3659, 6148, 13, 565, 288, 3639, 1250, 18543, 31, 3639, 368, 10139, 281, 315, 2902, 6, 471, 315, 16741, 6, 2780, 506, 283, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1817, 3402, 12, 780, 1633, 16, 514, 2003, 16, 509, 3659, 6148, 13, 565, 288, 3639, 1250, 18543, 31, 3639, 368, 10139, 281, 315, 2902, 6, 471, 315, 16741, 6, 2780, 506, 283, ...
public void addNavigationActions(IToolBarManager toolBar) {
public void addNavigationActions(IMenuManager manager) {
public void addNavigationActions(IToolBarManager toolBar) { createActions(); toolBar.add(homeAction); toolBar.add(backAction); toolBar.add(forwardAction); updateNavigationButtons();}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5468a1edd56cfcaa9d93679f82ede8fa030e37c7/DrillDownAdapter.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/DrillDownAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 527, 14301, 6100, 12, 45, 6364, 5190, 1318, 5226, 5190, 13, 288, 202, 2640, 6100, 5621, 202, 6738, 5190, 18, 1289, 12, 8712, 1803, 1769, 202, 6738, 5190, 18, 1289, 12, 823, 1803, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 527, 14301, 6100, 12, 45, 6364, 5190, 1318, 5226, 5190, 13, 288, 202, 2640, 6100, 5621, 202, 6738, 5190, 18, 1289, 12, 8712, 1803, 1769, 202, 6738, 5190, 18, 1289, 12, 823, 1803, ...
image.dispose();
JFaceResources.getResources().destroyImage(desc);
public void dispose() { if (image != null) { image.dispose(); image = null; } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/7166d841a2b75a3d2676cd0cb7ac713dbbe9de4d/BookmarkLabelProvider.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/bookmarkexplorer/BookmarkLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 309, 261, 2730, 480, 446, 13, 288, 5411, 804, 11824, 3805, 18, 588, 3805, 7675, 11662, 2040, 12, 5569, 1769, 5411, 1316, 273, 446, 31, 3639, 289, 565, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15825, 1435, 288, 3639, 309, 261, 2730, 480, 446, 13, 288, 5411, 804, 11824, 3805, 18, 588, 3805, 7675, 11662, 2040, 12, 5569, 1769, 5411, 1316, 273, 446, 31, 3639, 289, 565, ...
asm.emitMOV_Reg_RegIdx (S0, S0, T0, asm.BYTE, NO_SLOT);
asm.emitMOV_Reg_RegIdx (S0, S0, T0, VM_Assembler.BYTE, NO_SLOT);
protected final void emit_unresolved_invokevirtual(VM_MethodReference methodRef) { emitDynamicLinkingSequence(T0, methodRef, true); int methodRefparameterWords = methodRef.getParameterWords() + 1; // +1 for "this" parameter Offset objectOffset = Offset.fromIntZeroExtend(methodRefparameterWords << 2).sub(4); // object offset into stack asm.emitMOV_Reg_RegDisp (T1, SP, objectOffset); // S0 has "this" parameter VM_ObjectModel.baselineEmitLoadTIB(asm,S0,T1); asm.emitMOV_Reg_RegIdx (S0, S0, T0, asm.BYTE, NO_SLOT); // S0 has address of virtual method genParameterRegisterLoad(methodRef, true); asm.emitCALL_Reg(S0); // call virtual method genResultRegisterUnload(methodRef); // push return value, if any }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/cb4d5807180265c43e09e55a868066d05d56274a/VM_Compiler.java/clean/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 3626, 67, 318, 11792, 67, 14407, 12384, 12, 7397, 67, 1305, 2404, 707, 1957, 13, 288, 565, 3626, 9791, 2098, 310, 4021, 12, 56, 20, 16, 707, 1957, 16, 638, 1769, 565, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 727, 918, 3626, 67, 318, 11792, 67, 14407, 12384, 12, 7397, 67, 1305, 2404, 707, 1957, 13, 288, 565, 3626, 9791, 2098, 310, 4021, 12, 56, 20, 16, 707, 1957, 16, 638, 1769, 565, ...
catch( NumberFormatException e )
catch (NumberFormatException e)
public boolean updateText( boolean update ) { if( update) { switch( sceneNumber ) { case 0: try { int address = Integer.parseInt(textPointer1Field.getText(), 16); if( rom.length() == 0x400200 ) { //this is just making sure that it won't have an error reading the rom //these values in the bounds should never be used for a pointer =p if( address < AbstractRom.EB_ROM_SIZE_EXPANDED - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } else { if( address < AbstractRom.EB_ROM_SIZE_REGULAR - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } } catch( NumberFormatException e ) { JOptionPane.showMessageDialog( null, "invalid entry for address 1", "error", JOptionPane.ERROR_MESSAGE ); return false; } break; case 1: try { int address = Integer.parseInt(textPointer2Field.getText(), 16); if( rom.length() == 0x400200 ) { //this is just making sure that it won't have an error reading the rom //these values in the bounds should never be used for a pointer =p if( address < AbstractRom.EB_ROM_SIZE_EXPANDED - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } else { if( address < AbstractRom.EB_ROM_SIZE_REGULAR - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } } catch( NumberFormatException e ) { JOptionPane.showMessageDialog( null, "invalid entry for address 1", "error", JOptionPane.ERROR_MESSAGE ); return false; } break; case 2: try { int address = Integer.parseInt(textPointer3Field.getText(), 16); if( rom.length() == 0x400200 ) { //this is just making sure that it won't have an error reading the rom //these values in the bounds should never be used for a pointer =p if( address < AbstractRom.EB_ROM_SIZE_EXPANDED - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } else { if( address < AbstractRom.EB_ROM_SIZE_REGULAR - 1 && address >= 0 ) { textBlock = new Text( address, true ); } else { JOptionPane.showMessageDialog( null, "pointer out of bounds", "error", JOptionPane.ERROR_MESSAGE ); return false; } } } catch( NumberFormatException e ) { JOptionPane.showMessageDialog( null, "invalid entry for address 1", "error", JOptionPane.ERROR_MESSAGE ); return false; } break; } } textBlock.updateGUI(); return true; }
3699 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3699/e3746491678a9f0bdee74ba64d785d53772c8516/FlyoverEditor.java/clean/src/net/starmen/pkhack/eb/FlyoverEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 1089, 1528, 12, 1250, 1089, 262, 3639, 288, 5411, 309, 12, 1089, 13, 5411, 288, 7734, 1620, 12, 9065, 1854, 262, 7734, 288, 10792, 648, 374, 30, 13491, 775, 13491, 288, 18701,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 1089, 1528, 12, 1250, 1089, 262, 3639, 288, 5411, 309, 12, 1089, 13, 5411, 288, 7734, 1620, 12, 9065, 1854, 262, 7734, 288, 10792, 648, 374, 30, 13491, 775, 13491, 288, 18701,...
byte[] note = new byte[96]; in.readFully(note); int level = DataTools.bytesToInt(note, 0, 2, LITTLE_ENDIAN); notes = (note[2] | note[3] | note[4] | note[5]) != 0; int num = DataTools.bytesToInt(note, 6, 2, LITTLE_ENDIAN); int status = DataTools.bytesToInt(note, 8, 2, LITTLE_ENDIAN); int type = DataTools.bytesToInt(note, 10, 2, LITTLE_ENDIAN); int x = DataTools.bytesToInt(note, 12, 2, LITTLE_ENDIAN); int y = DataTools.bytesToInt(note, 14, 2, LITTLE_ENDIAN); String text = new String(note, 16, 80);
int level = in.readShort(); notes = (in.read() | in.read() | in.read() | in.read()) != 0; int num = in.readShort(); int status = in.readShort(); int type = in.readShort(); int x = in.readShort(); int y = in.readShort(); s = new byte[80]; in.read(s); String text = new String(s);
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); in = new RandomAccessStream(id); // read header byte[] header = new byte[76]; in.readFully(header); nx = DataTools.bytesToInt(header, 0, 2, LITTLE_ENDIAN); ny = DataTools.bytesToInt(header, 2, 2, LITTLE_ENDIAN); npic = DataTools.bytesToInt(header, 4, 2, LITTLE_ENDIAN); byteFormat = DataTools.bytesToInt(header, 14, 2, LITTLE_ENDIAN) != 0; int ramp1min = DataTools.bytesToInt(header, 6, 2, LITTLE_ENDIAN); int ramp1max = DataTools.bytesToInt(header, 8, 2, LITTLE_ENDIAN); boolean notes = (header[10] | header[11] | header[12] | header[13]) != 0; int imageNumber = DataTools.bytesToInt(header, 16, 2, LITTLE_ENDIAN); String name = new String(header, 18, 32); int merged = DataTools.bytesToInt(header, 50, 2, LITTLE_ENDIAN); int color1 = DataTools.bytesToInt(header, 52, 2, LITTLE_ENDIAN); int fileId = DataTools.bytesToInt(header, 54, 2, LITTLE_ENDIAN); int ramp2min = DataTools.bytesToInt(header, 56, 2, LITTLE_ENDIAN); int ramp2max = DataTools.bytesToInt(header, 58, 2, LITTLE_ENDIAN); int color2 = DataTools.bytesToInt(header, 60, 2, LITTLE_ENDIAN); int edited = DataTools.bytesToInt(header, 62, 2, LITTLE_ENDIAN); int lens = DataTools.bytesToInt(header, 64, 2, LITTLE_ENDIAN); float magFactor = Float.intBitsToFloat(DataTools.bytesToInt(header, 66, 4, LITTLE_ENDIAN)); // check validity of header if (fileId != PIC_FILE_ID) { throw new FormatException("Invalid file header : " + fileId); } // populate metadata fields metadata.put("nx", new Integer(nx)); metadata.put("ny", new Integer(ny)); metadata.put("npic", new Integer(npic)); metadata.put("ramp1_min", new Integer(ramp1min)); metadata.put("ramp1_max", new Integer(ramp1max)); metadata.put("notes", new Boolean(notes)); metadata.put("byte_format", new Boolean(byteFormat)); metadata.put("image_number", new Integer(imageNumber)); metadata.put("name", name); metadata.put("merged", MERGE_NAMES[merged]); metadata.put("color1", new Integer(color1)); metadata.put("file_id", new Integer(fileId)); metadata.put("ramp2_min", new Integer(ramp2min)); metadata.put("ramp2_max", new Integer(ramp2max)); metadata.put("color2", new Integer(color2)); metadata.put("edited", new Integer(edited)); metadata.put("lens", new Integer(lens)); metadata.put("mag_factor", new Float(magFactor)); // skip image data int imageLen = nx * ny; int bpp = byteFormat ? 1 : 2; in.skipBytes(bpp * npic * imageLen); Vector pixelSize = new Vector(); int sizeZ = npic; int sizeC = 1; int sizeT = 1; // read notes int noteCount = 0; while (notes) { // read in note byte[] note = new byte[96]; in.readFully(note); int level = DataTools.bytesToInt(note, 0, 2, LITTLE_ENDIAN); notes = (note[2] | note[3] | note[4] | note[5]) != 0; int num = DataTools.bytesToInt(note, 6, 2, LITTLE_ENDIAN); int status = DataTools.bytesToInt(note, 8, 2, LITTLE_ENDIAN); int type = DataTools.bytesToInt(note, 10, 2, LITTLE_ENDIAN); int x = DataTools.bytesToInt(note, 12, 2, LITTLE_ENDIAN); int y = DataTools.bytesToInt(note, 14, 2, LITTLE_ENDIAN); String text = new String(note, 16, 80); // add note to list noteCount++; metadata.put("note" + noteCount, noteString(num, level, status, type, x, y, text)); // if the text of the note contains "AXIS", parse the text // more thoroughly (see pg. 21 of the BioRad specs) if (text.indexOf("AXIS") != -1) { // use StringTokenizer to break up the text StringTokenizer st = new StringTokenizer(text); String key = st.nextToken(); String noteType = ""; if (st.hasMoreTokens()) { noteType = st.nextToken(); } int axisType = Integer.parseInt(noteType); Vector params = new Vector(); while (st.hasMoreTokens()) { params.add(st.nextToken()); } if (params.size() > 1) { switch (axisType) { case 1: String dx = (String) params.get(0), dy = (String) params.get(1); metadata.put(key + " distance (X) in microns", dx); metadata.put(key + " distance (Y) in microns", dy); pixelSize.add(dy); break; case 2: metadata.put(key + " time (X) in seconds", params.get(0)); metadata.put(key + " time (Y) in seconds", params.get(1)); sizeZ = 1; sizeT = npic; break; case 3: metadata.put(key + " angle (X) in degrees", params.get(0)); metadata.put(key + " angle (Y) in degrees", params.get(1)); break; case 4: metadata.put(key + " intensity (X)", params.get(0)); metadata.put(key + " intensity (Y)", params.get(1)); break; case 6: metadata.put(key + " ratio (X)", params.get(0)); metadata.put(key + " ratio (Y)", params.get(1)); break; case 7: metadata.put(key + " log ratio (X)", params.get(0)); metadata.put(key + " log ratio (Y)", params.get(1)); break; case 9: metadata.put(key + " noncalibrated intensity min", params.get(0)); metadata.put(key + " noncalibrated intensity max", params.get(1)); metadata.put(key + " calibrated intensity min", params.get(2)); metadata.put(key + " calibrated intensity max", params.get(3)); break; case 11: metadata.put(key + " RGB type (X)", params.get(0)); metadata.put(key + " RGB type (Y)", params.get(1)); break; case 14: metadata.put(key + " time course type (X)", params.get(0)); metadata.put(key + " time course type (Y)", params.get(1)); break; case 15: metadata.put(key + " inverse sigmoid calibrated intensity (min)", params.get(0)); metadata.put(key + " inverse sigmoid calibrated intensity (max)", params.get(1)); metadata.put(key + " inverse sigmoid calibrated intensity (beta)", params.get(2)); metadata.put(key + " inverse sigmoid calibrated intensity (Kd)", params.get(3)); metadata.put(key + " inverse sigmoid calibrated intensity " + "(calibrated max)", params.get(0)); break; case 16: metadata.put(key + " log inverse sigmoid calibrated " + "intensity (min)", params.get(0)); metadata.put(key + " log inverse sigmoid calibrated " + "intensity (max)", params.get(1)); metadata.put(key + " log inverse sigmoid calibrated " + "intensity (beta)", params.get(2)); metadata.put(key + " log inverse sigmoid calibrated " + "intensity (Kd)", params.get(3)); metadata.put(key + " log inverse sigmoid calibrated " + "intensity (calibrated max)", params.get(0)); break; } } } } // read color tables int numLuts = 0; byte[][] lut = new byte[3][768]; boolean eof = false; while (!eof && numLuts < 3) { try { in.readFully(lut[numLuts]); numLuts++; } catch (IOException exc) { eof = true; if (DEBUG) exc.printStackTrace(); } } if (DEBUG && DEBUG_LEVEL >= 2) { System.out.println(numLuts + " color table" + (numLuts == 1 ? "" : "s") + " present."); } // convert color table bytes to floats float[][][] colors = new float[numLuts][3][256]; for (int i=0; i<numLuts; i++) { for (int l=0; l<256; l++) { int qr = 0x000000ff & lut[i][l]; int qg = 0x000000ff & lut[i][l + 256]; int qb = 0x000000ff & lut[i][l + 512]; colors[i][0][l] = (float) qr; colors[i][1][l] = (float) qg; colors[i][2][l] = (float) qb; } } metadata.put("luts", colors); // Populate the metadata store // The metadata store we're working with. MetadataStore store = getMetadataStore(); // populate Image element store.setImage(name, null, null, null); // populate Pixels element int type = DataTools.bytesToInt(header, 14, 2, LITTLE_ENDIAN); String fmt; if (type == 1) fmt = "Uint8"; else fmt = "Uint16"; String dimOrder = "XY"; int[] dims = new int[] {sizeZ, sizeC, sizeT}; int max = 0; int min = Integer.MAX_VALUE; int median = 1; for (int i=0; i<dims.length; i++) { if (dims[i] < min) min = dims[i]; if (dims[i] > max) max = dims[i]; else median = dims[i]; } int[] orderedDims = new int[] {max, median, min}; for (int i=0; i<orderedDims.length; i++) { if (orderedDims[i] == sizeZ && dimOrder.indexOf("Z") == -1) { dimOrder += "Z"; } else if (orderedDims[i] == sizeC && dimOrder.indexOf("C") == -1) { dimOrder += "C"; } else dimOrder += "T"; } nz = sizeZ; nt = sizeT; order = dimOrder; store.setPixels( new Integer(nx), // SizeX new Integer(ny), // SizeY new Integer(sizeZ), // SizeZ new Integer(sizeC), // SizeC new Integer(sizeT), // SizeT fmt, // PixelType null, // BigEndian dimOrder, // DimensionOrder null); // Use index 0 // populate Dimensions element int size = pixelSize.size(); Float pixelSizeX = null, pixelSizeY = null, pixelSizeZ = null; if (size >= 1) pixelSizeX = new Float((String) pixelSize.get(0)); if (size >= 2) pixelSizeY = new Float((String) pixelSize.get(1)); if (size >= 3) pixelSizeZ = new Float((String) pixelSize.get(2)); store.setDimensions(pixelSizeX, pixelSizeY, pixelSizeZ, null, null, null); }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/2df09d33bfdc966378aae0cc09cb503afb983bc2/BioRadReader.java/buggy/loci/formats/in/BioRadReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 316, 273, 394, 8072, 1862, 1228, 12, 350, 1769, 565, 368, 855, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 918, 1208, 812, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 2240, 18, 2738, 812, 12, 350, 1769, 565, 316, 273, 394, 8072, 1862, 1228, 12, 350, 1769, 565, 368, 855, 14...
updateObject(columnIndex, new Boolean(x));
setColValue(columnIndex, Types.BIT, new Boolean(x), 0);
public void updateBoolean(int columnIndex, boolean x) throws SQLException { updateObject(columnIndex, new Boolean(x)); }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/fd720a7b2f23d5cf21777d82aefad654ddc6f1cf/JtdsResultSet.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/JtdsResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 5507, 12, 474, 14882, 16, 1250, 619, 13, 1216, 6483, 288, 3639, 444, 914, 620, 12, 2827, 1016, 16, 7658, 18, 15650, 16, 394, 3411, 12, 92, 3631, 374, 1769, 565, 289, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 5507, 12, 474, 14882, 16, 1250, 619, 13, 1216, 6483, 288, 3639, 444, 914, 620, 12, 2827, 1016, 16, 7658, 18, 15650, 16, 394, 3411, 12, 92, 3631, 374, 1769, 565, 289, ...
int i=0;
public Path calc(Path oP,Stack oldMoveStack,int n) { Path oldPath=oP.getClone(); //Stack all=(Stack)oldMoveStack.clone(); Move move=(Move)oldMoveStack.elementAt(n); int ret=move.doIt(); //all.removeElementAt(n); //i hope allMoveStack won't change in getNewPossible; now clone the MoveStack Stack all=Move.getNewPossible(oldMoveStack,this,move); oldPath.push(move); if(all.empty()) { oldPath.setAssessment( getAssess(ret,oldPath.getSize()) ); move.takeBack(); return oldPath; } Path newPath,retPath; int i=0;//is it better to count from all.size() downstairs? //iter has next cause all is not empty! retPath=calc(oldPath,all,i); for(i=1; i < all.size() && timer.isActive(); i++) { newPath=calc(oldPath,all,i); if(newPath.getAssessment()>retPath.getAssessment()) { retPath=newPath; } } move.takeBack(); return retPath; }//calc
13023 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13023/0afbcb404445c2a471228e0cd9e9573d994848dc/AI.java/clean/trunk/AI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2666, 7029, 12, 743, 320, 52, 16, 2624, 1592, 7607, 2624, 16, 474, 290, 13, 565, 288, 225, 2666, 1592, 743, 33, 83, 52, 18, 588, 10930, 5621, 4202, 368, 2624, 777, 28657, 2624, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2666, 7029, 12, 743, 320, 52, 16, 2624, 1592, 7607, 2624, 16, 474, 290, 13, 565, 288, 225, 2666, 1592, 743, 33, 83, 52, 18, 588, 10930, 5621, 4202, 368, 2624, 777, 28657, 2624, ...
if (parameters != null && parameters.length > 0) {
boolean hasParameters = parameters != null && parameters.length > 0; if (hasParameters) {
private void resultDetail(IResultMap tests, final String style) { if (tests.getAllResults().size() > 0) { int row = 0; for (ITestNGMethod method : getMethodSet(tests)) { row += 1; m_methodIndex += 1; String cname = method.getTestClass().getName(); m_out.println("<a id=\"m" + m_methodIndex + "\"></a><h2>" + cname + ":" + method.getMethodName() + "</h2>"); int rq = 0; Set<ITestResult> resultSet = tests.getResults(method); for (ITestResult ans : resultSet) { rq += 1; Object[] parameters = ans.getParameters(); if (parameters != null && parameters.length > 0) { if (rq == 1) { tableStart("param"); m_out.print("<tr>"); for (int x = 1; x <= parameters.length; x++) { m_out .print("<th style=\"padding-left:1em;padding-right:1em\">Parameter #" + x + "</th>"); } m_out.println("</tr>"); } m_out.print("<tr" + (rq % 2 == 0 ? " class=\"stripe\"" : "") + ">"); for (Object p : parameters) { m_out .println("<td style=\"padding-left:.5em;padding-right:2em\">" + (p != null ? p.toString() : "null") + "</td>"); } m_out.println("</tr>"); } List<String> msgs = Reporter.getOutput(ans); // Note(cbeust) // There are three tests against parameters here, they should probably // be factored into one if (msgs.size() > 0) { String indent = " style=\"padding-left:3em\""; if (parameters != null && parameters.length > 0) { m_out.println("<tr" + (rq % 2 == 0 ? " class=\"stripe\"" : "") + "><td" + indent + " colspan=\"" + parameters.length + "\">"); } else { m_out.println("<div" + indent + ">"); } for (String line : msgs) { m_out.println(line + "<br/>"); } Throwable exception=ans.getThrowable(); if(exception!=null) { boolean wantsMinimalOutput = ans.getStatus()==ITestResult.SUCCESS; m_out.println("<h3>" +(wantsMinimalOutput?"Expected Exception":"Failure") +"</h3>"); generateExceptionReport(exception, wantsMinimalOutput); } if (parameters != null && parameters.length > 0) { m_out.println("</td></tr>"); } else { m_out.println("</div>"); } } if (parameters != null && parameters.length > 0) { if (rq == resultSet.size()) { m_out.println("</table>"); } } } m_out.println("<p class=\"totop\"><a href=\"#summary\">back to summary</a></p>"); } } }
50994 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50994/b140a42f65cc1326841579fb78a93a14a336227b/EmailableReporter.java/buggy/src/main/org/testng/reporters/EmailableReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 563, 6109, 12, 45, 1253, 863, 7434, 16, 727, 514, 2154, 13, 288, 565, 309, 261, 16341, 18, 588, 1595, 3447, 7675, 1467, 1435, 405, 374, 13, 288, 1377, 509, 1027, 273, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 563, 6109, 12, 45, 1253, 863, 7434, 16, 727, 514, 2154, 13, 288, 565, 309, 261, 16341, 18, 588, 1595, 3447, 7675, 1467, 1435, 405, 374, 13, 288, 1377, 509, 1027, 273, 374, ...
protected void removeChildProperty(QName propName) throws RepositoryException { NodeState thisState = (NodeState) getOrCreateTransientItemState(); PropertyId propId = new PropertyId(thisState.getUUID(), propName); itemMgr.removeItem(propId); if (!thisState.removePropertyEntry(propName)) { String msg = "failed to remove property " + propName + " of " + safeGetJCRPath(); log.error(msg); throw new RepositoryException(msg);
protected void removeChildProperty(String propName) throws RepositoryException { QName qName; try { qName = QName.fromJCRName(propName, session.getNamespaceResolver()); } catch (IllegalNameException ine) { throw new RepositoryException("invalid property name: " + propName, ine); } catch (UnknownPrefixException upe) { throw new RepositoryException("invalid property name: " + propName, upe);
protected void removeChildProperty(QName propName) throws RepositoryException { // modify the state of 'this', i.e. the parent node NodeState thisState = (NodeState) getOrCreateTransientItemState(); // remove property PropertyId propId = new PropertyId(thisState.getUUID(), propName); itemMgr.removeItem(propId); // remove the property entry if (!thisState.removePropertyEntry(propName)) { String msg = "failed to remove property " + propName + " of " + safeGetJCRPath(); log.error(msg); throw new RepositoryException(msg); } }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/9c877bd5e5301a28846412aecab609bd71230334/NodeImpl.java/clean/src/java/org/apache/jackrabbit/core/NodeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 14213, 1396, 12, 13688, 9994, 13, 1216, 13367, 288, 3639, 368, 5612, 326, 919, 434, 296, 2211, 2187, 277, 18, 73, 18, 326, 982, 756, 3639, 2029, 1119, 333, 1119, 273, 261, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14213, 1396, 12, 13688, 9994, 13, 1216, 13367, 288, 3639, 368, 5612, 326, 919, 434, 296, 2211, 2187, 277, 18, 73, 18, 326, 982, 756, 3639, 2029, 1119, 333, 1119, 273, 261, 90...
return name; }
return name; }
public String getName() { return name; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3279f9ee627395987c83d5afb83dde8cc8c3e61c/ConfigurationElementModel.java/buggy/core/src/core/org/jnode/plugin/model/ConfigurationElementModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1723, 1435, 288, 202, 202, 2463, 508, 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...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1723, 1435, 288, 202, 202, 2463, 508, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
typeInfo.fParticle = getErrorContent();
typeInfo.fParticle = getErrorContent();
private void handleComplexTypeError(String messageId,Object[] args, XSComplexTypeDecl typeInfo) { if (messageId!=null) { reportSchemaError(messageId, args); } // // Mock up the typeInfo structure so that there won't be problems during // validation // typeInfo.fContentType = XSComplexTypeDecl.CONTENTTYPE_MIXED; typeInfo.fParticle = getErrorContent(); // REVISIT - do we need to create a template element? return; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/7d23b0f822620b832b611e0946e73bb880886a98/XSDComplexTypeTraverser.java/clean/src/org/apache/xerces/impl/v2/XSDComplexTypeTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 12795, 19030, 12, 780, 19090, 16, 921, 8526, 833, 16, 4766, 3639, 1139, 55, 12795, 559, 3456, 23112, 13, 288, 540, 309, 261, 2150, 548, 5, 33, 2011, 13, 288, 1850, 2605...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1640, 12795, 19030, 12, 780, 19090, 16, 921, 8526, 833, 16, 4766, 3639, 1139, 55, 12795, 559, 3456, 23112, 13, 288, 540, 309, 261, 2150, 548, 5, 33, 2011, 13, 288, 1850, 2605...
/* * Stop the image cleaner thread, clear all of the weak references and * dispose of all of the images. */
public final void dispose() { // Clean up the missing image. if ((missingImage != null) && (!missingImage.isDisposed())) { missingImage.dispose(); missingImage = null; } /* * Stop the image cleaner thread, clear all of the weak references and * dispose of all of the images. */ imageCleaner.stopCleaning(); final Iterator imageItr = imageMap.entrySet().iterator(); while (imageItr.hasNext()) { final Map.Entry entry = (Map.Entry) imageItr.next(); final WeakReference reference = (WeakReference) entry.getKey(); reference.clear(); final Image image = (Image) entry.getValue(); if ((image != null) && (!image.isDisposed())) { image.dispose(); } } imageMap.clear(); /* * Stop the greyed image cleaner thread, clear all of the weak * references and dispose of all of the greyed images. */ greyCleaner.stopCleaning(); final Iterator greyItr = greyMap.entrySet().iterator(); while (greyItr.hasNext()) { final Map.Entry entry = (Map.Entry) greyItr.next(); final WeakReference reference = (WeakReference) entry.getKey(); reference.clear(); final Image image = (Image) entry.getValue(); if ((image != null) && (!image.isDisposed())) { image.dispose(); } } greyMap.clear(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/19835f0ad661dc177052f35f736a029157d6940a/ImageCache.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ImageCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 15825, 1435, 288, 202, 202, 759, 9645, 731, 326, 3315, 1316, 18, 202, 202, 430, 14015, 7337, 2040, 480, 446, 13, 597, 16051, 7337, 2040, 18, 291, 1669, 7423, 1435, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 15825, 1435, 288, 202, 202, 759, 9645, 731, 326, 3315, 1316, 18, 202, 202, 430, 14015, 7337, 2040, 480, 446, 13, 597, 16051, 7337, 2040, 18, 291, 1669, 7423, 1435, 3...
public static void main(String[] args) { try { //System.err.println("entered main"); splashScreen = new SplashScreen("Initialising. Please wait...", 20); splashScreen.incProgress(); Browser f = new Browser(WIDTH, HEIGHT); f.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); if (args.length > 0 && args[0] != null) if (args[0].equals("-standalone") || f.workOffline() ) { f.standAlone = true; f.chooseNewLocalCorpus(); //f.dictionary = new Dictionary(); } else f.SERVER = args[0]; // SL: all this needs to be revamped to allow user to choose which // corpus server(s) to connect to. else if ( f.workOffline() ) if ( f.clProperties.getProperty("last.index.dir") == null) f.chooseNewLocalCorpus(); else f.setLocalCorpus(f.clProperties.getProperty("last.index.dir")); else if ( f.clProperties.getProperty("tec.client.server") != null ) f.SERVER = f.clProperties.getProperty("tec.client.server"); f.HEDBAS = "http://"+f.SERVER+"/tec/headers"; if ( f.clProperties.getProperty("tec.client.headers") != null ) f.HEDBAS = f.clProperties.getProperty("tec.client.headers"); //f.show(); if ( f.clProperties.getProperty("tec.client.port") != null ) f.PORTNUM = new Integer(f.clProperties.getProperty("tec.client.port")).intValue(); //f.setAdvSearchOptions(); f.pack(); splashScreen.dismiss(); f.setVisible(true); f.noApplet = true; //System.err.println("SERVER="+f.SERVER+" PORT="+f.PORTNUM+"\nHEADERS="+f.HEDBAS); } catch (Exception e){ System.err.println(e+" Usage: Browser HOSTNAME\n See also client.properties"); e.printStackTrace(); System.exit(1); }}
55997 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55997/d9c398b6a96694293062ede8d2a45ea00b897817/Browser.java/clean/trunk/src/modnlp/tec/client/Browser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 775, 288, 1377, 368, 3163, 18, 370, 18, 8222, 2932, 2328, 329, 2774, 8863, 1377, 6121, 961, 7956, 273, 394, 29356, 7956, 2932, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 565, 775, 288, 1377, 368, 3163, 18, 370, 18, 8222, 2932, 2328, 329, 2774, 8863, 1377, 6121, 961, 7956, 273, 394, 29356, 7956, 2932, 44...
String script = "function g() { var x = 'local'; return f(); }" + "java.lang.System.out.println(g());"; t[i] = new Thread(new PerThread(scope, script,
String source2 = "" +"function g() { var x = 'local'; return f(); }\n" +"java.lang.System.out.println(g());\n" +"function g2() { var x = 'local'; return closure(); }\n" +"java.lang.System.out.println(g2());\n" +""; t[i] = new Thread(new PerThread(sharedScope, source2,
static void runScripts(Context cx) throws JavaScriptException { // Initialize the standard objects (Object, Function, etc.) // This must be done before scripts can be executed. The call // returns a new scope that we will share. ScriptableObject scope = cx.initStandardObjects(null, true); // Now we can evaluate a script and functions will be compiled to // use dynamic scope if the Context is so initialized. String source = "var x = 'sharedScope';" + "function f() { return x; }"; cx.evaluateString(scope, source, "MySource", 1, null); // Now we spawn some threads that execute a script that calls the // function 'f'. The scope chain looks like this: // <pre> // ------------------ // | shared scope | // ------------------ // ^ // | // ------------------ // | per-thread scope | // ------------------ // ^ // | // ------------------ // | f's activation | // ------------------ // </pre> // Both the shared scope and the per-thread scope have variables 'x' // defined in them. If 'f' is compiled with dynamic scope enabled, // the 'x' from the per-thread scope will be used. Otherwise, the 'x' // from the shared scope will be used. The 'x' defined in 'g' (which // calls 'f') should not be seen by 'f'. final int threadCount = 3; Thread[] t = new Thread[threadCount]; for (int i=0; i < threadCount; i++) { String script = "function g() { var x = 'local'; return f(); }" + "java.lang.System.out.println(g());"; t[i] = new Thread(new PerThread(scope, script, "thread" + i)); } for (int i=0; i < threadCount; i++) t[i].start(); // Don't return in this thread until all the spawned threads have // completed. for (int i=0; i < threadCount; i++) { try { t[i].join(); } catch (InterruptedException e) { } } }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/8f793c397ef394e598a4b771d5b4396a8355dfd4/DynamicScopes.java/clean/js/rhino/examples/DynamicScopes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1086, 15041, 12, 1042, 9494, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 368, 9190, 326, 4529, 2184, 261, 921, 16, 4284, 16, 5527, 12998, 3639, 368, 1220, 1297, 506, 2731, 1865,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1086, 15041, 12, 1042, 9494, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 368, 9190, 326, 4529, 2184, 261, 921, 16, 4284, 16, 5527, 12998, 3639, 368, 1220, 1297, 506, 2731, 1865,...
int index = lastIndexOf(aArray, aElement);
long index = lastIndexOf(aArray, aElement);
static void removeLastElement(nsIMutableArray aArray, nsISupports aElement) { int index = lastIndexOf(aArray, aElement); aArray.removeElementAt(index); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/d75b5fa3ebb3cea48e4dbfe9f2bd6032c0e1143c/TestArray.java/buggy/extensions/java/xpcom/tests/TestArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 1206, 3024, 1046, 12, 2387, 3445, 3050, 1076, 279, 1076, 16, 3153, 45, 27878, 279, 1046, 13, 225, 288, 565, 1525, 770, 273, 9550, 12, 69, 1076, 16, 279, 1046, 1769, 565, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 918, 1206, 3024, 1046, 12, 2387, 3445, 3050, 1076, 279, 1076, 16, 3153, 45, 27878, 279, 1046, 13, 225, 288, 565, 1525, 770, 273, 9550, 12, 69, 1076, 16, 279, 1046, 1769, 565, 279, ...
evaluator = new Evaluator(db); cmdLine = new EvalTextArea(db);
evaluator = new Evaluator(debugGui); cmdLine = new EvalTextArea(debugGui);
ContextWindow(Main db) { super(); this.db = db; enabled = false; JPanel left = new JPanel(); JToolBar t1 = new JToolBar(); t1.setName("Variables"); t1.setLayout(new GridLayout()); t1.add(left); JPanel p1 = new JPanel(); p1.setLayout(new GridLayout()); JPanel p2 = new JPanel(); p2.setLayout(new GridLayout()); p1.add(t1); JLabel label = new JLabel("Context:"); context = new JComboBox(); context.setLightWeightPopupEnabled(false); toolTips = new java.util.Vector(); label.setBorder(context.getBorder()); context.addActionListener(this); context.setActionCommand("ContextSwitch"); GridBagLayout layout = new GridBagLayout(); left.setLayout(layout); GridBagConstraints lc = new GridBagConstraints(); lc.insets.left = 5; lc.anchor = GridBagConstraints.WEST; lc.ipadx = 5; layout.setConstraints(label, lc); left.add(label); GridBagConstraints c = new GridBagConstraints(); c.gridwidth = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.HORIZONTAL; c.anchor = GridBagConstraints.WEST; layout.setConstraints(context, c); left.add(context); tabs = new JTabbedPane(SwingConstants.BOTTOM); tabs.setPreferredSize(new Dimension(500,300)); thisTable = new MyTreeTable(new AbstractTreeTableModel(new DefaultMutableTreeNode()) { public Object getChild(Object parent, int index) { return null; } public int getChildCount(Object parent) { return 0; } public int getColumnCount() { //return 3; return 2; } public String getColumnName(int column) { switch (column) { case 0: return " Name"; case 1: //return "Type"; //case 2: return " Value"; } return null; } public Object getValueAt(Object node, int column) { return null; } }); JScrollPane jsp = new JScrollPane(thisTable); jsp.getViewport().setViewSize(new Dimension(5,2)); tabs.add("this", jsp); localsTable = new MyTreeTable(new AbstractTreeTableModel(new DefaultMutableTreeNode()) { public Object getChild(Object parent, int index) { return null; } public int getChildCount(Object parent) { return 0; } public int getColumnCount() { return 2; } public String getColumnName(int column) { switch (column) { case 0: return " Name"; case 1: return " Value"; } return null; } public Object getValueAt(Object node, int column) { return null; } }); localsTable.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS); localsTable.setPreferredSize(null); jsp = new JScrollPane(localsTable); tabs.add("Locals", jsp); c.weightx = c.weighty = 1; c.gridheight = GridBagConstraints.REMAINDER; c.fill = GridBagConstraints.BOTH; c.anchor = GridBagConstraints.WEST; layout.setConstraints(tabs, c); left.add(tabs); evaluator = new Evaluator(db); cmdLine = new EvalTextArea(db); //cmdLine.requestFocus(); tableModel = evaluator.tableModel; jsp = new JScrollPane(evaluator); JToolBar t2 = new JToolBar(); t2.setName("Evaluate"); tabs2 = new JTabbedPane(SwingConstants.BOTTOM); tabs2.add("Watch", jsp); tabs2.add("Evaluate", new JScrollPane(cmdLine)); tabs2.setPreferredSize(new Dimension(500,300)); t2.setLayout(new GridLayout()); t2.add(tabs2); p2.add(t2); evaluator.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS); split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, p1, p2); split.setOneTouchExpandable(true); Main.setResizeWeight(split, 0.5); setLayout(new BorderLayout()); add(split, BorderLayout.CENTER); final JToolBar finalT1 = t1; final JToolBar finalT2 = t2; final JPanel finalP1 = p1; final JPanel finalP2 = p2; final JSplitPane finalSplit = split; final JPanel finalThis = this; final Main finalDb = db; ComponentListener clistener = new ComponentListener() { boolean t1Docked = true; boolean t2Docked = true; void check(Component comp) { Component thisParent = finalThis.getParent(); if (thisParent == null) { return; } Component parent = finalT1.getParent(); boolean leftDocked = true; boolean rightDocked = true; boolean adjustVerticalSplit = false; if (parent != null) { if (parent != finalP1) { while (!(parent instanceof JFrame)) { parent = parent.getParent(); } JFrame frame = (JFrame)parent; finalDb.addTopLevel("Variables", frame); // We need the following hacks because: // - We want an undocked toolbar to be // resizable. // - We are using JToolbar as a container of a // JComboBox. Without this JComboBox's popup // can get left floating when the toolbar is // re-docked. // // We make the frame resizable and then // remove JToolbar's window listener // and insert one of our own that first ensures // the JComboBox's popup window is closed // and then calls JToolbar's window listener. if (!frame.isResizable()) { frame.setResizable(true); frame.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); final EventListener[] l = frame.getListeners(WindowListener.class); frame.removeWindowListener((WindowListener)l[0]); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { context.hidePopup(); ((WindowListener)l[0]).windowClosing(e); } }); //adjustVerticalSplit = true; } leftDocked = false; } else { leftDocked = true; } } parent = finalT2.getParent(); if (parent != null) { if (parent != finalP2) { while (!(parent instanceof JFrame)) { parent = parent.getParent(); } JFrame frame = (JFrame)parent; finalDb.addTopLevel("Evaluate", frame); frame.setResizable(true); rightDocked = false; } else { rightDocked = true; } } if (leftDocked && t2Docked && rightDocked && t2Docked) { // no change return; } t1Docked = leftDocked; t2Docked = rightDocked; JSplitPane split = (JSplitPane)thisParent; if (leftDocked) { if (rightDocked) { finalSplit.setDividerLocation(0.5); } else { finalSplit.setDividerLocation(1.0); } if (adjustVerticalSplit) { split.setDividerLocation(0.66); } } else if (rightDocked) { finalSplit.setDividerLocation(0.0); split.setDividerLocation(0.66); } else { // both undocked split.setDividerLocation(1.0); } } public void componentHidden(ComponentEvent e) { check(e.getComponent()); } public void componentMoved(ComponentEvent e) { check(e.getComponent()); } public void componentResized(ComponentEvent e) { check(e.getComponent()); } public void componentShown(ComponentEvent e) { check(e.getComponent()); } }; p1.addContainerListener(new ContainerListener() { public void componentAdded(ContainerEvent e) { Component thisParent = finalThis.getParent(); JSplitPane split = (JSplitPane)thisParent; if (e.getChild() == finalT1) { if (finalT2.getParent() == finalP2) { // both docked finalSplit.setDividerLocation(0.5); } else { // left docked only finalSplit.setDividerLocation(1.0); } split.setDividerLocation(0.66); } } public void componentRemoved(ContainerEvent e) { Component thisParent = finalThis.getParent(); JSplitPane split = (JSplitPane)thisParent; if (e.getChild() == finalT1) { if (finalT2.getParent() == finalP2) { // right docked only finalSplit.setDividerLocation(0.0); split.setDividerLocation(0.66); } else { // both undocked split.setDividerLocation(1.0); } } } }); t1.addComponentListener(clistener); t2.addComponentListener(clistener); disable(); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/7ceadc8e69bfcf427fd421373c750f8de120f15c/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1772, 3829, 12, 6376, 1319, 13, 288, 3639, 2240, 5621, 3639, 333, 18, 1966, 273, 1319, 31, 3639, 3696, 273, 629, 31, 3639, 24048, 2002, 273, 394, 24048, 5621, 3639, 804, 6364, 5190, 268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1772, 3829, 12, 6376, 1319, 13, 288, 3639, 2240, 5621, 3639, 333, 18, 1966, 273, 1319, 31, 3639, 3696, 273, 629, 31, 3639, 24048, 2002, 273, 394, 24048, 5621, 3639, 804, 6364, 5190, 268, ...
command += "password=" + password;
if (parameters.length() != 0) { command += "password=" + password + "&" + parameters; } else { command += "password=" + password; }
public void reload(String parameters, boolean throwWebSiteNotFoundException) throws Exception { String xmlData = null; try { String command = xmlCommand + "?"; if (parameters.indexOf("mode=zip") == -1) { command += zipMode; } if (parameters.length() != 0) { command += "password=" + password + "&" + parameters; } else { command += "password=" + password; } xmlData = HtmlLoader.getHtmlXMLContent(host, HtmlLoader.GET, command); if (xmlData.length() == 0) { throw new IllegalArgumentException(); } } catch (WebSiteNotFoundException ex) { if (throwWebSiteNotFoundException) { throw ex; } else { return; } } DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); try { DocumentBuilder builder = factory.newDocumentBuilder(); document = builder.parse(new InputSource(new StringReader(xmlData))); } catch (Exception e) { Exception x = e; if (e.getClass() == SAXException.class) { if ( ( (SAXException) e).getException() != null) { x = ( (SAXException) e).getException(); } } if (getClass() == DownloadPartListXMLHolder.class || getClass() == UserPartListXMLHolder.class) { throw new PartlistException(); } else if (logger.isEnabledFor(Level.ERROR)) { String zeit = Long.toString(System.currentTimeMillis()); String path = System.getProperty("user.dir") + File.separator + "logs"; File aFile = new File(path); if (!aFile.exists()) { aFile.mkdir(); } FileWriter fileWriter = null; String dateiname = path + File.separator + zeit + ".exc"; try { fileWriter = new FileWriter(dateiname); fileWriter.write(xmlData); fileWriter.close(); } catch (IOException ioE) { logger.error(ioE); } logger.error("Unbehandelte SAX-Exception -> Inhalt in " + dateiname, x); } } }
13641 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13641/d7d204e3b94d86e503131f03a64c324313b9937c/WebXMLParser.java/clean/AJClientGUI/src/de/applejuicenet/client/gui/controller/WebXMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7749, 12, 780, 1472, 16, 1250, 604, 4079, 4956, 3990, 13, 1216, 3639, 1185, 288, 3639, 514, 2025, 751, 273, 446, 31, 3639, 775, 288, 5411, 514, 1296, 273, 2025, 2189, 397, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7749, 12, 780, 1472, 16, 1250, 604, 4079, 4956, 3990, 13, 1216, 3639, 1185, 288, 3639, 514, 2025, 751, 273, 446, 31, 3639, 775, 288, 5411, 514, 1296, 273, 2025, 2189, 397, 13...
jsFunction_getYear());
jsFunction_getYear(cx));
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_UTC: return wrap_double (jsStaticFunction_UTC(cx, thisObj, args, f)); case ConstructorId_parse: return wrap_double (jsStaticFunction_parse(ScriptRuntime.toString(args, 0))); case CONSTRUCTOR_ID: return jsConstructor(cx, args, f, thisObj == null); case Id_toString: return realThis(thisObj, f, true). jsFunction_toString(); case Id_toTimeString: return realThis(thisObj, f, true). jsFunction_toTimeString(); case Id_toDateString: return realThis(thisObj, f, true). jsFunction_toDateString(); case Id_toLocaleString: return realThis(thisObj, f, true). jsFunction_toLocaleString(); case Id_toLocaleTimeString: return realThis(thisObj, f, true). jsFunction_toLocaleTimeString(); case Id_toLocaleDateString: return realThis(thisObj, f, true). jsFunction_toLocaleDateString(); case Id_toUTCString: return realThis(thisObj, f, true). jsFunction_toUTCString(); case Id_valueOf: return wrap_double(realThis(thisObj, f, true). jsFunction_valueOf()); case Id_getTime: return wrap_double(realThis(thisObj, f, true). jsFunction_getTime()); case Id_getYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getYear()); case Id_getFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getFullYear()); case Id_getUTCFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCFullYear()); case Id_getMonth: return wrap_double(realThis(thisObj, f, true). jsFunction_getMonth()); case Id_getUTCMonth: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMonth()); case Id_getDate: return wrap_double(realThis(thisObj, f, true). jsFunction_getDate()); case Id_getUTCDate: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCDate()); case Id_getDay: return wrap_double(realThis(thisObj, f, true). jsFunction_getDay()); case Id_getUTCDay: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCDay()); case Id_getHours: return wrap_double(realThis(thisObj, f, true). jsFunction_getHours()); case Id_getUTCHours: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCHours()); case Id_getMinutes: return wrap_double(realThis(thisObj, f, true). jsFunction_getMinutes()); case Id_getUTCMinutes: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMinutes()); case Id_getSeconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getSeconds()); case Id_getUTCSeconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCSeconds()); case Id_getMilliseconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getMilliseconds()); case Id_getUTCMilliseconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMilliseconds()); case Id_getTimezoneOffset: return wrap_double(realThis(thisObj, f, true). jsFunction_getTimezoneOffset()); case Id_setTime: return wrap_double(realThis(thisObj, f, true). jsFunction_setTime(ScriptRuntime.toNumber(args, 0))); case Id_setMilliseconds: return wrap_double (jsFunction_setMilliseconds(cx, thisObj, args, f)); case Id_setUTCMilliseconds: return wrap_double( jsFunction_setUTCMilliseconds(cx, thisObj, args, f)); case Id_setSeconds: return wrap_double( jsFunction_setSeconds(cx, thisObj, args, f)); case Id_setUTCSeconds: return wrap_double( jsFunction_setUTCSeconds(cx, thisObj, args, f)); case Id_setMinutes: return wrap_double( jsFunction_setMinutes(cx, thisObj, args, f)); case Id_setUTCMinutes: return wrap_double( jsFunction_setUTCMinutes(cx, thisObj, args, f)); case Id_setHours: return wrap_double( jsFunction_setHours(cx, thisObj, args, f)); case Id_setUTCHours: return wrap_double( jsFunction_setUTCHours(cx, thisObj, args, f)); case Id_setDate: return wrap_double( jsFunction_setDate(cx, thisObj, args, f)); case Id_setUTCDate: return wrap_double( jsFunction_setUTCDate(cx, thisObj, args, f)); case Id_setMonth: return wrap_double( jsFunction_setMonth(cx, thisObj, args, f)); case Id_setUTCMonth: return wrap_double( jsFunction_setUTCMonth(cx, thisObj, args, f)); case Id_setFullYear: return wrap_double( jsFunction_setFullYear(cx, thisObj, args, f)); case Id_setUTCFullYear: return wrap_double( jsFunction_setUTCFullYear(cx, thisObj, args, f)); case Id_setYear: return wrap_double(realThis(thisObj, f, true). jsFunction_setYear(ScriptRuntime.toNumber(args, 0))); } return Scriptable.NOT_FOUND; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/5af1999afa2517f3fdd455bd42c304be785b5b59/NativeDate.java/buggy/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, ...
335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, -1, -1, -1, 356, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, 304, -1, -1, 307, 308, 309, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 335, -1, -1, -1, -1, -1, -1, -1, -1, 344, 345, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125,
335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, 124, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294,
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 15, 16, 6, 21, 19, 378, 341, 375, 38, 247, 6, 7, 15, 16, 392, 7, 19, 27, 15, 16, 21, 124, 19, 43, 44, 2, 370, 50, 48, 49, 58, 27, 398, 368, 49, 27, 15, 16, 58, 59, 19, 10, 11, 32, 312, 48, 71, 51, 10, 261, 11, 386, 49, 10, 105, 51, 44, 4, 5, 340, 93, 342, 343, 344, 46, 410, 401, 14, 10, 46, 522, 523, 312, 46, 10, 10, 94, 10, 46, 41, 693, 10, 100, 10, 46, 10, 354, 10, 369, 46, 46, 123, 125, 94, 38, 113, 46, 442, 42, 41, 693, 40, 695, 50, 385, 41, 387, 3, 10, 91, 71, 10, 41, 308, 354, 44, 451, 44, 10, 10, 41, 402, 32, 91, 41, 10, 59, 10, 46, 106, 10, 58, 59, 58, 59, 91, 59, 349, 10, 41, 61, 91, 44, 90, 61, 40, 0, 108, 40, 46, 431, 287, 46, 46, 46, 291, 10, 59, 46, 44, 59, 10, 40, 46, 44, 10, 58, 59, 59, 41, 10, 452, 37, 91, 41, 58, 59, 42, 43, 101, 45, 37, 47, 123, 123, 10, 42, 59, 10, 10, 10, 47, 347, 218, 91, 563, 200, 46, 91, 91, 40, 545, 125, 124, 200, 59, 46, 282, 91, 58, 59, 231, 232, 233, 10, 32, 829, 590, 58, 59, 337, 565, 44, 326, 244, 46, 246, 247, 269, 244, 271, 246, 247, 58, 59, 61, 829, 58, 59, 59, 10, 244, 91, 246, 247, 44, 266, 244, 280, 246, 247, 91, 61, 222, 223, 337, 37, 218, 348, 44, 44, 42, 43, 59, 45, 244, 47, 246, 247, 262, 91, 41, 44, 38, 46, 40, 61, 42, 304, 256, 264, 10, 308, 123, 261, 737, 738, 377, 261, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 345, 367, 345, 346, 91, 348, 341, 308, 312, 352, 345, 346, 350, 348, 465, 59, 264, 352, 302, 303, 304, 305, 337, 341, 124, 267, 280, 267, 265, 340, 267, 627, 628, 368, 346, 338, 348, 124, 335, 240, 290, 291, 377, 279, 725, 304, 290, 291, 352, 353, 368, 386, 335, 388, 389, 390, 367, 349, 335, 394, 267, 349, 595, 335, 335, 377, 401, 727, 386, 267, 335, 406, 407, 733, 385, 410, 38, 407, 631, 414, 42, 10, 394, 401, 414, 344, 345, 363, 350, 400, 301, 383, 427, 776, 338, 306, 338, 432, 338, 391, 425, 393, 335, 267, 439, 61, 799, 442, 290, 291, 445, 799, 267, 772, 425, 10, 451, 46, 425, 430, 414, 397, 398, 335, 10, 280, 335, 335, 335, 58, 59, 267, 335, 451, 469, 470, 428, 335, 318, 450, 665, 281, 2, 3, 4, 5, 671, 318, 8, 9, 10, 11, 10, 264, 14, 15, 16, 59, 269, 19, 271, 337, 91, 58, 59, 41, 26, 826, 44, 308, 703, 335, 58, 59, 44, 269, 46, 271, 511, 279, 335, 418, 419, 41, 834, 61, 46, 47, 48, 849, 50, 526, 279, 279, 41, 511, 338, 306, 58, 335, 437, 59, 518, 404, 313, 314, 522, 523, 570, 571, 312, 269, 44, 271, 61, 548, 44, 877, 262, 263, 264, 91, 318, 10, 304, 269, 10, 307, 308, 309, 90, 269, 40, 271, 10, 554, 123, 333, 334, 835, 318, 263, 264, 554, 104, 337, 106, 269, 335, 574, 352, 353, 354, 40, 124, 41, 40, 93, 593, 46, 544, 794, 46, 574, 344, 345, 542, 574, 310, 311, 41, 58, 59, 125, 58, 59, 611, 124, 290, 291, 615, 10, 58, 59, 619, 10, 354, 579, 268, 269, 566, 269, 37, 38, 272, 273, 631, 42, 43, 308, 45, 631, 47, 354, 91, 318, 641, 91, 318, 506, 507, 310, 311, 631, 44, 10, 553, 263, 264, 662, 655, 10, 343, 607, 667, 668, 657, 662, 663, 41, 59, 60, 667, 668, 59, 269, 123, 267, 267, 123, 53, 54, 304, 678, 679, 307, 308, 309, 271, 61, 264, 44, 41, 40, 689, 44, 648, 44, 41, 46, 41, 125, 222, 223, 59, 44, 658, 40, 660, 661, 59, 44, 267, 46, 41, 41, 337, 712, 337, 714, 715, 267, 344, 345, 244, 720, 246, 247, 44, 32, 46, 16, 727, 93, 19, 657, 256, 732, 733, 337, 337, 261, 732, 44, 91, 41, 335, 683, 93, 279, 264, 61, 124, 614, 706, 10, 44, 44, 91, 762, 732, 783, 784, 624, 786, 709, 10, 762, 44, 721, 722, 723, 279, 304, 769, 91, 123, 124, 732, 304, 702, 301, 302, 303, 304, 305, 306, 307, 308, 725, 123, 124, 41, 690, 38, 44, 40, 46, 42, 338, 263, 796, 46, 798, 59, 335, 264, 264, 124, 804, 337, 93, 61, 808, 337, 59, 337, 812, 44, 771, 267, 341, 93, 267, 681, 345, 346, 44, 348, 349, 350, 267, 352, 280, 856, 345, 280, 44, 41, 834, 792, 41, 91, 41, 741, 41, 0, 744, 368, 264, 370, 371, 847, 125, 849, 93, 834, 847, 61, 337, 41, 264, 833, 383, 264, 726, 386, 256, 729, 730, 337, 391, 867, 393, 869, 124, 264, 41, 125, 264, 264, 401, 877, 268, 269, 837, 881, 41, 335, 124, 41, 335, 844, 40, 414, 37, 38, 44, 264, 46, 42, 43, 125, 45, 44, 47, 308, 279, 428, 264, 2, 3, 264, 318, 269, 44, 8, 9, 10, 11, 264, 124, 44, 15, 16, 41, 125, 19, 333, 334, 264, 451, 279, 280, 26, 264, 93, 44, 312, 2, 3, 4, 5, 264, 91, 8, 279, 280, 93, 810, 811, 14, 94, 125, 46, 47, 48, 40, 271, 244, 41, 246, 247, 279, 41, 93, 58, 93, 41, 40, 125, 125, 93, 44, 264, 46, 123, 124, 352, 353, 354, 125, 124, 46, 845, 846, 41, 50, 335, 61, 851, 41, 312, 5, 44, 312, 46, 44, 312, 46, 40, 41, 335, 6, 44, 563, 46, 868, 263, 264, 776, 61, 104, 863, 106, 876, 657, 78, 879, 335, 91, 61, 883, 90, 544, 545, 312, 90, 836, 49, 279, 695, 352, 353, 354, 352, 353, 354, 352, 353, 354, 91, 695, 106, 91, 565, 2, 3, 4, 5, 6, 91, 8, 124, 306, 307, 71, 309, 14, 579, 304, 313, 314, 307, 308, 309, 352, 353, 354, 293, 294, 295, 296, 297, 124, -1, 279, 124, 312, 2, 3, 315, -1, 123, 124, 8, 335, 607, -1, -1, 46, 335, -1, -1, 50, -1, -1, 247, -1, -1, 344, 345, -1, -1, -1, -1, -1, -1, 262, 263, 264, 631, -1, 633, 268, 269, -1, 271, 352, 353, -1, -1, -1, 46, -1, -1, -1, -1, 648, -1, 222, 223, 279, 280, 90, -1, -1, 657, 658, -1, 660, 661, 662, -1, -1, -1, -1, 667, 668, -1, 106, -1, 244, -1, 246, 247, -1, -1, -1, -1, -1, -1, -1, -1, 256, -1, 40, 41, -1, 261, 44, -1, 46, -1, -1, -1, 318, -1, -1, -1, -1, -1, 702, 106, -1, -1, 706, 61, 335, 709, -1, 333, 334, 256, -1, -1, -1, -1, 261, -1, -1, 721, 722, 723, -1, -1, -1, -1, 279, 301, 302, 303, 304, 305, 306, 307, 308, 91, -1, -1, -1, -1, 0, -1, -1, -1, -1, 377, 378, 279, -1, -1, 279, -1, -1, -1, -1, -1, 301, 279, 280, -1, 762, 306, -1, -1, -1, -1, -1, 341, 124, 771, 772, 345, 346, -1, 348, 349, -1, -1, 352, -1, -1, 41, 335, -1, 9, 10, 11, -1, -1, -1, 792, -1, -1, -1, 368, -1, 370, 371, -1, -1, 0, 26, -1, 335, 349, 350, 335, -1, -1, 383, 10, -1, 386, 335, -1, -1, -1, 391, 256, 393, -1, -1, 47, 261, 826, 370, -1, 401, -1, -1, -1, -1, 834, -1, -1, 837, -1, -1, 383, -1, 414, 41, 844, -1, -1, -1, 391, -1, 393, -1, -1, 256, -1, -1, 428, -1, 261, 10, -1, 59, 2, 3, -1, 301, 41, 125, 8, 44, 306, 46, -1, -1, 14, 505, 506, 507, -1, 451, -1, 104, -1, -1, -1, 428, 61, 38, 518, 40, -1, 42, 522, 523, -1, 46, -1, -1, 301, -1, -1, -1, -1, 306, -1, -1, 46, 10, 59, -1, -1, -1, -1, 349, 350, -1, 91, -1, -1, -1, -1, 551, -1, -1, -1, 279, -1, 125, -1, -1, -1, -1, 40, 41, 370, 38, 44, 40, 46, 42, -1, -1, -1, 46, -1, -1, 349, 383, 578, 124, 580, -1, 582, 61, -1, 391, 59, 393, 41, -1, 590, 44, -1, 46, -1, -1, 106, 370, -1, -1, -1, -1, 544, 545, -1, -1, -1, -1, 61, -1, 383, 335, -1, 91, -1, -1, -1, -1, 391, -1, 393, -1, 428, 565, -1, -1, -1, -1, 10, 222, 223, -1, 545, -1, 262, 263, 264, 579, 91, -1, 268, 269, -1, 271, -1, 123, 124, -1, -1, -1, -1, -1, 565, -1, -1, 428, 38, -1, 40, -1, 42, -1, -1, -1, 46, 607, 579, -1, -1, -1, -1, 124, 40, 41, -1, -1, 44, 59, 46, -1, -1, 681, -1, -1, -1, -1, -1, -1, -1, 631, -1, 633, -1, 61, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, 648, -1, -1, 302, 303, 304, 305, -1, 307, 308, 658, -1, 660, 661, 662, -1, -1, 91, -1, 667, 668, -1, -1, -1, -1, 231, 232, -1, 279, 648, 649, 737, 738, 545, -1, -1, -1, -1, 657, 658, 256, 660, 661, -1, -1, 261, -1, -1, -1, 123, 124, -1, -1, 565, -1, -1, -1, -1, 706, -1, -1, 709, -1, -1, -1, -1, 545, 579, -1, -1, -1, -1, 371, 721, 722, 723, -1, 304, -1, -1, 307, 308, 309, 702, 335, 301, 565, 706, -1, -1, 306, -1, -1, 799, -1, 279, 280, -1, -1, -1, 579, -1, 721, 722, 723, -1, -1, -1, 335, -1, -1, -1, -1, -1, 762, 414, -1, 344, 345, -1, 279, 0, -1, 771, 772, 304, -1, -1, 307, 308, 309, 10, -1, 349, -1, -1, 648, -1, -1, -1, 346, -1, 348, -1, 792, 657, 658, -1, 660, 661, -1, 335, 771, 772, 370, -1, 335, 863, -1, -1, -1, -1, 41, -1, -1, 344, 345, 383, -1, 648, -1, 377, -1, 792, -1, 391, 335, 393, 826, 658, 59, 660, 661, -1, -1, -1, 834, -1, 394, 837, 702, -1, -1, -1, 706, -1, 844, -1, -1, -1, 406, 407, -1, -1, 410, 279, 280, 826, 414, 721, 722, 723, 428, -1, -1, -1, 304, -1, 837, 307, 308, 309, -1, -1, -1, 844, -1, 706, -1, -1, 0, -1, -1, 439, -1, -1, 442, -1, -1, 445, 10, -1, 721, 722, 723, 544, 125, 335, -1, -1, -1, -1, -1, -1, 10, -1, 344, 345, -1, 771, 772, 335, -1, -1, -1, -1, -1, -1, 0, -1, -1, 41, -1, -1, -1, -1, -1, -1, 10, -1, 792, -1, 38, -1, 40, -1, 42, -1, -1, 59, 46, -1, 771, 772, 37, 38, -1, -1, -1, 42, 43, -1, 45, 59, 47, -1, -1, -1, 607, 41, 10, -1, -1, 792, 826, -1, -1, 60, -1, 62, 526, -1, -1, -1, -1, 837, -1, 59, -1, 545, -1, -1, 844, -1, 633, -1, -1, -1, 38, 10, 40, -1, 42, -1, -1, -1, 46, 826, -1, 565, -1, 94, -1, -1, -1, 125, -1, -1, 837, 59, -1, -1, -1, 579, -1, 844, -1, 38, -1, 40, -1, 42, -1, -1, -1, 46, -1, -1, -1, -1, -1, 124, -1, 262, 263, 264, -1, 593, 59, 268, 269, -1, 271, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 611, -1, -1, -1, 615, 709, -1, -1, 619, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, 631, -1, -1, -1, 10, -1, -1, 648, -1, -1, -1, -1, -1, -1, -1, -1, 657, 658, -1, 660, 661, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, 679, -1, -1, -1, 58, 59, 60, 61, 62, 63, 689, -1, -1, 702, -1, -1, -1, 706, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, 721, 722, 723, -1, -1, 91, -1, 93, 94, 720, -1, -1, -1, -1, -1, -1, 727, -1, -1, 0, -1, -1, 733, -1, -1, 262, 263, 264, -1, 10, -1, 268, 269, -1, 271, -1, -1, 123, 124, 125, 126, -1, -1, 304, -1, -1, 307, 308, 309, -1, 771, 772, 33, -1, -1, -1, 37, 38, 769, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, 318, 792, -1, -1, 335, 323, 324, 58, 59, 60, 61, 62, 63, 344, 345, 333, 334, 798, -1, -1, -1, -1, -1, -1, -1, -1, -1, 808, -1, 304, -1, 812, 307, 308, 309, 826, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, 837, -1, -1, -1, -1, -1, -1, 844, -1, 10, -1, -1, 304, -1, 335, 307, 308, 309, -1, -1, 847, -1, 849, 344, 345, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, 38, -1, 40, 867, 42, 869, 335, -1, 46, -1, -1, -1, -1, 877, -1, 344, 345, 881, 257, 258, 259, 59, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, -1, -1, -1, 356, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, 304, -1, -1, 307, 308, 309, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 335, -1, -1, -1, -1, -1, -1, -1, -1, 344, 345, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, }; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 282, 4711, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 282, 4711, 16, ...
characterKey);
character);
protected final void doSetUp() throws NotDefinedException, Exception { super.doSetUp(); /* * The constants to use in creating the various objects. The platform * locale count must be greater than or equal to the number of deletion * markers. Deletion markers are typically created based on the platform * or locale. */ final int contextTreeDepth = 40; final int schemeDepth = 20; final int bindingCount = 5000; final int platformLocaleCount = 1400; final int deletionMarkers = 500; final String currentLocale = Locale.getDefault().toString(); final String currentPlatform = SWT.getPlatform(); // Set-up a table of modifier keys. final ModifierKey[] modifierKeys0 = {}; final ModifierKey[] modifierKeys1 = { ModifierKey.ALT }; final ModifierKey[] modifierKeys2 = { ModifierKey.COMMAND }; final ModifierKey[] modifierKeys3 = { ModifierKey.CTRL }; final ModifierKey[] modifierKeys4 = { ModifierKey.SHIFT }; final ModifierKey[] modifierKeys5 = { ModifierKey.ALT, ModifierKey.COMMAND }; final ModifierKey[] modifierKeys6 = { ModifierKey.ALT, ModifierKey.CTRL }; final ModifierKey[] modifierKeys7 = { ModifierKey.ALT, ModifierKey.SHIFT }; final ModifierKey[] modifierKeys8 = { ModifierKey.COMMAND, ModifierKey.CTRL }; final ModifierKey[] modifierKeys9 = { ModifierKey.COMMAND, ModifierKey.SHIFT }; final ModifierKey[] modifierKeys10 = { ModifierKey.CTRL, ModifierKey.SHIFT }; final ModifierKey[] modifierKeys11 = { ModifierKey.ALT, ModifierKey.COMMAND, ModifierKey.CTRL }; final ModifierKey[] modifierKeys12 = { ModifierKey.ALT, ModifierKey.COMMAND, ModifierKey.SHIFT }; final ModifierKey[] modifierKeys13 = { ModifierKey.ALT, ModifierKey.CTRL, ModifierKey.SHIFT }; final ModifierKey[] modifierKeys14 = { ModifierKey.COMMAND, ModifierKey.CTRL, ModifierKey.SHIFT }; final ModifierKey[] modifierKeys15 = { ModifierKey.ALT, ModifierKey.COMMAND, ModifierKey.CTRL, ModifierKey.SHIFT }; final ModifierKey[][] modifierKeyTable = { modifierKeys0, modifierKeys1, modifierKeys2, modifierKeys3, modifierKeys4, modifierKeys5, modifierKeys6, modifierKeys7, modifierKeys8, modifierKeys9, modifierKeys10, modifierKeys11, modifierKeys12, modifierKeys13, modifierKeys14, modifierKeys15 }; // Initialize the contexts. contextManager = new ContextManager(); final List activeContextIds = new ArrayList(); createContext(contextManager, null, contextTreeDepth, activeContextIds); contextManager.setActiveContextIds(new HashSet(activeContextIds)); // Initialize the schemes. bindingManager = new BindingManager(contextManager); final List schemes = new ArrayList(); createScheme(bindingManager, null, schemeDepth, schemes); bindingManager .setActiveScheme((Scheme) schemes.get(schemes.size() - 1)); // Create the deletion markers. final Set bindings = new HashSet(); for (int i = 0; i < deletionMarkers; i++) { /* * Set-up the locale and platform. These are based on the numbers * given above. */ String locale = null; String platform = null; if (i < platformLocaleCount) { switch (i % 4) { case 0: locale = currentLocale; break; case 1: platform = currentPlatform; break; case 2: locale = "gibberish"; break; case 3: platform = "gibberish"; break; } } // Build a key sequence. final char character = (char) ('A' + (i % 26)); final CharacterKey characterKey = CharacterKey .getInstance(character); final ModifierKey[] modifierKeys = modifierKeyTable[(i / 26) % modifierKeyTable.length]; final KeyStroke keyStroke = KeyStroke.getInstance(modifierKeys, characterKey); final KeySequence keySequence = KeySequence.getInstance(keyStroke); // Build the other parameters. final String commandId = null; final String schemeId = ((Scheme) schemes.get(i % schemes.size())) .getId(); final String contextId = (String) activeContextIds.get(i % activeContextIds.size()); final int type = (i % 2); // Construct the binding. final Binding binding = new KeyBinding(keySequence, commandId, schemeId, contextId, locale, platform, null, type); bindings.add(binding); } /* * Now create the regular bindings. By using the same loop structure and * resetting the index to zero, we ensure that the deletion markers will * actually delete something. */ for (int i = 0; i < bindingCount - deletionMarkers; i++) { /* * Set-up the locale and platform for those bindings that will not * be used to match the above deletion markers. These are based on * the numbers given above. */ String locale = null; String platform = null; if ((i > deletionMarkers) && (i < platformLocaleCount)) { switch (i % 4) { case 0: locale = currentLocale; break; case 1: platform = currentPlatform; break; case 2: locale = "gibberish"; break; case 3: platform = "gibberish"; break; } } // Build a key sequence. final char character = (char) ('A' + (i % 26)); final CharacterKey characterKey = CharacterKey .getInstance(character); final ModifierKey[] modifierKeys = modifierKeyTable[(i / 26) % modifierKeyTable.length]; final KeyStroke keyStroke = KeyStroke.getInstance(modifierKeys, characterKey); final KeySequence keySequence = KeySequence.getInstance(keyStroke); // Build the other parameters. final String commandId = "command" + i; final String schemeId = ((Scheme) schemes.get(i % schemes.size())) .getId(); final String contextId = (String) activeContextIds.get(i % activeContextIds.size()); final int type = (i % 2); // Construct the binding. final Binding binding = new KeyBinding(keySequence, commandId, schemeId, contextId, locale, platform, null, type); bindings.add(binding); } bindingManager.setBindings(bindings); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/092230ba080f34842abb8d636b3b6894254f8cc5/CommandsPerformanceTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/performance/CommandsPerformanceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 918, 741, 694, 1211, 1435, 1216, 2288, 8116, 503, 16, 1185, 288, 202, 202, 9565, 18, 2896, 694, 1211, 5621, 202, 202, 20308, 1082, 380, 1021, 6810, 358, 999, 316, 4979, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 918, 741, 694, 1211, 1435, 1216, 2288, 8116, 503, 16, 1185, 288, 202, 202, 9565, 18, 2896, 694, 1211, 5621, 202, 202, 20308, 1082, 380, 1021, 6810, 358, 999, 316, 4979, ...
log.fatal("start: Failed to create poller scheduler", e);
log.fatal("init: Failed to create poller scheduler", e);
private void createScheduler() { Category log = ThreadCategory.getInstance(); // Create a scheduler // try { log.debug("start: Creating poller scheduler"); m_scheduler = new Scheduler("Poller", getPollerConfig().getThreads()); } catch (RuntimeException e) { log.fatal("start: Failed to create poller scheduler", e); throw e; } }
47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/8858682ed67097eb548e41ccbc9497ff4c06b1cd/Poller.java/clean/src/services/org/opennms/netmgt/poller/Poller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 11870, 1435, 288, 3639, 9856, 613, 273, 4884, 4457, 18, 588, 1442, 5621, 3639, 368, 1788, 279, 8129, 3639, 368, 3639, 775, 288, 5411, 613, 18, 4148, 2932, 1937, 30, 21837,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 11870, 1435, 288, 3639, 9856, 613, 273, 4884, 4457, 18, 588, 1442, 5621, 3639, 368, 1788, 279, 8129, 3639, 368, 3639, 775, 288, 5411, 613, 18, 4148, 2932, 1937, 30, 21837,...
node.setGID(proxy.gid);
node.setGID(proxy.gid);
private final NodeSet getNodes() { ExtArrayNodeSet result = new ExtArrayNodeSet(); NodeProxy proxy; Iterator domIter; for (Iterator i = context.iterator(); i.hasNext();) { proxy = (NodeProxy) i.next(); if (proxy.gid < 0) { if(proxy.getDocument().getResourceType() == DocumentImpl.BINARY_FILE) // skip binary resources continue; NodeList cl = proxy.getDocument().getChildNodes(); for (int j = 0; j < cl.getLength(); j++) { NodeImpl node = (NodeImpl) cl.item(j); NodeProxy docElemProxy = new NodeProxy(proxy.getDocument(), node.getGID(), node.getNodeType()); docElemProxy.setInternalAddress(node.getInternalAddress()); if (test.matches(docElemProxy)) result.add(docElemProxy); if (node.getNodeType() == Node.ELEMENT_NODE && (axis == Constants.DESCENDANT_AXIS || axis == Constants.DESCENDANT_SELF_AXIS || axis == Constants.DESCENDANT_ATTRIBUTE_AXIS)) { domIter = docElemProxy.getDocument().getBroker().getNodeIterator(docElemProxy); domIter.next(); docElemProxy.setMatches(proxy.getMatches()); addChildren(docElemProxy, result, node, domIter, 0); } } continue; } else { if(axis == Constants.SELF_AXIS && test.matches(proxy)) { if(inPredicate) proxy.addContextNode(proxy); result.add(proxy); } else { domIter = proxy.getDocument().getBroker().getNodeIterator(proxy); NodeImpl node = (NodeImpl) domIter.next(); node.setOwnerDocument(proxy.getDocument()); node.setGID(proxy.gid); addChildren(proxy, result, node, domIter, 0); } } } return result; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/fe8675b427e463fdce0fa3ad300e936cfafab475/VirtualNodeSet.java/buggy/src/org/exist/dom/VirtualNodeSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 2029, 694, 24495, 1435, 288, 202, 202, 2482, 1076, 907, 694, 563, 273, 394, 6419, 1076, 907, 694, 5621, 202, 202, 907, 3886, 2889, 31, 202, 202, 3198, 4092, 2360, 31, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 2029, 694, 24495, 1435, 288, 202, 202, 2482, 1076, 907, 694, 563, 273, 394, 6419, 1076, 907, 694, 5621, 202, 202, 907, 3886, 2889, 31, 202, 202, 3198, 4092, 2360, 31, 20...
public void addFunctionDeclaration(){
public void addFunctionDeclaration(IASTFunction function){ this.output.addRef(encodeEntry(function.getFullyQualifiedName(),FUNCTION_DECL,FUNCTION_DECL_LENGTH));
public void addFunctionDeclaration(){ }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d8ee61be381462fee3501e736c934e6b77efdfb5/AbstractIndexer.java/clean/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/search/indexing/AbstractIndexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 2083, 6094, 1435, 95, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 2083, 6094, 1435, 95, 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, -1...
public static String readNewsFile(int position) { String fileName = getNewsFilePath(); if (position == Constants.NEWS_TOP) { fileName += "news-top.html"; } else { fileName += "news-side.html"; } String text = ""; try { //retrieve existing news from file FileInputStream fir = new FileInputStream(fileName); InputStreamReader ir = new InputStreamReader(fir, "UTF-8"); BufferedReader br = new BufferedReader(ir); String lineIn; while ((lineIn = br.readLine()) != null) { text += lineIn; } br.close(); } catch (IOException e) { getLog().warn("news_read: " + e.getLocalizedMessage()); } return text; }
52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/eca96b9fbb762592e7812a30a2551e25023b084a/ConfigurationManager.java/buggy/dspace/src/org/dspace/core/ConfigurationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 855, 17948, 812, 12, 474, 1754, 13, 565, 288, 3639, 514, 3968, 273, 12654, 87, 5598, 5621, 3639, 309, 261, 3276, 422, 5245, 18, 5407, 2651, 67, 10462, 13, 3639, 288, 541...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 855, 17948, 812, 12, 474, 1754, 13, 565, 288, 3639, 514, 3968, 273, 12654, 87, 5598, 5621, 3639, 309, 261, 3276, 422, 5245, 18, 5407, 2651, 67, 10462, 13, 3639, 288, 541...
this(new RSAPrivateKeyStructure((ASN1Sequence)info.getPrivateKey()));
super(key); this.publicExponent = key.getPublicExponent(); this.primeP = key.getP(); this.primeQ = key.getQ(); this.primeExponentP = key.getDP(); this.primeExponentQ = key.getDQ(); this.crtCoefficient = key.getQInv();
JCERSAPrivateCrtKey( PrivateKeyInfo info) { this(new RSAPrivateKeyStructure((ASN1Sequence)info.getPrivateKey())); }
14767 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14767/cfe61387fe2516c3026f47723512e384f46902f0/JCERSAPrivateCrtKey.java/buggy/crypto/src/org/bouncycastle/jce/provider/JCERSAPrivateCrtKey.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 13032, 654, 5233, 6014, 39, 3797, 653, 12, 3639, 14018, 966, 225, 1123, 13, 565, 288, 3639, 2240, 12, 856, 1769, 225, 333, 18, 482, 17972, 273, 498, 18, 588, 4782, 17972, 5621, 333, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13032, 654, 5233, 6014, 39, 3797, 653, 12, 3639, 14018, 966, 225, 1123, 13, 565, 288, 3639, 2240, 12, 856, 1769, 225, 333, 18, 482, 17972, 273, 498, 18, 588, 4782, 17972, 5621, 333, 18,...
if(is == null) {
if (is == null) {
public static void loadTabs(Vector tabs, String panelName, Orientation orientation) { String position = null; if ( panelName.equals("north") || panelName.equals("south") || panelName.equals("west") || panelName.equals("east") || panelName.equals("northwest") || panelName.equals("northeast") || panelName.equals("southwest") || panelName.equals("southeast")) { position = panelName; panelName = "detail"; } InputStream is = null; LineNumberReader lnr = null; String configFile = System.getProperty("argo.config"); // // if property specified // if(configFile != null) { // try to load a file try { is = new FileInputStream(configFile); } catch(FileNotFoundException e) { is = ConfigLoader.class.getResourceAsStream(configFile); if(is != null) { _Log.info("Value of argo.config (" + configFile + ") could not be loaded.\nLoading default configuration."); } } } if(is == null) { configFile = "/org/argouml/argo.ini"; is = ConfigLoader.class.getResourceAsStream(configFile); } if(is != null) { lnr = new LineNumberReader(new InputStreamReader(is)); if (lnr != null) { try { String line = lnr.readLine(); while (line != null) { Class tabClass = parseConfigLine(line, panelName, lnr.getLineNumber(), configFile); if (tabClass != null) { try { String className = tabClass.getName(); String shortClassName = className.substring(className.lastIndexOf('.')+1).toLowerCase(); ConfigurationKey key = Configuration.makeKey("layout", shortClassName); if (position == null || position.equalsIgnoreCase(Configuration.getString(key, "South"))) { if (className.equals("org.argouml.uml.ui.TabProps")) { tabPropsOrientation = orientation; } Object newTab = tabClass.newInstance(); tabs.addElement(newTab); } } catch (InstantiationException ex) { _Log.error("Could not make instance of " + tabClass.getName()); } catch (IllegalAccessException ex) { _Log.error("Could not make instance of " + tabClass.getName()); } } line = lnr.readLine(); } } catch (java.io.IOException io) { _Log.error(io); } } else { _Log.error("lnr is null"); } } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ConfigLoader.java/buggy/src_new/org/argouml/util/ConfigLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1262, 17348, 12, 5018, 10920, 16, 514, 6594, 461, 16, 531, 12556, 9820, 13, 288, 3639, 514, 1754, 273, 446, 31, 3639, 309, 261, 7734, 6594, 461, 18, 14963, 2932, 82, 782...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1262, 17348, 12, 5018, 10920, 16, 514, 6594, 461, 16, 531, 12556, 9820, 13, 288, 3639, 514, 1754, 273, 446, 31, 3639, 309, 261, 7734, 6594, 461, 18, 14963, 2932, 82, 782...
if (getSize() != null)
if (!"".equals(getSize()))
public String getToolTip() { StringBuffer sb = new StringBuffer(50); sb.append("<html>"); // Une jolie image pour faire stalle sb.append("<center><img src=\"/images/dot.gif\"></center><br>"); // Le type et le nom (pour les aveugles) sb.append("<b>" + getType() + "</b> : " + getName() + "<br>"); if (f.isDirectory()) { if (getSize() != null) sb.append("<b>Contient</b> : " + getSize() + "<br>"); } else sb.append("<b>Taille</b> : " + getSize() + "<br>"); sb.append("<b>Dernire modification</b> : " + getLastModified() + "<br>"); return sb.append("</html>").toString(); }
9737 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9737/ed5b2a7d0d0a36e656fcdff926f5227e54b5beb5/FileUtilities.java/buggy/FSeeker/src/misc/file/FileUtilities.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 336, 29250, 1435, 288, 1082, 202, 780, 1892, 2393, 273, 394, 6674, 12, 3361, 1769, 1082, 202, 18366, 18, 6923, 2932, 32, 2620, 2984, 1769, 1082, 202, 759, 1351, 73, 525, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 336, 29250, 1435, 288, 1082, 202, 780, 1892, 2393, 273, 394, 6674, 12, 3361, 1769, 1082, 202, 18366, 18, 6923, 2932, 32, 2620, 2984, 1769, 1082, 202, 759, 1351, 73, 525, ...
oos.writeObject( mapQueryIDToResultSetIDs ); oos.writeObject( queryResultRelations ); oos.writeObject( queryExpressionIDs ); oos.close( );
int size = mapQueryIDToResultSetIDs.size( ); IOUtil.writeInt(dos, size ); Set keySet = mapQueryIDToResultSetIDs.keySet( ); Iterator keyIter = keySet.iterator( ); while( keyIter.hasNext( )) { String queryId = (String)keyIter.next( ); IOUtil.writeString( dos , queryId ); LinkedList resultList = (LinkedList)mapQueryIDToResultSetIDs .get( queryId ); writeStringList( dos, resultList ); } size = queryResultRelations.size( ); IOUtil.writeInt( dos, size ); for( int i=0; i<size; i++ ) { Key key = (Key)queryResultRelations.get( i ); IOUtil.writeString( dos, key.parentRSID ); IOUtil.writeString( dos, key.resultSetID ); IOUtil.writeString( dos, key.rowid ); } size = queryExpressionIDs.size( ); IOUtil.writeInt( dos, size ); for( int i=0; i<size; i++) { QueryID queryId = ( QueryID )queryExpressionIDs.get( i ); writeQueryID( dos, queryId ); } dos.close( );
private void storeDteMetaInfo( ) { try { ObjectOutputStream oos = new ObjectOutputStream( writer .createRandomAccessStream( DATA_META_STREAM ) ); oos.writeObject( mapQueryIDToResultSetIDs ); oos.writeObject( queryResultRelations ); oos.writeObject( queryExpressionIDs ); oos.close( ); } catch ( IOException e ) { e.printStackTrace( ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/8c0b1b869f0f2f4f3b83d7296a7652d402c9dd3e/DataGenerationEngine.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/DataGenerationEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1707, 40, 736, 2781, 966, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 921, 4632, 24956, 273, 394, 23438, 12, 2633, 6862, 202, 18, 2640, 8529, 1862, 1228, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1707, 40, 736, 2781, 966, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 921, 4632, 24956, 273, 394, 23438, 12, 2633, 6862, 202, 18, 2640, 8529, 1862, 1228, ...
public static final char[] concat( char[] first, char[] second, char separator) {
public static final char[] concat(char[] first, char[] second) {
public static final char[] concat( char[] first, char[] second, char separator) { if (first == null) return second; if (second == null) return first; int length1 = first.length; if (length1 == 0) return second; int length2 = second.length; if (length2 == 0) return first; char[] result = new char[length1 + length2 + 1]; System.arraycopy(first, 0, result, 0, length1); result[length1] = separator; System.arraycopy(second, 0, result, length1 + 1, length2); return result; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/50016e218da94faa790cc0eac00a2cb312fa37ee/CharOperation.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/core/compiler/CharOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1149, 8526, 3835, 12, 202, 202, 3001, 8526, 1122, 16, 202, 202, 3001, 8526, 2205, 16, 202, 202, 3001, 4182, 13, 288, 202, 202, 430, 261, 3645, 422, 446, 13, 1082, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 1149, 8526, 3835, 12, 202, 202, 3001, 8526, 1122, 16, 202, 202, 3001, 8526, 2205, 16, 202, 202, 3001, 4182, 13, 288, 202, 202, 430, 261, 3645, 422, 446, 13, 1082, ...
if (!parentFigure.isVisible()) {
if (!shouldIgnoreParentVisibility() && !parentFigure.isVisible()) {
public boolean isVisible() { Rectangle decorationBounds = getBounds().getCopy(); translateToAbsolute(decorationBounds); IFigure parentFigure = getOwnerFigure(); while (parentFigure != null) { if (!parentFigure.isVisible()) { return false; } if (parentFigure instanceof ResizableCompartmentFigure) { Rectangle parentClientArea = parentFigure.getClientArea() .getCopy(); parentFigure.translateToAbsolute(parentClientArea); if (!(parentClientArea.contains(decorationBounds))) { return false; } } parentFigure = parentFigure.getParent(); } return super.isVisible(); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/1d5a071b4d2c69c2574d11adb27dd32f845faf74/Decoration.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/internal/services/decorator/Decoration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20453, 1435, 288, 202, 202, 19463, 29217, 5694, 273, 22107, 7675, 588, 2951, 5621, 202, 202, 13929, 774, 10368, 12, 11880, 367, 5694, 1769, 202, 202, 5501, 15906, 982, 42, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1250, 20453, 1435, 288, 202, 202, 19463, 29217, 5694, 273, 22107, 7675, 588, 2951, 5621, 202, 202, 13929, 774, 10368, 12, 11880, 367, 5694, 1769, 202, 202, 5501, 15906, 982, 42, ...
return (getValue() != null && getValue().equals(((JavaObject) other).getValue()))
if (getValue() == null && ((JavaObject) other).getValue() == null) { return getRuntime().getTrue(); } return (getValue().equals(((JavaObject) other).getValue()))
public RubyBoolean equal(IRubyObject other) { if (other instanceof JavaObject) { return (getValue() != null && getValue().equals(((JavaObject) other).getValue())) ? getRuntime().getTrue() : getRuntime().getFalse(); } return getRuntime().getFalse(); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/206c7b0b7eb0c58d4a00f4aaa94c9013ad204adc/JavaObject.java/buggy/src/org/jruby/javasupport/JavaObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 3959, 12, 7937, 10340, 921, 1308, 13, 288, 3639, 309, 261, 3011, 1276, 5110, 921, 13, 288, 5411, 309, 261, 24805, 1435, 422, 446, 597, 14015, 5852, 921, 13, 1308, 2934,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 3959, 12, 7937, 10340, 921, 1308, 13, 288, 3639, 309, 261, 3011, 1276, 5110, 921, 13, 288, 5411, 309, 261, 24805, 1435, 422, 446, 597, 14015, 5852, 921, 13, 1308, 2934,...
SecurityController securityController,
public Object compile(Context cx, Scriptable scope, CompilerEnvirons compilerEnv, ScriptOrFnNode scriptOrFn, String encodedSource, boolean returnFunction, SecurityController securityController, Object securityDomain) { OptClassNameHelper nameHelper = (OptClassNameHelper)ClassNameHelper.get(cx); Class[] interfaces = nameHelper.getTargetImplements(); Class superClass = nameHelper.getTargetExtends(); boolean isPrimary = (interfaces == null && superClass == null); String mainClassName = nameHelper.getScriptClassName(isPrimary); byte[] mainClassBytes = compileToClassFile(compilerEnv, mainClassName, scriptOrFn, encodedSource, returnFunction); boolean onlySave = false; ClassRepository repository = nameHelper.getClassRepository(); if (repository != null) { try { if (!repository.storeClass(mainClassName, mainClassBytes, true)) { onlySave = true; } } catch (IOException iox) { throw Context.throwAsScriptRuntimeEx(iox); } if (!isPrimary) { String adapterClassName = nameHelper.getScriptClassName(true); int functionCount = scriptOrFn.getFunctionCount(); ObjToIntMap functionNames = new ObjToIntMap(functionCount); for (int i = 0; i != functionCount; ++i) { FunctionNode ofn = scriptOrFn.getFunctionNode(i); String name = ofn.getFunctionName(); if (name != null && name.length() != 0) { functionNames.put(name, ofn.getParamCount()); } } if (superClass == null) { superClass = ScriptRuntime.ObjectClass; } byte[] classFile = JavaAdapter.createAdapterCode( functionNames, adapterClassName, superClass, interfaces, mainClassName); try { if (!repository.storeClass(adapterClassName, classFile, true)) { onlySave = true; } } catch (IOException iox) { throw Context.throwAsScriptRuntimeEx(iox); } } } if (onlySave) { return null; } Exception e = null; Class result = null; ClassLoader parentLoader = cx.getApplicationClassLoader(); GeneratedClassLoader loader; if (securityController == null) { loader = cx.createClassLoader(parentLoader); } else { loader = securityController.createClassLoader(parentLoader, securityDomain); } try { result = loader.defineClass(mainClassName, mainClassBytes); loader.linkClass(result); } catch (SecurityException x) { e = x; } catch (IllegalArgumentException x) { e = x; } if (e != null) throw new RuntimeException("Malformed optimizer package " + e); if (scriptOrFn.getType() == Token.FUNCTION) { NativeFunction f; try { Constructor ctor = result.getConstructors()[0]; Object[] initArgs = { scope, cx, new Integer(0) }; f = (NativeFunction)ctor.newInstance(initArgs); } catch (Exception ex) { throw new RuntimeException ("Unable to instantiate compiled class:"+ex.toString()); } int ftype = ((FunctionNode)scriptOrFn).getFunctionType(); OptRuntime.initFunction(f, ftype, scope, cx); return f; } else { Script script; try { script = (Script) result.newInstance(); } catch (Exception ex) { throw new RuntimeException ("Unable to instantiate compiled class:"+ex.toString()); } return script; } }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/58db1d9fd563d817a093133d18a6d0d8ef61f07e/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 4074, 12, 1042, 9494, 16, 22780, 2146, 16, 12900, 12972, 28248, 87, 5274, 3491, 16, 12900, 7739, 1162, 5372, 907, 2728, 1162, 5372, 16, 12900, 514, 3749, 1830, 16, 12900, 1250, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4074, 12, 1042, 9494, 16, 22780, 2146, 16, 12900, 12972, 28248, 87, 5274, 3491, 16, 12900, 7739, 1162, 5372, 907, 2728, 1162, 5372, 16, 12900, 514, 3749, 1830, 16, 12900, 1250, ...
myExpectation.addExpected("A"); myExpectation.addExpected("B");
myExpectation.addExpected("A"); myExpectation.addExpected("B");
public void testUnsorted() { myExpectation.addExpected("A"); myExpectation.addExpected("B"); myExpectation.addActual("B"); myExpectation.addActual("A"); myExpectation.verify(); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/ExpectationSetTest.java/clean/jmock/core/src/test/jmock/expectation/ExpectationSetTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 984, 10350, 1435, 288, 202, 202, 4811, 11988, 367, 18, 1289, 6861, 2932, 37, 8863, 202, 202, 4811, 11988, 367, 18, 1289, 6861, 2932, 38, 8863, 202, 202, 4811, 11988, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 984, 10350, 1435, 288, 202, 202, 4811, 11988, 367, 18, 1289, 6861, 2932, 37, 8863, 202, 202, 4811, 11988, 367, 18, 1289, 6861, 2932, 38, 8863, 202, 202, 4811, 11988, ...
catch (IOException e) {
catch (ClassNotFoundException e) { throw new IOException(e.toString());
public byte[] unprotectHeader(byte[] rawData, MessageAddress source, MessageAddress destination) { SecureMethodParam policy = cps.getReceivePolicy(source.toAddress() +":" +destination.toAddress()); if (policy == null) { throw new RuntimeException("Could not find message policy between " + source.getAddress() + " and " + destination.getAddress()); } ByteArrayInputStream bais = new ByteArrayInputStream(rawData); ProtectedObject po = null; try { ObjectInputStream ois = new ObjectInputStream(bais); po = (ProtectedObject) ois.readObject(); } catch (IOException e) { } catch (ClassNotFoundException e) { } Object o = encryptService.unprotectObject(source, destination, po, policy); return (byte[])o; }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/d293fe3e5ebdb257a29487cc4600f66f408b45f5/MessageProtectionServiceImpl.java/buggy/securityservices/src/org/cougaar/core/security/crypto/MessageProtectionServiceImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 8526, 640, 11815, 386, 1864, 12, 7229, 8526, 16503, 16, 9506, 202, 1079, 1887, 1084, 16, 9506, 202, 1079, 1887, 2929, 13, 288, 565, 15653, 1305, 786, 3329, 273, 1377, 276, 112...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1160, 8526, 640, 11815, 386, 1864, 12, 7229, 8526, 16503, 16, 9506, 202, 1079, 1887, 1084, 16, 9506, 202, 1079, 1887, 2929, 13, 288, 565, 15653, 1305, 786, 3329, 273, 1377, 276, 112...
private final void enrollInRelationships() throws StartException {
private synchronized final void enrollInRelationships() throws StartException {
private final void enrollInRelationships() throws StartException { String relationshipType = null; String relationshipRole = null; String targetRoleName = null; try { Set relationships = dependencyService.getRelationships(objectName); for (Iterator i = relationships.iterator(); i.hasNext();) { MBeanRelationship relationship = (MBeanRelationship) i.next(); // if we don't have a relationship instance create one String relationshipName = relationship.getName(); relationshipRole = relationship.getRole(); if (!relationService.hasRelation(relationshipName).booleanValue()) { relationshipType = relationship.getType(); RoleList roleList = new RoleList(); roleList.add(new Role(relationshipRole, Collections.singletonList(objectName))); // if we have a target we need to add it to the role list ObjectName target = relationship.getTarget(); if (target != null) { targetRoleName = relationship.getTargetRole(); if (targetRoleName == null || targetRoleName.length() == 0) { List roles = relationService.getRoleInfos(relationshipType); if (roles.size() < 2) { throw new StartException("Relationship has less than two roles. You cannot specify a target"); } if (roles.size() > 2) { throw new StartException("Relationship has more than two roles. You must use targetRoleName"); } if (((RoleInfo) roles.get(0)).getName().equals(relationshipRole)) { targetRoleName = ((RoleInfo) roles.get(1)).getName(); } else { targetRoleName = ((RoleInfo) roles.get(0)).getName(); } } roleList.add(new Role(targetRoleName, Collections.singletonList(target))); } relationService.createRelation(relationshipName, relationshipType, roleList); } else { // We have an exiting relationship -- just add to the existing role List members = relationService.getRole(relationshipName, relationshipRole); if(!members.contains(objectName)) { members.add(objectName); relationService.setRole(relationshipName, new Role(relationshipRole, members)); } } } } catch (RelationTypeNotFoundException e) { throw new StartException("Relationship type is not registered: relationType=" + relationshipType); } catch (RelationServiceNotRegisteredException e) { throw new StartException("RelationshipService is not registered", e); } catch (RoleNotFoundException e) { throw new StartException("RelationshipService is not registered", e); } catch (InvalidRelationIdException e) { throw new StartException("Relationship type does not contain role:" + " relationType=" + relationshipType + " sourceRole=" + relationshipRole + " targetRole=" + targetRoleName, e); } catch (InvalidRoleValueException e) { throw new StartException("Relationship role state is invalid", e); } catch (RelationNotFoundException e) { throw new StartException("Relation was unregistered while executing", e); } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/40cf70816d34bf1ed8ffac9ed94360bb1ca26b22/AbstractStateManageable.java/clean/modules/core/src/java/org/apache/geronimo/common/AbstractStateManageable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 727, 918, 570, 2693, 382, 17185, 1435, 1216, 3603, 503, 288, 3639, 514, 5232, 559, 273, 446, 31, 3639, 514, 5232, 2996, 273, 446, 31, 3639, 514, 1018, 31278, 273, 446, 31, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 727, 918, 570, 2693, 382, 17185, 1435, 1216, 3603, 503, 288, 3639, 514, 5232, 559, 273, 446, 31, 3639, 514, 5232, 2996, 273, 446, 31, 3639, 514, 1018, 31278, 273, 446, 31, 3...
Assert.isNotNull( moduleHandle ); this.moduleHandle = moduleHandle;
this( null );
public ExpressionProvider( ModuleHandle moduleHandle ) { Assert.isNotNull( moduleHandle ); this.moduleHandle = moduleHandle; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/65c31b53af468bafee3d7b3a9d5249824989932a/ExpressionProvider.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ExpressionProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5371, 2249, 12, 5924, 3259, 1605, 3259, 262, 202, 95, 202, 202, 8213, 18, 291, 5962, 12, 1605, 3259, 11272, 202, 202, 2211, 18, 2978, 3259, 273, 1605, 3259, 31, 202, 97, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5371, 2249, 12, 5924, 3259, 1605, 3259, 262, 202, 95, 202, 202, 8213, 18, 291, 5962, 12, 1605, 3259, 11272, 202, 202, 2211, 18, 2978, 3259, 273, 1605, 3259, 31, 202, 97, 2, ...
List results = new ArrayList(m_implementors.size()); Iterator iter = new ArrayList(m_implementors).iterator(); while(iter.hasNext())
List implementorsCopy; synchronized (m_implementorsMutext) { implementorsCopy = new ArrayList(m_implementors); } List results = new ArrayList(implementorsCopy.size()); Iterator iter = implementorsCopy.iterator(); while (iter.hasNext())
private List invokeMultiple(RemoteMethodCall call) { List results = new ArrayList(m_implementors.size()); Iterator iter = new ArrayList(m_implementors).iterator(); while(iter.hasNext()) { Object implementor = iter.next(); results.add(invokeSingle(call, implementor)); } return results; }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/ca34366b9a3865cf25362f630569c84db100c969/UnifiedMessenger.java/clean/src/games/strategy/engine/message/UnifiedMessenger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 4356, 8438, 12, 5169, 12592, 745, 13, 565, 288, 3639, 987, 1686, 273, 394, 2407, 12, 81, 67, 10442, 1383, 18, 1467, 10663, 3639, 4498, 1400, 273, 394, 2407, 12, 81, 67, 10442...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 987, 4356, 8438, 12, 5169, 12592, 745, 13, 565, 288, 3639, 987, 1686, 273, 394, 2407, 12, 81, 67, 10442, 1383, 18, 1467, 10663, 3639, 4498, 1400, 273, 394, 2407, 12, 81, 67, 10442...
boolean needsReply,
public static Invite createInvite( int mailboxId, String method, TimeZoneMap tzMap, String uidOrNull, String status, String freeBusy, String transparency, boolean allDayEvent, ParsedDateTime dtStart, ParsedDateTime dtEndOrNull, ParsedDuration durationOrNull, RecurId recurId, Recurrence.IRecurrence recurrenceOrNull, ZOrganizer organizer, List<ZAttendee> attendees, String name, String comment, String location, String fragment, int dtStampOrZero, int sequenceNoOrZero, boolean needsReply, String partStat, boolean rsvp, boolean sentByMe) throws ServiceException { return new Invite( method, tzMap, null, // no appointment yet uidOrNull, status, freeBusy, transparency, dtStart, dtEndOrNull, durationOrNull, recurrenceOrNull, organizer, attendees, name, comment, location, Invite.APPT_FLAG_EVENT | (needsReply ? Invite.APPT_FLAG_NEEDS_REPLY : 0) | (allDayEvent ? Invite.APPT_FLAG_ALLDAY : 0), partStat, rsvp, recurId, dtStampOrZero, sequenceNoOrZero, mailboxId, 0, // mailItemId MUST BE SET 0, // component num sentByMe, fragment ); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/1766b6d0a494a44cc5f5f4b9e41a4da021b1b7d8/Invite.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/calendar/Invite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 30981, 752, 22730, 12, 5411, 509, 14187, 548, 16, 5411, 514, 707, 16, 5411, 16491, 863, 6016, 863, 16, 2398, 514, 4555, 18936, 16, 10402, 514, 1267, 16, 5411, 514, 4843, 29289,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30981, 752, 22730, 12, 5411, 509, 14187, 548, 16, 5411, 514, 707, 16, 5411, 16491, 863, 6016, 863, 16, 2398, 514, 4555, 18936, 16, 10402, 514, 1267, 16, 5411, 514, 4843, 29289,...
{ }
{ super(bevelType); }
public BevelBorderUIResource(int bevelType) { }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/BorderUIResource.java/buggy/core/src/classpath/javax/javax/swing/plaf/BorderUIResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4823, 941, 8107, 5370, 1420, 12, 474, 506, 941, 559, 13, 225, 202, 95, 225, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4823, 941, 8107, 5370, 1420, 12, 474, 506, 941, 559, 13, 225, 202, 95, 225, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
m_outputBytes = new byte[buf_length + 3];
m_outputBytes = new byte[BYTES_MAX + 3];
public WriterToUTF8Buffered(OutputStream out) throws UnsupportedEncodingException { m_os = out; // get 3 extra bytes to make buffer overflow checking simpler and faster // we won't have to keep checking for a few extra characters m_outputBytes = new byte[buf_length + 3]; // Big enough to hold the input chars that will be transformed // into output bytes in m_ouputBytes. m_inputChars = new char[(buf_length/3) + 1]; count = 0; // the old body of this constructor, before the buffersize was changed to a constant // this(out, 8*1024); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/7330d9a0deb7723cd01986a10cae56da8236edb7/WriterToUTF8Buffered.java/buggy/src/org/apache/xml/serializer/WriterToUTF8Buffered.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5497, 774, 5159, 28, 17947, 12, 4632, 596, 13, 1850, 1216, 15367, 225, 288, 1377, 312, 67, 538, 273, 596, 31, 1377, 368, 336, 890, 2870, 1731, 358, 1221, 1613, 9391, 6728, 9330, 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, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5497, 774, 5159, 28, 17947, 12, 4632, 596, 13, 1850, 1216, 15367, 225, 288, 1377, 312, 67, 538, 273, 596, 31, 1377, 368, 336, 890, 2870, 1731, 358, 1221, 1613, 9391, 6728, 9330, 2...
prevI2 = prevQ2 = 0.0; Re = Im = 0.0; I1ForOddPrev3 = I1ForEvenPrev3 = 0.0; I1ForOddPrev2 = I1ForEvenPrev2 = 0.0; smoothPeriod = 0.0; while (today <= endIdx) { adjustedPrevPeriod = (0.075 * period) + 0.54;
public TA_RetCode HT_DCPERIOD(int startIdx, int endIdx, double inReal[], MInteger outBegIdx, MInteger outNbElement, double outReal[]) { int outIdx, i; int lookbackTotal, today; double tempReal, tempReal2; double adjustedPrevPeriod, period; int trailingWMAIdx; double periodWMASum, periodWMASub, trailingWMAValue; double smoothedValue; final double a = 0.0962; final double b = 0.5769; double hilbertTempReal; int hilbertIdx; double[] detrender_Odd = new double[3]; ; double[] detrender_Even = new double[3]; ; double detrender; double prev_detrender_Odd; double prev_detrender_Even; double prev_detrender_input_Odd; double prev_detrender_input_Even; double[] Q1_Odd = new double[3]; ; double[] Q1_Even = new double[3]; ; double Q1; double prev_Q1_Odd; double prev_Q1_Even; double prev_Q1_input_Odd; double prev_Q1_input_Even; double[] jI_Odd = new double[3]; ; double[] jI_Even = new double[3]; ; double jI; double prev_jI_Odd; double prev_jI_Even; double prev_jI_input_Odd; double prev_jI_input_Even; double[] jQ_Odd = new double[3]; ; double[] jQ_Even = new double[3]; ; double jQ; double prev_jQ_Odd; double prev_jQ_Even; double prev_jQ_input_Odd; double prev_jQ_input_Even; double Q2, I2, prevQ2, prevI2, Re, Im; double I1ForOddPrev2, I1ForOddPrev3; double I1ForEvenPrev2, I1ForEvenPrev3; double rad2Deg; double todayValue, smoothPeriod; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; rad2Deg = 180.0 / (4.0 * Math.atan(1)); lookbackTotal = 32 + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_HT_DCPERIOD .ordinal()]); if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } outBegIdx.value = startIdx; trailingWMAIdx = startIdx - lookbackTotal; today = trailingWMAIdx; tempReal = inReal[today++]; periodWMASub = tempReal; periodWMASum = tempReal; tempReal = inReal[today++]; periodWMASub += tempReal; periodWMASum += tempReal * 2.0; tempReal = inReal[today++]; periodWMASub += tempReal; periodWMASum += tempReal * 3.0; trailingWMAValue = 0.0; i = 9; do { tempReal = inReal[today++]; { periodWMASub += tempReal; periodWMASub -= trailingWMAValue; periodWMASum += tempReal * 4.0; trailingWMAValue = inReal[trailingWMAIdx++]; smoothedValue = periodWMASum * 0.1; periodWMASum -= periodWMASub; } ; } while (--i != 0); hilbertIdx = 0; { detrender_Odd[0] = 0.0; detrender_Odd[1] = 0.0; detrender_Odd[2] = 0.0; detrender_Even[0] = 0.0; detrender_Even[1] = 0.0; detrender_Even[2] = 0.0; detrender = 0.0; prev_detrender_Odd = 0.0; prev_detrender_Even = 0.0; prev_detrender_input_Odd = 0.0; prev_detrender_input_Even = 0.0; } ; { Q1_Odd[0] = 0.0; Q1_Odd[1] = 0.0; Q1_Odd[2] = 0.0; Q1_Even[0] = 0.0; Q1_Even[1] = 0.0; Q1_Even[2] = 0.0; Q1 = 0.0; prev_Q1_Odd = 0.0; prev_Q1_Even = 0.0; prev_Q1_input_Odd = 0.0; prev_Q1_input_Even = 0.0; } ; { jI_Odd[0] = 0.0; jI_Odd[1] = 0.0; jI_Odd[2] = 0.0; jI_Even[0] = 0.0; jI_Even[1] = 0.0; jI_Even[2] = 0.0; jI = 0.0; prev_jI_Odd = 0.0; prev_jI_Even = 0.0; prev_jI_input_Odd = 0.0; prev_jI_input_Even = 0.0; } ; { jQ_Odd[0] = 0.0; jQ_Odd[1] = 0.0; jQ_Odd[2] = 0.0; jQ_Even[0] = 0.0; jQ_Even[1] = 0.0; jQ_Even[2] = 0.0; jQ = 0.0; prev_jQ_Odd = 0.0; prev_jQ_Even = 0.0; prev_jQ_input_Odd = 0.0; prev_jQ_input_Even = 0.0; } ; period = 0.0; outIdx = 0; prevI2 = prevQ2 = 0.0; Re = Im = 0.0; I1ForOddPrev3 = I1ForEvenPrev3 = 0.0; I1ForOddPrev2 = I1ForEvenPrev2 = 0.0; smoothPeriod = 0.0; while (today <= endIdx) { adjustedPrevPeriod = (0.075 * period) + 0.54; todayValue = inReal[today]; { periodWMASub += todayValue; periodWMASub -= trailingWMAValue; periodWMASum += todayValue * 4.0; trailingWMAValue = inReal[trailingWMAIdx++]; smoothedValue = periodWMASum * 0.1; periodWMASum -= periodWMASub; } ; if ((today % 2) == 0) { { hilbertTempReal = a * smoothedValue; detrender = -detrender_Even[hilbertIdx]; detrender_Even[hilbertIdx] = hilbertTempReal; detrender += hilbertTempReal; detrender -= prev_detrender_Even; prev_detrender_Even = b * prev_detrender_input_Even; detrender += prev_detrender_Even; prev_detrender_input_Even = smoothedValue; detrender *= adjustedPrevPeriod; } ; { hilbertTempReal = a * detrender; Q1 = -Q1_Even[hilbertIdx]; Q1_Even[hilbertIdx] = hilbertTempReal; Q1 += hilbertTempReal; Q1 -= prev_Q1_Even; prev_Q1_Even = b * prev_Q1_input_Even; Q1 += prev_Q1_Even; prev_Q1_input_Even = detrender; Q1 *= adjustedPrevPeriod; } ; { hilbertTempReal = a * I1ForEvenPrev3; jI = -jI_Even[hilbertIdx]; jI_Even[hilbertIdx] = hilbertTempReal; jI += hilbertTempReal; jI -= prev_jI_Even; prev_jI_Even = b * prev_jI_input_Even; jI += prev_jI_Even; prev_jI_input_Even = I1ForEvenPrev3; jI *= adjustedPrevPeriod; } ; { hilbertTempReal = a * Q1; jQ = -jQ_Even[hilbertIdx]; jQ_Even[hilbertIdx] = hilbertTempReal; jQ += hilbertTempReal; jQ -= prev_jQ_Even; prev_jQ_Even = b * prev_jQ_input_Even; jQ += prev_jQ_Even; prev_jQ_input_Even = Q1; jQ *= adjustedPrevPeriod; } ; if (++hilbertIdx == 3) hilbertIdx = 0; Q2 = (0.2 * (Q1 + jI)) + (0.8 * prevQ2); I2 = (0.2 * (I1ForEvenPrev3 - jQ)) + (0.8 * prevI2); I1ForOddPrev3 = I1ForOddPrev2; I1ForOddPrev2 = detrender; } else { { hilbertTempReal = a * smoothedValue; detrender = -detrender_Odd[hilbertIdx]; detrender_Odd[hilbertIdx] = hilbertTempReal; detrender += hilbertTempReal; detrender -= prev_detrender_Odd; prev_detrender_Odd = b * prev_detrender_input_Odd; detrender += prev_detrender_Odd; prev_detrender_input_Odd = smoothedValue; detrender *= adjustedPrevPeriod; } ; { hilbertTempReal = a * detrender; Q1 = -Q1_Odd[hilbertIdx]; Q1_Odd[hilbertIdx] = hilbertTempReal; Q1 += hilbertTempReal; Q1 -= prev_Q1_Odd; prev_Q1_Odd = b * prev_Q1_input_Odd; Q1 += prev_Q1_Odd; prev_Q1_input_Odd = detrender; Q1 *= adjustedPrevPeriod; } ; { hilbertTempReal = a * I1ForOddPrev3; jI = -jI_Odd[hilbertIdx]; jI_Odd[hilbertIdx] = hilbertTempReal; jI += hilbertTempReal; jI -= prev_jI_Odd; prev_jI_Odd = b * prev_jI_input_Odd; jI += prev_jI_Odd; prev_jI_input_Odd = I1ForOddPrev3; jI *= adjustedPrevPeriod; } ; { hilbertTempReal = a * Q1; jQ = -jQ_Odd[hilbertIdx]; jQ_Odd[hilbertIdx] = hilbertTempReal; jQ += hilbertTempReal; jQ -= prev_jQ_Odd; prev_jQ_Odd = b * prev_jQ_input_Odd; jQ += prev_jQ_Odd; prev_jQ_input_Odd = Q1; jQ *= adjustedPrevPeriod; } ; Q2 = (0.2 * (Q1 + jI)) + (0.8 * prevQ2); I2 = (0.2 * (I1ForOddPrev3 - jQ)) + (0.8 * prevI2); I1ForEvenPrev3 = I1ForEvenPrev2; I1ForEvenPrev2 = detrender; } Re = (0.2 * ((I2 * prevI2) + (Q2 * prevQ2))) + (0.8 * Re); Im = (0.2 * ((I2 * prevQ2) - (Q2 * prevI2))) + (0.8 * Im); prevQ2 = Q2; prevI2 = I2; tempReal = period; if ((Im != 0.0) && (Re != 0.0)) period = 360.0 / (Math.atan(Im / Re) * rad2Deg); tempReal2 = 1.5 * tempReal; if (period > tempReal2) period = tempReal2; tempReal2 = 0.67 * tempReal; if (period < tempReal2) period = tempReal2; if (period < 6) period = 6; else if (period > 50) period = 50; period = (0.2 * period) + (0.8 * tempReal); smoothPeriod = (0.33 * period) + (0.67 * smoothPeriod); if (today >= startIdx) { outReal[outIdx++] = smoothPeriod; } today++; } outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; }
2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/8c26ea7a2c59f9148f3db0db7ab39ed48689e601/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 19408, 67, 5528, 28437, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 6955, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 19408, 67, 5528, 28437, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 6955, 63, 6487, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, ...
return resultChildren.toArray();
return finalChildrenSet.toArray();
public synchronized Object[] getChildren(Object aParentElement) { ITreeContentProvider[] delegateProviders = contentService.findRelevantContentProviders(aParentElement); if (delegateProviders.length == 0) return NO_CHILDREN; List resultChildren = new ArrayList(); Object[] delegateChildren = null; for (int i = 0; i < delegateProviders.length; i++) { try { delegateChildren = delegateProviders[i].getChildren(aParentElement); if (delegateChildren != null && delegateChildren.length > 0) resultChildren.addAll(Arrays.asList(delegateChildren)); } catch (RuntimeException re) { String msg = NLS.bind(CommonNavigatorMessages.Could_not_provide_children_for_element, new Object[] {delegateProviders[i].getClass()}); NavigatorPlugin.log(msg, new Status(IStatus.ERROR, NavigatorPlugin.PLUGIN_ID, 0, msg, re)); } catch (Error e) { String msg = NLS.bind(CommonNavigatorMessages.Could_not_provide_children_for_element, new Object[] { delegateProviders[i].getClass()}); NavigatorPlugin.log(msg, new Status(IStatus.ERROR, NavigatorPlugin.PLUGIN_ID, 0, msg, e)); } } return resultChildren.toArray(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/377029d74a7de25fc7c2c47d145c9fad2b1088ee/NavigatorContentServiceContentProvider.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/internal/NavigatorContentServiceContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 1033, 8526, 10268, 12, 921, 279, 3054, 1046, 13, 288, 202, 202, 1285, 992, 1350, 2249, 8526, 7152, 10672, 273, 913, 1179, 18, 4720, 17018, 7445, 1350, 10672, 12, 69, 3054,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 1033, 8526, 10268, 12, 921, 279, 3054, 1046, 13, 288, 202, 202, 1285, 992, 1350, 2249, 8526, 7152, 10672, 273, 913, 1179, 18, 4720, 17018, 7445, 1350, 10672, 12, 69, 3054,...
fTextViewer.getTextWidget().getDisplay().beep();
StyledText text= fTextViewer.getTextWidget(); if (text != null && !text.isDisposed()) text.getDisplay().beep();
private void performFindNext(boolean forward, int position) { String string= fFindString.toString(); int index; if (string.length() == 0) { // workaround for empty selection in target fTextViewer.setSelectedRange(fBasePosition + fTextViewer.getVisibleRegion().getOffset(), 0); index= fBasePosition; } else { if (!forward) position--; index= findIndex(string, position, forward, fCasePosition != -1, true); } if (index == -1) { if (fFound) { // beep once fFound= false; fTextViewer.getTextWidget().getDisplay().beep(); } String pattern= EditorMessages.getString("Editor.FindIncremental.not_found.pattern"); //$NON-NLS-1$ statusError(MessageFormat.format(pattern, new Object[] { string })); } else { fFound= true; fCurrentIndex= index; String pattern= EditorMessages.getString("Editor.FindIncremental.found.pattern"); //$NON-NLS-1$ statusMessage(MessageFormat.format(pattern, new Object[] { string })); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a4bb1120d15d096b81a5875815fa367eb7b15064/IncrementalFindTarget.java/clean/bundles/org.eclipse.ui/Eclipse UI Text Editor/org/eclipse/ui/texteditor/IncrementalFindTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3073, 3125, 2134, 12, 6494, 5104, 16, 509, 1754, 13, 288, 202, 202, 780, 533, 33, 284, 3125, 780, 18, 10492, 5621, 202, 202, 474, 770, 31, 202, 202, 430, 261, 1080, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3073, 3125, 2134, 12, 6494, 5104, 16, 509, 1754, 13, 288, 202, 202, 780, 533, 33, 284, 3125, 780, 18, 10492, 5621, 202, 202, 474, 770, 31, 202, 202, 430, 261, 1080, 18...
int attrIndex = fAttributeTraverser.traverseGlobal(globalComp, currSchemaDoc, fBogusGrammar);
fAttributeTraverser.traverseGlobal(globalComp, currSchemaDoc, currSG);
protected void traverseSchemas() { // the process here is very similar to that in // buildGlobalRegistries, except we can't set our schemas as // hidden for a second time; so make them all visible again // first! setSchemasVisible(fRoot); Stack schemasToProcess = new Stack(); schemasToProcess.push(fRoot); while(!schemasToProcess.empty()) { XSDocumentInfo currSchemaDoc = (XSDocumentInfo)schemasToProcess.pop(); Document currDoc = currSchemaDoc.fSchemaDoc; if(DOMUtil.isHidden(currDoc)) { // must have processed this already! continue; } Element currRoot = DOMUtil.getRoot(currDoc); // traverse this schema's global decls for(Element globalComp = DOMUtil.getFirstVisibleChildElement(currRoot); globalComp != null; globalComp = DOMUtil.getNextVisibleSiblingElement(globalComp)){ // We'll always want to set this as hidden! DOMUtil.setHidden(globalComp); String componentType = DOMUtil.getLocalName(globalComp); // includes and imports will not show up here! if(componentType.equals(SchemaSymbols.ELT_ANNOTATION)) { // REVISIT: according to 3.13.2 the PSVI needs the parent's attributes; // thus this should be done in buildGlobalNameRegistries not here... // REVISIT: store returned int in grammar int annotationDeclIndex = fElementTraverser.traverseAnnotationDecl(globalComp, null, true); } else if(DOMUtil.getLocalName(globalComp).equals(SchemaSymbols.ELT_REDEFINE)) { for(Element redefinedComp = DOMUtil.getFirstVisibleChildElement(globalComp); redefinedComp != null; redefinedComp = DOMUtil.getNextVisibleSiblingElement(redefinedComp)) { String redefinedComponentType = DOMUtil.getLocalName(redefinedComp); DOMUtil.setHidden(redefinedComp); if(redefinedComponentType.equals(SchemaSymbols.ELT_ATTRIBUTEGROUP)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int attrGroupIndex = fAttributeGroupTraverser.traverse(redefinedComp, currSchemaDoc, fBogusGrammar); } else if(redefinedComponentType.equals(SchemaSymbols.ELT_COMPLEXTYPE)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int complexTypeIndex = fComplexTypeTraverser.traverse(redefinedComp, currSchemaDoc, fBogusGrammar, new Stack()); } else if(redefinedComponentType.equals(SchemaSymbols.ELT_GROUP)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int groupIndex = fGroupTraverser.traverse(redefinedComp, currSchemaDoc, fBogusGrammar); } else if (redefinedComponentType.equals(SchemaSymbols.ELT_SIMPLETYPE)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int simpleTypeIndex = fSimpleTypeTraverser.traverse(redefinedComp, currSchemaDoc, fBogusGrammar); } else if (redefinedComponentType.equals(SchemaSymbols.ELT_ANNOTATION)) { // REVISIT: according to 3.13.2 the PSVI needs the parent's attributes; // thus this should be done in buildGlobalNameRegistries not here... // REVISIT: store returned int in grammar int annotationDeclIndex = fElementTraverser.traverseAnnotationDecl(globalComp, null, true); } else { // We'll have reported an error here already... } } // end march through <redefine> children } else if(componentType.equals(SchemaSymbols.ELT_ATTRIBUTE)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int attrIndex = fAttributeTraverser.traverseGlobal(globalComp, currSchemaDoc, fBogusGrammar); } else if(componentType.equals(SchemaSymbols.ELT_ATTRIBUTEGROUP)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int attrGroupIndex = fAttributeGroupTraverser.traverse(globalComp, currSchemaDoc, fBogusGrammar); } else if(componentType.equals(SchemaSymbols.ELT_COMPLEXTYPE)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int complexTypeIndex = fComplexTypeTraverser.traverse(globalComp, currSchemaDoc, fBogusGrammar, new Stack()); } else if(componentType.equals(SchemaSymbols.ELT_ELEMENT)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int elementIndex = fElementTraverser.traverseGlobal(globalComp, currSchemaDoc, fBogusGrammar); } else if(componentType.equals(SchemaSymbols.ELT_GROUP)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int groupIndex = fGroupTraverser.traverse(globalComp, currSchemaDoc, fBogusGrammar); } else if(componentType.equals(SchemaSymbols.ELT_NOTATION)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int notationIndex = fNotationTraverser.traverse(globalComp, currSchemaDoc, fBogusGrammar); } else if(componentType.equals(SchemaSymbols.ELT_SIMPLETYPE)) { // REVISIT: put index in grammar! // REVISIT: handle grammars int simpleTypeIndex = fSimpleTypeTraverser.traverse(globalComp, currSchemaDoc, fBogusGrammar); } else { // we'll have already reported an error above if we get here. } } // end for // now we're done with this one! DOMUtil.setHidden(currDoc); // now add the schemas this guy depends on Vector currSchemaDepends = (Vector)fDependencyMap.get(currSchemaDoc); for(int i = 0; i < currSchemaDepends.size(); i++) { schemasToProcess.push(currSchemaDepends.elementAt(i)); } } // while } // end traverseSchemas
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/0f2aae2c22c5dc0957f0413b6320b4c5497482e8/XSDHandler.java/buggy/src/org/apache/xerces/impl/v2/XSDHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 10080, 16749, 1435, 288, 3639, 368, 326, 1207, 2674, 353, 8572, 7281, 358, 716, 316, 3639, 368, 1361, 5160, 1617, 22796, 16, 1335, 732, 848, 1404, 444, 3134, 12783, 487, 3639, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10080, 16749, 1435, 288, 3639, 368, 326, 1207, 2674, 353, 8572, 7281, 358, 716, 316, 3639, 368, 1361, 5160, 1617, 22796, 16, 1335, 732, 848, 1404, 444, 3134, 12783, 487, 3639, ...
ensureSize(index + 4); types[index >> 1] = PathIterator.SEG_QUADTO; points[index++] = x1; points[index++] = y1; points[index++] = x2; points[index++] = y2;
ensureSize(index + 2); types[index] = PathIterator.SEG_QUADTO; xpoints[index] = x1; ypoints[index++] = y1; xpoints[index] = x2; ypoints[index++] = y2;
public void quadTo(float x1, float y1, float x2, float y2) { ensureSize(index + 4); types[index >> 1] = PathIterator.SEG_QUADTO; points[index++] = x1; points[index++] = y1; points[index++] = x2; points[index++] = y2; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/622e1e063afc1f9ed70c5fc0b4a8ee1ca8b9de15/GeneralPath.java/clean/java/awt/geom/GeneralPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 9474, 774, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 13, 225, 288, 565, 3387, 1225, 12, 1615, 397, 1059, 1769, 565, 1953, 63, 1615, 1671, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 9474, 774, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 13, 225, 288, 565, 3387, 1225, 12, 1615, 397, 1059, 1769, 565, 1953, 63, 1615, 1671, ...
if (OSName.isNotWindowsAndNotMac()) m_LockToSoar = true ;
boolean lockDefault = false ; if (!OSName.isWindows()) lockDefault = true ; m_IndentSize = element.getAttributeIntThrows("indent") ; m_ExpandTracePersistent = element.getAttributeBooleanDefault("auto-expand", false) ; m_LockToSoar = element.getAttributeBooleanDefault("lock-to-soar", lockDefault) ;
public void loadFromXML(MainFrame frame, doc.Document doc, Pane parent, general.JavaElementXML element) throws Exception { m_IndentSize = element.getAttributeIntThrows("indent") ; m_ExpandTracePersistent = element.getAttributeBooleanDefault("auto-expand", false) ; m_LockToSoar = element.getAttributeBooleanDefault("lock-to-soar", false) ; // On Linux the SWT implementations are so slow Soar can get far to far ahead // of the debugger to the point where it's essentially impossible to stop soar // because it's 1000's of decisions ahead of the debugger. // So until the Linux SWT performance improves, we'll turn on lock-to-soar by // default on Linux and do this at the start of each session. // (If we want to allow the user to turn this off persistently we could just // make it the default in the loading code above but that seems like a bad idea // given that we don't think this is a valid configuration on Linux) if (OSName.isNotWindowsAndNotMac()) m_LockToSoar = true ; boolean filtering = element.getAttributeBooleanDefault("filtering", true) ; long filter = element.getAttributeLongDefault("filter", 0) ; super.loadFromXML(frame, doc, parent, element) ; // Have to wait until base class has been called and window has been created before setting these values if (m_FoldingText != null) { m_FoldingText.setFilteringEnabled(filtering) ; m_FoldingText.setExclusionFilter(filter, false) ; updateButtonState() ; } }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/4f3571dc7f806b6ebe4a05d60a04bc165f5c5383/FoldingTextView.java/buggy/SoarSuite/Tools/SoarJavaDebugger/modules/FoldingTextView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 24935, 4201, 12, 6376, 3219, 2623, 16, 997, 18, 2519, 997, 16, 453, 8806, 982, 16, 7470, 18, 5852, 1046, 4201, 930, 13, 1216, 1185, 202, 95, 202, 202, 81, 67, 7790, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24935, 4201, 12, 6376, 3219, 2623, 16, 997, 18, 2519, 997, 16, 453, 8806, 982, 16, 7470, 18, 5852, 1046, 4201, 930, 13, 1216, 1185, 202, 95, 202, 202, 81, 67, 7790, 122...
return toStringResult; }
return toStringResult; }
public String toString() { return toStringResult; }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/MockDynamicMock.java/clean/jmock/core/src/test/jmock/core/testsupport/MockDynamicMock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 327, 1762, 1253, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 288, 3639, 327, 1762, 1253, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
public void setHitPointMap(final HashMap newMap)
public void setHitPointMap(final HashMap<String, Integer> newMap)
public void setHitPointMap(final HashMap newMap) { hitPointMap.clear(); hitPointMap.putAll(newMap); }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/Race.java/clean/code/src/java/pcgen/core/Race.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 13616, 2148, 863, 12, 6385, 4317, 28905, 13, 202, 95, 202, 202, 15989, 2148, 863, 18, 8507, 5621, 202, 202, 15989, 2148, 863, 18, 458, 1595, 12, 2704, 863, 1769, 202...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 13616, 2148, 863, 12, 6385, 4317, 28905, 13, 202, 95, 202, 202, 15989, 2148, 863, 18, 8507, 5621, 202, 202, 15989, 2148, 863, 18, 458, 1595, 12, 2704, 863, 1769, 202...
private void close () {
void close () {
private void close () { in_r.appendEOF(); numConsoles--; dispose(); // Give thread chance to finish and clean up try { Thread.sleep(100); } catch (InterruptedException ex) { } if (numConsoles <= 0) System.exit(0); // Thread.stop is deprecated in JDK 1.2, but I see no good // alternative. (Thread.destroy is not implemented!) thread.stop(); }
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/90756ec146a1ead127a331a9902f85bf8a1b924f/GuiConsole.java/buggy/kawa/GuiConsole.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 1746, 1832, 288, 565, 316, 67, 86, 18, 6923, 12706, 5621, 565, 818, 9054, 9112, 413, 31, 565, 15825, 5621, 565, 368, 22374, 2650, 17920, 358, 4076, 471, 2721, 731, 565, 775, 288, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 1746, 1832, 288, 565, 316, 67, 86, 18, 6923, 12706, 5621, 565, 818, 9054, 9112, 413, 31, 565, 15825, 5621, 565, 368, 22374, 2650, 17920, 358, 4076, 471, 2721, 731, 565, 775, 288, 1...
imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_UpdateBill", new String[] {updateId,
imcref.getDatabase().executeUpdateProcedure( "B_UpdateBill", new String[] {updateId,
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { // Lets get the user object imcode.server.user.UserDomainObject user = Utility.getLoggedOnUser( req ); if ( user == null ) return; if ( !isUserAuthorized( req, res, user ) ) { return; } // Lets get the standard SESSION parameters Properties params = this.getStandardParameters( req ); ImcmsServices imcref = Imcms.getServices(); // Lets check that the user is an administrator DocumentMapper documentMapper = imcref.getDocumentMapper(); DocumentDomainObject document = documentMapper.getDocument( Integer.parseInt( params.getProperty( "META_ID" ) ) ); if ( user.canEdit( document ) == false ) { String header = "BillBoardAdmin servlet. "; new BillBoardError( req, res, header, 6, user.getLanguageIso639_2(), user ); return; } // ******** SHOW ARCHIVES BILLS ********* if ( req.getParameter( "ADMIN_OLD_BILLS" ) != null ) { res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=OLD_DISCUSSION" ); return; } if ( req.getParameter( "ADMIN_NEW_BILLS" ) != null ) { res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=DISCUSSION" ); return; } // ********* REGISTER NEW TEMPLATE ******** if ( req.getParameter( "REGISTER_TEMPLATE_LIB" ) != null ) { // Lets get the new library name and validate it String newLibName = req.getParameter( "TEMPLATE_LIB_NAME" ); if ( newLibName == null ) { String header = "BillBoardAdmin servlet. "; new BillBoardError( req, res, header, 80, user.getLanguageIso639_2(), user ); return; } newLibName = super.verifySqlText( newLibName ); // Lets check if we already have a templateset with that name String libNameExists = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_FindTemplateLib", new String[] {newLibName} ); if ( !libNameExists.equalsIgnoreCase( "-1" ) ) { String header = "BillBoardAdmin servlet. "; new BillBoardError( req, res, header, 84, user.getLanguageIso639_2(), user ); return; } imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_AddTemplateLib", new String[] {newLibName} ); // Lets copy the original folders to the new foldernames int metaId = getMetaId( req ); FileManager fileObj = new FileManager(); File templateSrc = new File( imcref.getExternalTemplateFolder( metaId, user), "original" ); File imageSrc = new File( RmiConf.getImagePathForExternalDocument( imcref, metaId, user), "original" ); File templateTarget = new File( imcref.getExternalTemplateFolder( metaId, user), newLibName ); File imageTarget = new File( RmiConf.getImagePathForExternalDocument( imcref, metaId, user), newLibName ); fileObj.copyDirectory( templateSrc, templateTarget ); fileObj.copyDirectory( imageSrc, imageTarget ); res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=META" ); return; } // ********* PREPARE ADMIN TEMPLATES ******** if ( req.getParameter( "UPLOAD_CONF" ) != null ) { String libName = ( req.getParameter( "TEMPLATE_NAME" ) == null ) ? "" : ( req.getParameter( "TEMPLATE_NAME" ) ); String uploadType = ( req.getParameter( "UPLOAD_TYPE" ) == null ) ? "" : ( req.getParameter( "UPLOAD_TYPE" ) ); params.setProperty( "TEMPLATE_NAME", libName ); params.setProperty( "UPLOAD_TYPE", uploadType ); String url = "BillBoardAdmin?ADMIN_TYPE=META"; url += "&setname=" + libName + "&UPLOAD_TYPE=" + uploadType; res.sendRedirect( url ); return; } // ********* SET TEMPLATE LIB FOR A CONFERENCE ******** if ( req.getParameter( "SET_TEMPLATE_LIB" ) != null ) { // Lets get the new library name and validate it String newLibName = req.getParameter( "TEMPLATE_ID" ); if ( newLibName == null ) { String header = "BillBoardAdmin servlet. "; new BillBoardError( req, res, header, 80, user.getLanguageIso639_2(), user ); return; } // Lets find the selected template in the database and get its id // if not found, -1 will be returned String templateId = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetTemplateIdFromName", new String[] {newLibName} ); if ( templateId.equalsIgnoreCase( "-1" ) ) { String header = "BillBoardAdmin servlet. "; new BillBoardError( req, res, header, 81, user.getLanguageIso639_2(), user ); return; } // Ok, lets update the conference with this new templateset. imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_SetTemplateLib", new String[] {params.getProperty( "META_ID" ), newLibName} ); res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=META" ); return; } // SET TEMPLATE LIB // ********* DELETE REPLY ******** Peter says OK!!!! if ( req.getParameter( "DELETE_REPLY" ) != null ) { // Lets get all the replies id:s String repliesId = req.getParameter( "bill_id" ); // Lets delete all marked replies. Observe that the first one wont be deleted! // if the user wants to delete the first one then he has to delete the discussion if ( repliesId != null ) { imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_DeleteBill", new String[] {repliesId} ); } //*** HttpSession session = req.getSession( false ); String aSectionId = (String)session.getAttribute( "BillBoard.section_id" ); String aDiscId = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetLastDiscussionId", new String[] {params.getProperty( "META_ID" ), aSectionId} ); session.setAttribute( "BillBoard.disc_id", aDiscId ); String param = ""; if ( !aDiscId.equals( "-1" ) ) { param = "?DISC_ID=" + aDiscId; } res.sendRedirect( "BillBoardDiscView" + param ); return; } // ********* RESAVE REPLY ******** Peter says OK!!!! if ( req.getParameter( "RESAVE_REPLY" ) != null ) { // Lets get all the replies id:s String updateId = req.getParameter( "bill_id" ); // Lets get the seleted textboxes headers and texts values. if ( updateId != null ) { String newText = req.getParameter( "TEXT_BOX" ); if ( newText.equals( "" ) || newText == null ) { BillBoardError err = new BillBoardError(); newText = err.getErrorMessage( req, 70 ); } String newHeader = req.getParameter( "REPLY_HEADER" ); if ( newHeader.equals( "" ) || newHeader == null ) { BillBoardError err = new BillBoardError(); newHeader = err.getErrorMessage( req, 71 ); } String newEmail = req.getParameter( "EPOST" ); if ( newEmail.equals( "" ) || newEmail == null ) { BillBoardError err = new BillBoardError(); newEmail = err.getErrorMessage( req, 74 ); } // Lets validate the new text for the sql question newHeader = super.verifySqlText( newHeader ); newText = super.verifySqlText( newText ); imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_UpdateBill", new String[] {updateId, newHeader, newText, newEmail} ); } res.sendRedirect( "BillBoardDiscView" ); return; } // ********* DELETE DISCUSSION ******** Peter says OK!!!! if ( req.getParameter( "DELETE_DISCUSSION" ) != null ) { // Lets get all the discussion id:s String[] discIds = this.getDelDiscParameters( req ); // Lets delete all the bills and all the replies to that bill. if ( discIds != null ) { for ( int i = 0; i < discIds.length; i++ ) { imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_DeleteBill", new String[] {discIds[i]} ); } } res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=DISCUSSION" ); return; } // ********* MOVE BILLS TO ANITHER SECTION ******** Peter says OK!!!! if ( req.getParameter( "MOVE_BILLS" ) != null ) { String redirectParam = req.getParameter( "BILLTYPES" ); if ( redirectParam.equalsIgnoreCase( "OLD_ONES" ) ) { redirectParam = "OLD_DISCUSSION"; } else { redirectParam = "DISCUSSION"; } // Lets get the section_id and set our session object before updating String aSectionId = params.getProperty( "SECTION_ID" ); String[] discIds = this.getDelDiscParameters( req ); if ( discIds == null ) { discIds = new String[0]; } String moveToId = req.getParameter( "MOVE_TO_SECTION" ) == null ? aSectionId : req.getParameter( "MOVE_TO_SECTION" ); //Lets move all the bills to the section admin wants for ( int i = 0; i < discIds.length; i++ ) { imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_ChangeSection", new String[] {discIds[i] + ", " + moveToId} ); } //Lets update the session in case we moved the shown bill HttpSession session = req.getSession( false ); String aDiscId = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetLastDiscussionId", new String[] {params.getProperty( "META_ID" ), aSectionId} ); session.setAttribute( "BillBoard.disc_id", aDiscId ); //ok lets rebuild the page res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=" + redirectParam ); return; } // ********* MOVE A BILL TO ANITHER SECTION ******** Peter says OK!!!! if ( req.getParameter( "MOVE_A_BILL" ) != null ) { // Lets get the section_id and set our session object before updating String aSectionId = params.getProperty( "SECTION_ID" ); //lets get the bill_id String repliesId = req.getParameter( "bill_id" ); String moveToId = req.getParameter( "MOVE_TO_SECTION" ) == null ? aSectionId : req.getParameter( "MOVE_TO_SECTION" ); //Lets move all the bills to the section admin wants imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_ChangeSection", new String[] {repliesId, moveToId} ); //Lets update the session in case we moved the shown bill HttpSession session = req.getSession( false ); String sqlStr = "B_GetLastDiscussionId"; String aDiscId = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( sqlStr, new String[] {params.getProperty( "META_ID" ), aSectionId} ); session.setAttribute( "BillBoard.disc_id", aDiscId ); //ok lets rebuild the page res.sendRedirect( "BillBoardDiscView" ); return; } // ********* DELETE SECTION ******** Peter says OK!!!! if ( req.getParameter( "DELETE_SECTION" ) != null ) { params = this.getDelSectionParameters( req, params ); // Lets get the section_id and set our session object before updating String aSectionId = params.getProperty( "SECTION_ID" ); // Lets get all discussions for that setion and delete those before deleting the section // B_GetAllBillsInSection @aSectionId int String[] discs = imcref.getExceptionUnhandlingDatabase().executeArrayProcedure( "B_GetAllBillsInSection", new String[] {aSectionId} ); if ( discs != null ) { for ( int i = 0; i < discs.length; i++ ) { imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_DeleteBill", new String[] {discs[i]} ); } } // B_DeleteSection @aSectionId int imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_DeleteSection", new String[] {params.getProperty( "SECTION_ID" )} ); //ok lets update the session incase we deleted the current one String first = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_GetFirstSection", new String[] {params.getProperty( "META_ID" )} ); HttpSession session = req.getSession( false ); session.setAttribute( "BillBoard.section_id", first ); this.doGet( req, res ); return; } // ********* ADD SECTION ******** Peter says OK!!!! if ( req.getParameter( "ADD_SECTION" ) != null ) { // Lets get addForum parameters params = this.getAddSectionParameters( req, params ); // Lets verify the parameters for the sql questions. params = super.verifyForSql( params ); // Lets check if a forum with that name exists String foundIt = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_FindSectionName", new String[] {params.getProperty( "META_ID" ), params.getProperty( "NEW_SECTION_NAME" )} ); if ( !foundIt.equalsIgnoreCase( "-1" ) ) { String header = "BillBoardAdmin servlet. "; new BillBoardError( req, res, header, 85, user.getLanguageIso639_2(), user ); return; } final String archiveMode = "A"; final String discussionsToShow = "30"; final String daysToShow = "14"; imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_AddNewSection", new String[] {params.getProperty( "META_ID" ), params.getProperty( "NEW_SECTION_NAME" ), archiveMode, discussionsToShow, daysToShow} ); this.doGet( req, res ); return; } // ********* CHANGE SECTION NAME ******** Peter says OK!!!! if ( req.getParameter( "CHANGE_SECTION_NAME" ) != null ) { // Lets get addForum parameters params = this.getRenameSectionParameters( req, params ); // Lets verify the parameters for the sql questions. params = super.verifyForSql( params ); // Lets check if a forum with that name exists String foundIt = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "B_FindSectionName", new String[] {params.getProperty( "META_ID" ), params.getProperty( "NEW_SECTION_NAME" )} ); if ( !foundIt.equalsIgnoreCase( "-1" ) ) { String header = "BillBoardAdmin servlet. "; new BillBoardError( req, res, header, 85, user.getLanguageIso639_2(), user ); return; } imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_RenameSection", new String[] {params.getProperty( "SECTION_ID" ), params.getProperty( "NEW_SECTION_NAME" )} ); this.doGet( req, res ); return; } // ********* CHANGE SUBJECT STRING ******** if ( req.getParameter( "CHANGE_SUBJECT_NAME" ) != null ) { // Lets get the meta_id and the new subject string String meta_id = req.getParameter( "meta_id" ); String new_subject = req.getParameter( "NEW_SUBJECT_NAME" ); if ( meta_id == null || new_subject == null ) { return; } String sqlSubjAddQ = "B_SetNewSubjectString"; imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( sqlSubjAddQ, new String[] {meta_id, new_subject} ); res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=SECTION" ); return; } // ********* SET SHOW_DISCUSSION_COUNTER ******** Peter says OK!!!! if ( req.getParameter( "SHOW_DISCUSSION_NBR" ) != null ) { // Lets get addForum parameters params = this.getShowDiscussionNbrParameters( req, params ); imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_SetNbrOfDiscsToShow", new String[] {params.getProperty( "SECTION_ID" ), params.getProperty( "NBR_OF_DISCS_TO_SHOW" )} ); res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=SECTION" ); return; } // ********* SET SHOW NUMBERS OF DAYS ******** Peter says OK!!!! if ( req.getParameter( "SHOW_DISCUSSION_DAYS" ) != null ) { // Lets get addForum parameters params = this.getShowDiscussionDaysParameters( req, params ); imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "B_SetNbrOfDaysToShow", new String[] {params.getProperty( "SECTION_ID" ), params.getProperty( "NBR_OF_DAYS_TO_SHOW" )} ); res.sendRedirect( "BillBoardAdmin?ADMIN_TYPE=SECTION" ); return; } } // DoPost
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d057ca863273084a5224bf799ac53247a0f2f321/BillBoardAdmin.java/buggy/server/src/com/imcode/imcms/servlet/billboard/BillBoardAdmin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 5411, 1216, 16517, 16, 1860, 288, 3639, 368, 511, 2413, 336, 326, 729, 733, 3639, 709, 710, 18, 3567, 18, 1355, 18, 1299, 3748...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 5411, 1216, 16517, 16, 1860, 288, 3639, 368, 511, 2413, 336, 326, 729, 733, 3639, 709, 710, 18, 3567, 18, 1355, 18, 1299, 3748...
this.frozen = frozen; }
this.frozen = frozen; }
public void setFrozen(boolean frozen) { this.frozen = frozen; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/addcb75d5d86d9b1fd628d84d22b74cfc41f078e/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24340, 9808, 12, 6494, 12810, 13, 288, 3639, 333, 18, 28138, 273, 12810, 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, ...
[ 1, 1, 1, 1, 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, 1071, 918, 24340, 9808, 12, 6494, 12810, 13, 288, 3639, 333, 18, 28138, 273, 12810, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
MylarPlugin.fail(e, "Could not delete context file", false);
ErrorLogger.fail(e, "Could not delete context file", false);
public void contextDeleted(String id, String path) { IMylarContext context = currentContext.getContextMap().get(id); eraseContext(id, false); if (context != null) { // TODO: this notification is redundant with eraseContext's setContextCapturePaused(true); for (IMylarContextListener listener : new ArrayList<IMylarContextListener>(listeners)) { listener.contextDeactivated(context); } setContextCapturePaused(false); } try { File file = getFileForContext(path); if (file.exists()) { file.delete(); } } catch (SecurityException e) { MylarPlugin.fail(e, "Could not delete context file", false); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/6e4c36ce82823e91011a538b1e18917054cfdf11/MylarContextManager.java/buggy/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/internal/MylarContextManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 819, 7977, 12, 780, 612, 16, 514, 589, 13, 288, 3639, 6246, 93, 7901, 1042, 819, 273, 31184, 18, 29120, 863, 7675, 588, 12, 350, 1769, 3639, 22038, 1042, 12, 350, 16, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 819, 7977, 12, 780, 612, 16, 514, 589, 13, 288, 3639, 6246, 93, 7901, 1042, 819, 273, 31184, 18, 29120, 863, 7675, 588, 12, 350, 1769, 3639, 22038, 1042, 12, 350, 16, 6...
throw new TestNGException(ex);
throw new TestNGException("An error occured while instantiating class " + declaringClass.getName(), cause);
public static Object createInstance(Class declaringClass, Map<Class, IClass> classes, XmlTest xmlTest, IAnnotationFinder finder) { Object result = null; try { // // Any annotated constructor? // Constructor constructor = findAnnotatedConstructor(finder, declaringClass); if (null != constructor) { IParameters annotation = (IParameters) finder.findAnnotation(constructor, IParameters.class); String[] parameterNames = annotation.getValue(); Object[] parameters = Parameters.createParameters(constructor, "@Parameters", parameterNames, xmlTest.getParameters(), xmlTest.getSuite()); result = constructor.newInstance(parameters); } // // No, just try to instantiate the parameterless constructor (or the one // with a String) // else { // If this class is a (non-static) nested class, the constructor contains a hidden // parameter of the type of the enclosing class Class[] parameterTypes = new Class[0]; Object[] parameters = new Object[0]; Class ec = getEnclosingClass(declaringClass); boolean isStatic = 0 != (declaringClass.getModifiers() & Modifier.STATIC); // Only add the extra parameter if the nested class is not static if ((null != ec) && !isStatic) { parameterTypes = new Class[] { ec }; // Create an instance of the enclosing class so we can instantiate // the nested class (actually, we reuse the existing instance). IClass enclosingIClass = classes.get(ec); Object[] enclosingInstances = null; if (null != enclosingIClass) { enclosingInstances = enclosingIClass.getInstances(false); if ((null == enclosingInstances) || (enclosingInstances.length == 0)) { Object o = ec.newInstance(); enclosingIClass.addInstance(o); enclosingInstances = new Object[] { o }; } } else { enclosingInstances = new Object[] { ec.newInstance() }; } Object enclosingClassInstance = enclosingInstances[0]; // Utils.createInstance(ec, classes, xmlTest, finder); parameters = new Object[] { enclosingClassInstance }; } // isStatic Constructor ct = declaringClass.getDeclaredConstructor(parameterTypes); result = ct.newInstance(parameters); } } catch (TestNGException ex) { // We need to pass this along throw ex; } catch (InvocationTargetException ex) { ppp("FAILED TO CREATE CLASS " + declaringClass); throw new TestNGException(ex);// result = tryOtherConstructor(declaringClass); } catch (IllegalAccessException ex) { result = tryOtherConstructor(declaringClass); } catch (NoSuchMethodException ex) { result = tryOtherConstructor(declaringClass); } catch (InstantiationException ex) { result = tryOtherConstructor(declaringClass); } catch (Exception ex) { // Something else went wrong when running the constructor throw new TestNGException(ex); } return result; }
48015 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48015/fd3d62963585c7d537041ba7ed53ebda5eef31c4/Utils.java/clean/src/main/org/testng/internal/Utils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 20075, 12, 797, 3496, 14682, 16, 4766, 1377, 1635, 32, 797, 16, 467, 797, 34, 3318, 16, 4766, 1377, 5714, 4709, 2025, 4709, 16, 4766, 1377, 467, 3257, 8441, 7532, 13, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 20075, 12, 797, 3496, 14682, 16, 4766, 1377, 1635, 32, 797, 16, 467, 797, 34, 3318, 16, 4766, 1377, 5714, 4709, 2025, 4709, 16, 4766, 1377, 467, 3257, 8441, 7532, 13, 2...
columns.add(data); }
columns.add(data); }
public void addColumnData(ColumnLayoutData data) { columns.add(data); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2326ffbb0e0d3d0f9c88bdc55fc9c09e9cd0218f/TableLayout.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10871, 751, 12, 1494, 3744, 751, 501, 13, 288, 3639, 2168, 18, 1289, 12, 892, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10871, 751, 12, 1494, 3744, 751, 501, 13, 288, 3639, 2168, 18, 1289, 12, 892, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
public IRubyObject evalSimple(ThreadContext context, IRubyObject src, String file) { // this is ensured by the callers assert file != null; ThreadContext threadContext = getRuntime().getCurrentContext(); ISourcePosition savedPosition = threadContext.getPosition(); // no binding, just eval in "current" frame (caller's frame) Iter iter = threadContext.getFrameIter(); IRubyObject result = getRuntime().getNil(); try { // hack to avoid using previous frame if we're the first frame, since this eval is used to start execution too if (threadContext.getPreviousFrame() != null) { threadContext.setFrameIter(threadContext.getPreviousFrameIter()); } result = EvaluationState.eval(threadContext, getRuntime().parse(src.toString(), file, threadContext.getCurrentScope()), this); } finally { // FIXME: this is broken for Proc, see above threadContext.setFrameIter(iter); // restore position threadContext.setPosition(savedPosition); } return result; }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/c8b66db475de1dc66f347884891dd70d9943689b/RubyObject.java/clean/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 5302, 5784, 12, 3830, 1042, 819, 16, 15908, 10340, 921, 1705, 16, 514, 585, 13, 288, 3639, 368, 333, 353, 3387, 72, 635, 326, 19932, 3639, 1815, 585, 480, 446, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15908, 10340, 921, 5302, 5784, 12, 3830, 1042, 819, 16, 15908, 10340, 921, 1705, 16, 514, 585, 13, 288, 3639, 368, 333, 353, 3387, 72, 635, 326, 19932, 3639, 1815, 585, 480, 446, ...
SequenceFormat ff = new EmblLikeFormat();
SequenceFormat ff = new EmblFormat();
public static void main(String[] args) throws Exception {// String dbURL = "jdbc:mysql://fred.biohack.egenetics.com/test_biosql";// String dbUser = "";// String dbPass = "";// String bioName = "embl_rod"; Class.forName("org.postgresql.Driver"); String dbURL = "jdbc:postgresql://localhost:5432/biosql"; String dbUser = "keith"; String dbPass = ""; String bioName = "n_meningitidis"; SequenceDB seqDB = new BioSQLSequenceDB(dbURL, dbUser, dbPass, bioName, false); Sequence seq = seqDB.getSequence(args[0]); SequenceFormat ff = new EmblLikeFormat(); ff.writeSequence(seq, "embl", System.out); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/a6c93686e678895c98910fbfab6dfc7442e8ba69/SeqEMBL.java/buggy/demos/biosql/SeqEMBL.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 3639, 1216, 1185, 565, 288, 759, 282, 202, 780, 1319, 1785, 273, 315, 24687, 30, 12527, 2207, 74, 1118, 18, 21010, 76, 484, 18, 1332, 31034...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8526, 833, 13, 3639, 1216, 1185, 565, 288, 759, 282, 202, 780, 1319, 1785, 273, 315, 24687, 30, 12527, 2207, 74, 1118, 18, 21010, 76, 484, 18, 1332, 31034...
log.debug("stopping " + hsqldbServer); Class.forName("org.hsqldb.jdbcDriver" ); Connection conn = DriverManager.getConnection("jdbc:hsqldb:mem:test", "sa", ""); Statement stat = conn.createStatement(); stat.executeUpdate("SHUTDOWN"); conn.close();
if (hsql) { Class.forName("org.hsqldb.jdbcDriver" ); Connection conn = DriverManager.getConnection("jdbc:hsqldb:mem:test", "sa", ""); Statement stat = conn.createStatement(); stat.executeUpdate("SHUTDOWN"); conn.close(); }
private void stopInVMDatabase() throws Exception { log.debug("stopping " + hsqldbServer); Class.forName("org.hsqldb.jdbcDriver" ); Connection conn = DriverManager.getConnection("jdbc:hsqldb:mem:test", "sa", ""); Statement stat = conn.createStatement(); stat.executeUpdate("SHUTDOWN"); conn.close(); // faster stop// hsqldbServer.stop(); }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/c3bee6ed37809ef1ee3ce49bcc3100993d413023/ServiceContainer.java/buggy/tests/src/org/jboss/test/messaging/tools/jmx/ServiceContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 2132, 382, 7397, 4254, 1435, 1216, 1185, 282, 288, 1377, 613, 18, 4148, 2932, 5681, 1382, 315, 397, 366, 4669, 1966, 2081, 1769, 1377, 1659, 18, 1884, 461, 2932, 3341, 18, 4487...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2132, 382, 7397, 4254, 1435, 1216, 1185, 282, 288, 1377, 613, 18, 4148, 2932, 5681, 1382, 315, 397, 366, 4669, 1966, 2081, 1769, 1377, 1659, 18, 1884, 461, 2932, 3341, 18, 4487...
public void testMaxRcptDefault() throws Exception, SMTPException {
public void testMaxRcptDefault() throws Exception {
public void testMaxRcptDefault() throws Exception, SMTPException { finishSetUp(m_testConfiguration); SMTPProtocol smtpProtocol1 = new SMTPProtocol("127.0.0.1", m_smtpListenerPort); smtpProtocol1.openPort(); smtpProtocol1.helo(InetAddress.getLocalHost()); String sender1 = "mail_sender1@james.apache.org"; String rcpt1 = "test@localhost"; smtpProtocol1.mail(new Address(sender1)); smtpProtocol1.rcpt(new Address(rcpt1)); smtpProtocol1.data(MimeTreeRenderer.getInstance().renderMimePart(createMail())); smtpProtocol1.quit(); }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/636ca4790d205ba7dcd3647f5645640b2ed68d5e/SMTPServerTest.java/buggy/trunk/src/test/org/apache/james/smtpserver/SMTPServerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2747, 24599, 337, 1868, 1435, 1216, 1185, 288, 3639, 4076, 694, 1211, 12, 81, 67, 3813, 1750, 1769, 3639, 18102, 5752, 17660, 5752, 21, 273, 394, 18102, 5752, 2932, 14260, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1842, 2747, 24599, 337, 1868, 1435, 1216, 1185, 288, 3639, 4076, 694, 1211, 12, 81, 67, 3813, 1750, 1769, 3639, 18102, 5752, 17660, 5752, 21, 273, 394, 18102, 5752, 2932, 14260, ...
return getLocation();
return new Point (x, y);
public Point location() { return getLocation(); }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/3fe1c14284ce32b79d0e66441aec6a45a77ff684/Component.java/buggy/libjava/java/awt/Component.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4686, 2117, 1435, 225, 288, 565, 327, 394, 4686, 261, 92, 16, 677, 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, ...
[ 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4686, 2117, 1435, 225, 288, 565, 327, 394, 4686, 261, 92, 16, 677, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
CellLayoutData layoutData = (CellLayoutData) child.getProperty(Component.PROPERTY_LAYOUT_DATA);
CellLayoutData layoutData = (CellLayoutData) child.getRenderProperty(Component.PROPERTY_LAYOUT_DATA);
public static void renderBackgroundImageToStyle(CssStyle cssStyle, RenderContext rc, ImageRenderSupport irs, Component parent, Component child) { CellLayoutData layoutData = (CellLayoutData) child.getProperty(Component.PROPERTY_LAYOUT_DATA); if (layoutData == null || layoutData.getBackgroundImage() == null) { return; } FillImageRender.renderToStyle(cssStyle, rc, irs, parent, IMAGE_ID_PREFIX_LAYOUT_DATA_BACKGROUND_IMAGE + child.getRenderId(), layoutData.getBackgroundImage(), 0); }
45635 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45635/f5c95ff6151a0af528bda1644e88cef030359f2f/CellLayoutDataRender.java/clean/src/webcontainer/java/nextapp/echo2/webcontainer/propertyrender/CellLayoutDataRender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1743, 8199, 2040, 774, 2885, 12, 7359, 2885, 3747, 2885, 16, 6987, 1042, 4519, 16, 3421, 3420, 6289, 277, 5453, 16, 5411, 5435, 982, 16, 5435, 1151, 13, 288, 3639, 8614, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1743, 8199, 2040, 774, 2885, 12, 7359, 2885, 3747, 2885, 16, 6987, 1042, 4519, 16, 3421, 3420, 6289, 277, 5453, 16, 5411, 5435, 982, 16, 5435, 1151, 13, 288, 3639, 8614, ...
public EntityResolver getEntityResolver () { return aelfred2.getEntityResolver (); }
public EntityResolver getEntityResolver() { return aelfred2.getEntityResolver(); }
public EntityResolver getEntityResolver () { return aelfred2.getEntityResolver (); }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlReader.java/buggy/libjava/gnu/xml/aelfred2/XmlReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3887, 4301, 6352, 4301, 1832, 202, 95, 327, 279, 19079, 1118, 22, 18, 588, 1943, 4301, 261, 1769, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3887, 4301, 6352, 4301, 1832, 202, 95, 327, 279, 19079, 1118, 22, 18, 588, 1943, 4301, 261, 1769, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
configureProject("src/etc/testcases/taskdefs/filter.xml");
configureProject(TASKDEFS_DIR + "filter.xml");
public void setUp() { configureProject("src/etc/testcases/taskdefs/filter.xml"); }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/dfb50d12f7f0d605cf65dfcdb394d50ebebc52b0/FilterTest.java/buggy/src/testcases/org/apache/tools/ant/taskdefs/FilterTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24292, 1435, 288, 540, 5068, 4109, 12, 15580, 1639, 4931, 67, 4537, 397, 315, 2188, 18, 2902, 8863, 565, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 24292, 1435, 288, 540, 5068, 4109, 12, 15580, 1639, 4931, 67, 4537, 397, 315, 2188, 18, 2902, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
rdfAuthorDocument.setIdForNode(id, objectAtPoint(point), false);
if (RDFAuthorUtilities.isValidURI(id)) { rdfAuthorDocument.addNodeAtPoint(id, null, null, point, false); } else { rdfAuthorDocument.addNodeAtPoint(id, null, null, point, true); }
public void concludeDragOperation(NSDraggingInfo sender) { // create a new NSPasteboard object to confirm type of dropped item NSPasteboard pboard = sender.draggingPasteboard(); NSPoint point = convertPointFromView(sender.draggingLocation(), null); // check type to make sure it conforms with type you registered String type = pboard.availableTypeFromArray((NSArray) dragTypesArray); // Inform the bookmark controller that the user added something // (for auto add) bookmarkController.addItem(pboard, type); if (type.equals(NSPasteboard.URLPboardType)) { NSArray URLs = (NSArray) pboard.propertyListForType(NSPasteboard.URLPboardType); String id = (String) URLs.objectAtIndex(0); // false - if new node don't want a literal rdfAuthorDocument.setIdForNode(id, objectAtPoint(point), false); } else if (type.equals(NSPasteboard.StringPboardType)) { // Here I'm going to be sneaky. IE (and other Carbon apps) don't seem to // set the drag type for URLs - they are just strings. So I use the URI // checker. This is better since all URIs will be detected, but OTOH // URIs can match unintentionally. String id = (String) pboard.stringForType(NSPasteboard.StringPboardType); if (RDFAuthorUtilities.isValidURI(id)) { // false - if new node don't want literal rdfAuthorDocument.setIdForNode(id, objectAtPoint(point), false); } else { // true - if new node want literal rdfAuthorDocument.setIdForNode(id, objectAtPoint(point), true); } } else if (type.equals(SchemaData.ClassPboardType)) { NSDictionary info = (NSDictionary) pboard.propertyListForType( SchemaData.ClassPboardType); String name = (String) info.objectForKey("Name"); String namespace = (String) info.objectForKey("Namespace"); rdfAuthorDocument.setTypeForNode(namespace, name, objectAtPoint(point)); } else if (type.equals(SchemaData.PropertyPboardType)) { NSDictionary info = (NSDictionary) pboard.propertyListForType( SchemaData.PropertyPboardType); String name = (String) info.objectForKey("Name"); String namespace = (String) info.objectForKey("Namespace"); rdfAuthorDocument.setTypeForArc(namespace, name, objectAtPoint(point)); } else { System.err.println("The view has not registered for drag type: " + type); } // Restore description to previous value textDescriptionField.setStringValue(saveDescription); }
364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/364/6318c9ef1351d205cf85cd5263c10ef56ee20906/RDFModelView.java/clean/rdfweb.org/RDFAuthor/RDFModelView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 356, 1571, 11728, 2988, 12, 3156, 11728, 1998, 966, 5793, 13, 288, 7734, 368, 752, 279, 394, 423, 3118, 14725, 3752, 733, 358, 6932, 618, 434, 14611, 761, 3639, 423, 3118, 1472...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 356, 1571, 11728, 2988, 12, 3156, 11728, 1998, 966, 5793, 13, 288, 7734, 368, 752, 279, 394, 423, 3118, 14725, 3752, 733, 358, 6932, 618, 434, 14611, 761, 3639, 423, 3118, 1472...
yVertex[3] = cy + (int)Math.round(3 * Math.sqrt(3.0) * scale);
yVertex[3] = cy + (int) Math.round(3 * SQRT3 * scale);
MasterHex(int cx, int cy, int scale, boolean inverted) { selected = false; if (!inverted) { xVertex[0] = cx; yVertex[0] = cy; xVertex[1] = cx + 2 * scale; yVertex[1] = cy; xVertex[2] = cx + 4 * scale; yVertex[2] = cy + (int)Math.round(2 * Math.sqrt(3.0) * scale); xVertex[3] = cx + 3 * scale; yVertex[3] = cy + (int)Math.round(3 * Math.sqrt(3.0) * scale); xVertex[4] = cx - scale; yVertex[4] = cy + (int)Math.round(3 * Math.sqrt(3.0) * scale); xVertex[5] = cx - 2 * scale; yVertex[5] = cy + (int)Math.round(2 * Math.sqrt(3.0) * scale); } else { xVertex[0] = cx - scale; yVertex[0] = cy; xVertex[1] = cx + 3 * scale; yVertex[1] = cy; xVertex[2] = cx + 4 * scale; yVertex[2] = cy + (int)Math.round(Math.sqrt(3.0) * scale); xVertex[3] = cx + 2 * scale; yVertex[3] = cy + (int)Math.round(3 * Math.sqrt(3.0) * scale); xVertex[4] = cx; yVertex[4] = cy + (int)Math.round(3 * Math.sqrt(3.0) * scale); xVertex[5] = cx - 2 * scale; yVertex[5] = cy + (int)Math.round(Math.sqrt(3.0) * scale); } p = new Polygon(xVertex, yVertex, 6); // Add 1 to width and height because Java rectangles come up // one pixel short. rectBound = new Rectangle(xVertex[5], yVertex[0], xVertex[2] - xVertex[5] + 1, yVertex[3] - yVertex[0] + 1); }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/e10bb095a63a65e45cdfb36a2902d04bb4417b10/MasterBoard.java/buggy/Colossus/MasterBoard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 13453, 7037, 12, 474, 9494, 16, 509, 6143, 16, 509, 3159, 16, 1250, 18150, 13, 565, 288, 3639, 3170, 273, 629, 31, 3639, 309, 16051, 267, 25631, 13, 3639, 288, 5411, 619, 6475, 63, 20, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13453, 7037, 12, 474, 9494, 16, 509, 6143, 16, 509, 3159, 16, 1250, 18150, 13, 565, 288, 3639, 3170, 273, 629, 31, 3639, 309, 16051, 267, 25631, 13, 3639, 288, 5411, 619, 6475, 63, 20, ...
if (prefix == null) prefix = "";
if (prefix == null) { prefix = ""; }
public void setTablePrefix(String prefix) { if (prefix == null) prefix = ""; this.tablePrefix = prefix; }
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/JobStoreSupport.java/clean/src/java/org/quartz/impl/jdbcjobstore/JobStoreSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 30146, 2244, 12, 780, 1633, 13, 288, 3639, 309, 261, 3239, 422, 446, 13, 288, 1633, 273, 1408, 31, 289, 3639, 333, 18, 2121, 2244, 273, 1633, 31, 565, 289, 2, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30146, 2244, 12, 780, 1633, 13, 288, 3639, 309, 261, 3239, 422, 446, 13, 288, 1633, 273, 1408, 31, 289, 3639, 333, 18, 2121, 2244, 273, 1633, 31, 565, 289, 2, -100, -100, -...
public Collection<LocalFile> fetch( String accession ) { log.info( "Seeking GSE file for " + accession ); try { if ( this.f == null || !this.f.isConnected() ) f = GeoUtil.connect( FTP.BINARY_FILE_TYPE ); File newDir = mkdir( accession ); File outputFile = new File( newDir, accession + "_family.soft.gz" ); String outputFileName = outputFile.getAbsolutePath(); //String seekFile = baseDir + "/" + accession + "_family.soft.gz"; String seekFile = baseDir + accession + "/" + accession + "_family.soft.gz"; success = NetUtils.ftpDownloadFile( f, seekFile, outputFile, force ); if ( success ) { LocalFile file = fetchedFile( seekFile, outputFileName ); log.info( "Retrieved " + seekFile + " for experiment(set) " + accession + " .Output file is " + outputFileName ); Collection<LocalFile> result = new HashSet<LocalFile>(); result.add( file ); return result; } } catch ( IOException e ) { log.error( e, e ); } log.error( "Failed" ); return null; }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/06727742c75f04c0e7dde5219a36a50945732f05/SeriesFetcher.java/buggy/gemma-core/src/main/java/ubic/gemma/loader/expression/geo/fetcher/SeriesFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2200, 32, 2042, 812, 34, 2158, 12, 514, 2006, 285, 262, 288, 3639, 613, 18, 1376, 12, 315, 16134, 310, 611, 1090, 225, 585, 364, 315, 397, 2006, 285, 11272, 3639, 775, 288, 5411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2200, 32, 2042, 812, 34, 2158, 12, 514, 2006, 285, 262, 288, 3639, 613, 18, 1376, 12, 315, 16134, 310, 611, 1090, 225, 585, 364, 315, 397, 2006, 285, 11272, 3639, 775, 288, 5411, ...
protected IterableAxis getIterableAxis(int axis) { IterableAxis iter = null; switch ( axis ) { case Axis.CHILD: { iter = new IterableChildAxis( axis ); break; } case Axis.DESCENDANT: { iter = new IterableDescendantAxis( axis ); break; } case Axis.PARENT: { iter = new IterableParentAxis( axis ); break; } case Axis.FOLLOWING_SIBLING: { iter = new IterableFollowingSiblingAxis( axis ); break; } case Axis.PRECEDING_SIBLING: { iter = new IterablePrecedingSiblingAxis( axis ); break; } case Axis.FOLLOWING: { iter = new IterableFollowingAxis( axis ); break; } case Axis.PRECEDING: { iter = new IterablePrecedingAxis( axis ); break; } case Axis.ATTRIBUTE: { iter = new IterableAttributeAxis( axis ); break; } case Axis.NAMESPACE: { iter = new IterableNamespaceAxis( axis ); break; } case Axis.SELF: { iter = new IterableSelfAxis( axis ); break; } case Axis.DESCENDANT_OR_SELF: { iter = new IterableDescendantOrSelfAxis( axis ); break; } case Axis.ANCESTOR_OR_SELF: { iter = new IterableAncestorOrSelfAxis( axis ); break; } case Axis.ANCESTOR: { iter = new IterableAncestorAxis( axis ); break; } } return iter; }
47110 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47110/fa32d2e7c6f96c319351fb77ac9216cf69f216d3/DefaultXPathFactory.java/buggy/jaxen/src/java/main/org/jaxen/expr/DefaultXPathFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 13668, 6558, 588, 13668, 6558, 12, 474, 4890, 15329, 13668, 6558, 2165, 33, 2011, 31, 9610, 12, 4890, 15329, 3593, 6558, 18, 27043, 18611, 2165, 33, 2704, 13668, 1763, 6558, 12, 4890, 1769...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 13668, 6558, 588, 13668, 6558, 12, 474, 4890, 15329, 13668, 6558, 2165, 33, 2011, 31, 9610, 12, 4890, 15329, 3593, 6558, 18, 27043, 18611, 2165, 33, 2704, 13668, 1763, 6558, 12, 4890, 1769...
boolean isStatic = token == STATIC;
_peekToken = token; int modifiers = parseModifiers();
private void parseClassContents() throws IOException { ArrayList<Statement> statements = new ArrayList<Statement>(); while (true) { int token = parseToken(); switch (token) { case ';': break; case FUNCTION: { Function fun = parseFunctionDefinition(); fun.setStatic(false); break; } case CLASS: parseClassDefinition(); break; /* quercus/0260 case VAR: parseClassVarDefinition(false); break; */ case CONST: parseClassConstDefinition(); break; case PUBLIC: case PRIVATE: case PROTECTED: case STATIC: { boolean isStatic = token == STATIC; int token2 = parseToken(); if (token2 == FUNCTION) { Function fun = parseFunctionDefinition(); fun.setStatic(isStatic); } else { _peekToken = token2; parseClassVarDefinition(isStatic); } } break; case IDENTIFIER: if (_lexeme.equals("var")) { parseClassVarDefinition(false); } else { _peekToken = token; return; } break; case -1: case '}': default: _peekToken = token; return; } } }
3863 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3863/f21164d99985bef34011f2e674aee770b3bb58f3/PhpParser.java/clean/quercus/src/main/java/com/caucho/quercus/parser/PhpParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1109, 797, 6323, 1435, 565, 1216, 1860, 225, 288, 565, 2407, 32, 3406, 34, 6317, 273, 394, 2407, 32, 3406, 34, 5621, 565, 1323, 261, 3767, 13, 288, 1377, 509, 1147, 273, 1109...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1109, 797, 6323, 1435, 565, 1216, 1860, 225, 288, 565, 2407, 32, 3406, 34, 6317, 273, 394, 2407, 32, 3406, 34, 5621, 565, 1323, 261, 3767, 13, 288, 1377, 509, 1147, 273, 1109...
jaxwsBinding.addParameter(new Parameter(msgPart.getName(), elementName, name));
jaxwsBinding.addParameter(new Parameter(msgName, partName, elementName, name));
private void parseParameter(ParserContext context, JAXWSBinding jaxwsBinding, Element e) { String part = XmlUtil.getAttributeOrNull(e, JAXWSBindingsConstants.PART_ATTR); Element msgPartElm = evaluateXPathNode(e.getOwnerDocument(), part, new NamespaceContextImpl(e)); MessagePart msgPart = new MessagePart(); String partName = XmlUtil.getAttributeOrNull(msgPartElm, "name"); if(partName == null) return; msgPart.setName(partName); String val = XmlUtil.getAttributeOrNull(msgPartElm, "element"); if(val != null){ msgPart.setDescriptor(context.translateQualifiedName(val)); msgPart.setDescriptorKind(SchemaKinds.XSD_ELEMENT); }else{ val = XmlUtil.getAttributeOrNull(msgPartElm, "type"); if(val == null) return; msgPart.setDescriptor(context.translateQualifiedName(val)); msgPart.setDescriptorKind(SchemaKinds.XSD_TYPE); } String element = XmlUtil.getAttributeOrNull(e, JAXWSBindingsConstants.ELEMENT_ATTR); String name = XmlUtil.getAttributeOrNull(e, JAXWSBindingsConstants.NAME_ATTR); QName elementName = null; if(element != null){ String uri = e.lookupNamespaceURI(XmlUtil.getPrefix(element)); elementName = (uri == null)?null:new QName(uri, XmlUtil.getLocalPart(element)); } jaxwsBinding.addParameter(new Parameter(msgPart.getName(), elementName, name)); }
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/ecd8df208c3f576e282af2b7cb16983528284c13/JAXWSBindingExtensionHandler.java/clean/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/wsdl/parser/JAXWSBindingExtensionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1109, 1662, 12, 2678, 1042, 819, 16, 7431, 2651, 5250, 20516, 4749, 5250, 16, 3010, 425, 13, 288, 3639, 514, 1087, 273, 5714, 1304, 18, 588, 1499, 18936, 12, 73, 16, 7431, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1109, 1662, 12, 2678, 1042, 819, 16, 7431, 2651, 5250, 20516, 4749, 5250, 16, 3010, 425, 13, 288, 3639, 514, 1087, 273, 5714, 1304, 18, 588, 1499, 18936, 12, 73, 16, 7431, 26...
display.asyncExec(new Runnable(){ /* (non-Javadoc)
display.asyncExec(new Runnable() { /* * (non-Javadoc) *
private IProgressMonitorWithBlocking getBlockingProgressMonitor() { return new IProgressMonitorWithBlocking() { /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#beginTask(java.lang.String, * int) */ public void beginTask(String name, int totalWork) { final String finalName = name; final int finalWork = totalWork; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().beginTask(finalName, finalWork); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitorWithBlocking#clearBlocked() */ public void clearBlocked() { runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { ((IProgressMonitorWithBlocking) getProgressMonitor()) .clearBlocked(); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#done() */ public void done() { runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().done(); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#internalWorked(double) */ public void internalWorked(double work) { final double finalWork = work; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().internalWorked(finalWork); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#isCanceled() */ public boolean isCanceled() { return getProgressMonitor().isCanceled(); } /** * Run the runnable as an asyncExec if we are already open. * * @param runnable */ private void runAsync(final Runnable runnable) { if (alreadyClosed) { return; } Shell currentShell = getShell(); Display display; if (currentShell == null) { display = Display.getDefault(); } else { if(currentShell.isDisposed())//Don't bother if it has been closed return; display = currentShell.getDisplay(); } display.asyncExec(new Runnable(){ /* (non-Javadoc) * @see java.lang.Runnable#run() */ public void run() { if (alreadyClosed) { return;//Check again as the async may come too late } Shell shell = getShell(); if(shell != null && shell.isDisposed()) return; runnable.run(); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitorWithBlocking#setBlocked(org.eclipse.core.runtime.IStatus) */ public void setBlocked(IStatus reason) { final IStatus finalReason = reason; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { ((IProgressMonitorWithBlocking) getProgressMonitor()) .setBlocked(finalReason); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#setCanceled(boolean) */ public void setCanceled(boolean value) { // Just a listener - doesn't matter. } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#setTaskName(java.lang.String) */ public void setTaskName(String name) { final String finalName = name; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().setTaskName(finalName); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#subTask(java.lang.String) */ public void subTask(String name) { final String finalName = name; runAsync(new Runnable() { /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ public void run() { getProgressMonitor().subTask(finalName); } }); } /* * (non-Javadoc) * * @see org.eclipse.core.runtime.IProgressMonitor#worked(int) */ public void worked(int work) { internalWorked(work); } }; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/35d15f71cf899f7392f14dee1944aa390f1a1388/ProgressMonitorFocusJobDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressMonitorFocusJobDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 5491, 7187, 1190, 8728, 336, 8728, 5491, 7187, 1435, 288, 202, 202, 2463, 394, 467, 5491, 7187, 1190, 8728, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 467, 5491, 7187, 1190, 8728, 336, 8728, 5491, 7187, 1435, 288, 202, 202, 2463, 394, 467, 5491, 7187, 1190, 8728, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 1...
IFile getFile();
IHierarchicalFile getFile();
IFile getFile();
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/IJavaScriptRepository.java/buggy/org.rcfaces.renderkit.html/src/org/rcfaces/renderkit/html/internal/javascript/IJavaScriptRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 467, 812, 6034, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 467, 812, 6034, 5621, 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, -1...
double bondLengthSum = 0; Bond bond = null; Atom a1 = null, a2 = null; Bond[] bonds = ac.getBonds(); for (int f = 0; f < bonds.length; f++) { bond = bonds[f]; bondLengthSum += 1.0; } return bondLength/(bondLengthSum/ac.getBondCount());
double currentAverageBondLength = getBondLengthAverage(ac); return bondLength/currentAverageBondLength;
public static double getScaleFactor(AtomContainer ac, double bondLength) { double bondLengthSum = 0; Bond bond = null; Atom a1 = null, a2 = null; Bond[] bonds = ac.getBonds(); for (int f = 0; f < bonds.length; f++) { bond = bonds[f]; bondLengthSum += 1.0; } return bondLength/(bondLengthSum/ac.getBondCount()); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/3a0e1232f227f853eaacedf6e8994513b6b93fef/GeometryTools.java/clean/src/org/openscience/cdk/geometry/GeometryTools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1645, 1322, 1869, 6837, 12, 3641, 2170, 1721, 16, 1645, 8427, 1782, 13, 202, 95, 202, 202, 9056, 8427, 1782, 3495, 273, 374, 31, 202, 202, 9807, 8427, 273, 446, 31, 3196,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1645, 1322, 1869, 6837, 12, 3641, 2170, 1721, 16, 1645, 8427, 1782, 13, 202, 95, 202, 202, 9056, 8427, 1782, 3495, 273, 374, 31, 202, 202, 9807, 8427, 273, 446, 31, 3196,...
else if(adapter != null) {
} else if (adapter != null) {
public void send(Message msg) throws Exception { if(channel != null) channel.send(msg); else if(adapter != null) { try { if(id != null) adapter.send(id, msg); else adapter.send(msg); } catch(Throwable ex) { if(log.isErrorEnabled()) log.error("exception=" + Util.print(ex)); } } else { if(log.isErrorEnabled()) log.error("channel == null"); } }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/146a9f744cbe901c4fe56f6ceb2100ee15e7e898/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1366, 12, 1079, 1234, 13, 1216, 1185, 288, 5411, 309, 12, 4327, 480, 446, 13, 7734, 1904, 18, 4661, 12, 3576, 1769, 5411, 289, 469, 309, 261, 10204, 480, 446, 13, 288, 7734, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1366, 12, 1079, 1234, 13, 1216, 1185, 288, 5411, 309, 12, 4327, 480, 446, 13, 7734, 1904, 18, 4661, 12, 3576, 1769, 5411, 289, 469, 309, 261, 10204, 480, 446, 13, 288, 7734, ...
println(" yy_atBOL = false;");
println(" yyFlexAtBOL = false;");
private void emitLexFunctHeader() { if (scanner.cupCompatible) { // force public, because we have to implement java_cup.runtime.Symbol print(" public "); } else { print(" "+visibility+" "); } if ( scanner.tokenType == null ) { if ( scanner.isInteger ) print( "int" ); else if ( scanner.isIntWrap ) print( "Integer" ); else print( "Yytoken" ); } else print( scanner.tokenType ); print(" "); print(scanner.functionName); print("() throws java.io.IOException"); if ( scanner.lexThrow != null ) { print(", "); print(scanner.lexThrow); } if ( scanner.scanErrorException != null ) { print(", "); print(scanner.scanErrorException); } println(" {"); skel.emitNext(); if ( scanner.useRowMap ) { println(" int [] yytrans_l = yytrans;"); println(" int [] yy_rowMap_l = yy_rowMap;"); println(" int [] yy_attr_l = YY_ATTRIBUTE;"); } if ( scanner.lookAheadUsed ) { println(" int yy_pushbackPos_l = yy_pushbackPos = -1;"); println(" boolean yy_was_pushback;"); } skel.emitNext(); if ( scanner.charCount ) { println(" yychar+= yy_markedPos_l-yy_startRead;"); println(""); } if ( scanner.lineCount || scanner.columnCount ) { println(" boolean yy_r = false;"); println(" for (yy_currentPos_l = yy_startRead; yy_currentPos_l < yy_markedPos_l;"); println(" yy_currentPos_l++) {"); println(" switch (yy_buffer_l[yy_currentPos_l]) {"); println(" case '\\u000B':"); println(" case '\\u000C':"); println(" case '\\u0085':"); println(" case '\\u2028':"); println(" case '\\u2029':"); if ( scanner.lineCount ) println(" yyline++;"); if ( scanner.columnCount ) println(" yycolumn = 0;"); println(" yy_r = false;"); println(" break;"); println(" case '\\r':"); if ( scanner.lineCount ) println(" yyline++;"); if ( scanner.columnCount ) println(" yycolumn = 0;"); println(" yy_r = true;"); println(" break;"); println(" case '\\n':"); println(" if (yy_r)"); println(" yy_r = false;"); println(" else {"); if ( scanner.lineCount ) println(" yyline++;"); if ( scanner.columnCount ) println(" yycolumn = 0;"); println(" }"); println(" break;"); println(" default:"); println(" yy_r = false;"); if ( scanner.columnCount ) println(" yycolumn++;"); println(" }"); println(" }"); println(); if ( scanner.lineCount ) { println(" if (yy_r) {"); println(" // peek one character ahead if it is \\n (if we have counted one line too much)"); println(" boolean yy_peek;"); println(" if (yy_markedPos_l < yy_endRead_l)"); println(" yy_peek = yy_buffer_l[yy_markedPos_l] == '\\n';"); println(" else if (yy_atEOF)"); println(" yy_peek = false;"); println(" else {"); println(" boolean eof = yy_refill();"); println(" yy_markedPos_l = yy_markedPos;"); println(" yy_buffer_l = yy_buffer;"); println(" if (eof) "); println(" yy_peek = false;"); println(" else "); println(" yy_peek = yy_buffer_l[yy_markedPos_l] == '\\n';"); println(" }"); println(" if (yy_peek) yyline--;"); println(" }"); } } if ( scanner.bolUsed ) { // yy_markedPos > yy_startRead <=> last match was not empty // if match was empty, last value of yy_atBOL can be used // yy_startRead is always >= 0 println(" if (yy_markedPos_l > yy_startRead) {"); println(" switch (yy_buffer_l[yy_markedPos_l-1]) {"); println(" case '\\n':"); println(" case '\\u000B':"); println(" case '\\u000C':"); println(" case '\\u0085':"); println(" case '\\u2028':"); println(" case '\\u2029':"); println(" yy_atBOL = true;"); println(" break;"); println(" case '\\r': "); println(" if (yy_markedPos_l < yy_endRead_l)"); println(" yy_atBOL = yy_buffer_l[yy_markedPos_l] != '\\n';"); println(" else if (yy_atEOF)"); println(" yy_atBOL = false;"); println(" else {"); println(" boolean eof = yy_refill();"); println(" yy_markedPos_l = yy_markedPos;"); println(" yy_buffer_l = yy_buffer;"); println(" if (eof) "); println(" yy_atBOL = false;"); println(" else "); println(" yy_atBOL = yy_buffer_l[yy_markedPos_l] != '\\n';"); println(" }"); println(" break;"); println(" default:"); println(" yy_atBOL = false;"); println(" }"); println(" }"); } skel.emitNext(); if (scanner.bolUsed) { println(" if (yy_atBOL)"); println(" yy_state = YY_LEXSTATE[yy_lexical_state+1];"); println(" else"); println(" yy_state = YY_LEXSTATE[yy_lexical_state];"); println(); } else { println(" yy_state = yy_lexical_state;"); println(); } if (scanner.lookAheadUsed) println(" yy_was_pushback = false;"); skel.emitNext(); }
6220 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6220/c518aa49b35aa173caad4915a39b60ecb78d8528/Emitter.java/buggy/jflex/src/JFlex/Emitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 3626, 14756, 42, 6931, 1864, 1435, 288, 3639, 309, 261, 26842, 18, 71, 416, 14599, 13, 225, 288, 1377, 368, 2944, 1071, 16, 2724, 732, 1240, 358, 2348, 2252, 67, 71, 416, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 3626, 14756, 42, 6931, 1864, 1435, 288, 3639, 309, 261, 26842, 18, 71, 416, 14599, 13, 225, 288, 1377, 368, 2944, 1071, 16, 2724, 732, 1240, 358, 2348, 2252, 67, 71, 416, 18,...
scope = ScriptableObject.getTopLevelScope(scope);
final Scriptable scope = f.getParentScope();
public static Object callMethod(Scriptable scope, final Scriptable thisObj, final Function f, final Object[] args, final long argsToWrap, ContextFactory factory) { if (f == null) { // See comments in getFunction return Undefined.instance; } scope = ScriptableObject.getTopLevelScope(scope); if (argsToWrap == 0) { return Context.call(factory, f, scope, thisObj, args); } Context cx = Context.getCurrentContext(); if (cx != null) { return doCall(cx, scope, thisObj, f, args, argsToWrap); } else { final Scriptable finalScope = scope; return factory.call(new ContextAction() { public Object run(Context cx) { return doCall(cx, finalScope, thisObj, f, args, argsToWrap); } }); } }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/82fc688a4bf1d50088f3ce8c1ce8d1c14a325a2d/JavaAdapter.java/buggy/js/rhino/src/org/mozilla/javascript/JavaAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 745, 1305, 12, 3651, 429, 2146, 16, 727, 22780, 15261, 16, 4766, 565, 727, 4284, 284, 16, 727, 1033, 8526, 833, 16, 4766, 565, 727, 1525, 833, 774, 2964, 16, 4766, 565,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 745, 1305, 12, 3651, 429, 2146, 16, 727, 22780, 15261, 16, 4766, 565, 727, 4284, 284, 16, 727, 1033, 8526, 833, 16, 4766, 565, 727, 1525, 833, 774, 2964, 16, 4766, 565,...
public void writeProperties(Hashtable propertyinfos, int resourceId, int resourceType) throws CmsException { // get all metadefs Enumeration keys = propertyinfos.keys(); // one metainfo-name: String key; while(keys.hasMoreElements()) { key = (String) keys.nextElement(); writeProperty(key, (String) propertyinfos.get(key), resourceId, resourceType); } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/142347a2a551d52971f8e5e2e084c9c08fd422d1/CmsDbAccess.java/buggy/src/com/opencms/file/genericSql/CmsDbAccess.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 2626, 2297, 12, 5582, 14544, 4468, 18227, 16, 474, 3146, 548, 16, 474, 3146, 559, 13, 202, 202, 15069, 4747, 503, 95, 9506, 202, 759, 588, 454, 3901, 12537, 202, 202, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2626, 2297, 12, 5582, 14544, 4468, 18227, 16, 474, 3146, 548, 16, 474, 3146, 559, 13, 202, 202, 15069, 4747, 503, 95, 9506, 202, 759, 588, 454, 3901, 12537, 202, 202, 21...
((ThroughputController)tc).setMaxThroughput(1);
((ThroughputController)tc).setMaxThroughput(throughput.getText());
public void modifyTestElement(TestElement tc) { configureTestElement(tc); ((ThroughputController)tc).setStyle(style); ((ThroughputController)tc).setPerThread(isPerThread); if (style == ThroughputController.BYNUMBER) { try { ((ThroughputController)tc).setMaxThroughput(Integer.parseInt(throughput.getText().trim())); } catch (NumberFormatException e) { ((ThroughputController)tc).setMaxThroughput(1); } } else { try { ((ThroughputController)tc).setPercentThroughput(Float.parseFloat(throughput.getText().trim())); } catch (NumberFormatException e) { ((ThroughputController)tc).setPercentThroughput(100); } } }
50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/2dd71f5312e21ddd32750913cfa2757294487393/ThroughputControllerGui.java/clean/src/components/org/apache/jmeter/control/gui/ThroughputControllerGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5612, 4709, 1046, 12, 4709, 1046, 1715, 13, 565, 288, 3639, 5068, 4709, 1046, 12, 5111, 1769, 202, 202, 12443, 24478, 2933, 13, 5111, 2934, 542, 2885, 12, 4060, 1769, 202, 202,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5612, 4709, 1046, 12, 4709, 1046, 1715, 13, 565, 288, 3639, 5068, 4709, 1046, 12, 5111, 1769, 202, 202, 12443, 24478, 2933, 13, 5111, 2934, 542, 2885, 12, 4060, 1769, 202, 202,...
public static GnuRSAPublicKey valueOf(final byte[] k) { // check magic... // we should parse here enough bytes to know which codec to use, and // direct the byte array to the appropriate codec. since we only have one // codec, we could have immediately tried it; nevertheless since testing // one byte is cheaper than instatiating a codec that will fail we test // the first byte before we carry on. if (k[0] == Registry.MAGIC_RAW_RSA_PUBLIC_KEY[0]) { // it's likely to be in raw format. get a raw codec and hand it over final IKeyPairCodec codec = new RSAKeyPairRawCodec(); return (GnuRSAPublicKey) codec.decodePublicKey(k); } else { throw new IllegalArgumentException("magic"); } }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/9460f315752210eeb2a38061e30cf2b9a9009ddf/GnuRSAPublicKey.java/buggy/gnu/java/security/key/rsa/GnuRSAPublicKey.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 611, 13053, 13225, 2203, 24312, 4323, 12, 6385, 1160, 8526, 417, 13, 225, 288, 565, 368, 866, 8146, 2777, 565, 368, 732, 1410, 1109, 2674, 7304, 1731, 358, 5055, 1492, 9196, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 611, 13053, 13225, 2203, 24312, 4323, 12, 6385, 1160, 8526, 417, 13, 225, 288, 565, 368, 866, 8146, 2777, 565, 368, 732, 1410, 1109, 2674, 7304, 1731, 358, 5055, 1492, 9196, 35...