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
s = code.addLoadParameters(params);
s = code.addLoadParameters(params, 1);
private static CtMethod delegator0(CtMethod delegate, CtClass declaring) throws CannotCompileException, NotFoundException { MethodInfo deleInfo = delegate.getMethodInfo2(); String methodName = deleInfo.getName(); String desc = deleInfo.getDescriptor(); ConstPool cp = declaring.getClassFile2().getConstPool(); MethodInfo minfo = new MethodInfo(cp, methodName, desc); minfo.setAccessFlags(deleInfo.getAccessFlags()); ExceptionsAttribute eattr = deleInfo.getExceptionsAttribute(); if (eattr != null) minfo.setExceptionsAttribute( (ExceptionsAttribute)eattr.copy(cp, null)); Bytecode code = new Bytecode(cp, 0, 0); boolean isStatic = Modifier.isStatic(delegate.getModifiers()); CtClass deleClass = delegate.getDeclaringClass(); CtClass[] params = delegate.getParameterTypes(); int s; if (isStatic) { s = code.addLoadParameters(params); code.addInvokestatic(deleClass, methodName, desc); } else { code.addLoad(0, deleClass); s = code.addLoadParameters(params); code.addInvokespecial(deleClass, methodName, desc); } code.addReturn(delegate.getReturnType()); code.setMaxLocals(++s); code.setMaxStack(s < 2 ? 2 : s); // for a 2-word return value minfo.setCodeAttribute(code.toCodeAttribute()); return new CtMethod(minfo, declaring); }
56357 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56357/5a846bbe359bb0ff658d79e31c319276e47da4e9/CtNewMethod.java/clean/src/main/javassist/CtNewMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 30714, 1305, 11158, 639, 20, 12, 39, 88, 1305, 7152, 16, 30714, 797, 20845, 13, 3639, 1216, 14143, 9937, 503, 16, 12323, 565, 288, 3639, 2985, 966, 1464, 73, 966, 273, 7152, 18, 588, 1305, 966, 22, 5621, 3639, 514, 4918, 273, 1464, 73, 966, 18, 17994, 5621, 3639, 514, 3044, 273, 1464, 73, 966, 18, 588, 3187, 5621, 3639, 9333, 2864, 3283, 273, 20845, 18, 588, 797, 812, 22, 7675, 588, 9661, 2864, 5621, 3639, 2985, 966, 1131, 617, 273, 394, 2985, 966, 12, 4057, 16, 4918, 16, 3044, 1769, 3639, 1131, 617, 18, 542, 1862, 5094, 12, 3771, 73, 966, 18, 588, 1862, 5094, 10663, 3639, 12781, 1499, 425, 1747, 273, 1464, 73, 966, 18, 588, 11416, 1499, 5621, 3639, 309, 261, 73, 1747, 480, 446, 13, 5411, 1131, 617, 18, 542, 11416, 1499, 12, 27573, 261, 11416, 1499, 13, 73, 1747, 18, 3530, 12, 4057, 16, 446, 10019, 3639, 2525, 16651, 981, 273, 394, 2525, 16651, 12, 4057, 16, 374, 16, 374, 1769, 3639, 1250, 16116, 273, 12832, 18, 291, 5788, 12, 22216, 18, 588, 11948, 10663, 3639, 30714, 797, 1464, 73, 797, 273, 7152, 18, 588, 3456, 14682, 5621, 3639, 30714, 797, 8526, 859, 273, 7152, 18, 588, 1662, 2016, 5621, 3639, 509, 272, 31, 3639, 309, 261, 291, 5788, 13, 288, 5411, 272, 273, 981, 18, 1289, 2563, 2402, 12, 2010, 16, 404, 1769, 5411, 981, 18, 1289, 11354, 395, 2126, 12, 3771, 73, 797, 16, 4918, 16, 3044, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 30714, 1305, 11158, 639, 20, 12, 39, 88, 1305, 7152, 16, 30714, 797, 20845, 13, 3639, 1216, 14143, 9937, 503, 16, 12323, 565, 288, 3639, 2985, 966, 1464, 73, 966, 273, 7152, 18, 588, 1305, 966, 22, 5621, 3639, 514, 4918, 273, 1464, 73, 966, 18, 17994, 5621, 3639, 514, 3044, 273, 1464, 73, 966, 18, 588, 3187, 5621, 3639, 9333, 2864, 3283, 273, 20845, 18, 588, 797, 812, 22, 7675, 588, 9661, 2864, 5621, 3639, 2985, 966, 1131, 617, 273, 394, 2985, 966, 12, 4057, 16, 4918, 16, 3044, 1769, 3639, 1131, 617, 18, 542, 1862, 5094, 12, 3771, 73, 966, 18, 588, 1862, 5094, 10663, 3639, 12781, 1499, 425, 1747, 273, 1464, 73, 966, 2 ]
buildComplete( project, build );
buildComplete( project, build, configuration );
public void sendNotification( String source, Set recipients, Map configuration, Map context ) throws NotificationException { this.configuration = configuration; ContinuumProject project = (ContinuumProject) context.get( ContinuumNotificationDispatcher.CONTEXT_PROJECT ); ContinuumBuild build = (ContinuumBuild) context.get( ContinuumNotificationDispatcher.CONTEXT_BUILD ); // ---------------------------------------------------------------------- // If there wasn't any building done, don't notify // ---------------------------------------------------------------------- if ( build == null ) { return; } // ---------------------------------------------------------------------- // Generate and send message // ---------------------------------------------------------------------- try { if ( source.equals( ContinuumNotificationDispatcher.MESSAGE_ID_BUILD_COMPLETE ) ) { buildComplete( project, build ); } } catch ( ContinuumException e ) { throw new NotificationException( "Error while notifiying.", e ); } }
48499 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48499/e4bb8729328dd7114d72615c966a55154403bcc3/IrcContinuumNotifier.java/clean/continuum-notifiers/continuum-notifier-irc/src/main/java/org/apache/maven/continuum/notification/irc/IrcContinuumNotifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1366, 4386, 12, 514, 1084, 16, 1000, 12045, 16, 1635, 1664, 16, 1635, 819, 262, 3639, 1216, 8050, 503, 565, 288, 3639, 333, 18, 7025, 273, 1664, 31, 3639, 1816, 6860, 379, 4109, 1984, 273, 261, 660, 6860, 379, 4109, 13, 819, 18, 588, 12, 1816, 6860, 379, 4386, 6681, 18, 13181, 67, 17147, 11272, 3639, 1816, 6860, 379, 3116, 1361, 273, 261, 660, 6860, 379, 3116, 13, 819, 18, 588, 12, 1816, 6860, 379, 4386, 6681, 18, 13181, 67, 20215, 11272, 3639, 368, 8879, 13465, 3639, 368, 971, 1915, 14487, 1404, 1281, 10504, 2731, 16, 2727, 1404, 5066, 3639, 368, 8879, 13465, 3639, 309, 261, 1361, 422, 446, 262, 3639, 288, 5411, 327, 31, 3639, 289, 3639, 368, 8879, 13465, 3639, 368, 6654, 471, 1366, 883, 3639, 368, 8879, 13465, 3639, 775, 3639, 288, 5411, 309, 261, 1084, 18, 14963, 12, 1816, 6860, 379, 4386, 6681, 18, 8723, 67, 734, 67, 20215, 67, 15795, 262, 262, 5411, 288, 7734, 1361, 6322, 12, 1984, 16, 1361, 16, 1664, 11272, 5411, 289, 3639, 289, 3639, 1044, 261, 1816, 6860, 379, 503, 425, 262, 3639, 288, 5411, 604, 394, 8050, 503, 12, 315, 668, 1323, 486, 704, 14946, 1199, 16, 425, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1366, 4386, 12, 514, 1084, 16, 1000, 12045, 16, 1635, 1664, 16, 1635, 819, 262, 3639, 1216, 8050, 503, 565, 288, 3639, 333, 18, 7025, 273, 1664, 31, 3639, 1816, 6860, 379, 4109, 1984, 273, 261, 660, 6860, 379, 4109, 13, 819, 18, 588, 12, 1816, 6860, 379, 4386, 6681, 18, 13181, 67, 17147, 11272, 3639, 1816, 6860, 379, 3116, 1361, 273, 261, 660, 6860, 379, 3116, 13, 819, 18, 588, 12, 1816, 6860, 379, 4386, 6681, 18, 13181, 67, 20215, 11272, 3639, 368, 8879, 13465, 3639, 368, 971, 1915, 14487, 1404, 1281, 10504, 2731, 16, 2727, 1404, 5066, 3639, 368, 8879, 13465, 3639, 309, 261, 1361, 422, 446, 262, 3639, 288, 5411, 327, 31, 3639, 2 ]
public boolean equals( Object other ) {
public boolean equals(Object other) {
public boolean equals( Object other ) { // Assume the other object doesn't equal this one. boolean result = false; // References to the same object are equal. if ( this == other ) { result = true; } // If the other object is an instance of // this object's class, then recast it. else if ( this.getClass().isInstance(other) ) { HMPType cast = (HMPType) other; // The two objects match if their names and IDs match. if ( this.name.equals(cast.name) && this.id == cast.id ) { result = true; } } // Return the result return result; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/93e4239a5af0fdbba58b15bf534afc685c30a109/HmpFile.java/clean/megamek/src/megamek/common/loaders/HmpFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 1308, 13, 288, 3639, 368, 15983, 326, 1308, 733, 3302, 1404, 3959, 333, 1245, 18, 3639, 1250, 563, 273, 629, 31, 3639, 368, 868, 2980, 358, 326, 1967, 733, 854, 3959, 18, 3639, 309, 261, 333, 422, 1308, 262, 288, 5411, 563, 273, 638, 31, 3639, 289, 3639, 368, 971, 326, 1308, 733, 353, 392, 791, 434, 3639, 368, 333, 733, 1807, 667, 16, 1508, 1950, 689, 518, 18, 3639, 469, 309, 261, 333, 18, 588, 797, 7675, 291, 1442, 12, 3011, 13, 262, 288, 5411, 670, 4566, 559, 4812, 273, 261, 44, 4566, 559, 13, 1308, 31, 5411, 368, 1021, 2795, 2184, 845, 309, 3675, 1257, 471, 7115, 845, 18, 5411, 309, 261, 333, 18, 529, 18, 14963, 12, 4155, 18, 529, 13, 597, 1171, 333, 18, 350, 422, 4812, 18, 350, 262, 288, 7734, 563, 273, 638, 31, 5411, 289, 3639, 289, 3639, 368, 2000, 326, 563, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 1308, 13, 288, 3639, 368, 15983, 326, 1308, 733, 3302, 1404, 3959, 333, 1245, 18, 3639, 1250, 563, 273, 629, 31, 3639, 368, 868, 2980, 358, 326, 1967, 733, 854, 3959, 18, 3639, 309, 261, 333, 422, 1308, 262, 288, 5411, 563, 273, 638, 31, 3639, 289, 3639, 368, 971, 326, 1308, 733, 353, 392, 791, 434, 3639, 368, 333, 733, 1807, 667, 16, 1508, 1950, 689, 518, 18, 3639, 469, 309, 261, 333, 18, 588, 797, 7675, 291, 1442, 12, 3011, 13, 262, 288, 5411, 670, 4566, 559, 4812, 273, 261, 44, 4566, 559, 13, 1308, 31, 5411, 368, 1021, 2795, 2184, 845, 309, 3675, 1257, 471, 7115, 845, 18, 5411, 309, 2 ]
IDOMNode idomSibiling = getIDOMNode(sibiling); idomNode.insertSibling(idomSibiling); return true;
else { return false; }
public boolean insertSibling(JNode node, JNode sibiling, boolean before) { IDOMNode idomNode = getIDOMNode(node); if (!before) { idomNode = idomNode.getNextNode(); } IDOMNode idomSibiling = getIDOMNode(sibiling); idomNode.insertSibling(idomSibiling); return true; }
11224 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11224/2eb428969355f44247d4d4a95d5376cb34ae0126/JDOMFacadeHelper.java/buggy/plugins/org.eclipse.emf.codegen/src/org/eclipse/emf/codegen/merge/java/facade/jdom/JDOMFacadeHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2243, 10291, 12, 46, 907, 756, 16, 804, 907, 12092, 4973, 16, 1250, 1865, 13, 225, 288, 565, 1599, 1872, 907, 612, 362, 907, 273, 14744, 1872, 907, 12, 2159, 1769, 565, 309, 16051, 5771, 13, 565, 288, 1377, 612, 362, 907, 273, 612, 362, 907, 18, 588, 2134, 907, 5621, 565, 289, 565, 1599, 1872, 907, 612, 362, 25291, 4973, 273, 14744, 1872, 907, 12, 6044, 4973, 1769, 565, 612, 362, 907, 18, 6387, 10291, 12, 350, 362, 25291, 4973, 1769, 565, 327, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 2243, 10291, 12, 46, 907, 756, 16, 804, 907, 12092, 4973, 16, 1250, 1865, 13, 225, 288, 565, 1599, 1872, 907, 612, 362, 907, 273, 14744, 1872, 907, 12, 2159, 1769, 565, 309, 16051, 5771, 13, 565, 288, 1377, 612, 362, 907, 273, 612, 362, 907, 18, 588, 2134, 907, 5621, 565, 289, 565, 1599, 1872, 907, 612, 362, 25291, 4973, 273, 14744, 1872, 907, 12, 6044, 4973, 1769, 565, 612, 362, 907, 18, 6387, 10291, 12, 350, 362, 25291, 4973, 1769, 565, 327, 638, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case 101:
case 103:
public final void forwardAxisSpecifier() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST forwardAxisSpecifier_AST = null; switch ( LA(1)) { case LITERAL_child: { AST tmp201_AST = null; tmp201_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp201_AST); match(LITERAL_child); forwardAxisSpecifier_AST = (AST)currentAST.root; break; } case LITERAL_self: { AST tmp202_AST = null; tmp202_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp202_AST); match(LITERAL_self); forwardAxisSpecifier_AST = (AST)currentAST.root; break; } case LITERAL_attribute: { AST tmp203_AST = null; tmp203_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp203_AST); match(LITERAL_attribute); forwardAxisSpecifier_AST = (AST)currentAST.root; break; } case LITERAL_descendant: { AST tmp204_AST = null; tmp204_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp204_AST); match(LITERAL_descendant); forwardAxisSpecifier_AST = (AST)currentAST.root; break; } case 100: { AST tmp205_AST = null; tmp205_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp205_AST); match(100); forwardAxisSpecifier_AST = (AST)currentAST.root; break; } case 101: { AST tmp206_AST = null; tmp206_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp206_AST); match(101); forwardAxisSpecifier_AST = (AST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = forwardAxisSpecifier_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/be23536931f66ed6f552941df1c272ed48eeb933/XPathParser2.java/buggy/src/org/exist/parser/XPathParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 5104, 6558, 21416, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 5104, 6558, 21416, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 3624, 30, 202, 202, 95, 1082, 202, 9053, 1853, 6734, 67, 9053, 273, 446, 31, 1082, 202, 5645, 6734, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 6734, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 3624, 1769, 1082, 202, 11565, 6558, 21416, 67, 9053, 273, 261, 9053, 13, 2972, 9053, 18, 3085, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 511, 18454, 67, 2890, 30, 202, 202, 95, 1082, 202, 9053, 1853, 18212, 67, 9053, 273, 446, 31, 1082, 202, 5645, 18212, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 18212, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 2890, 1769, 1082, 202, 11565, 6558, 21416, 67, 9053, 273, 261, 9053, 13, 2972, 9053, 18, 3085, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 511, 18454, 67, 4589, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3462, 23, 67, 9053, 273, 446, 31, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 5104, 6558, 21416, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 5104, 6558, 21416, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 3624, 30, 202, 202, 95, 1082, 202, 9053, 1853, 6734, 67, 9053, 273, 446, 31, 1082, 202, 5645, 6734, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 6734, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 3624, 1769, 1082, 202, 11565, 2 ]
public final Type FLOAT_TYPE() {return FLOAT_CLASS.type();}
public final Type FLOAT_TYPE() { return FLOAT_TYPE.type().resultType(); }
public final Type FLOAT_TYPE() {return FLOAT_CLASS.type();}
5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/b3b839b5b4cf97a8d7445d2a9c893cc077707480/Definitions.java/clean/sources/scalac/symtab/Definitions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 1412, 282, 15483, 67, 2399, 1435, 288, 2463, 15483, 67, 5237, 18, 723, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 1412, 282, 15483, 67, 2399, 1435, 288, 2463, 15483, 67, 5237, 18, 723, 5621, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public String getPatchName(Patch p) {
public String getPatchName(IPatch ip) {
public String getPatchName(Patch p) { return getNumPatches() + " patches"; }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/RolandXV5080PerfBankDriver.java/clean/JSynthLib/synthdrivers/RolandXV5080/RolandXV5080PerfBankDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1689, 505, 461, 12, 2579, 505, 2359, 13, 288, 565, 327, 11187, 23501, 1435, 397, 315, 16482, 14432, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1689, 505, 461, 12, 2579, 505, 2359, 13, 288, 565, 327, 11187, 23501, 1435, 397, 315, 16482, 14432, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
module = module.getCanonicalFile(); if ( moduleFiles == null )
if ( moduleAdjustments == null )
public String getModulePathAdjustment( MavenProject moduleProject ) throws IOException { File module = moduleProject.getFile(); if ( module == null ) { return null; } module = module.getCanonicalFile(); if ( moduleFiles == null ) { moduleFiles = new HashMap(); List modules = getModules(); File myFile = getFile(); if ( myFile != null ) { File myDir = myFile.getCanonicalFile().getParentFile(); if ( modules != null ) { for ( Iterator it = modules.iterator(); it.hasNext(); ) { String modulePath = (String) it.next(); File moduleFile = new File( myDir, modulePath ).getCanonicalFile(); moduleFiles.put( moduleFile, modulePath ); } } } } return (String) moduleFiles.get( module ); }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/6fb187fa987d5af1a121e081abde362841b8f707/MavenProject.java/clean/maven-project/src/main/java/org/apache/maven/project/MavenProject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11251, 743, 19985, 12, 17176, 4109, 1605, 4109, 262, 1216, 1860, 565, 288, 3639, 1387, 1605, 273, 1605, 4109, 18, 29925, 5621, 7734, 309, 261, 1605, 422, 446, 262, 3639, 288, 5411, 327, 446, 31, 3639, 289, 7734, 1605, 273, 1605, 18, 588, 15512, 812, 5621, 7734, 309, 261, 1605, 2697, 422, 446, 262, 3639, 288, 5411, 1605, 2697, 273, 394, 4317, 5621, 13491, 987, 4381, 273, 336, 7782, 5621, 5411, 1387, 3399, 812, 273, 6034, 5621, 13491, 309, 261, 3399, 812, 480, 446, 262, 5411, 288, 7734, 1387, 3399, 1621, 273, 3399, 812, 18, 588, 15512, 812, 7675, 588, 3054, 812, 5621, 7734, 309, 261, 4381, 480, 446, 262, 7734, 288, 10792, 364, 261, 4498, 518, 273, 4381, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 10792, 288, 13491, 514, 18164, 273, 261, 780, 13, 518, 18, 4285, 5621, 13491, 1387, 1605, 812, 273, 394, 1387, 12, 3399, 1621, 16, 18164, 262, 18, 588, 15512, 812, 5621, 13491, 1605, 2697, 18, 458, 12, 1605, 812, 16, 18164, 11272, 10792, 289, 7734, 289, 5411, 289, 10792, 289, 7734, 327, 261, 780, 13, 1605, 2697, 18, 588, 12, 1605, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11251, 743, 19985, 12, 17176, 4109, 1605, 4109, 262, 1216, 1860, 565, 288, 3639, 1387, 1605, 273, 1605, 4109, 18, 29925, 5621, 7734, 309, 261, 1605, 422, 446, 262, 3639, 288, 5411, 327, 446, 31, 3639, 289, 7734, 1605, 273, 1605, 18, 588, 15512, 812, 5621, 7734, 309, 261, 1605, 2697, 422, 446, 262, 3639, 288, 5411, 1605, 2697, 273, 394, 4317, 5621, 13491, 987, 4381, 273, 336, 7782, 5621, 5411, 1387, 3399, 812, 273, 6034, 5621, 13491, 309, 261, 3399, 812, 480, 446, 262, 5411, 288, 7734, 1387, 3399, 1621, 273, 3399, 812, 18, 588, 15512, 812, 7675, 588, 3054, 812, 5621, 7734, 309, 261, 4381, 480, 446, 262, 7734, 288, 10792, 364, 261, 4498, 2 ]
public abstract void setClip(Shape clip);
public abstract void setClip(int x, int y, int width, int height);
public abstract void setClip(Shape clip);
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/3b500ee5922bc7890c276ddee76f1520b369f2fd/Graphics.java/buggy/modules/awt/src/main/java/common/java/awt/Graphics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 918, 11440, 3169, 12, 8500, 6807, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 918, 11440, 3169, 12, 8500, 6807, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected RubyModule(IRuby runtime, RubyClass metaClass, RubyClass superClass, SinglyLinkedList parentCRef, String name) { super(runtime, metaClass); this.superClass = superClass; //this.parentModule = parentModule; setBaseName(name); // If no parent is passed in, it is safe to assume Object. if (parentCRef == null) { if (runtime.getObject() != null) { parentCRef = runtime.getObject().getCRef(); } } this.cref = new SinglyLinkedList(this, parentCRef); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/10c73ed2ca5db89e8e32669e4a9d4a933d0f98ca/RubyModule.java/clean/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 54, 10340, 3120, 12, 7937, 10340, 9448, 16, 54, 10340, 797, 3901, 797, 16, 54, 10340, 797, 9565, 797, 16, 55, 310, 715, 13174, 682, 2938, 39, 1957, 16, 780, 529, 15329, 9565, 12, 9448, 16, 3901, 797, 1769, 2211, 18, 9565, 797, 33, 9565, 797, 31, 759, 2211, 18, 2938, 3120, 33, 2938, 3120, 31, 202, 202, 542, 29907, 12, 529, 1769, 759, 2047, 82, 556, 817, 291, 23603, 267, 16, 305, 1054, 1727, 11453, 428, 2066, 921, 18, 430, 12, 2938, 39, 1957, 631, 2011, 15329, 430, 12, 9448, 18, 588, 921, 1435, 5, 33, 2011, 15329, 2938, 39, 1957, 33, 9448, 18, 588, 921, 7675, 588, 39, 1957, 5621, 9090, 2211, 18, 71, 1734, 33, 2704, 55, 310, 715, 13174, 682, 12, 2211, 16, 2938, 39, 1957, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 54, 10340, 3120, 12, 7937, 10340, 9448, 16, 54, 10340, 797, 3901, 797, 16, 54, 10340, 797, 9565, 797, 16, 55, 310, 715, 13174, 682, 2938, 39, 1957, 16, 780, 529, 15329, 9565, 12, 9448, 16, 3901, 797, 1769, 2211, 18, 9565, 797, 33, 9565, 797, 31, 759, 2211, 18, 2938, 3120, 33, 2938, 3120, 31, 202, 202, 542, 29907, 12, 529, 1769, 759, 2047, 82, 556, 817, 291, 23603, 267, 16, 305, 1054, 1727, 11453, 428, 2066, 921, 18, 430, 12, 2938, 39, 1957, 631, 2011, 15329, 430, 12, 9448, 18, 588, 921, 1435, 5, 33, 2011, 15329, 2938, 39, 1957, 33, 9448, 18, 588, 921, 7675, 588, 39, 1957, 5621, 9090, 2211, 18, 71, 1734, 33, 2 ]
perspective, page))
perspective, page)) {
public IContributionItem findPerspectiveShortcut( IPerspectiveDescriptor perspective, IWorkbenchPage page) { if (perspectiveBar == null) return null; IContributionItem[] items = perspectiveBar.getItems(); int length = items.length; for (int i = 0; i < length; i++) { IContributionItem item = items[i]; if (item instanceof PerspectiveBarContributionItem && ((PerspectiveBarContributionItem) item).handles( perspective, page)) return item; } return null; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/PerspectiveSwitcher.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveSwitcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 442, 4027, 1180, 1104, 14781, 16772, 15576, 12, 1082, 202, 2579, 414, 16772, 3187, 26651, 16, 467, 2421, 22144, 1964, 1363, 13, 288, 202, 202, 430, 261, 10422, 16772, 5190, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 45, 442, 4027, 1180, 8526, 1516, 273, 26651, 5190, 18, 588, 3126, 5621, 202, 202, 474, 769, 273, 1516, 18, 2469, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 1082, 202, 45, 442, 4027, 1180, 761, 273, 1516, 63, 77, 15533, 1082, 202, 430, 261, 1726, 1276, 453, 414, 16772, 5190, 442, 4027, 1180, 6862, 202, 10, 10, 14015, 14781, 16772, 5190, 442, 4027, 1180, 13, 761, 2934, 24111, 12, 6862, 1082, 202, 10422, 16772, 16, 1363, 3719, 9506, 202, 2463, 761, 31, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 442, 4027, 1180, 1104, 14781, 16772, 15576, 12, 1082, 202, 2579, 414, 16772, 3187, 26651, 16, 467, 2421, 22144, 1964, 1363, 13, 288, 202, 202, 430, 261, 10422, 16772, 5190, 422, 446, 13, 1082, 202, 2463, 446, 31, 202, 202, 45, 442, 4027, 1180, 8526, 1516, 273, 26651, 5190, 18, 588, 3126, 5621, 202, 202, 474, 769, 273, 1516, 18, 2469, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 1082, 202, 45, 442, 4027, 1180, 761, 273, 1516, 63, 77, 15533, 1082, 202, 430, 261, 1726, 1276, 453, 414, 16772, 5190, 442, 4027, 1180, 6862, 202, 10, 10, 14015, 14781, 16772, 5190, 442, 4027, 1180, 13, 2 ]
.append(getColumnNameDateOfBirth()).appendLessThanOrEqualsSign().append("'").append(fromAgeStamp.toString()).append("' ");
.append(getColumnNameDateOfBirth()).appendLessThanOrEqualsSign().append("'").append(youngerAgeStamp.toString()).append("' ");
private String getUserDateOfBirthSearchString(int startAge, int endAge) { IDOQuery query = idoQuery(); IWTimestamp fromAgeStamp = IWTimestamp.RightNow(); IWTimestamp toAgeStamp = IWTimestamp.RightNow(); fromAgeStamp.addYears(-startAge); fromAgeStamp.setMonth(1); fromAgeStamp.setDay(1); toAgeStamp.addYears(-endAge); toAgeStamp.setMonth(12); toAgeStamp.setDay(31); query.append(getColumnNameDateOfBirth()).appendGreaterThanOrEqualsSign().append("'").append(toAgeStamp.toString()).append("' "); query.appendAnd() .append(getColumnNameDateOfBirth()).appendLessThanOrEqualsSign().append("'").append(fromAgeStamp.toString()).append("' "); return query.toString(); }
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/4b659c7aba1ff7f0e2fdc02ab9e37828e3d372f0/UserBMPBean.java/clean/src/java/com/idega/user/data/UserBMPBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 4735, 1626, 951, 25791, 2979, 780, 12, 474, 787, 9692, 16, 509, 679, 9692, 13, 288, 202, 202, 734, 51, 1138, 843, 273, 612, 83, 1138, 5621, 25083, 202, 45, 59, 4921, 628, 9692, 8860, 273, 467, 59, 4921, 18, 4726, 8674, 5621, 202, 202, 45, 59, 4921, 358, 9692, 8860, 273, 467, 59, 4921, 18, 4726, 8674, 5621, 9506, 202, 2080, 9692, 8860, 18, 1289, 21945, 19236, 1937, 9692, 1769, 202, 202, 2080, 9692, 8860, 18, 542, 5445, 12, 21, 1769, 202, 202, 2080, 9692, 8860, 18, 542, 4245, 12, 21, 1769, 9506, 202, 869, 9692, 8860, 18, 1289, 21945, 19236, 409, 9692, 1769, 202, 202, 869, 9692, 8860, 18, 542, 5445, 12, 2138, 1769, 202, 202, 869, 9692, 8860, 18, 542, 4245, 12, 6938, 1769, 25083, 202, 2271, 18, 6923, 12, 588, 8516, 1626, 951, 25791, 1435, 2934, 6923, 28130, 1162, 8867, 2766, 7675, 6923, 2932, 4970, 2934, 6923, 12, 869, 9692, 8860, 18, 10492, 1435, 2934, 6923, 29823, 315, 1769, 202, 202, 2271, 18, 6923, 1876, 1435, 202, 202, 18, 6923, 12, 588, 8516, 1626, 951, 25791, 1435, 2934, 6923, 30899, 1162, 8867, 2766, 7675, 6923, 2932, 4970, 2934, 6923, 12, 2080, 9692, 8860, 18, 10492, 1435, 2934, 6923, 29823, 315, 1769, 9506, 202, 2463, 843, 18, 10492, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 4735, 1626, 951, 25791, 2979, 780, 12, 474, 787, 9692, 16, 509, 679, 9692, 13, 288, 202, 202, 734, 51, 1138, 843, 273, 612, 83, 1138, 5621, 25083, 202, 45, 59, 4921, 628, 9692, 8860, 273, 467, 59, 4921, 18, 4726, 8674, 5621, 202, 202, 45, 59, 4921, 358, 9692, 8860, 273, 467, 59, 4921, 18, 4726, 8674, 5621, 9506, 202, 2080, 9692, 8860, 18, 1289, 21945, 19236, 1937, 9692, 1769, 202, 202, 2080, 9692, 8860, 18, 542, 5445, 12, 21, 1769, 202, 202, 2080, 9692, 8860, 18, 542, 4245, 12, 21, 1769, 9506, 202, 869, 9692, 8860, 18, 1289, 21945, 19236, 409, 9692, 1769, 202, 202, 869, 9692, 8860, 18, 542, 5445, 12, 2138, 2 ]
if (child != null) break;
if (child != null || fSchemaInfoListRoot == null) break;
private Element getTopLevelComponentByName(String componentCategory, String name) throws Exception { Element child = null; SchemaInfo curr = fSchemaInfoListRoot; for (SchemaInfo cur = fSchemaInfoListRoot; cur != null; cur = cur.getNext()); for (; curr != null; curr = curr.getNext()) { curr.restore(); if ( componentCategory.equals(SchemaSymbols.ELT_GROUP) ) { child = (Element) fSchemaGrammar.topLevelGroupDecls.get(name); } else if ( componentCategory.equals(SchemaSymbols.ELT_ATTRIBUTEGROUP ) ) { child = (Element) fSchemaGrammar.topLevelAttrGrpDecls.get(name); } else if ( componentCategory.equals(SchemaSymbols.ELT_ATTRIBUTE ) ) { child = (Element) fSchemaGrammar.topLevelAttrDecls.get(name); } if (child != null ) { break; } child = XUtil.getFirstChildElement(fSchemaRootElement); if (child == null) { continue; } while (child != null ){ if ( child.getLocalName().equals(componentCategory)) { if (child.getAttribute(SchemaSymbols.ATT_NAME).equals(name)) { break; } } else if (fRedefineSucceeded && child.getLocalName().equals(SchemaSymbols.ELT_REDEFINE)) { Element gChild = XUtil.getFirstChildElement(child); while (gChild != null ){ if (gChild.getLocalName().equals(componentCategory)) { if (gChild.getAttribute(SchemaSymbols.ATT_NAME).equals(name)) { break; } } gChild = XUtil.getNextSiblingElement(gChild); } if (gChild != null) { child = gChild; break; } } child = XUtil.getNextSiblingElement(child); } if (child != null) break; } // have to reset fSchemaInfoList if(curr != null) curr.restore(); else fSchemaInfoListRoot.restore(); return child; }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/5f1ee75de3be70d653a7b5758dd85b2c85641315/TraverseSchema.java/clean/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3010, 13729, 2355, 1841, 5911, 12, 780, 1794, 4457, 16, 514, 508, 13, 1216, 1185, 288, 3639, 3010, 1151, 273, 446, 31, 3639, 4611, 966, 4306, 273, 284, 3078, 17914, 2375, 31, 565, 364, 261, 3078, 966, 662, 273, 284, 3078, 17914, 2375, 31, 662, 480, 446, 31, 662, 273, 662, 18, 588, 2134, 10663, 3639, 364, 261, 31, 4306, 480, 446, 31, 4306, 273, 4306, 18, 588, 2134, 10756, 288, 5411, 4306, 18, 13991, 5621, 5411, 309, 261, 1794, 4457, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 67, 8468, 13, 262, 288, 7734, 1151, 273, 261, 1046, 13, 284, 3078, 18576, 18, 3669, 2355, 1114, 1799, 3251, 18, 588, 12, 529, 1769, 5411, 289, 5411, 469, 309, 261, 1794, 4457, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 67, 11616, 8468, 262, 262, 288, 7734, 1151, 273, 261, 1046, 13, 284, 3078, 18576, 18, 3669, 2355, 3843, 43, 13832, 1799, 3251, 18, 588, 12, 529, 1769, 5411, 289, 5411, 469, 309, 261, 1794, 4457, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 67, 11616, 262, 262, 288, 7734, 1151, 273, 261, 1046, 13, 284, 3078, 18576, 18, 3669, 2355, 3843, 1799, 3251, 18, 588, 12, 529, 1769, 5411, 289, 5411, 309, 261, 3624, 480, 446, 262, 288, 7734, 898, 31, 5411, 289, 13491, 1151, 273, 1139, 1304, 18, 588, 3759, 1763, 1046, 12, 74, 3078, 2375, 1046, 1769, 5411, 309, 261, 3624, 422, 446, 13, 288, 7734, 1324, 31, 5411, 289, 5411, 1323, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3010, 13729, 2355, 1841, 5911, 12, 780, 1794, 4457, 16, 514, 508, 13, 1216, 1185, 288, 3639, 3010, 1151, 273, 446, 31, 3639, 4611, 966, 4306, 273, 284, 3078, 17914, 2375, 31, 565, 364, 261, 3078, 966, 662, 273, 284, 3078, 17914, 2375, 31, 662, 480, 446, 31, 662, 273, 662, 18, 588, 2134, 10663, 3639, 364, 261, 31, 4306, 480, 446, 31, 4306, 273, 4306, 18, 588, 2134, 10756, 288, 5411, 4306, 18, 13991, 5621, 5411, 309, 261, 1794, 4457, 18, 14963, 12, 3078, 14821, 18, 2247, 56, 67, 8468, 13, 262, 288, 7734, 1151, 273, 261, 1046, 13, 284, 3078, 18576, 18, 3669, 2355, 1114, 1799, 3251, 18, 588, 12, 529, 1769, 5411, 289, 5411, 2 ]
saveImage(img, new FileOutputStream(imgFile));
OutputStream out = new FileOutputStream(imgFile); try { saveImage(img, out); } finally { out.close(); }
protected void saveImage(BufferedImage img, File imgFile) throws IOException { if(!imgFile.exists()){ imgFile.createNewFile(); } saveImage(img, new FileOutputStream(imgFile)); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/288d0e473bacb99bcc26e3082045e995dd862c55/AbstractRenderingAccuracyTest.java/buggy/test-sources/org/apache/batik/test/svg/AbstractRenderingAccuracyTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1923, 2040, 12, 17947, 2040, 3774, 16, 1387, 3774, 812, 13, 3639, 1216, 1860, 288, 3639, 309, 12, 5, 6081, 812, 18, 1808, 10756, 95, 5411, 3774, 812, 18, 2640, 1908, 812, 5621, 3639, 289, 3639, 8962, 596, 273, 394, 12942, 12, 6081, 812, 1769, 775, 288, 1923, 2040, 12, 6081, 16, 596, 1769, 289, 3095, 288, 596, 18, 4412, 5621, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1923, 2040, 12, 17947, 2040, 3774, 16, 1387, 3774, 812, 13, 3639, 1216, 1860, 288, 3639, 309, 12, 5, 6081, 812, 18, 1808, 10756, 95, 5411, 3774, 812, 18, 2640, 1908, 812, 5621, 3639, 289, 3639, 8962, 596, 273, 394, 12942, 12, 6081, 812, 1769, 775, 288, 1923, 2040, 12, 6081, 16, 596, 1769, 289, 3095, 288, 596, 18, 4412, 5621, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
out.print("[" + pc + "] ");
out.flush(); out.print(" [" + pc + "] ");
private static void dumpICode(InterpreterData idata) { if (Context.printICode) { try { int iCodeLength = idata.itsICodeTop; byte iCode[] = idata.itsICode; String[] strings = idata.itsStringTable; out = new PrintWriter(new FileOutputStream("icode.txt", true)); out.println("ICode dump, for " + idata.itsName + ", length = " + iCodeLength); out.println("MaxStack = " + idata.itsMaxStack); for (int pc = 0; pc < iCodeLength; ) { out.print("[" + pc + "] "); int token = iCode[pc] & 0xff; String tname = icodeToName(token); int old_pc = pc; ++pc; int icodeLength = icodeTokenLength(token); switch (token) { default: if (icodeLength != 1) Context.codeBug(); out.println(tname); break; case GOSUB : case TokenStream.GOTO : case TokenStream.IFEQ : case TokenStream.IFNE : { int newPC = getTarget(iCode, pc); out.println(tname + " " + newPC); pc += 2; break; } case TokenStream.TRY : { int catch_offset = getShort(iCode, pc); int finally_offset = getShort(iCode, pc + 2); int with_depth = getIndex(iCode, pc + 4); int catch_pc = (catch_offset == 0) ? -1 : pc - 1 + catch_offset; int finally_pc = (finally_offset == 0) ? -1 : pc - 1 + finally_offset; out.println(tname + " " + catch_pc + " " + finally_pc + " " +with_depth); pc += 6; break; } case RETSUB : case TokenStream.ENUMINIT : case TokenStream.ENUMNEXT : case TokenStream.VARINC : case TokenStream.VARDEC : case TokenStream.GETVAR : case TokenStream.SETVAR : case TokenStream.NEWTEMP : case TokenStream.USETEMP : { int slot = (iCode[pc] & 0xFF); out.println(tname + " " + slot); pc++; break; } case TokenStream.CALLSPECIAL : { int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int line = getShort(iCode, pc+2); String source = strings[getIndex(iCode, pc + 4)]; int count = getIndex(iCode, pc + 6); out.println(tname + " " + callType + " " + isNew + " " + count + " " + line + " " + source); pc += 8; break; } case TokenStream.REGEXP : { int i = getIndex(iCode, pc); Object regexp = idata.itsRegExpLiterals[i]; out.println(tname + " " + regexp); pc += 2; break; } case TokenStream.CLOSURE : { int i = getIndex(iCode, pc); InterpreterData data2 = idata.itsNestedFunctions[i]; out.println(tname + " " + data2); pc += 2; break; } case TokenStream.NEW : case TokenStream.CALL : { int count = getIndex(iCode, pc + 2); String name = strings[getIndex(iCode, pc)]; out.println(tname + " " + count + " \"" + name + '"'); pc += 4; break; } case SHORTNUMBER_ICODE : { int value = getShort(iCode, pc); out.println(tname + " " + value); pc += 2; break; } case INTNUMBER_ICODE : { int value = getInt(iCode, pc); out.println(tname + " " + value); pc += 4; break; } case TokenStream.NUMBER : { int index = getIndex(iCode, pc); double value = idata.itsDoubleTable[index]; out.println(tname + " " + value); pc += 2; break; } case TokenStream.TYPEOFNAME : case TokenStream.GETBASE : case TokenStream.BINDNAME : case TokenStream.SETNAME : case TokenStream.NAME : case TokenStream.NAMEINC : case TokenStream.NAMEDEC : case TokenStream.STRING : { String str = strings[getIndex(iCode, pc)]; out.println(tname + " \"" + str + '"'); pc += 2; break; } case LINE_ICODE : { int line = getShort(iCode, pc); out.println(tname + " : " + line); pc += 2; break; } } if (old_pc + icodeLength != pc) Context.codeBug(); } out.close(); } catch (IOException x) {} } }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/3bad6fe1f865acfaff0361b1b58340e6526addd8/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4657, 45, 1085, 12, 30010, 751, 612, 396, 13, 288, 3639, 309, 261, 1042, 18, 1188, 45, 1085, 13, 288, 5411, 775, 288, 7734, 509, 277, 1085, 1782, 273, 612, 396, 18, 1282, 45, 1085, 3401, 31, 7734, 1160, 277, 1085, 8526, 273, 612, 396, 18, 1282, 45, 1085, 31, 7734, 514, 8526, 2064, 273, 612, 396, 18, 1282, 780, 1388, 31, 7734, 596, 273, 394, 14071, 12, 2704, 12942, 2932, 3487, 18, 5830, 3113, 638, 10019, 7734, 596, 18, 8222, 2932, 45, 1085, 4657, 16, 364, 315, 397, 612, 396, 18, 1282, 461, 18701, 397, 3104, 769, 273, 315, 397, 277, 1085, 1782, 1769, 7734, 596, 18, 8222, 2932, 2747, 2624, 273, 315, 397, 612, 396, 18, 1282, 2747, 2624, 1769, 7734, 364, 261, 474, 6125, 273, 374, 31, 6125, 411, 277, 1085, 1782, 31, 262, 288, 10792, 596, 18, 11330, 5621, 596, 18, 1188, 2932, 8247, 397, 6125, 397, 9850, 315, 1769, 10792, 509, 1147, 273, 277, 1085, 63, 2436, 65, 473, 374, 5297, 31, 10792, 514, 27829, 273, 277, 710, 774, 461, 12, 2316, 1769, 10792, 509, 1592, 67, 2436, 273, 6125, 31, 10792, 965, 2436, 31, 10792, 509, 277, 710, 1782, 273, 277, 710, 1345, 1782, 12, 2316, 1769, 10792, 1620, 261, 2316, 13, 288, 13491, 805, 30, 18701, 309, 261, 3487, 1782, 480, 404, 13, 1772, 18, 710, 19865, 5621, 18701, 596, 18, 8222, 12, 88, 529, 1769, 18701, 898, 31, 13491, 648, 611, 4618, 3457, 294, 13491, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 4657, 45, 1085, 12, 30010, 751, 612, 396, 13, 288, 3639, 309, 261, 1042, 18, 1188, 45, 1085, 13, 288, 5411, 775, 288, 7734, 509, 277, 1085, 1782, 273, 612, 396, 18, 1282, 45, 1085, 3401, 31, 7734, 1160, 277, 1085, 8526, 273, 612, 396, 18, 1282, 45, 1085, 31, 7734, 514, 8526, 2064, 273, 612, 396, 18, 1282, 780, 1388, 31, 7734, 596, 273, 394, 14071, 12, 2704, 12942, 2932, 3487, 18, 5830, 3113, 638, 10019, 7734, 596, 18, 8222, 2932, 45, 1085, 4657, 16, 364, 315, 397, 612, 396, 18, 1282, 461, 18701, 397, 3104, 769, 273, 315, 397, 277, 1085, 1782, 1769, 7734, 596, 18, 8222, 2932, 2747, 2624, 273, 315, 397, 2 ]
DataObjectImpl(OID oid) { m_oid = oid;
DataObjectImpl(ObjectType type) { m_oid = new OID(type);
DataObjectImpl(OID oid) { m_oid = oid; }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/28447102eb703cc98b5742f3f50d60cf6b30e06c/DataObjectImpl.java/buggy/archive/proto/src/com/arsdigita/persistence/DataObjectImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 18914, 2828, 12, 12945, 7764, 13, 288, 3639, 312, 67, 839, 273, 7764, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 18914, 2828, 12, 12945, 7764, 13, 288, 3639, 312, 67, 839, 273, 7764, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
HistoryRecord record = new HistoryRecord(propertyNames, propertyValues, timestamp);
HistoryRecord record = new HistoryRecord(propertyNames, propertyValues, timestamp);
private QueryResultSet findByXpath(String xpathExpression) { Vector vect = new Vector(); Iterator filelist = this.historyImpl.getFileList(); Navigator navigator = DocumentNavigator.getInstance(); XPath xpath; try { xpath = navigator.parseXPath(xpathExpression); } catch (SAXPathException e) { throw new RuntimeException(e); } while (filelist.hasNext()) { String filename = (String) filelist.next(); Document doc = this.historyImpl.getDocumentForFile(filename); List nodes; try { nodes = xpath.selectNodes(doc); } catch (JaxenException e) { throw new RuntimeException(e); } Iterator i = nodes.iterator(); while (i.hasNext()) { Node node = (Node) i.next(); NodeList propertyNodes = node.getChildNodes(); String ts = node.getAttributes().getNamedItem("timestamp") .getNodeValue(); Date timestamp = new Date(Long.parseLong(ts)); ArrayList nameVals = new ArrayList(); int len = propertyNodes.getLength(); for (int j = 0; j < len; j++) { Node propertyNode = propertyNodes.item(j); if (propertyNode.getNodeType() == Node.ELEMENT_NODE) { nameVals.add(propertyNode.getNodeName()); // Get nested TEXT node's value nameVals.add(propertyNode.getFirstChild() .getNodeValue()); } } String[] propertyNames = new String[nameVals.size() / 2]; String[] propertyValues = new String[propertyNames.length]; for (int j = 0; j < propertyNames.length; j++) { propertyNames[j] = (String) nameVals.get(j * 2); propertyValues[j] = (String) nameVals.get(j * 2 + 1); } HistoryRecord record = new HistoryRecord(propertyNames, propertyValues, timestamp); vect.add(record); } } return new DefaultQueryResultSet(vect); }
27035 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27035/dd511f0f97892bf31dc2a7a1989480bf6b6b5308/HistoryReaderImpl.java/buggy/src/net/java/sip/communicator/impl/history/HistoryReaderImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 2770, 13198, 6224, 28137, 12, 780, 6748, 2300, 13, 288, 202, 202, 5018, 21623, 273, 394, 5589, 5621, 202, 202, 3198, 26204, 273, 333, 18, 8189, 2828, 18, 588, 26098, 5621, 202, 202, 22817, 19796, 273, 4319, 22817, 18, 588, 1442, 5621, 202, 202, 14124, 6748, 31, 202, 202, 698, 288, 1082, 202, 18644, 273, 19796, 18, 2670, 14124, 12, 18644, 2300, 1769, 202, 202, 97, 1044, 261, 55, 2501, 743, 503, 425, 13, 288, 1082, 202, 12849, 394, 3235, 12, 73, 1769, 202, 202, 97, 202, 202, 17523, 261, 7540, 5449, 18, 5332, 2134, 10756, 288, 1082, 202, 780, 1544, 273, 261, 780, 13, 26204, 18, 4285, 5621, 1082, 202, 2519, 997, 273, 333, 18, 8189, 2828, 18, 588, 2519, 1290, 812, 12, 3459, 1769, 1082, 202, 682, 2199, 31, 1082, 202, 698, 288, 9506, 202, 4690, 273, 6748, 18, 4025, 3205, 12, 2434, 1769, 1082, 202, 97, 1044, 261, 46, 651, 275, 503, 425, 13, 288, 9506, 202, 12849, 394, 3235, 12, 73, 1769, 1082, 202, 97, 1082, 202, 3198, 277, 273, 2199, 18, 9838, 5621, 1082, 202, 17523, 261, 77, 18, 5332, 2134, 10756, 288, 9506, 202, 907, 756, 273, 261, 907, 13, 277, 18, 4285, 5621, 9506, 202, 19914, 1272, 3205, 273, 756, 18, 588, 22460, 5621, 9506, 202, 780, 3742, 273, 756, 18, 588, 2498, 7675, 588, 7604, 1180, 2932, 5508, 7923, 25083, 202, 18, 588, 907, 620, 5621, 9506, 202, 1626, 2858, 273, 394, 2167, 12, 3708, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 2770, 13198, 6224, 28137, 12, 780, 6748, 2300, 13, 288, 202, 202, 5018, 21623, 273, 394, 5589, 5621, 202, 202, 3198, 26204, 273, 333, 18, 8189, 2828, 18, 588, 26098, 5621, 202, 202, 22817, 19796, 273, 4319, 22817, 18, 588, 1442, 5621, 202, 202, 14124, 6748, 31, 202, 202, 698, 288, 1082, 202, 18644, 273, 19796, 18, 2670, 14124, 12, 18644, 2300, 1769, 202, 202, 97, 1044, 261, 55, 2501, 743, 503, 425, 13, 288, 1082, 202, 12849, 394, 3235, 12, 73, 1769, 202, 202, 97, 202, 202, 17523, 261, 7540, 5449, 18, 5332, 2134, 10756, 288, 1082, 202, 780, 1544, 273, 261, 780, 13, 26204, 18, 4285, 5621, 1082, 202, 2519, 997, 273, 333, 18, 2 ]
List nags = getAgentsInSocieties();
List nags = getAgentsInSociety();
private List getAgentsInComponents() { List agents = new ArrayList(); List nags = getAgentsInSocieties(); if (nags != null && (! nags.isEmpty())) agents.addAll(nags); nags = getAgentsInRecipes(); if (nags != null && (! nags.isEmpty())) agents.addAll(nags); return agents; }
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/dcd79c6725c97d33bf8748edc006100e7841feb5/Experiment.java/buggy/csmart/src/org/cougaar/tools/csmart/experiment/Experiment.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 987, 336, 23400, 382, 7171, 1435, 288, 565, 987, 16423, 273, 394, 2407, 5621, 565, 987, 290, 1341, 273, 336, 23400, 382, 55, 1882, 14369, 5621, 565, 309, 261, 82, 1341, 480, 446, 597, 16051, 290, 1341, 18, 291, 1921, 1435, 3719, 1377, 16423, 18, 1289, 1595, 12, 82, 1341, 1769, 565, 290, 1341, 273, 336, 23400, 382, 426, 3449, 281, 5621, 565, 309, 261, 82, 1341, 480, 446, 597, 16051, 290, 1341, 18, 291, 1921, 1435, 3719, 1377, 16423, 18, 1289, 1595, 12, 82, 1341, 1769, 565, 327, 16423, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 987, 336, 23400, 382, 7171, 1435, 288, 565, 987, 16423, 273, 394, 2407, 5621, 565, 987, 290, 1341, 273, 336, 23400, 382, 55, 1882, 14369, 5621, 565, 309, 261, 82, 1341, 480, 446, 597, 16051, 290, 1341, 18, 291, 1921, 1435, 3719, 1377, 16423, 18, 1289, 1595, 12, 82, 1341, 1769, 565, 290, 1341, 273, 336, 23400, 382, 426, 3449, 281, 5621, 565, 309, 261, 82, 1341, 480, 446, 597, 16051, 290, 1341, 18, 291, 1921, 1435, 3719, 1377, 16423, 18, 1289, 1595, 12, 82, 1341, 1769, 565, 327, 16423, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(log.isInfoEnabled()) log.info("setting frag_size=" + frag_size);
if(log.isDebugEnabled()) log.debug("setting frag_size=" + frag_size);
void handleConfigEvent(HashMap map) { if(map == null) return; if(map.containsKey("frag_size")) { frag_size=((Integer)map.get("frag_size")).intValue(); if(log.isInfoEnabled()) log.info("setting frag_size=" + frag_size); } }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/FRAG.java/clean/src/org/jgroups/protocols/FRAG.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 809, 1133, 12, 8658, 852, 13, 288, 3639, 309, 12, 1458, 422, 446, 13, 327, 31, 3639, 309, 12, 1458, 18, 12298, 653, 2932, 17073, 67, 1467, 6, 3719, 288, 5411, 10111, 67, 1467, 33, 12443, 4522, 13, 1458, 18, 588, 2932, 17073, 67, 1467, 7923, 2934, 474, 620, 5621, 9079, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 8920, 10111, 67, 1467, 1546, 397, 10111, 67, 1467, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 809, 1133, 12, 8658, 852, 13, 288, 3639, 309, 12, 1458, 422, 446, 13, 327, 31, 3639, 309, 12, 1458, 18, 12298, 653, 2932, 17073, 67, 1467, 6, 3719, 288, 5411, 10111, 67, 1467, 33, 12443, 4522, 13, 1458, 18, 588, 2932, 17073, 67, 1467, 7923, 2934, 474, 620, 5621, 9079, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 8920, 10111, 67, 1467, 1546, 397, 10111, 67, 1467, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(prev != null && prev.getFollowingText() == null && outer.getTextRange().getStartOffset() == prev.getTextRange().getEndOffset()) {
if (prev != null && prev.getFollowingText() == null && outer.getTextRange().getStartOffset() == prev.getTextRange().getEndOffset()) {
private void normalizeOuterLanguageElementsInner(final PsiFile lang) { final Set<WeakReference<OuterLanguageElement>> outerElements = myOuterLanguageElements.get(lang); if(outerElements == null) return; final Iterator<WeakReference<OuterLanguageElement>> iterator = outerElements.iterator(); OuterLanguageElement prev = null; while (iterator.hasNext()) { final WeakReference<OuterLanguageElement> outerElement = iterator.next(); final OuterLanguageElement outer = outerElement.get(); if (outer == null) { iterator.remove(); continue; } if(prev != null && prev.getFollowingText() == null && outer.getTextRange().getStartOffset() == prev.getTextRange().getEndOffset()) { final CompositeElement prevParent = prev.getTreeParent(); if (prevParent != null && prevParent.getElementType() == JspElementType.JSP_TEMPLATE_EXPRESSION || PsiTreeUtil.getParentOfType(outer, JspWhileStatement.class) != null) prev = mergeOuterLanguageElements(outer, prev); else prev = mergeOuterLanguageElements(prev, outer); } else prev = outer; } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/332b4449ff3189cc9c7a994ccf5fd11ed10e9da5/CompositeLanguageFileViewProvider.java/buggy/source/com/intellij/psi/CompositeLanguageFileViewProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 3883, 15040, 3779, 3471, 2857, 12, 6385, 453, 7722, 812, 3303, 13, 288, 565, 727, 1000, 32, 3218, 581, 2404, 32, 15040, 3779, 1046, 9778, 6390, 3471, 273, 3399, 15040, 3779, 3471, 18, 588, 12, 4936, 1769, 565, 309, 12, 14068, 3471, 422, 446, 13, 327, 31, 565, 727, 4498, 32, 3218, 581, 2404, 32, 15040, 3779, 1046, 9778, 2775, 273, 6390, 3471, 18, 9838, 5621, 565, 2976, 264, 3779, 1046, 2807, 273, 446, 31, 565, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 1377, 727, 23632, 2404, 32, 15040, 3779, 1046, 34, 6390, 1046, 273, 2775, 18, 4285, 5621, 1377, 727, 2976, 264, 3779, 1046, 6390, 273, 6390, 1046, 18, 588, 5621, 1377, 309, 261, 14068, 422, 446, 13, 288, 3639, 2775, 18, 4479, 5621, 3639, 1324, 31, 1377, 289, 1377, 309, 12, 10001, 480, 446, 597, 2807, 18, 588, 8328, 310, 1528, 1435, 422, 446, 597, 540, 6390, 18, 588, 1528, 2655, 7675, 588, 1685, 2335, 1435, 422, 2807, 18, 588, 1528, 2655, 7675, 588, 1638, 2335, 10756, 288, 3639, 727, 14728, 1046, 2807, 3054, 273, 2807, 18, 588, 2471, 3054, 5621, 3639, 309, 261, 10001, 3054, 480, 446, 597, 2807, 3054, 18, 588, 17481, 1435, 422, 19300, 17481, 18, 46, 3118, 67, 12205, 67, 19111, 747, 5411, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 14068, 16, 19300, 15151, 3406, 18, 1106, 13, 480, 446, 13, 1850, 2807, 273, 2691, 15040, 3779, 3471, 12, 14068, 16, 2807, 1769, 3639, 469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 3883, 15040, 3779, 3471, 2857, 12, 6385, 453, 7722, 812, 3303, 13, 288, 565, 727, 1000, 32, 3218, 581, 2404, 32, 15040, 3779, 1046, 9778, 6390, 3471, 273, 3399, 15040, 3779, 3471, 18, 588, 12, 4936, 1769, 565, 309, 12, 14068, 3471, 422, 446, 13, 327, 31, 565, 727, 4498, 32, 3218, 581, 2404, 32, 15040, 3779, 1046, 9778, 2775, 273, 6390, 3471, 18, 9838, 5621, 565, 2976, 264, 3779, 1046, 2807, 273, 446, 31, 565, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 1377, 727, 23632, 2404, 32, 15040, 3779, 1046, 34, 6390, 1046, 273, 2775, 18, 4285, 5621, 1377, 727, 2976, 264, 3779, 1046, 6390, 273, 6390, 1046, 18, 588, 5621, 1377, 309, 261, 2 ]
ErrorLog.error(GrouperAccessAdapter.class, eGNF.getMessage());
private Set _getPrivs( GrouperSession s, Subject subj, Member m, Privilege p, Iterator iter ) throws SchemaException { Set privs = new LinkedHashSet(); Membership ms; while (iter.hasNext()) { ms = (Membership) iter.next(); ms.setSession(s); Subject owner = subj; boolean revoke = true; try { if (!SubjectHelper.eq(m.getSubject(), subj)) { owner = m.getSubject(); revoke = false; } } catch (SubjectNotFoundException eSNF) { // bloody odd } try { owner = ms.getViaGroup().toSubject(); revoke = false; } catch (GroupNotFoundException eGNF) { // ignore } try { privs.add( new AccessPrivilege( ms.getGroup() , subj , owner, p , s.getAccessClass(), revoke ) ); } catch (GroupNotFoundException eGNF) { // this is also bloody odd } } return privs; } // private Set _get(s, subj, m, p, iter)
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/5d725292bc320dae60c4fef2bba72bb8a2fc518a/GrouperAccessAdapter.java/buggy/grouper/src/grouper/edu/internet2/middleware/grouper/GrouperAccessAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1068, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1068, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 3238, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1000, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 389, 588, 15475, 87, 12, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1068, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1068, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1068, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 3756, 264, 2157, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 272, 16, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 9912, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 15333, 16, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 8596, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1068, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1068, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 3238, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1000, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 389, 588, 15475, 87, 12, 668, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1068, 1343, 18, 1636, 12, 1114, 264, 1862, 4216, 18, 1106, 16, 425, 8318, 42, 18, 24906, 10663, 1068, 1343, 18, 1636, 2 ]
new NoViableAltException("410:33: ( \',\' )?", 27, 0, input);
new NoViableAltException("417:33: ( \',\' )?", 27, 0, input);
public void rule_attributes(RuleDescr rule) throws RecognitionException { AttributeDescr a = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:409:25: ( ( 'attributes' )? ( ':' )? opt_eol ( ( ',' )? a= rule_attribute opt_eol )* ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:409:25: ( 'attributes' )? ( ':' )? opt_eol ( ( ',' )? a= rule_attribute opt_eol )* { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:409:25: ( 'attributes' )? int alt25=2; int LA25_0 = input.LA(1); if ( LA25_0==32 ) { alt25=1; } else if ( LA25_0==EOL||LA25_0==15||LA25_0==22||LA25_0==27||(LA25_0>=29 && LA25_0<=31)||(LA25_0>=33 && LA25_0<=38) ) { alt25=2; } else { NoViableAltException nvae = new NoViableAltException("409:25: ( \'attributes\' )?", 25, 0, input); throw nvae; } switch (alt25) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:409:25: 'attributes' { match(input,32,FOLLOW_32_in_rule_attributes749); } break; } // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:409:39: ( ':' )? int alt26=2; int LA26_0 = input.LA(1); if ( LA26_0==30 ) { alt26=1; } else if ( LA26_0==EOL||LA26_0==15||LA26_0==22||LA26_0==27||LA26_0==29||LA26_0==31||(LA26_0>=33 && LA26_0<=38) ) { alt26=2; } else { NoViableAltException nvae = new NoViableAltException("409:39: ( \':\' )?", 26, 0, input); throw nvae; } switch (alt26) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:409:39: ':' { match(input,30,FOLLOW_30_in_rule_attributes752); } break; } following.push(FOLLOW_opt_eol_in_rule_attributes755); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:410:25: ( ( ',' )? a= rule_attribute opt_eol )* loop28: do { int alt28=2; int LA28_0 = input.LA(1); if ( LA28_0==22||(LA28_0>=33 && LA28_0<=38) ) { alt28=1; } switch (alt28) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:410:33: ( ',' )? a= rule_attribute opt_eol { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:410:33: ( ',' )? int alt27=2; int LA27_0 = input.LA(1); if ( LA27_0==22 ) { alt27=1; } else if ( (LA27_0>=33 && LA27_0<=38) ) { alt27=2; } else { NoViableAltException nvae = new NoViableAltException("410:33: ( \',\' )?", 27, 0, input); throw nvae; } switch (alt27) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:410:33: ',' { match(input,22,FOLLOW_22_in_rule_attributes762); } break; } following.push(FOLLOW_rule_attribute_in_rule_attributes767); a=rule_attribute(); following.pop(); following.push(FOLLOW_opt_eol_in_rule_attributes769); opt_eol(); following.pop(); rule.addAttribute( a ); } break; default : break loop28; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/ca87e40b5754cd366785b207f8cd109258275f53/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 67, 4350, 12, 2175, 16198, 1720, 13, 1216, 9539, 288, 6647, 3601, 16198, 279, 273, 446, 31, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24, 5908, 30, 2947, 30, 261, 261, 296, 4350, 11, 7851, 261, 3921, 7851, 2153, 67, 30951, 261, 261, 3316, 7851, 279, 33, 1720, 67, 4589, 2153, 67, 30951, 8618, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24, 5908, 30, 2947, 30, 261, 296, 4350, 11, 7851, 261, 3921, 7851, 2153, 67, 30951, 261, 261, 3316, 7851, 279, 33, 1720, 67, 4589, 2153, 67, 30951, 8618, 5411, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24, 5908, 30, 2947, 30, 261, 296, 4350, 11, 7851, 5411, 509, 3770, 2947, 33, 22, 31, 5411, 509, 2928, 2947, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 2947, 67, 20, 631, 1578, 262, 288, 7734, 3770, 2947, 33, 21, 31, 5411, 289, 5411, 469, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 67, 4350, 12, 2175, 16198, 1720, 13, 1216, 9539, 288, 6647, 3601, 16198, 279, 273, 446, 31, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 24, 5908, 30, 2947, 30, 261, 261, 296, 4350, 11, 7851, 261, 3921, 7851, 2153, 67, 30951, 261, 261, 3316, 7851, 279, 33, 1720, 67, 4589, 2153, 67, 30951, 8618, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 2 ]
System.err.println(message);
public static void unzipFileToLocation(String zipFilePath, String toDirName) throws IOException { ZipFile zipFile; Enumeration enumr; boolean isEmptyFile = false; try { zipFile = new ZipFile(zipFilePath); if (zipFile.size() == 0) { isEmptyFile = true; } else { String infoMessage = "Unzipping file: " + zipFilePath; LOG.info(infoMessage); System.out.println(infoMessage); enumr = zipFile.entries(); while (enumr.hasMoreElements()) { ZipEntry target = (ZipEntry) enumr.nextElement(); String message = "Exploding: " + target.getName(); LOG.debug(message); System.out.println(message); saveItem(zipFile, toDirName, target); } zipFile.close(); } } catch (FileNotFoundException fnfe) { String message = "Could not find zip file" + zipFilePath; LOG.error(message, fnfe); System.err.println(message + " - " + fnfe.getMessage()); throw new RuntimeException(message, fnfe); } catch (ZipException ze) { String message = "Zip error occured while unzipping file " + zipFilePath; LOG.error(message, ze); System.err.println(message + " - " + ze.getMessage()); throw new RuntimeException(message, ze); } catch (IOException ioe) { String message = "Error occured while unzipping file " + zipFilePath; LOG.error(message, ioe); System.err.println(message + " - " + ioe.getMessage()); throw new RuntimeException(message, ioe); } if (isEmptyFile) { String message = "Zip file has no entries: " + zipFilePath; LOG.warn(message); System.err.println(message); throw new IOException(message); } String infoMessage = "Unzip complete"; LOG.info(infoMessage); System.out.println(infoMessage); }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/2c85e0021203d96ece16c5bbfb40ebb70caeeb07/ZipUtil.java/buggy/contrib/distributed/src/net/sourceforge/cruisecontrol/distributed/util/ZipUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 20259, 812, 774, 2735, 12, 780, 3144, 5598, 16, 514, 358, 28780, 13, 1216, 1860, 288, 3639, 18364, 19450, 31, 3639, 13864, 2792, 86, 31, 3639, 1250, 2709, 812, 273, 629, 31, 3639, 775, 288, 5411, 19450, 273, 394, 18364, 12, 4450, 5598, 1769, 5411, 309, 261, 4450, 812, 18, 1467, 1435, 422, 374, 13, 288, 7734, 2709, 812, 273, 638, 31, 5411, 289, 469, 288, 7734, 514, 1123, 1079, 273, 315, 984, 4450, 1382, 585, 30, 315, 397, 3144, 5598, 31, 7734, 2018, 18, 1376, 12, 1376, 1079, 1769, 7734, 2332, 18, 659, 18, 8222, 12, 1376, 1079, 1769, 7734, 2792, 86, 273, 19450, 18, 8219, 5621, 7734, 1323, 261, 7924, 86, 18, 5332, 7417, 3471, 10756, 288, 10792, 23652, 1018, 273, 261, 9141, 1622, 13, 2792, 86, 18, 4285, 1046, 5621, 10792, 514, 883, 273, 315, 424, 412, 4751, 30, 315, 397, 1018, 18, 17994, 5621, 10792, 2018, 18, 4148, 12, 2150, 1769, 10792, 2332, 18, 659, 18, 8222, 12, 2150, 1769, 10792, 1923, 1180, 12, 4450, 812, 16, 358, 28780, 16, 1018, 1769, 7734, 289, 7734, 19450, 18, 4412, 5621, 5411, 289, 3639, 289, 1044, 261, 812, 3990, 2295, 3030, 13, 288, 5411, 514, 883, 273, 315, 4445, 486, 1104, 3144, 585, 6, 397, 3144, 5598, 31, 5411, 2018, 18, 1636, 12, 2150, 16, 2295, 3030, 1769, 5411, 2332, 18, 370, 18, 8222, 12, 2150, 397, 315, 300, 315, 397, 2295, 3030, 18, 24906, 10663, 5411, 604, 394, 3235, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 20259, 812, 774, 2735, 12, 780, 3144, 5598, 16, 514, 358, 28780, 13, 1216, 1860, 288, 3639, 18364, 19450, 31, 3639, 13864, 2792, 86, 31, 3639, 1250, 2709, 812, 273, 629, 31, 3639, 775, 288, 5411, 19450, 273, 394, 18364, 12, 4450, 5598, 1769, 5411, 309, 261, 4450, 812, 18, 1467, 1435, 422, 374, 13, 288, 7734, 2709, 812, 273, 638, 31, 5411, 289, 469, 288, 7734, 514, 1123, 1079, 273, 315, 984, 4450, 1382, 585, 30, 315, 397, 3144, 5598, 31, 7734, 2018, 18, 1376, 12, 1376, 1079, 1769, 7734, 2332, 18, 659, 18, 8222, 12, 1376, 1079, 1769, 7734, 2792, 86, 273, 19450, 18, 8219, 5621, 7734, 1323, 261, 7924, 86, 18, 5332, 2 ]
out.println("tightMarshalByteArray2(" + getter + ", dataOut, bs);");
out.println(" tightMarshalByteArray2(" + getter + ", dataOut, bs);");
protected void generateTightMarshal2Body(PrintWriter out) { List properties = getProperties(); for (Iterator iter = properties.iterator(); iter.hasNext();) { JProperty property = (JProperty) iter.next(); JAnnotation annotation = property.getAnnotation("openwire:property"); JAnnotationValue size = annotation.getValue("size"); JClass propertyType = property.getType(); String type = propertyType.getSimpleName(); String getter = "info." + property.getGetter().getSimpleName() + "()"; out.print(indent); if (type.equals("boolean")) { out.println("bs.readBoolean();"); } else if (type.equals("byte")) { out.println("dataOut.writeByte(" + getter + ");"); } else if (type.equals("char")) { out.println("dataOut.writeChar(" + getter + ");"); } else if (type.equals("short")) { out.println("dataOut.writeShort(" + getter + ");"); } else if (type.equals("int")) { out.println("dataOut.writeInt(" + getter + ");"); } else if (type.equals("long")) { out.println("tightMarshalLong2(wireFormat, " + getter + ", dataOut, bs);"); } else if (type.equals("String")) { out.println("tightMarshalString2(" + getter + ", dataOut, bs);"); } else if (type.equals("byte[]")) { if (size != null) { out.println("tightMarshalConstByteArray2(" + getter + ", dataOut, bs, " + size.asInt() + ");"); } else { out.println("tightMarshalByteArray2(" + getter + ", dataOut, bs);"); } } else if (type.equals("ByteSequence")) { out.println("tightMarshalByteSequence2(" + getter + ", dataOut, bs);"); } else if (propertyType.isArrayType()) { if (size != null) { out.println("tightMarshalObjectArrayConstSize2(wireFormat, " + getter + ", dataOut, bs, " + size.asInt() + ");"); } else { out.println("tightMarshalObjectArray2(wireFormat, " + getter + ", dataOut, bs);"); } } else if (isThrowable(propertyType)) { out.println("tightMarshalThrowable2(wireFormat, " + getter + ", dataOut, bs);"); } else { if (isCachedProperty(property)) { out.println("tightMarshalCachedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);"); } else { out.println("tightMarshalNestedObject2(wireFormat, (DataStructure)" + getter + ", dataOut, bs);"); } } } }
17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/cd0fb615deb6accf8dfdc07fbe58b53cf6b972a2/OpenWireJavaMarshallingScript.java/clean/activemq-core/src/gram/java/org/apache/activemq/openwire/tool/OpenWireJavaMarshallingScript.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2103, 56, 750, 8105, 22, 2250, 12, 5108, 2289, 596, 13, 288, 3639, 987, 1790, 273, 9392, 5621, 3639, 364, 261, 3198, 1400, 273, 1790, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 804, 1396, 1272, 273, 261, 46, 1396, 13, 1400, 18, 4285, 5621, 5411, 804, 3257, 3204, 273, 1272, 18, 588, 3257, 2932, 3190, 14538, 30, 4468, 8863, 5411, 804, 3257, 620, 963, 273, 3204, 18, 24805, 2932, 1467, 8863, 5411, 804, 797, 21076, 273, 1272, 18, 588, 559, 5621, 5411, 514, 618, 273, 21076, 18, 588, 5784, 461, 5621, 5411, 514, 7060, 273, 315, 1376, 1199, 397, 1272, 18, 588, 8461, 7675, 588, 5784, 461, 1435, 397, 315, 10031, 31, 5411, 596, 18, 1188, 12, 9355, 1769, 5411, 309, 261, 723, 18, 14963, 2932, 6494, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 2038, 18, 896, 5507, 26994, 1769, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 7229, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 892, 1182, 18, 2626, 3216, 2932, 397, 7060, 397, 315, 1769, 8863, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 3001, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 892, 1182, 18, 2626, 2156, 2932, 397, 7060, 397, 315, 1769, 8863, 5411, 289, 5411, 469, 309, 261, 723, 18, 14963, 2932, 6620, 6, 3719, 288, 7734, 596, 18, 8222, 2932, 892, 1182, 18, 2626, 4897, 2932, 397, 7060, 397, 315, 1769, 8863, 5411, 289, 5411, 469, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 2103, 56, 750, 8105, 22, 2250, 12, 5108, 2289, 596, 13, 288, 3639, 987, 1790, 273, 9392, 5621, 3639, 364, 261, 3198, 1400, 273, 1790, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 804, 1396, 1272, 273, 261, 46, 1396, 13, 1400, 18, 4285, 5621, 5411, 804, 3257, 3204, 273, 1272, 18, 588, 3257, 2932, 3190, 14538, 30, 4468, 8863, 5411, 804, 3257, 620, 963, 273, 3204, 18, 24805, 2932, 1467, 8863, 5411, 804, 797, 21076, 273, 1272, 18, 588, 559, 5621, 5411, 514, 618, 273, 21076, 18, 588, 5784, 461, 5621, 5411, 514, 7060, 273, 315, 1376, 1199, 397, 1272, 18, 588, 8461, 7675, 588, 5784, 461, 1435, 397, 315, 10031, 31, 2 ]
}
}
public AddressBook() { super("Address Book","0"); setBackground(Color.lightGray); getContentPane().setLayout(new BorderLayout()); //create menubar (top) //merge both the editors commands with this applications commands. //mMenubar = NsMenuManager.createMenuBar("grendel.addressbook.Menus", "grendel.addressbook.MenuLabels", "mainMenubar", defaultActions); // FIXME - need to build the menu bar // (Jeff) mMenubar = buildMenu("menus.xml",defaultActions); setJMenuBar(mMenubar); //collapsble panels holds toolbar. CollapsiblePanel collapsePanel = new CollapsiblePanel(true); collapsePanel.setBorder (new EmptyBorder(5,5,5,5)); //toolbar buttons mTtoolbar = createToolbar(); //collapsible item collapsePanel.add(mTtoolbar); //create status bar (bottom) // mStatusbar = createStatusbar(); JPanel panel1 = new JPanel(); panel1.setLayout(new BorderLayout()); panel1.add(collapsePanel, BorderLayout.NORTH); //hack together the data sources. mDataSourceList = new DataSourceList (); mDataSourceList.addEntry (new DataSource ("Four11 Directory", "ldap.four11.com")); mDataSourceList.addEntry (new DataSource ("InfoSpace Directory", "ldap.infospace.com")); mDataSourceList.addEntry (new DataSource ("WhoWhere Directory", "ldap.whowhere.com")); mDataSourceList.addEntry (new DataSource ("InfoSeek Directory", "ldap.infoseek.com")); //Create address panel AddressPanel addressPanel = new AddressPanel (mDataSourceList); panel1.add(addressPanel, BorderLayout.CENTER); // getContentPane().add(mMenubar, BorderLayout.NORTH); getContentPane().add(panel1, BorderLayout.CENTER); setSize (600, 400); //Create Local Address Book //myLocalAddressBook = new ACS_Personal ("MyAddressBook.nab", true); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/b0fa2f56cd2dcc90452b768e6b38187cfb8c30eb/AddressBook.java/clean/grendel/addressbook/AddressBook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5267, 9084, 1435, 288, 3639, 2240, 2932, 1887, 20258, 15937, 20, 8863, 3639, 31217, 12, 2957, 18, 5099, 23521, 1769, 3639, 5154, 8485, 7675, 542, 3744, 12, 2704, 30814, 10663, 3639, 368, 2640, 21247, 373, 297, 261, 3669, 13, 3639, 368, 2702, 3937, 326, 29431, 4364, 598, 333, 12165, 4364, 18, 3639, 368, 81, 49, 275, 373, 297, 273, 31436, 4599, 1318, 18, 2640, 4599, 5190, 2932, 75, 1187, 3771, 18, 2867, 3618, 18, 29755, 3113, 315, 75, 1187, 3771, 18, 2867, 3618, 18, 4599, 5888, 3113, 315, 5254, 49, 275, 373, 297, 3113, 805, 6100, 1769, 3639, 368, 9852, 300, 1608, 358, 1361, 326, 3824, 4653, 3639, 368, 261, 46, 17098, 13, 3639, 312, 49, 275, 373, 297, 273, 1361, 4599, 2932, 26065, 18, 2902, 3113, 1886, 6100, 1769, 377, 202, 202, 542, 46, 4599, 5190, 12, 81, 49, 275, 373, 297, 1769, 5411, 368, 1293, 3762, 87, 7119, 20582, 14798, 12748, 18, 5411, 1558, 3762, 2736, 5537, 13627, 5537, 273, 394, 1558, 3762, 2736, 5537, 12, 3767, 1769, 5411, 13627, 5537, 18, 542, 8107, 261, 2704, 8953, 8107, 12, 25, 16, 25, 16, 25, 16, 25, 10019, 5411, 368, 18849, 9502, 5411, 21115, 18849, 273, 752, 17907, 5621, 5411, 368, 1293, 3762, 2736, 761, 7734, 13627, 5537, 18, 1289, 12, 81, 56, 18849, 1769, 3639, 368, 2640, 1267, 4653, 261, 9176, 13, 7734, 368, 3639, 312, 1482, 3215, 273, 752, 1482, 3215, 5621, 3639, 24048, 6594, 21, 273, 394, 24048, 5621, 3639, 6594, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5267, 9084, 1435, 288, 3639, 2240, 2932, 1887, 20258, 15937, 20, 8863, 3639, 31217, 12, 2957, 18, 5099, 23521, 1769, 3639, 5154, 8485, 7675, 542, 3744, 12, 2704, 30814, 10663, 3639, 368, 2640, 21247, 373, 297, 261, 3669, 13, 3639, 368, 2702, 3937, 326, 29431, 4364, 598, 333, 12165, 4364, 18, 3639, 368, 81, 49, 275, 373, 297, 273, 31436, 4599, 1318, 18, 2640, 4599, 5190, 2932, 75, 1187, 3771, 18, 2867, 3618, 18, 29755, 3113, 315, 75, 1187, 3771, 18, 2867, 3618, 18, 4599, 5888, 3113, 315, 5254, 49, 275, 373, 297, 3113, 805, 6100, 1769, 3639, 368, 9852, 300, 1608, 358, 1361, 326, 3824, 4653, 3639, 368, 261, 46, 17098, 13, 3639, 312, 49, 275, 2 ]
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) logger.debug("The name of the data set is "+getName()); logger.debug("The name of the seismogram is "+name); String urlString = "NONE"; NodeList nList = evalNodeList(config, "localSeismogram/seismogramAttr/property[name="+dquote+"Name"+dquote+ "]"+"[value="+dquote+name+dquote+"]"+"/../../data"); if(nList == null || (nList != null && nList.getLength() == 0)) { nList = getNoNameSeismogram(name); } if (nList != null && nList.getLength() != 0) { try { Node n = nList.item(0); if (n instanceof Element) { Element e = (Element)n; //System.out.println("**********************The name of the element is "+e.getTagName()); urlString = e.getAttribute("xlink:href"); if (urlString == null || urlString == "") { throw new MalformedURLException(name+" does not have an xlink:href attribute"); } // end of if (urlString == null || urlString == "") URL sacURL = new URL(base, urlString); DataInputStream dis = new DataInputStream(new BufferedInputStream(sacURL.openStream())); SacTimeSeries sac = new SacTimeSeries(); sac.read(dis); LocalSeismogramImpl seis = SacToFissures.getSeismogram(sac); //get the Seismogram Attributes from the xml .. only the data must // must be obtained fromt the SAC. NodeList seisAttrNode = XMLUtil.evalNodeList(e, "../seismogramAttr"); if(seisAttrNode != null && seisAttrNode.getLength() != 0) { SeismogramAttr seisAttr = XMLSeismogramAttr.getSeismogramAttr((Element)seisAttrNode.item(0)); logger.debug("The &&&&&&&&&&&&&&&&&&& chan_cdoe from dsml file is "+ ((SeismogramAttrImpl)seisAttr).getChannelID().channel_code); seis.setAttributes(seisAttr); logger.debug("The &&&&&&&&&&&&&&&&&&& chan_code after setting is "+ seis.getChannelID().channel_code); } NodeList propList = evalNodeList(e, "property"); int numDSProps = 0; if (propList != null && propList.getLength() != 0) { numDSProps = nList.getLength(); } else { // no properties in dataset numDSProps = 0; } // end of else Property[] props = seis.getProperties(); Property[] newProps = new Property[1+props.length+numDSProps]; System.arraycopy(props, 0, newProps, 0, props.length); for (int i=0; i<propList.getLength(); i++) { Element propElement = (Element)propList.item(i); newProps[props.length+i] = new Property(xpath.eval(propElement, "name/text()").str(), xpath.eval(propElement, "value/text()").str()); } // end of for newProps[newProps.length-1] = new Property(seisNameKey, name); seis.setProperties(newProps); if (seis != null) { seismogramCache.put(name, seis); } // end of if (seis != null) return seis; } } catch (MalformedURLException e) { logger.error("Couldn't get seismogram "+name, e); logger.error(urlString); } catch (Exception e) { logger.error("Couldn't get seismogram "+name, e); logger.error(urlString); } // end of try-catch } return null; }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/4f23740a9be2f86b9534905b393d4924911cc4c0/XMLDataSet.java/buggy/src/edu/sc/seis/fissuresUtil/xml/XMLDataSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3566, 1761, 6228, 5553, 2828, 11979, 6228, 5553, 12, 780, 508, 13, 288, 3639, 309, 261, 307, 6228, 5553, 1649, 18, 12298, 653, 12, 529, 3719, 288, 202, 565, 1194, 18, 4148, 2932, 588, 1787, 326, 695, 6228, 5553, 628, 88, 326, 1247, 8863, 5411, 327, 261, 2042, 1761, 6228, 5553, 2828, 13, 307, 6228, 5553, 1649, 18, 588, 12, 529, 1769, 3639, 289, 368, 679, 434, 309, 261, 307, 6228, 5553, 1649, 18, 12298, 653, 12, 529, 3719, 202, 202, 4901, 18, 4148, 2932, 1986, 508, 434, 326, 501, 444, 353, 13773, 17994, 10663, 202, 4901, 18, 4148, 2932, 1986, 508, 434, 326, 695, 6228, 5553, 353, 13773, 529, 1769, 3639, 514, 29374, 273, 315, 9826, 14432, 3639, 16781, 290, 682, 273, 2398, 5302, 19914, 12, 1425, 16, 315, 3729, 1761, 6228, 5553, 19, 307, 6228, 5553, 3843, 19, 4468, 63, 529, 1546, 15, 72, 6889, 9078, 461, 6, 15, 72, 6889, 15, 9506, 9870, 9078, 63, 1132, 1546, 15, 72, 6889, 15, 529, 15, 72, 6889, 9078, 4279, 9078, 19, 16644, 892, 8863, 202, 430, 12, 82, 682, 422, 446, 747, 261, 82, 682, 480, 446, 597, 290, 682, 18, 588, 1782, 1435, 422, 374, 3719, 288, 202, 377, 202, 565, 290, 682, 273, 225, 336, 2279, 461, 1761, 6228, 5553, 12, 529, 1769, 202, 97, 3639, 309, 261, 82, 682, 480, 446, 597, 290, 682, 18, 588, 1782, 1435, 480, 374, 13, 288, 5411, 775, 288, 7734, 2029, 290, 273, 290, 682, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3566, 1761, 6228, 5553, 2828, 11979, 6228, 5553, 12, 780, 508, 13, 288, 3639, 309, 261, 307, 6228, 5553, 1649, 18, 12298, 653, 12, 529, 3719, 288, 202, 565, 1194, 18, 4148, 2932, 588, 1787, 326, 695, 6228, 5553, 628, 88, 326, 1247, 8863, 5411, 327, 261, 2042, 1761, 6228, 5553, 2828, 13, 307, 6228, 5553, 1649, 18, 588, 12, 529, 1769, 3639, 289, 368, 679, 434, 309, 261, 307, 6228, 5553, 1649, 18, 12298, 653, 12, 529, 3719, 202, 202, 4901, 18, 4148, 2932, 1986, 508, 434, 326, 501, 444, 353, 13773, 17994, 10663, 202, 4901, 18, 4148, 2932, 1986, 508, 434, 326, 695, 6228, 5553, 353, 13773, 529, 1769, 3639, 514, 29374, 273, 315, 9826, 2 ]
public final Color createColor(ColorDescriptor descriptor) throws DeviceResourceException {
public final Color createColor(ColorDescriptor descriptor) {
public final Color createColor(ColorDescriptor descriptor) throws DeviceResourceException { return (Color)create(descriptor); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/acad31344b664ef19af507126a6310d7a9493eda/ResourceManager.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ResourceManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 5563, 752, 2957, 12, 2957, 3187, 4950, 13, 288, 3639, 327, 261, 2957, 13, 2640, 12, 12628, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 5563, 752, 2957, 12, 2957, 3187, 4950, 13, 288, 3639, 327, 261, 2957, 13, 2640, 12, 12628, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addMethod(newMethod,false);
addMethod(newMethod);
public void addNewStaticMethod(Method method) { if (initialised) { throw new RuntimeException("Already initialized, cannot add new method: " + method); } else { NewStaticMetaMethod newMethod = new NewStaticMetaMethod(createMetaMethod(method)); if (! newGroovyMethodsList.contains(newMethod)){ newGroovyMethodsList.add(newMethod); addMethod(newMethod,false); } } }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/441869aa6dcb1cefc4c026b1d1882591ce314569/MetaClassImpl.java/buggy/src/main/groovy/lang/MetaClassImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 20973, 5788, 1305, 12, 1305, 707, 13, 288, 4202, 309, 261, 6769, 5918, 13, 288, 6647, 604, 394, 3235, 2932, 9430, 6454, 16, 2780, 527, 394, 707, 30, 315, 397, 707, 1769, 4202, 289, 4202, 469, 288, 6647, 1166, 5788, 2781, 1305, 394, 1305, 273, 394, 1166, 5788, 2781, 1305, 12, 2640, 2781, 1305, 12, 2039, 10019, 6647, 309, 16051, 394, 43, 12859, 4712, 682, 18, 12298, 12, 2704, 1305, 3719, 95, 9079, 394, 43, 12859, 4712, 682, 18, 1289, 12, 2704, 1305, 1769, 9079, 18223, 12, 2704, 1305, 1769, 6647, 289, 4202, 289, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 20973, 5788, 1305, 12, 1305, 707, 13, 288, 4202, 309, 261, 6769, 5918, 13, 288, 6647, 604, 394, 3235, 2932, 9430, 6454, 16, 2780, 527, 394, 707, 30, 315, 397, 707, 1769, 4202, 289, 4202, 469, 288, 6647, 1166, 5788, 2781, 1305, 394, 1305, 273, 394, 1166, 5788, 2781, 1305, 12, 2640, 2781, 1305, 12, 2039, 10019, 6647, 309, 16051, 394, 43, 12859, 4712, 682, 18, 12298, 12, 2704, 1305, 3719, 95, 9079, 394, 43, 12859, 4712, 682, 18, 1289, 12, 2704, 1305, 1769, 9079, 18223, 12, 2704, 1305, 1769, 6647, 289, 4202, 289, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case 0: type = "no spectral scan"; break; case 1: type = "acquired with spectral scan"; break; default: type = "no spectral scan";
case 0: type = "no spectral scan"; break; case 1: type = "acquired with spectral scan"; break; default: type = "no spectral scan";
protected void initMetadata() { Hashtable ifd = ifds[0]; long data = 0; int idata = 0; double ddata = 0; //short sdata = 0; try { // -- Parse standard metadata -- // determine byte order boolean little = TiffTools.isLittleEndian(ifd); in.order(little); super.initMetadata(); // get Zeiss LSM-specific data // grab the TIF_CZ_LSMINFO structure, 512 bytes long short[] cz = TiffTools.getIFDShortArray(ifd, ZEISS_ID, true); int p = 0; // pointer to next byte in the structure put("MagicNumber", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("StructureSize", DataTools.bytesToInt(cz, p, little)); p += 4; put("DimensionX", DataTools.bytesToInt(cz, p, little)); p += 4; put("DimensionY", DataTools.bytesToInt(cz, p, little)); p += 4; put("DimensionZ", DataTools.bytesToInt(cz, p, little)); p += 4; int dimensionChannels = DataTools.bytesToInt(cz, p, little); put("DimensionChannels", dimensionChannels); p += 4; put("DimensionTime", DataTools.bytesToInt(cz, p, little)); p += 4; idata = DataTools.bytesToInt(cz, p, little); String type; switch (idata) { case 1: type = "8 bit unsigned integer"; break; case 2: type = "12 bit unsigned integer"; break; case 5: type = "32 bit float"; break; case 0: type = "varying data types"; break; default: type = "8 bit unsigned integer"; break; } put("DataType", type); p += 4; put("ThumbnailX", DataTools.bytesToInt(cz, p, little)); p += 4; put("ThumbnailY", DataTools.bytesToInt(cz, p, little)); p += 4; put("VoxelSizeX", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("VoxelSizeY", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("VoxelSizeZ", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8 + 24; // skip over the next 24 bytes idata = DataTools.bytesToInt(cz, p, 2, little); switch (idata) { case 0: type = "x-y-z scan"; break; case 1: type = "z scan (x-z plane)"; break; case 2: type = "line scan"; break; case 3: type = "time series x-y"; break; case 4: type = "time series x-z"; break; case 5: type = "time series 'Mean of ROIs'"; break; case 6: type = "time series x-y-z"; break; case 7: type = "spline scan"; break; case 8: type = "spline scan x-z"; break; case 9: type = "time series spline plane x-z"; break; case 10: type = "point mode"; break; default: type = "x-y-z scan"; } put("ScanType", type); p += 2; idata = DataTools.bytesToInt(cz, p, 2, little); switch (idata) { case 0: type = "no spectral scan"; break; case 1: type = "acquired with spectral scan"; break; default: type = "no spectral scan"; } put("SpectralScan", type); p += 2; data = DataTools.bytesToLong(cz, p, 4, little); switch ((int) data) { case 0: type = "original scan data"; break; case 1: type = "calculated data"; break; case 2: type = "animation"; break; default: type = "original scan data"; } put("DataType2", type); p += 4; // -- Parse OME-XML metadata -- short[] omeData = TiffTools.getIFDShortArray(ifd, ZEISS_ID, true); int imageWidth = DataTools.bytesToInt(omeData, 8, little); int imageLength = DataTools.bytesToInt(omeData, 12, little); zSize = DataTools.bytesToInt(omeData, 16, little); int cSize = DataTools.bytesToInt(omeData, 20, little); tSize = DataTools.bytesToInt(omeData, 24, little); int pixel = DataTools.bytesToInt(omeData, 28, little); switch (pixel) { case 1: pixelType[0] = FormatReader.UINT8; break; case 2: pixelType[0] = FormatReader.UINT16; break; case 5: pixelType[0] = FormatReader.FLOAT; break; default: pixelType[0] = FormatReader.UINT8; } short scanType = DataTools.bytesToShort(omeData, 88, little); switch ((int) scanType) { case 0: dimOrder = "XYZCT"; break; case 1: dimOrder = "XYZCT"; break; case 3: dimOrder = "XYTCZ"; break; case 4: dimOrder = "XYZTC"; break; case 5: dimOrder = "XYTCZ"; break; case 6: dimOrder = "XYZTC"; break; case 7: dimOrder = "XYCTZ"; break; case 8: dimOrder = "XYCZT"; break; case 9: dimOrder = "XYTCZ"; break; default: dimOrder = "XYZCT"; } channels = cSize; // some LSM files will have a thumbnail associated with each plane; this // thumbnail is counted as an extra channel, but since we strip out the // thumbnails, we need to correct the channel count while (zSize * cSize * tSize > numImages) { cSize--; } if (cSize == 0) cSize++; if (isRGB(currentId) && cSize == 1 && channels > 2) cSize = 3; channels = cSize; // The metadata store we're working with. MetadataStore store = getMetadataStore(currentId); store.setPixels( new Integer(imageWidth), // SizeX new Integer(imageLength), // SizeY new Integer(zSize), // SizeZ new Integer(cSize), // SizeC new Integer(tSize), // SizeT new Integer(pixelType[0]), // PixelType null, // BigEndian dimOrder, // DimensionOrder null); int pos = in.getFilePointer(); // the following 4 are file offsets data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetVectorOverlay", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseSubBlocks(data, "OffsetInputLut", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseSubBlocks(data, "OffsetOutputLut", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); // seek to this offset and read in the structure there // first we have to make sure that the structure actually exists if (data != 0) { pos = in.getFilePointer(); in.seek(data + 4); pos = in.getFilePointer() - 4; int numColors = in.readInt(); int numNames = in.readInt(); if (numColors > getSizeC(currentId)) { in.seek(data - 2); pos = in.getFilePointer() + 7; in.order(!in.isLittleEndian()); in.readInt(); numColors = in.readInt(); numNames = in.readInt(); } idata = in.readInt(); int nameData = in.readInt(); long offsetNames = pos + idata; // will seek to this // read in the intensity value for each color in.seek(offsetNames); for (int i=0; i<numColors; i++) { data = in.readInt(); put("Intensity" + i, data); } // read in the channel names for (int i=0; i<numNames; i++) { // we want to read until we find a null char StringBuffer sb = new StringBuffer(); char current = (char) in.read(); while (current != 0) { sb.append(current); current = (char) in.read(); } String name = sb.toString(); put("ChannelName" + i, name); } in.seek(pos); in.order(isLittleEndian(currentId)); } p += 4; put("TimeInterval", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; // the following 8 are file offsets data = DataTools.bytesToLong(cz, p, 4, little); if (data != 0) { in.skipBytes((int) data); for (int i=0; i<dimensionChannels; i++) { put("OffsetChannelDataTypes" + i, in.readInt()); } in.seek(pos); } p += 4; put("OffsetScanInformation", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("OffsetKsData", DataTools.bytesToLong(cz, p, 4, little)); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); if (data != 0) { pos = in.getFilePointer(); in.skipBytes((int) data + 4); int numStamps = in.readInt(); if (numStamps > 1000) numStamps = 1000; for (int i=0; i<numStamps; i++) { ddata = in.readDouble(); put("TimeStamp" + i, ddata); } in.seek(pos); } p += 4; data = DataTools.bytesToLong(cz, p, 4, little); if (data != 0) { pos = in.getFilePointer(); long numBytes = in.readInt(); int numEvents = in.readInt(); in.seek((int) (pos + data + 8)); for (int i=0; i<numEvents; i++) { in.readInt(); ddata = in.readDouble(); put("Time" + i, ddata); data = in.readInt(); put("EventType" + i, data); byte[] descr = new byte[(int) (numBytes - 16)]; in.read(descr); put("Description" + i, new String(descr)); } in.seek(pos); } p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetRoi", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetBleachRoi", little); p += 4; put("OffsetNextRecording", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("DisplayAspectX", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("DisplayAspectY", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("DisplayAspectZ", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; put("DisplayAspectTime", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; // the following 4 are file offsets data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetMeanOfRoisOverlay", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetTopoIsolineOverlay", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetTopoProfileOverlay", little); p += 4; data = DataTools.bytesToLong(cz, p, 4, little); parseOverlays(data, "OffsetLinescanOverlay", little); p += 4; put("ToolbarFlags", DataTools.bytesToLong(cz, p, 4, little)); // the following 2 are file offsets put("OffsetChannelWavelength", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("OffsetChannelFactors", DataTools.bytesToLong(cz, p, 4, little)); p += 4; put("ObjectiveSphereCorrection", Double.longBitsToDouble( DataTools.bytesToLong(cz, p, little))); p += 8; // the following is a file offset put("OffsetUnmixParameters", DataTools.bytesToLong(cz, p, 4, little)); p += 4; in.seek(pos); } catch (FormatException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (Exception e) { } sizeZ[0] = zSize > 0 ? zSize : 1; sizeC[0] = channels > 0 ? channels : 1; sizeT[0] = tSize > 0 ? tSize : 1; currentOrder[0] = "XYZCT"; try { Float pixX = new Float(metadata.get("VoxelSizeX").toString()); Float pixY = new Float(metadata.get("VoxelSizeY").toString()); Float pixZ = new Float(metadata.get("VoxelSizeZ").toString()); MetadataStore store = getMetadataStore(currentId); store.setDimensions(pixX, pixY, pixZ, null, null, null); } catch (Exception e) { } }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/eeb7d180f005e6ae2fd86935cddb27bf8758f621/ZeissLSMReader.java/buggy/loci/formats/in/ZeissLSMReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 2277, 1435, 288, 565, 18559, 309, 72, 273, 309, 2377, 63, 20, 15533, 565, 1525, 501, 273, 374, 31, 565, 509, 612, 396, 273, 374, 31, 565, 1645, 302, 892, 273, 374, 31, 565, 368, 6620, 272, 892, 273, 374, 31, 565, 775, 288, 1377, 368, 1493, 2884, 4529, 1982, 1493, 1377, 368, 4199, 1160, 1353, 1377, 1250, 12720, 273, 399, 3048, 10348, 18, 291, 48, 10609, 12, 430, 72, 1769, 1377, 316, 18, 1019, 12, 80, 7188, 1769, 1377, 2240, 18, 2738, 2277, 5621, 1377, 368, 336, 23587, 1054, 511, 7303, 17, 12524, 501, 1377, 368, 11086, 326, 399, 5501, 67, 39, 62, 67, 3045, 49, 5923, 3695, 16, 13908, 1731, 1525, 1377, 3025, 8526, 276, 94, 273, 399, 3048, 10348, 18, 588, 5501, 40, 4897, 1076, 12, 430, 72, 16, 2285, 41, 25689, 67, 734, 16, 638, 1769, 1377, 509, 293, 273, 374, 31, 368, 4407, 358, 1024, 1160, 316, 326, 3695, 1377, 1378, 2932, 19289, 1854, 3113, 1910, 10348, 18, 3890, 30220, 12, 71, 94, 16, 293, 16, 1059, 16, 12720, 10019, 1377, 293, 1011, 1059, 31, 1377, 1378, 2932, 6999, 1225, 3113, 1910, 10348, 18, 3890, 17864, 12, 71, 94, 16, 293, 16, 12720, 10019, 1377, 293, 1011, 1059, 31, 1377, 1378, 2932, 8611, 60, 3113, 1910, 10348, 18, 3890, 17864, 12, 71, 94, 16, 293, 16, 12720, 10019, 1377, 293, 1011, 1059, 31, 1377, 1378, 2932, 8611, 61, 3113, 1910, 10348, 18, 3890, 17864, 12, 71, 94, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 2277, 1435, 288, 565, 18559, 309, 72, 273, 309, 2377, 63, 20, 15533, 565, 1525, 501, 273, 374, 31, 565, 509, 612, 396, 273, 374, 31, 565, 1645, 302, 892, 273, 374, 31, 565, 368, 6620, 272, 892, 273, 374, 31, 565, 775, 288, 1377, 368, 1493, 2884, 4529, 1982, 1493, 1377, 368, 4199, 1160, 1353, 1377, 1250, 12720, 273, 399, 3048, 10348, 18, 291, 48, 10609, 12, 430, 72, 1769, 1377, 316, 18, 1019, 12, 80, 7188, 1769, 1377, 2240, 18, 2738, 2277, 5621, 1377, 368, 336, 23587, 1054, 511, 7303, 17, 12524, 501, 1377, 368, 11086, 326, 399, 5501, 67, 39, 62, 67, 3045, 49, 5923, 3695, 16, 13908, 1731, 1525, 1377, 3025, 2 ]
ClassType intArray();
ClassType intArray(boolean isValueType, Expr distribution );
ClassType intArray();
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/6caa1275f99f2bb1b9c26d552f6975e9eee920f7/X10TypeSystem.java/buggy/x10.compiler/src/polyglot/ext/x10/types/X10TypeSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 18328, 509, 1076, 12, 6494, 353, 17930, 16, 8074, 7006, 11272, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 18328, 509, 1076, 12, 6494, 353, 17930, 16, 8074, 7006, 11272, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEquals(entry.getAlternateLink().getResolvedHref(), new URI("http:
assertEquals(entry.getAlternateLink().getResolvedHref(), new IRI("http:
public static void testSection2XmlBaseElemEqDoc() throws Exception { //http://feedvalidator.org/testcases/atom/2/xml-base-elem-eq-doc.xml URI uri = baseURI.resolve("2/xml-base-elem-eq-doc.xml"); Document<Feed> doc = get(uri); assertNotNull(doc); Entry entry = doc.getRoot().getEntries().get(0); assertEquals(entry.getAlternateLink().getResolvedHref(), new URI("http://www.feedvalidator.org/2003/12/13/atom03")); }
46425 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46425/a7724f57b1ed9f7e36f7b511e06e7dbc231182d4/FeedValidatorTest.java/clean/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1842, 5285, 22, 4432, 2171, 7498, 19508, 1759, 1435, 1216, 1185, 288, 565, 368, 2505, 2207, 7848, 7357, 18, 3341, 19, 3813, 22186, 19, 7466, 19, 22, 19, 2902, 17, 1969, 17, 10037, 17, 11253, 17, 2434, 18, 2902, 565, 3699, 2003, 273, 1026, 3098, 18, 10828, 2932, 22, 19, 2902, 17, 1969, 17, 10037, 17, 11253, 17, 2434, 18, 2902, 8863, 565, 4319, 32, 8141, 34, 997, 273, 336, 12, 1650, 1769, 565, 25395, 12, 2434, 1769, 565, 3841, 1241, 273, 997, 18, 588, 2375, 7675, 588, 5400, 7675, 588, 12, 20, 1769, 565, 1815, 8867, 12, 4099, 18, 588, 25265, 2098, 7675, 588, 12793, 15962, 9334, 394, 3699, 2932, 2505, 2207, 5591, 18, 7848, 7357, 18, 3341, 19, 6976, 23, 19, 2138, 19, 3437, 19, 7466, 4630, 7923, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1842, 5285, 22, 4432, 2171, 7498, 19508, 1759, 1435, 1216, 1185, 288, 565, 368, 2505, 2207, 7848, 7357, 18, 3341, 19, 3813, 22186, 19, 7466, 19, 22, 19, 2902, 17, 1969, 17, 10037, 17, 11253, 17, 2434, 18, 2902, 565, 3699, 2003, 273, 1026, 3098, 18, 10828, 2932, 22, 19, 2902, 17, 1969, 17, 10037, 17, 11253, 17, 2434, 18, 2902, 8863, 565, 4319, 32, 8141, 34, 997, 273, 336, 12, 1650, 1769, 565, 25395, 12, 2434, 1769, 565, 3841, 1241, 273, 997, 18, 588, 2375, 7675, 588, 5400, 7675, 588, 12, 20, 1769, 565, 1815, 8867, 12, 4099, 18, 588, 25265, 2098, 7675, 588, 12793, 15962, 9334, 394, 3699, 2932, 2505, 2207, 5591, 18, 2 ]
NativeJavaMethod.signature(args),
NativeJavaMethod.scriptSignature(args),
static Member findFunction(Member[] methodsOrCtors, Object[] args) { if (methodsOrCtors.length == 0) return null; boolean hasMethods = methodsOrCtors[0] instanceof Method; if (Context.useJSObject && NativeJavaObject.jsObjectClass != null) { try { for (int i = 0; i < args.length; i++) { if (NativeJavaObject.jsObjectClass.isInstance(args[i])) args[i] = NativeJavaObject.jsObjectGetScriptable.invoke( args[i], ScriptRuntime.emptyArgs); } } catch (InvocationTargetException e) { // Just abandon conversion from JSObject } catch (IllegalAccessException e) { // Just abandon conversion from JSObject } } Member bestFit = null; Class[] bestFitTypes = null; java.util.Vector ambiguousMethods = null; for (int i = 0; i < methodsOrCtors.length; i++) { Member member = methodsOrCtors[i]; Class paramTypes[] = hasMethods ? ((Method) member).getParameterTypes() : ((Constructor) member).getParameterTypes(); if (paramTypes.length != args.length) { continue; } if (bestFitTypes == null) { int j; for (j = 0; j < paramTypes.length; j++) { if (!NativeJavaObject.canConvert(args[j], paramTypes[j])) { if (debug) printDebug("Rejecting ", member, args); break; } } if (j == paramTypes.length) { if (debug) printDebug("Found ", member, args); bestFit = member; bestFitTypes = paramTypes; } } else { int preference = NativeJavaMethod.preferSignature(args, paramTypes, bestFitTypes); if (preference == PREFERENCE_AMBIGUOUS) { if (debug) printDebug("Deferring ", member, args); // add to "ambiguity list" if (ambiguousMethods == null) ambiguousMethods = new java.util.Vector(); ambiguousMethods.addElement(member); } else if (preference == PREFERENCE_FIRST_ARG) { if (debug) printDebug("Substituting ", member, args); bestFit = member; bestFitTypes = paramTypes; } else { if (debug) printDebug("Rejecting ", member, args); } } } if (ambiguousMethods == null) return bestFit; // Compare ambiguous methods with best fit, in case // the current best fit removes the ambiguities. for (int i = ambiguousMethods.size() - 1; i >= 0 ; i--) { Member member = (Member)ambiguousMethods.elementAt(i); Class paramTypes[] = hasMethods ? ((Method) member).getParameterTypes() : ((Constructor) member).getParameterTypes(); int preference = NativeJavaMethod.preferSignature(args, paramTypes, bestFitTypes); if (preference == PREFERENCE_FIRST_ARG) { if (debug) printDebug("Substituting ", member, args); bestFit = member; bestFitTypes = paramTypes; ambiguousMethods.removeElementAt(i); } else if (preference == PREFERENCE_SECOND_ARG) { if (debug) printDebug("Rejecting ", member, args); ambiguousMethods.removeElementAt(i); } else { if (debug) printDebug("UNRESOLVED: ", member, args); } } if (ambiguousMethods.size() > 0) { // PENDING: report remaining ambiguity StringBuffer buf = new StringBuffer(); boolean isCtor = (bestFit instanceof Constructor); ambiguousMethods.addElement(bestFit); for (int i = 0; i < ambiguousMethods.size(); i++) { if (i != 0) { buf.append(", "); } Member member = (Member)ambiguousMethods.elementAt(i); if (!isCtor) { Class rtnType = ((Method)member).getReturnType(); buf.append(rtnType); buf.append(' '); } buf.append(NativeJavaMethod.signature(member)); } String errMsg; if (isCtor) { Object errArgs[] = { bestFit.getName(), NativeJavaMethod.signature(args), buf.toString() }; errMsg = Context.getMessage("msg.constructor.ambiguous", errArgs); } else { Object errArgs[] = { bestFit.getDeclaringClass().getName(), bestFit.getName(), NativeJavaMethod.signature(args), buf.toString() }; errMsg = Context.getMessage("msg.method.ambiguous", errArgs); } throw Context.reportRuntimeError(errMsg); } return bestFit; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/a66a71b8d7fdff3115a1305db27d683777b6080b/NativeJavaMethod.java/buggy/js/rhino/src/org/mozilla/javascript/NativeJavaMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 8596, 1104, 2083, 12, 4419, 8526, 2590, 1162, 39, 88, 1383, 16, 1033, 8526, 833, 13, 288, 3639, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 374, 13, 5411, 327, 446, 31, 3639, 1250, 711, 4712, 273, 2590, 1162, 39, 88, 1383, 63, 20, 65, 1276, 2985, 31, 3639, 309, 261, 1042, 18, 1202, 6479, 921, 597, 2398, 16717, 5852, 921, 18, 2924, 921, 797, 480, 446, 13, 540, 288, 5411, 775, 288, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 10792, 309, 261, 9220, 5852, 921, 18, 2924, 921, 797, 18, 291, 1442, 12, 1968, 63, 77, 22643, 13491, 833, 63, 77, 65, 273, 16717, 5852, 921, 18, 2924, 921, 967, 3651, 429, 18, 14407, 12, 4766, 565, 833, 63, 77, 6487, 7739, 5576, 18, 5531, 2615, 1769, 7734, 289, 5411, 289, 5411, 1044, 261, 9267, 14950, 425, 13, 288, 7734, 368, 12526, 1223, 464, 265, 4105, 628, 6756, 921, 5411, 289, 5411, 1044, 261, 12195, 9773, 425, 13, 288, 7734, 368, 12526, 1223, 464, 265, 4105, 628, 6756, 921, 5411, 289, 3639, 289, 3639, 8596, 225, 3796, 14219, 273, 446, 31, 3639, 1659, 8526, 3796, 14219, 2016, 273, 446, 31, 3639, 2252, 18, 1367, 18, 5018, 20399, 4712, 273, 446, 31, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2590, 1162, 39, 88, 1383, 18, 2469, 31, 277, 27245, 288, 5411, 8596, 3140, 273, 2590, 1162, 39, 88, 1383, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 8596, 1104, 2083, 12, 4419, 8526, 2590, 1162, 39, 88, 1383, 16, 1033, 8526, 833, 13, 288, 3639, 309, 261, 5163, 1162, 39, 88, 1383, 18, 2469, 422, 374, 13, 5411, 327, 446, 31, 3639, 1250, 711, 4712, 273, 2590, 1162, 39, 88, 1383, 63, 20, 65, 1276, 2985, 31, 3639, 309, 261, 1042, 18, 1202, 6479, 921, 597, 2398, 16717, 5852, 921, 18, 2924, 921, 797, 480, 446, 13, 540, 288, 5411, 775, 288, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 10792, 309, 261, 9220, 5852, 921, 18, 2924, 921, 797, 18, 291, 1442, 12, 1968, 63, 77, 22643, 13491, 833, 63, 77, 65, 273, 16717, 2 ]
perspectiveActionIds = list;
perspectiveShortcuts = list;
public void setPerspectiveActionIds(ArrayList list) { perspectiveActionIds = list; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/4d666e237f4c0a747a465687415f6e680755827f/Perspective.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Perspective.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 14781, 16772, 1803, 2673, 12, 19558, 666, 13, 288, 3639, 26651, 15576, 87, 273, 666, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 14781, 16772, 1803, 2673, 12, 19558, 666, 13, 288, 3639, 26651, 15576, 87, 273, 666, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.CPRegType getCPRegType() throws FieldNotFound { org.quickfix.field.CPRegType value = new org.quickfix.field.CPRegType();
public quickfix.field.CPRegType getCPRegType() throws FieldNotFound { quickfix.field.CPRegType value = new quickfix.field.CPRegType();
public org.quickfix.field.CPRegType getCPRegType() throws FieldNotFound { org.quickfix.field.CPRegType value = new org.quickfix.field.CPRegType(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderCancelRequest.java/clean/src/java/src/quickfix/fix44/OrderCancelRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 1927, 52, 1617, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 1927, 52, 1617, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 4258, 1617, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (paramList == null) {
if(paramList == null){
public void visitMethodCallExpression(@NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); final PsiReferenceExpression methodExpression = expression.getMethodExpression(); if (methodExpression == null) { return; } final String methodName = methodExpression.getReferenceName(); if (!"toString".equals(methodName)) { return; } final PsiMethod method = expression.resolveMethod(); if (method == null) { return; } final PsiParameterList paramList = method.getParameterList(); if (paramList == null) { return; } final PsiParameter[] parameters = paramList.getParameters(); if (parameters.length != 0) { return; } final PsiClass aClass = method.getContainingClass(); final String className = aClass.getQualifiedName(); if (!TypeConversionUtil.isPrimitiveWrapper(className)) { return; } registerMethodCallError(expression); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/bd57f07c33c419f20715b114b71a7e93425b34c9/NumericToStringInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/internationalization/NumericToStringInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 12592, 2300, 26964, 5962, 453, 7722, 12592, 2300, 2652, 13, 288, 5411, 2240, 18, 11658, 12592, 2300, 12, 8692, 1769, 5411, 727, 453, 7722, 2404, 2300, 707, 2300, 273, 2652, 18, 588, 1305, 2300, 5621, 5411, 309, 261, 2039, 2300, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 514, 4918, 273, 707, 2300, 18, 588, 2404, 461, 5621, 5411, 309, 261, 4442, 10492, 9654, 14963, 12, 2039, 461, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 1305, 707, 273, 2652, 18, 10828, 1305, 5621, 5411, 309, 261, 2039, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 1662, 682, 579, 682, 273, 707, 18, 588, 1662, 682, 5621, 5411, 309, 12, 891, 682, 422, 446, 15329, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 1662, 8526, 1472, 273, 579, 682, 18, 588, 2402, 5621, 5411, 309, 261, 3977, 18, 2469, 480, 374, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 797, 20148, 273, 707, 18, 588, 24344, 797, 5621, 5411, 727, 514, 2658, 273, 20148, 18, 588, 12345, 5621, 5411, 309, 16051, 559, 6814, 1304, 18, 291, 9840, 3611, 12, 12434, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 1744, 12592, 668, 12, 8692, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 540, 1071, 918, 3757, 12592, 2300, 26964, 5962, 453, 7722, 12592, 2300, 2652, 13, 288, 5411, 2240, 18, 11658, 12592, 2300, 12, 8692, 1769, 5411, 727, 453, 7722, 2404, 2300, 707, 2300, 273, 2652, 18, 588, 1305, 2300, 5621, 5411, 309, 261, 2039, 2300, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 514, 4918, 273, 707, 2300, 18, 588, 2404, 461, 5621, 5411, 309, 261, 4442, 10492, 9654, 14963, 12, 2039, 461, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 1305, 707, 273, 2652, 18, 10828, 1305, 5621, 5411, 309, 261, 2039, 422, 446, 13, 288, 7734, 327, 31, 5411, 289, 5411, 727, 453, 7722, 1662, 682, 579, 682, 273, 707, 18, 588, 2 ]
return (FloatItem) pop(JvmType.FLOAT); }
return (FloatItem) pop(JvmType.FLOAT); }
final FloatItem popFloat() { // testing in pop and casting here: test is just redundant return (FloatItem) pop(JvmType.FLOAT); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/55b12818040bb69b51502c4cd0f42118d2046977/VirtualStack.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/VirtualStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 5450, 1180, 1843, 4723, 1435, 288, 3639, 368, 7769, 316, 1843, 471, 27660, 2674, 30, 1842, 353, 2537, 19530, 3639, 327, 261, 4723, 1180, 13, 1843, 12, 6071, 559, 18, 15640, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 5450, 1180, 1843, 4723, 1435, 288, 3639, 368, 7769, 316, 1843, 471, 27660, 2674, 30, 1842, 353, 2537, 19530, 3639, 327, 261, 4723, 1180, 13, 1843, 12, 6071, 559, 18, 15640, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new OPT_MemoryOperand(null, null, (byte)0, disp.toInt(), size, loc, guard);
return new OPT_MemoryOperand(null, null, (byte)0, disp.toWord().toOffset(), size, loc, guard);
public static OPT_MemoryOperand D(Address disp, byte size, OPT_LocationOperand loc, OPT_Operand guard) { return new OPT_MemoryOperand(null, null, (byte)0, disp.toInt(), size, loc, guard); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/c42f16e27537b49de27664c6bee883b20c4d11f8/OPT_MemoryOperand.java/clean/rvm/src/vm/compilers/optimizing/ir/instruction/operand/OPT_MemoryOperand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 16456, 67, 6031, 10265, 463, 12, 1887, 16232, 16, 19694, 1160, 963, 16, 4766, 565, 16456, 67, 2735, 10265, 1515, 16, 4766, 565, 16456, 67, 10265, 11026, 13, 288, 565, 327, 394, 16456, 67, 6031, 10265, 12, 2011, 16, 446, 16, 261, 7229, 13, 20, 16, 16232, 18, 869, 3944, 7675, 869, 2335, 9334, 963, 16, 1515, 16, 11026, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 16456, 67, 6031, 10265, 463, 12, 1887, 16232, 16, 19694, 1160, 963, 16, 4766, 565, 16456, 67, 2735, 10265, 1515, 16, 4766, 565, 16456, 67, 10265, 11026, 13, 288, 565, 327, 394, 16456, 67, 6031, 10265, 12, 2011, 16, 446, 16, 261, 7229, 13, 20, 16, 16232, 18, 869, 3944, 7675, 869, 2335, 9334, 963, 16, 1515, 16, 11026, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new Table_images( rs );
return new Table_texts( rs );
public Object mapOneRow( ResultSet rs ) throws SQLException { return new Table_images( rs ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/92985c71b38c159d3e33b0a6189f7037c00bd8c7/DatabaseService.java/buggy/server/src/imcode/server/db/DatabaseService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 852, 3335, 1999, 12, 10842, 3597, 262, 1216, 6483, 288, 7734, 327, 394, 3555, 67, 26256, 12, 3597, 11272, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 1033, 852, 3335, 1999, 12, 10842, 3597, 262, 1216, 6483, 288, 7734, 327, 394, 3555, 67, 26256, 12, 3597, 11272, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
492, 492, 234, 524, 589, 538, 61, 364, 492, 234, 518, 642, 721, 429, 456, 457, 594, 234, 363, 741,
89, 387, 234, 524, 589, 538, 364, 61, 597, 234, 518, 642, 721, 429, 456, 457, 594, 234, 492, 741,
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 814, 190, 190, 591, 601, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 782, 552, 234, 234, 216, 283, 284, 190, 253, 617, 274, 356, 249, 461, 732, 652, 265, 466, 492, 109, 109, 551, 300, 442, 281, 291, 275, 435, 337, 109, 362, 492, 337, 442, 190, 660, 661, 422, 62, 588, 221, 215, 218, 617, 423, 424, 783, 217, 786, 492, 469, 387, 382, 217, 606, 353, 244, 441, 60, 362, 362, 248, 393, 342, 394, 362, 109, 444, 253, 285, 79, 79, 110, 110, 353, 69, 79, 210, 210, 210, 492, 492, 225, 210, 210, 354, 492, 210, 235, 235, 455, 247, 235, 455, 210, 69, 492, 70, 309, 363, 221, 442, 455, 656, 247, 109, 649, 216, 492, 71, 338, 470, 387, 535, 338, 79, 210, 210, 253, 279, 360, 210, 269, 492, 361, 216, 61, 324, 230, 492, 492, 326, 327, 261, 657, 447, 782, 366, 308, 492, 262, 579, 264, 394, 89, 492, 492, 363, 363, 456, 457, 458, 456, 457, 460, 598, 217, 492, 279, 230, 40, 456, 457, 462, 260, 261, 492, 564, 356, 392, 455, 291, 492, 210, 217, 79, 684, 438, 87, 440, 190, 391, 856, 64, 234, 234, 284, 308, 653, 492, 716, 40, 89, 89, 217, 256, 691, 234, 67, 234, 234, 441, 264, 64, 239, 369, 239, 420, 65, 237, 771, 237, 237, 55, 492, 492, 356, 356, 67, 335, 240, 439, 240, 240, 487, 273, 87, 87, 65, 456, 457, 465, 265, 295, 307, 308, 242, 345, 492, 243, 391, 391, 391, 387, 363, 402, 346, 221, 343, 297, 441, 492, 762, 397, 398, 344, 487, 766, 481, 278, 481, 381, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 307, 308, 210, 210, 550, 455, 494, 234, 387, 471, 524, 527, 492, 234, 476, 340, 347, 538, 531, 482, 531, 482, 341, 406, 210, 69, 210, 210, 802, 235, 265, 235, 417, 518, 234, 536, 79, 494, 617, 348, 626, 629, 234, 79, 617, 472, 473, 474, 475, 531, 492, 492, 234, 524, 589, 538, 61, 364, 492, 234, 518, 642, 721, 429, 456, 457, 594, 234, 363, 741, 264, 234, 234, 525, 528, 234, 532, 109, 518, 620, 539, 79, 210, 210, 210, 210, 79, 210, 210, 492, 597, 622, 634, 518, 492, 614, 564, 637, 638, 639, 632, 627, 624, 203, 543, 69, 234, 841, 628, 234, 376, 839, 234, 89, 352, 825, 492, 190, 454, 234, 377, 835, 210, 518, 492, 210, 210, 269, 210, 79, 279, 459, 210, 64, 492, 492, 61, 356, 600, 600, 511, 516, 363, 522, 523, 518, 379, 87, 67, 210, 79, 210, 40, 40, 269, 492, 264, 367, 65, 79, 617, 380, 459, 79, 368, 492, 389, 210, 549, 855, 792, 79, 269, 79, 441, 687, 413, 273, 415, 418, 459, 381, 210, 492, 273, 511, 516, 269, 617, 670, 582, 234, 673, 675, 210, 385, 445, 400, 590, 861, 592, 549, 386, 217, 401, 441, 278, 533, 79, 455, 396, 278, 388, 64, 666, 463, 492, 492, 278, 671, 307, 308, 670, 473, 390, 674, 676, 445, 67, 403, 445, 549, 357, 358, 210, 635, 576, 688, 65, 269, 381, 381, 381, 562, 563, 445, 190, 63, 430, 701, 71, 454, 203, 549, 411, 431, 81, 445, 234, 448, 449, 837, 399, 309, 94, 94, 190, 61, 456, 457, 94, 94, 94, 94, 709, 579, 234, 94, 94, 406, 234, 94, 454, 682, 234, 454, 492, 683, 94, 492, 492, 82, 324, 293, 294, 234, 326, 327, 328, 329, 454, 74, 407, 273, 410, 426, 372, 692, 744, 94, 94, 94, 778, 373, 428, 94, 434, 309, 614, 432, 752, 433, 446, 436, 210, 79, 229, 758, 760, 437, 450, 451, 464, 763, 765, 492, 780, 468, 537, 82, 82, 540, 579, 768, 234, 79, 583, 394, 423, 596, 725, 608, 618, 630, 234, 631, 636, 640, 452, 79, 641, 833, 654, 813, 662, 453, 815, 94, 834, 94, 492, 663, 423, 668, 492, 492, 669, 758, 760, 763, 560, 561, 562, 563, 109, 234, 705, 210, 492, 672, 759, 761, 234, 492, 87, 492, 764, 234, 234, 679, 83, 83, 111, 111, 810, 680, 83, 673, 675, 809, 210, 88, 226, 210, 685, 740, 686, 689, 609, 693, 811, 695, 697, 699, 773, 702, 700, 737, 738, 109, 79, 706, 821, 712, 234, 713, 714, 225, 79, 715, 79, 79, 210, 210, 76, 83, 278, 76, 210, 280, 84, 717, 794, 278, 718, 720, 724, 746, 473, 88, 88, 821, 232, 234, 76, 755, 600, 756, 757, 845, 76, 727, 733, 234, 87, 84, 84, 234, 735, 736, 739, 84, 788, 743, 94, 94, 79, 228, 280, 210, 745, 89, 279, 767, 472, 822, 696, 698, 84, 84, 234, 79, 79, 79, 774, 83, 94, 775, 94, 94, 779, 160, 234, 793, 234, 795, 796, 472, 94, 797, 84, 807, 817, 818, 827, 94, 518, 816, 799, 800, 801, 472, 234, 819, 234, 868, 82, 820, 492, 492, 492, 829, 234, 273, 832, 492, 234, 210, 82, 842, 273, 79, 79, 843, 747, 748, 847, 749, 849, 852, 160, 41, 42, 94, 94, 94, 94, 94, 94, 94, 94, 89, 79, 853, 854, 873, 78, 871, 824, 875, 84, 91, 91, 112, 112, 112, 877, 91, 423, 492, 493, 481, 483, 230, 80, 423, 493, 483, 86, 836, 483, 485, 485, 254, 94, 492, 79, 94, 94, 487, 94, 94, 423, 487, 94, 210, 82, 79, 494, 423, 269, 299, 115, 473, 79, 874, 91, 75, 728, 188, 282, 94, 94, 94, 549, 339, 826, 690, 734, 754, 862, 279, 351, 421, 863, 94, 86, 86, 0, 94, 784, 864, 785, 94, 83, 94, 92, 92, 301, 153, 0, 83, 92, 0, 94, 0, 0, 0, 88, 282, 0, 0, 0, 0, 280, 0, 94, 0, 0, 473, 0, 0, 76, 472, 0, 0, 91, 0, 0, 0, 94, 0, 302, 303, 304, 305, 306, 0, 0, 83, 0, 92, 0, 0, 83, 84, 472, 84, 153, 828, 830, 0, 831, 0, 0, 0, 94, 0, 85, 0, 472, 208, 208, 208, 0, 0, 0, 0, 0, 84, 0, 0, 279, 0, 472, 0, 84, 0, 250, 279, 803, 472, 0, 805, 806, 0, 472, 83, 280, 270, 0, 555, 83, 0, 556, 557, 558, 472, 0, 0, 267, 92, 76, 0, 472, 472, 85, 85, 83, 472, 0, 472, 0, 0, 84, 0, 0, 0, 472, 84, 0, 83, 872, 472, 0, 84, 0, 0, 472, 83, 559, 83, 0, 0, 0, 560, 561, 562, 563, 476, 83, 83, 472, 0, 0, 160, 94, 94, 160, 160, 160, 86, 473, 0, 0, 0, 0, 359, 0, 0, 0, 0, 84, 0, 848, 850, 83, 94, 81, 88, 0, 81, 418, 280, 0, 91, 0, 0, 0, 418, 0, 94, 91, 84, 160, 0, 0, 0, 81, 160, 160, 160, 160, 0, 0, 86, 84, 0, 0, 865, 866, 0, 83, 473, 84, 870, 84, 0, 473, 94, 473, 0, 0, 0, 0, 473, 0, 0, 273, 0, 91, 279, 878, 0, 0, 91, 0, 163, 279, 0, 880, 86, 94, 882, 473, 94, 0, 884, 0, 0, 555, 84, 0, 556, 557, 558, 0, 0, 0, 88, 92, 0, 94, 0, 280, 0, 0, 92, 0, 473, 94, 280, 94, 94, 94, 94, 473, 0, 91, 282, 94, 473, 0, 0, 208, 208, 163, 0, 0, 0, 0, 0, 83, 83, 560, 561, 562, 563, 0, 91, 473, 0, 0, 153, 0, 92, 153, 153, 153, 0, 92, 0, 91, 83, 404, 405, 0, 0, 94, 0, 91, 94, 91, 0, 0, 85, 0, 83, 0, 0, 417, 0, 0, 94, 94, 94, 481, 417, 476, 0, 0, 0, 153, 0, 0, 148, 0, 153, 153, 153, 153, 0, 0, 92, 0, 0, 0, 91, 0, 83, 0, 0, 0, 0, 208, 208, 208, 208, 84, 477, 478, 0, 0, 0, 92, 0, 0, 481, 0, 94, 0, 0, 0, 94, 94, 0, 0, 92, 84, 476, 0, 0, 270, 0, 148, 92, 476, 92, 83, 751, 0, 472, 84, 0, 94, 226, 83, 0, 83, 83, 0, 0, 0, 0, 0, 0, 81, 0, 131, 270, 476, 0, 0, 280, 0, 0, 0, 575, 581, 530, 280, 534, 92, 553, 0, 77, 0, 270, 94, 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, 94, 789, 0, 270, 0, 83, 0, 94, 0, 0, 0, 577, 481, 0, 0, 0, 0, 0, 131, 273, 83, 83, 83, 0, 84, 91, 273, 267, 530, 0, 0, 228, 84, 476, 84, 84, 0, 0, 0, 0, 610, 613, 0, 0, 616, 91, 0, 81, 623, 0, 0, 0, 0, 78, 0, 270, 78, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 83, 0, 78, 0, 644, 790, 0, 616, 0, 84, 644, 163, 0, 0, 163, 163, 163, 0, 0, 132, 83, 0, 0, 0, 84, 84, 84, 0, 0, 92, 0, 0, 473, 0, 0, 659, 659, 659, 419, 0, 0, 667, 0, 0, 79, 419, 0, 79, 0, 92, 163, 0, 667, 667, 83, 163, 163, 163, 163, 91, 0, 0, 0, 92, 79, 83, 230, 91, 132, 91, 91, 0, 83, 0, 84, 84, 667, 0, 481, 481, 481, 0, 0, 0, 481, 481, 208, 481, 0, 677, 0, 0, 0, 74, 278, 84, 74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 704, 0, 708, 791, 581, 74, 0, 91, 0, 0, 80, 148, 581, 80, 148, 148, 148, 0, 0, 0, 0, 84, 91, 91, 91, 0, 92, 482, 0, 0, 80, 0, 84, 0, 92, 423, 92, 92, 420, 84, 0, 208, 85, 476, 0, 420, 0, 0, 719, 0, 148, 0, 0, 0, 0, 148, 148, 148, 148, 0, 279, 0, 0, 0, 0, 0, 726, 742, 482, 0, 729, 0, 91, 91, 730, 0, 0, 0, 0, 0, 0, 0, 92, 0, 131, 613, 0, 131, 131, 131, 0, 0, 412, 91, 476, 0, 0, 92, 92, 92, 0, 476, 412, 659, 0, 0, 472, 0, 0, 0, 0, 422, 78, 473, 0, 0, 0, 0, 422, 0, 0, 0, 85, 131, 0, 476, 0, 91, 131, 131, 131, 131, 0, 412, 770, 0, 412, 0, 91, 0, 0, 0, 0, 208, 777, 91, 0, 92, 92, 0, 412, 412, 482, 412, 0, 412, 0, 0, 0, 667, 667, 0, 0, 0, 473, 0, 0, 0, 92, 0, 0, 473, 0, 0, 79, 644, 473, 0, 0, 0, 0, 0, 616, 412, 0, 412, 0, 0, 616, 0, 0, 0, 78, 0, 0, 473, 0, 0, 0, 0, 0, 0, 92, 0, 0, 132, 0, 0, 132, 132, 132, 0, 0, 92, 0, 415, 0, 412, 0, 0, 92, 581, 0, 74, 823, 415, 278, 0, 0, 0, 0, 0, 421, 278, 0, 0, 0, 0, 473, 421, 0, 0, 0, 0, 132, 0, 0, 0, 80, 132, 132, 132, 132, 838, 79, 0, 415, 270, 0, 415, 0, 0, 0, 846, 0, 0, 0, 851, 0, 0, 0, 0, 0, 415, 415, 423, 415, 0, 415, 0, 0, 0, 423, 0, 0, 581, 0, 0, 253, 482, 482, 482, 0, 0, 0, 482, 482, 0, 482, 0, 279, 0, 613, 74, 616, 0, 415, 279, 415, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 876, 0, 879, 322, 323, 0, 80, 0, 0, 0, 616, 0, 0, 0, 883, 0, 324, 0, 415, 334, 326, 327, 328, 329, 0, 0, 0, 469, 469, 469, 0, 469, 412, 412, 412, 469, 469, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 412, 469, 412, 412, 469, 469, 469, 469, 469, 469, 469, 412, 412, 0, 412, 412, 412, 412, 412, 0, 469, 334, 0, 469, 469, 469, 469, 469, 469, 469, 469, 0, 469, 469, 469, 469, 0, 0, 469, 469, 469, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 0, 0, 412, 412, 412, 469, 412, 412, 469, 469, 469, 469, 469, 412, 469, 412, 469, 412, 469, 412, 412, 412, 412, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 0, 0, 0, 95, 0, 0, 0, 0, 0, 0, 0, 470, 470, 470, 0, 470, 415, 415, 415, 470, 470, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 415, 470, 415, 415, 470, 470, 470, 470, 470, 470, 470, 415, 415, 0, 415, 415, 415, 415, 415, 95, 470, 0, 0, 470, 470, 470, 470, 470, 470, 470, 470, 0, 470, 470, 470, 470, 0, 0, 470, 470, 470, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 0, 0, 415, 415, 415, 470, 415, 415, 470, 470, 470, 470, 470, 415, 470, 415, 470, 415, 470, 415, 415, 415, 415, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 678, 324, 472, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 472, 472, 0, 84, 0, 472, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 472, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 508, 509, 473, 0, 510, 0, 0, 0, 0, 0, 0, 160, 473, 161, 162, 472, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 309, 473, 175, 176, 473, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 322, 323, 473, 473, 0, 86, 95, 473, 0, 95, 95, 95, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 96, 0, 0, 309, 0, 0, 0, 0, 314, 315, 0, 412, 0, 473, 0, 473, 0, 0, 412, 322, 323, 0, 0, 95, 0, 0, 0, 0, 95, 95, 95, 95, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 473, 0, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 334, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 476, 0, 0, 96, 0, 0, 96, 96, 96, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 476, 96, 0, 476, 0, 0, 96, 96, 96, 96, 0, 0, 0, 0, 0, 0, 0, 476, 476, 0, 85, 0, 476, 0, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 476, 0, 476, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 513, 514, 274, 0, 515, 0, 0, 0, 0, 0, 0, 160, 274, 161, 162, 476, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 274, 175, 176, 274, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 274, 274, 0, 0, 0, 274, 520, 509, 0, 0, 521, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 274, 0, 274, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 608, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 274, 334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 476, 476, 476, 472, 472, 476, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 476, 476, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 476, 472, 472, 472, 472, 472, 476, 472, 476, 472, 476, 472, 476, 476, 476, 476, 476, 476, 476, 472, 476, 476, 472, 472, 472, 472, 472, 472, 471, 471, 471, 0, 471, 274, 274, 274, 471, 471, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 0, 471, 274, 274, 471, 471, 471, 471, 471, 471, 471, 274, 274, 0, 274, 274, 274, 274, 274, 0, 471, 0, 0, 471, 471, 471, 471, 471, 471, 471, 471, 0, 471, 471, 471, 471, 0, 0, 471, 471, 471, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 0, 0, 274, 274, 274, 471, 0, 274, 471, 471, 471, 471, 471, 274, 471, 274, 471, 274, 471, 274, 274, 274, 274, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 477, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 324, 477, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 547, 514, 477, 477, 548, 0, 0, 477, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 477, 0, 477, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 478, 186, 0, 0, 0, 0, 0, 0, 0, 0, 478, 0, 0, 477, 0, 0, 0, 584, 509, 0, 0, 585, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 478, 169, 0, 478, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 478, 478, 0, 175, 176, 478, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 586, 514, 0, 0, 587, 0, 0, 0, 478, 0, 478, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 655, 0, 0, 0, 478, 334, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 474, 474, 474, 0, 474, 477, 477, 477, 474, 474, 477, 477, 477, 474, 477, 474, 474, 474, 474, 474, 474, 474, 0, 477, 477, 477, 474, 474, 474, 474, 474, 474, 474, 477, 477, 0, 477, 477, 477, 477, 477, 0, 474, 0, 0, 474, 474, 474, 474, 474, 474, 474, 474, 0, 474, 474, 474, 474, 0, 0, 474, 474, 474, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 0, 0, 477, 477, 477, 474, 0, 477, 474, 474, 474, 474, 474, 477, 474, 477, 474, 477, 474, 477, 477, 477, 477, 477, 477, 477, 474, 477, 477, 474, 474, 474, 474, 474, 474, 475, 475, 475, 0, 475, 478, 478, 478, 475, 475, 478, 478, 478, 475, 478, 475, 475, 475, 475, 475, 475, 475, 0, 478, 478, 478, 475, 475, 475, 475, 475, 475, 475, 478, 478, 0, 478, 478, 478, 478, 478, 0, 475, 0, 0, 475, 475, 475, 475, 475, 475, 475, 475, 0, 475, 475, 475, 475, 0, 0, 475, 475, 475, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 0, 0, 478, 478, 478, 475, 0, 478, 475, 475, 475, 475, 475, 478, 475, 478, 475, 478, 475, 478, 478, 478, 478, 478, 478, 478, 475, 478, 478, 475, 475, 475, 475, 475, 475, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 324, 350, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 602, 509, 350, 350, 603, 0, 0, 350, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 350, 0, 350, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 492, 186, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 350, 0, 0, 0, 604, 514, 0, 0, 605, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 492, 169, 0, 492, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 175, 176, 492, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 645, 509, 0, 0, 646, 0, 0, 0, 492, 0, 492, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 251, 251, 251, 0, 251, 350, 350, 350, 251, 251, 350, 350, 350, 251, 350, 251, 251, 251, 251, 251, 251, 251, 0, 350, 350, 350, 251, 251, 251, 251, 251, 251, 251, 350, 350, 0, 350, 350, 350, 350, 350, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 350, 350, 350, 251, 0, 350, 251, 0, 251, 251, 251, 350, 251, 350, 251, 350, 251, 350, 350, 350, 350, 350, 350, 350, 251, 350, 350, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 492, 492, 492, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 251, 0, 492, 251, 0, 251, 251, 251, 492, 251, 492, 251, 492, 251, 492, 492, 492, 492, 492, 492, 492, 251, 492, 492, 251, 251, 251, 251, 251, 251, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 647, 514, 0, 0, 648, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 278, 167, 168, 278, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 278, 278, 0, 87, 0, 278, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 857, 509, 0, 0, 858, 0, 0, 0, 278, 0, 278, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 286, 170, 171, 172, 173, 0, 0, 0, 0, 0, 286, 0, 0, 278, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 859, 514, 0, 0, 860, 0, 286, 0, 0, 286, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 286, 286, 169, 0, 0, 286, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 286, 186, 286, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 324, 286, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 0, 473, 278, 278, 278, 473, 473, 278, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 278, 278, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 278, 473, 473, 473, 473, 473, 278, 473, 278, 473, 278, 473, 278, 278, 278, 278, 278, 278, 278, 473, 278, 0, 473, 473, 473, 473, 473, 473, 251, 251, 251, 0, 251, 286, 286, 286, 251, 251, 286, 286, 286, 251, 286, 251, 251, 251, 251, 251, 251, 251, 0, 0, 286, 286, 251, 251, 251, 251, 251, 251, 251, 286, 286, 0, 286, 286, 286, 286, 286, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 251, 0, 286, 251, 0, 251, 251, 251, 286, 251, 286, 251, 286, 251, 286, 286, 286, 286, 286, 286, 286, 251, 286, 472, 251, 251, 251, 251, 251, 251, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 76, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 472, 0, 84, 0, 472, 309, 310, 311, 312, 313, 314, 315, 0, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 309, 333, 0, 0, 0, 0, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 322, 323, 473, 0, 0, 472, 0, 0, 0, 0, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 0, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 86, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 576, 5026, 16, 225, 576, 5026, 16, 225, 890, 12416, 16, 225, 576, 5540, 16, 225, 576, 5026, 16, 225, 4200, 23, 16, 225, 1059, 3657, 16, 225, 576, 5520, 16, 225, 576, 5520, 16, 225, 6549, 29, 16, 6647, 1381, 3672, 16, 225, 576, 5520, 16, 225, 576, 6418, 16, 225, 576, 6418, 16, 225, 4248, 28, 16, 225, 1381, 1105, 16, 225, 576, 6418, 16, 225, 1725, 3461, 16, 225, 5342, 20, 16, 225, 5342, 20, 16, 6647, 1381, 12416, 16, 225, 1666, 1611, 16, 225, 6969, 22, 16, 225, 27610, 16, 225, 27610, 16, 225, 4200, 23, 16, 225, 1381, 3657, 16, 225, 27610, 16, 225, 6969, 27, 16, 225, 576, 6162, 16, 6647, 576, 2313, 16, 282, 16848, 16, 225, 2371, 11149, 16, 225, 1381, 9401, 16, 225, 576, 5026, 16, 225, 576, 5026, 16, 225, 576, 2313, 16, 225, 9131, 23, 16, 225, 576, 5193, 16, 225, 5342, 20, 16, 6647, 6969, 23, 16, 225, 1666, 4033, 16, 225, 576, 5608, 16, 225, 890, 4313, 16, 225, 4248, 29, 16, 225, 1059, 9498, 16, 225, 2371, 1578, 16, 225, 1666, 9401, 16, 225, 576, 9222, 16, 225, 1059, 6028, 16, 6647, 1059, 9975, 16, 225, 30116, 16, 225, 30116, 16, 225, 1381, 10593, 16, 225, 11631, 16, 225, 1059, 9452, 16, 225, 9131, 21, 16, 225, 576, 12416, 16, 225, 576, 5877, 16, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 576, 5026, 16, 225, 576, 5026, 16, 225, 890, 12416, 16, 225, 576, 5540, 16, 225, 576, 5026, 16, 225, 4200, 23, 16, 225, 1059, 3657, 16, 225, 576, 5520, 16, 225, 576, 5520, 16, 225, 6549, 29, 16, 6647, 1381, 3672, 16, 225, 576, 5520, 16, 225, 576, 6418, 16, 225, 576, 6418, 16, 225, 4248, 28, 16, 225, 1381, 1105, 16, 225, 576, 6418, 16, 225, 1725, 3461, 16, 225, 5342, 20, 16, 225, 5342, 20, 16, 6647, 1381, 12416, 16, 225, 1666, 1611, 16, 225, 6969, 22, 16, 225, 27610, 16, 225, 27610, 16, 225, 4200, 23, 16, 2 ]
String[] names = new String[factor]; String[] sortedNames = new String[factor];
Path[] names = new Path[factor]; Path[] sortedNames = new Path[factor];
private static void mergeTest(FileSystem fs, int count, int seed, String file, boolean fast, int factor, int megabytes) throws IOException { LOG.fine("creating "+factor+" files with "+count/factor+" records"); SequenceFile.Writer[] writers = new SequenceFile.Writer[factor]; String[] names = new String[factor]; String[] sortedNames = new String[factor]; for (int i = 0; i < factor; i++) { names[i] = file+"."+i; sortedNames[i] = names[i] + ".sorted"; fs.delete(new File(names[i])); fs.delete(new File(sortedNames[i])); writers[i] = new SequenceFile.Writer(fs, names[i], RandomDatum.class,RandomDatum.class); } RandomDatum.Generator generator = new RandomDatum.Generator(seed); for (int i = 0; i < count; i++) { generator.next(); RandomDatum key = generator.getKey(); RandomDatum value = generator.getValue(); writers[i%factor].append(key, value); } for (int i = 0; i < factor; i++) writers[i].close(); for (int i = 0; i < factor; i++) { LOG.fine("sorting file " + i + " with " + count/factor + " records"); newSorter(fs, fast, megabytes, factor).sort(names[i], sortedNames[i]); } LOG.fine("merging " + factor + " files with " + count/factor + " records"); fs.delete(new File(file+".sorted")); newSorter(fs, fast, megabytes, factor).merge(sortedNames, file+".sorted"); }
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/ee01fef4b4fb82c7492a4a747793839a4d14cd39/TestSequenceFile.java/buggy/src/test/org/apache/hadoop/io/TestSequenceFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 2691, 4709, 12, 11785, 2662, 16, 509, 1056, 16, 509, 5009, 16, 4766, 514, 585, 16, 1250, 4797, 16, 509, 5578, 16, 4766, 509, 312, 1332, 24383, 1078, 13, 565, 1216, 1860, 288, 565, 2018, 18, 74, 558, 2932, 23799, 13773, 6812, 9078, 1390, 598, 13773, 1883, 19, 6812, 9078, 3853, 8863, 565, 8370, 812, 18, 2289, 8526, 18656, 273, 394, 8370, 812, 18, 2289, 63, 6812, 15533, 565, 514, 8526, 1257, 273, 394, 514, 63, 6812, 15533, 565, 514, 8526, 3115, 1557, 273, 394, 514, 63, 6812, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5578, 31, 277, 27245, 288, 1377, 1257, 63, 77, 65, 273, 585, 9078, 1199, 15, 77, 31, 1377, 3115, 1557, 63, 77, 65, 273, 1257, 63, 77, 65, 397, 3552, 10350, 14432, 1377, 2662, 18, 3733, 12, 2704, 1387, 12, 1973, 63, 77, 5717, 1769, 1377, 2662, 18, 3733, 12, 2704, 1387, 12, 10350, 1557, 63, 77, 5717, 1769, 1377, 18656, 63, 77, 65, 273, 3639, 394, 8370, 812, 18, 2289, 12, 2556, 16, 1257, 63, 77, 6487, 8072, 18268, 18, 1106, 16, 8529, 18268, 18, 1106, 1769, 565, 289, 565, 8072, 18268, 18, 3908, 4456, 273, 394, 8072, 18268, 18, 3908, 12, 12407, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1056, 31, 277, 27245, 288, 1377, 4456, 18, 4285, 5621, 1377, 8072, 18268, 498, 273, 4456, 18, 588, 653, 5621, 1377, 8072, 18268, 460, 273, 4456, 18, 24805, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 2691, 4709, 12, 11785, 2662, 16, 509, 1056, 16, 509, 5009, 16, 4766, 514, 585, 16, 1250, 4797, 16, 509, 5578, 16, 4766, 509, 312, 1332, 24383, 1078, 13, 565, 1216, 1860, 288, 565, 2018, 18, 74, 558, 2932, 23799, 13773, 6812, 9078, 1390, 598, 13773, 1883, 19, 6812, 9078, 3853, 8863, 565, 8370, 812, 18, 2289, 8526, 18656, 273, 394, 8370, 812, 18, 2289, 63, 6812, 15533, 565, 514, 8526, 1257, 273, 394, 514, 63, 6812, 15533, 565, 514, 8526, 3115, 1557, 273, 394, 514, 63, 6812, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 5578, 31, 277, 27245, 288, 1377, 1257, 63, 77, 65, 273, 585, 9078, 1199, 15, 77, 2 ]
if (projectName == null || (projectName.trim()).equals(""))
if (projectName == null || (projectName.trim()).equals("")) {
public void execute() throws org.apache.tools.ant.BuildException { Project aProj = getProject(); int result = 0; if(repository == null || repository.trim().equals("")) throw new BuildException("Required argument repository not specified"); // Check workspace exists // Launch PCLI listversionedfiles -z -aw // Capture output // build the command line from what we got the format is Commandline commandLine = new Commandline(); commandLine.setExecutable(getExecutable(PCLI_EXE)); commandLine.createArgument().setValue("lvf"); commandLine.createArgument().setValue("-z"); commandLine.createArgument().setValue("-aw"); if(getWorkspace()!=null) commandLine.createArgument().setValue("-sp"+getWorkspace()); commandLine.createArgument().setValue("-pr"+getRepository()); // default pvcs project is "/" if(getPvcsproject() == null && getPvcsprojects().isEmpty()) pvcsProject = "/"; if(getPvcsproject()!=null) commandLine.createArgument().setValue(getPvcsproject()); if(!getPvcsprojects().isEmpty()) { Enumeration e = getPvcsprojects().elements(); while (e.hasMoreElements()) { String projectName = ((PvcsProject)e.nextElement()).getName(); if (projectName == null || (projectName.trim()).equals("")) throw new BuildException("name is a required attribute of pvcsproject"); commandLine.createArgument().setValue(projectName); } } File tmp = null; File tmp2 = null; try { Random rand = new Random(System.currentTimeMillis()); tmp = new File("pvcs_ant_"+rand.nextLong()+".log"); tmp2 = new File("pvcs_ant_"+rand.nextLong()+".log"); log("Executing " + commandLine.toString(), Project.MSG_VERBOSE); result = runCmd(commandLine, new PumpStreamHandler(new FileOutputStream(tmp), new LogOutputStream(this,Project.MSG_WARN))); if ( result != 0 && !ignorerc) { String msg = "Failed executing: " + commandLine.toString(); throw new BuildException(msg, location); } if(!tmp.exists()) throw new BuildException("Communication between ant and pvcs failed. No output generated from executing PVCS commandline interface \"pcli\" and \"get\""); // Create folders in workspace log("Creating folders", Project.MSG_INFO); createFolders(tmp); // Massage PCLI lvf output transforming '\' to '/' so get command works appropriately massagePCLI(tmp, tmp2); // Launch get on output captured from PCLI lvf commandLine.clearArgs(); commandLine.setExecutable(getExecutable(GET_EXE)); if(getForce()!=null && getForce().equals("yes")) commandLine.createArgument().setValue("-Y"); else commandLine.createArgument().setValue("-N"); if(getPromotiongroup()!=null) commandLine.createArgument().setValue("-G"+getPromotiongroup()); else { if(getLabel()!=null) commandLine.createArgument().setValue("-r"+getLabel()); } if (updateOnly) { commandLine.createArgument().setValue("-U"); } commandLine.createArgument().setValue("@"+tmp2.getAbsolutePath()); log("Getting files", Project.MSG_INFO); log("Executing " + commandLine.toString(), Project.MSG_VERBOSE); result = runCmd(commandLine, new LogStreamHandler(this,Project.MSG_INFO, Project.MSG_WARN)); if ( result != 0 && !ignorerc) { String msg = "Failed executing: " + commandLine.toString() + ". Return code was "+result; throw new BuildException(msg, location); } } catch(FileNotFoundException e) { String msg = "Failed executing: " + commandLine.toString() + ". Exception: "+e.getMessage(); throw new BuildException(msg,location); } catch(IOException e) { String msg = "Failed executing: " + commandLine.toString() + ". Exception: "+e.getMessage(); throw new BuildException(msg,location); } catch(ParseException e) { String msg = "Failed executing: " + commandLine.toString() + ". Exception: "+e.getMessage(); throw new BuildException(msg,location); } finally { if (tmp != null) { tmp.delete(); } if (tmp2 != null) { tmp2.delete(); } } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/e3b6d1fe768d87352d3d0348638911045fc4668e/Pvcs.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 2358, 18, 19211, 18, 6642, 18, 970, 18, 3116, 503, 288, 3639, 5420, 279, 626, 78, 273, 11080, 5621, 3639, 509, 563, 273, 374, 31, 3639, 309, 12, 9071, 422, 446, 747, 3352, 18, 5290, 7675, 14963, 2932, 6, 3719, 2398, 604, 394, 18463, 2932, 3705, 1237, 3352, 486, 1269, 8863, 3639, 368, 2073, 6003, 1704, 3639, 368, 14643, 453, 7697, 666, 21415, 2354, 300, 94, 300, 2219, 3639, 368, 18477, 876, 3639, 368, 1361, 326, 1296, 980, 628, 4121, 732, 2363, 326, 740, 353, 3639, 3498, 1369, 20894, 273, 394, 3498, 1369, 5621, 3639, 20894, 18, 542, 17709, 12, 588, 17709, 12, 3513, 2053, 67, 2294, 41, 10019, 3639, 20894, 18, 2640, 1379, 7675, 542, 620, 2932, 3070, 74, 8863, 3639, 20894, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 94, 8863, 3639, 20894, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 2219, 8863, 3639, 309, 12, 588, 8241, 1435, 5, 33, 2011, 13, 5411, 20894, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 1752, 6, 15, 588, 8241, 10663, 3639, 20894, 18, 2640, 1379, 7675, 542, 620, 2932, 17, 683, 6, 15, 588, 3305, 10663, 3639, 368, 805, 9770, 2143, 1984, 353, 4016, 3639, 309, 12, 588, 52, 18982, 4406, 1435, 422, 446, 597, 1689, 18982, 13582, 7675, 291, 1921, 10756, 5411, 9770, 2143, 4109, 273, 4016, 31, 3639, 309, 12, 588, 52, 18982, 4406, 1435, 5, 33, 2011, 13, 5411, 20894, 18, 2640, 1379, 7675, 542, 620, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 2358, 18, 19211, 18, 6642, 18, 970, 18, 3116, 503, 288, 3639, 5420, 279, 626, 78, 273, 11080, 5621, 3639, 509, 563, 273, 374, 31, 3639, 309, 12, 9071, 422, 446, 747, 3352, 18, 5290, 7675, 14963, 2932, 6, 3719, 2398, 604, 394, 18463, 2932, 3705, 1237, 3352, 486, 1269, 8863, 3639, 368, 2073, 6003, 1704, 3639, 368, 14643, 453, 7697, 666, 21415, 2354, 300, 94, 300, 2219, 3639, 368, 18477, 876, 3639, 368, 1361, 326, 1296, 980, 628, 4121, 732, 2363, 326, 740, 353, 3639, 3498, 1369, 20894, 273, 394, 3498, 1369, 5621, 3639, 20894, 18, 542, 17709, 12, 588, 17709, 12, 3513, 2053, 67, 2294, 41, 10019, 3639, 20894, 18, 2640, 2 ]
public String getDefaultTimeZoneId() throws CalFacadeException;
public String getDefaultTimeZoneId() throws CalFacadeException { return defaultTimeZoneId; }
public String getDefaultTimeZoneId() throws CalFacadeException;
50848 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50848/504666cbd0a6232f77ce57b0d6cd04538513fa94/CalTimezones.java/buggy/calendar3/calFacade/src/org/bedework/calfacade/ifs/CalTimezones.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 514, 4829, 16760, 548, 1435, 1216, 3596, 12467, 503, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 514, 4829, 16760, 548, 1435, 1216, 3596, 12467, 503, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (getParent().getStyle().isHidden()) {
if (! getParent().getStyle().isVisible()) {
public void paintInline(RenderingContext c) { if (getParent().getStyle().isHidden()) { return; } if (textDecoration != null) { paintTextDecoration(c); } if (c.debugDrawLineBoxes()) { Color oldColor = c.getGraphics().getColor(); c.getGraphics().setColor(Color.GREEN); c.getGraphics().drawRect(getAbsX(), getAbsY(), getWidth(), getHeight()); c.getGraphics().setColor(oldColor); } }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/0756aea1531c992a3edd221241cc666701847e91/LineBox.java/clean/src/java/org/xhtmlrenderer/render/LineBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 10870, 12, 14261, 1042, 276, 13, 288, 3639, 309, 16051, 5089, 7675, 588, 2885, 7675, 291, 6207, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 309, 261, 955, 7859, 367, 480, 446, 13, 288, 5411, 12574, 1528, 7859, 367, 12, 71, 1769, 3639, 289, 7734, 309, 261, 71, 18, 4148, 6493, 1670, 29521, 10756, 288, 5411, 5563, 1592, 2957, 273, 276, 18, 588, 17558, 7675, 588, 2957, 5621, 5411, 276, 18, 588, 17558, 7675, 542, 2957, 12, 2957, 18, 29500, 1769, 5411, 276, 18, 588, 17558, 7675, 9446, 6120, 12, 588, 9382, 60, 9334, 4506, 2038, 61, 9334, 8557, 9334, 9263, 10663, 5411, 276, 18, 588, 17558, 7675, 542, 2957, 12, 1673, 2957, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 10870, 12, 14261, 1042, 276, 13, 288, 3639, 309, 16051, 5089, 7675, 588, 2885, 7675, 291, 6207, 10756, 288, 5411, 327, 31, 3639, 289, 7734, 309, 261, 955, 7859, 367, 480, 446, 13, 288, 5411, 12574, 1528, 7859, 367, 12, 71, 1769, 3639, 289, 7734, 309, 261, 71, 18, 4148, 6493, 1670, 29521, 10756, 288, 5411, 5563, 1592, 2957, 273, 276, 18, 588, 17558, 7675, 588, 2957, 5621, 5411, 276, 18, 588, 17558, 7675, 542, 2957, 12, 2957, 18, 29500, 1769, 5411, 276, 18, 588, 17558, 7675, 9446, 6120, 12, 588, 9382, 60, 9334, 4506, 2038, 61, 9334, 8557, 9334, 9263, 10663, 5411, 276, 18, 588, 17558, 7675, 542, 2957, 12, 1673, 2957, 1769, 3639, 2 ]
public org.quickfix.field.MaturityDate getMaturityDate() throws FieldNotFound { org.quickfix.field.MaturityDate value = new org.quickfix.field.MaturityDate();
public quickfix.field.MaturityDate getMaturityDate() throws FieldNotFound { quickfix.field.MaturityDate value = new quickfix.field.MaturityDate();
public org.quickfix.field.MaturityDate getMaturityDate() throws FieldNotFound { org.quickfix.field.MaturityDate value = new org.quickfix.field.MaturityDate(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/buggy/src/java/src/quickfix/fix43/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 2108, 270, 2336, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 2108, 270, 2336, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IMylarElement element = MylarPlugin.getContextManager().getElement(getHandleIdentifier(adaptable));
IMylarElement element = ContextCorePlugin.getContextManager().getElement(getHandleIdentifier(adaptable));
public boolean canFilter(Object object) { if (object instanceof ClassPathContainer.RequiredProjectWrapper) { return true; } else if (object instanceof ClassPathContainer) { // HACK: check if it // has anything // interesting ClassPathContainer container = (ClassPathContainer) object; Object[] children = container.getChildren(container); for (int i = 0; i < children.length; i++) { if (children[i] instanceof JarPackageFragmentRoot) { JarPackageFragmentRoot element = (JarPackageFragmentRoot) children[i]; IMylarElement node = MylarPlugin.getContextManager().getElement(element.getHandleIdentifier()); if (node != null && node.getInterest().isInteresting()) { return false; } } } } else if (object instanceof WorkingSet) { try { WorkingSet workingSet = (WorkingSet) object; IAdaptable[] elements = workingSet.getElements(); for (int i = 0; i < elements.length; i++) { IAdaptable adaptable = elements[i]; IMylarElement element = MylarPlugin.getContextManager().getElement(getHandleIdentifier(adaptable)); if (element.getInterest().isInteresting()) return false; } } catch (Exception e) { return false; } } return true; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b23efbfef800ff6f85224f036d6a11e9fab7acba/JavaStructureBridge.java/clean/org.eclipse.mylyn.java.ui/src/org/eclipse/mylyn/internal/java/JavaStructureBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 848, 1586, 12, 921, 733, 13, 288, 202, 202, 430, 261, 1612, 1276, 1659, 743, 2170, 18, 3705, 4109, 3611, 13, 288, 1082, 202, 2463, 638, 31, 202, 202, 97, 469, 309, 261, 1612, 1276, 1659, 743, 2170, 13, 288, 368, 670, 3649, 30, 866, 309, 518, 1082, 202, 759, 711, 6967, 1082, 202, 759, 26122, 1082, 202, 22158, 2170, 1478, 273, 261, 22158, 2170, 13, 733, 31, 1082, 202, 921, 8526, 2325, 273, 1478, 18, 588, 4212, 12, 3782, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 261, 5906, 63, 77, 65, 1276, 15644, 2261, 7456, 2375, 13, 288, 6862, 202, 10813, 2261, 7456, 2375, 930, 273, 261, 10813, 2261, 7456, 2375, 13, 2325, 63, 77, 15533, 6862, 202, 3445, 93, 7901, 1046, 756, 273, 8005, 7901, 3773, 18, 29120, 1318, 7675, 21336, 12, 2956, 18, 588, 3259, 3004, 10663, 6862, 202, 430, 261, 2159, 480, 446, 597, 756, 18, 588, 29281, 7675, 291, 2465, 10100, 10756, 288, 25083, 202, 2463, 629, 31, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 1612, 1276, 22732, 694, 13, 288, 1082, 202, 698, 288, 9506, 202, 14836, 694, 5960, 694, 273, 261, 14836, 694, 13, 733, 31, 9506, 202, 45, 13716, 429, 8526, 2186, 273, 5960, 694, 18, 588, 3471, 5621, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 848, 1586, 12, 921, 733, 13, 288, 202, 202, 430, 261, 1612, 1276, 1659, 743, 2170, 18, 3705, 4109, 3611, 13, 288, 1082, 202, 2463, 638, 31, 202, 202, 97, 469, 309, 261, 1612, 1276, 1659, 743, 2170, 13, 288, 368, 670, 3649, 30, 866, 309, 518, 1082, 202, 759, 711, 6967, 1082, 202, 759, 26122, 1082, 202, 22158, 2170, 1478, 273, 261, 22158, 2170, 13, 733, 31, 1082, 202, 921, 8526, 2325, 273, 1478, 18, 588, 4212, 12, 3782, 1769, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 261, 5906, 63, 77, 65, 1276, 15644, 2261, 7456, 2375, 13, 288, 6862, 2 ]
viewOnlyMenu.add(viewArgumentsAction);
viewOnlyHostMenu.add(viewArgumentsHostAction);
private void initDisplay() { // host split pane contains host tree and // the bottom split pane which contains the node and agent trees JSplitPane hostPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT); // tree of hosts and assigned nodes and agents DefaultMutableTreeNode root = new DefaultMutableTreeNode(new ConsoleTreeObject("Hosts", HostComponent.class.getName())); // setting "askAllowsChildren" forces empty nodes that can have // children to be displayed as "folders" rather than leaf nodes DefaultTreeModel model = createModel(experiment, root, true); hostTree = new ConsoleDNDTree(model); hostTree.setExpandsSelectedPaths(true); // cell editor returns false if user tries to edit root node DefaultCellEditor myEditor = new DefaultCellEditor(new JTextField()) { public boolean isCellEditable(EventObject e) { if (super.isCellEditable(e) && e instanceof MouseEvent) { TreePath path = hostTree.getPathForLocation(((MouseEvent)e).getX(), ((MouseEvent)e).getY()); if (path == null) return false; Object o = path.getLastPathComponent(); DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)o; if (treeNode.isRoot() || ((ConsoleTreeObject)treeNode.getUserObject()).isAgent()) return false; } return super.isCellEditable(e); } public boolean stopCellEditing() { TreePath path = hostTree.getEditingPath(); DefaultMutableTreeNode node = (DefaultMutableTreeNode)path.getLastPathComponent(); int result = 0; if (node.getUserObject() instanceof ConsoleTreeObject) { ConsoleTreeObject cto = (ConsoleTreeObject)node.getUserObject(); if (cto.isHost()) { // stop cell editing, accept new unique value if (isHostNameUnique((String)getCellEditorValue())) return super.stopCellEditing(); // tell user that value isn't unique result = JOptionPane.showConfirmDialog(hostConfigurationBuilder, "Use an unique name", "Host Name Not Unique", JOptionPane.OK_CANCEL_OPTION, JOptionPane.ERROR_MESSAGE); } else if (cto.isNode()) { // stop cell editing, accept new unique value if (isNodeNameUnique((String)getCellEditorValue())) return super.stopCellEditing(); // tell user that value isn't unique result = JOptionPane.showConfirmDialog(hostConfigurationBuilder, "Use an unique name", "Node Name Not Unique", JOptionPane.OK_CANCEL_OPTION, JOptionPane.ERROR_MESSAGE); } } else return super.stopCellEditing(); // user cancelled the message dialog, so cancel the editing if (result != JOptionPane.OK_OPTION) { cancelCellEditing(); return true; } // user entered non-unique value, not done editing return false; } }; hostTree.setCellEditor(myEditor); JScrollPane hostTreeScrollPane = new JScrollPane(hostTree); hostTreeScrollPane.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED)); hostPane.setTopComponent(hostTreeScrollPane); // hostTree.getModel().addTreeModelListener(this); // create popup menus for host tree hostRootMenu = new JPopupMenu(); hostHostMenu = new JPopupMenu(); hostNodeMenu = new JPopupMenu(); hostAgentMenu = new JPopupMenu(); viewOnlyMenu = new JPopupMenu(); JMenuItem newHostMenuItem = new JMenuItem(NEW_HOST_MENU_ITEM); newHostMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { createHost(); } }); JMenuItem deleteHostMenuItem = new JMenuItem(DELETE_MENU_ITEM); deleteHostMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { deleteHost(); } }); newNodeInHostMenuItem = new JMenuItem(NEW_NODE_MENU_ITEM); newNodeInHostMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { createAssignedNode(); } }); JMenuItem hostDescriptionMenuItem = new JMenuItem(DESCRIBE_MENU_ITEM); hostDescriptionMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { setHostDescription(); } }); JMenuItem hostLocationMenuItem = new JMenuItem(HOST_LOCATION_MENU_ITEM); hostLocationMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { setHostLocation(); } }); JMenuItem hostTypeMenuItem = new JMenuItem(HOST_TYPE_MENU_ITEM); hostTypeMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { setHostType(); } }); JMenuItem describeNodeInHostMenuItem = new JMenuItem(DESCRIBE_MENU_ITEM); describeNodeInHostMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { setNodeDescription(hostTree); } }); cmdLineNodeInHostMenuItem = new JMenuItem(NODE_COMMAND_LINE_MENU_ITEM); cmdLineNodeInHostMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { setNodeCommandLine((DefaultMutableTreeNode)hostTree.getLastSelectedPathComponent()); } }); cmdLineNodeInHostMenuItem.setEnabled(true); Action globalCmdLineAction = new AbstractAction(GLOBAL_COMMAND_LINE_MENU_ITEM) { public void actionPerformed(ActionEvent e) { setGlobalCommandLine(); } }; JMenuItem deleteNodeInHostMenuItem = new JMenuItem(DELETE_MENU_ITEM); deleteNodeInHostMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { deleteNodesFromTree(hostTree); } }); showComponentsHostMenuItem = new JMenuItem(SHOW_COMPONENTS_MENU_ITEM); showComponentsHostMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { showAgentComponents(hostTree); } }); showComponentsHostAMenuItem = new JMenuItem(SHOW_COMPONENTS_MENU_ITEM); showComponentsHostAMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { showAgentComponents(hostTree); } }); // init pop-up menus hostRootMenu.add(newHostMenuItem); hostRootMenu.add(globalCmdLineAction); hostHostMenu.add(hostDescriptionMenuItem); hostHostMenu.add(hostTypeMenuItem); hostHostMenu.add(hostLocationMenuItem); hostHostMenu.add(newNodeInHostMenuItem); hostHostMenu.add(globalCmdLineAction); hostHostMenu.add(deleteHostMenuItem); hostNodeMenu.add(describeNodeInHostMenuItem); hostNodeMenu.add(cmdLineNodeInHostMenuItem); hostNodeMenu.add(globalCmdLineAction); hostNodeMenu.add(deleteNodeInHostMenuItem); hostNodeMenu.add(showComponentsHostMenuItem); hostAgentMenu.add(showComponentsHostAMenuItem); Action viewArgumentsAction = new AbstractAction(DISPLAY_ARGS_ACTION) { public void actionPerformed(ActionEvent e) { displayArguments(viewOnlyMenu.getInvoker()); } }; viewOnlyMenu.add(viewArgumentsAction); // attach a mouse listener to the host tree to display menu MouseListener hostTreeMouseListener = new MouseAdapter() { public void mouseClicked(MouseEvent e) { if (e.isPopupTrigger()) displayHostTreeMenu(e); } public void mousePressed(MouseEvent e) { if (e.isPopupTrigger()) displayHostTreeMenu(e); } public void mouseReleased(MouseEvent e) { if (e.isPopupTrigger()) displayHostTreeMenu(e); } }; hostTree.addMouseListener(hostTreeMouseListener); // bottom split pane contains the node and agent trees JSplitPane bottomPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT); // tree of unassigned nodes ConsoleTreeObject cto = new ConsoleTreeObject("Nodes (unassigned)", NodeComponent.class.getName()); root = new DefaultMutableTreeNode(cto, true); model = createModel(experiment, root, true); nodeTree = new ConsoleDNDTree(model); // cell editor returns false if try to edit agent names or root name DefaultCellEditor nodeEditor = new DefaultCellEditor(new JTextField()) { public boolean isCellEditable(EventObject e) { if (super.isCellEditable(e) && e instanceof MouseEvent) { TreePath path = hostTree.getPathForLocation(((MouseEvent)e).getX(), ((MouseEvent)e).getY()); if (path == null) return false; Object o = path.getLastPathComponent(); DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode)o; if (treeNode.isRoot() || ((ConsoleTreeObject)treeNode.getUserObject()).isAgent()) return false; } return super.isCellEditable(e); } public boolean stopCellEditing() { // stop cell editing, accept new unique value if (isNodeNameUnique((String)getCellEditorValue())) return super.stopCellEditing(); // tell user that value isn't unique int ok = JOptionPane.showConfirmDialog(hostConfigurationBuilder, "Use an unique name", "Node Name Not Unique", JOptionPane.OK_CANCEL_OPTION, JOptionPane.ERROR_MESSAGE); // user cancelled the message dialog, so cancel the editing if (ok != JOptionPane.OK_OPTION) { cancelCellEditing(); return true; } // user entered non-unique value, not done editing return false; } }; nodeTree.setCellEditor(nodeEditor); nodeTree.setExpandsSelectedPaths(true); JScrollPane nodeTreeScrollPane = new JScrollPane(nodeTree); nodeTreeScrollPane.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED)); bottomPane.setTopComponent(nodeTreeScrollPane); // popup menu for creating and deleting nodes nodeRootMenu = new JPopupMenu(); nodeNodeMenu = new JPopupMenu(); nodeAgentMenu = new JPopupMenu(); JMenuItem newNodeMenuItem = new JMenuItem(NEW_NODE_MENU_ITEM); newNodeMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { createUnassignedNode(); } }); nodeRootMenu.add(newNodeMenuItem); nodeRootMenu.add(globalCmdLineAction); JMenuItem describeNodeMenuItem = new JMenuItem(DESCRIBE_MENU_ITEM); describeNodeMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { setNodeDescription(nodeTree); } }); cmdLineNodeMenuItem = new JMenuItem(NODE_COMMAND_LINE_MENU_ITEM); cmdLineNodeMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { setNodeCommandLine((DefaultMutableTreeNode)nodeTree.getLastSelectedPathComponent()); } }); cmdLineNodeMenuItem.setEnabled(true); JMenuItem globalCmdLineMenuItem = new JMenuItem(GLOBAL_COMMAND_LINE_MENU_ITEM); globalCmdLineMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { setGlobalCommandLine(); } }); globalCmdLineMenuItem.setEnabled(true); JMenuItem deleteNodeMenuItem = new JMenuItem(DELETE_MENU_ITEM); deleteNodeMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { deleteNodesFromTree(nodeTree); } }); showComponentsNodeMenuItem = new JMenuItem(SHOW_COMPONENTS_MENU_ITEM); showComponentsNodeMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { showAgentComponents(nodeTree); } }); showComponentsNodeAMenuItem = new JMenuItem(SHOW_COMPONENTS_MENU_ITEM); showComponentsNodeAMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { showAgentComponents(nodeTree); } }); nodeNodeMenu.add(describeNodeMenuItem); nodeNodeMenu.add(cmdLineNodeMenuItem); nodeNodeMenu.add(globalCmdLineAction); nodeNodeMenu.add(deleteNodeMenuItem); nodeNodeMenu.add(showComponentsNodeMenuItem); nodeAgentMenu.add(showComponentsNodeAMenuItem); // attach a mouse listener to the node tree to display menu MouseListener nodeTreeMouseListener = new MouseAdapter() { public void mouseClicked(MouseEvent e) { if (e.isPopupTrigger()) displayNodeTreeMenu(e); } public void mousePressed(MouseEvent e) { if (e.isPopupTrigger()) displayNodeTreeMenu(e); } public void mouseReleased(MouseEvent e) { if (e.isPopupTrigger()) displayNodeTreeMenu(e); } }; nodeTree.addMouseListener(nodeTreeMouseListener); // tree of unassigned agents cto = new ConsoleTreeObject("Agents (unassigned)", AgentComponent.class.getName()); root = new DefaultMutableTreeNode(cto, true); model = createModel(experiment, root, true); agentTree = new ConsoleDNDTree(model); // attach a mouse listener to the agent tree to display menu MouseListener agentTreeMouseListener = new MouseAdapter() { public void mouseClicked(MouseEvent e) { if (e.isPopupTrigger()) displayAgentTreeMenu(e); } public void mousePressed(MouseEvent e) { if (e.isPopupTrigger()) displayAgentTreeMenu(e); } public void mouseReleased(MouseEvent e) { if (e.isPopupTrigger()) displayAgentTreeMenu(e); } }; agentTree.addMouseListener(agentTreeMouseListener); showComponentsAgentMenuItem = new JMenuItem(SHOW_COMPONENTS_MENU_ITEM); showComponentsAgentMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { showAgentComponents(agentTree); } }); agentAgentMenu = new JPopupMenu(); agentAgentMenu.add(showComponentsAgentMenuItem); // cell editor returns false; can't edit agent names or root name DefaultCellEditor agentEditor = new DefaultCellEditor(new JTextField()) { public boolean isCellEditable(EventObject e) { return false; } }; agentTree.setCellEditor(agentEditor); agentTree.setExpandsSelectedPaths(true); JScrollPane agentTreeScrollPane = new JScrollPane(agentTree); agentTreeScrollPane.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED)); bottomPane.setBottomComponent(agentTreeScrollPane); hostPane.setBottomComponent(bottomPane); setLayout(new BorderLayout()); add(hostPane, BorderLayout.CENTER); hostPane.setDividerLocation(220); bottomPane.setDividerLocation(220); }
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/f7bec3abc6aceac0713185cd8e6753a63e4ae471/HostConfigurationBuilder.java/clean/csmart/src/org/cougaar/tools/csmart/ui/experiment/HostConfigurationBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 4236, 1435, 288, 565, 368, 1479, 1416, 13618, 1914, 1479, 2151, 471, 377, 368, 326, 5469, 1416, 13618, 1492, 1914, 326, 756, 471, 4040, 11491, 565, 804, 5521, 8485, 1479, 8485, 273, 394, 804, 5521, 8485, 12, 46, 5521, 8485, 18, 44, 20344, 67, 17482, 1769, 565, 368, 2151, 434, 7206, 471, 6958, 2199, 471, 16423, 565, 2989, 19536, 12513, 1365, 273, 4202, 394, 2989, 19536, 12513, 12, 2704, 9657, 2471, 921, 2932, 12172, 3113, 1875, 4202, 4893, 1841, 18, 1106, 18, 17994, 1435, 10019, 565, 368, 3637, 315, 835, 19132, 4212, 6, 26376, 1008, 2199, 716, 848, 1240, 565, 368, 2325, 358, 506, 10453, 487, 315, 16064, 6, 9178, 2353, 7839, 2199, 565, 2989, 2471, 1488, 938, 273, 15552, 12, 18142, 16, 1365, 16, 638, 1769, 565, 1479, 2471, 273, 394, 9657, 40, 2908, 2471, 12, 2284, 1769, 565, 1479, 2471, 18, 542, 2966, 5708, 7416, 4466, 12, 3767, 1769, 565, 368, 2484, 4858, 1135, 629, 309, 729, 9327, 358, 3874, 1365, 756, 565, 2989, 4020, 6946, 3399, 6946, 273, 394, 2989, 4020, 6946, 12, 2704, 804, 16157, 10756, 288, 1377, 1071, 1250, 353, 4020, 15470, 12, 1133, 921, 425, 13, 288, 202, 430, 261, 9565, 18, 291, 4020, 15470, 12, 73, 13, 597, 425, 1276, 17013, 1133, 13, 288, 202, 225, 4902, 743, 589, 273, 1479, 2471, 18, 588, 743, 1290, 2735, 12443, 12, 9186, 1133, 13, 73, 2934, 588, 60, 9334, 6862, 1082, 1377, 14015, 9186, 1133, 13, 73, 2934, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 4236, 1435, 288, 565, 368, 1479, 1416, 13618, 1914, 1479, 2151, 471, 377, 368, 326, 5469, 1416, 13618, 1492, 1914, 326, 756, 471, 4040, 11491, 565, 804, 5521, 8485, 1479, 8485, 273, 394, 804, 5521, 8485, 12, 46, 5521, 8485, 18, 44, 20344, 67, 17482, 1769, 565, 368, 2151, 434, 7206, 471, 6958, 2199, 471, 16423, 565, 2989, 19536, 12513, 1365, 273, 4202, 394, 2989, 19536, 12513, 12, 2704, 9657, 2471, 921, 2932, 12172, 3113, 1875, 4202, 4893, 1841, 18, 1106, 18, 17994, 1435, 10019, 565, 368, 3637, 315, 835, 19132, 4212, 6, 26376, 1008, 2199, 716, 848, 1240, 565, 368, 2325, 358, 506, 10453, 487, 315, 16064, 6, 9178, 2353, 7839, 2199, 565, 2989, 2 ]
System.out.println(" *(" + currentTime + ") Assigning " + node + " to " + tile + "(new avail: " + tileAvail[tile.getTileNumber()] + ")");
private void scheduleTrace(HashMap layout, Trace trace, LinkedList sortedList) { assert layout != null && trace != null; System.out.println("Scheduling Trace: " + trace); //remove this trace from the list of traces to schedule sortedList.remove(trace); //add the trace to the schedule schedule.add(trace); //now set the layout for the filterTraceNodes //and set the available time for each tile TraceNode node = trace.getHead().getNext(); while (node instanceof FilterTraceNode) { assert layout.containsKey(node) && layout.get(node) != null; RawTile tile = (RawTile)layout.get(node); ((FilterTraceNode)node).setXY(tile.getX(), tile.getY()); //add to the avail time for the tile //add the bottleneck work tileAvail[tile.getTileNumber()] = currentTime + partitioner.getTraceBNWork(trace); System.out.println(" *(" + currentTime + ") Assigning " + node + " to " + tile + "(new avail: " + tileAvail[tile.getTileNumber()] + ")"); //if this is a file node, record that we have //used this tile to either read or write a file... if (((FilterTraceNode)node).isFileInput()) { assert tile.hasIODevice() && !readsFile[tile.getTileNumber()]; readsFile[tile.getTileNumber()] = true; } else if (((FilterTraceNode)node).isFileOutput()) { assert tile.hasIODevice() && !writesFile[tile.getTileNumber()]; writesFile[tile.getTileNumber()] = true; } //set the space time schedule?? Jasper's stuff //don't do it for the first node /* if (node != trace.getHead().getNext()) spSched.add(trace, ((FilterTraceNode)node).getY(), ((FilterTraceNode)node).getX()); else //do this instead spSched.addHead(trace, ((FilterTraceNode)node).getY(), ((FilterTraceNode)node).getX()); */ node = node.getNext(); } }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/720e4c6f6578f50ffd0fcfcec2e39a4837883e9e/SimpleScheduler.java/clean/streams/src/at/dms/kjc/spacetime/SimpleScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4788, 3448, 12, 8658, 3511, 16, 2677, 2606, 16, 10688, 3115, 682, 13, 377, 288, 202, 11231, 3511, 480, 446, 597, 2606, 480, 446, 31, 202, 3163, 18, 659, 18, 8222, 2932, 25401, 2677, 30, 315, 397, 2606, 1769, 202, 759, 4479, 333, 2606, 628, 326, 666, 434, 19649, 358, 4788, 202, 10350, 682, 18, 4479, 12, 5129, 1769, 202, 759, 1289, 326, 2606, 358, 326, 4788, 202, 10676, 18, 1289, 12, 5129, 1769, 202, 202, 759, 3338, 444, 326, 3511, 364, 326, 1034, 3448, 3205, 202, 759, 464, 444, 326, 2319, 813, 364, 1517, 4769, 202, 3448, 907, 756, 273, 2606, 18, 588, 1414, 7675, 588, 2134, 5621, 202, 17523, 261, 2159, 1276, 4008, 3448, 907, 13, 288, 202, 565, 1815, 3511, 18, 12298, 653, 12, 2159, 13, 597, 3196, 202, 6741, 18, 588, 12, 2159, 13, 480, 446, 31, 202, 565, 6576, 9337, 4769, 273, 261, 4809, 9337, 13, 6741, 18, 588, 12, 2159, 1769, 202, 565, 14015, 1586, 3448, 907, 13, 2159, 2934, 542, 8546, 12, 15368, 18, 588, 60, 9334, 9944, 225, 4769, 18, 588, 61, 10663, 202, 565, 368, 1289, 358, 326, 15783, 813, 364, 326, 4769, 202, 565, 368, 1289, 326, 2512, 28445, 1440, 202, 565, 4769, 3769, 671, 63, 15368, 18, 588, 9337, 1854, 1435, 65, 273, 6680, 3196, 202, 15, 3590, 264, 18, 588, 3448, 15388, 2421, 12, 5129, 1769, 202, 377, 202, 565, 2332, 18, 659, 18, 8222, 2932, 225, 380, 2932, 397, 6680, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4788, 3448, 12, 8658, 3511, 16, 2677, 2606, 16, 10688, 3115, 682, 13, 377, 288, 202, 11231, 3511, 480, 446, 597, 2606, 480, 446, 31, 202, 3163, 18, 659, 18, 8222, 2932, 25401, 2677, 30, 315, 397, 2606, 1769, 202, 759, 4479, 333, 2606, 628, 326, 666, 434, 19649, 358, 4788, 202, 10350, 682, 18, 4479, 12, 5129, 1769, 202, 759, 1289, 326, 2606, 358, 326, 4788, 202, 10676, 18, 1289, 12, 5129, 1769, 202, 202, 759, 3338, 444, 326, 3511, 364, 326, 1034, 3448, 3205, 202, 759, 464, 444, 326, 2319, 813, 364, 1517, 4769, 202, 3448, 907, 756, 273, 2606, 18, 588, 1414, 7675, 588, 2134, 5621, 202, 17523, 261, 2159, 1276, 4008, 3448, 2 ]
whereFilterName = false; whereFilterCond = false;
public synchronized Query MQLtoQuery(String newquery) throws InvalidQueryException { try { //reset MartCompleter induced state, if any. Also reduces the number of DatasetConfig objects held in memory usingLocalDataset = false; localDataset = null; boolean start = true; boolean getClause = false; boolean usingClause = false; boolean domainSpecificClause = false; boolean whereClause = false; boolean limitClause = false; boolean sortClause = false; boolean inList = false; boolean inBind = false; boolean inQuotedValue = false; boolean whereFilterName = false; boolean whereFilterCond = false; boolean whereFilterVal = false; boolean validQuery = false; DatasetConfig thisDatasetConfig = null; if (logger.isLoggable(Level.FINE)) logger.fine("Recieved Query " + newquery + "\n"); Query query = new Query(); currentFpage = null; currentApage = null; atts = new ArrayList(); filtNames = new ArrayList(); maxSelects = new Hashtable(); String filterName = null; String filterCondition = null; StringBuffer filterValue = new StringBuffer(); StringBuffer storedCommand = new StringBuffer(); List listFilterValues = new ArrayList(); String domainSpecificKeyword = null; StringTokenizer cTokens = new StringTokenizer(newquery, " "); if (cTokens.countTokens() < 2) throw new InvalidQueryException("\nInvalid Query Recieved " + newquery + "\n"); while (cTokens.hasMoreTokens()) { String thisToken = cTokens.nextToken(); if (start) { if (!(thisToken.equalsIgnoreCase(GETQSTART) || thisToken.equalsIgnoreCase(USINGQSTART))) throw new InvalidQueryException( "Invalid Query Recieved, should begin with either 'using' or 'get': " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(GETQSTART)) { start = false; getClause = true; } else { start = false; usingClause = true; } } else if (usingClause) { if (domainSpecificHandlerAvailable(thisToken)) throw new InvalidQueryException( "Invalid Query Recieved, domain specific clause before " + GETQSTART + " clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QWHERE)) throw new InvalidQueryException( "Invalid Query Recieved, where clause before " + GETQSTART + " clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QLIMIT)) throw new InvalidQueryException( "Invalid Query Recieved, limit clause before " + GETQSTART + " clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QSORT)) throw new InvalidQueryException( "Invalid Query Recieved, sortBy clause before " + GETQSTART + " clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(GETQSTART)) { usingClause = false; getClause = true; } else { if (thisDatasetConfig != null) throw new InvalidQueryException( "Invalid Query Recieved, DatasetConfig already set, attempted to set again: " + newquery + "\n"); else { DatasetRequest dsrq = new DatasetRequest(thisToken, this); try { if (envMart == null || !(envMart.getName().equals(dsrq.mart))) query.setDataSource(adaptorManager.getAdaptorByName(dsrq.mart).getDataSource()); thisDatasetConfig = adaptorManager.getAdaptorByName(dsrq.mart).getDatasetConfigByDatasetInternalName(dsrq.dataset, dsrq.datasetconfig); query.setDataset(thisDatasetConfig.getDataset()); } catch (ConfigurationException e1) { throw new InvalidQueryException("Could not set parse using request " + thisToken + "\n"); } if (logger.isLoggable(Level.FINE)) { logger.fine("setting local dataset to " + thisDatasetConfig.getDataset() + "\n"); if (query.getDataSource() != null) logger.fine("setting Mart to " + query.getDataSource().getName() + "\n"); } } } } else if (getClause) { // set dataset and update query with starbases, or throw an exception if dataset not set if (thisDatasetConfig == null) { if (envDataset == null) { throw new InvalidQueryException( "Invalid Query Recieved, did not set DatasetConfig: " + newquery + "\nEither set environmental DatasetConfig with 'set' or 'use', or use a 'using' clause in your MQL\n"); } else thisDatasetConfig = envDataset; } query.setDataset(thisDatasetConfig.getDataset()); query.setMainTables(thisDatasetConfig.getStarBases()); query.setPrimaryKeys(thisDatasetConfig.getPrimaryKeys()); //favor using DataSource over envMart if (query.getDataSource() == null) { if (envMart != null) query.setDataSource(envMart); else throw new InvalidQueryException( "Invalid Query Recieved, could not get a Mart from a 'using' clause, or the environment: " + newquery + "\n"); } if (thisToken.equalsIgnoreCase(GETQSTART) || thisToken.equalsIgnoreCase(USINGQSTART)) throw new InvalidQueryException( "Invalid Query Recieved, " + GETQSTART + " clause in the middle of a " + GETQSTART + " clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QLIMIT)) { if (!validQuery) throw new InvalidQueryException("Recieved invalid Query " + newquery + "\ncheck for a dangling comma\n"); validQuery = false; getClause = false; limitClause = true; } else if (thisToken.equalsIgnoreCase(QSORT)) { if (!validQuery) throw new InvalidQueryException("Recieved invalid Query " + newquery + "\ncheck for a dangling comma\n"); if (!advancedFeaturesOn) throw new InvalidQueryException("sortBy request not allowed unless advancedFeatures set\n"); validQuery = false; getClause = false; sortClause = true; } else if (domainSpecificHandlerAvailable(thisToken)) { validQuery = false; domainSpecificKeyword = thisToken; getClause = false; domainSpecificClause = true; } else if (thisToken.equalsIgnoreCase(QWHERE)) { if (logger.isLoggable(Level.FINE)) logger.fine("Recieved where clause after attributes, query is valid: " + validQuery + " \n"); if (!validQuery) throw new InvalidQueryException("Recieved invalid Query " + newquery + "\ncheck for a dangling comma\n"); validQuery = false; getClause = false; whereClause = true; whereFilterName = true; } else { if (thisToken.endsWith(",")) { if (logger.isLoggable(Level.FINE)) logger.fine(thisToken + " Comma, setting validQuery to false\n"); thisToken = thisToken.substring(0, thisToken.length() - 1); validQuery = false; } else { if (logger.isLoggable(Level.FINE)) logger.fine(thisToken + " Not comma, setting validQuery to true\n"); validQuery = true; } StringTokenizer attToks = new StringTokenizer(thisToken, ","); while (attToks.hasMoreTokens()) query = addAttribute(query, thisDatasetConfig, attToks.nextToken().trim()); } } else if (domainSpecificClause) { if (thisToken.equalsIgnoreCase(GETQSTART) || thisToken.equalsIgnoreCase(USINGQSTART)) throw new InvalidQueryException( "Invalid Query Recieved, " + GETQSTART + " clause in the middle of a sequence clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QLIMIT)) { if (!validQuery) throw new InvalidQueryException( "Recieved invalid Query " + newquery + "\ncheck for an incomplete Domain Specific Request\n"); validQuery = false; domainSpecificClause = false; limitClause = true; } else if (thisToken.equalsIgnoreCase(QSORT)) { if (!validQuery) throw new InvalidQueryException("Recieved invalid Query " + newquery + "\ncheck for a dangling comma\n"); if (!advancedFeaturesOn) throw new InvalidQueryException("sortBy request not allowed unless advancedFeatures set\n"); validQuery = false; getClause = false; sortClause = true; } else if (thisToken.equalsIgnoreCase(QWHERE)) { if (!validQuery) throw new InvalidQueryException( "Recieved invalid Query " + newquery + "\ncheck for an incomplete Domain Specific Request\n"); validQuery = false; domainSpecificClause = false; whereClause = true; whereFilterName = true; } else { query = modifyQueryForDomainSpecificKeyword(domainSpecificKeyword, query, thisDatasetConfig, thisToken); validQuery = true; } } else if (whereClause) { if (thisToken.equalsIgnoreCase(QLIMIT)) { if (!validQuery) throw new InvalidQueryException( "Recieved invalid Query " + newquery + "\ncheck for a dangling filter delimiter " + FILTERDELIMITER + "\n"); validQuery = false; whereClause = false; limitClause = true; } else if (thisToken.equalsIgnoreCase(QSORT)) { if (!validQuery) throw new InvalidQueryException( "Recieved invalid Query " + newquery + "\ncheck for a dangling filter delimiter " + FILTERDELIMITER + "\n"); if (!advancedFeaturesOn) throw new InvalidQueryException("sortBy request not allowed unless advancedFeatures set\n"); validQuery = false; whereClause = false; sortClause = true; } else if (thisToken.equalsIgnoreCase(GETQSTART) || thisToken.equalsIgnoreCase(USINGQSTART)) throw new InvalidQueryException( "Invalid Query Recieved, " + GETQSTART + " clause after where clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QWHERE)) throw new InvalidQueryException( "Invalid Query Recieved, where clause after where clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(FILTERDELIMITER)) { whereFilterCond = false; whereFilterVal = false; whereFilterName = true; validQuery = false; } else if (whereFilterName) { if (thisToken.matches("[^>=<]+([>=<]+)[^>=<]*")) { Pattern pat = Pattern.compile("[^>=<]+([>=<]+)[^>=<]*"); //one or more non qualifier characters followed immediately by a qualifier, followed by zero or more non qualifier characters Matcher m = pat.matcher(thisToken); m.find(); // know its there, just have to find it filterCondition = m.group(1); StringTokenizer filtToks = new StringTokenizer(thisToken, filterCondition); if (filtToks.countTokens() == 2) { filterName = filtToks.nextToken(); whereFilterName = false; String valTok = filtToks.nextToken(); whereFilterVal = true; if (valTok.startsWith(QUOTE) || valTok.startsWith(QUOTEESCSTART)) { if (valTok.startsWith(QUOTEESCSTART)) valTok = valTok.substring(2); else valTok = valTok.substring(1); inQuotedValue = true; if (valTok.endsWith(QUOTE) || valTok.endsWith(QUOTEESCEND)) { valTok = valTok.substring(0, valTok.length() - 1); query = addBasicFilter(query, thisDatasetConfig, filterName, filterCondition, valTok); validQuery = true; inQuotedValue = false; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; } else filterValue.append(valTok); } else { query = addBasicFilter(query, thisDatasetConfig, filterName, filterCondition, valTok); validQuery = true; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; } } else { filterName = filtToks.nextToken(); whereFilterName = false; whereFilterCond = false; whereFilterVal = true; } } else { filterName = thisToken; whereFilterName = false; whereFilterCond = true; whereFilterVal = false; } } else if (whereFilterCond) { if (BOOLEANQUALIFIERS.contains(thisToken)) { query = addBooleanFilter(query, thisDatasetConfig, filterName, thisToken); validQuery = true; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; } else if (thisToken.matches("([>=<]+)([^>=<]+)")) { Pattern p = Pattern.compile("([>=<]+)([^>=<]+)"); Matcher m = p.matcher(thisToken); m.find(); filterCondition = m.group(1); whereFilterCond = false; if (!ALLQUALIFIERS.contains(filterCondition)) throw new InvalidQueryException( "Recieved invalid FilterCondition " + filterCondition + " in " + newquery + "\n"); String valTok = m.group(2); whereFilterVal = true; if (valTok.startsWith(QUOTE) || valTok.startsWith(QUOTEESCSTART)) { if (valTok.startsWith(QUOTEESCSTART)) valTok = valTok.substring(2); else valTok = valTok.substring(1); inQuotedValue = true; if (valTok.endsWith(QUOTE) || valTok.endsWith(QUOTEESCEND)) { valTok = valTok.substring(0, valTok.length() - 1); query = addBasicFilter(query, thisDatasetConfig, filterName, filterCondition, valTok); validQuery = true; inQuotedValue = false; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; } else filterValue.append(valTok); } else { query = addBasicFilter(query, thisDatasetConfig, filterName, filterCondition, valTok); validQuery = true; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; } } else { filterCondition = thisToken; if (!ALLQUALIFIERS.contains(filterCondition)) throw new InvalidQueryException( "Recieved invalid FilterCondition " + filterCondition + " in " + newquery + "\n"); whereFilterCond = false; whereFilterVal = true; } } else if (whereFilterVal) { if (thisToken.startsWith(QUOTE) || thisToken.startsWith(QUOTEESCSTART)) { String tok = null; if (thisToken.startsWith(QUOTEESCSTART)) tok = thisToken.substring(2); else tok = thisToken.substring(1); inQuotedValue = true; if (thisToken.endsWith(QUOTE) || thisToken.endsWith(QUOTEESCEND)) { tok = tok.substring(0, tok.length() - 1); query = addBasicFilter(query, thisDatasetConfig, filterName, filterCondition, tok); validQuery = true; inQuotedValue = false; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; } else filterValue.append(tok); } else if (inQuotedValue) { if (thisToken.endsWith(QUOTE) || thisToken.endsWith(QUOTEESCEND)) { filterValue.append(" ").append(thisToken.substring(0, thisToken.length() - 1)); query = addBasicFilter(query, thisDatasetConfig, filterName, filterCondition, filterValue.toString()); validQuery = true; inQuotedValue = false; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; } else filterValue.append(" ").append(thisToken); } else if (thisToken.equals(LSTART)) { inList = true; } else if (thisToken.startsWith(LSTART)) { inList = true; String tmp = thisToken.substring(1); if (tmp.indexOf(LEND) > 0) { inList = false; tmp = tmp.substring(0, tmp.indexOf(LEND)); StringTokenizer toks = new StringTokenizer(tmp, ","); while (toks.hasMoreTokens()) listFilterValues.add(toks.nextToken().trim()); query = addListFilter(query, thisDatasetConfig, filterName, listFilterValues); validQuery = true; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; listFilterValues = new ArrayList(); } else { if (tmp.indexOf(",") >= 0) { StringTokenizer toks = new StringTokenizer(tmp, ","); while (toks.hasMoreTokens()) listFilterValues.add(toks.nextToken().trim()); } else { listFilterValues.add(tmp); } } } else if (inList) { if (thisToken.indexOf(LEND) >= 0) { inList = false; String tmp = thisToken.substring(0, thisToken.indexOf(LEND)); if (tmp.length() > 0) { StringTokenizer toks = new StringTokenizer(tmp, ","); while (toks.hasMoreTokens()) listFilterValues.add(toks.nextToken().trim()); } query = addListFilter(query, thisDatasetConfig, filterName, listFilterValues); validQuery = true; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; listFilterValues = new ArrayList(); } else { StringTokenizer toks = new StringTokenizer(thisToken, ","); while (toks.hasMoreTokens()) listFilterValues.add(toks.nextToken().trim()); } } else if (thisToken.indexOf(LSTART) > 0) { if (thisToken.endsWith(LEND)) { // storedCommand with bindValues, no whitespaces query = addListFilter(query, thisDatasetConfig, filterName, thisToken); validQuery = true; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; inBind = false; storedCommand = new StringBuffer(); } else { //append to storedCommand inBind = true; if (storedCommand.length() > 0) storedCommand.append(" "); storedCommand.append(thisToken); } } else if (inBind) { if (thisToken.endsWith(LEND)) { // add storedCommand query = addListFilter( query, thisDatasetConfig, filterName, storedCommand.append(" ").append(thisToken).toString()); validQuery = true; filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; inBind = false; storedCommand = new StringBuffer(); } else { //append to storedCommand if (storedCommand.length() > 0) storedCommand.append(" "); storedCommand.append(thisToken); } } else { if (filterCondition.equalsIgnoreCase("in")) { if (thisToken.indexOf(":") >= 0) { //url try { query = addListFilter(query, thisDatasetConfig, filterName, new URL(thisToken)); validQuery = true; } catch (Exception e) { throw new InvalidQueryException( "Error adding url filter " + filterName + " " + thisToken + " " + e.getMessage(), e); } } else if (storedCommands.containsKey(thisToken)) { //storedCommand without bindvalues query = addListFilter(query, thisDatasetConfig, filterName, thisToken); validQuery = true; } else { //file query = addListFilter(query, thisDatasetConfig, filterName, new File(thisToken)); validQuery = true; } } else { query = addBasicFilter(query, thisDatasetConfig, filterName, filterCondition, thisToken); validQuery = true; } filterValue = new StringBuffer(); filterName = null; filterCondition = null; whereFilterName = false; whereFilterCond = false; whereFilterVal = false; } } else throw new InvalidQueryException( "Invalid Query Recieved, invalid filter statement in where clause: " + newquery + "\n"); } else if (sortClause) { if (thisToken.equalsIgnoreCase(GETQSTART) || thisToken.equalsIgnoreCase(USINGQSTART)) throw new InvalidQueryException( "Invalid Query Recieved, " + GETQSTART + " clause in limit clause: " + newquery + "\n"); else if (domainSpecificHandlerAvailable(thisToken)) throw new InvalidQueryException( "Invalid Query Recieved, domain specific clause in limit clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QWHERE)) throw new InvalidQueryException("Invalid Query Recieved, where clause in limit clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QLIMIT)) { if (!validQuery) throw new InvalidQueryException( "Recieved invalid Query " + newquery + "\ncheck for an incomplete Domain Specific Request\n"); validQuery = false; sortClause = false; limitClause = true; } else { if (thisToken.endsWith(",")) { if (logger.isLoggable(Level.FINE)) logger.fine(thisToken + " Comma, setting validQuery to false\n"); thisToken = thisToken.substring(0, thisToken.length() - 1); validQuery = false; } else { if (logger.isLoggable(Level.FINE)) logger.fine(thisToken + " Not comma, setting validQuery to true\n"); validQuery = true; } StringTokenizer attToks = new StringTokenizer(thisToken, ","); while (attToks.hasMoreTokens()) query = addSortAttribute(query, thisDatasetConfig, attToks.nextToken().trim()); validQuery = true; } } else if (limitClause) { if (thisToken.equalsIgnoreCase(GETQSTART) || thisToken.equalsIgnoreCase(USINGQSTART)) throw new InvalidQueryException( "Invalid Query Recieved, " + GETQSTART + " clause in limit clause: " + newquery + "\n"); else if (domainSpecificHandlerAvailable(thisToken)) throw new InvalidQueryException( "Invalid Query Recieved, domain specific clause in limit clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QWHERE)) throw new InvalidQueryException("Invalid Query Recieved, where clause in limit clause: " + newquery + "\n"); else if (thisToken.equalsIgnoreCase(QSORT)) throw new InvalidQueryException("Invalid Query Recieved, sortBy clause in limit clause: " + newquery + "\n"); else { if (query.getLimit() > 0) throw new InvalidQueryException("Invalid Query Recieved, attempt to set limit twice: " + newquery + "\n"); else { query.setLimit(Integer.parseInt(thisToken)); validQuery = true; } } } // else not needed, as these are the only states present } if (!validQuery) throw new InvalidQueryException( "Recieved invalid query " + newquery + "\ncheck for dangling commas between attributes, an incomplete domain specific request, a dangling filter delimeter " + FILTERDELIMITER + " between filter requests,\nor an incomplete limit request\n"); if (query.getAttributes().length == 0 && query.getSequenceDescription() == null) throw new InvalidQueryException( "Invalid Query Recieved, no attributes or sequence description found " + newquery + "\n"); //GenericHandler requires the query to have a DatasetConfig query.setDatasetConfig(thisDatasetConfig); return query; } catch (NumberFormatException e) { throw new InvalidQueryException("Recieved NumberFormatException parsing MQL " + e.getMessage(), e); } catch (InvalidQueryException e) { throw e; } }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/429db19aeeae89bd7526c94f9bfcb74a3f3f9caa/MartShellLib.java/clean/src/java/org/ensembl/mart/shell/MartShellLib.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 2770, 490, 2024, 869, 1138, 12, 780, 394, 2271, 13, 1216, 1962, 1138, 503, 288, 565, 775, 288, 1377, 368, 6208, 490, 485, 799, 17754, 1547, 26372, 919, 16, 309, 1281, 18, 8080, 30568, 326, 1300, 434, 10778, 809, 2184, 15770, 316, 3778, 1377, 1450, 2042, 10656, 273, 629, 31, 1377, 1191, 10656, 273, 446, 31, 1377, 1250, 787, 273, 638, 31, 1377, 1250, 13674, 1579, 273, 629, 31, 1377, 1250, 1450, 7044, 273, 629, 31, 1377, 1250, 2461, 9969, 7044, 273, 629, 31, 1377, 1250, 30300, 273, 629, 31, 1377, 1250, 1800, 7044, 273, 629, 31, 1377, 1250, 1524, 7044, 273, 629, 31, 1377, 1250, 316, 682, 273, 629, 31, 1377, 1250, 316, 3357, 273, 629, 31, 1377, 1250, 316, 15919, 620, 273, 629, 31, 1377, 1250, 1625, 1586, 461, 273, 629, 31, 1377, 1250, 1625, 1586, 12441, 273, 629, 31, 1377, 1250, 1625, 1586, 3053, 273, 629, 31, 1377, 1250, 923, 1138, 273, 629, 31, 1377, 10778, 809, 333, 10656, 809, 273, 446, 31, 1377, 309, 261, 4901, 18, 291, 1343, 8455, 12, 2355, 18, 42, 3740, 3719, 3639, 1194, 18, 74, 558, 2932, 5650, 1385, 2155, 2770, 315, 397, 394, 2271, 397, 1548, 82, 8863, 1377, 2770, 843, 273, 394, 2770, 5621, 1377, 783, 42, 2433, 273, 446, 31, 1377, 783, 1294, 410, 273, 446, 31, 1377, 15687, 273, 394, 2407, 5621, 1377, 18553, 1557, 273, 394, 2407, 5621, 1377, 943, 24093, 273, 394, 18559, 5621, 1377, 514, 25469, 273, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 2770, 490, 2024, 869, 1138, 12, 780, 394, 2271, 13, 1216, 1962, 1138, 503, 288, 565, 775, 288, 1377, 368, 6208, 490, 485, 799, 17754, 1547, 26372, 919, 16, 309, 1281, 18, 8080, 30568, 326, 1300, 434, 10778, 809, 2184, 15770, 316, 3778, 1377, 1450, 2042, 10656, 273, 629, 31, 1377, 1191, 10656, 273, 446, 31, 1377, 1250, 787, 273, 638, 31, 1377, 1250, 13674, 1579, 273, 629, 31, 1377, 1250, 1450, 7044, 273, 629, 31, 1377, 1250, 2461, 9969, 7044, 273, 629, 31, 1377, 1250, 30300, 273, 629, 31, 1377, 1250, 1800, 7044, 273, 629, 31, 1377, 1250, 1524, 7044, 273, 629, 31, 1377, 1250, 316, 682, 273, 629, 31, 1377, 1250, 316, 3357, 273, 2 ]
jResizeToWidth.setText("" + album.getResizeDimension().width); jResizeToHeight.setText("" + album.getResizeDimension().height);
UploadPanel.setupComboValue(album.getResizeDimension(), jResizeTo); ignoreNextComboBoxChanged = true;
public void setAlbum(Album album) { boolean oldIgnoreItemChanges = ignoreItemChanges; ignoreItemChanges = true; this.album = album; if (album == null) { /*setActive(jName, false); setActive(jTitle, false); setActive(jSummary, false);*/ jName.setText(""); jTitle.setText(""); jSummary.setText(""); jPictures.setText(""); setEnabledInternal(false); } else { setEnabledInternal(true); //setActive(jName, true); jName.setText(album.getName()); //setActive(jTitle, true); jTitle.setText(album.getTitle()); //setActive(jSummary, true); jSummary.setText(album.getSummary()); jPictures.setText("" + album.getSize()); jResizeBeforeUpload.setSelected(album.getResize()); jResizeToDefault.setSelected(album.getResizeDefault()); jResizeToForce.setSelected(!album.getResizeDefault()); jResizeToWidth.setText("" + album.getResizeDimension().width); jResizeToHeight.setText("" + album.getResizeDimension().height); jBeginning.setSelected(album.getAddToBeginning()); jFetch.setEnabled(album.getGallery().getComm(mf.jStatusBar).hasCapability(mf.jStatusBar, GalleryCommCapabilities.CAPA_FETCH_ALBUM_IMAGES)); jMove.setEnabled(album.getGallery().getComm(mf.jStatusBar).hasCapability(mf.jStatusBar, GalleryCommCapabilities.CAPA_MOVE_ALBUM)); jSlideshow.setEnabled(album.getSize() > 0); } // todo: protocol support jApply.setEnabled(false); jName.setEditable(false); jName.setBackground(UIManager.getColor("TextField.inactiveBackground")); jTitle.setEditable(false); jTitle.setBackground(UIManager.getColor("TextField.inactiveBackground")); jSummary.setEditable(false); jSummary.setBackground(UIManager.getColor("TextField.inactiveBackground")); jPictures.setEditable(false); jPictures.setBackground(UIManager.getColor("TextField.inactiveBackground")); resetUIState(); ignoreItemChanges = oldIgnoreItemChanges; }
5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/8693749ef266312f12ec8150a87446e302732ad0/AlbumInspector.java/clean/gallery_remote/com/gallery/GalleryRemote/AlbumInspector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 30330, 12, 30330, 14844, 13, 288, 202, 202, 6494, 1592, 3777, 1180, 7173, 273, 2305, 1180, 7173, 31, 202, 202, 6185, 1180, 7173, 273, 638, 31, 202, 202, 2211, 18, 25090, 273, 14844, 31, 202, 202, 430, 261, 25090, 422, 446, 13, 288, 1082, 202, 20308, 542, 3896, 12, 78, 461, 16, 629, 1769, 1082, 202, 542, 3896, 12, 78, 4247, 16, 629, 1769, 1082, 202, 542, 3896, 12, 78, 4733, 16, 629, 1769, 5549, 1082, 202, 78, 461, 18, 542, 1528, 2932, 8863, 1082, 202, 78, 4247, 18, 542, 1528, 2932, 8863, 1082, 202, 78, 4733, 18, 542, 1528, 2932, 8863, 1082, 202, 78, 52, 28636, 18, 542, 1528, 2932, 8863, 1082, 202, 542, 1526, 3061, 12, 5743, 1769, 202, 202, 97, 469, 288, 1082, 202, 542, 1526, 3061, 12, 3767, 1769, 1082, 202, 759, 542, 3896, 12, 78, 461, 16, 638, 1769, 1082, 202, 78, 461, 18, 542, 1528, 12, 25090, 18, 17994, 10663, 1082, 202, 759, 542, 3896, 12, 78, 4247, 16, 638, 1769, 1082, 202, 78, 4247, 18, 542, 1528, 12, 25090, 18, 588, 4247, 10663, 1082, 202, 759, 542, 3896, 12, 78, 4733, 16, 638, 1769, 1082, 202, 78, 4733, 18, 542, 1528, 12, 25090, 18, 588, 4733, 10663, 1082, 202, 78, 52, 28636, 18, 542, 1528, 2932, 6, 397, 14844, 18, 588, 1225, 10663, 1082, 202, 78, 12182, 4649, 4777, 18, 542, 7416, 12, 25090, 18, 588, 12182, 10663, 1082, 202, 78, 12182, 774, 1868, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 30330, 12, 30330, 14844, 13, 288, 202, 202, 6494, 1592, 3777, 1180, 7173, 273, 2305, 1180, 7173, 31, 202, 202, 6185, 1180, 7173, 273, 638, 31, 202, 202, 2211, 18, 25090, 273, 14844, 31, 202, 202, 430, 261, 25090, 422, 446, 13, 288, 1082, 202, 20308, 542, 3896, 12, 78, 461, 16, 629, 1769, 1082, 202, 542, 3896, 12, 78, 4247, 16, 629, 1769, 1082, 202, 542, 3896, 12, 78, 4733, 16, 629, 1769, 5549, 1082, 202, 78, 461, 18, 542, 1528, 2932, 8863, 1082, 202, 78, 4247, 18, 542, 1528, 2932, 8863, 1082, 202, 78, 4733, 18, 542, 1528, 2932, 8863, 1082, 202, 78, 52, 28636, 18, 542, 1528, 2932, 8863, 1082, 202, 2 ]
selectedList.add( (String) iter.next( ) );
String value = (String) iter.next( ); if ( value != null ) { selectedList.add( value ); }
protected boolean initDialog( ) { try { engine = DataEngine.newDataEngine( DataEngineContext.newInstance( DataEngineContext.DIRECT_PRESENTATION, null, null, null ) ); } catch ( BirtException e ) { ExceptionHandler.handle( e ); return false; } dataSetChooser.setItems( ChoiceSetFactory.getDataSets( ) ); dataSetChooser.select( 0 ); currentDataSetName = dataSetChooser.getText( ); selectedList.removeAll( ); for ( Iterator iter = choiceList.iterator( ); iter.hasNext( ); ) { selectedList.add( (String) iter.next( ) ); } refreshColumns( ); return true; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/d03b654709f0682a3c4485d4b256727eba058726/ImportValueDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/ImportValueDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1208, 6353, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 8944, 273, 1910, 4410, 18, 2704, 751, 4410, 12, 1910, 4410, 1042, 18, 2704, 1442, 12, 1910, 4410, 1042, 18, 17541, 67, 3670, 17418, 2689, 16, 6862, 202, 2011, 16, 6862, 202, 2011, 16, 6862, 202, 2011, 262, 11272, 202, 202, 97, 202, 202, 14683, 261, 605, 2714, 503, 425, 262, 202, 202, 95, 1082, 202, 18894, 18, 4110, 12, 425, 11272, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 892, 694, 17324, 18, 542, 3126, 12, 16432, 694, 1733, 18, 588, 751, 2785, 12, 262, 11272, 202, 202, 892, 694, 17324, 18, 4025, 12, 374, 11272, 202, 202, 2972, 751, 11924, 273, 14837, 17324, 18, 588, 1528, 12, 11272, 202, 202, 8109, 682, 18, 4479, 1595, 12, 11272, 202, 202, 1884, 261, 4498, 1400, 273, 6023, 682, 18, 9838, 12, 11272, 1400, 18, 5332, 2134, 12, 11272, 262, 202, 202, 95, 1082, 202, 8109, 682, 18, 1289, 12, 261, 780, 13, 1400, 18, 4285, 12, 262, 11272, 202, 202, 97, 202, 202, 9144, 3380, 12, 11272, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1208, 6353, 12, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 8944, 273, 1910, 4410, 18, 2704, 751, 4410, 12, 1910, 4410, 1042, 18, 2704, 1442, 12, 1910, 4410, 1042, 18, 17541, 67, 3670, 17418, 2689, 16, 6862, 202, 2011, 16, 6862, 202, 2011, 16, 6862, 202, 2011, 262, 11272, 202, 202, 97, 202, 202, 14683, 261, 605, 2714, 503, 425, 262, 202, 202, 95, 1082, 202, 18894, 18, 4110, 12, 425, 11272, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 892, 694, 17324, 18, 542, 3126, 12, 16432, 694, 1733, 18, 588, 751, 2785, 12, 262, 11272, 202, 202, 892, 694, 17324, 18, 4025, 12, 374, 11272, 202, 202, 2 ]
} catch (AccessControlException accessEx) {
} catch (AccessControlException accessEx) {
public void init(List additionalDirectories) { for (Iterator iter = additionalDirectories.iterator(); iter.hasNext();) { addPath((String) iter.next()); } // wrap in try/catch for security exceptions in an applet try { if (runtime.getSafeLevel() == 0) { String jrubyLib = System.getProperty("jruby.lib"); if (jrubyLib != null) { addPath(jrubyLib); } } String jrubyHome = System.getProperty("jruby.home"); if (jrubyHome != null) { char sep = '/'; String rubyDir = jrubyHome + sep + "lib" + sep + "ruby" + sep; addPath(rubyDir + "site_ruby" + sep + Constants.RUBY_MAJOR_VERSION); addPath(rubyDir + "site_ruby" + sep + Constants.RUBY_MAJOR_VERSION + sep + "java"); addPath(rubyDir + "site_ruby"); addPath(rubyDir + Constants.RUBY_MAJOR_VERSION); addPath(rubyDir + Constants.RUBY_MAJOR_VERSION + sep + "java"); // Added to make sure we find default distribution files within jar file. // TODO: Either make jrubyHome become the jar file or allow "classpath-only" paths addPath("lib" + sep + "ruby" + sep + Constants.RUBY_MAJOR_VERSION); } } catch (AccessControlException accessEx) { // ignore, we're in an applet and can't access filesystem anyway } if (runtime.getSafeLevel() == 0) { addPath("."); } }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/fe11f82bc6236dc6746a228a50d4bac6d467618e/LoadService.java/buggy/src/org/jruby/runtime/load/LoadService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 682, 3312, 13071, 13, 288, 1377, 364, 261, 3198, 1400, 273, 3312, 13071, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 3639, 25505, 12443, 780, 13, 1400, 18, 4285, 10663, 1377, 289, 5411, 368, 2193, 316, 775, 19, 14683, 364, 4373, 4798, 316, 392, 21853, 1377, 775, 288, 1850, 309, 261, 9448, 18, 588, 9890, 2355, 1435, 422, 374, 13, 288, 2868, 514, 525, 27768, 5664, 273, 2332, 18, 588, 1396, 2932, 78, 27768, 18, 2941, 8863, 2868, 309, 261, 78, 27768, 5664, 480, 446, 13, 288, 5375, 25505, 12, 78, 27768, 5664, 1769, 2868, 289, 1850, 289, 10792, 514, 525, 27768, 8684, 273, 2332, 18, 588, 1396, 2932, 78, 27768, 18, 8712, 8863, 1850, 309, 261, 78, 27768, 8684, 480, 446, 13, 288, 2868, 1149, 5478, 273, 2023, 31, 2868, 514, 22155, 1621, 273, 525, 27768, 8684, 397, 5478, 397, 315, 2941, 6, 397, 5478, 397, 315, 27768, 6, 397, 5478, 31, 18701, 25505, 12, 27768, 1621, 397, 315, 4256, 67, 27768, 6, 397, 5478, 397, 5245, 18, 54, 3457, 61, 67, 26976, 916, 67, 5757, 1769, 2868, 25505, 12, 27768, 1621, 397, 315, 4256, 67, 27768, 6, 397, 5478, 397, 5245, 18, 54, 3457, 61, 67, 26976, 916, 67, 5757, 397, 5478, 397, 315, 6290, 8863, 2868, 25505, 12, 27768, 1621, 397, 315, 4256, 67, 27768, 8863, 2868, 25505, 12, 27768, 1621, 397, 5245, 18, 54, 3457, 61, 67, 26976, 916, 67, 5757, 1769, 2868, 25505, 12, 27768, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 682, 3312, 13071, 13, 288, 1377, 364, 261, 3198, 1400, 273, 3312, 13071, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 3639, 25505, 12443, 780, 13, 1400, 18, 4285, 10663, 1377, 289, 5411, 368, 2193, 316, 775, 19, 14683, 364, 4373, 4798, 316, 392, 21853, 1377, 775, 288, 1850, 309, 261, 9448, 18, 588, 9890, 2355, 1435, 422, 374, 13, 288, 2868, 514, 525, 27768, 5664, 273, 2332, 18, 588, 1396, 2932, 78, 27768, 18, 2941, 8863, 2868, 309, 261, 78, 27768, 5664, 480, 446, 13, 288, 5375, 25505, 12, 78, 27768, 5664, 1769, 2868, 289, 1850, 289, 10792, 514, 525, 27768, 8684, 273, 2332, 18, 588, 1396, 2932, 78, 27768, 18, 2 ]
System.out.println(new DF(args[0]));
String path = "."; if( args.length > 0 ) path = args[0]; System.out.println(new DF(path, DF_INTERVAL_DEFAULT).toString());
public static void main(String[] args) throws Exception { System.out.println(new DF(args[0])); }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/fa8ed1c0ee625b2f259787749309594d6792971c/DF.java/buggy/src/java/org/apache/hadoop/fs/DF.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 565, 514, 589, 273, 4585, 31, 309, 12, 833, 18, 2469, 405, 374, 262, 589, 273, 833, 63, 20, 15533, 225, 2332, 18, 659, 18, 8222, 12, 2704, 463, 42, 12, 803, 16, 463, 42, 67, 16435, 67, 5280, 2934, 10492, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 565, 514, 589, 273, 4585, 31, 309, 12, 833, 18, 2469, 405, 374, 262, 589, 273, 833, 63, 20, 15533, 225, 2332, 18, 659, 18, 8222, 12, 2704, 463, 42, 12, 803, 16, 463, 42, 67, 16435, 67, 5280, 2934, 10492, 10663, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try { return fWorkbench.openWorkbenchWindow( EmptyPerspective.PERSP_ID, ResourcesPlugin.getWorkspace()); } catch (WorkbenchException e) { fail(); return null; }
return openTestWindow(EmptyPerspective.PERSP_ID);
public IWorkbenchWindow openTestWindow() { try { return fWorkbench.openWorkbenchWindow( EmptyPerspective.PERSP_ID, ResourcesPlugin.getWorkspace()); } catch (WorkbenchException e) { fail(); return null; } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/b565812824d815d6f6fdf48f477f3fdef604b118/UITestCase.java/buggy/tests/org.eclipse.ui.tests/UI Test Utils/org/eclipse/ui/tests/util/UITestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2421, 22144, 3829, 1696, 4709, 3829, 1435, 288, 202, 202, 698, 288, 1082, 202, 2463, 4697, 202, 74, 2421, 22144, 18, 3190, 2421, 22144, 3829, 12, 6862, 202, 1921, 14781, 16772, 18, 3194, 3118, 67, 734, 16, 6862, 202, 3805, 3773, 18, 588, 8241, 10663, 202, 202, 97, 1044, 261, 2421, 22144, 503, 425, 13, 288, 1082, 202, 6870, 5621, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2421, 22144, 3829, 1696, 4709, 3829, 1435, 288, 202, 202, 698, 288, 1082, 202, 2463, 4697, 202, 74, 2421, 22144, 18, 3190, 2421, 22144, 3829, 12, 6862, 202, 1921, 14781, 16772, 18, 3194, 3118, 67, 734, 16, 6862, 202, 3805, 3773, 18, 588, 8241, 10663, 202, 202, 97, 1044, 261, 2421, 22144, 503, 425, 13, 288, 1082, 202, 6870, 5621, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void parseSamples() throws IOException, UnsupportedChromatogramFormatException {
protected void parseSamples() throws IOException, UnsupportedChromatogramFormatException {
protected void parseSamples() throws IOException, UnsupportedChromatogramFormatException { skipTo(header.samples_offset); // load values from file int count = (int)header.samples; int[][] trace = new int[4][count]; int[] maxVal = new int[] { Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE }; for (int n = 0 ; n < 4 ; n++) readSamplesInto(trace[n]); // stored values are delta-delta values; reprocess into actual values // algorithm cribbed from io_lib's delta_samples function in misc_scf.c int[] p_sample1 = new int[] { 0, 0, 0, 0 }; int[] p_sample2 = new int[] { 0, 0, 0, 0 }; for (int n = 0 ; n < 4 ; n++) { for (int i = 1 ; i < trace[n].length ; i++) { p_sample1[n] += trace[n][i]; trace[n][i] = p_sample1[n] + p_sample2[n]; p_sample2[n] = trace[n][i]; maxVal[n] = Math.max(maxVal[n], trace[n][i]); } } // set into output SCF chromat object try { out.setTrace(DNATools.a(), trace[0], maxVal[0]); out.setTrace(DNATools.c(), trace[1], maxVal[1]); out.setTrace(DNATools.g(), trace[2], maxVal[2]); out.setTrace(DNATools.t(), trace[3], maxVal[3]); } catch (IllegalSymbolException ise) { throw new BioError("Can't happen", ise); } }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/eb6d8b74a887e2fafe71e2381fbc7ea25ca32c73/SCF.java/buggy/src/org/biojava/bio/program/scf/SCF.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 1109, 13239, 1435, 1216, 1860, 16, 7221, 30761, 270, 5553, 9291, 288, 5411, 2488, 774, 12, 3374, 18, 7319, 67, 3348, 1769, 5411, 368, 1262, 924, 628, 585, 5411, 509, 1056, 273, 261, 474, 13, 3374, 18, 7319, 31, 5411, 509, 63, 6362, 65, 2606, 273, 394, 509, 63, 24, 6362, 1883, 15533, 5411, 509, 8526, 943, 3053, 273, 394, 509, 8526, 288, 2144, 18, 6236, 67, 4051, 16, 2144, 18, 6236, 67, 4051, 16, 4766, 4202, 2144, 18, 6236, 67, 4051, 16, 2144, 18, 6236, 67, 4051, 289, 31, 5411, 364, 261, 474, 290, 273, 374, 274, 290, 411, 1059, 274, 290, 27245, 7734, 855, 13239, 5952, 12, 5129, 63, 82, 19226, 5411, 368, 4041, 924, 854, 3622, 17, 9878, 924, 31, 283, 2567, 1368, 3214, 924, 5411, 368, 4886, 276, 1533, 2992, 628, 2527, 67, 2941, 1807, 3622, 67, 7319, 445, 316, 20448, 67, 1017, 74, 18, 71, 5411, 509, 8526, 293, 67, 6358, 21, 273, 394, 509, 8526, 288, 374, 16, 374, 16, 374, 16, 374, 289, 31, 5411, 509, 8526, 293, 67, 6358, 22, 273, 394, 509, 8526, 288, 374, 16, 374, 16, 374, 16, 374, 289, 31, 5411, 364, 261, 474, 290, 273, 374, 274, 290, 411, 1059, 274, 290, 27245, 288, 7734, 364, 261, 474, 277, 273, 404, 274, 277, 411, 2606, 63, 82, 8009, 2469, 274, 277, 27245, 288, 10792, 293, 67, 6358, 21, 63, 82, 65, 1011, 2606, 63, 82, 6362, 77, 15533, 10792, 2606, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 1109, 13239, 1435, 1216, 1860, 16, 7221, 30761, 270, 5553, 9291, 288, 5411, 2488, 774, 12, 3374, 18, 7319, 67, 3348, 1769, 5411, 368, 1262, 924, 628, 585, 5411, 509, 1056, 273, 261, 474, 13, 3374, 18, 7319, 31, 5411, 509, 63, 6362, 65, 2606, 273, 394, 509, 63, 24, 6362, 1883, 15533, 5411, 509, 8526, 943, 3053, 273, 394, 509, 8526, 288, 2144, 18, 6236, 67, 4051, 16, 2144, 18, 6236, 67, 4051, 16, 4766, 4202, 2144, 18, 6236, 67, 4051, 16, 2144, 18, 6236, 67, 4051, 289, 31, 5411, 364, 261, 474, 290, 273, 374, 274, 290, 411, 1059, 274, 290, 27245, 7734, 855, 13239, 5952, 12, 5129, 63, 82, 19226, 5411, 368, 4041, 2 ]
public void valueChanged (ListSelectionEvent event) { if (programGroup == null) { return; } String value = ""; try { value = (String)groupList.getSelectedValue (); } catch (ClassCastException exception) {} if (value == null) { value = ""; } programGroup.setText( value + File.separator + suggestedProgramGroup ); }
28044 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28044/df53b17757bee3d8fd6a9cb585cb425bb91e3213/ShortcutPanel.java/clean/src/lib/com/izforge/izpack/panels/ShortcutPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 460, 5033, 261, 682, 6233, 1133, 871, 13, 225, 288, 565, 309, 261, 12890, 1114, 422, 225, 446, 13, 565, 288, 1377, 327, 31, 565, 289, 3639, 514, 460, 273, 1408, 31, 565, 775, 565, 288, 1377, 460, 273, 261, 780, 13, 1655, 682, 18, 588, 7416, 620, 261, 1769, 565, 289, 565, 1044, 261, 797, 22768, 1520, 13, 2618, 3639, 309, 261, 1132, 422, 446, 13, 565, 288, 1377, 460, 273, 1408, 31, 565, 289, 3639, 5402, 1114, 18, 542, 1528, 12, 460, 397, 1387, 18, 11287, 397, 22168, 9459, 1114, 11272, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 460, 5033, 261, 682, 6233, 1133, 871, 13, 225, 288, 565, 309, 261, 12890, 1114, 422, 225, 446, 13, 565, 288, 1377, 327, 31, 565, 289, 3639, 514, 460, 273, 1408, 31, 565, 775, 565, 288, 1377, 460, 273, 261, 780, 13, 1655, 682, 18, 588, 7416, 620, 261, 1769, 565, 289, 565, 1044, 261, 797, 22768, 1520, 13, 2618, 3639, 309, 261, 1132, 422, 446, 13, 565, 288, 1377, 460, 273, 1408, 31, 565, 289, 3639, 5402, 1114, 18, 542, 1528, 12, 460, 397, 1387, 18, 11287, 397, 22168, 9459, 1114, 11272, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void addOs(Os o) {conditions.addElement(o);}
public void addOs(Os o) { conditions.addElement(o); }
public void addOs(Os o) {conditions.addElement(o);}
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/60f48875263c0b85f9eab0d94454e3ce3efce5c2/ConditionBase.java/clean/src/main/org/apache/tools/ant/taskdefs/condition/ConditionBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 15112, 12, 15112, 320, 13, 288, 6381, 18, 1289, 1046, 12, 83, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 15112, 12, 15112, 320, 13, 288, 6381, 18, 1289, 1046, 12, 83, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
data = new GridData(GridData.FILL_BOTH); menuItemsGroup.setLayoutData(data); menuItemsGroup.setFont(font);
menuItemsGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
private Composite createMenusPage(Composite parent) { GridData data; Font font = parent.getFont(); Composite menusComposite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); menusComposite.setLayout(layout); data = new GridData(GridData.FILL_BOTH); menusComposite.setLayoutData(data); // Select... label Label label = new Label(menusComposite, SWT.WRAP); label .setText(NLS.bind(WorkbenchMessages.ActionSetSelection_selectMenusLabel, perspective.getDesc().getLabel() )); label.setFont(font); data = new GridData(); data.widthHint = TABLES_WIDTH; label.setLayoutData(data); Label sep = new Label(menusComposite, SWT.HORIZONTAL | SWT.SEPARATOR); data = new GridData(GridData.FILL_HORIZONTAL); sep.setLayoutData(data); SashForm sashComposite = new SashForm(menusComposite, SWT.HORIZONTAL); data = new GridData(GridData.FILL_BOTH); data.heightHint = TABLE_HEIGHT; data.widthHint = TABLES_WIDTH; sashComposite.setLayoutData(data); // Menus List Composite menusGroup = new Composite(sashComposite, SWT.NONE); layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; menusGroup.setLayout(layout); data = new GridData(GridData.FILL_BOTH); menusGroup.setLayoutData(data); menusGroup.setFont(font); label = new Label(menusGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_availableMenus); label.setFont(font); menusCombo = new Combo(menusGroup, SWT.READ_ONLY); menusCombo.setFont(font); GridData gridData = new GridData(GridData.FILL_HORIZONTAL); menusCombo.setLayoutData(gridData); // Categories Tree label = new Label(menusGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_availableCategories); label.setFont(font); menuCategoriesViewer = new CheckboxTreeViewer(menusGroup); data = new GridData(GridData.FILL_BOTH); menuCategoriesViewer.getControl().setLayoutData(data); menuCategoriesViewer.setLabelProvider(new LabelProvider()); menuCategoriesViewer.setContentProvider(new TreeContentProvider()); menuCategoriesViewer.setSorter(new WorkbenchViewerSorter()); // Menu items list Composite menuItemsGroup = new Composite(sashComposite, SWT.NONE); layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; menuItemsGroup.setLayout(layout); data = new GridData(GridData.FILL_BOTH); menuItemsGroup.setLayoutData(data); menuItemsGroup.setFont(font); label = new Label(menuItemsGroup, SWT.NONE); label.setText(WorkbenchMessages.ActionSetSelection_menuItems); label.setFont(font); menuItemsViewer = CheckboxTableViewer.newCheckList(menuItemsGroup, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL); data = new GridData(GridData.FILL_BOTH); Table menuTable = menuItemsViewer.getTable(); menuTable.setLayoutData(data); menuTable.setFont(font); menuItemsViewer.setLabelProvider(new ShortcutMenuItemLabelProvider()); menuItemsViewer .setContentProvider(new ShortcutMenuItemContentProvider()); menuItemsViewer.setSorter(new WorkbenchViewerSorter()); menuTable.setHeaderVisible(true); int[] columnWidths = new int[shortcutMenuColumnWidths.length]; for (int i = 0; i < shortcutMenuColumnWidths.length; i++) { columnWidths[i] = convertHorizontalDLUsToPixels(shortcutMenuColumnWidths[i]); } for (int i = 0; i < shortcutMenuColumnHeaders.length; i++) { TableColumn tc = new TableColumn(menuTable, SWT.NONE, i); tc.setResizable(true); tc.setText(shortcutMenuColumnHeaders[i]); tc.setWidth(columnWidths[i]); } sashComposite.setWeights(new int[] { 30, 70 }); return menusComposite; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/39d8acd891cda5d49cf8422de646b16709c6c856/CustomizePerspectiveDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CustomizePerspectiveDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 14728, 752, 29755, 1964, 12, 9400, 982, 13, 288, 3639, 7145, 751, 501, 31, 3639, 10063, 3512, 273, 982, 18, 588, 5711, 5621, 3639, 14728, 21374, 9400, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 3744, 3511, 273, 394, 7145, 3744, 5621, 3639, 21374, 9400, 18, 542, 3744, 12, 6741, 1769, 3639, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 21374, 9400, 18, 542, 3744, 751, 12, 892, 1769, 3639, 368, 6766, 2777, 1433, 3639, 5287, 1433, 273, 394, 5287, 12, 26065, 9400, 16, 348, 8588, 18, 27664, 1769, 3639, 1433, 7734, 263, 542, 1528, 12, 5106, 18, 4376, 12, 2421, 22144, 5058, 18, 1803, 694, 6233, 67, 4025, 29755, 2224, 16, 225, 26651, 18, 588, 4217, 7675, 588, 2224, 1435, 262, 1769, 540, 1433, 18, 542, 5711, 12, 5776, 1769, 3639, 501, 273, 394, 7145, 751, 5621, 3639, 501, 18, 2819, 7002, 273, 7567, 55, 67, 10023, 31, 3639, 1433, 18, 542, 3744, 751, 12, 892, 1769, 3639, 5287, 5478, 273, 394, 5287, 12, 26065, 9400, 16, 348, 8588, 18, 44, 20344, 571, 348, 8588, 18, 4550, 1769, 3639, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 3639, 5478, 18, 542, 3744, 751, 12, 892, 1769, 3639, 348, 961, 1204, 272, 961, 9400, 273, 394, 348, 961, 1204, 12, 26065, 9400, 16, 348, 8588, 18, 44, 20344, 1769, 3639, 501, 273, 394, 7145, 751, 12, 6313, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 14728, 752, 29755, 1964, 12, 9400, 982, 13, 288, 3639, 7145, 751, 501, 31, 3639, 10063, 3512, 273, 982, 18, 588, 5711, 5621, 3639, 14728, 21374, 9400, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 3744, 3511, 273, 394, 7145, 3744, 5621, 3639, 21374, 9400, 18, 542, 3744, 12, 6741, 1769, 3639, 501, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 38, 18307, 1769, 3639, 21374, 9400, 18, 542, 3744, 751, 12, 892, 1769, 3639, 368, 6766, 2777, 1433, 3639, 5287, 1433, 273, 394, 5287, 12, 26065, 9400, 16, 348, 8588, 18, 27664, 1769, 3639, 1433, 7734, 263, 542, 1528, 12, 5106, 18, 4376, 12, 2421, 22144, 5058, 18, 1803, 2 ]
if (kind > 114) kind = 114;
if (kind > 115) kind = 115;
static private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 82; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 32: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 5); else if (curChar == 34) jjCheckNAddStates(6, 8); else if (curChar == 39) jjAddStates(9, 10); else if (curChar == 46) jjCheckNAdd(1); if ((0x3fe000000000000L & l) != 0L) { if (kind > 118) kind = 118; jjCheckNAddStates(11, 18); } else if (curChar == 48) jjAddStates(19, 22); if (curChar == 48) { if (kind > 114) kind = 114; jjCheckNAddStates(23, 30); } break; case 0: if (curChar == 46) jjCheckNAdd(1); break; case 1: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 126) kind = 126; jjCheckNAddStates(31, 33); break; case 3: if ((0x280000000000L & l) != 0L) jjCheckNAdd(4); break; case 4: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 126) kind = 126; jjCheckNAddTwoStates(4, 5); break; case 6: if (curChar == 39) jjAddStates(9, 10); break; case 7: if ((0xffffff7fffffdbffL & l) != 0L) jjCheckNAdd(8); break; case 8: if (curChar == 39 && kind > 128) kind = 128; break; case 10: if ((0x8000008400000000L & l) != 0L) jjCheckNAdd(8); break; case 11: if (curChar == 48) jjCheckNAddTwoStates(12, 8); break; case 12: if ((0xff000000000000L & l) != 0L) jjCheckNAddTwoStates(12, 8); break; case 13: if ((0x3fe000000000000L & l) != 0L) jjCheckNAddTwoStates(14, 8); break; case 14: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(14, 8); break; case 15: if (curChar == 48) jjAddStates(34, 35); break; case 17: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(17, 8); break; case 19: if (curChar == 34) jjCheckNAddStates(6, 8); break; case 20: if ((0xfffffffbffffdbffL & l) != 0L) jjCheckNAddStates(6, 8); break; case 22: if ((0x8000008400000000L & l) != 0L) jjCheckNAddStates(6, 8); break; case 23: if (curChar == 34 && kind > 129) kind = 129; break; case 24: if (curChar == 48) jjCheckNAddStates(36, 39); break; case 25: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(36, 39); break; case 26: if ((0x3fe000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; case 27: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); break; case 28: if (curChar == 48) jjAddStates(44, 45); break; case 30: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(46, 49); break; case 33: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 131) kind = 131; jjstateSet[jjnewStateCnt++] = 33; break; case 34: if (curChar != 48) break; if (kind > 114) kind = 114; jjCheckNAddStates(23, 30); break; case 35: if ((0xff000000000000L & l) == 0L) break; if (kind > 114) kind = 114; jjCheckNAdd(35); break; case 36: if ((0xff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 38: if ((0xff000000000000L & l) != 0L) jjCheckNAddTwoStates(38, 39); break; case 40: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(50, 52); break; case 45: if ((0x3fe000000000000L & l) == 0L) break; if (kind > 118) kind = 118; jjCheckNAddStates(11, 18); break; case 46: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 118) kind = 118; jjCheckNAdd(46); break; case 47: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(47, 48); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 51: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(53, 55); break; case 56: if (curChar == 48) jjAddStates(19, 22); break; case 58: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 122) kind = 122; jjstateSet[jjnewStateCnt++] = 58; break; case 60: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 123) kind = 123; jjAddStates(56, 57); break; case 63: if ((0x3ff000000000000L & l) != 0L) jjAddStates(58, 59); break; case 66: if ((0x3ff000000000000L & l) != 0L) jjAddStates(60, 62); break; case 71: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 5); break; case 72: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(72, 73); break; case 73: if (curChar != 46) break; if (kind > 126) kind = 126; jjCheckNAddStates(63, 65); break; case 74: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 126) kind = 126; jjCheckNAddStates(63, 65); break; case 75: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(75, 0); break; case 76: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(76, 77); break; case 78: if ((0x280000000000L & l) != 0L) jjCheckNAdd(79); break; case 79: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 127) kind = 127; jjCheckNAddTwoStates(79, 80); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 32: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 131) kind = 131; jjCheckNAdd(33); } if (curChar == 76) jjAddStates(66, 67); break; case 2: if ((0x2000000020L & l) != 0L) jjAddStates(68, 69); break; case 5: if ((0x104000001040L & l) != 0L && kind > 126) kind = 126; break; case 7: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAdd(8); break; case 9: if (curChar == 92) jjAddStates(70, 73); break; case 10: if ((0x54404610000000L & l) != 0L) jjCheckNAdd(8); break; case 16: if (curChar == 120) jjCheckNAdd(17); break; case 17: if ((0x7e0000007eL & l) != 0L) jjCheckNAddTwoStates(17, 8); break; case 18: if (curChar == 88) jjCheckNAdd(17); break; case 20: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(6, 8); break; case 21: if (curChar == 92) jjAddStates(74, 77); break; case 22: if ((0x54404610000000L & l) != 0L) jjCheckNAddStates(6, 8); break; case 29: if (curChar == 120) jjCheckNAdd(30); break; case 30: if ((0x7e0000007eL & l) != 0L) jjCheckNAddStates(46, 49); break; case 31: if (curChar == 88) jjCheckNAdd(30); break; case 33: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 131) kind = 131; jjCheckNAdd(33); break; case 37: if ((0x100000001000L & l) != 0L && kind > 115) kind = 115; break; case 39: if ((0x20000000200000L & l) != 0L && kind > 116) kind = 116; break; case 41: if ((0x100000001000L & l) != 0L && kind > 117) kind = 117; break; case 42: if ((0x20000000200000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 41; break; case 43: if ((0x20000000200000L & l) != 0L && kind > 117) kind = 117; break; case 44: if ((0x100000001000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 43; break; case 48: if ((0x20100000201000L & l) != 0L && kind > 119) kind = 119; break; case 50: if ((0x20000000200000L & l) != 0L && kind > 120) kind = 120; break; case 52: if ((0x100000001000L & l) != 0L && kind > 121) kind = 121; break; case 53: if ((0x20000000200000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 52; break; case 54: if ((0x20000000200000L & l) != 0L && kind > 121) kind = 121; break; case 55: if ((0x100000001000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 54; break; case 57: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(58); break; case 58: if ((0x7e0000007eL & l) == 0L) break; if (kind > 122) kind = 122; jjCheckNAdd(58); break; case 59: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(60); break; case 60: if ((0x7e0000007eL & l) == 0L) break; if (kind > 123) kind = 123; jjCheckNAddTwoStates(60, 61); break; case 61: if ((0x20100000201000L & l) != 0L && kind > 123) kind = 123; break; case 62: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(63); break; case 63: if ((0x7e0000007eL & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 64: if ((0x20000000200000L & l) != 0L && kind > 124) kind = 124; break; case 65: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(66); break; case 66: if ((0x7e0000007eL & l) != 0L) jjCheckNAddStates(60, 62); break; case 67: if ((0x100000001000L & l) != 0L && kind > 125) kind = 125; break; case 68: if ((0x20000000200000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 67; break; case 69: if ((0x20000000200000L & l) != 0L && kind > 125) kind = 125; break; case 70: if ((0x100000001000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 69; break; case 77: if ((0x2000000020L & l) != 0L) jjAddStates(78, 79); break; case 80: if ((0x104000001040L & l) != 0L && kind > 127) kind = 127; break; case 81: if (curChar == 76) jjAddStates(66, 67); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec0[i2] & l2) != 0L) jjstateSet[jjnewStateCnt++] = 8; break; case 20: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(6, 8); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 82 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/380243817238f20dded6aa323a249c33dbaceae3/CPPParserTokenManager.java/clean/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 760, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 28024, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 3847, 30, 5375, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5397, 10684, 1564, 50, 986, 7629, 12, 20, 16, 1381, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 13438, 13, 5397, 10684, 1564, 50, 986, 7629, 12, 26, 16, 1725, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 16977, 13, 5397, 10684, 986, 7629, 12, 29, 16, 1728, 1769, 5375, 469, 309, 261, 1397, 2156, 422, 17077, 13, 5397, 10684, 1564, 50, 986, 12, 21, 1769, 5375, 309, 14015, 20, 92, 23, 3030, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 760, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 28024, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 2 ]
browserPane.setBorder(BorderFactory.createEmptyBorder());
private Box arrangePanels(StatusPanel statusPanel, StructurePanel structurePanel, BrowserPane browserPane, StructureCommandPanel strucommand, String structureLocation){ Box vBox = Box.createVerticalBox(); //vBox.setBackground(Color.blue); // move to submenu //this.getContentPane().add(statusPanel,BorderLayout.SOUTH); //this.getContentPane().add(statusPanel); statusPanel.setMaximumSize(new Dimension(Short.MAX_VALUE,30)); vBox.add(statusPanel); //statusPanel.setLoading(first_load); //this.getContentPane().add(seq_pos,BorderLayout.NORTH); //this.getContentPane().add(seq_pos); //vBox.add(seq_pos); //showStatus("contacting DAS registry"); /// init Structure Panel //structurePanel.setLayout(new BoxLayout(structurePanel, BoxLayout.X_AXIS)); //structurePanel.setPreferredSize(new Dimension(400, 300)); structurePanel.setMinimumSize(new Dimension(200,200)); //structurePanel.addMouseMotionListener(structurePanel); //structurePanel.addMouseListener( structurePanel); //this.add(structurePanel,BorderLayout.CENTER); DefaultListModel model = new DefaultListModel(); model.add(0,""); ent_list=new JList(model); EntListCommandListener entact = new EntListCommandListener(this); ent_list.addListSelectionListener(entact); //ent_list.setPreferredSize(new Dimension(30,30)); JScrollPane chainPanel = new JScrollPane(ent_list); chainPanel.setPreferredSize(new Dimension(30,30)); //chainPanel.setBorder(BorderFactory.createEmptyBorder()); // init dascanv //dascanv.setBackground(Color.black); // add a listener that listens to all event in the Featurepanel //SpiceFeaturePanelListener sfpl = new SpiceFeaturePanelListener(this); //dascanv.addFeatureViewListener(sfpl); //dascanv.addSelectedSeqPositionListener(sfpl); //dasPanel = new JScrollPane(browserPane); //SpiceComponentListener mcl = new SpiceComponentListener(dascanv,dasPanel); //dasPanel.addComponentListener(mcl); //dascanv.addComponentListener(new ComponentListener(){ // public void componentHidden(ComponentEvent e){} // public void componentMoved(ComponentEvent e){} // public void componentShown(ComponentEvent e){} // public void componentResized(ComponentEvent e){ // dasPanel.revalidate(); // } //} //); //dasPanel.getVerticalScrollBar().setUnitIncrement(DEFAULT_Y_SCROLL); //dasPanel.getHorizontalScrollBar().setUnitIncrement(DEFAULT_Y_SCROLL); //dasPanel.setBorder(BorderFactory.createEmptyBorder()); sharedPanel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, chainPanel, browserPane); sharedPanel.setOneTouchExpandable(true); sharedPanel.setPreferredSize(new Dimension(400, 400)); seqTextPane = new SeqTextPane(this); //seqField.setSize( 700, 30); seqTextPane.setPreferredSize(new Dimension(700, 30)); seqTextPane.setMinimumSize(new Dimension(700, 30)); seqTextPane.addMouseMotionListener(seqTextPane); seqTextPane.addMouseListener(seqTextPane); seqScrollPane = new JScrollPane(seqTextPane) ; //seqScrollPane.setBorder(BorderFactory.createEmptyBorder()); //seqScrollPane.setSize( 700, 30); //seqScrollPane.setPreferredSize(new Dimension(700, 30));; //seqScrollPane.setMinimumSize( new Dimension(700, 30));; seqSplitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, sharedPanel,seqScrollPane); seqSplitPane.setOneTouchExpandable(true); //seqSplitPane.setOpaque(true); seqSplitPane.setResizeWeight(0.7); //seqSplitPane.setBackground(Color.black); seqSplitPane.setPreferredSize(new Dimension(300,300)); seqSplitPane.setBorder(BorderFactory.createEmptyBorder()); //seqSplitPane.setDividerLocation(600); //sharedPanel.setLayout(new BoxLayout(sharedPanel, BoxLayout.X_AXIS)); //sharedPanel.add(leftPanel,BorderLayout.EAST); //sharedPanel.add(scroll,BorderLayout.WEST); //sharedPanel.add(dascanv,BorderLayout.WEST); //sharedPanel.add(daspanel,BorderLayout.WEST); //sharedPanel.setMaximumSize(new Dimension(Short.MAX_VALUE,300)); //this.add(sharedPanel,BorderLayout.SOUTH); if (structureLocation.equals("top")) mainsharedPanel = new JSplitPane(JSplitPane.VERTICAL_SPLIT, structurePanel,seqSplitPane); else if (structureLocation.equals("bottom")) mainsharedPanel = new JSplitPane(JSplitPane.VERTICAL_SPLIT, seqSplitPane,structurePanel); else if (structureLocation.equals("left")) mainsharedPanel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, structurePanel,seqSplitPane); else if (structureLocation.equals("right")) mainsharedPanel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, seqSplitPane,structurePanel); mainsharedPanel.setOneTouchExpandable(true); mainsharedPanel.setResizeWeight(0.5); //mainsharedPanel.setDividerLocation(150); mainsharedPanel.setPreferredSize(new Dimension(790, 590)); //mainsharedPanel.setOpaque(true); //mainsharedPanel.setBackground(Color.black); //mainsharedPanel.setPreferredSize(new Dimension(700,700)); //mainsharedPanel.setResizeWeight(0.7); //this.getContentPane().add(mainsharedPanel,BorderLayout.NORTH); //this.getContentPane().add(mainsharedPanel); mainsharedPanel.setBorder(BorderFactory.createEmptyBorder()); vBox.add(mainsharedPanel); strucommand.setMaximumSize(new Dimension(Short.MAX_VALUE,30)); //this.getContentPane().add(strucommand,BorderLayout.SOUTH); //this.getContentPane().add(strucommand); vBox.add(strucommand); //vBox.add(loggingPanel); return vBox; }
52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/ecb4a47453fdced2ed52496382d460000175b151/SpiceApplication.java/buggy/src/org/biojava/spice/SpiceApplication.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 8549, 2454, 726, 5537, 87, 12, 1482, 5537, 1267, 5537, 16, 5411, 13348, 5537, 3695, 5537, 16, 5411, 15408, 8485, 4748, 8485, 16, 2398, 13348, 2189, 5537, 609, 89, 3076, 16, 5411, 514, 3695, 2735, 15329, 7734, 8549, 331, 3514, 273, 8549, 18, 2640, 15704, 3514, 5621, 3639, 368, 90, 3514, 18, 542, 8199, 12, 2957, 18, 14081, 1769, 3639, 368, 3635, 358, 27539, 3639, 368, 2211, 18, 588, 1350, 8485, 7675, 1289, 12, 2327, 5537, 16, 8107, 3744, 18, 3584, 5844, 1769, 3639, 368, 2211, 18, 588, 1350, 8485, 7675, 1289, 12, 2327, 5537, 1769, 7734, 1267, 5537, 18, 542, 13528, 1225, 12, 2704, 13037, 12, 4897, 18, 6694, 67, 4051, 16, 5082, 10019, 3639, 331, 3514, 18, 1289, 12, 2327, 5537, 1769, 7734, 368, 2327, 5537, 18, 542, 10515, 12, 3645, 67, 945, 1769, 11213, 8485, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 1921, 8107, 10663, 540, 368, 2211, 18, 588, 1350, 8485, 7675, 1289, 12, 5436, 67, 917, 16, 8107, 3744, 18, 50, 28212, 1769, 3639, 368, 2211, 18, 588, 1350, 8485, 7675, 1289, 12, 5436, 67, 917, 1769, 3639, 368, 90, 3514, 18, 1289, 12, 5436, 67, 917, 1769, 7734, 368, 4500, 1482, 2932, 8994, 310, 463, 3033, 4023, 8863, 7734, 18378, 1208, 13348, 23641, 7734, 368, 7627, 5537, 18, 542, 3744, 12, 2704, 8549, 3744, 12, 7627, 5537, 16, 8549, 3744, 18, 60, 67, 25614, 10019, 3639, 368, 7627, 5537, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 16010, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 8549, 2454, 726, 5537, 87, 12, 1482, 5537, 1267, 5537, 16, 5411, 13348, 5537, 3695, 5537, 16, 5411, 15408, 8485, 4748, 8485, 16, 2398, 13348, 2189, 5537, 609, 89, 3076, 16, 5411, 514, 3695, 2735, 15329, 7734, 8549, 331, 3514, 273, 8549, 18, 2640, 15704, 3514, 5621, 3639, 368, 90, 3514, 18, 542, 8199, 12, 2957, 18, 14081, 1769, 3639, 368, 3635, 358, 27539, 3639, 368, 2211, 18, 588, 1350, 8485, 7675, 1289, 12, 2327, 5537, 16, 8107, 3744, 18, 3584, 5844, 1769, 3639, 368, 2211, 18, 588, 1350, 8485, 7675, 1289, 12, 2327, 5537, 1769, 7734, 1267, 5537, 18, 542, 13528, 1225, 12, 2704, 13037, 12, 4897, 18, 6694, 67, 4051, 16, 5082, 10019, 3639, 331, 2 ]
if(event.getChecked() == true)
if(event.getChecked() == true) {
private void createMarkerTable(Composite control) { markersTable = CheckboxTableViewer.newCheckList(control, SWT.BORDER | SWT.V_SCROLL); markersTable.setContentProvider(new IStructuredContentProvider() { /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#dispose() */ public void dispose() { } /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object) */ public Object[] getElements(Object inputElement) { IMarkerResolution selected = getSelectedResolution(); if (selected == null) return new Object[0]; if (markerMap.containsKey(selected)) return ((Collection) markerMap.get(selected)).toArray(); return new IMarker[] { originalMarker }; } /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, * java.lang.Object, java.lang.Object) */ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { } }); markersTable.setLabelProvider(new LabelProvider() { /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object) */ public String getText(Object element) { return Util.getResourceName((IMarker) element); } public Image getImage(Object element) { return Util.getImage(((IMarker) element).getAttribute( IMarker.SEVERITY, -1)); } }); markersTable.addCheckStateListener(new ICheckStateListener(){ /* (non-Javadoc) * @see org.eclipse.jface.viewers.ICheckStateListener#checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent) */ public void checkStateChanged(CheckStateChangedEvent event) { if(event.getChecked() == true) setComplete(true); else{ setComplete(markersTable.getCheckedElements().length > 0); } } }); markersTable.setInput(this); markersTable.setAllChecked(true); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/MarkerResolutionDialog.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerResolutionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 7078, 1388, 12, 9400, 3325, 13, 288, 202, 202, 22807, 1388, 273, 29213, 1388, 18415, 18, 2704, 1564, 682, 12, 7098, 16, 348, 8588, 18, 38, 7954, 9506, 202, 96, 348, 8588, 18, 58, 67, 2312, 14555, 1769, 202, 202, 22807, 1388, 18, 542, 1350, 2249, 12, 2704, 467, 30733, 1350, 2249, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1945, 414, 18, 45, 1350, 2249, 7, 2251, 4150, 1435, 9506, 1195, 1082, 202, 482, 918, 15825, 1435, 288, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1945, 414, 18, 45, 30733, 1350, 2249, 7, 588, 3471, 12, 6290, 18, 4936, 18, 921, 13, 9506, 1195, 1082, 202, 482, 1033, 8526, 8886, 12, 921, 810, 1046, 13, 288, 9506, 202, 3445, 1313, 264, 11098, 3170, 273, 16625, 11098, 5621, 9506, 202, 430, 261, 8109, 422, 446, 13, 6862, 202, 2463, 394, 1033, 63, 20, 15533, 9506, 202, 430, 261, 11145, 863, 18, 12298, 653, 12, 8109, 3719, 6862, 202, 2463, 14015, 2532, 13, 5373, 863, 18, 588, 12, 8109, 13, 2934, 31447, 5621, 9506, 202, 2463, 394, 467, 7078, 8526, 288, 2282, 7078, 289, 31, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 7078, 1388, 12, 9400, 3325, 13, 288, 202, 202, 22807, 1388, 273, 29213, 1388, 18415, 18, 2704, 1564, 682, 12, 7098, 16, 348, 8588, 18, 38, 7954, 9506, 202, 96, 348, 8588, 18, 58, 67, 2312, 14555, 1769, 202, 202, 22807, 1388, 18, 542, 1350, 2249, 12, 2704, 467, 30733, 1350, 2249, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1945, 414, 18, 45, 1350, 2249, 7, 2251, 4150, 1435, 9506, 1195, 1082, 202, 482, 918, 15825, 1435, 288, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 2 ]
cx.interpreterSecurityDomain = fnOrScript.securityDomain;
cx.interpreterSecurityDomain = ifun.securityDomain;
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, InterpretedFunction fnOrScript) { if (cx.interpreterSecurityDomain != fnOrScript.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = fnOrScript.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = fnOrScript.securityDomain; try { return fnOrScript.securityController.callWithDomain( fnOrScript.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } InterpreterData idata = fnOrScript.idata; final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int LOCAL_SHFT = idata.itsMaxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[0 <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for local temporaries// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[i] = arg; if (arg == DBL_MRK) { sDbl[i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != idata.itsMaxVars; ++i) { stack[i] = undefined; } DebugFrame debuggerFrame = null; boolean useActivationVars = false; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); useActivationVars = (debuggerFrame != null); } if (idata.itsNeedsActivation || useActivationVars) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } } if (idata.itsFunctionType != 0) { if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation || useActivationVars) { scope = ScriptRuntime.enterActivationFunction(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(fnOrScript, thisObj, cx, scope, fnOrScript.evalScriptFlag); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { initFunction(cx, scope, fnOrScript, i); } } } Scriptable[] scriptRegExps = null; if (idata.itsRegExpLiterals != null) { // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution if (idata.itsFunctionType != 0) { scriptRegExps = fnOrScript.functionRegExps; } else { scriptRegExps = fnOrScript.createRegExpWraps(cx, scope); } } if (debuggerFrame != null) { debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; int savedLineIndex = cx.interpreterLineIndex; cx.interpreterData = idata; cx.interpreterLineIndex = idata.firstLinePC; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; int pc = 0; int pcPrevBranch = 0; final boolean instructionCounting = (cx.instructionThreshold != 0); // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; String[] strings = idata.itsStringTable; String stringReg = null; int indexReg = 0; Loop: for (;;) { try { int op = iCode[pc++]; jumplessRun: { // Back indent to ease imlementation readingswitch (op) { case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); pc = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pc = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pc >= 0) { // Has catch block doCatch = true; } } if (pc < 0) { pc = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pc < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; if (instructionCounting) { // 500: catch cost cx.addInstructionCount(500); pcPrevBranch = pc; } continue Loop; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); throw new JavaScriptException(value, idata.itsSourceFile, sourceLine); } case Token.GE : case Token.LE : case Token.GT : case Token.LT : stackTop = do_cmp(stack, sDbl, stackTop, op); continue Loop; case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, cx, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, cx, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; continue Loop; } case Token.EQ : case Token.NE : stackTop = do_eq(stack, sDbl, stackTop, op); continue Loop; case Token.SHEQ : case Token.SHNE : stackTop = do_sheq(stack, sDbl, stackTop, op); continue Loop; case Token.IFNE : if (stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } break jumplessRun; case Token.IFEQ : if (!stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } break jumplessRun; case Icode_IFEQ_POP : if (!stack_boolean(stack, sDbl, stackTop--)) { pc += 2; continue Loop; } stack[stackTop--] = null; break jumplessRun; case Token.GOTO : break jumplessRun; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; break jumplessRun; case Icode_RETSUB : { // indexReg: local to store return address if (instructionCounting) { cx.addInstructionCount(pc - pcPrevBranch); } Object value = stack[LOCAL_SHFT + indexReg]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; pc = getJavaCatchPC(iCode); } else { // Normal return from GOSUB pc = (int)sDbl[LOCAL_SHFT + indexReg]; pcPrevBranch = pc; } continue Loop; } case Icode_POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_POP_RESULT : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUP2 : stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stack[stackTop + 2] = stack[stackTop]; sDbl[stackTop + 2] = sDbl[stackTop]; stackTop += 2; continue Loop; case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_RESULT : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; continue Loop; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; continue Loop; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; continue Loop; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; continue Loop; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; continue Loop; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; continue Loop; } case Token.ADD : stackTop = do_add(stack, sDbl, stackTop, cx); continue Loop; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; continue Loop; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; continue Loop; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; continue Loop; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; continue Loop; } case Token.NOT : stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(cx, scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, cx, scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); continue Loop; } case Token.GETPROP : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getObjectProp(lhs, stringReg, cx, scope); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setObjectProp(lhs, stringReg, rhs, cx, scope); continue Loop; } case Icode_PROP_INC_DEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.propIncrDecr(lhs, stringReg, scope, iCode[pc]); ++pc; continue Loop; } case Token.GETELEM : stackTop = do_getElem(stack, sDbl, stackTop, cx, scope); continue Loop; case Token.SETELEM : stackTop = do_setElem(stack, sDbl, stackTop, cx, scope); continue Loop; case Icode_ELEM_INC_DEC: { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.elemIncrDecr(lhs, rhs, cx, scope, iCode[pc]); ++pc; continue Loop; } case Token.GET_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getReference(lhs); continue Loop; } case Token.SET_REF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setReference(lhs, rhs); continue Loop; } case Token.DEL_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.deleteReference(lhs); continue Loop; } case Icode_REF_INC_DEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.referenceIncrDecr(lhs, iCode[pc]); ++pc; continue Loop; } case Token.LOCAL_SAVE : stack[LOCAL_SHFT + indexReg] = stack[stackTop]; sDbl[LOCAL_SHFT + indexReg] = sDbl[stackTop]; --stackTop; continue Loop; case Token.LOCAL_LOAD : ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + indexReg]; sDbl[stackTop] = sDbl[LOCAL_SHFT + indexReg]; continue Loop; case Icode_NAME_AND_THIS : // stringReg: name ++stackTop; stack[stackTop] = ScriptRuntime.getNameFunctionAndThis(stringReg, cx, scope); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; case Icode_PROP_AND_THIS: { Object obj = stack[stackTop]; if (obj == DBL_MRK) obj = doubleWrap(sDbl[stackTop]); // stringReg: property stack[stackTop] = ScriptRuntime.getPropFunctionAndThis(obj, stringReg, cx, scope); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_ELEM_AND_THIS: { Object obj = stack[stackTop - 1]; if (obj == DBL_MRK) obj = doubleWrap(sDbl[stackTop - 1]); Object id = stack[stackTop]; if (id == DBL_MRK) id = doubleWrap(sDbl[stackTop]); stack[stackTop - 1] = ScriptRuntime.getElemFunctionAndThis(obj, id, cx, scope); stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_VALUE_AND_THIS : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getValueFunctionAndThis(value, cx); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_CALLSPECIAL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); stackTop -= indexReg; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, indexReg); if (isNew) { Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.newSpecial( cx, function, outArgs, scope, callType); } else { // Call code generation ensure that stack here // is ... Function Scriptable Scriptable functionThis = (Scriptable)stack[stackTop]; --stackTop; Function function = (Function)stack[stackTop]; stack[stackTop] = ScriptRuntime.callSpecial( cx, function, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); } pc += 4; continue Loop; } case Token.CALL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; // CALL generation ensures that funThisObj and fun // are already Scriptable and Function objects respectively Scriptable funThisObj = (Scriptable)stack[stackTop]; --stackTop; Function fun = (Function)stack[stackTop]; Scriptable funScope = scope; if (idata.itsNeedsActivation) { funScope = ScriptableObject.getTopLevelScope(scope); } if (fun instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction ifun = (InterpretedFunction)fun; stack[stackTop] = interpret(cx, funScope, funThisObj, stack, sDbl, calleeArgShft, indexReg, ifun); } else { Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = fun.call(cx, funScope, funThisObj, outArgs); } continue Loop; } case Token.REF_CALL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; // REF_CALL generation ensures that funThisObj and fun // are already Scriptable and Function objects respectively Scriptable funThisObj = (Scriptable)stack[stackTop]; --stackTop; Function fun = (Function)stack[stackTop]; Scriptable funScope = scope; if (idata.itsNeedsActivation) { funScope = ScriptableObject.getTopLevelScope(scope); } Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = ScriptRuntime.referenceCall(fun, funThisObj, outArgs, cx, funScope); continue Loop; } case Token.NEW : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // indexReg: number of arguments stackTop -= indexReg; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, indexReg, f); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, indexReg); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); throw notAFunction(lhs, idata, pc); } pc += 2; // skip debug name index continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(scope, stringReg); continue Loop; case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[indexReg]; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(cx, scope, stringReg); continue Loop; case Icode_NAME_INC_DEC : stack[++stackTop] = ScriptRuntime.nameIncrDecr(scope, stringReg, iCode[pc]); ++pc; continue Loop; case Icode_SETVAR1: indexReg = iCode[pc++]; // fallthrough case Token.SETVAR : if (!useActivationVars) { stack[indexReg] = stack[stackTop]; sDbl[indexReg] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, indexReg, val); } continue Loop; case Icode_GETVAR1: indexReg = iCode[pc++]; // fallthrough case Token.GETVAR : ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[indexReg]; sDbl[stackTop] = sDbl[indexReg]; } else { stack[stackTop] = activationGet(fnOrScript, scope, indexReg); } continue Loop; case Icode_VAR_INC_DEC : { // indexReg : varindex ++stackTop; int incrDecrMask = iCode[pc]; if (!useActivationVars) { stack[stackTop] = DBL_MRK; Object varValue = stack[indexReg]; double d; if (varValue == DBL_MRK) { d = sDbl[indexReg]; } else { d = ScriptRuntime.toNumber(varValue); stack[indexReg] = DBL_MRK; } double d2 = ((incrDecrMask & Node.DECR_FLAG) == 0) ? d + 1.0 : d - 1.0; sDbl[indexReg] = d2; sDbl[stackTop] = ((incrDecrMask & Node.POST_FLAG) == 0) ? d2 : d; } else { String varName = fnOrScript.argNames[indexReg]; stack[stackTop] = ScriptRuntime.nameIncrDecr(scope, varName, incrDecrMask); } ++pc; continue Loop; } case Icode_ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Icode_ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Icode_UNDEF : stack[++stackTop] = undefined; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; continue Loop; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; continue Loop; case Token.CATCH_SCOPE : stack[stackTop] = ScriptRuntime.newCatchScope(stringReg, stack[stackTop]); continue Loop; case Token.ENUM_INIT_KEYS : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + indexReg] = ScriptRuntime.enumInit(lhs, scope); continue Loop; } case Token.ENUM_INIT_VALUES : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + indexReg] = ScriptRuntime.enumValuesInit(lhs, scope); continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { Object val = stack[LOCAL_SHFT + indexReg]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val, cx); continue Loop; } case Token.SPECIAL_REF : { //stringReg: name of special property Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.specialReference(lhs, stringReg, cx, scope); continue Loop; } case Token.XML_REF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.xmlReference(lhs, cx, scope); continue Loop; } case Icode_SCOPE : stack[++stackTop] = scope; continue Loop; case Icode_CLOSURE_EXPR : stack[++stackTop] = InterpretedFunction.createFunction(cx, scope, fnOrScript, indexReg); continue Loop; case Icode_CLOSURE_STMT : initFunction(cx, scope, fnOrScript, indexReg); continue Loop; case Token.REGEXP : stack[++stackTop] = scriptRegExps[indexReg]; continue Loop; case Icode_LITERAL_NEW : // indexReg: number of values in the literal ++stackTop; stack[stackTop] = new Object[indexReg]; sDbl[stackTop] = 0; continue Loop; case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Icode_SPARE_ARRAYLIT : case Token.OBJECTLIT : { Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.OBJECTLIT) { Object[] ids = (Object[])idata.literalIds[indexReg]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } else { int[] skipIndexces = null; if (op == Icode_SPARE_ARRAYLIT) { skipIndexces = (int[])idata.literalIds[indexReg]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } stack[stackTop] = val; continue Loop; } case Icode_ENTERDQ : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterDotQuery(lhs, scope); ++withDepth; continue Loop; } case Icode_LEAVEDQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); Object x = ScriptRuntime.updateDotQuery(valBln, scope); if (x != null) { stack[stackTop] = x; scope = ScriptRuntime.leaveDotQuery(scope); --withDepth; pc += 2; continue Loop; } // reset stack and PC to code after ENTERDQ --stackTop; break jumplessRun; } case Token.DEFAULTNAMESPACE : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setDefaultNamespace(value, cx); continue Loop; } case Token.ESCXMLATTR : { Object value = stack[stackTop]; if (value != DBL_MRK) { stack[stackTop] = ScriptRuntime.escapeAttributeValue(value, cx); } continue Loop; } case Token.ESCXMLTEXT : { Object value = stack[stackTop]; if (value != DBL_MRK) { stack[stackTop] = ScriptRuntime.escapeTextValue(value, cx); } continue Loop; } case Token.TOATTRNAME : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.toAttributeName(value, cx); continue Loop; } case Token.DESCENDANTS : { Object value = stack[stackTop]; if(value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.toDescendantsName(value, cx); continue Loop; } case Token.COLONCOLON : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); // stringReg contains namespace stack[stackTop] = ScriptRuntime.toQualifiedName(stringReg, value, cx, scope); continue Loop; } case Icode_LINE : cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; continue Loop; case Icode_REG_IND_C0: indexReg = 0; continue Loop; case Icode_REG_IND_C1: indexReg = 1; continue Loop; case Icode_REG_IND_C2: indexReg = 2; continue Loop; case Icode_REG_IND_C3: indexReg = 3; continue Loop; case Icode_REG_IND_C4: indexReg = 4; continue Loop; case Icode_REG_IND_C5: indexReg = 5; continue Loop; case Icode_REG_IND1: indexReg = 0xFF & iCode[pc]; ++pc; continue Loop; case Icode_REG_IND2: indexReg = getIndex(iCode, pc); pc += 2; continue Loop; case Icode_REG_IND4: indexReg = getInt(iCode, pc); pc += 4; continue Loop; case Icode_REG_STR_C0: stringReg = strings[0]; continue Loop; case Icode_REG_STR_C1: stringReg = strings[1]; continue Loop; case Icode_REG_STR_C2: stringReg = strings[2]; continue Loop; case Icode_REG_STR_C3: stringReg = strings[3]; continue Loop; case Icode_REG_STR1: stringReg = strings[0xFF & iCode[pc]]; ++pc; continue Loop; case Icode_REG_STR2: stringReg = strings[getIndex(iCode, pc)]; pc += 2; continue Loop; case Icode_REG_STR4: stringReg = strings[getInt(iCode, pc)]; pc += 4; continue Loop; default : dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1));} // end of interpreter switch } // end of jumplessRun label block // This should be reachable only for jump implementation // when pc points to encoded target offset if (instructionCounting) { cx.addInstructionCount(pc + 2 - pcPrevBranch); } int offset = getShort(iCode, pc); if (offset != 0) { // -1 accounts for pc pointing to jump opcode + 1 pc += offset - 1; } else { pc = idata.longJumps.getExistingInt(pc); } pcPrevBranch = pc; continue Loop; } // end of interpreter try catch (Throwable ex) { if (instructionCounting) { // Can not call addInstructionCount as it may trigger // exception cx.instructionCount += pc - pcPrevBranch; } javaException = ex; exceptionPC = pc - 1; pc = getJavaCatchPC(iCode); continue Loop; } } // end of interpreter loop cx.interpreterData = savedData; cx.interpreterLineIndex = savedLineIndex; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsFunctionType != 0) { if (idata.itsNeedsActivation || useActivationVars) { ScriptRuntime.exitActivationFunction(cx); } } if (javaException != null) { if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/199b043221701f9744538a048390c041bd370c5f/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 5294, 15089, 329, 2083, 2295, 1162, 3651, 13, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 2295, 1162, 3651, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 2295, 1162, 3651, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 309, 318, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 2295, 1162, 3651, 18, 7462, 2933, 18, 1991, 1190, 3748, 12, 13491, 2295, 1162, 3651, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 2146, 16, 13491, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 5294, 11599, 751, 612, 396, 273, 2295, 1162, 3651, 18, 350, 396, 31, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 5294, 15089, 329, 2083, 2295, 1162, 3651, 13, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 2295, 1162, 3651, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 2295, 1162, 3651, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 2 ]
public void testMethod18() throws SourceEditingException {
public void testMethod18() {
public void testMethod18() throws SourceEditingException { setUpXML(); eventCase = 18; String expectedString = "<a><c z></b></a>"; fModel.setText(null, "<a><b z></b></a>"); fModel.replaceText(null, 4, 3, "c z"); String resultString = fModel.getText(); boolean result = (expectedString.equals(resultString)); assertTrue("text update", result); assertTrue("event type", eventResult); }
58500 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58500/bf6909c4d3023ecde7c185bab4c2c448ae62f947/UnitTests.java/clean/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/other/UnitTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1305, 2643, 1435, 1216, 4998, 4666, 21546, 288, 202, 202, 542, 1211, 4201, 5621, 202, 202, 2575, 2449, 273, 6549, 31, 202, 202, 780, 2665, 780, 273, 3532, 69, 4438, 71, 998, 4695, 70, 4695, 69, 2984, 31, 202, 202, 74, 1488, 18, 542, 1528, 12, 2011, 16, 3532, 69, 4438, 70, 998, 4695, 70, 4695, 69, 2984, 1769, 202, 202, 74, 1488, 18, 2079, 1528, 12, 2011, 16, 1059, 16, 890, 16, 315, 71, 998, 8863, 202, 202, 780, 563, 780, 273, 284, 1488, 18, 588, 1528, 5621, 202, 202, 6494, 563, 273, 261, 3825, 780, 18, 14963, 12, 2088, 780, 10019, 202, 202, 11231, 5510, 2932, 955, 1089, 3113, 563, 1769, 202, 202, 11231, 5510, 2932, 2575, 618, 3113, 871, 1253, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1305, 2643, 1435, 1216, 4998, 4666, 21546, 288, 202, 202, 542, 1211, 4201, 5621, 202, 202, 2575, 2449, 273, 6549, 31, 202, 202, 780, 2665, 780, 273, 3532, 69, 4438, 71, 998, 4695, 70, 4695, 69, 2984, 31, 202, 202, 74, 1488, 18, 542, 1528, 12, 2011, 16, 3532, 69, 4438, 70, 998, 4695, 70, 4695, 69, 2984, 1769, 202, 202, 74, 1488, 18, 2079, 1528, 12, 2011, 16, 1059, 16, 890, 16, 315, 71, 998, 8863, 202, 202, 780, 563, 780, 273, 284, 1488, 18, 588, 1528, 5621, 202, 202, 6494, 563, 273, 261, 3825, 780, 18, 14963, 12, 2088, 780, 10019, 202, 202, 11231, 5510, 2932, 955, 1089, 3113, 563, 1769, 202, 2 ]
e.printStackTrace();
columnsRs = reTryAchieveResultSet("TABLE_COLUMNS",new Object[]{ catalog, schemaPattern, tableNamePattern, columnNamePattern });
public ArrayList getColumns( String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern ) { ArrayList columnList = new ArrayList(); if ( metaData == null ) { metaData = getMetaData(); } try { ResultSet columnsRs = metaData.getColumns( catalog, schemaPattern, tableNamePattern, columnNamePattern ); while( columnsRs.next()) { Column column = new Column(); column.setSchemaName(columnsRs.getString("TABLE_SCHEM")); column.setTableName(columnsRs.getString("TABLE_NAME")); column.setName(columnsRs.getString("COLUMN_NAME")); column.setDbType(columnsRs.getString("TYPE_NAME")); columnList.add(column); } } catch(SQLException e) { e.printStackTrace(); } return columnList; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/dfca913ab52a1c35308def530c47013de32db0dc/JdbcMetaDataProvider.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/provider/JdbcMetaDataProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2407, 14226, 12, 514, 6222, 16, 514, 1963, 3234, 16, 1082, 202, 780, 4775, 3234, 16, 514, 7578, 3234, 262, 3639, 288, 540, 202, 540, 202, 19558, 1057, 682, 273, 394, 2407, 5621, 540, 202, 430, 261, 11651, 422, 446, 262, 540, 202, 95, 540, 202, 202, 3901, 751, 273, 23028, 5621, 540, 202, 97, 540, 202, 540, 202, 698, 1082, 202, 95, 1082, 202, 13198, 2168, 18880, 273, 11651, 18, 588, 3380, 12, 6222, 16, 6862, 202, 4821, 3234, 16, 6862, 202, 18033, 3234, 16, 6862, 202, 2827, 461, 3234, 11272, 540, 1082, 540, 202, 202, 17523, 12, 2168, 18880, 18, 4285, 10756, 540, 202, 202, 95, 540, 9506, 540, 1082, 202, 1494, 1057, 273, 394, 4753, 5621, 540, 1082, 202, 2827, 18, 542, 3078, 461, 12, 5112, 18880, 18, 588, 780, 2932, 7775, 67, 55, 10390, 7923, 1769, 540, 1082, 202, 2827, 18, 542, 7147, 12, 5112, 18880, 18, 588, 780, 2932, 7775, 67, 1985, 7923, 1769, 540, 1082, 202, 2827, 18, 542, 461, 12, 5112, 18880, 18, 588, 780, 2932, 11009, 67, 1985, 7923, 1769, 540, 1082, 202, 2827, 18, 542, 4331, 559, 12, 5112, 18880, 18, 588, 780, 2932, 2399, 67, 1985, 7923, 1769, 540, 9506, 540, 1082, 202, 2827, 682, 18, 1289, 12, 2827, 1769, 540, 9506, 540, 202, 202, 97, 1082, 202, 97, 540, 202, 14683, 12, 23116, 425, 13, 1082, 202, 95, 540, 202, 202, 73, 18, 1188, 6332, 5621, 1082, 202, 97, 540, 202, 540, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2407, 14226, 12, 514, 6222, 16, 514, 1963, 3234, 16, 1082, 202, 780, 4775, 3234, 16, 514, 7578, 3234, 262, 3639, 288, 540, 202, 540, 202, 19558, 1057, 682, 273, 394, 2407, 5621, 540, 202, 430, 261, 11651, 422, 446, 262, 540, 202, 95, 540, 202, 202, 3901, 751, 273, 23028, 5621, 540, 202, 97, 540, 202, 540, 202, 698, 1082, 202, 95, 1082, 202, 13198, 2168, 18880, 273, 11651, 18, 588, 3380, 12, 6222, 16, 6862, 202, 4821, 3234, 16, 6862, 202, 18033, 3234, 16, 6862, 202, 2827, 461, 3234, 11272, 540, 1082, 540, 202, 202, 17523, 12, 2168, 18880, 18, 4285, 10756, 540, 202, 202, 95, 540, 9506, 540, 1082, 202, 1494, 1057, 273, 2 ]
return entry1.getPriority() - entry2.getPriority();
return entry2.getPriority() - entry1.getPriority();
public int compare(Object obj1, Object obj2) { MarkerGroupingEntry entry1 = getMapping(((MarkerNode) obj1) .getConcreteRepresentative()); MarkerGroupingEntry entry2 = getMapping(((MarkerNode) obj2) .getConcreteRepresentative()); return entry1.getPriority() - entry2.getPriority(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/77fb0c15000077ca1f2664c00b32dae8028ca256/FieldMarkerGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldMarkerGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 3400, 12, 921, 1081, 21, 16, 1033, 1081, 22, 13, 288, 202, 202, 7078, 21014, 1622, 1241, 21, 273, 22575, 12443, 12, 7078, 907, 13, 1081, 21, 13, 9506, 202, 18, 588, 25845, 23869, 1535, 10663, 202, 202, 7078, 21014, 1622, 1241, 22, 273, 22575, 12443, 12, 7078, 907, 13, 1081, 22, 13, 9506, 202, 18, 588, 25845, 23869, 1535, 10663, 202, 202, 2463, 1241, 21, 18, 588, 8183, 1435, 300, 1241, 22, 18, 588, 8183, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 3400, 12, 921, 1081, 21, 16, 1033, 1081, 22, 13, 288, 202, 202, 7078, 21014, 1622, 1241, 21, 273, 22575, 12443, 12, 7078, 907, 13, 1081, 21, 13, 9506, 202, 18, 588, 25845, 23869, 1535, 10663, 202, 202, 7078, 21014, 1622, 1241, 22, 273, 22575, 12443, 12, 7078, 907, 13, 1081, 22, 13, 9506, 202, 18, 588, 25845, 23869, 1535, 10663, 202, 202, 2463, 1241, 21, 18, 588, 8183, 1435, 300, 1241, 22, 18, 588, 8183, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IMylarStructureBridge adapter = MylarPlugin.getDefault().getStructureBridge(node.getContentKind());
IMylarStructureBridge adapter = MylarPlugin.getDefault().getStructureBridge(node.getContentType());
private void propegateDoiToParents(IMylarContextNode node, float previousInterest, float decayOffset, int level, List<IMylarContextNode> elementDelta) { if (level > MAX_PROPAGATION || node == null || node.getDegreeOfInterest().getValue() <= 0) return;// || "/".equals(node.getElementHandle())) return; checkForLandmarkDelta(previousInterest, node); level++; // original is 1st level float propagatedIncrement = node.getDegreeOfInterest().getValue() - previousInterest + decayOffset;// float propagatedIncrement = scalingFactors.getParentPropagationIncrement(level); IMylarStructureBridge adapter = MylarPlugin.getDefault().getStructureBridge(node.getContentKind()); String parentHandle = adapter.getParentHandle(node.getElementHandle()); if (parentHandle != null) { InteractionEvent propagationEvent = new InteractionEvent( InteractionEvent.Kind.PROPAGATION, adapter.getResourceExtension(node.getElementHandle()), adapter.getParentHandle(node.getElementHandle()), SOURCE_ID_MODEL_PROPAGATION, CONTAINMENT_PROPAGATION_ID, propagatedIncrement); IMylarContextNode previous = activeContext.get(propagationEvent.getStructureHandle()); if (previous != null && previous.getDegreeOfInterest() != null) previousInterest = previous.getDegreeOfInterest().getValue(); CompositeContextNode parentNode = (CompositeContextNode)activeContext.addEvent(propagationEvent); elementDelta.add(0, parentNode); propegateDoiToParents(parentNode, previousInterest, decayOffset, level, elementDelta);//adapter.getResourceExtension(), adapter.getParentHandle(parentHandle), level, doi, parentChain); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/b56051a2dcf1424d6ebf6d739542d5050abd6186/MylarContextManager.java/clean/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/internal/MylarContextManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 450, 9001, 340, 3244, 77, 774, 13733, 12, 3445, 93, 7901, 1042, 907, 756, 16, 1431, 2416, 29281, 16, 1431, 22286, 2335, 16, 509, 1801, 16, 987, 32, 3445, 93, 7901, 1042, 907, 34, 930, 9242, 13, 288, 3639, 309, 261, 2815, 405, 4552, 67, 15811, 1781, 2689, 747, 756, 422, 446, 747, 756, 18, 588, 22885, 951, 29281, 7675, 24805, 1435, 1648, 374, 13, 327, 31, 759, 747, 4016, 18, 14963, 12, 2159, 18, 21336, 3259, 1435, 3719, 327, 31, 7682, 13855, 29398, 3355, 9242, 12, 11515, 29281, 16, 756, 1769, 7734, 1801, 9904, 31, 368, 2282, 353, 404, 334, 1801, 3639, 1431, 29786, 10798, 273, 756, 18, 588, 22885, 951, 29281, 7675, 24805, 1435, 300, 2416, 29281, 397, 22286, 2335, 31, 759, 3639, 1431, 29786, 10798, 273, 10612, 23535, 18, 588, 3054, 14225, 10798, 12, 2815, 1769, 2868, 6246, 93, 7901, 6999, 13691, 4516, 273, 8005, 7901, 3773, 18, 588, 1868, 7675, 588, 6999, 13691, 12, 2159, 18, 588, 8046, 10663, 13491, 514, 982, 3259, 273, 4516, 18, 588, 3054, 3259, 12, 2159, 18, 21336, 3259, 10663, 3639, 309, 261, 2938, 3259, 480, 446, 13, 288, 5411, 5294, 1128, 1133, 25686, 1133, 273, 394, 5294, 1128, 1133, 12, 10792, 5294, 1128, 1133, 18, 5677, 18, 15811, 1781, 2689, 16, 5397, 4516, 18, 588, 1420, 3625, 12, 2159, 18, 21336, 3259, 1435, 3631, 10792, 4516, 18, 588, 3054, 3259, 12, 2159, 18, 21336, 3259, 1435, 3631, 5397, 16088, 67, 734, 67, 17391, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 450, 9001, 340, 3244, 77, 774, 13733, 12, 3445, 93, 7901, 1042, 907, 756, 16, 1431, 2416, 29281, 16, 1431, 22286, 2335, 16, 509, 1801, 16, 987, 32, 3445, 93, 7901, 1042, 907, 34, 930, 9242, 13, 288, 3639, 309, 261, 2815, 405, 4552, 67, 15811, 1781, 2689, 747, 756, 422, 446, 747, 756, 18, 588, 22885, 951, 29281, 7675, 24805, 1435, 1648, 374, 13, 327, 31, 759, 747, 4016, 18, 14963, 12, 2159, 18, 21336, 3259, 1435, 3719, 327, 31, 7682, 13855, 29398, 3355, 9242, 12, 11515, 29281, 16, 756, 1769, 7734, 1801, 9904, 31, 368, 2282, 353, 404, 334, 1801, 3639, 1431, 29786, 10798, 273, 756, 18, 588, 22885, 951, 29281, 7675, 24805, 1435, 2 ]
} JobInfo[] infos = new JobInfo[result.size()]; result.toArray(infos); return infos; } }
} JobInfo[] infos = new JobInfo[result.size()]; result.toArray(infos); return infos; } }
public JobInfo[] getJobInfos(boolean debug) { synchronized (jobs) { Iterator iterator = jobs.keySet().iterator(); Collection result = new ArrayList(); while (iterator.hasNext()) { Job next = (Job) iterator.next(); if (!isNonDisplayableJob(next, debug)) { result.add(jobs.get(next)); } } JobInfo[] infos = new JobInfo[result.size()]; result.toArray(infos); return infos; } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/0e7fbc26f7d1b7769a0721c71fd17572c8432fd5/ProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3956, 966, 8526, 13024, 7655, 12, 6494, 1198, 13, 288, 3639, 3852, 261, 10088, 13, 288, 5411, 4498, 2775, 273, 6550, 18, 856, 694, 7675, 9838, 5621, 5411, 2200, 563, 273, 394, 2407, 5621, 5411, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 7734, 3956, 1024, 273, 261, 2278, 13, 2775, 18, 4285, 5621, 7734, 309, 16051, 291, 3989, 4236, 429, 2278, 12, 4285, 16, 1198, 3719, 288, 6862, 202, 2088, 18, 1289, 12, 10088, 18, 588, 12, 4285, 10019, 9506, 202, 97, 5411, 289, 5411, 3956, 966, 8526, 10626, 273, 394, 3956, 966, 63, 2088, 18, 1467, 1435, 15533, 5411, 563, 18, 31447, 12, 18227, 1769, 5411, 327, 10626, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3956, 966, 8526, 13024, 7655, 12, 6494, 1198, 13, 288, 3639, 3852, 261, 10088, 13, 288, 5411, 4498, 2775, 273, 6550, 18, 856, 694, 7675, 9838, 5621, 5411, 2200, 563, 273, 394, 2407, 5621, 5411, 1323, 261, 9838, 18, 5332, 2134, 10756, 288, 7734, 3956, 1024, 273, 261, 2278, 13, 2775, 18, 4285, 5621, 7734, 309, 16051, 291, 3989, 4236, 429, 2278, 12, 4285, 16, 1198, 3719, 288, 6862, 202, 2088, 18, 1289, 12, 10088, 18, 588, 12, 4285, 10019, 9506, 202, 97, 5411, 289, 5411, 3956, 966, 8526, 10626, 273, 394, 3956, 966, 63, 2088, 18, 1467, 1435, 15533, 5411, 563, 18, 31447, 12, 18227, 1769, 5411, 327, 10626, 31, 3639, 289, 565, 289, 2, -100, -100 ]
if (!matchToken(Token.LP, 0)) {
if (!matchToken(Token.LP)) {
private Node function(int functionType) throws IOException, ParserException { int syntheticType = functionType; int baseLineno = ts.getLineno(); // line number where source starts int functionSourceStart = decompiler.markFunctionStart(functionType); String name; Node memberExprNode = null; if (matchToken(Token.NAME, 0)) { name = ts.getString(); decompiler.addName(name); if (!matchToken(Token.LP, 0)) { if (compilerEnv.isAllowMemberExprAsFunctionName()) { // Extension to ECMA: if 'function <name>' does not follow // by '(', assume <name> starts memberExpr Node memberExprHead = nf.createName(name); name = ""; memberExprNode = memberExprTail(false, memberExprHead); } mustMatchToken(Token.LP, "msg.no.paren.parms"); } } else if (matchToken(Token.LP, 0)) { // Anonymous function name = ""; } else { name = ""; if (compilerEnv.isAllowMemberExprAsFunctionName()) { // Note that memberExpr can not start with '(' like // in function (1+2).toString(), because 'function (' already // processed as anonymous function memberExprNode = memberExpr(false); } mustMatchToken(Token.LP, "msg.no.paren.parms"); } if (memberExprNode != null) { syntheticType = FunctionNode.FUNCTION_EXPRESSION; } boolean nested = insideFunction(); FunctionNode fnNode = nf.createFunction(name); if (nested) { // Nested functions must check their 'this' value to insure // it is not an activation object: see 10.1.6 Activation Object fnNode.setCheckThis(); } if (nested || nestingOfWith > 0) { // 1. Nested functions are not affected by the dynamic scope flag // as dynamic scope is already a parent of their scope. // 2. Functions defined under the with statement also immune to // this setup, in which case dynamic scope is ignored in favor // of with object. fnNode.setIgnoreDynamicScope(); } int functionIndex = currentScriptOrFn.addFunction(fnNode); int functionSourceEnd; ScriptOrFnNode savedScriptOrFn = currentScriptOrFn; currentScriptOrFn = fnNode; int savedNestingOfWith = nestingOfWith; nestingOfWith = 0; Hashtable savedLabelSet = labelSet; labelSet = null; ObjArray savedLoopSet = loopSet; loopSet = null; ObjArray savedLoopAndSwitchSet = loopAndSwitchSet; loopAndSwitchSet = null; Node body; String source; try { decompiler.addToken(Token.LP); if (!matchToken(Token.RP, 0)) { boolean first = true; do { if (!first) decompiler.addToken(Token.COMMA); first = false; mustMatchToken(Token.NAME, "msg.no.parm"); String s = ts.getString(); if (fnNode.hasParamOrVar(s)) { addWarning("msg.dup.parms", s); } fnNode.addParam(s); decompiler.addName(s); } while (matchToken(Token.COMMA, 0)); mustMatchToken(Token.RP, "msg.no.paren.after.parms"); } decompiler.addToken(Token.RP); mustMatchToken(Token.LC, "msg.no.brace.body"); decompiler.addEOL(Token.LC); body = parseFunctionBody(); mustMatchToken(Token.RC, "msg.no.brace.after.body"); decompiler.addToken(Token.RC); functionSourceEnd = decompiler.markFunctionEnd(functionSourceStart); if (functionType != FunctionNode.FUNCTION_EXPRESSION) { if (compilerEnv.getLanguageVersion() >= Context.VERSION_1_2) { // function f() {} function g() {} is not allowed in 1.2 // or later but for compatibility with old scripts // the check is done only if language is // explicitly set. // XXX warning needed if version == VERSION_DEFAULT ? int tt = peekTokenOrEOL(TokenStream.TSF_REGEXP); if (tt == Token.FUNCTION) { reportError("msg.no.semi.stmt"); } } // Add EOL only if function is not part of expression // since it gets SEMI + EOL from Statement in that case decompiler.addToken(Token.EOL); } } finally { loopAndSwitchSet = savedLoopAndSwitchSet; loopSet = savedLoopSet; labelSet = savedLabelSet; nestingOfWith = savedNestingOfWith; currentScriptOrFn = savedScriptOrFn; } fnNode.setEncodedSourceBounds(functionSourceStart, functionSourceEnd); fnNode.setSourceName(sourceURI); fnNode.setBaseLineno(baseLineno); fnNode.setEndLineno(ts.getLineno()); Node pn = nf.initFunction(fnNode, functionIndex, body, syntheticType); if (memberExprNode != null) { pn = nf.initFunction(fnNode, functionIndex, body, syntheticType); pn = nf.createAssignment(Token.ASSIGN, memberExprNode, pn); if (functionType != FunctionNode.FUNCTION_EXPRESSION) { // XXX check JScript behavior: should it be createExprStatement? pn = nf.createExprStatementNoReturn(pn, baseLineno); } } return pn; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/eea0a0a79d27ae62fc3c9a3f98c2f0a02adaf2c4/Parser.java/buggy/js/rhino/src/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 445, 12, 474, 445, 559, 13, 3639, 1216, 1860, 16, 27990, 565, 288, 3639, 509, 25535, 559, 273, 445, 559, 31, 3639, 509, 1026, 48, 267, 5764, 273, 3742, 18, 588, 48, 267, 5764, 5621, 225, 368, 980, 1300, 1625, 1084, 2542, 3639, 509, 445, 1830, 1685, 273, 443, 9576, 18, 3355, 2083, 1685, 12, 915, 559, 1769, 3639, 514, 508, 31, 3639, 2029, 3140, 4742, 907, 273, 446, 31, 3639, 309, 261, 1916, 1345, 12, 1345, 18, 1985, 16, 374, 3719, 288, 5411, 508, 273, 3742, 18, 588, 780, 5621, 5411, 443, 9576, 18, 1289, 461, 12, 529, 1769, 5411, 309, 16051, 1916, 1345, 12, 1345, 18, 14461, 3719, 288, 7734, 309, 261, 9576, 3491, 18, 291, 7009, 4419, 4742, 1463, 25258, 10756, 288, 10792, 368, 10021, 358, 7773, 5535, 30, 309, 296, 915, 411, 529, 1870, 1552, 486, 2805, 10792, 368, 635, 7747, 2187, 6750, 411, 529, 34, 2542, 3140, 4742, 10792, 2029, 3140, 4742, 1414, 273, 13958, 18, 2640, 461, 12, 529, 1769, 10792, 508, 273, 1408, 31, 10792, 3140, 4742, 907, 273, 3140, 4742, 12363, 12, 5743, 16, 3140, 4742, 1414, 1769, 7734, 289, 7734, 1297, 2060, 1345, 12, 1345, 18, 14461, 16, 315, 3576, 18, 2135, 18, 13012, 18, 29927, 8863, 5411, 289, 3639, 289, 469, 309, 261, 1916, 1345, 12, 1345, 18, 14461, 16, 374, 3719, 288, 5411, 368, 29775, 445, 5411, 508, 273, 1408, 31, 3639, 289, 469, 288, 5411, 508, 273, 1408, 31, 5411, 309, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 445, 12, 474, 445, 559, 13, 3639, 1216, 1860, 16, 27990, 565, 288, 3639, 509, 25535, 559, 273, 445, 559, 31, 3639, 509, 1026, 48, 267, 5764, 273, 3742, 18, 588, 48, 267, 5764, 5621, 225, 368, 980, 1300, 1625, 1084, 2542, 3639, 509, 445, 1830, 1685, 273, 443, 9576, 18, 3355, 2083, 1685, 12, 915, 559, 1769, 3639, 514, 508, 31, 3639, 2029, 3140, 4742, 907, 273, 446, 31, 3639, 309, 261, 1916, 1345, 12, 1345, 18, 1985, 16, 374, 3719, 288, 5411, 508, 273, 3742, 18, 588, 780, 5621, 5411, 443, 9576, 18, 1289, 461, 12, 529, 1769, 5411, 309, 16051, 1916, 1345, 12, 1345, 18, 14461, 3719, 288, 7734, 309, 261, 9576, 3491, 2 ]
public void moveToContainer(AbstractTaskContainer toContainer, ITask task) { if (!tasks.containsKey(task.getHandleIdentifier())) { tasks.put(task.getHandleIdentifier(), task); } AbstractTaskContainer fromContainer = task.getContainer(); if (fromContainer instanceof AbstractTaskContainer) { ((AbstractTaskContainer)fromContainer).remove(task); } if (toContainer != null) { internalAddTask(task, toContainer); } else { internalAddTask(task, archiveContainer); } for (ITaskListChangeListener listener : changeListeners) { listener.taskMoved(task, fromContainer, toContainer); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/773ab2fda84e37b5f5a3cdf9561c0261149efaff/TaskList.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/TaskList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13863, 2170, 12, 7469, 2174, 2170, 358, 2170, 16, 467, 2174, 1562, 13, 288, 202, 202, 430, 16051, 9416, 18, 12298, 653, 12, 4146, 18, 588, 3259, 3004, 1435, 3719, 288, 1082, 202, 9416, 18, 458, 12, 4146, 18, 588, 3259, 3004, 9334, 1562, 1769, 202, 202, 97, 9506, 202, 7469, 2174, 2170, 628, 2170, 273, 1562, 18, 588, 2170, 5621, 202, 202, 430, 261, 2080, 2170, 1276, 4115, 2174, 2170, 13, 288, 1082, 202, 12443, 7469, 2174, 2170, 13, 2080, 2170, 2934, 4479, 12, 4146, 1769, 202, 202, 97, 3196, 202, 430, 261, 869, 2170, 480, 446, 13, 288, 1082, 202, 7236, 986, 2174, 12, 4146, 16, 358, 2170, 1769, 202, 202, 97, 469, 288, 1082, 202, 7236, 986, 2174, 12, 4146, 16, 5052, 2170, 1769, 202, 202, 97, 202, 202, 1884, 261, 1285, 835, 682, 15744, 2991, 294, 2549, 5583, 13, 288, 1082, 202, 12757, 18, 4146, 25317, 12, 4146, 16, 628, 2170, 16, 358, 2170, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13863, 2170, 12, 7469, 2174, 2170, 358, 2170, 16, 467, 2174, 1562, 13, 288, 202, 202, 430, 16051, 9416, 18, 12298, 653, 12, 4146, 18, 588, 3259, 3004, 1435, 3719, 288, 1082, 202, 9416, 18, 458, 12, 4146, 18, 588, 3259, 3004, 9334, 1562, 1769, 202, 202, 97, 9506, 202, 7469, 2174, 2170, 628, 2170, 273, 1562, 18, 588, 2170, 5621, 202, 202, 430, 261, 2080, 2170, 1276, 4115, 2174, 2170, 13, 288, 1082, 202, 12443, 7469, 2174, 2170, 13, 2080, 2170, 2934, 4479, 12, 4146, 1769, 202, 202, 97, 3196, 202, 430, 261, 869, 2170, 480, 446, 13, 288, 1082, 202, 7236, 986, 2174, 12, 4146, 16, 358, 2170, 1769, 202, 202, 97, 469, 2 ]
ExecutionArguments execArgs = new ExecutionArguments(vmArgsBuffer.toString(), pgmArgs);
ExecutionArguments execArgs = new ExecutionArguments(vmArgsBuffer .toString(), pgmArgs);
public void launch( ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException { if (monitor == null) { monitor = new NullProgressMonitor(); } monitor.beginTask(LaunchingMessages.getString("WOJavaLocalApplicationLaunchConfigurationDelegate.Launching..._1"), IProgressMonitor.UNKNOWN); //$NON-NLS-1$ // check for cancellation if (monitor.isCanceled()) { return; } JavaProject javaProject = (JavaProject)(this.getJavaProject(configuration).getAdapter(JavaProject.class)); String mainTypeName = verifyMainTypeName(configuration); IVMInstall vm = verifyVMInstall(configuration); IVMRunner runner = vm.getVMRunner(mode); if (runner == null) { if (mode == ILaunchManager.DEBUG_MODE) { abort(MessageFormat.format(LaunchingMessages.getString("WOJavaLocalApplicationLaunchConfigurationDelegate.JRE_{0}_does_not_support_debug_mode._1"), new String[] { vm.getName()}), null, IJavaLaunchConfigurationConstants.ERR_VM_RUNNER_DOES_NOT_EXIST); //$NON-NLS-1$ } else { abort(MessageFormat.format(LaunchingMessages.getString("WOJavaLocalApplicationLaunchConfigurationDelegate.JRE_{0}_does_not_support_run_mode._2"), new String[] { vm.getName()}), null, IJavaLaunchConfigurationConstants.ERR_VM_RUNNER_DOES_NOT_EXIST); //$NON-NLS-1$ } } File workingDir = verifyWorkingDirectory(configuration); String workingDirName = null; if (workingDir != null) { workingDirName = workingDir.getAbsolutePath(); } String launchArguments = configuration.getAttribute( WOJavaLocalApplicationLaunchConfigurationDelegate .ATTR_WOLIPS_LAUNCH_WOARGUMENTS, Preferences.getPREF_LAUNCH_GLOBAL()); ILaunchInfo[] launchInfo = Preferences.getLaunchInfoFrom(launchArguments); StringBuffer launchArgument = new StringBuffer(); String automatic = "Automatic"; for (int i = 0; i < launchInfo.length; i++) { boolean spaceBetweenParameterAndArgument = true; if (launchInfo[i].isEnabled()) { //-WOApplicationClassName String parameter = launchInfo[i].getParameter(); String argument = launchInfo[i].getArgument(); if (automatic.equals(argument)) { if ("-WOApplicationClassName".equals(parameter)) argument = mainTypeName; if ("-DWORoot=".equals(parameter)) { argument = VariablesPlugin.getDefault().getSystemRoot().toOSString(); spaceBetweenParameterAndArgument = false; if (javaProject.isOnMacOSX()) { parameter = ""; argument = ""; } } if ("-DWORootDirectory=".equals(parameter)) { argument = VariablesPlugin.getDefault().getSystemRoot().toOSString(); spaceBetweenParameterAndArgument = false; if (javaProject.isOnMacOSX()) { parameter = ""; argument = ""; } } if ("-DWOUserDirectory".equals(parameter)) { argument = workingDir.getAbsolutePath(); spaceBetweenParameterAndArgument = false; } if ("-NSProjectSearchPath".equals(parameter)) { argument = javaProject.getGeneratedByWOLips(Preferences.getPREF_NS_PROJECT_SEARCH_PATH()); } } launchArgument.append(parameter); if (spaceBetweenParameterAndArgument) launchArgument.append(" "); launchArgument.append(argument); launchArgument.append(" "); } } String debugGroups = configuration.getAttribute( WOJavaLocalApplicationLaunchConfigurationDelegate .ATTR_WOLIPS_LAUNCH_DEBUG_GROUPS, ""); if(debugGroups != null && debugGroups.length() > 0) { launchArgument.append(" -DNSDebugGroups=\"("); launchArgument.append(debugGroups); launchArgument.append(")\""); } // Program & VM args String pgmArgs = getProgramArguments(configuration) + " " + launchArgument.toString(); String vmArgs = getVMArguments(configuration); StringBuffer vmArgsBuffer = new StringBuffer(vmArgs); this.addVMArguments(vmArgsBuffer, configuration, launch, mode); ExecutionArguments execArgs = new ExecutionArguments(vmArgsBuffer.toString(), pgmArgs); // VM-specific attributes Map vmAttributesMap = getVMSpecificAttributesMap(configuration); // Classpath String[] classpath = getClasspath(configuration); // Create VM config VMRunnerConfiguration runConfig = new VMRunnerConfiguration(mainTypeName, classpath); runConfig.setProgramArguments(execArgs.getProgramArgumentsArray()); runConfig.setVMArguments(execArgs.getVMArgumentsArray()); runConfig.setWorkingDirectory(workingDirName); runConfig.setVMSpecificAttributesMap(vmAttributesMap); // Bootpath String[] bootpath = getBootpath(configuration); runConfig.setBootClassPath(bootpath); // check for cancellation if (monitor.isCanceled()) { return; } // stop in main prepareStopInMain(configuration); // Launch the configuration runner.run(runConfig, launch, monitor); // check for cancellation if (monitor.isCanceled()) { return; } // set the default source locator if required setDefaultSourceLocator(launch, configuration); monitor.done(); }
47899 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47899/f992bd5b8e5aeca42a66af65f4ec3d6e14d2352b/WOJavaLocalApplicationLaunchConfigurationDelegate.java/buggy/projects/wolips/plugins/org.objectstyle.wolips.launching/java/org/objectstyle/wolips/launching/WOJavaLocalApplicationLaunchConfigurationDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 8037, 12, 202, 202, 2627, 4760, 1750, 1664, 16, 202, 202, 780, 1965, 16, 202, 202, 2627, 4760, 8037, 16, 202, 202, 45, 5491, 7187, 6438, 13, 202, 202, 15069, 30015, 288, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 202, 202, 10259, 18, 10086, 2174, 12, 9569, 310, 5058, 18, 588, 780, 2932, 59, 51, 5852, 2042, 3208, 9569, 1750, 9586, 18, 9569, 310, 2777, 67, 21, 6, 3631, 467, 5491, 7187, 18, 14737, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 866, 364, 7272, 202, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 5852, 4109, 2252, 4109, 273, 1082, 202, 12, 5852, 4109, 21433, 2211, 18, 588, 5852, 4109, 12, 7025, 2934, 588, 4216, 12, 5852, 4109, 18, 1106, 10019, 202, 202, 780, 2774, 7947, 273, 3929, 6376, 7947, 12, 7025, 1769, 202, 202, 45, 7397, 6410, 4268, 273, 3929, 7397, 6410, 12, 7025, 1769, 202, 202, 45, 7397, 9709, 8419, 273, 4268, 18, 588, 7397, 9709, 12, 3188, 1769, 202, 202, 430, 261, 18156, 422, 446, 13, 288, 1082, 202, 430, 261, 3188, 422, 467, 9569, 1318, 18, 9394, 67, 7038, 13, 288, 9506, 202, 18623, 12, 1079, 1630, 18, 2139, 12, 9569, 310, 5058, 18, 588, 780, 2932, 59, 51, 5852, 2042, 3208, 9569, 1750, 9586, 18, 46, 862, 14147, 20, 9044, 20657, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 8037, 12, 202, 202, 2627, 4760, 1750, 1664, 16, 202, 202, 780, 1965, 16, 202, 202, 2627, 4760, 8037, 16, 202, 202, 45, 5491, 7187, 6438, 13, 202, 202, 15069, 30015, 288, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 202, 202, 10259, 18, 10086, 2174, 12, 9569, 310, 5058, 18, 588, 780, 2932, 59, 51, 5852, 2042, 3208, 9569, 1750, 9586, 18, 9569, 310, 2777, 67, 21, 6, 3631, 467, 5491, 7187, 18, 14737, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 866, 364, 7272, 202, 202, 430, 261, 10259, 18, 291, 23163, 10756, 288, 1082, 202, 2463, 2 ]
throws IOException, SAXException {
throws IOException {
public void parse(InputSource _input) throws IOException, SAXException { if(_input.getSystemId() == null) input.getOutput().read(context, forwardingContentHandler); else { URL url = URLFactory.createURL( (loc[0] != null && loc[0].getSystemId() != null) ? loc[0].getSystemId() : null, _input.getSystemId()); Processor urlgen = new URLGenerator(url); urlgen.createOutput(ProcessorImpl.OUTPUT_DATA).read(context, forwardingContentHandler); } }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/a8bedf5d979b25bed16bd39ea6470ca4b41acf2f/RNGValidationProcessor.java/buggy/src/java/org/orbeon/oxf/processor/validation/RNGValidationProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 1109, 12, 1210, 1830, 389, 2630, 13, 13491, 1216, 1860, 288, 10792, 309, 24899, 2630, 18, 588, 3163, 548, 1435, 422, 446, 13, 13491, 810, 18, 588, 1447, 7675, 896, 12, 2472, 16, 20635, 1350, 1503, 1769, 10792, 469, 288, 13491, 1976, 880, 273, 1976, 1733, 18, 2640, 1785, 12, 27573, 261, 1829, 63, 20, 65, 480, 446, 597, 1515, 63, 20, 8009, 588, 3163, 548, 1435, 480, 446, 13, 692, 1515, 63, 20, 8009, 588, 3163, 548, 1435, 294, 446, 16, 27573, 389, 2630, 18, 588, 3163, 548, 10663, 13491, 15476, 880, 4507, 273, 394, 1976, 3908, 12, 718, 1769, 13491, 880, 4507, 18, 2640, 1447, 12, 5164, 2828, 18, 15527, 67, 4883, 2934, 896, 12, 2472, 16, 20635, 1350, 1503, 1769, 10792, 289, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 1109, 12, 1210, 1830, 389, 2630, 13, 13491, 1216, 1860, 288, 10792, 309, 24899, 2630, 18, 588, 3163, 548, 1435, 422, 446, 13, 13491, 810, 18, 588, 1447, 7675, 896, 12, 2472, 16, 20635, 1350, 1503, 1769, 10792, 469, 288, 13491, 1976, 880, 273, 1976, 1733, 18, 2640, 1785, 12, 27573, 261, 1829, 63, 20, 65, 480, 446, 597, 1515, 63, 20, 8009, 588, 3163, 548, 1435, 480, 446, 13, 692, 1515, 63, 20, 8009, 588, 3163, 548, 1435, 294, 446, 16, 27573, 389, 2630, 18, 588, 3163, 548, 10663, 13491, 15476, 880, 4507, 273, 394, 1976, 3908, 12, 718, 1769, 13491, 880, 4507, 18, 2640, 1447, 12, 5164, 2828, 18, 15527, 67, 4883, 2934, 896, 2 ]
*/
private ECGEclipseSensor() { logger.entering(this.getClass().getName(), "ECGEclipseSensor"); /* * Create and get the original singleton HackyStat Eclipse * sensor instance. */ this.hackyEclipse = EclipseSensor.getInstance(); logger.log(Level.FINE, "HackyStat Eclipse sensor created."); this.eclipseSensorShell = this.hackyEclipse.getEclipseSensorShell(); logger.log(Level.FINE, "Got HackyStat EclipseSensorShell."); /* * The next lines are needed for the InlineServer mode. In * that case the ECG SensorShell needs to now where the ECG * Lab application is stored locally. The ECG Lab is stored in * a PlugIns subdirectory called "ecg" per default. So we get * the PlugIn directory name itself and are adding the "ecg" * subdirectory. */ // String id = // EclipseSensorPlugin.getInstance().getDescriptor() // .getUniqueIdentifier(); // // String version = // EclipseSensorPlugin.getInstance().getDescriptor() // .getVersionIdentifier().toString(); String[] path = {EclipseSensorPlugin.getInstance().getSensorPath() + File.separator + "ecg"}; List list = Arrays.asList(path); /* * The only way to communicate with the ECG SensorShell is by * using the HackyStat's EclipseSensorShell, since we are not * having a reference to the SensorShell itself. */ this.eclipseSensorShell.doCommand(SensorShell.ECG_LAB_PATH, list); logger.log(Level.FINE, "The Sensorpath has been sent to the SensorShell."); // Try to get the username from the operating system // environment this.username = System.getenv("username"); if (this.username == null || this.username.equals("")) { this.username = "n.a."; } logger.log(Level.FINE, "Username is set to" + this.username); // add the WindowListener for listening on // window events. IWorkbench workbench = PlatformUI.getWorkbench(); workbench.addWindowListener(new WindowListenerAdapter()); logger.log(Level.FINE, "Added WindowListener."); // add the PartListener for listening on // part events. IWorkbenchWindow[] activeWindows = workbench.getWorkbenchWindows(); IWorkbenchPage activePage = null; for (int i = 0; i < activeWindows.length; i++) { activePage = activeWindows[i].getActivePage(); activePage.addPartListener(new PartAndEditorListenerAdapter()); } logger.log(Level.FINE, "Added PartListener."); // add the DocumentListener for listening on // document events. IEditorPart part = activePage.getActiveEditor(); if (part instanceof ITextEditor) { processActivity( "msdt.editor.xsd", "<?xml version=\"1.0\"?><microActivity><commonData><username>" + ECGEclipseSensor.this.username + "</username><projectname>" + ECGEclipseSensor.this.projectname + "</projectname></commonData><editor><activity>opened</activity><editorname>" + part.getTitle() + "</editorname></editor></microActivity>"); this.activeTextEditor = (ITextEditor) part; IDocumentProvider provider = this.activeTextEditor .getDocumentProvider(); IDocument document = provider.getDocument(part.getEditorInput()); document.addDocumentListener(new DocumentListenerAdapter()); } logger.log(Level.FINE, "Added DocumentListener."); // add the ResourceChangeListener to the workspace for // listening on // resource events. IWorkspace workspace = ResourcesPlugin.getWorkspace(); workspace.addResourceChangeListener(new ResourceChangeAdapter(), IResourceChangeEvent.POST_CHANGE); // add the DebugEventSetListener to listen to run and debug // events. DebugPlugin dp = DebugPlugin.getDefault(); dp.addDebugEventListener(new DebugEventSetAdapter()); logger.log(Level.FINE, "Added DebugEventSetListener."); JUnitPlugin.getDefault().addTestRunListener(new TestRunAdapter()); logger.exiting(this.getClass().getName(), "ECGEclipseSensor"); }
239 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/239/d182846eb474766a80e9b6182d12ce39d5b700b5/ECGEclipseSensor.java/clean/sensors/eclipse/ECG_EclipseSensor/src/org/electrocodeogram/sensor/eclipse/ECGEclipseSensor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1195, 565, 3238, 7773, 7113, 71, 10472, 22294, 1435, 288, 5549, 282, 1195, 377, 1194, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 7228, 7113, 71, 10472, 22294, 8863, 5549, 282, 1195, 377, 1783, 19, 282, 1195, 282, 1195, 282, 380, 1788, 471, 336, 326, 2282, 6396, 670, 484, 93, 5000, 20840, 10472, 5549, 282, 1195, 282, 1195, 282, 380, 10583, 791, 4509, 19, 282, 1195, 282, 1195, 282, 1195, 5549, 282, 1195, 377, 333, 18, 76, 484, 93, 23057, 10472, 273, 20840, 10472, 22294, 18, 588, 1442, 5621, 5549, 282, 1195, 377, 1194, 18, 1330, 12, 2355, 18, 42, 3740, 16, 315, 44, 484, 93, 5000, 20840, 10472, 10583, 2522, 1199, 1769, 5549, 282, 1195, 377, 333, 18, 20416, 22294, 13220, 273, 333, 18, 76, 484, 93, 23057, 10472, 18, 588, 23057, 10472, 22294, 13220, 5621, 5549, 282, 1195, 377, 1194, 18, 1330, 12, 2355, 18, 42, 3740, 16, 315, 15617, 670, 484, 93, 5000, 20840, 10472, 22294, 13220, 1199, 1769, 5549, 282, 1195, 377, 1783, 19, 282, 1195, 282, 1195, 282, 380, 1021, 1024, 2362, 854, 3577, 364, 326, 16355, 2081, 1965, 18, 657, 5549, 282, 1195, 282, 1195, 282, 380, 716, 648, 326, 7773, 43, 28903, 13220, 4260, 358, 2037, 1625, 326, 7773, 43, 5549, 282, 1195, 282, 1195, 282, 380, 511, 378, 2521, 353, 4041, 13760, 18, 1021, 7773, 43, 511, 378, 353, 4041, 316, 5549, 282, 1195, 282, 1195, 282, 380, 279, 3008, 637, 5048, 29869, 2566, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1195, 565, 3238, 7773, 7113, 71, 10472, 22294, 1435, 288, 5549, 282, 1195, 377, 1194, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 7228, 7113, 71, 10472, 22294, 8863, 5549, 282, 1195, 377, 1783, 19, 282, 1195, 282, 1195, 282, 380, 1788, 471, 336, 326, 2282, 6396, 670, 484, 93, 5000, 20840, 10472, 5549, 282, 1195, 282, 1195, 282, 380, 10583, 791, 4509, 19, 282, 1195, 282, 1195, 282, 1195, 5549, 282, 1195, 377, 333, 18, 76, 484, 93, 23057, 10472, 273, 20840, 10472, 22294, 18, 588, 1442, 5621, 5549, 282, 1195, 377, 1194, 18, 1330, 12, 2355, 18, 42, 3740, 16, 315, 44, 484, 93, 5000, 20840, 10472, 10583, 2522, 1199, 1769, 5549, 282, 2 ]
super(source); this.id = id;
this(event.target, event.id); consumed = event.consumed;
public AWTEvent(Object source, int id) { super(source); this.id = id; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/24330cfb4cc445da21a71a819ce54efe764fab6e/AWTEvent.java/buggy/core/src/classpath/java/java/awt/AWTEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 432, 8588, 1133, 12, 921, 1084, 16, 509, 612, 13, 225, 288, 565, 2240, 12, 3168, 1769, 565, 333, 18, 350, 273, 612, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 432, 8588, 1133, 12, 921, 1084, 16, 509, 612, 13, 225, 288, 565, 2240, 12, 3168, 1769, 565, 333, 18, 350, 273, 612, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
C_EXPORT_LINK_WITHOUT_PARAMETER,
EXPORT_LINK_WITHOUT_PARAMETER,
public boolean exportNonTemplateResources(CmsObject cms, List publishedResources, I_CmsReport report) throws CmsException, IOException, ServletException { String vfsName = null; List resourcesToExport = new ArrayList(); boolean templatesFound = false; int count = 1; report.println(report.key("report.staticexport.nontemplateresources_begin"), I_CmsReport.C_FORMAT_HEADLINE); // loop through all resources Iterator i = publishedResources.iterator(); if (LOG.isDebugEnabled()) { LOG.debug(Messages.get().key(Messages.LOG_EXPORTING_NON_TEMPLATE_1, new Integer(publishedResources.size()))); } while (i.hasNext()) { CmsPublishedResource pupRes = (CmsPublishedResource)i.next(); vfsName = pupRes.getRootPath(); // only process this resource, if it is within the tree of allowed folders for static export if (m_exportFolderMatcher.match(vfsName)) { // only export VFS files, other data is handled elsewhere if (pupRes.isVfsResource() && (pupRes.isFile())) { // get the export data object, if null is returned, this resource cannot be exported CmsStaticExportData exportData = getExportData(vfsName, cms); if (exportData != null) { // check loader for current resource if it must be processed before exported I_CmsResourceLoader loader = OpenCms.getResourceManager().getLoader(exportData.getResource()); if (!loader.isStaticExportProcessable()) { // this resource must not be process, so export it if its not marked as deleted if (pupRes.getState() != I_CmsConstants.C_STATE_DELETED) { // mark the resource for export to the real file system resourcesToExport.add(exportData); } } else { // the resource is a template resource, so store the name of it in the DB for further use templatesFound = true; cms.writeStaticExportPublishedResource( exportData.getRfsName(), C_EXPORT_LINK_WITHOUT_PARAMETER, "", System.currentTimeMillis()); } } } } } // now do the export i = resourcesToExport.iterator(); int size = resourcesToExport.size(); if (LOG.isDebugEnabled()) { LOG.debug(Messages.get().key(Messages.LOG_NUM_EXPORT_1, new Integer(size))); } while (i.hasNext()) { CmsStaticExportData exportData = (CmsStaticExportData)i.next(); if (LOG.isDebugEnabled()) { LOG.debug(Messages.get().key(Messages.LOG_EXPORT_FILE_2, exportData.getVfsName(), exportData.getRfsName())); } report.print("(" + count++ + " / " + size + ") ", I_CmsReport.C_FORMAT_NOTE); report.print(report.key("report.exporting"), I_CmsReport.C_FORMAT_NOTE); report.print(exportData.getVfsName()); report.print(report.key("report.dots")); int status = export(null, null, cms, exportData); if (status == HttpServletResponse.SC_OK) { report.println(report.key("report.ok"), I_CmsReport.C_FORMAT_OK); } else { report.println(report.key("report.ignored"), I_CmsReport.C_FORMAT_NOTE); } if (LOG.isInfoEnabled()) { Object[] arguments = new Object[]{exportData.getVfsName(), exportData.getRfsName(), new Integer(status)}; LOG.info(Messages.get().key(Messages.LOG_EXPORT_FILE_STATUS_3, arguments)); } } resourcesToExport = null; report.println(report.key("report.staticexport.nontemplateresources_end"), I_CmsReport.C_FORMAT_HEADLINE); return templatesFound; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/d6b5089281646a808cd03ce9039138d8b4818362/CmsStaticExportManager.java/buggy/src/org/opencms/staticexport/CmsStaticExportManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 3359, 3989, 2283, 3805, 12, 4747, 921, 6166, 16, 987, 9487, 3805, 16, 467, 67, 25702, 2605, 13, 565, 1216, 11228, 16, 1860, 16, 16517, 288, 3639, 514, 20682, 461, 273, 446, 31, 3639, 987, 2703, 774, 6144, 273, 394, 2407, 5621, 3639, 1250, 5539, 2043, 273, 629, 31, 3639, 509, 1056, 273, 404, 31, 3639, 2605, 18, 8222, 12, 6006, 18, 856, 2932, 6006, 18, 5642, 1812, 92, 655, 18, 5836, 27380, 2045, 281, 1418, 67, 10086, 6, 3631, 467, 67, 25702, 18, 39, 67, 7254, 67, 12458, 5997, 1769, 3639, 368, 2798, 3059, 777, 2703, 3639, 4498, 277, 273, 9487, 3805, 18, 9838, 5621, 3639, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 5411, 2018, 18, 4148, 12, 5058, 18, 588, 7675, 856, 12, 5058, 18, 4842, 67, 31275, 1360, 67, 3993, 67, 12205, 67, 21, 16, 394, 2144, 12, 12614, 3805, 18, 1467, 1435, 3719, 1769, 3639, 289, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 2149, 16451, 1420, 293, 416, 607, 273, 261, 4747, 16451, 1420, 13, 77, 18, 4285, 5621, 5411, 20682, 461, 273, 293, 416, 607, 18, 588, 21302, 5621, 5411, 368, 1338, 1207, 333, 1058, 16, 309, 518, 353, 3470, 326, 2151, 434, 2935, 9907, 364, 760, 3359, 5411, 309, 261, 81, 67, 6530, 3899, 6286, 18, 1916, 12, 90, 2556, 461, 3719, 288, 7734, 368, 1338, 3359, 23567, 1390, 16, 1308, 501, 353, 7681, 25795, 1171, 309, 261, 84, 416, 607, 18, 291, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 3359, 3989, 2283, 3805, 12, 4747, 921, 6166, 16, 987, 9487, 3805, 16, 467, 67, 25702, 2605, 13, 565, 1216, 11228, 16, 1860, 16, 16517, 288, 3639, 514, 20682, 461, 273, 446, 31, 3639, 987, 2703, 774, 6144, 273, 394, 2407, 5621, 3639, 1250, 5539, 2043, 273, 629, 31, 3639, 509, 1056, 273, 404, 31, 3639, 2605, 18, 8222, 12, 6006, 18, 856, 2932, 6006, 18, 5642, 1812, 92, 655, 18, 5836, 27380, 2045, 281, 1418, 67, 10086, 6, 3631, 467, 67, 25702, 18, 39, 67, 7254, 67, 12458, 5997, 1769, 3639, 368, 2798, 3059, 777, 2703, 3639, 4498, 277, 273, 9487, 3805, 18, 9838, 5621, 3639, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 288, 2 ]
int index; String stackIdentifier = "Stack Trace:\n"; if (description == null || (index = description.indexOf(stackIdentifier)) < 0) {
String stackTrace = null; if (description == null) {
private String getStackTraceFromDescription() { String description = newDescriptionTextViewer.getTextWidget().getText().trim(); // TODO: improve stack trace detection int index; String stackIdentifier = "Stack Trace:\n"; if (description == null || (index = description.indexOf(stackIdentifier)) < 0) { return null; } description = description.substring(index + stackIdentifier.length()); return description; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/6a543def5fe690a4980e85b088f485d1c0734db7/NewBugEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/NewBugEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 22798, 1265, 3291, 1435, 288, 202, 202, 780, 2477, 273, 394, 3291, 1528, 18415, 18, 588, 1528, 4609, 7675, 588, 1528, 7675, 5290, 5621, 202, 202, 759, 2660, 30, 21171, 2110, 2606, 11649, 202, 202, 474, 770, 31, 202, 202, 780, 2110, 3004, 273, 315, 2624, 2677, 5581, 82, 14432, 202, 202, 430, 261, 3384, 422, 446, 747, 261, 1615, 273, 2477, 18, 31806, 12, 3772, 3004, 3719, 411, 374, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 3384, 273, 2477, 18, 28023, 12, 1615, 397, 2110, 3004, 18, 2469, 10663, 202, 202, 2463, 2477, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 22798, 1265, 3291, 1435, 288, 202, 202, 780, 2477, 273, 394, 3291, 1528, 18415, 18, 588, 1528, 4609, 7675, 588, 1528, 7675, 5290, 5621, 202, 202, 759, 2660, 30, 21171, 2110, 2606, 11649, 202, 202, 474, 770, 31, 202, 202, 780, 2110, 3004, 273, 315, 2624, 2677, 5581, 82, 14432, 202, 202, 430, 261, 3384, 422, 446, 747, 261, 1615, 273, 2477, 18, 31806, 12, 3772, 3004, 3719, 411, 374, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 202, 202, 3384, 273, 2477, 18, 28023, 12, 1615, 397, 2110, 3004, 18, 2469, 10663, 202, 202, 2463, 2477, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
double d1 = Double.valueOf(value1).doubleValue(); double d2 = Double.valueOf(value2).doubleValue();
double d1 = dValueOf(value1); double d2 = dValueOf(value2);
public int compare( String value1, String value2){ try { double d1 = Double.valueOf(value1).doubleValue(); double d2 = Double.valueOf(value2).doubleValue(); long d1V = Double.doubleToLongBits(d1); long d2V = Double.doubleToLongBits(d2); if (d1 > d2) { return 1; } if (d1 < d2) { return -1; } if (d1V == d2V) { return 0; } return (d1V < d2V) ? -1 : 1; } catch (NumberFormatException e){ //REVISIT: should we throw exception?? return -1; } }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/dc38ef3f474431c6ee975d071441496ac221a110/DoubleDatatypeValidator.java/clean/src/org/apache/xerces/validators/datatype/DoubleDatatypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 509, 3400, 12, 514, 460, 21, 16, 514, 460, 22, 15329, 3639, 775, 288, 13491, 1645, 302, 21, 273, 3698, 18, 1132, 951, 12, 1132, 21, 2934, 9056, 620, 5621, 5411, 1645, 302, 22, 273, 3698, 18, 1132, 951, 12, 1132, 22, 2934, 9056, 620, 5621, 5411, 1525, 302, 21, 58, 273, 3698, 18, 9056, 30220, 6495, 12, 72, 21, 1769, 5411, 1525, 302, 22, 58, 273, 3698, 18, 9056, 30220, 6495, 12, 72, 22, 1769, 5411, 309, 261, 72, 21, 405, 302, 22, 13, 288, 7734, 327, 404, 31, 5411, 289, 5411, 309, 261, 72, 21, 411, 302, 22, 13, 288, 7734, 327, 300, 21, 31, 5411, 289, 5411, 309, 261, 72, 21, 58, 422, 302, 22, 58, 13, 288, 7734, 327, 374, 31, 5411, 289, 5411, 327, 261, 72, 21, 58, 411, 302, 22, 58, 13, 692, 300, 21, 294, 404, 31, 3639, 289, 1044, 261, 1854, 9291, 425, 15329, 5411, 368, 862, 26780, 1285, 30, 1410, 732, 604, 1520, 14646, 5411, 327, 300, 21, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 509, 3400, 12, 514, 460, 21, 16, 514, 460, 22, 15329, 3639, 775, 288, 13491, 1645, 302, 21, 273, 3698, 18, 1132, 951, 12, 1132, 21, 2934, 9056, 620, 5621, 5411, 1645, 302, 22, 273, 3698, 18, 1132, 951, 12, 1132, 22, 2934, 9056, 620, 5621, 5411, 1525, 302, 21, 58, 273, 3698, 18, 9056, 30220, 6495, 12, 72, 21, 1769, 5411, 1525, 302, 22, 58, 273, 3698, 18, 9056, 30220, 6495, 12, 72, 22, 1769, 5411, 309, 261, 72, 21, 405, 302, 22, 13, 288, 7734, 327, 404, 31, 5411, 289, 5411, 309, 261, 72, 21, 411, 302, 22, 13, 288, 7734, 327, 300, 21, 31, 5411, 289, 5411, 309, 261, 72, 21, 58, 422, 302, 2 ]
SvnInfoUtils.loadInfo(); }
SvnInfoUtils.loadInfo(); }
public void loadInfo() throws LogSyntaxException, IOException { SvnInfoUtils.loadInfo(); }
49097 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49097/ffa1c324801d98049a82ae956cc8c12bfc850739/RepositoryFileManager.java/buggy/src/net/sf/statcvs/input/RepositoryFileManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 966, 1435, 1216, 1827, 14714, 16, 1860, 288, 3639, 348, 25031, 966, 1989, 18, 945, 966, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 966, 1435, 1216, 1827, 14714, 16, 1860, 288, 3639, 348, 25031, 966, 1989, 18, 945, 966, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Constraint c = (Constraint)this.appliedConstraints.get( SIZE_CONSTRAINT ); if(size == null) { this.appliedConstraints.remove( SIZE_CONSTRAINT ); } else { if(c != null) { c.setParameter(size); } else { c = new SizeConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(size); this.appliedConstraints.put( SIZE_CONSTRAINT, c ); } } }
Constraint c = (Constraint)this.appliedConstraints.get( SIZE_CONSTRAINT ); if(size == null) { this.appliedConstraints.remove( SIZE_CONSTRAINT ); } else { if(c != null) { c.setParameter(size); } else { c = new SizeConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(size); this.appliedConstraints.put( SIZE_CONSTRAINT, c ); } } }
public void setSize(Range size) { Constraint c = (Constraint)this.appliedConstraints.get( SIZE_CONSTRAINT ); if(size == null) { this.appliedConstraints.remove( SIZE_CONSTRAINT ); } else { if(c != null) { c.setParameter(size); } else { c = new SizeConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(size); this.appliedConstraints.put( SIZE_CONSTRAINT, c ); } } }
51826 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51826/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19106, 12, 2655, 963, 13, 288, 202, 202, 5806, 276, 273, 261, 5806, 13, 2211, 18, 438, 3110, 4878, 18, 588, 12, 11963, 67, 15199, 11272, 202, 202, 430, 12, 1467, 422, 446, 13, 288, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 4479, 12, 11963, 67, 15199, 11272, 6862, 202, 97, 202, 202, 12107, 288, 1082, 202, 430, 12, 71, 480, 446, 13, 288, 9506, 202, 71, 18, 542, 1662, 12, 1467, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 71, 273, 394, 6321, 5806, 5621, 9506, 202, 71, 18, 542, 3494, 2093, 797, 12, 2211, 18, 995, 310, 797, 1769, 9506, 202, 71, 18, 542, 13073, 12, 2211, 18, 4468, 461, 1769, 9506, 202, 71, 18, 542, 1662, 12, 1467, 1769, 6862, 6862, 202, 2211, 18, 438, 3110, 4878, 18, 458, 12, 11963, 67, 15199, 16, 276, 11272, 1082, 202, 97, 6862, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19106, 12, 2655, 963, 13, 288, 202, 202, 5806, 276, 273, 261, 5806, 13, 2211, 18, 438, 3110, 4878, 18, 588, 12, 11963, 67, 15199, 11272, 202, 202, 430, 12, 1467, 422, 446, 13, 288, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 4479, 12, 11963, 67, 15199, 11272, 6862, 202, 97, 202, 202, 12107, 288, 1082, 202, 430, 12, 71, 480, 446, 13, 288, 9506, 202, 71, 18, 542, 1662, 12, 1467, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 202, 71, 273, 394, 6321, 5806, 5621, 9506, 202, 71, 18, 542, 3494, 2093, 797, 12, 2211, 18, 995, 310, 797, 1769, 9506, 202, 71, 18, 542, 13073, 12, 2211, 18, 4468, 461, 2 ]
for (Iterator<EdgeType> i = incomingEdgeIterator(v); i.hasNext(); )
for (Iterator<EdgeType> i = incomingEdgeIterator(v); i.hasNext();)
public void removeVertex(VertexType v) { if (!vertexList.remove(v)) throw new IllegalArgumentException("removing nonexistent vertex!"); for (Iterator<EdgeType> i = incomingEdgeIterator(v); i.hasNext(); ) removeEdge(i.next()); for (Iterator<EdgeType> i = outgoingEdgeIterator(v); i.hasNext(); ) removeEdge(i.next()); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/AbstractGraph.java/clean/findbugs/src/java/edu/umd/cs/findbugs/graph/AbstractGraph.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 6475, 12, 6475, 559, 331, 13, 288, 202, 202, 430, 16051, 15281, 682, 18, 4479, 12, 90, 3719, 1082, 202, 12849, 394, 2754, 2932, 2764, 13767, 1661, 19041, 5253, 4442, 1769, 202, 202, 1884, 261, 3198, 32, 6098, 559, 34, 277, 273, 6935, 6098, 3198, 12, 90, 1769, 277, 18, 5332, 2134, 5621, 262, 1082, 202, 4479, 6098, 12, 77, 18, 4285, 10663, 202, 202, 1884, 261, 3198, 32, 6098, 559, 34, 277, 273, 12902, 6098, 3198, 12, 90, 1769, 277, 18, 5332, 2134, 5621, 262, 1082, 202, 4479, 6098, 12, 77, 18, 4285, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 6475, 12, 6475, 559, 331, 13, 288, 202, 202, 430, 16051, 15281, 682, 18, 4479, 12, 90, 3719, 1082, 202, 12849, 394, 2754, 2932, 2764, 13767, 1661, 19041, 5253, 4442, 1769, 202, 202, 1884, 261, 3198, 32, 6098, 559, 34, 277, 273, 6935, 6098, 3198, 12, 90, 1769, 277, 18, 5332, 2134, 5621, 262, 1082, 202, 4479, 6098, 12, 77, 18, 4285, 10663, 202, 202, 1884, 261, 3198, 32, 6098, 559, 34, 277, 273, 12902, 6098, 3198, 12, 90, 1769, 277, 18, 5332, 2134, 5621, 262, 1082, 202, 4479, 6098, 12, 77, 18, 4285, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
messageComponent.add(new JLabel(MESSAGE));
messageComponent.add(new JLabel(MESSAGE));
private void initComponents() { messageComponent = new JPanel(); messageComponent.setLayout(new BoxLayout(messageComponent, BoxLayout.Y_AXIS)); messageComponent.add(new JLabel(MESSAGE)); messageComponent.add(new JLabel(BODY)); messageComponent.setVisible(false); annotatedMap = new HashMap(); annotationArea = new MultilineLabel(); annotationArea.setBorder(new TitledBorder("Annotation")); annotationArea.setEditable(true); listModel = new DefaultListModel(); annotatedList = new JList(listModel); listComponent = new JScrollPane(annotatedList); listComponent.setVisible(false); annotatedList.setBorder(new TitledBorder("Annotated items")); annotatedList.setSelectionMode( ListSelectionModel.SINGLE_INTERVAL_SELECTION); annotatedList.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { showSingleAnnotation(); } } }); annotationArea.getDocument().addDocumentListener( new DocumentListener() { /** * Indicates that the object is annotated. * @see DocumentListener#insertUpdate(DocumentEvent) */ public void insertUpdate(DocumentEvent de) { handleAnnotationAreaInsert(); } /** * Indicates that the object is annotated. * @see DocumentListener#removeUpdate(DocumentEvent) */ public void removeUpdate(DocumentEvent de) { handleAnnotationAreaInsert(); } /** * Required by I/F but no-op implementation in our case. * @see DocumentListener#changedUpdate(DocumentEvent) */ public void changedUpdate(DocumentEvent de) {} }); }
55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/464efde90db6bc5095c0a7e5952f51ad0f37ca86/AnnotatorUI.java/clean/SRC/org/openmicroscopy/shoola/agents/util/annotator/view/AnnotatorUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 7171, 1435, 225, 288, 282, 202, 2150, 1841, 273, 394, 24048, 5621, 282, 202, 2150, 1841, 18, 542, 3744, 12, 2704, 8549, 3744, 12, 2150, 1841, 16, 565, 6862, 9506, 202, 3514, 3744, 18, 61, 67, 25614, 10019, 282, 202, 2150, 1841, 18, 1289, 12, 2704, 21403, 12, 8723, 10019, 202, 202, 2150, 1841, 18, 1289, 12, 2704, 21403, 12, 16691, 10019, 282, 202, 2150, 1841, 18, 542, 6207, 12, 5743, 1769, 282, 202, 18338, 690, 863, 273, 394, 4317, 5621, 282, 202, 11495, 5484, 273, 394, 7778, 12554, 2224, 5621, 282, 202, 11495, 5484, 18, 542, 8107, 12, 2704, 399, 305, 1259, 8107, 2932, 3257, 7923, 1769, 282, 202, 11495, 5484, 18, 542, 15470, 12, 3767, 1769, 282, 202, 1098, 1488, 273, 394, 2989, 682, 1488, 5621, 282, 202, 18338, 690, 682, 273, 394, 804, 682, 12, 1098, 1488, 1769, 282, 202, 1098, 1841, 273, 394, 804, 26360, 12, 18338, 690, 682, 1769, 282, 202, 1098, 1841, 18, 542, 6207, 12, 5743, 1769, 282, 202, 18338, 690, 682, 18, 542, 8107, 12, 2704, 399, 305, 1259, 8107, 2932, 17985, 1516, 7923, 1769, 282, 202, 18338, 690, 682, 18, 542, 6233, 2309, 12, 2868, 987, 6233, 1488, 18, 20184, 67, 16435, 67, 1090, 15445, 1769, 282, 202, 18338, 690, 682, 18, 1289, 9186, 2223, 12, 2704, 17013, 4216, 1435, 288, 1850, 1071, 918, 7644, 27633, 12, 9186, 1133, 425, 13, 288, 2868, 309, 261, 73, 18, 588, 6563, 1380, 1435, 422, 404, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 7171, 1435, 225, 288, 282, 202, 2150, 1841, 273, 394, 24048, 5621, 282, 202, 2150, 1841, 18, 542, 3744, 12, 2704, 8549, 3744, 12, 2150, 1841, 16, 565, 6862, 9506, 202, 3514, 3744, 18, 61, 67, 25614, 10019, 282, 202, 2150, 1841, 18, 1289, 12, 2704, 21403, 12, 8723, 10019, 202, 202, 2150, 1841, 18, 1289, 12, 2704, 21403, 12, 16691, 10019, 282, 202, 2150, 1841, 18, 542, 6207, 12, 5743, 1769, 282, 202, 18338, 690, 863, 273, 394, 4317, 5621, 282, 202, 11495, 5484, 273, 394, 7778, 12554, 2224, 5621, 282, 202, 11495, 5484, 18, 542, 8107, 12, 2704, 399, 305, 1259, 8107, 2932, 3257, 7923, 1769, 282, 202, 11495, 5484, 18, 542, 15470, 2 ]
connector = (TracRepositoryConnector) manager.getRepositoryConnector(TracUiPlugin.REPOSITORY_KIND); connector.setForceSyncExec(true);
TasksUiPlugin.getSynchronizationManager().setForceSyncExec(true);
protected void setUp() throws Exception { super.setUp(); data = TestFixture.init010(); manager = TasksUiPlugin.getRepositoryManager(); manager.clearRepositories(); connector = (TracRepositoryConnector) manager.getRepositoryConnector(TracUiPlugin.REPOSITORY_KIND); connector.setForceSyncExec(true); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/72d80f551ca060c2734122d72e119e0cdf881f12/RepositorySearchQueryTest.java/clean/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/RepositorySearchQueryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 892, 273, 7766, 26392, 18, 2738, 23254, 5621, 202, 202, 4181, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 5621, 202, 202, 4181, 18, 8507, 18429, 5621, 202, 202, 23159, 273, 261, 1609, 71, 3305, 7487, 13, 3301, 18, 588, 3305, 7487, 12, 1609, 71, 13943, 3773, 18, 862, 30986, 67, 47, 2356, 1769, 202, 202, 23159, 18, 542, 10997, 4047, 1905, 12, 3767, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 892, 273, 7766, 26392, 18, 2738, 23254, 5621, 202, 202, 4181, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 5621, 202, 202, 4181, 18, 8507, 18429, 5621, 202, 202, 23159, 273, 261, 1609, 71, 3305, 7487, 13, 3301, 18, 588, 3305, 7487, 12, 1609, 71, 13943, 3773, 18, 862, 30986, 67, 47, 2356, 1769, 202, 202, 23159, 18, 542, 10997, 4047, 1905, 12, 3767, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
synchronized (this) { notifyAll(); }
private void finish(int code, PeerNode next) { Logger.minor(this, "Finished: "+code+" on "+this, new Exception("debug")); synchronized(this) { if(status != NOT_FINISHED) throw new IllegalStateException("finish() called with "+code+" when was already "+status); setStatusTime = System.currentTimeMillis(); if((code == ROUTE_NOT_FOUND) && !sentRequest) code = ROUTE_REALLY_NOT_FOUND; status = code; notifyAll(); Logger.minor(this, "Set status code: "+getStatusString()+" on "+uid); // Now wait for transfers, or for downstream transfer notifications. if(cw != null) { while(!allTransfersCompleted) { try { wait(10*1000); } catch (InterruptedException e) { // Try again } } } else { Logger.minor(this, "No completion waiter"); // There weren't any transfers allTransfersCompleted = true; } notifyAll(); } Logger.minor(this, "Returning from finish()"); }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/8cd7a146e9bcdf8fcb9e22e02ee147e5bb867e76/CHKInsertSender.java/buggy/src/freenet/node/CHKInsertSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 6015, 815, 15666, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 918, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 4076, 12, 474, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 981, 16, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 10669, 3205, 15666, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 1024, 13, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 288, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 4242, 18, 17364, 12, 2211, 16, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 315, 10577, 30, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 13773, 710, 9078, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 603, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 13773, 2211, 16, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 14783, 15666, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 1185, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 6015, 815, 15666, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 918, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 4076, 12, 474, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 981, 16, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 10669, 3205, 15666, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 1024, 13, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 288, 22043, 261, 2211, 13, 288, 5066, 1595, 5621, 289, 3852, 261, 2211, 13, 288, 5066, 1595, 2 ]
newB.copyRowsAndColsAt(addVars,0,B,removeVars,addVars-removeVars,oldStateCount-removeVars,removeVars);
newB.copyRowsAndColsAt(0,0,B,0,addVars-removeVars,removeVars,popCount-(addVars-removeVars)); newB.copyRowsAndColsAt(addVars,0,B,removeVars,addVars-removeVars,oldStateCount-removeVars,popCount-(addVars-removeVars));
public LinearFilterRepresentation changePeek(int newPeek) { int oldPeek = this.peekCount; if(oldPeek >= newPeek) throw new IllegalArgumentException("need param newPeek(" + newPeek + ") to be < oldPeek(" + oldPeek + ")"); int pushCount = this.getPushCount(); int popCount = this.getPopCount(); int oldStateCount = this.getStateCount(); int removeVars = oldPeek - popCount; int addVars = newPeek - popCount; int newStateCount = oldStateCount - removeVars + addVars; FilterMatrix A, B, C, D; FilterMatrix newA, newB, newC, newD; A = this.getA(); B = this.getB(); C = this.getC(); D = this.getD(); newA = new FilterMatrix(newStateCount,newStateCount); newA.copyRowsAndColsAt(addVars,addVars,A,removeVars,removeVars,oldStateCount-removeVars,oldStateCount-removeVars); newA.copyRowsAndColsAt(addVars,0,A,removeVars,0,oldStateCount-removeVars,removeVars); newA.copyRowsAndColsAt(addVars,removeVars,B,removeVars,0,oldStateCount-removeVars,addVars-removeVars); newB = new FilterMatrix(newStateCount,popCount); newB.copyRowsAndColsAt(addVars,0,B,removeVars,addVars-removeVars,oldStateCount-removeVars,removeVars); for(int i=0; i<addVars; i++) newB.setElement(i,i,ComplexNumber.ONE); //LinearPrinter.println("A2init-new" + tempA2.toString()); //LinearPrinter.println("B2init-new" + tempB2.toString()); newC = new FilterMatrix(pushCount,newStateCount); newC.copyColumnsAt(addVars,C,removeVars,oldStateCount-removeVars); newC.copyColumnsAt(0,C,0,removeVars); newC.copyColumnsAt(removeVars,D,0,addVars-removeVars); newD = new FilterMatrix(pushCount,popCount); newD.copyColumnsAt(0,D,addVars-removeVars,removeVars); FilterVector init = this.getInit(); FilterVector newInit = new FilterVector(newStateCount); newInit.copyAt(0,addVars-removeVars,init); LinearFilterRepresentation newRep; newRep = new LinearFilterRepresentation(newA,newB,newC,newD,newInit,newPeek); return newRep; }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/6dab7bd32d089d2e1f316ad8cc78687adb70017a/LinearFilterRepresentation.java/buggy/streams/src/at/dms/kjc/sir/statespace/LinearFilterRepresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13921, 1586, 13742, 2549, 30950, 12, 474, 394, 30950, 13, 288, 202, 474, 1592, 30950, 273, 333, 18, 347, 3839, 1380, 31, 202, 430, 12, 1673, 30950, 1545, 394, 30950, 13, 202, 565, 604, 394, 2754, 2932, 14891, 579, 394, 30950, 2932, 397, 394, 30950, 397, 9369, 358, 506, 411, 1592, 30950, 2932, 397, 1592, 30950, 397, 7310, 1769, 225, 202, 474, 1817, 1380, 273, 333, 18, 588, 7621, 1380, 5621, 202, 474, 1843, 1380, 273, 333, 18, 588, 7049, 1380, 5621, 202, 474, 26440, 1380, 273, 333, 18, 588, 1119, 1380, 5621, 202, 474, 1206, 5555, 273, 1592, 30950, 300, 1843, 1380, 31, 202, 474, 527, 5555, 273, 394, 30950, 300, 1843, 1380, 31, 202, 474, 15907, 1380, 273, 26440, 1380, 300, 1206, 5555, 397, 527, 5555, 31, 202, 1586, 4635, 432, 16, 605, 16, 385, 16, 463, 31, 202, 1586, 4635, 394, 37, 16, 394, 38, 16, 394, 39, 16, 394, 40, 31, 9506, 202, 37, 273, 333, 18, 588, 37, 5621, 202, 38, 273, 333, 18, 588, 38, 5621, 202, 39, 273, 333, 18, 588, 39, 5621, 202, 40, 273, 333, 18, 588, 40, 5621, 202, 2704, 37, 273, 394, 4008, 4635, 12, 2704, 1119, 1380, 16, 2704, 1119, 1380, 1769, 202, 2704, 37, 18, 3530, 4300, 1876, 8011, 861, 12, 1289, 5555, 16, 1289, 5555, 16, 37, 16, 4479, 5555, 16, 4479, 5555, 16, 1673, 1119, 1380, 17, 4479, 5555, 16, 1673, 1119, 1380, 17, 4479, 5555, 1769, 202, 2704, 37, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 13921, 1586, 13742, 2549, 30950, 12, 474, 394, 30950, 13, 288, 202, 474, 1592, 30950, 273, 333, 18, 347, 3839, 1380, 31, 202, 430, 12, 1673, 30950, 1545, 394, 30950, 13, 202, 565, 604, 394, 2754, 2932, 14891, 579, 394, 30950, 2932, 397, 394, 30950, 397, 9369, 358, 506, 411, 1592, 30950, 2932, 397, 1592, 30950, 397, 7310, 1769, 225, 202, 474, 1817, 1380, 273, 333, 18, 588, 7621, 1380, 5621, 202, 474, 1843, 1380, 273, 333, 18, 588, 7049, 1380, 5621, 202, 474, 26440, 1380, 273, 333, 18, 588, 1119, 1380, 5621, 202, 474, 1206, 5555, 273, 1592, 30950, 300, 1843, 1380, 31, 202, 474, 527, 5555, 273, 394, 30950, 300, 1843, 1380, 31, 202, 474, 2 ]
public static void sysCopy(Address dst, Address src, int cnt) {}
public static void sysCopy(Address dst, Address src, Extent cnt) {}
public static void sysCopy(Address dst, Address src, int cnt) {}
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/9b22bffbb06319b08a93aed2a8f11de10ba3fecf/VM_SysCall.java/buggy/rvm/src/vm/runtime/VM_SysCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2589, 2951, 12, 1887, 3046, 16, 5267, 1705, 16, 509, 7599, 13, 2618, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2589, 2951, 12, 1887, 3046, 16, 5267, 1705, 16, 509, 7599, 13, 2618, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void mNO_CURLY() throws RecognitionException { try { ruleNestingLevel++; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1407:4: (~ ('{'|'}')) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1407:4: ~ ('{'|'}') { if ( (input.LA(1)>='\u0000' && input.LA(1)<='z')||input.LA(1)=='|'||(input.LA(1)>='~' && input.LA(1)<='\uFFFE') ) { input.consume(); failed=false; } else { if (backtracking>0) {failed=true; return ;} MismatchedSetException mse = new MismatchedSetException(null,input); recover(mse); throw mse; } } } finally { ruleNestingLevel--; } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/63bc7036e62ae854cec463d59712c173f74e984c/DRLLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 3417, 67, 26314, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 1720, 50, 10100, 2355, 9904, 31, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3461, 8642, 30, 24, 30, 261, 98, 7707, 27828, 16637, 1713, 3719, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3461, 8642, 30, 24, 30, 4871, 7707, 27828, 16637, 1713, 13, 5411, 288, 5411, 309, 261, 261, 2630, 18, 2534, 12, 21, 13, 34, 2218, 64, 89, 2787, 11, 597, 810, 18, 2534, 12, 21, 13, 32, 2218, 94, 6134, 20081, 2630, 18, 2534, 12, 21, 13, 18920, 16637, 20081, 12, 2630, 18, 2534, 12, 21, 13, 34, 2218, 20206, 597, 810, 18, 2534, 12, 21, 13, 32, 2218, 64, 89, 2246, 8090, 6134, 262, 288, 7734, 810, 18, 21224, 5621, 5411, 2535, 33, 5743, 31, 5411, 289, 5411, 469, 288, 7734, 309, 261, 823, 6440, 34, 20, 13, 288, 7307, 33, 3767, 31, 327, 274, 97, 7734, 28102, 18689, 273, 10792, 394, 28102, 12, 2011, 16, 2630, 1769, 7734, 5910, 12, 81, 307, 1769, 565, 604, 18689, 31, 5411, 289, 5411, 289, 3639, 289, 3639, 3095, 288, 5411, 1720, 50, 10100, 2355, 413, 31, 3639, 289, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 3417, 67, 26314, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 1720, 50, 10100, 2355, 9904, 31, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3461, 8642, 30, 24, 30, 261, 98, 7707, 27828, 16637, 1713, 3719, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3461, 8642, 30, 24, 30, 4871, 7707, 27828, 16637, 1713, 13, 5411, 288, 5411, 309, 261, 261, 2630, 18, 2534, 2 ]
rewind(_m213); inputState.guessing--;
else if ((LA(1)==LT)) { elementWithoutAttributes(); astFactory.addASTChild(currentAST, returnAST); elementConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } returnAST = elementConstructor_AST; } finally { traceOut("elementConstructor");
public final void elementConstructor() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST elementConstructor_AST = null; String name= null; //lexer.wsExplicit= false; boolean synPredMatched213 = false; if (((LA(1)==LT))) { int _m213 = mark(); synPredMatched213 = true; inputState.guessing++; try { { match(LT); qName(); { match(_tokenSet_11); } } } catch (RecognitionException pe) { synPredMatched213 = false; } rewind(_m213); inputState.guessing--; } if ( synPredMatched213 ) { elementWithAttributes(); astFactory.addASTChild(currentAST, returnAST); elementConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else if ((LA(1)==LT)) { elementWithoutAttributes(); astFactory.addASTChild(currentAST, returnAST); elementConstructor_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; } else { throw new NoViableAltException(LT(1), getFilename()); } returnAST = elementConstructor_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/79ea96165d48d41d327ad2c494f4a875d480c69a/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 930, 6293, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 930, 6293, 67, 9053, 273, 446, 31, 6862, 202, 780, 508, 33, 446, 31, 1082, 202, 759, 31731, 18, 4749, 17186, 33, 629, 31, 25083, 202, 6494, 6194, 10391, 15400, 22, 3437, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 12050, 20349, 288, 1082, 202, 474, 389, 81, 22, 3437, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 22, 3437, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 1916, 12, 12050, 1769, 9506, 202, 85, 461, 5621, 9506, 202, 95, 9506, 202, 1916, 24899, 2316, 694, 67, 2499, 1769, 9506, 202, 97, 9506, 202, 97, 1082, 202, 97, 1082, 202, 14683, 261, 5650, 7909, 503, 2804, 13, 288, 9506, 202, 11982, 10391, 15400, 22, 3437, 273, 629, 31, 1082, 202, 97, 1082, 202, 266, 10094, 24899, 81, 22, 3437, 1769, 1082, 202, 2630, 1119, 18, 20885, 310, 413, 31, 202, 202, 97, 202, 202, 430, 261, 6194, 10391, 15400, 22, 3437, 262, 288, 1082, 202, 2956, 1190, 2498, 5621, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 1082, 202, 2956, 6293, 67, 9053, 273, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 930, 6293, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 930, 6293, 67, 9053, 273, 446, 31, 6862, 202, 780, 508, 33, 446, 31, 1082, 202, 759, 31731, 18, 4749, 17186, 33, 629, 31, 25083, 202, 6494, 6194, 10391, 15400, 22, 3437, 273, 629, 31, 202, 202, 430, 261, 12443, 2534, 12, 21, 13, 631, 12050, 20349, 288, 1082, 202, 474, 389, 81, 22, 3437, 273, 2267, 5621, 1082, 202, 11982, 10391, 15400, 22, 3437, 273, 638, 31, 1082, 202, 2630, 1119, 2 ]
if (jj_2_54(2147483647)) {
if (jj_2_55(2147483647)) {
final public void forInitLookahead() throws ParseException { if (jj_2_54(2147483647)) { localVariableDeclarationLookahead(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case LONG_LITERAL: case FLOAT_LITERAL: case DOUBLE_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case INCREMENT: case DECREMENT: statementExpressionListLookahead(); break; default: jj_la1[188] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 364, 2570, 9794, 11617, 1435, 1216, 10616, 288, 565, 309, 261, 78, 78, 67, 22, 67, 2539, 12, 22, 3461, 30623, 30792, 3719, 288, 1377, 1191, 26547, 9794, 11617, 5621, 565, 289, 469, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 18993, 30, 1377, 648, 20660, 30, 1377, 648, 12090, 30, 1377, 648, 14918, 30, 1377, 648, 4934, 30, 1377, 648, 15483, 30, 1377, 648, 6137, 30, 1377, 648, 14011, 30, 1377, 648, 12887, 30, 1377, 648, 3206, 30, 1377, 648, 20079, 30, 1377, 648, 16459, 654, 30, 1377, 648, 20676, 30, 1377, 648, 5383, 30, 1377, 648, 27085, 30, 1377, 648, 16481, 67, 23225, 30, 1377, 648, 14011, 67, 23225, 30, 1377, 648, 15483, 67, 23225, 30, 1377, 648, 14918, 67, 23225, 30, 1377, 648, 27517, 67, 23225, 30, 1377, 648, 9469, 67, 23225, 30, 1377, 648, 26765, 30, 1377, 648, 511, 15111, 30, 1377, 648, 2120, 23923, 30, 1377, 648, 2030, 23923, 30, 3639, 3021, 2300, 682, 9794, 11617, 5621, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 2643, 28, 65, 273, 10684, 67, 4507, 31, 3639, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 3639, 604, 394, 10616, 5621, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 364, 2570, 9794, 11617, 1435, 1216, 10616, 288, 565, 309, 261, 78, 78, 67, 22, 67, 2539, 12, 22, 3461, 30623, 30792, 3719, 288, 1377, 1191, 26547, 9794, 11617, 5621, 565, 289, 469, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 18993, 30, 1377, 648, 20660, 30, 1377, 648, 12090, 30, 1377, 648, 14918, 30, 1377, 648, 4934, 30, 1377, 648, 15483, 30, 1377, 648, 6137, 30, 1377, 648, 14011, 30, 1377, 648, 12887, 30, 1377, 648, 3206, 30, 1377, 648, 20079, 30, 1377, 648, 16459, 654, 30, 1377, 648, 20676, 30, 1377, 648, 5383, 2 ]
cancelMessage(m);
if (!closed) { cancelMessage(m); }
public void handleCallback(Callback callback) throws HandleCallbackException { if (log.isTraceEnabled()) { log.trace("receiving message " + callback.getParameter() + " from the remoting layer"); } synchronized (closedLock) { Message m = (Message)callback.getParameter(); if (closed) { log.error("Consumer is closed - ignoring message"); //Note - we do not cancel the message if the handler is closed. //If the handler is closed then the corresponding serverconsumerdelegate //is either already closed or about to close, in which case it's deliveries //will be cancelled anyway. } try { //We attempt to put the message in the Channel //The call will return false if the message is not picked up the receiving or listening //thread in which case we need to cancel it boolean handled = false; while (waiting) { //channel.offer will *only* return true if there is a thread waiting to take a //message using take() or poll() hence we can guarantee there is no chance any //messages can arrive and are left in the channel without being handled - this is //why we use a SynchronousChannel :) //We do this in a while loop to deal with a possible race condition where //waiting had been set but the main consumer thread hadn't quite blocked on the call //to take or poll from the channel handled = buffer.offer(m, 0); if (handled) { break; } } if (!handled) { //There is no-one waiting for our message so we cancel it cancelMessage(m); } } catch(InterruptedException e) { String msg = "Interrupted attempt to put message in the delivery buffer"; log.error(msg); throw new HandleCallbackException(msg, e); } } }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/397ef4f4ca297619d7a976503e2912b04d50246f/MessageCallbackHandler.java/buggy/src/main/org/jboss/jms/client/remoting/MessageCallbackHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1640, 2428, 12, 2428, 1348, 13, 1216, 5004, 2428, 503, 282, 288, 1377, 309, 261, 1330, 18, 291, 3448, 1526, 10756, 288, 613, 18, 5129, 2932, 8606, 9288, 883, 315, 397, 1348, 18, 588, 1662, 1435, 397, 315, 628, 326, 849, 17128, 3018, 8863, 289, 1377, 3852, 261, 12204, 2531, 13, 1377, 288, 5375, 2350, 312, 273, 261, 1079, 13, 3394, 18, 588, 1662, 5621, 5375, 309, 261, 12204, 13, 540, 288, 5411, 613, 18, 1636, 2932, 5869, 353, 4375, 300, 14398, 883, 8863, 5411, 368, 8067, 300, 732, 741, 486, 3755, 326, 883, 309, 326, 1838, 353, 4375, 18, 5411, 368, 2047, 326, 1838, 353, 4375, 1508, 326, 4656, 1438, 13230, 22216, 5411, 368, 291, 3344, 1818, 4375, 578, 2973, 358, 1746, 16, 316, 1492, 648, 518, 1807, 11795, 606, 5411, 368, 20194, 506, 13927, 13466, 18, 540, 289, 5375, 775, 540, 288, 27573, 368, 3218, 4395, 358, 1378, 326, 883, 316, 326, 5307, 5411, 368, 1986, 745, 903, 327, 629, 309, 326, 883, 353, 486, 25534, 731, 326, 15847, 578, 13895, 5411, 368, 5930, 316, 1492, 648, 732, 1608, 358, 3755, 518, 13491, 1250, 7681, 273, 629, 31, 5411, 1323, 261, 20241, 13, 5411, 288, 9079, 368, 4327, 18, 23322, 903, 380, 3700, 14, 327, 638, 309, 1915, 353, 279, 2650, 7336, 358, 4862, 279, 9079, 368, 2150, 1450, 4862, 1435, 578, 7672, 1435, 20356, 732, 848, 18779, 1915, 353, 1158, 17920, 1281, 9079, 368, 6833, 848, 2454, 688, 471, 854, 2002, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1640, 2428, 12, 2428, 1348, 13, 1216, 5004, 2428, 503, 282, 288, 1377, 309, 261, 1330, 18, 291, 3448, 1526, 10756, 288, 613, 18, 5129, 2932, 8606, 9288, 883, 315, 397, 1348, 18, 588, 1662, 1435, 397, 315, 628, 326, 849, 17128, 3018, 8863, 289, 1377, 3852, 261, 12204, 2531, 13, 1377, 288, 5375, 2350, 312, 273, 261, 1079, 13, 3394, 18, 588, 1662, 5621, 5375, 309, 261, 12204, 13, 540, 288, 5411, 613, 18, 1636, 2932, 5869, 353, 4375, 300, 14398, 883, 8863, 5411, 368, 8067, 300, 732, 741, 486, 3755, 326, 883, 309, 326, 1838, 353, 4375, 18, 5411, 368, 2047, 326, 1838, 353, 4375, 1508, 326, 4656, 1438, 13230, 22216, 5411, 368, 291, 2 ]
if (element != null) {
if (element != null && resource instanceof IFile && !resource.getFileExtension().equals("class")) {
public void problemsChanged(IResource[] changedResources, boolean isMarkerChange) { try { if (MylarPlugin.getContextManager().getActiveContext() == null) return; for (int i = 0; i < changedResources.length; i++) { IResource resource = changedResources[i];// if (resource instanceof IFile) { try { IMarker[] markers = resource.findMarkers( IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER, false, IResource.DEPTH_INFINITE); IJavaElement element = (IJavaElement)resource.getAdapter(IJavaElement.class); boolean hasError = false; for (int j = 0; j < markers.length; j++) { if (markers[j].getAttribute(IMarker.SEVERITY).equals(IMarker.SEVERITY_ERROR)) { hasError = true; } } if (element != null) { if (!hasError) { MylarPlugin.getContextManager().removeErrorPredictedInterest(element.getHandleIdentifier(), JavaStructureBridge.EXTENSION, true); } else { MylarPlugin.getContextManager().addErrorPredictedInterest(element.getHandleIdentifier(), JavaStructureBridge.EXTENSION, true); } } } catch (ResourceException e) { // ignore missing resources } } // XXX: notify, but using the correct node// MylarPlugin.getTaskscapeManager().notifyPostPresentationSettingsChange(ITaskscapeListener.UpdateKind.UPDATE); // HACK: wrong notification } catch (Exception e) { MylarPlugin.log(e, "could not update on marker change"); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/c7281fd6a41a2b70019835397a3772cf6c8acb37/JavaEditingMonitor.java/clean/org.eclipse.mylyn.java.ui/src/org/eclipse/mylyn/java/JavaEditingMonitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 9688, 5033, 12, 45, 1420, 8526, 3550, 3805, 16, 7734, 1250, 353, 7078, 3043, 13, 288, 5411, 775, 288, 7734, 309, 261, 12062, 7901, 3773, 18, 29120, 1318, 7675, 588, 3896, 1042, 1435, 422, 446, 13, 10792, 327, 31, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3550, 3805, 18, 2469, 31, 277, 27245, 288, 10792, 467, 1420, 1058, 273, 3550, 3805, 63, 77, 15533, 759, 10792, 309, 261, 3146, 1276, 467, 812, 13, 288, 10792, 775, 288, 13491, 467, 7078, 8526, 11754, 273, 1058, 18, 4720, 21644, 12, 27573, 467, 5852, 1488, 7078, 18, 27264, 67, 17391, 67, 3373, 38, 26817, 67, 25989, 16, 27573, 629, 16, 467, 1420, 18, 27479, 67, 706, 7263, 5398, 1769, 13491, 467, 5852, 1046, 930, 273, 261, 45, 5852, 1046, 13, 3146, 18, 588, 4216, 12, 45, 5852, 1046, 18, 1106, 1769, 13491, 1250, 21986, 273, 629, 31, 7682, 364, 261, 474, 525, 273, 374, 31, 525, 411, 11754, 18, 2469, 31, 525, 27245, 288, 18701, 309, 261, 22807, 63, 78, 8009, 588, 1499, 12, 3445, 1313, 264, 18, 1090, 2204, 4107, 2934, 14963, 12, 3445, 1313, 264, 18, 1090, 2204, 4107, 67, 3589, 3719, 288, 27573, 21986, 273, 638, 31, 18701, 289, 7682, 289, 13491, 309, 261, 2956, 480, 446, 597, 1058, 1276, 467, 812, 597, 401, 3146, 18, 29925, 3625, 7675, 14963, 2932, 1106, 6, 3719, 288, 11794, 309, 16051, 5332, 668, 13, 288, 27573, 8005, 7901, 3773, 18, 29120, 1318, 7675, 4479, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 9688, 5033, 12, 45, 1420, 8526, 3550, 3805, 16, 7734, 1250, 353, 7078, 3043, 13, 288, 5411, 775, 288, 7734, 309, 261, 12062, 7901, 3773, 18, 29120, 1318, 7675, 588, 3896, 1042, 1435, 422, 446, 13, 10792, 327, 31, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3550, 3805, 18, 2469, 31, 277, 27245, 288, 10792, 467, 1420, 1058, 273, 3550, 3805, 63, 77, 15533, 759, 10792, 309, 261, 3146, 1276, 467, 812, 13, 288, 10792, 775, 288, 13491, 467, 7078, 8526, 11754, 273, 1058, 18, 4720, 21644, 12, 27573, 467, 5852, 1488, 7078, 18, 27264, 67, 17391, 67, 3373, 38, 26817, 67, 25989, 16, 27573, 629, 16, 467, 1420, 18, 27479, 67, 706, 2 ]
String[] parts = name.split("_"); String language = "";
String tail = StringUtil.trimStart(name, getBaseName(propertiesFile)); tail = StringUtil.trimStart(tail, "_"); String[] parts = tail.split("_"); String language = parts.length == 0 ? "" : parts[0];
public static Locale getLocale(VirtualFile propertiesFile) { String name = propertiesFile.getNameWithoutExtension(); String[] parts = name.split("_"); String language = ""; String country = ""; String variant = ""; for (int i = 1; i < parts.length; i++) { String part = parts[i]; if (part.length() == 2) { language = part; if (i < parts.length - 1 && parts[i + 1].length() == 2) { country = parts[i + 1]; i += 2; while (i < parts.length) { if (variant.length() != 0) variant += "_"; variant += parts[i++]; } } break; } } return new Locale(language,country,variant); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/93b67a4caef7311ea5e4872ee141688788857cbf/PropertiesUtil.java/buggy/source/com/intellij/lang/properties/PropertiesUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6458, 9595, 12, 6466, 812, 1790, 812, 13, 288, 565, 514, 508, 273, 1790, 812, 18, 17994, 8073, 3625, 5621, 565, 514, 8526, 2140, 273, 508, 18, 4939, 2932, 67, 8863, 565, 514, 2653, 273, 1408, 31, 565, 514, 5251, 273, 1408, 31, 565, 514, 5437, 273, 1408, 31, 565, 364, 261, 474, 277, 273, 404, 31, 277, 411, 2140, 18, 2469, 31, 277, 27245, 288, 1377, 514, 1087, 273, 2140, 63, 77, 15533, 1377, 309, 261, 2680, 18, 2469, 1435, 422, 576, 13, 288, 3639, 2653, 273, 1087, 31, 3639, 309, 261, 77, 411, 2140, 18, 2469, 300, 404, 597, 2140, 63, 77, 397, 404, 8009, 2469, 1435, 422, 576, 13, 288, 1850, 5251, 273, 2140, 63, 77, 397, 404, 15533, 1850, 277, 1011, 576, 31, 1850, 1323, 261, 77, 411, 2140, 18, 2469, 13, 288, 5411, 309, 261, 8688, 18, 2469, 1435, 480, 374, 13, 5437, 1011, 8802, 31, 5411, 5437, 1011, 2140, 63, 77, 9904, 15533, 1850, 289, 3639, 289, 3639, 898, 31, 1377, 289, 565, 289, 565, 327, 394, 6458, 12, 4923, 16, 9082, 16, 8688, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6458, 9595, 12, 6466, 812, 1790, 812, 13, 288, 565, 514, 508, 273, 1790, 812, 18, 17994, 8073, 3625, 5621, 565, 514, 8526, 2140, 273, 508, 18, 4939, 2932, 67, 8863, 565, 514, 2653, 273, 1408, 31, 565, 514, 5251, 273, 1408, 31, 565, 514, 5437, 273, 1408, 31, 565, 364, 261, 474, 277, 273, 404, 31, 277, 411, 2140, 18, 2469, 31, 277, 27245, 288, 1377, 514, 1087, 273, 2140, 63, 77, 15533, 1377, 309, 261, 2680, 18, 2469, 1435, 422, 576, 13, 288, 3639, 2653, 273, 1087, 31, 3639, 309, 261, 77, 411, 2140, 18, 2469, 300, 404, 597, 2140, 63, 77, 397, 404, 8009, 2469, 1435, 422, 576, 13, 288, 1850, 5251, 273, 2 ]
Boolean svgFlag = ( Boolean ) options
Boolean svgFlag = (Boolean) options
public void runAndRenderReport( IViewerReportDesignHandle design, String outputDocName, InputOptions options, Map parameters, OutputStream out, List activeIds ) throws ReportServiceException { // TODO: outputDocName is not used... String reportDesignName = design.getFileName( ); HttpServletRequest request = ( HttpServletRequest ) options .getOption( InputOptions.OPT_REQUEST ); Locale locale = ( Locale ) options.getOption( InputOptions.OPT_LOCALE ); Boolean isMasterPageContent = ( Boolean ) options .getOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT ); Boolean svgFlag = ( Boolean ) options .getOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT ); String format = ( String ) options .getOption( InputOptions.OPT_RENDER_FORMAT ); try { IReportRunnable runnable = ReportEngineService.getInstance( ) .openReportDesign( reportDesignName ); Map parsedParams = getParsedParameters( design, options, parameters ); ReportEngineService.getInstance( ) .runAndRenderReport( request, runnable, out, format, locale, parsedParams, isMasterPageContent.booleanValue( ), svgFlag.booleanValue( ) ); } catch ( RemoteException e ) { throw new ReportServiceException( e.getLocalizedMessage( ) ); } catch ( EngineException e ) { throw new ReportServiceException( e.getLocalizedMessage( ) ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/1ff9aa843f70ddf72ba7891c54d9d7216c9063f5/BirtViewerReportService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1876, 3420, 4820, 12, 467, 18415, 4820, 15478, 3259, 8281, 16, 1082, 202, 780, 876, 1759, 461, 16, 2741, 1320, 702, 16, 1635, 1472, 16, 1082, 202, 4632, 596, 16, 987, 2695, 2673, 262, 1216, 8706, 15133, 202, 95, 202, 202, 759, 2660, 30, 876, 1759, 461, 353, 486, 1399, 2777, 202, 202, 780, 2605, 15478, 461, 273, 8281, 18, 588, 4771, 12, 11272, 202, 202, 2940, 18572, 590, 273, 261, 9984, 262, 702, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 11272, 202, 202, 3916, 2573, 273, 261, 6458, 262, 702, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 11272, 202, 202, 5507, 353, 7786, 1964, 1350, 273, 261, 3411, 262, 702, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5127, 67, 28045, 67, 11219, 67, 9689, 11272, 202, 202, 5507, 9804, 4678, 273, 261, 3411, 262, 702, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5127, 67, 28045, 67, 11219, 67, 9689, 11272, 202, 202, 780, 740, 273, 261, 514, 262, 702, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25230, 67, 7254, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 45, 4820, 20013, 14685, 273, 8706, 4410, 1179, 18, 588, 1442, 12, 262, 6862, 202, 18, 3190, 4820, 15478, 12, 2605, 15478, 461, 11272, 1082, 202, 863, 2707, 1370, 273, 25406, 2402, 12, 8281, 16, 702, 16, 1472, 11272, 1082, 202, 4820, 4410, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1876, 3420, 4820, 12, 467, 18415, 4820, 15478, 3259, 8281, 16, 1082, 202, 780, 876, 1759, 461, 16, 2741, 1320, 702, 16, 1635, 1472, 16, 1082, 202, 4632, 596, 16, 987, 2695, 2673, 262, 1216, 8706, 15133, 202, 95, 202, 202, 759, 2660, 30, 876, 1759, 461, 353, 486, 1399, 2777, 202, 202, 780, 2605, 15478, 461, 273, 8281, 18, 588, 4771, 12, 11272, 202, 202, 2940, 18572, 590, 273, 261, 9984, 262, 702, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 11272, 202, 202, 3916, 2573, 273, 261, 6458, 262, 702, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 11272, 202, 202, 5507, 353, 7786, 1964, 1350, 2 ]
public String curly_chunk() throws RecognitionException { String text; Token any=null; String c = null; text = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:798:17: ( ( options {greedy=false; } : '{' c= curly_chunk '}' | any= . )* ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:798:17: ( options {greedy=false; } : '{' c= curly_chunk '}' | any= . )* { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:798:17: ( options {greedy=false; } : '{' c= curly_chunk '}' | any= . )* loop54: do { int alt54=3; switch ( input.LA(1) ) { case 25: alt54=3; break; case 24: alt54=1; break; case EOL: case ID: case INT: case BOOL: case STRING: case FLOAT: case MISC: case WS: case SH_STYLE_SINGLE_LINE_COMMENT: case C_STYLE_SINGLE_LINE_COMMENT: case MULTI_LINE_COMMENT: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: alt54=2; break; } switch (alt54) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:799:25: '{' c= curly_chunk '}' { match(input,24,FOLLOW_24_in_curly_chunk2224); following.push(FOLLOW_curly_chunk_in_curly_chunk2228); c=curly_chunk(); following.pop(); match(input,25,FOLLOW_25_in_curly_chunk2230); //System.err.println( "chunk [" + c + "]" ); if ( c == null ) { c = ""; } if ( text == null ) { text = "{ " + c + " }"; } else { text = text + " { " + c + " }"; } } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:811:19: any= . { any=(Token)input.LT(1); matchAny(input); //System.err.println( "any [" + any.getText() + "]" ); if ( text == null ) { text = any.getText(); } else { text = text + " " + any.getText(); } } break; default : break loop54; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return text; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/506adcf4556609ba2040aab4c53c1e38dbf7c80e/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 29270, 67, 6551, 1435, 1216, 9539, 288, 6647, 514, 977, 31, 3639, 3155, 1281, 33, 2011, 31, 3639, 514, 276, 273, 446, 31, 540, 202, 202, 955, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 7235, 28, 30, 4033, 30, 261, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 9790, 276, 33, 29270, 67, 6551, 9571, 571, 1281, 33, 263, 8618, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 7235, 28, 30, 4033, 30, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 9790, 276, 33, 29270, 67, 6551, 9571, 571, 1281, 33, 263, 8618, 5411, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 7235, 28, 30, 4033, 30, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 9790, 276, 33, 29270, 67, 6551, 9571, 571, 1281, 33, 263, 8618, 5411, 2798, 6564, 30, 5411, 741, 288, 7734, 509, 3770, 6564, 33, 23, 31, 7734, 1620, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 29270, 67, 6551, 1435, 1216, 9539, 288, 6647, 514, 977, 31, 3639, 3155, 1281, 33, 2011, 31, 3639, 514, 276, 273, 446, 31, 540, 202, 202, 955, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 7235, 28, 30, 4033, 30, 261, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 9790, 276, 33, 29270, 67, 6551, 9571, 571, 1281, 33, 263, 8618, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 2 ]
iVisited.accept(_Payload);
_Payload.visitSelfNode(iVisited);
public void visitSelfNode(SelfNode iVisited) { iVisited.accept(_Payload); }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/buggy/org/jruby/nodes/visitor/DefaultIteratorVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 10084, 907, 12, 10084, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 10084, 907, 12, 10084, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jj_la1[13] = jj_gen;
jj_la1[14] = jj_gen;
static final public void ConstructorPattern() throws ParseException { /*@bgen(jjtree) ConstructorPattern */ ASTConstructorPattern jjtn000 = new ASTConstructorPattern(JJTCONSTRUCTORPATTERN); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token name; try { label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case METHOD_ANNOTATION: ; break; default: jj_la1[12] = jj_gen; break label_7; } MethodAttribute(); } label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case METHOD_PUBLIC: case METHOD_PROTECTED: case METHOD_PRIVATE: case METHOD_SYNCHRONIZED: case METHOD_NOT: ; break; default: jj_la1[13] = jj_gen; break label_8; } ConstructorModifier(); } name = jj_consume_token(METHOD_CLASS_PATTERN); if (!name.image.endsWith("new")) { {if (true) throw new RuntimeException("constructor pattern must have 'new' as method name");} } jjtn000.setFullNamePattern(name.image); Parameters(); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/773e62df340910756fa4992c37d1a6531e796a5c/ExpressionParser.java/clean/aspectwerkz3/src/main/org/codehaus/aspectwerkz/expression/ast/ExpressionParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 1071, 918, 11417, 3234, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 11417, 3234, 1195, 565, 9183, 6293, 3234, 10684, 5088, 3784, 273, 394, 9183, 6293, 3234, 12, 46, 46, 56, 26935, 916, 10831, 1769, 565, 1250, 10684, 5111, 3784, 273, 638, 31, 565, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 1345, 508, 31, 565, 775, 288, 1377, 1433, 67, 27, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 10152, 67, 24922, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 2138, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 27, 31, 3639, 289, 3639, 2985, 1499, 5621, 1377, 289, 1377, 1433, 67, 28, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 10152, 67, 14939, 30, 3639, 648, 10152, 67, 3373, 26729, 30, 3639, 648, 10152, 67, 20055, 30, 3639, 648, 10152, 67, 7474, 50, 1792, 19359, 24131, 30, 3639, 648, 10152, 67, 4400, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 3461, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 28, 31, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 1071, 918, 11417, 3234, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 11417, 3234, 1195, 565, 9183, 6293, 3234, 10684, 5088, 3784, 273, 394, 9183, 6293, 3234, 12, 46, 46, 56, 26935, 916, 10831, 1769, 565, 1250, 10684, 5111, 3784, 273, 638, 31, 565, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 1345, 508, 31, 565, 775, 288, 1377, 1433, 67, 27, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 10152, 67, 24922, 30, 1850, 274, 1850, 898, 31, 3639, 805, 2 ]
_context.messageRegistry().registerPending(new Selector(tunnel, payloadMessage.getUniqueId()), new SendAgain(_context, tunnel, payloadMessage.getUniqueId(), true), new SendAgain(_context, tunnel, payloadMessage.getUniqueId(), false),
long uniqueId = -1; if (payloadMessage != null) { uniqueId = payloadMessage.getUniqueId(); } else { tunnel.logComplete(); _active.remove(tunnel); return; } _context.messageRegistry().registerPending(new Selector(tunnel, uniqueId), new SendAgain(_context, tunnel, uniqueId, true), new SendAgain(_context, tunnel, uniqueId, false),
private void sendTestMessage(LoadTestTunnelConfig tunnel) { long now = _context.clock().now(); if (now > tunnel.getExpiration()) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Not sending a test message to " + tunnel + " because it expired"); tunnel.logComplete(); _active.remove(tunnel); return; } if (TEST_LIVE_TUNNELS) { TunnelInfo inbound = tunnel.getInbound(); TunnelInfo outbound = tunnel.getOutbound(); if ( (inbound == null) || (outbound == null) ) { pickTunnels(tunnel); inbound = tunnel.getInbound(); outbound = tunnel.getOutbound(); } if (inbound == null) { log(tunnel, "No inbound tunnels found"); _active.remove(tunnel); return; } else if (outbound == null) { log(tunnel, "No outbound tunnels found"); tunnel.logComplete(); _active.remove(tunnel); return; } if ( (now >= inbound.getExpiration()) || (now >= outbound.getExpiration()) ) { tunnel.logComplete(); _active.remove(tunnel); return; } if (_log.shouldLog(Log.DEBUG)) _log.debug("inbound and outbound found for " + tunnel); I2NPMessage payloadMessage = createPayloadMessage(); if (_log.shouldLog(Log.DEBUG)) _log.debug("testing live tunnels with inbound [" + inbound + "] and outbound [" + outbound + "]"); // this should take into consideration both the inbound and outbound tunnels // ... but it doesn't, yet. _context.messageRegistry().registerPending(new Selector(tunnel, payloadMessage.getUniqueId()), new SendAgain(_context, tunnel, payloadMessage.getUniqueId(), true), new SendAgain(_context, tunnel, payloadMessage.getUniqueId(), false), 10*1000); _context.tunnelDispatcher().dispatchOutbound(payloadMessage, outbound.getSendTunnelId(0), inbound.getReceiveTunnelId(0), inbound.getPeer(0)); //log(tunnel, payloadMessage.getUniqueId() + " sent via " + inbound + " / " + outbound); } else { if (_log.shouldLog(Log.DEBUG)) _log.debug("NOT testing live tunnels for [" + tunnel + "]"); RouterInfo target = _context.netDb().lookupRouterInfoLocally(tunnel.getPeer(0)); if (target == null) { log(tunnel, "lookup failed"); return; } I2NPMessage payloadMessage = createPayloadMessage(); TunnelGatewayMessage tm = new TunnelGatewayMessage(_context); tm.setMessage(payloadMessage); tm.setTunnelId(tunnel.getReceiveTunnelId(0)); tm.setMessageExpiration(payloadMessage.getMessageExpiration()); OutNetMessage om = new OutNetMessage(_context); om.setMessage(tm); SendAgain failed = new SendAgain(_context, tunnel, payloadMessage.getUniqueId(), false); om.setOnFailedReplyJob(failed); om.setOnReplyJob(new SendAgain(_context, tunnel, payloadMessage.getUniqueId(), true)); //om.setOnFailedSendJob(failed); om.setReplySelector(new Selector(tunnel, payloadMessage.getUniqueId())); om.setTarget(target); om.setExpiration(tm.getMessageExpiration()); om.setPriority(40); _context.outNetMessagePool().add(om); //log(tunnel, m.getMessageId() + " sent"); } }
27433 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27433/0903dc46c645732f6d0ca79a0f1469f9b3d88f5a/LoadTestManager.java/clean/router/java/src/net/i2p/router/LoadTestManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 4709, 1079, 12, 2563, 4709, 20329, 809, 14825, 13, 288, 3639, 1525, 2037, 273, 389, 2472, 18, 18517, 7675, 3338, 5621, 3639, 309, 261, 3338, 405, 14825, 18, 588, 12028, 10756, 288, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 7734, 389, 1330, 18, 4148, 2932, 1248, 5431, 279, 1842, 883, 358, 315, 397, 14825, 397, 315, 2724, 518, 7708, 8863, 5411, 14825, 18, 1330, 6322, 5621, 5411, 389, 3535, 18, 4479, 12, 19878, 1769, 5411, 327, 31, 3639, 289, 7734, 309, 261, 16961, 67, 2053, 3412, 67, 56, 2124, 50, 2247, 55, 13, 288, 5411, 399, 8564, 966, 13357, 273, 14825, 18, 588, 20571, 5621, 5411, 399, 8564, 966, 11663, 273, 14825, 18, 588, 17873, 5621, 5411, 309, 261, 261, 267, 3653, 422, 446, 13, 747, 261, 659, 3653, 422, 446, 13, 262, 288, 7734, 6002, 20329, 87, 12, 19878, 1769, 7734, 13357, 273, 14825, 18, 588, 20571, 5621, 7734, 11663, 273, 14825, 18, 588, 17873, 5621, 5411, 289, 13491, 309, 261, 267, 3653, 422, 446, 13, 288, 7734, 613, 12, 19878, 16, 315, 2279, 13357, 14825, 87, 1392, 8863, 7734, 389, 3535, 18, 4479, 12, 19878, 1769, 7734, 327, 31, 5411, 289, 469, 309, 261, 659, 3653, 422, 446, 13, 288, 7734, 613, 12, 19878, 16, 315, 2279, 11663, 14825, 87, 1392, 8863, 7734, 14825, 18, 1330, 6322, 5621, 7734, 389, 3535, 18, 4479, 12, 19878, 1769, 7734, 327, 31, 5411, 289, 5411, 309, 261, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 4709, 1079, 12, 2563, 4709, 20329, 809, 14825, 13, 288, 3639, 1525, 2037, 273, 389, 2472, 18, 18517, 7675, 3338, 5621, 3639, 309, 261, 3338, 405, 14825, 18, 588, 12028, 10756, 288, 5411, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 7734, 389, 1330, 18, 4148, 2932, 1248, 5431, 279, 1842, 883, 358, 315, 397, 14825, 397, 315, 2724, 518, 7708, 8863, 5411, 14825, 18, 1330, 6322, 5621, 5411, 389, 3535, 18, 4479, 12, 19878, 1769, 5411, 327, 31, 3639, 289, 7734, 309, 261, 16961, 67, 2053, 3412, 67, 56, 2124, 50, 2247, 55, 13, 288, 5411, 399, 8564, 966, 13357, 273, 14825, 18, 588, 20571, 5621, 5411, 399, 8564, 966, 2 ]
shell.removeListener(SWT.RESIZE,resizeListener);
shell.removeListener(SWT.Resize,resizeListener);
protected void initializeBounds() { if (resizeListener != null) { shell.removeListener(SWT.RESIZE,resizeListener); } if (resizeHasOccurred) { // Check if shell size has been set already. return; } Point size = getInitialSize(); Point location = getInitialLocation(size); shell.setBounds(location.x, location.y, size.x, size.y);}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/47c1c1afe4f60b3146dd51f72a3963360635a4c7/Window.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 4046, 5694, 1435, 288, 202, 430, 261, 15169, 2223, 480, 446, 13, 288, 202, 202, 10304, 18, 4479, 2223, 12, 55, 8588, 18, 862, 4574, 16, 15169, 2223, 1769, 202, 97, 202, 202, 430, 261, 15169, 5582, 30096, 13, 288, 368, 2073, 309, 5972, 963, 711, 2118, 444, 1818, 18, 202, 202, 2463, 31, 202, 97, 202, 2148, 963, 273, 24044, 1225, 5621, 202, 2148, 2117, 273, 24044, 2735, 12, 1467, 1769, 202, 10304, 18, 542, 5694, 12, 3562, 18, 92, 16, 2117, 18, 93, 16, 963, 18, 92, 16, 963, 18, 93, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 4046, 5694, 1435, 288, 202, 430, 261, 15169, 2223, 480, 446, 13, 288, 202, 202, 10304, 18, 4479, 2223, 12, 55, 8588, 18, 862, 4574, 16, 15169, 2223, 1769, 202, 97, 202, 202, 430, 261, 15169, 5582, 30096, 13, 288, 368, 2073, 309, 5972, 963, 711, 2118, 444, 1818, 18, 202, 202, 2463, 31, 202, 97, 202, 2148, 963, 273, 24044, 1225, 5621, 202, 2148, 2117, 273, 24044, 2735, 12, 1467, 1769, 202, 10304, 18, 542, 5694, 12, 3562, 18, 92, 16, 2117, 18, 93, 16, 963, 18, 92, 16, 963, 18, 93, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(logMINOR) Logger.minor(this, "onFailure("+e+","+state+")");
if(logMINOR) Logger.minor(this, "onFailure("+e+ ',' +state+ ')');
public void onFailure(FetchException e, ClientGetter state) { logMINOR = Logger.shouldLog(Logger.MINOR, this); int errorCode = e.getMode(); if(!state.getURI().equals(revocationURI)){ if(logMINOR) Logger.minor(this, "onFailure("+e+","+state+")"); synchronized(this) { this.cg = null; isFetching=false; } state.cancel(); if((errorCode == FetchException.DATA_NOT_FOUND) || (errorCode == FetchException.ROUTE_NOT_FOUND) || (errorCode == FetchException.PERMANENT_REDIRECT) || (errorCode == FetchException.REJECTED_OVERLOAD)){ Logger.normal(this, "Rescheduling new request"); maybeUpdate(); } else { Logger.error(this, "Canceling fetch : "+ e.getMessage()); System.err.println("Unexpected error fetching update: "+e.getMessage()); } }else{ Logger.minor(this, "Revocation fetch failed: "+e); synchronized(this) { if(errorCode == FetchException.DATA_NOT_FOUND){ revocationDNFCounter++; Logger.minor(this, "Incremented DNF counter to "+revocationDNFCounter); } } if(e.isFatal()) this.blow("Permanent error fetching revocation (invalid data inserted?): "+e.toString()); // Start it again synchronized(this) { if(this.finalCheck) { if(revocationDNFCounter < 3) queueFetchRevocation(1000); else notifyAll(); } else { boolean pause = (revocationDNFCounter == 3); if(pause) revocationDNFCounter = 0; queueFetchRevocation(pause ? 60*60*1000 : 5000); } } } }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/62fd59041864b4ed1f43adc676de6bfb5ea977f3/NodeUpdater.java/buggy/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 27748, 12, 5005, 503, 425, 16, 2445, 8461, 919, 13, 288, 202, 202, 1330, 6236, 916, 273, 4242, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 1769, 202, 202, 474, 12079, 273, 425, 18, 588, 2309, 5621, 9506, 202, 430, 12, 5, 2019, 18, 588, 3098, 7675, 14963, 12, 9083, 4431, 3098, 3719, 95, 1082, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 265, 5247, 2932, 15, 73, 15, 15937, 15, 2019, 9078, 2225, 1769, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 2211, 18, 26275, 273, 446, 31, 9506, 202, 291, 30806, 33, 5743, 31, 1082, 202, 97, 1082, 202, 2019, 18, 10996, 5621, 1082, 202, 430, 12443, 27754, 422, 8065, 503, 18, 4883, 67, 4400, 67, 9294, 13, 747, 6862, 202, 12, 27754, 422, 8065, 503, 18, 30334, 67, 4400, 67, 9294, 13, 747, 6862, 202, 12, 27754, 422, 8065, 503, 18, 3194, 9560, 2222, 67, 25103, 13, 747, 6862, 202, 12, 27754, 422, 8065, 503, 18, 862, 5304, 2056, 67, 12959, 7783, 3719, 95, 6862, 9506, 202, 3328, 18, 6130, 12, 2211, 16, 315, 607, 13252, 394, 590, 8863, 9506, 202, 19133, 1891, 5621, 1082, 202, 97, 469, 288, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 6691, 310, 2158, 294, 13773, 425, 18, 24906, 10663, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 7762, 555, 16191, 1089, 30, 13773, 73, 18, 24906, 10663, 1082, 202, 97, 202, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27748, 12, 5005, 503, 425, 16, 2445, 8461, 919, 13, 288, 202, 202, 1330, 6236, 916, 273, 4242, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 1769, 202, 202, 474, 12079, 273, 425, 18, 588, 2309, 5621, 9506, 202, 430, 12, 5, 2019, 18, 588, 3098, 7675, 14963, 12, 9083, 4431, 3098, 3719, 95, 1082, 202, 430, 12, 1330, 6236, 916, 13, 4242, 18, 17364, 12, 2211, 16, 315, 265, 5247, 2932, 15, 73, 15, 15937, 15, 2019, 9078, 2225, 1769, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 2211, 18, 26275, 273, 446, 31, 9506, 202, 291, 30806, 33, 5743, 31, 1082, 202, 97, 1082, 202, 2019, 18, 10996, 5621, 1082, 2 ]
public void setGroupType(String newGroupType)
public void setGroupType(DataType newGroupType)
public void setGroupType(String newGroupType) { String oldGroupType = groupType; groupType = newGroupType; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DataPackage.SERIES_GROUPING__GROUP_TYPE, oldGroupType, groupType)); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/869b9dc91ef4dd13d07f589c6394484a744642f0/SeriesGroupingImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/SeriesGroupingImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1114, 559, 12, 6273, 394, 1114, 559, 13, 565, 288, 3639, 514, 1592, 1114, 559, 273, 1041, 559, 31, 3639, 1041, 559, 273, 394, 1114, 559, 31, 3639, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 67, 2399, 16, 7734, 1592, 1114, 559, 16, 1041, 559, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1114, 559, 12, 6273, 394, 1114, 559, 13, 565, 288, 3639, 514, 1592, 1114, 559, 273, 1041, 559, 31, 3639, 1041, 559, 273, 394, 1114, 559, 31, 3639, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 1910, 2261, 18, 2123, 8805, 67, 8468, 1360, 972, 8468, 67, 2399, 16, 7734, 1592, 1114, 559, 16, 1041, 559, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IContributionItem item = (IContributionItem) it.next(); parentMgr.remove(item);
IContributionItem wrapper = (IContributionItem) it.next(); parentMgr.remove(wrapper); IContributionItem item = unwrap(wrapper); if (item != null) { itemRemoved(item); }
public void removeAll() { Iterator it = mapItemToWrapper.values().iterator(); while (it.hasNext()) { IContributionItem item = (IContributionItem) it.next(); parentMgr.remove(item); } mapItemToWrapper.clear(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/1ce8cad72523e4b02a52670b85fa47eebda08e83/SubContributionManager.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/action/SubContributionManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12787, 1435, 288, 3639, 4498, 518, 273, 852, 1180, 774, 3611, 18, 2372, 7675, 9838, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 467, 442, 4027, 1180, 761, 273, 261, 45, 442, 4027, 1180, 13, 518, 18, 4285, 5621, 5411, 982, 9455, 18, 4479, 12, 1726, 1769, 3639, 289, 3639, 852, 1180, 774, 3611, 18, 8507, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12787, 1435, 288, 3639, 4498, 518, 273, 852, 1180, 774, 3611, 18, 2372, 7675, 9838, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 467, 442, 4027, 1180, 761, 273, 261, 45, 442, 4027, 1180, 13, 518, 18, 4285, 5621, 5411, 982, 9455, 18, 4479, 12, 1726, 1769, 3639, 289, 3639, 852, 1180, 774, 3611, 18, 8507, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return scope;
return global;
public static ScriptableObject getScope() { return scope; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/8d348ad77ead316774c893fbf3cadb3ad8c1050a/Main.java/buggy/js/rhino/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 22780, 921, 19203, 1435, 288, 3639, 327, 2552, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 22780, 921, 19203, 1435, 288, 3639, 327, 2552, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Object paramValueObj = this.parametersAsString.get( paramName );
String paramValue = (String) this.parametersAsString .get( paramName );
protected Map getParsedParameters( IViewerReportDesignHandle design, Collection parameterList, HttpServletRequest request, InputOptions options ) throws ReportServiceException { Map params = new HashMap( ); if ( parameterList == null || this.parametersAsString == null ) return params; for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); ) { ScalarParameterHandle parameter = null; Object parameterObj = iter.next( ); if ( parameterObj instanceof ScalarParameterHandle ) { parameter = (ScalarParameterHandle) parameterObj; } // if current object is not Scalar parameter handle, then skip it if ( parameter == null ) continue; String paramName = parameter.getName( ); Object paramValueObj = this.parametersAsString.get( paramName ); if ( paramValueObj != null ) { // if default value is Date object, put map directly if ( paramValueObj instanceof Date ) { params.put( paramName, paramValueObj ); continue; } try { // convert parameter to object String format = ParameterAccessor.getFormat( request, paramName ); if ( format == null || format.length( ) <= 0 ) { format = parameter.getPattern( ); } paramValueObj = DataUtil.validate( parameter.getDataType( ), format, paramValueObj .toString( ), locale ); params.put( paramName, paramValueObj ); } catch ( ValidationValueException e ) { // if in PREVIEW mode, then throw exception directly if ( ParameterAccessor.SERVLET_PATH_PREVIEW .equalsIgnoreCase( request.getServletPath( ) ) ) { this.exception = e; break; } } } else { params.put( paramName, null ); } } return params; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e67b6a4506a01d4fbb741a982d76ef6cb9dba851/ViewerAttributeBean.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1635, 25406, 2402, 12, 467, 18415, 4820, 15478, 3259, 8281, 16, 1082, 202, 2532, 1569, 682, 16, 9984, 590, 16, 1082, 202, 1210, 1320, 702, 262, 1216, 8706, 15133, 202, 95, 202, 202, 863, 859, 273, 394, 4317, 12, 11272, 202, 202, 430, 261, 1569, 682, 422, 446, 747, 333, 18, 3977, 8092, 422, 446, 262, 1082, 202, 2463, 859, 31, 202, 202, 1884, 261, 4498, 1400, 273, 1569, 682, 18, 9838, 12, 11272, 1400, 18, 5332, 2134, 12, 11272, 262, 202, 202, 95, 1082, 202, 13639, 1662, 3259, 1569, 273, 446, 31, 1082, 202, 921, 1569, 2675, 273, 1400, 18, 4285, 12, 11272, 1082, 202, 430, 261, 1569, 2675, 1276, 15791, 1662, 3259, 262, 1082, 202, 95, 9506, 202, 6775, 273, 261, 13639, 1662, 3259, 13, 1569, 2675, 31, 1082, 202, 97, 1082, 202, 759, 309, 783, 733, 353, 486, 15791, 1569, 1640, 16, 1508, 2488, 518, 1082, 202, 430, 261, 1569, 422, 446, 262, 9506, 202, 17143, 31, 1082, 202, 780, 11466, 273, 1569, 18, 17994, 12, 11272, 1082, 202, 921, 20250, 2675, 273, 333, 18, 3977, 8092, 18, 588, 12, 11466, 11272, 1082, 202, 430, 261, 20250, 2675, 480, 446, 262, 1082, 202, 95, 9506, 202, 759, 309, 805, 460, 353, 2167, 733, 16, 1378, 852, 5122, 9506, 202, 430, 261, 20250, 2675, 1276, 2167, 262, 9506, 202, 95, 6862, 202, 2010, 18, 458, 12, 11466, 16, 20250, 2675, 11272, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 698, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1635, 25406, 2402, 12, 467, 18415, 4820, 15478, 3259, 8281, 16, 1082, 202, 2532, 1569, 682, 16, 9984, 590, 16, 1082, 202, 1210, 1320, 702, 262, 1216, 8706, 15133, 202, 95, 202, 202, 863, 859, 273, 394, 4317, 12, 11272, 202, 202, 430, 261, 1569, 682, 422, 446, 747, 333, 18, 3977, 8092, 422, 446, 262, 1082, 202, 2463, 859, 31, 202, 202, 1884, 261, 4498, 1400, 273, 1569, 682, 18, 9838, 12, 11272, 1400, 18, 5332, 2134, 12, 11272, 262, 202, 202, 95, 1082, 202, 13639, 1662, 3259, 1569, 273, 446, 31, 1082, 202, 921, 1569, 2675, 273, 1400, 18, 4285, 12, 11272, 1082, 202, 430, 261, 1569, 2675, 1276, 15791, 1662, 3259, 262, 1082, 2 ]